!function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=236)}([,function(e,t){e.exports=window.wp.element},function(e,t){e.exports=window.yoast.propTypes},function(e,t){e.exports=window.wp.i18n},function(e,t){e.exports=window.lodash},function(e,t){e.exports=window.wp.data},function(e,t){e.exports=window.yoast.styledComponents},,,,function(e,t){e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t){function n(e,t){for(var n=0;n-1},o.prototype.hasAlias=function(){return!Object(r.isEmpty)(this.options.aliases)},o.prototype.addAlias=function(e){this.hasAlias()||(this.options.aliases=[]),this.options.aliases.push(e)},o.prototype.getAliases=function(){return this.options.aliases},t.a=o},,,,,,,,function(e,t){function n(t){return e.exports=n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.__esModule=!0,e.exports.default=e.exports,n(t)}e.exports=n,e.exports.__esModule=!0,e.exports.default=e.exports},,function(e,t){e.exports=window.wp.apiFetch},,,,,,,function(e,t,n){"use strict";n.r(t),n.d(t,"tmceId",(function(){return c})),n.d(t,"termsTmceId",(function(){return l})),n.d(t,"setStore",(function(){return u})),n.d(t,"isTinyMCELoaded",(function(){return p})),n.d(t,"isTinyMCEAvailable",(function(){return d})),n.d(t,"getContentTinyMce",(function(){return h})),n.d(t,"addEventHandler",(function(){return f})),n.d(t,"disableMarkerButtons",(function(){return g})),n.d(t,"enableMarkerButtons",(function(){return m})),n.d(t,"isTextViewActive",(function(){return y})),n.d(t,"wpTextViewOnInitCheck",(function(){return b})),n.d(t,"tinyMceEventBinder",(function(){return w}));var r,i=n(4),o=n(105),s=n(140),a=n(19),c="content",l="description";function u(e){r=e}function p(){return"undefined"!=typeof tinyMCE&&void 0!==tinyMCE.editors&&0!==tinyMCE.editors.length}function d(e){if(!p())return!1;var t=tinyMCE.get(e);return null!==t&&!t.isHidden()}function h(e){var t,n,r;return n=!1===d(e)||0==(t=e,null!==document.getElementById(t+"_ifr"))?function(e){return document.getElementById(e)&&document.getElementById(e).value||""}(e):tinyMCE.get(e).getContent(),r=new RegExp("&","g"),n.replace(r,"&")}function f(e,t,n){"undefined"!=typeof tinyMCE&&"function"==typeof tinyMCE.on&&tinyMCE.on("addEditor",(function(r){var o=r.editor;o.id===e&&Object(i.forEach)(t,(function(e){o.on(e,n)}))}))}function g(){Object(i.isUndefined)(r)||r.dispatch(a.actions.setMarkerStatus("disabled"))}function m(){Object(i.isUndefined)(r)||r.dispatch(a.actions.setMarkerStatus("enabled"))}function y(){var e=document.getElementById("wp-content-wrap");return!!e&&e.classList.contains("html-active")}function b(){y()&&(g(),p()&&tinyMCE.on("AddEditor",(function(){m()})))}function w(e,t){f(t,["input","change","cut","paste"],e),f(t,["hide"],g);var n=["show"];(new s.a).isPageBuilderActive()||n.push("init"),f(t,n,m),f("content",["focus"],(function(e){var t=e.target;Object(o.a)(t)&&(Object(o.b)(t),YoastSEO.app.disableMarkers())}))}},,,,function(e,t){e.exports=window.wp.url},,,,,function(e,t){function n(t,r){return e.exports=n=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},e.exports.__esModule=!0,e.exports.default=e.exports,n(t,r)}e.exports=n,e.exports.__esModule=!0,e.exports.default=e.exports},,,function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var r=n(3),i=n(31),o=n(4);function s(e){return Object(o.isNil)(e)||(e/=10),function(e){switch(e){case"feedback":return{className:"na",screenReaderText:Object(r.__)("Feedback","wordpress-seo"),screenReaderReadabilityText:""};case"bad":return{className:"bad",screenReaderText:Object(r.__)("Needs improvement","wordpress-seo"),screenReaderReadabilityText:Object(r.__)("Needs improvement","wordpress-seo")};case"ok":return{className:"ok",screenReaderText:Object(r.__)("OK SEO score","wordpress-seo"),screenReaderReadabilityText:Object(r.__)("OK","wordpress-seo")};case"good":return{className:"good",screenReaderText:Object(r.__)("Good SEO score","wordpress-seo"),screenReaderReadabilityText:Object(r.__)("Good","wordpress-seo")};default:return{className:"loading",screenReaderText:"",screenReaderReadabilityText:""}}}(i.interpreters.scoreToRating(e))}},function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(27),i=n(4);function o(){var e=Object(r.a)();return 1===Object(i.get)(e,"keywordAnalysisActive",0)}},,,,function(e,t){e.exports=window.yoast.components},,,,function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(4),i=n(27);function o(){var e=Object(i.a)();return Object(r.get)(e,"contentLocale","en_US")}},,,,function(e,t){e.exports=window.wp.richText},,,,,,,,,function(e,t,n){"use strict";function r(){}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(27),i=n(4);function o(){var e=Object(r.a)();return 1===Object(i.get)(e,"contentAnalysisActive",0)}},,,,,function(e,t,n){"use strict";function r(){return window.wpseoScriptData&&"1"===window.wpseoScriptData.isBlockEditor}n.d(t,"a",(function(){return r}))},,function(e,t){e.exports=window.wp.domReady},function(e,t){var n,r,i="",o=function(e){e=e||"polite";var t=document.createElement("div");return t.id="a11y-speak-"+e,t.className="a11y-speak-region",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"),r=document.getElementById("a11y-speak-assertive"),null===n&&(n=o("polite")),null===r&&(r=o("assertive"))})),e.exports=function(e,t){!function(){for(var e=document.querySelectorAll(".a11y-speak-region"),t=0;t]+>/g," "),i===e&&(e+=" "),i=e,r&&"assertive"===t?r.textContent=e:n&&(n.textContent=e)}},function(e,t){e.exports=window.yoast.featureFlag},,,,,function(e,t,n){"use strict";n.r(t),n.d(t,"sortResultsByIdentifier",(function(){return a})),n.d(t,"default",(function(){return c})),n.d(t,"initializationDone",(function(){return l}));var r=n(19),i=n(84),o=n(67),s=!1;function a(e){return e.sort((function(e,t){return e._identifier.localeCompare(t._identifier)}))}function c(e,t,n,c,l){var u=t();s&&e.analyze(u).then((function(e){var t=e.result,i=t.seo,s=t.readability;if(i){var p=i[""];p.results.forEach((function(e){e.getMarker=function(){return function(){return n(u,e.marks)}}})),p.results=a(p.results),c.dispatch(r.actions.setSeoResultsForKeyword(u.getKeyword(),p.results)),c.dispatch(Object(o.setOverallSeoScore)(p.score,u.getKeyword())),c.dispatch(r.actions.refreshSnippetEditor()),l.saveScores(p.score,u.getKeyword())}s&&(s.results.forEach((function(e){e.getMarker=function(){return function(){return n(u,e.marks)}}})),s.results=a(s.results),c.dispatch(r.actions.setReadabilityResults(s.results)),c.dispatch(Object(o.setOverallReadabilityScore)(s.score)),c.dispatch(r.actions.refreshSnippetEditor()),l.saveContentScore(s.score))})).catch(i.a)}function l(){s=!0}},,,function(e,t,n){"use strict";function r(e){var t,n=document.getElementById("yoast-measurement-element");return n||((t=document.createElement("div")).id="yoast-measurement-element",t.style.position="absolute",t.style.left="-9999em",t.style.top=0,t.style.height=0,t.style.overflow="hidden",t.style.fontFamily="arial, sans-serif",t.style.fontSize="18px",t.style.fontWeight="400",document.body.appendChild(t),n=t),n.innerHTML=e,n.offsetWidth}n.d(t,"a",(function(){return r}))},,function(e,t){e.exports=window.wp.blocks},function(e,t,n){"use strict";n.d(t,"c",(function(){return s})),n.d(t,"a",(function(){return a})),n.d(t,"b",(function(){return c}));var r=n(31),i=n(4);function o(e,t,n){var o=e.dom,s=e.getContent();s=r.markers.removeMarks(s),Object(i.forEach)(n,(function(e){s=e.applyWithReplace(s)})),e.setContent(s),function(e){var t=e.getContent();t=t.replace(new RegExp("<yoastmark.+?>","g"),"").replace(new RegExp("</yoastmark>","g"),""),e.setContent(t)}(e);var a=o.select("yoastmark");Object(i.forEach)(a,(function(e){e.setAttribute("data-mce-bogus","1")}))}function s(e){return window.test=e,o.bind(null,e)}function a(e){return-1!==e.getContent({format:"raw"}).indexOf("]+)>)/gi,""),r=t.getMarked().replace(/(<(?!\/?yoastmark)[^>]+>)/gi,""),i=function(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],r=[];if(0===e.length)return r;var i,o=0;for(n||(t=t.toLowerCase(),e=e.toLowerCase());(i=e.indexOf(t,o))>-1;)r.push(i),o=i+t.length;return r}(e,n);if(0===i.length)return[];var o=function(e){for(var t=e.indexOf(u),n=null,r=[];t>=0;){if((n=(e=e.replace(u,"")).indexOf(""))",""),r.push({startOffset:t,endOffset:n}),t=e.indexOf(u),n=null}return r}(r),s=[];return o.forEach((function(e){i.forEach((function(r){var i=r+e.startOffset,o=r+e.endOffset;0===e.startOffset&&e.endOffset===t.getOriginal().length&&(o=r+n.length),s.push({startOffset:i,endOffset:o})}))})),s}(c,e);return n?n.map((function(e){return l(l({},e),{},{block:t.clientId,richTextIdentifier:r})})):[]}))}function w(e){p=e.map((function(e){return{blockClientId:e.block,source:"yoast",richTextIdentifier:e.richTextIdentifier,range:{start:e.startOffset,end:e.endOffset}}}))}function v(e,t){if(p=[],Object(a.dispatch)("core/annotations").__experimentalRemoveAnnotationsBySource("yoast"),0!==t.length){var n=Object(a.select)("core/block-editor").getBlocks();w(Object(o.flatMap)(n,(function(e){return Object(o.flatMap)(y(e.name),(function(n){return b(n,e,t)}))}))),g()}}function _(){var e=Object(a.select)("core/editor").getSelectedBlock(),t=Object(a.select)("yoast-seo/editor").getActiveMarker();if(e&&t){var n;n=e.clientId,Object(a.select)("core/annotations").__experimentalGetAnnotations().filter((function(e){return e.blockClientId===n&&"yoast"===e.source})).forEach((function(e){Object(a.dispatch)("core/annotations").__experimentalRemoveAnnotation(e.id)}));var r=Object(a.select)("yoast-seo/editor").getResultById(t);if(void 0!==r){var i=r.marks;w(Object(o.flatMap)(y(e.name),(function(t){return b(t,e,i)}))),g()}}}},function(e,t,n){"use strict";function r(e){var t=jQuery(".yst-traffic-light"),n=t.closest(".wpseo-meta-section-link"),r=jQuery("#wpseo-traffic-light-desc"),i=e.className||"na";t.attr("class","yst-traffic-light "+i),n.attr("aria-describedby","wpseo-traffic-light-desc"),r.length>0?r.text(e.screenReaderText):n.closest("li").append(""+e.screenReaderText+"")}n.d(t,"a",(function(){return r}))},,,function(e,t,n){"use strict";function r(e){var t=e.alertKey;return new Promise((function(e){return wpseoApi.post("alerts/dismiss",{key:t},(function(){return e()}))}))}n.r(t),n.d(t,"DISMISS_ALERT",(function(){return r}))},,,,,,,function(e,t,n){"use strict";n.d(t,"a",(function(){return p})),n.d(t,"b",(function(){return d}));var r=n(4),i=n(31),o=n(71);function s(){return Object(r.get)(window,["wpseoAdminL10n","default_query_params"],{})}var a=n(122),c=n(85),l=n(63),u=n(94);function p(){var e=Object(r.get)(window,["wpseoScriptData","analysis","worker","url"],"analysis-worker.js"),t=Object(i.createWorker)(e),n=Object(r.get)(window,["wpseoScriptData","analysis","worker","dependencies"],[]),o=[];for(var s in n)if(Object.prototype.hasOwnProperty.call(n,s)){var a=window.document.getElementById("".concat(s,"-js-translations"));if(a){var c=a.innerHTML.slice(214),l=c.indexOf(","),u=c.slice(0,l-1);try{var p=JSON.parse(c.slice(l+1,-4));o.push([u,p])}catch(e){console.warn("Failed to parse translation data for ".concat(s," to send to the Yoast SEO worker"));continue}}}return t.postMessage({dependencies:n,translations:o}),new i.AnalysisWorkerWrapper(t)}function d(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t={locale:Object(o.a)(),contentAnalysisActive:Object(c.a)(),keywordAnalysisActive:Object(l.a)(),defaultQueryParams:s(),logLevel:Object(r.get)(window,["wpseoScriptData","analysis","worker","log_level"],"ERROR"),enabledFeatures:Object(u.enabledFeatures)()};t=Object(r.merge)(t,e);var n=Object(a.a)();return Object(r.isUndefined)(n)||Object(r.isUndefined)(n.domain)||(t.translations=n),t}},,,,function(e,t){e.exports=window.wp.isShallowEqual},function(e,t,n){"use strict";var r=n(10),i=n.n(r),o=n(11),s=n.n(o),a=n(4),c=function(){function e(){i()(this,e)}return s()(e,[{key:"listen",value:function(e){this.classicEditorContainer=document.getElementById("et_pb_main_editor_wrap"),this.classicEditorContainer&&new MutationObserver((function(t){Object(a.forEach)(t,(function(t){"attributes"===t.type&&"class"===t.attributeName&&(t.target.classList.contains("et_pb_hidden")?e.classicEditorHidden():e.classicEditorShown())}))})).observe(this.classicEditorContainer,{attributes:!0})}}],[{key:"isActive",value:function(){return!!document.getElementById("et_pb_main_editor_wrap")}},{key:"isTinyMCEHidden",value:function(){var e=document.getElementById("et_pb_main_editor_wrap");return!!e&&e.classList.contains("et_pb_hidden")}}]),e}(),l=function(){function e(){i()(this,e)}return s()(e,null,[{key:"isActive",value:function(){return!!window.VCV_I18N}}]),e}(),u={classicEditorHidden:a.noop,classicEditorShown:a.noop,pageBuilderLoaded:a.noop},p=function(){function e(){i()(this,e),this.determineActivePageBuilders()}return s()(e,[{key:"determineActivePageBuilders",value:function(){c.isActive()&&(this.diviActive=!0),l.isActive()&&(this.vcActive=!0)}},{key:"isPageBuilderActive",value:function(){return this.diviActive||this.vcActive}},{key:"listen",value:function(e){this.callbacks=Object(a.defaults)(e,u),this.diviActive&&(new c).listen(e)}},{key:"isClassicEditorHidden",value:function(){return!(!this.diviActive||!c.isTinyMCEHidden())}}]),e}();t.a=p},,,,,,,,,,,,function(e,t,n){"use strict";n.d(t,"a",(function(){return u}));var r=n(41),i=n.n(r),o=n(10),s=n.n(o),a=n(11),c=n.n(a),l=n(4),u=function(){function e(t){s()(this,e),this.refresh=t,this.loaded=!1,this.preloadThreshold=3e3,this.plugins={},this.modifications={},this._registerPlugin=this._registerPlugin.bind(this),this._ready=this._ready.bind(this),this._reloaded=this._reloaded.bind(this),this._registerModification=this._registerModification.bind(this),this._registerAssessment=this._registerAssessment.bind(this),this._applyModifications=this._applyModifications.bind(this),setTimeout(this._pollLoadingPlugins.bind(this),1500)}return c()(e,[{key:"_registerPlugin",value:function(e,t){return Object(l.isString)(e)?Object(l.isUndefined)(t)||Object(l.isObject)(t)?!1===this._validateUniqueness(e)?(console.error("Failed to register plugin. Plugin with name "+e+" already exists"),!1):(this.plugins[e]=t,!0):(console.error("Failed to register plugin "+e+". Expected parameters `options` to be a object."),!1):(console.error("Failed to register plugin. Expected parameter `pluginName` to be a string."),!1)}},{key:"_ready",value:function(e){return Object(l.isString)(e)?Object(l.isUndefined)(this.plugins[e])?(console.error("Failed to modify status for plugin "+e+". The plugin was not properly registered."),!1):(this.plugins[e].status="ready",!0):(console.error("Failed to modify status for plugin "+e+". Expected parameter `pluginName` to be a string."),!1)}},{key:"_reloaded",value:function(e){return Object(l.isString)(e)?Object(l.isUndefined)(this.plugins[e])?(console.error("Failed to reload Content Analysis for plugin "+e+". The plugin was not properly registered."),!1):(this.refresh(),!0):(console.error("Failed to reload Content Analysis for "+e+". Expected parameter `pluginName` to be a string."),!1)}},{key:"_registerModification",value:function(e,t,n,r){if(!Object(l.isString)(e))return console.error("Failed to register modification for plugin "+n+". Expected parameter `modification` to be a string."),!1;if(!Object(l.isFunction)(t))return console.error("Failed to register modification for plugin "+n+". Expected parameter `callable` to be a function."),!1;if(!Object(l.isString)(n))return console.error("Failed to register modification for plugin "+n+". Expected parameter `pluginName` to be a string."),!1;if(!1===this._validateOrigin(n))return console.error("Failed to register modification for plugin "+n+". The integration has not finished loading yet."),!1;var i={callable:t,origin:n,priority:Object(l.isNumber)(r)?r:10};return Object(l.isUndefined)(this.modifications[e])&&(this.modifications[e]=[]),this.modifications[e].push(i),!0}},{key:"_registerAssessment",value:function(e,t,n,r){return Object(l.isString)(t)?Object(l.isObject)(n)?Object(l.isString)(r)?(t=r+"-"+t,e.addAssessment(t,n),!0):(console.error("Failed to register assessment for plugin "+r+". Expected parameter `pluginName` to be a string."),!1):(console.error("Failed to register assessment for plugin "+r+". Expected parameter `assessment` to be a function."),!1):(console.error("Failed to register test for plugin "+r+". Expected parameter `name` to be a string."),!1)}},{key:"_applyModifications",value:function(e,t,n){var r=this.modifications[e];return!Object(l.isArray)(r)||r.length<1||((r=this._stripIllegalModifications(r)).sort((function(e,t){return e.priority-t.priority})),Object(l.forEach)(r,(function(r){var o=r.callable(t,n);i()(o)===i()(t)?t=o:console.error("Modification with name "+e+" performed by plugin with name "+r.origin+" was ignored because the data that was returned by it was of a different type than the data we had passed it.")}))),t}},{key:"_pollLoadingPlugins",value:function(e){e=Object(l.isUndefined)(e)?0:e,!0===this._allReady()?(this.loaded=!0,this.refresh()):e>=this.preloadThreshold?(this._pollTimeExceeded(),this.loaded=!0,this.refresh()):(e+=50,setTimeout(this._pollLoadingPlugins.bind(this,e),50))}},{key:"_allReady",value:function(){return Object(l.reduce)(this.plugins,(function(e,t){return e&&"ready"===t.status}),!0)}},{key:"_pollTimeExceeded",value:function(){Object(l.forEach)(this.plugins,(function(e,t){Object(l.isUndefined)(e.options)||"ready"===e.options.status||(console.error("Error: Plugin "+t+". did not finish loading in time."),delete this.plugins[t])}))}},{key:"_stripIllegalModifications",value:function(e){var t=this;return Object(l.forEach)(e,(function(n,r){!1===t._validateOrigin(n.origin)&&delete e[r]})),e}},{key:"_validateOrigin",value:function(e){return"ready"===this.plugins[e].status}},{key:"_validateUniqueness",value:function(e){return Object(l.isUndefined)(this.plugins[e])}}]),e}()},function(e,t,n){"use strict";n.r(t);var r=n(128);n.d(t,"DISMISS_ALERT",(function(){return r.DISMISS_ALERT}))},function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(4),i=jQuery;function o(e,t,n,r){this._scriptUrl=r,this._options={usedKeywords:t.keyword_usage,searchUrl:t.search_url,postUrl:t.post_edit_url},this._keywordUsage=t.keyword_usage,this._postID=i("#post_ID, [name=tag_ID]").val(),this._taxonomy=i("[name=taxonomy]").val()||"",this._ajaxAction=e,this._refreshAnalysis=n,this._initialized=!1}o.prototype.init=function(){var e=this,t=window.YoastSEO.analysis.worker;this.requestKeywordUsage=Object(r.debounce)(this.requestKeywordUsage.bind(this),500),t.loadScript(this._scriptUrl).then((function(){t.sendMessage("initialize",e._options,"used-keywords-assessment")})).then((function(){e._initialized=!0,Object(r.isEqual)(e._options.usedKeywords,e._keywordUsage)?e._refreshAnalysis():t.sendMessage("updateKeywordUsage",e._keywordUsage,"used-keywords-assessment").then((function(){return e._refreshAnalysis()}))})).catch((function(e){return console.error(e)}))},o.prototype.setKeyword=function(e){Object(r.has)(this._keywordUsage,e)||this.requestKeywordUsage(e)},o.prototype.requestKeywordUsage=function(e){i.post(ajaxurl,{action:this._ajaxAction,post_id:this._postID,keyword:e,taxonomy:this._taxonomy},this.updateKeywordUsage.bind(this,e),"json")},o.prototype.updateKeywordUsage=function(e,t){var n=this,i=window.YoastSEO.analysis.worker;t&&Object(r.isArray)(t)&&(this._keywordUsage[e]=t,this._initialized&&i.sendMessage("updateKeywordUsage",this._keywordUsage,"used-keywords-assessment").then((function(){return n._refreshAnalysis()})))}},,function(e,t,n){"use strict";function r(e){e(document).ready((function(e){void 0!==wp.media&&e(".wpseo_image_upload_button").each((function(t,n){var r,i,o=((i=(r=e(r=n)).data("target"))&&""!==i||(i=e(r).attr("id").replace(/_button$/,"")),i),s=function(t){return(t=e(t)).data("target-id")}(n),a=e("#"+o),c=e("#"+s),l=wp.media.frames.file_frame=wp.media({title:wpseoScriptData.media.choose_image,button:{text:wpseoScriptData.media.choose_image},multiple:!1,library:{type:"image"}});l.on("select",(function(){var e=l.state().get("selection").first().toJSON();a.val(e.url),c.val(e.id)}));var u=e(n);u.click((function(e){e.preventDefault(),l.open()})),u.siblings(".wpseo_image_remove_button").on("click",(function(e){e.preventDefault(),a.val(""),c.val("")}))}))}))}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(3),i=n(93),o=n.n(i),s=n(4);function a(e){function t(t){var n=!1,r="",i=[],s=["userid","name","user_description"],a=["date"],c=["title","parent_title","excerpt","excerpt_only","caption","focuskw","pt_single","pt_plural","modified","id"],l=["term404","searchphrase"],u=["term_title","term_description"],p=["category","category_description","tag","tag_description"];t.hasClass("posttype-template")?i=i.concat(l,u):t.hasClass("homepage-template")?i=i.concat(s,a,c,l,u,p):t.hasClass("taxonomy-template")?i=i.concat(s,a,c,l):t.hasClass("author-template")?i=i.concat(c,a,l,u,p):t.hasClass("date-template")?i=i.concat(s,c,l,u,p):t.hasClass("search-template")?i=i.concat(s,a,c,u,p,["term404"]):t.hasClass("error404-template")&&(i=i.concat(s,a,c,u,p,["searchphrase"])),e.each(i,(function(i,s){if(r=t.attr("id")+"-"+s+"-warning",-1!==t.val().search("%%"+s+"%%")){t.addClass("wpseo-variable-warning-element");var a=wpseoAdminGlobalL10n.variable_warning.replace("%s","%%"+s+"%%");e("#"+r).length?e("#"+r).html(a):t.after('