!function a(b,c,d){function e(g,h){if(!c[g]){if(!b[g]){var i="function"==typeof require&&require;if(!h&&i)return i(g,!0);if(f)return f(g,!0);var j=new Error("Cannot find module '"+g+"'");throw j.code="MODULE_NOT_FOUND",j}var k=c[g]={exports:{}};b[g][0].call(k.exports,function(a){var c=b[g][1][a];return e(c?c:a)},k,k.exports,a,b,c,d)}return c[g].exports}for(var f="function"==typeof require&&require,g=0;g

'+wpseoFeaturedImageL10n.featured_image_notice+"

").insertBefore(e),e.css({border:"solid #dd3d36",borderWidth:"3px 4px 4px 4px"})}}else b()}var d,e,f=function(a){this._app=a,this.featuredImage=null,this.pluginName="addFeaturedImagePlugin",this.registerPlugin(),this.registerModifications()};f.prototype.setFeaturedImage=function(a){this.featuredImage=a,this._app.pluginReloaded(this.pluginName)},f.prototype.removeFeaturedImage=function(){this.setFeaturedImage(null)},f.prototype.registerPlugin=function(){this._app.registerPlugin(this.pluginName,{status:"ready"})},f.prototype.registerModifications=function(){this._app.registerModification("content",this.addImageToContent.bind(this),this.pluginName,10)},f.prototype.addImageToContent=function(a){return null!==this.featuredImage&&(a+=this.featuredImage),a},a(document).ready(function(){var g=wp.media.featuredImage.frame();d=new f(YoastSEO.app),g.on("select",function(){var a,b,e;c(g),b=g.state().get("selection").first(),e=b.get("alt"),""===e&&(e=b.get("title")),a=''+e+'',d.setFeaturedImage(a)}),a("#postimagediv").on("click","#remove-post-thumbnail",function(){d.removeFeaturedImage(),b()}),e=a("#set-post-thumbnail > img"),"undefined"!=typeof e.prop("src")&&d.setFeaturedImage(a("#set-post-thumbnail ").html())})}(jQuery);var g,h=0;window.yst_checkFeaturedImage=d,window.thumbIdCounter=h,window.removeThumb=g,window.yst_overrideElemFunction=e,window.yst_removeOpengraphWarning=f},{}]},{},[1]);