yoastWebpackJsonp([15],{2142:function(e,t,n){"use strict";function i(e){}function a(){}function o(){}var r=n(810),s=function(e){return e&&e.__esModule?e:{default:e}}(r);!function(e){function t(){e("#yst_opengraph_image_warning").remove(),o.removeClass("yoast-opengraph-image-notice")}function n(n){var i=n.state().get("selection").first().toJSON();i.width<200||i.height<200?0===e("#yst_opengraph_image_warning").length&&(e('

'+wpseoFeaturedImageL10n.featured_image_notice+"

").insertAfter(r),o.addClass("yoast-opengraph-image-notice"),(0,s.default)(wpseoFeaturedImageL10n.featured_image_notice,"assertive")):t()}var i,a,o,r,u=function(e){this._app=e,this.featuredImage=null,this.pluginName="addFeaturedImagePlugin",this.registerPlugin(),this.registerModifications()};u.prototype.setFeaturedImage=function(e){this.featuredImage=e,this._app.pluginReloaded(this.pluginName)},u.prototype.removeFeaturedImage=function(){this.setFeaturedImage(null)},u.prototype.registerPlugin=function(){this._app.registerPlugin(this.pluginName,{status:"ready"})},u.prototype.registerModifications=function(){this._app.registerModification("content",this.addImageToContent.bind(this),this.pluginName,10)},u.prototype.addImageToContent=function(e){return null!==this.featuredImage&&(e+=this.featuredImage),e},e(document).ready(function(){var s=wp.media.featuredImage.frame();"undefined"!=typeof YoastSEO&&(i=new u(YoastSEO.app),o=e("#postimagediv"),r=o.find(".hndle"),s.on("select",function(){var e,t,a;n(s),t=s.state().get("selection").first(),a=t.get("alt"),""===a&&(a=t.get("title")),e=''+a+'',i.setFeaturedImage(e)}),o.on("click","#remove-post-thumbnail",function(){i.removeFeaturedImage(),t()}),a=e("#set-post-thumbnail > img"),void 0!==a.prop("src")&&i.setFeaturedImage(e("#set-post-thumbnail ").html()))})}(jQuery);window.yst_checkFeaturedImage=i,window.thumbIdCounter=0,window.removeThumb=void 0,window.yst_overrideElemFunction=a,window.yst_removeOpengraphWarning=o},810:function(e,t){var n,i,a="",o=function(e){e=e||"polite";var t=document.createElement("div");t.id="a11y-speak-"+e,t.className="a11y-speak-region";return t.setAttribute("style","clip: rect(1px, 1px, 1px, 1px); position: absolute; height: 1px; width: 1px; overflow: hidden; word-wrap: normal;"),t.setAttribute("aria-live",e),t.setAttribute("aria-relevant","additions text"),t.setAttribute("aria-atomic","true"),document.querySelector("body").appendChild(t),t};!function(e){if("complete"===document.readyState||"loading"!==document.readyState&&!document.documentElement.doScroll)return e();document.addEventListener("DOMContentLoaded",e)}(function(){n=document.getElementById("a11y-speak-polite"),i=document.getElementById("a11y-speak-assertive"),null===n&&(n=o("polite")),null===i&&(i=o("assertive"))});var r=function(){for(var e=document.querySelectorAll(".a11y-speak-region"),t=0;t]+>/g," "),a===e&&(e+=" "),a=e,i&&"assertive"===t?i.textContent=e:n&&(n.textContent=e)};e.exports=s}},[2142]);