%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /proc/thread-self/root/var/www/knwn/wp-content/plugins/wordpress-seo/js/dist/
Upload File :
Create Path :
Current File : //proc/thread-self/root/var/www/knwn/wp-content/plugins/wordpress-seo/js/dist/post-edit.js

!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=208)}([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=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}},function(e,t){function n(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}e.exports=function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}},function(e,t){e.exports=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}},function(e,t){function n(t){return e.exports=n=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},n(t)}e.exports=n},function(e,t){e.exports=window.yoast.styledComponents},function(e,t){e.exports=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},function(e,t){e.exports=function(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}},,function(e,t){e.exports=window.yoast.externals.redux},function(e,t,n){var r=n(48);e.exports=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&r(e,t)}},function(e,t,n){var r=n(35),i=n(11);e.exports=function(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?i(e):t}},function(e,t){e.exports=window.wp.compose},function(e,t){e.exports=window.wp.components},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(3);function i(){return Object(r.get)(window,"wpseoScriptData.metabox",{intl:{},isRtl:!1})}},,,function(e,t){e.exports=window.jQuery},function(e,t){function n(){return e.exports=n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},n.apply(this,arguments)}e.exports=n},function(e,t){e.exports=window.yoast.analysis},function(e,t,n){"use strict";var r=n(3),i={source:"wpseoScriptData.analysis.plugins.replaceVars",scope:[],aliases:[]},o=function(e,t,n){this.placeholder=e,this.replacement=t,this.options=Object(r.defaults)(n,i)};o.prototype.getPlaceholder=function(e){return(e=e||!1)&&this.hasAlias()?this.placeholder+"|"+this.getAliases().join("|"):this.placeholder},o.prototype.setSource=function(e){this.options.source=e},o.prototype.hasScope=function(){return!Object(r.isEmpty)(this.options.scope)},o.prototype.addScope=function(e){this.hasScope()||(this.options.scope=[]),this.options.scope.push(e)},o.prototype.inScope=function(e){return!this.hasScope()||Object(r.indexOf)(this.options.scope,e)>-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"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?e.exports=n=function(e){return typeof e}:e.exports=n=function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(t)}e.exports=n},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(3),o=n(85),a=n(115),s=n(17),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("&amp;","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(s.actions.setMarkerStatus("disabled"))}function m(){Object(i.isUndefined)(r)||r.dispatch(s.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 a.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,n){"use strict";n.r(t),n.d(t,"setTextdomainL10n",(function(){return o})),n.d(t,"setYoastComponentsL10n",(function(){return a})),n.d(t,"setWordPressSeoL10n",(function(){return s}));var r=n(2),i=n(3);function o(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"wpseoYoastJSL10n",n=Object(i.get)(window,[t,e,"locale_data",e],!1);"yoast-components"===e&&(e="wordpress-seo"),!1===n?Object(r.setLocaleData)({"":{}},e):Object(r.setLocaleData)(n,e)}function a(){o("yoast-components")}function s(){o("wordpress-seo")}},,function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(2),i=n(27),o=n(3);function a(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(22),i=n(3);function o(){var e=Object(r.a)();return 1===Object(i.get)(e,"keywordAnalysisActive",0)}},function(e,t){function n(t,r){return e.exports=n=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},n(t,r)}e.exports=n},function(e,t){e.exports=window.yoast.components},,,function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(3),i=n(22);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(22),i=n(3);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){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<e.length;t++)e[t].textContent=""}(),e=e.replace(/<[^<>]+>/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 s})),n.d(t,"default",(function(){return c})),n.d(t,"initializationDone",(function(){return l}));var r=n(17),i=n(60),o=n(49),a=!1;function s(e){return e.sort((function(e,t){return e._identifier.localeCompare(t._identifier)}))}function c(e,t,n,c,l){var u=t();a&&e.analyze(u).then((function(e){var t=e.result,i=t.seo,a=t.readability;if(i){var p=i[""];p.results.forEach((function(e){e.getMarker=function(){return function(){return n(u,e.marks)}}})),p.results=s(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())}a&&(a.results.forEach((function(e){e.getMarker=function(){return function(){return n(u,e.marks)}}})),a.results=s(a.results),c.dispatch(r.actions.setReadabilityResults(a.results)),c.dispatch(Object(o.setOverallReadabilityScore)(a.score)),c.dispatch(r.actions.refreshSnippetEditor()),l.saveContentScore(a.score))})).catch(i.a)}function l(){a=!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,n){"use strict";n.d(t,"c",(function(){return a})),n.d(t,"a",(function(){return s})),n.d(t,"b",(function(){return c}));var r=n(27),i=n(3);function o(e,t,n){var o=e.dom,a=e.getContent();a=r.markers.removeMarks(a),Object(i.forEach)(n,(function(e){a=e.applyWithReplace(a)})),e.setContent(a),function(e){var t=e.getContent();t=t.replace(new RegExp("&lt;yoastmark.+?&gt;","g"),"").replace(new RegExp("&lt;/yoastmark&gt;","g"),""),e.setContent(t)}(e);var s=o.select("yoastmark");Object(i.forEach)(s,(function(e){e.setAttribute("data-mce-bogus","1")}))}function a(e){return window.test=e,o.bind(null,e)}function s(e){return-1!==e.getContent({format:"raw"}).indexOf("<yoastmark")}function c(e){a(e)(null,[])}},,,,,,,,,,function(e,t,n){"use strict";n.r(t),n.d(t,"refreshDelay",(function(){return r}));var r=500},,function(e,t,n){"use strict";function r(e){jQuery(".adminbar-seo-score").attr("class","wpseo-score-icon adminbar-seo-score "+e.className).find(".adminbar-seo-score-text").text(e.screenReaderText)}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";var r=n(14),i=n.n(r),o=n(3);function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function s(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?a(Object(n),!0).forEach((function(t){i()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):a(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}t.a={getDataFromCollector:function(e){return{title:e.getSnippetTitle(),slug:e.getSnippetCite(),description:e.getSnippetMeta()}},getDataFromStore:function(e){var t=e.getState().snippetEditor.data;return{title:t.title,slug:t.slug,description:t.description}},getTemplatesFromL10n:function(e){var t={};if(Object(o.isUndefined)(e))return t;t.title=e.title_template;var n=e.metadesc_template;return Object(o.isEmpty)(n)||(t.description=n),t},getDataWithTemplates:function(e,t){var n=s({},e);return Object(o.forEach)(t,(function(t,r){Object(o.has)(e,r)&&""===e[r]&&(n[r]=t)})),n},getDataWithoutTemplates:function(e,t){var n=s({},e);return Object(o.forEach)(t,(function(t,r){Object(o.has)(e,r)&&e[r].trim()===t&&(n[r]="")})),n}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(3),i=n(22);function o(){var e=Object(i.a)();return Object(r.get)(e,"translations",{domain:"wordpress-seo",locale_data:{"wordpress-seo":{"":{}}}})}},function(e,t,n){"use strict";n.d(t,"b",(function(){return m})),n.d(t,"a",(function(){return v})),n.d(t,"c",(function(){return _}));var r=n(14),i=n.n(r),o=n(3),a=(n(146),n(56)),s=n(6);function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function l(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?c(Object(n),!0).forEach((function(t){i()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var u="<yoastmark class='yoast-text-mark'>",p=[],d={"core/quote":[{key:"value",multilineTag:"p"},{key:"citation"}],"core/paragraph":[{key:"content"}],"core/list":[{key:"values",multilineTag:"li",multilineWrapperTag:["ul","ol"]}],"core/heading":[{key:"content"}]},h={singleH1:{"core/heading":[{key:"content",filter:function(e){return 1===e.level}}]}};function f(){var e=p.shift();e&&(Object(s.dispatch)("core/annotations").__experimentalAddAnnotation(e),g())}function g(){Object(o.isFunction)(window.requestIdleCallback)?window.requestIdleCallback(f,{timeout:1e3}):setTimeout(f,150)}function m(){return Object(s.select)("core/block-editor")&&Object(o.isFunction)(Object(s.select)("core/block-editor").getBlocks)&&Object(s.select)("core/annotations")&&Object(o.isFunction)(Object(s.dispatch)("core/annotations").__experimentalAddAnnotation)}function y(e){var t=Object(s.select)("yoast-seo/editor").getActiveMarker(),n=h[t]||d;return n.hasOwnProperty(e)?n[e]:[]}function b(e,t,n){var r=e.key,i=t.attributes,s=i[r];if(e.filter&&!e.filter(i))return[];var c=Object(a.create)({html:s,multilineTag:e.multilineTag,multilineWrapperTag:e.multilineWrapperTag}).text;return Object(o.flatMap)(n,(function(e){var n=function(e,t){var n=t.getOriginal().replace(/(<([^>]+)>)/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("</yoastmark>"))<t)return[];e=e.replace("</yoastmark>",""),r.push({startOffset:t,endOffset:n}),t=e.indexOf(u),n=null}return r}(r),a=[];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),a.push({startOffset:i,endOffset:o})}))})),a}(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(s.dispatch)("core/annotations").__experimentalRemoveAnnotationsBySource("yoast"),0!==t.length){var n=Object(s.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(s.select)("core/editor").getSelectedBlock(),t=Object(s.select)("yoast-seo/editor").getActiveMarker();if(e&&t){var n;n=e.clientId,Object(s.select)("core/annotations").__experimentalGetAnnotations().filter((function(e){return e.blockClientId===n&&"yoast"===e.source})).forEach((function(e){Object(s.dispatch)("core/annotations").__experimentalRemoveAnnotation(e.id)}));var r=Object(s.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("<span id='wpseo-traffic-light-desc' class='screen-reader-text'>"+e.screenReaderText+"</span>")}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){e.exports=window.wp.domReady},,,,,function(e,t,n){"use strict";n.d(t,"a",(function(){return p})),n.d(t,"b",(function(){return d}));var r=n(3),i=n(27),o=n(52);function a(){return Object(r.get)(window,["wpseoAdminL10n","default_query_params"],{})}var s=n(99),c=n(61),l=n(47),u=n(75);function p(){var e=Object(r.get)(window,["wpseoScriptData","analysis","worker","url"],"analysis-worker.js"),t=Object(i.createWorker)(e);return t.postMessage({dependencies:Object(r.get)(window,["wpseoScriptData","analysis","worker","dependencies"],[])}),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:a(),logLevel:Object(r.get)(window,["wpseoScriptData","analysis","worker","log_level"],"ERROR"),enabledFeatures:Object(u.enabledFeatures)()};t=Object(r.merge)(t,e);var n=Object(s.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(9),i=n.n(r),o=n(10),a=n.n(o),s=n(3),c=function(){function e(){i()(this,e)}return a()(e,[{key:"listen",value:function(e){this.classicEditorContainer=document.getElementById("et_pb_main_editor_wrap"),this.classicEditorContainer&&new MutationObserver((function(t){Object(s.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 a()(e,null,[{key:"isActive",value:function(){return!!window.VCV_I18N}}]),e}(),u={classicEditorHidden:s.noop,classicEditorShown:s.noop,pageBuilderLoaded:s.noop},p=function(){function e(){i()(this,e),this.determineActivePageBuilders()}return a()(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(s.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(35),i=n.n(r),o=n(9),a=n.n(o),s=n(10),c=n.n(s),l=n(3),u=function(){function e(t){a()(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(102);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(3),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),a=function(t){return(t=e(t)).data("target-id")}(n),s=e("#"+o),c=e("#"+a),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();s.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(),s.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(74),i=n.n(r),o=n(3);function a(e){function t(t){var n=!1,r="",o=[],a=["userid","name","user_description"],s=["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")?o=o.concat(l,u):t.hasClass("homepage-template")?o=o.concat(a,s,c,l,u,p):t.hasClass("taxonomy-template")?o=o.concat(a,s,c,l):t.hasClass("author-template")?o=o.concat(c,s,l,u,p):t.hasClass("date-template")?o=o.concat(a,c,l,u,p):t.hasClass("search-template")?o=o.concat(a,s,c,u,p,["term404"]):t.hasClass("error404-template")&&(o=o.concat(a,s,c,u,p,["searchphrase"])),e.each(o,(function(o,a){if(r=t.attr("id")+"-"+a+"-warning",-1!==t.val().search("%%"+a+"%%")){t.addClass("wpseo-variable-warning-element");var s=wpseoAdminGlobalL10n.variable_warning.replace("%s","%%"+a+"%%");e("#"+r).length?e("#"+r).html(s):t.after(' <div id="'+r+'" class="wpseo-variable-warning">'+s+"</div>"),i()(wpseoAdminGlobalL10n.variable_warning.replace("%s",a),"assertive"),n=!0}else e("#"+r).length&&e("#"+r).remove()})),!1===n&&t.removeClass("wpseo-variable-warning-element")}function n(){e("#copy-home-meta-description").on("click",(function(){e("#open_graph_frontpage_desc").val(e("#meta_description").val())}))}function r(){var t=e("#wpseo-conf");if(t.length){var n=t.attr("action").split("#")[0];t.attr("action",n+window.location.hash)}}function a(t){var n=e("#noindex-author-noposts-wpseo-container");t?n.show():n.hide()}e.fn._wpseoIsInViewport=function(){var t=e(this).offset().top,n=t+e(this).outerHeight(),r=e(window).scrollTop(),i=r+e(window).height();return t>r&&n<i},e(window).on("hashchange",r),window.wpseoDetectWrongVariables=t,window.setWPOption=function(t,n,r,i){e.post(ajaxurl,{action:"wpseo_set_option",option:t,newval:n,_wpnonce:i},(function(t){t&&e("#"+r).hide()}))},window.wpseoCopyHomeMeta=n,window.wpseoSetTabHash=r,e(document).ready((function(){var i=this;r(),e("#disable-author input[type='radio']").on("change",(function(){e(this).is(":checked")&&e("#author-archives-titles-metas-content").toggle("off"===e(this).val())})).trigger("change");var s=e("#noindex-author-wpseo-off"),c=e("#noindex-author-wpseo-on");s.is(":checked")||a(!1),c.on("change",(function(){e(i).is(":checked")||a(!1)})),s.on("change",(function(){e(i).is(":checked")||a(!0)})),e("#disable-date input[type='radio']").on("change",(function(){e(this).is(":checked")&&e("#date-archives-titles-metas-content").toggle("off"===e(this).val())})).trigger("change"),e("#disable-attachment input[type='radio']").on("change",(function(){e(this).is(":checked")&&e("#media_settings").toggle("off"===e(this).val())})).trigger("change"),e("#disable-post_format").on("change",(function(){e("#post_format-titles-metas").toggle(e(this).is(":not(:checked)"))})).trigger("change"),e("#zapier_integration_active input[type='radio']").on("change",(function(){e(this).is(":checked")&&e("#zapier-connection").toggle("on"===e(this).val())})).trigger("change"),e("#wincher_integration_active input[type='radio']").change((function(){e(this).is(":checked")&&e("#wincher-connection").toggle("on"===e(this).val())})).change(),e("#wpseo-tabs").find("a").on("click",(function(){e("#wpseo-tabs").find("a").removeClass("nav-tab-active"),e(".wpseotab").removeClass("active");var t=e(this).attr("id").replace("-tab",""),n=e("#"+t);n.addClass("active"),e(this).addClass("nav-tab-active"),n.hasClass("nosave")?e("#wpseo-submit-container").hide():e("#wpseo-submit-container").show(),e(window).trigger("yoast-seo-tab-change")})),e("#company_or_person").on("change",(function(){var t=e(this).val();"company"===t?(e("#knowledge-graph-company").show(),e("#knowledge-graph-person").hide()):"person"===t?(e("#knowledge-graph-company").hide(),e("#knowledge-graph-person").show()):(e("#knowledge-graph-company").hide(),e("#knowledge-graph-person").hide())})).trigger("change"),e(".template").on("input",(function(){t(e(this))})),e(".switch-yoast-seo input").on("keydown",(function(e){"keydown"===e.type&&13===e.which&&e.preventDefault()})),e("body").on("click","button.toggleable-container-trigger",(function(t){var n=e(t.currentTarget),r=n.parent().siblings(".toggleable-container");r.toggleClass("toggleable-container-hidden"),n.attr("aria-expanded",!r.hasClass("toggleable-container-hidden")).find("span").toggleClass("dashicons-arrow-up-alt2 dashicons-arrow-down-alt2")}));var l,u=e("#opengraph"),p=e("#wpseo-opengraph-settings");u.length&&p.length&&(p.toggle(u[0].checked),u.on("change",(function(e){p.toggle(e.target.checked)}))),n(),-1!==(l=window.location.hash.replace("#top#","")).search("#top")&&(l=window.location.hash.replace("#top%23","")),""!==l&&"#"!==l.charAt(0)||(l=e(".wpseotab").attr("id")),e("#"+l).addClass("active"),e("#"+l+"-tab").addClass("nav-tab-active").trigger("click"),e("#twitter_card_type").select2({width:"400px",language:wpseoScriptData.userLanguageCode}),e("#breadcrumbs select").select2({width:"400px",language:wpseoScriptData.userLanguageCode}),function(){if(e("#enable_xml_sitemap input[type=radio]").length){var t=e("#yoast-seo-sitemaps-disabled-warning");e("#enable_xml_sitemap input[type=radio]").on("change",(function(){"off"===this.value?t.show():t.hide()}))}}(),function(){var t=e("#wpseo-submit-container-float"),n=e("#wpseo-submit-container-fixed");if(t.length&&n.length){e(window).on("resize scroll",Object(o.debounce)(i,100)),e(window).on("yoast-seo-tab-change",i);var r=e(".wpseo-message");r.length&&window.setTimeout((function(){r.fadeOut()}),5e3),i()}function i(){t._wpseoIsInViewport()?n.hide():n.show()}}(),"undefined"!=typeof ClipboardJS&&new ClipboardJS("#copy-zapier-api-key").on("success",(function(t){t.clearSelection(),e(t.trigger).trigger("focus")}))}))}},,,,,,,function(e,t,n){"use strict";var r=n(140),i=n(17),o=n(3),a=n(73),s=n(28),c=i.actions.removeReplacementVariable,l=i.actions.updateReplacementVariable,u=i.actions.refreshSnippetEditor,p=["content","title","snippet_title","snippet_meta","primary_category","data_page_title","data_meta_desc","excerpt"],d={},h={},f=function(e,t){this._app=e,this._app.registerPlugin("replaceVariablePlugin",{status:"ready"}),this._store=t,this.replaceVariables=this.replaceVariables.bind(this),this.registerReplacements(),this.registerModifications(),this.registerEvents(),this.subscribeToGutenberg()};f.prototype.registerReplacements=function(){this.addReplacement(new s.a("%%author_first_name%%","author_first_name")),this.addReplacement(new s.a("%%author_last_name%%","author_last_name")),this.addReplacement(new s.a("%%category%%","category")),this.addReplacement(new s.a("%%category_title%%","category_title")),this.addReplacement(new s.a("%%currentdate%%","currentdate")),this.addReplacement(new s.a("%%currentday%%","currentday")),this.addReplacement(new s.a("%%currentmonth%%","currentmonth")),this.addReplacement(new s.a("%%currenttime%%","currenttime")),this.addReplacement(new s.a("%%currentyear%%","currentyear")),this.addReplacement(new s.a("%%date%%","date")),this.addReplacement(new s.a("%%id%%","id")),this.addReplacement(new s.a("%%page%%","page")),this.addReplacement(new s.a("%%permalink%%","permalink")),this.addReplacement(new s.a("%%post_content%%","post_content")),this.addReplacement(new s.a("%%post_month%%","post_month")),this.addReplacement(new s.a("%%post_year%%","post_year")),this.addReplacement(new s.a("%%searchphrase%%","searchphrase")),this.addReplacement(new s.a("%%sitedesc%%","sitedesc")),this.addReplacement(new s.a("%%sitename%%","sitename")),this.addReplacement(new s.a("%%userid%%","userid")),this.addReplacement(new s.a("%%focuskw%%","keyword",{source:"app",aliases:["%%keyword%%"]})),this.addReplacement(new s.a("%%term_description%%","text",{source:"app",scope:["term","category","tag"],aliases:["%%tag_description%%","%%category_description%%"]})),this.addReplacement(new s.a("%%term_title%%","term_title",{scope:["term"]})),this.addReplacement(new s.a("%%term_hierarchy%%","term_hierarchy",{scope:["term"]})),this.addReplacement(new s.a("%%title%%","title",{source:"app",scope:["post","term","page"]})),this.addReplacement(new s.a("%%parent_title%%","title",{source:"app",scope:["page","category"]})),this.addReplacement(new s.a("%%excerpt%%","excerpt",{source:"app",scope:["post"],aliases:["%%excerpt_only%%"]})),this.addReplacement(new s.a("%%primary_category%%","primaryCategory",{source:"app",scope:["post"]})),this.addReplacement(new s.a("%%sep%%(\\s*%%sep%%)*","sep"))},f.prototype.registerEvents=function(){var e=wpseoScriptData.analysis.plugins.replaceVars.scope;"post"===e&&jQuery(".categorydiv").each(this.bindTaxonomyEvents.bind(this)),"post"!==e&&"page"!==e||jQuery("#postcustomstuff > #list-table").each(this.bindFieldEvents.bind(this))},f.prototype.subscribeToGutenberg=function(){var e=this;if(Object(a.a)()){var t={0:""},n=null,i=wp.data;i.subscribe((function(){var a=i.select("core/editor").getEditedPostAttribute("parent");if(void 0!==a&&n!==a)return n=a,a<1?(e._currentParentPageTitle="",void e.declareReloaded()):Object(o.isUndefined)(t[a])?void r.loadPromise.done((function(){new r.models.Page({id:a}).fetch().then((function(n){e._currentParentPageTitle=n.title.rendered,t[a]=e._currentParentPageTitle,e.declareReloaded()})).fail((function(){e._currentParentPageTitle="",e.declareReloaded()}))})):(e._currentParentPageTitle=t[a],void e.declareReloaded())}))}},f.prototype.addReplacement=function(e){d[e.placeholder]=e},f.prototype.removeReplacement=function(e){delete d[e.getPlaceholder()]},f.prototype.registerModifications=function(){var e=this.replaceVariables.bind(this);Object(o.forEach)(p,function(t){this._app.registerModification(t,e,"replaceVariablePlugin",10)}.bind(this))},f.prototype.replaceVariables=function(e){return Object(o.isUndefined)(e)||(e=this.parentReplace(e),e=this.replaceCustomTaxonomy(e),e=this.replaceByStore(e),e=this.replacePlaceholders(e)),e},f.prototype.replaceByStore=function(e){var t=this._store.getState().snippetEditor.replacementVariables;return Object(o.forEach)(t,(function(t){""!==t.value&&(e=e.replace("%%"+t.name+"%%",t.value))})),e},f.prototype.getReplacementSource=function(e){return"app"===e.source?this._app.rawData:"direct"===e.source?"direct":wpseoScriptData.analysis.plugins.replaceVars.replace_vars},f.prototype.getReplacement=function(e){var t=this.getReplacementSource(e.options);return!1===e.inScope(wpseoScriptData.analysis.plugins.replaceVars.scope)?"":"direct"===t?e.replacement:t[e.replacement]||""},f.prototype.replacePlaceholders=function(e){return Object(o.forEach)(d,function(t){e=e.replace(new RegExp(t.getPlaceholder(!0),"g"),this.getReplacement(t))}.bind(this)),e},f.prototype.declareReloaded=function(){this._app.pluginReloaded("replaceVariablePlugin"),this._store.dispatch(u())},f.prototype.getCategoryName=function(e){var t=e.parent("label").clone();return t.children().remove(),t.text().trim()},f.prototype.parseTaxonomies=function(e,t){Object(o.isUndefined)(h[t])&&(h[t]={});var n=[];Object(o.forEach)(e,function(e){var r=(e=jQuery(e)).val(),i=this.getCategoryName(e),o=e.prop("checked");h[t][r]={label:i,checked:o},o&&-1===n.indexOf(i)&&n.push(i)}.bind(this)),"category"!==t&&(t="ct_"+t),this._store.dispatch(l(t,n.join(", ")))},f.prototype.getAvailableTaxonomies=function(e){var t=jQuery(e).find("input[type=checkbox]"),n=jQuery(e).attr("id").replace("taxonomy-","");t.length>0&&this.parseTaxonomies(t,n),this.declareReloaded()},f.prototype.bindTaxonomyEvents=function(e,t){(t=jQuery(t)).on("wpListAddEnd",".categorychecklist",this.getAvailableTaxonomies.bind(this,t)),t.on("change","input[type=checkbox]",this.getAvailableTaxonomies.bind(this,t)),this.getAvailableTaxonomies(t)},f.prototype.replaceCustomTaxonomy=function(e){return Object(o.forEach)(h,function(t,n){var r="%%ct_"+n+"%%";"category"===n&&(r="%%"+n+"%%"),e=e.replace(r,this.getTaxonomyReplaceVar(n))}.bind(this)),e},f.prototype.getTaxonomyReplaceVar=function(e){var t=[],n=h[e];return!0===Object(o.isUndefined)(n)?"":(Object(o.forEach)(n,(function(e){!1!==e.checked&&t.push(e.label)})),jQuery.uniqueSort(t).join(", "))},f.prototype.parseFields=function(e){jQuery(e).each(function(e,t){var n=jQuery("#"+t.id+"-key").val(),r=jQuery("#"+t.id+"-value").val(),i="cf_"+this.sanitizeCustomFieldNames(n),o=n+" (custom field)";this._store.dispatch(l(i,r,o)),this.addReplacement(new s.a("%%".concat(i,"%%"),r,{source:"direct"}))}.bind(this))},f.prototype.removeFields=function(e){jQuery(e).each(function(e,t){var n=jQuery("#"+t.id+"-key").val();this.removeReplacement("%%cf_"+this.sanitizeCustomFieldNames(n)+"%%")}.bind(this))},f.prototype.sanitizeCustomFieldNames=function(e){return e.replace(/\s/g,"_")},f.prototype.getAvailableFields=function(e){this.removeCustomFields();var t=jQuery(e).find("#the-list > tr:visible[id]");t.length>0&&this.parseFields(t),this.declareReloaded()},f.prototype.bindFieldEvents=function(e,t){var n=(t=jQuery(t)).find("#the-list");n.on("wpListDelEnd.wpseoCustomFields",this.getAvailableFields.bind(this,t)),n.on("wpListAddEnd.wpseoCustomFields",this.getAvailableFields.bind(this,t)),n.on("input.wpseoCustomFields",".textarea",this.getAvailableFields.bind(this,t)),n.on("click.wpseoCustomFields",".button + .updatemeta",this.getAvailableFields.bind(this,t)),this.getAvailableFields(t)},f.prototype.removeCustomFields=function(){var e=Object(o.filter)(d,(function(e,t){return t.indexOf("%%cf_")>-1}));Object(o.forEach)(e,function(e){this._store.dispatch(c(Object(o.trim)(e.placeholder,"%%"))),this.removeReplacement(e)}.bind(this))},f.prototype.parentReplace=function(e){var t=jQuery("#parent_id, #parent").eq(0);return this.hasParentTitle(t)&&(e=e.replace(/%%parent_title%%/,this.getParentTitleReplacement(t))),Object(a.a)()&&!Object(o.isUndefined)(this._currentParentPageTitle)&&(e=e.replace(/%%parent_title%%/,this._currentParentPageTitle)),e},f.prototype.hasParentTitle=function(e){return!Object(o.isUndefined)(e)&&!Object(o.isUndefined)(e.prop("options"))},f.prototype.getParentTitleReplacement=function(e){var t=e.find("option:selected").text();return t===wpseoScriptData.analysis.plugins.replaceVars.no_parent_text?"":t},f.ReplaceVar=s.a,t.a=f},function(e,t){e.exports=window.wp.api},function(e,t,n){"use strict";var r=n(17),i=n(3),o=n(27);t.a=function(e,t,n){e("morphology",new o.Paper("",{keyword:n})).then((function(e){var n=e.result.keyphraseForms;t.dispatch(r.actions.updateWordsToHighlight(Object(i.uniq)(Object(i.flatten)(n))))})).catch((function(){t.dispatch(r.actions.updateWordsToHighlight([]))}))}},,,,function(e,t,n){"use strict";n.d(t,"a",(function(){return u}));var r=n(3),i=n(6),o=n(37),a=n(85),s=n(100),c=null;function l(e,t){o.isTinyMCEAvailable(o.tmceId)&&(null===c&&(c=Object(a.c)(tinyMCE.get(o.tmceId))),c(e,t)),Object(s.b)()&&Object(s.a)(e,t)}function u(){return Object(i.select)("yoast-seo/editor").isMarkingAvailable()?l:r.noop}},function(e,t){e.exports=window.wp.annotations},function(e,t,n){"use strict";n.d(t,"a",(function(){return h}));var r=n(6),i=n(3),o=n(27);function a(e,t){window.YoastSEO.analysis.worker.runResearch("readingTime",new o.Paper(e,{locale:t})).then((function(e){Object(r.dispatch)("yoast-seo/editor").setEstimatedReadingTime(e.result)}))}var s=Object(i.debounce)(a,1500,{maxWait:3e3}),c="",l="",u=null;function p(){var e=Object(r.select)("core/editor").getCurrentPostId(),t=Object(r.select)("core/editor").getCurrentPostType(),n=Object(r.select)("core").getEditedEntityRecord("postType",t,e);if(u!==n){u=n;var i=Object(r.select)("core/editor").getEditedPostAttribute("content"),o=Object(r.select)("yoast-seo/editor").getContentLocale();c===i&&l===o||(c=i,l=o,a(i,o))}}function d(){var e=Object(r.select)("yoast-seo/editor").getEditorDataContent(),t=Object(r.select)("yoast-seo/editor").getContentLocale();c===e&&l===t||(c=e,l=t,a(e,t))}function h(){var e,t,n;!1!==Object(i.get)(window,"wpseoScriptData.analysis.estimatedReadingTimeEnabled",!1)&&(Object(r.dispatch)("yoast-seo/editor").loadEstimatedReadingTime(),"1"===window.wpseoScriptData.isElementorEditor?Object(r.subscribe)(Object(i.debounce)(d,1500,{maxWait:3e3})):"1"===window.wpseoScriptData.isBlockEditor?Object(r.subscribe)(Object(i.debounce)(p,1500,{maxWait:3e3})):(e=["input","change","cut","paste"],t="1"===Object(i.get)(window,"wpseoScriptData.isPost","0")?"content":"description",n=Object(r.select)("yoast-seo/editor").getContentLocale(),jQuery(document).on("tinymce-editor-init",(function(r,i){i.id===t&&e.forEach((function(e){i.on(e,(function(){s(i.getContent(),n)}))}))}))))}},function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var r=n(3),i=n(83),o=n(52),a=n(27);function s(e,t,n,s,c){var l=Object(r.cloneDeep)(t.getState());Object(r.merge)(l,n.getData());var u=e.getData(),p=null;c&&(p=(p=c.getBlocks()).map((function(e){return function e(t){var n={attributes:{}};return["level","content","alt"].forEach((function(e){t.attributes[e]&&(n.attributes[e]=t.attributes[e])})),n.name=t.name,n.clientId=t.clientId,n.innerBlocks=t.innerBlocks.map((function(t){return e(t)})),n}(e)})));var d={text:u.content,keyword:l.focusKeyword,synonyms:l.synonyms,description:l.analysisData.snippet.description||l.snippetEditor.data.description,title:l.analysisData.snippet.title||l.snippetEditor.data.title,url:l.snippetEditor.data.slug,permalink:l.settings.snippetEditor.baseUrl+l.snippetEditor.data.slug,wpBlocks:p,date:l.settings.snippetEditor.date};return s.loaded&&(d.title=s._applyModifications("data_page_title",d.title),d.title=s._applyModifications("title",d.title),d.description=s._applyModifications("data_meta_desc",d.description),d.text=s._applyModifications("content",d.text),d.wpBlocks=s._applyModifications("wpBlocks",d.wpBlocks)),d.titleWidth=Object(i.a)(d.title),d.locale=Object(o.a)(),a.Paper.parse(d)}},function(e,t,n){"use strict";n.d(t,"a",(function(){return c}));var r=n(9),i=n.n(r),o=n(10),a=n.n(o),s=n(3),c=function(){function e(){i()(this,e),this._callbacks=[],this.register=this.register.bind(this)}return a()(e,[{key:"register",value:function(e){Object(s.isFunction)(e)&&this._callbacks.push(e)}},{key:"getData",value:function(){var e={};return this._callbacks.forEach((function(t){e=Object(s.merge)(e,t())})),e}}]),e}()},function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(3),i=n(22),o=n(130);function a(e,t,n){var a=Object(i.a)();if(a.previouslyUsedKeywordActive){var s=Object(r.get)(window,["wpseoScriptData","analysis","worker","keywords_assessment_url"],"used-keywords-assessment.js"),c=new o.a(t,a,e,s);c.init();var l={};n.subscribe((function(){var e=n.getState()||{};e.focusKeyword!==l.focusKeyword&&(l=e,c.setKeyword(e.focusKeyword))}))}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var r=n(3),i=n(6),o=n(17),a=n(129);function s(){var e=Object(i.registerStore)("yoast-seo/editor",{reducer:Object(i.combineReducers)(o.reducers),selectors:o.selectors,actions:Object(r.pickBy)(o.actions,(function(e){return"function"==typeof e})),controls:a});return function(e){e.dispatch(o.actions.setSettings({socialPreviews:{sitewideImage:window.wpseoScriptData.metabox.sitewide_social_image,siteName:window.wpseoScriptData.metabox.site_name,contentImage:window.wpseoScriptData.metabox.first_content_image,twitterCardType:window.wpseoScriptData.metabox.twitterCardType},snippetEditor:{baseUrl:window.wpseoScriptData.metabox.base_url,date:window.wpseoScriptData.metabox.metaDescriptionDate,recommendedReplacementVariables:window.wpseoScriptData.analysis.plugins.replaceVars.recommended_replace_vars,siteIconUrl:window.wpseoScriptData.metabox.siteIconUrl}})),e.dispatch(o.actions.setSEMrushChangeCountry(window.wpseoScriptData.metabox.countryCode)),e.dispatch(o.actions.setSEMrushLoginStatus(window.wpseoScriptData.metabox.SEMrushLoginStatus)),e.dispatch(o.actions.setWincherLoginStatus(window.wpseoScriptData.metabox.wincherLoginStatus,!1)),e.dispatch(o.actions.setWincherWebsiteId(window.wpseoScriptData.metabox.wincherWebsiteId)),e.dispatch(o.actions.setWincherAutomaticKeyphaseTracking(window.wpseoScriptData.metabox.wincherAutoAddKeyphrases))}(e),e}},,,,,,,function(e,t,n){"use strict";function r(e){function t(e){e&&(e.focus(),e.click())}function n(){var t=e("#wpseo-meta-section-addons .wpseo_tablink");if(1===t.length&&t.replaceWith("<span class='"+t[0].className+"'>"+t.text()+"</span>"),e(".wpseo-metabox-tabs-div").length>0&&e(".wpseo-metabox-tabs").on("click","a.wpseo_tablink",(function(t){t.preventDefault(),e(".wpseo-meta-section.active .wpseo-metabox-tabs li").removeClass("active"),e(".wpseo-meta-section.active .wpseotab").removeClass("active");var n=e(e(this).attr("href"));n.addClass("active"),e(this).parent("li").addClass("active"),e(this).hasClass("scroll")&&e("html, body").animate({scrollTop:e(n).offset().top},500)})),e(".wpseo-meta-section").length>0){var n=e(".wpseo-meta-section-link");e(".wpseo-metabox-menu li").filter((function(){return"#wpseo-meta-section-content"===e(this).find(".wpseo-meta-section-link").attr("href")})).addClass("active").find("[role='tab']").addClass("yoast-active-tab"),e("#wpseo-meta-section-content, .wpseo-meta-section-react").addClass("active"),n.on("click",(function(t){var r=e(this).attr("id"),i=e(this).attr("href"),o=e(i);t.preventDefault(),e(".wpseo-metabox-menu li").removeClass("active").find("[role='tab']").removeClass("yoast-active-tab"),e(".wpseo-meta-section").removeClass("active"),e(".wpseo-meta-section-react.active").removeClass("active"),"#wpseo-meta-section-content"===i&&e(".wpseo-meta-section-react").addClass("active"),o.addClass("active"),e(this).parent("li").addClass("active").find("[role='tab']").addClass("yoast-active-tab");var a=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return new CustomEvent(e,{detail:t})}("YoastSEO:metaTabChange",{metaTabId:r});window.dispatchEvent(a),this&&(function(e){e.attr({"aria-selected":"false",tabIndex:"-1"})}(n),this.removeAttribute("tabindex"),this.setAttribute("aria-selected","true"))}))}e(".wpseo-metabox-tabs").show()}var r,i,o;window.wpseoInitTabs=n,window.wpseo_init_tabs=n,e(".wpseo-meta-section").each((function(t,n){e(n).find(".wpseo-metabox-tabs li:first").addClass("active"),e(n).find(".wpseotab:first").addClass("active")})),window.wpseo_init_tabs(),r=e(".yoast-aria-tabs"),i=r.find("[role='tab']"),o=r.attr("aria-orientation")||"horizontal",i.attr({"aria-selected":!1,tabIndex:"-1"}),i.filter(".yoast-active-tab").removeAttr("tabindex").attr("aria-selected","true"),i.on("keydown",(function(n){-1!==[32,35,36,37,38,39,40].indexOf(n.which)&&("horizontal"===o&&-1!==[38,40].indexOf(n.which)||"vertical"===o&&-1!==[37,39].indexOf(n.which)||function(n,r){var i=n.which,o=r.index(e(n.target));switch(i){case 32:n.preventDefault(),t(r[o]);break;case 35:n.preventDefault(),t(r[r.length-1]);break;case 36:n.preventDefault(),t(r[0]);break;case 37:case 38:n.preventDefault(),t(r[o-1<0?r.length-1:o-1]);break;case 39:case 40:n.preventDefault(),t(r[o+1===r.length?0:o+1])}}(n,i))}))}n.d(t,"a",(function(){return r}))},,,,,,,,function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},,,,,,,,,,,,,function(e,t,n){(function(t){!function(t){"use strict";var n={newline:/^\n+/,code:/^( {4}[^\n]+\n*)+/,fences:/^ {0,3}(`{3,}|~{3,})([^`~\n]*)\n(?:|([\s\S]*?)\n)(?: {0,3}\1[~`]* *(?:\n+|$)|$)/,hr:/^ {0,3}((?:- *){3,}|(?:_ *){3,}|(?:\* *){3,})(?:\n+|$)/,heading:/^ {0,3}(#{1,6}) +([^\n]*?)(?: +#+)? *(?:\n+|$)/,blockquote:/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/,list:/^( {0,3})(bull) [\s\S]+?(?:hr|def|\n{2,}(?! )(?!\1bull )\n*|\s*$)/,html:"^ {0,3}(?:<(script|pre|style)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?\\?>\\n*|<![A-Z][\\s\\S]*?>\\n*|<!\\[CDATA\\[[\\s\\S]*?\\]\\]>\\n*|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:\\n{2,}|$)|<(?!script|pre|style)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:\\n{2,}|$)|</(?!script|pre|style)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:\\n{2,}|$))",def:/^ {0,3}\[(label)\]: *\n? *<?([^\s>]+)>?(?:(?: +\n? *| *\n *)(title))? *(?:\n+|$)/,nptable:m,table:m,lheading:/^([^\n]+)\n {0,3}(=+|-+) *(?:\n+|$)/,_paragraph:/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html)[^\n]+)*)/,text:/^[^\n]+/};function r(e){this.tokens=[],this.tokens.links=Object.create(null),this.options=e||k.defaults,this.rules=n.normal,this.options.pedantic?this.rules=n.pedantic:this.options.gfm&&(this.rules=n.gfm)}n._label=/(?!\s*\])(?:\\[\[\]]|[^\[\]])+/,n._title=/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/,n.def=d(n.def).replace("label",n._label).replace("title",n._title).getRegex(),n.bullet=/(?:[*+-]|\d{1,9}\.)/,n.item=/^( *)(bull) ?[^\n]*(?:\n(?!\1bull ?)[^\n]*)*/,n.item=d(n.item,"gm").replace(/bull/g,n.bullet).getRegex(),n.list=d(n.list).replace(/bull/g,n.bullet).replace("hr","\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))").replace("def","\\n+(?="+n.def.source+")").getRegex(),n._tag="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|section|source|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",n._comment=/<!--(?!-?>)[\s\S]*?-->/,n.html=d(n.html,"i").replace("comment",n._comment).replace("tag",n._tag).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),n.paragraph=d(n._paragraph).replace("hr",n.hr).replace("heading"," {0,3}#{1,6} +").replace("|lheading","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}|~{3,})[^`\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|!--)").replace("tag",n._tag).getRegex(),n.blockquote=d(n.blockquote).replace("paragraph",n.paragraph).getRegex(),n.normal=y({},n),n.gfm=y({},n.normal,{nptable:/^ *([^|\n ].*\|.*)\n *([-:]+ *\|[-| :]*)(?:\n((?:.*[^>\n ].*(?:\n|$))*)\n*|$)/,table:/^ *\|(.+)\n *\|?( *[-:]+[-| :]*)(?:\n((?: *[^>\n ].*(?:\n|$))*)\n*|$)/}),n.pedantic=y({},n.normal,{html:d("^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:\"[^\"]*\"|'[^']*'|\\s[^'\"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))").replace("comment",n._comment).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^ *(#{1,6}) *([^\n]+?) *(?:#+ *)?(?:\n+|$)/,fences:m,paragraph:d(n.normal._paragraph).replace("hr",n.hr).replace("heading"," *#{1,6} *[^\n]").replace("lheading",n.lheading).replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").getRegex()}),r.rules=n,r.lex=function(e,t){return new r(t).lex(e)},r.prototype.lex=function(e){return e=e.replace(/\r\n|\r/g,"\n").replace(/\t/g,"    ").replace(/\u00a0/g," ").replace(/\u2424/g,"\n"),this.token(e,!0)},r.prototype.token=function(e,t){var r,i,o,a,s,c,l,p,d,h,f,g,m,y,v,_;for(e=e.replace(/^ +$/gm,"");e;)if((o=this.rules.newline.exec(e))&&(e=e.substring(o[0].length),o[0].length>1&&this.tokens.push({type:"space"})),o=this.rules.code.exec(e)){var k=this.tokens[this.tokens.length-1];e=e.substring(o[0].length),k&&"paragraph"===k.type?k.text+="\n"+o[0].trimRight():(o=o[0].replace(/^ {4}/gm,""),this.tokens.push({type:"code",codeBlockStyle:"indented",text:this.options.pedantic?o:w(o,"\n")}))}else if(o=this.rules.fences.exec(e))e=e.substring(o[0].length),this.tokens.push({type:"code",lang:o[2]?o[2].trim():o[2],text:o[3]||""});else if(o=this.rules.heading.exec(e))e=e.substring(o[0].length),this.tokens.push({type:"heading",depth:o[1].length,text:o[2]});else if((o=this.rules.nptable.exec(e))&&(c={type:"table",header:b(o[1].replace(/^ *| *\| *$/g,"")),align:o[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:o[3]?o[3].replace(/\n$/,"").split("\n"):[]}).header.length===c.align.length){for(e=e.substring(o[0].length),f=0;f<c.align.length;f++)/^ *-+: *$/.test(c.align[f])?c.align[f]="right":/^ *:-+: *$/.test(c.align[f])?c.align[f]="center":/^ *:-+ *$/.test(c.align[f])?c.align[f]="left":c.align[f]=null;for(f=0;f<c.cells.length;f++)c.cells[f]=b(c.cells[f],c.header.length);this.tokens.push(c)}else if(o=this.rules.hr.exec(e))e=e.substring(o[0].length),this.tokens.push({type:"hr"});else if(o=this.rules.blockquote.exec(e))e=e.substring(o[0].length),this.tokens.push({type:"blockquote_start"}),o=o[0].replace(/^ *> ?/gm,""),this.token(o,t),this.tokens.push({type:"blockquote_end"});else if(o=this.rules.list.exec(e)){for(e=e.substring(o[0].length),l={type:"list_start",ordered:y=(a=o[2]).length>1,start:y?+a:"",loose:!1},this.tokens.push(l),p=[],r=!1,m=(o=o[0].match(this.rules.item)).length,f=0;f<m;f++)h=(c=o[f]).length,~(c=c.replace(/^ *([*+-]|\d+\.) */,"")).indexOf("\n ")&&(h-=c.length,c=this.options.pedantic?c.replace(/^ {1,4}/gm,""):c.replace(new RegExp("^ {1,"+h+"}","gm"),"")),f!==m-1&&(s=n.bullet.exec(o[f+1])[0],(a.length>1?1===s.length:s.length>1||this.options.smartLists&&s!==a)&&(e=o.slice(f+1).join("\n")+e,f=m-1)),i=r||/\n\n(?!\s*$)/.test(c),f!==m-1&&(r="\n"===c.charAt(c.length-1),i||(i=r)),i&&(l.loose=!0),_=void 0,(v=/^\[[ xX]\] /.test(c))&&(_=" "!==c[1],c=c.replace(/^\[[ xX]\] +/,"")),d={type:"list_item_start",task:v,checked:_,loose:i},p.push(d),this.tokens.push(d),this.token(c,!1),this.tokens.push({type:"list_item_end"});if(l.loose)for(m=p.length,f=0;f<m;f++)p[f].loose=!0;this.tokens.push({type:"list_end"})}else if(o=this.rules.html.exec(e))e=e.substring(o[0].length),this.tokens.push({type:this.options.sanitize?"paragraph":"html",pre:!this.options.sanitizer&&("pre"===o[1]||"script"===o[1]||"style"===o[1]),text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(o[0]):u(o[0]):o[0]});else if(t&&(o=this.rules.def.exec(e)))e=e.substring(o[0].length),o[3]&&(o[3]=o[3].substring(1,o[3].length-1)),g=o[1].toLowerCase().replace(/\s+/g," "),this.tokens.links[g]||(this.tokens.links[g]={href:o[2],title:o[3]});else if((o=this.rules.table.exec(e))&&(c={type:"table",header:b(o[1].replace(/^ *| *\| *$/g,"")),align:o[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:o[3]?o[3].replace(/\n$/,"").split("\n"):[]}).header.length===c.align.length){for(e=e.substring(o[0].length),f=0;f<c.align.length;f++)/^ *-+: *$/.test(c.align[f])?c.align[f]="right":/^ *:-+: *$/.test(c.align[f])?c.align[f]="center":/^ *:-+ *$/.test(c.align[f])?c.align[f]="left":c.align[f]=null;for(f=0;f<c.cells.length;f++)c.cells[f]=b(c.cells[f].replace(/^ *\| *| *\| *$/g,""),c.header.length);this.tokens.push(c)}else if(o=this.rules.lheading.exec(e))e=e.substring(o[0].length),this.tokens.push({type:"heading",depth:"="===o[2].charAt(0)?1:2,text:o[1]});else if(t&&(o=this.rules.paragraph.exec(e)))e=e.substring(o[0].length),this.tokens.push({type:"paragraph",text:"\n"===o[1].charAt(o[1].length-1)?o[1].slice(0,-1):o[1]});else if(o=this.rules.text.exec(e))e=e.substring(o[0].length),this.tokens.push({type:"text",text:o[0]});else if(e)throw new Error("Infinite loop on byte: "+e.charCodeAt(0));return this.tokens};var i={escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,autolink:/^<(scheme:[^\s\x00-\x1f<>]*|email)>/,url:m,tag:"^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>",link:/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/,reflink:/^!?\[(label)\]\[(?!\s*\])((?:\\[\[\]]?|[^\[\]\\])+)\]/,nolink:/^!?\[(?!\s*\])((?:\[[^\[\]]*\]|\\[\[\]]|[^\[\]])*)\](?:\[\])?/,strong:/^__([^\s_])__(?!_)|^\*\*([^\s*])\*\*(?!\*)|^__([^\s][\s\S]*?[^\s])__(?!_)|^\*\*([^\s][\s\S]*?[^\s])\*\*(?!\*)/,em:/^_([^\s_])_(?!_)|^\*([^\s*<\[])\*(?!\*)|^_([^\s<][\s\S]*?[^\s_])_(?!_|[^\spunctuation])|^_([^\s_<][\s\S]*?[^\s])_(?!_|[^\spunctuation])|^\*([^\s<"][\s\S]*?[^\s\*])\*(?!\*|[^\spunctuation])|^\*([^\s*"<\[][\s\S]*?[^\s])\*(?!\*)/,code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,br:/^( {2,}|\\)\n(?!\s*$)/,del:m,text:/^(`+|[^`])(?:[\s\S]*?(?:(?=[\\<!\[`*]|\b_|$)|[^ ](?= {2,}\n))|(?= {2,}\n))/};function o(e,t){if(this.options=t||k.defaults,this.links=e,this.rules=i.normal,this.renderer=this.options.renderer||new a,this.renderer.options=this.options,!this.links)throw new Error("Tokens array requires a `links` property.");this.options.pedantic?this.rules=i.pedantic:this.options.gfm&&(this.options.breaks?this.rules=i.breaks:this.rules=i.gfm)}function a(e){this.options=e||k.defaults}function s(){}function c(e){this.tokens=[],this.token=null,this.options=e||k.defaults,this.options.renderer=this.options.renderer||new a,this.renderer=this.options.renderer,this.renderer.options=this.options,this.slugger=new l}function l(){this.seen={}}function u(e,t){if(t){if(u.escapeTest.test(e))return e.replace(u.escapeReplace,(function(e){return u.replacements[e]}))}else if(u.escapeTestNoEncode.test(e))return e.replace(u.escapeReplaceNoEncode,(function(e){return u.replacements[e]}));return e}function p(e){return e.replace(/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/gi,(function(e,t){return"colon"===(t=t.toLowerCase())?":":"#"===t.charAt(0)?"x"===t.charAt(1)?String.fromCharCode(parseInt(t.substring(2),16)):String.fromCharCode(+t.substring(1)):""}))}function d(e,t){return e=e.source||e,t=t||"",{replace:function(t,n){return n=(n=n.source||n).replace(/(^|[^\[])\^/g,"$1"),e=e.replace(t,n),this},getRegex:function(){return new RegExp(e,t)}}}function h(e,t,n){if(e){try{var r=decodeURIComponent(p(n)).replace(/[^\w:]/g,"").toLowerCase()}catch(e){return null}if(0===r.indexOf("javascript:")||0===r.indexOf("vbscript:")||0===r.indexOf("data:"))return null}t&&!g.test(n)&&(n=function(e,t){return f[" "+e]||(/^[^:]+:\/*[^/]*$/.test(e)?f[" "+e]=e+"/":f[" "+e]=w(e,"/",!0)),e=f[" "+e],"//"===t.slice(0,2)?e.replace(/:[\s\S]*/,":")+t:"/"===t.charAt(0)?e.replace(/(:\/*[^/]*)[\s\S]*/,"$1")+t:e+t}(t,n));try{n=encodeURI(n).replace(/%25/g,"%")}catch(e){return null}return n}i._punctuation="!\"#$%&'()*+,\\-./:;<=>?@\\[^_{|}~",i.em=d(i.em).replace(/punctuation/g,i._punctuation).getRegex(),i._escapes=/\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/g,i._scheme=/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/,i._email=/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/,i.autolink=d(i.autolink).replace("scheme",i._scheme).replace("email",i._email).getRegex(),i._attribute=/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/,i.tag=d(i.tag).replace("comment",n._comment).replace("attribute",i._attribute).getRegex(),i._label=/(?:\[[^\[\]]*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,i._href=/<(?:\\[<>]?|[^\s<>\\])*>|[^\s\x00-\x1f]*/,i._title=/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/,i.link=d(i.link).replace("label",i._label).replace("href",i._href).replace("title",i._title).getRegex(),i.reflink=d(i.reflink).replace("label",i._label).getRegex(),i.normal=y({},i),i.pedantic=y({},i.normal,{strong:/^__(?=\S)([\s\S]*?\S)__(?!_)|^\*\*(?=\S)([\s\S]*?\S)\*\*(?!\*)/,em:/^_(?=\S)([\s\S]*?\S)_(?!_)|^\*(?=\S)([\s\S]*?\S)\*(?!\*)/,link:d(/^!?\[(label)\]\((.*?)\)/).replace("label",i._label).getRegex(),reflink:d(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",i._label).getRegex()}),i.gfm=y({},i.normal,{escape:d(i.escape).replace("])","~|])").getRegex(),_extended_email:/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/,url:/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,_backpedal:/(?:[^?!.,:;*_~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_~)]+(?!$))+/,del:/^~+(?=\S)([\s\S]*?\S)~+/,text:/^(`+|[^`])(?:[\s\S]*?(?:(?=[\\<!\[`*~]|\b_|https?:\/\/|ftp:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@))|(?= {2,}\n|[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@))/}),i.gfm.url=d(i.gfm.url,"i").replace("email",i.gfm._extended_email).getRegex(),i.breaks=y({},i.gfm,{br:d(i.br).replace("{2,}","*").getRegex(),text:d(i.gfm.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()}),o.rules=i,o.output=function(e,t,n){return new o(t,n).output(e)},o.prototype.output=function(e){for(var t,n,r,i,a,s,c="";e;)if(a=this.rules.escape.exec(e))e=e.substring(a[0].length),c+=u(a[1]);else if(a=this.rules.tag.exec(e))!this.inLink&&/^<a /i.test(a[0])?this.inLink=!0:this.inLink&&/^<\/a>/i.test(a[0])&&(this.inLink=!1),!this.inRawBlock&&/^<(pre|code|kbd|script)(\s|>)/i.test(a[0])?this.inRawBlock=!0:this.inRawBlock&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(a[0])&&(this.inRawBlock=!1),e=e.substring(a[0].length),c+=this.options.sanitize?this.options.sanitizer?this.options.sanitizer(a[0]):u(a[0]):a[0];else if(a=this.rules.link.exec(e)){var l=v(a[2],"()");if(l>-1){var p=4+a[1].length+l;a[2]=a[2].substring(0,l),a[0]=a[0].substring(0,p).trim(),a[3]=""}e=e.substring(a[0].length),this.inLink=!0,r=a[2],this.options.pedantic?(t=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(r))?(r=t[1],i=t[3]):i="":i=a[3]?a[3].slice(1,-1):"",r=r.trim().replace(/^<([\s\S]*)>$/,"$1"),c+=this.outputLink(a,{href:o.escapes(r),title:o.escapes(i)}),this.inLink=!1}else if((a=this.rules.reflink.exec(e))||(a=this.rules.nolink.exec(e))){if(e=e.substring(a[0].length),t=(a[2]||a[1]).replace(/\s+/g," "),!(t=this.links[t.toLowerCase()])||!t.href){c+=a[0].charAt(0),e=a[0].substring(1)+e;continue}this.inLink=!0,c+=this.outputLink(a,t),this.inLink=!1}else if(a=this.rules.strong.exec(e))e=e.substring(a[0].length),c+=this.renderer.strong(this.output(a[4]||a[3]||a[2]||a[1]));else if(a=this.rules.em.exec(e))e=e.substring(a[0].length),c+=this.renderer.em(this.output(a[6]||a[5]||a[4]||a[3]||a[2]||a[1]));else if(a=this.rules.code.exec(e))e=e.substring(a[0].length),c+=this.renderer.codespan(u(a[2].trim(),!0));else if(a=this.rules.br.exec(e))e=e.substring(a[0].length),c+=this.renderer.br();else if(a=this.rules.del.exec(e))e=e.substring(a[0].length),c+=this.renderer.del(this.output(a[1]));else if(a=this.rules.autolink.exec(e))e=e.substring(a[0].length),r="@"===a[2]?"mailto:"+(n=u(this.mangle(a[1]))):n=u(a[1]),c+=this.renderer.link(r,null,n);else if(this.inLink||!(a=this.rules.url.exec(e))){if(a=this.rules.text.exec(e))e=e.substring(a[0].length),this.inRawBlock?c+=this.renderer.text(this.options.sanitize?this.options.sanitizer?this.options.sanitizer(a[0]):u(a[0]):a[0]):c+=this.renderer.text(u(this.smartypants(a[0])));else if(e)throw new Error("Infinite loop on byte: "+e.charCodeAt(0))}else{if("@"===a[2])r="mailto:"+(n=u(a[0]));else{do{s=a[0],a[0]=this.rules._backpedal.exec(a[0])[0]}while(s!==a[0]);n=u(a[0]),r="www."===a[1]?"http://"+n:n}e=e.substring(a[0].length),c+=this.renderer.link(r,null,n)}return c},o.escapes=function(e){return e?e.replace(o.rules._escapes,"$1"):e},o.prototype.outputLink=function(e,t){var n=t.href,r=t.title?u(t.title):null;return"!"!==e[0].charAt(0)?this.renderer.link(n,r,this.output(e[1])):this.renderer.image(n,r,u(e[1]))},o.prototype.smartypants=function(e){return this.options.smartypants?e.replace(/---/g,"—").replace(/--/g,"–").replace(/(^|[-\u2014/(\[{"\s])'/g,"$1‘").replace(/'/g,"’").replace(/(^|[-\u2014/(\[{\u2018\s])"/g,"$1“").replace(/"/g,"”").replace(/\.{3}/g,"…"):e},o.prototype.mangle=function(e){if(!this.options.mangle)return e;for(var t,n="",r=e.length,i=0;i<r;i++)t=e.charCodeAt(i),Math.random()>.5&&(t="x"+t.toString(16)),n+="&#"+t+";";return n},a.prototype.code=function(e,t,n){var r=(t||"").match(/\S*/)[0];if(this.options.highlight){var i=this.options.highlight(e,r);null!=i&&i!==e&&(n=!0,e=i)}return r?'<pre><code class="'+this.options.langPrefix+u(r,!0)+'">'+(n?e:u(e,!0))+"</code></pre>\n":"<pre><code>"+(n?e:u(e,!0))+"</code></pre>"},a.prototype.blockquote=function(e){return"<blockquote>\n"+e+"</blockquote>\n"},a.prototype.html=function(e){return e},a.prototype.heading=function(e,t,n,r){return this.options.headerIds?"<h"+t+' id="'+this.options.headerPrefix+r.slug(n)+'">'+e+"</h"+t+">\n":"<h"+t+">"+e+"</h"+t+">\n"},a.prototype.hr=function(){return this.options.xhtml?"<hr/>\n":"<hr>\n"},a.prototype.list=function(e,t,n){var r=t?"ol":"ul";return"<"+r+(t&&1!==n?' start="'+n+'"':"")+">\n"+e+"</"+r+">\n"},a.prototype.listitem=function(e){return"<li>"+e+"</li>\n"},a.prototype.checkbox=function(e){return"<input "+(e?'checked="" ':"")+'disabled="" type="checkbox"'+(this.options.xhtml?" /":"")+"> "},a.prototype.paragraph=function(e){return"<p>"+e+"</p>\n"},a.prototype.table=function(e,t){return t&&(t="<tbody>"+t+"</tbody>"),"<table>\n<thead>\n"+e+"</thead>\n"+t+"</table>\n"},a.prototype.tablerow=function(e){return"<tr>\n"+e+"</tr>\n"},a.prototype.tablecell=function(e,t){var n=t.header?"th":"td";return(t.align?"<"+n+' align="'+t.align+'">':"<"+n+">")+e+"</"+n+">\n"},a.prototype.strong=function(e){return"<strong>"+e+"</strong>"},a.prototype.em=function(e){return"<em>"+e+"</em>"},a.prototype.codespan=function(e){return"<code>"+e+"</code>"},a.prototype.br=function(){return this.options.xhtml?"<br/>":"<br>"},a.prototype.del=function(e){return"<del>"+e+"</del>"},a.prototype.link=function(e,t,n){if(null===(e=h(this.options.sanitize,this.options.baseUrl,e)))return n;var r='<a href="'+u(e)+'"';return t&&(r+=' title="'+t+'"'),r+">"+n+"</a>"},a.prototype.image=function(e,t,n){if(null===(e=h(this.options.sanitize,this.options.baseUrl,e)))return n;var r='<img src="'+e+'" alt="'+n+'"';return t&&(r+=' title="'+t+'"'),r+(this.options.xhtml?"/>":">")},a.prototype.text=function(e){return e},s.prototype.strong=s.prototype.em=s.prototype.codespan=s.prototype.del=s.prototype.text=function(e){return e},s.prototype.link=s.prototype.image=function(e,t,n){return""+n},s.prototype.br=function(){return""},c.parse=function(e,t){return new c(t).parse(e)},c.prototype.parse=function(e){this.inline=new o(e.links,this.options),this.inlineText=new o(e.links,y({},this.options,{renderer:new s})),this.tokens=e.reverse();for(var t="";this.next();)t+=this.tok();return t},c.prototype.next=function(){return this.token=this.tokens.pop(),this.token},c.prototype.peek=function(){return this.tokens[this.tokens.length-1]||0},c.prototype.parseText=function(){for(var e=this.token.text;"text"===this.peek().type;)e+="\n"+this.next().text;return this.inline.output(e)},c.prototype.tok=function(){switch(this.token.type){case"space":return"";case"hr":return this.renderer.hr();case"heading":return this.renderer.heading(this.inline.output(this.token.text),this.token.depth,p(this.inlineText.output(this.token.text)),this.slugger);case"code":return this.renderer.code(this.token.text,this.token.lang,this.token.escaped);case"table":var e,t,n,r,i="",o="";for(n="",e=0;e<this.token.header.length;e++)n+=this.renderer.tablecell(this.inline.output(this.token.header[e]),{header:!0,align:this.token.align[e]});for(i+=this.renderer.tablerow(n),e=0;e<this.token.cells.length;e++){for(t=this.token.cells[e],n="",r=0;r<t.length;r++)n+=this.renderer.tablecell(this.inline.output(t[r]),{header:!1,align:this.token.align[r]});o+=this.renderer.tablerow(n)}return this.renderer.table(i,o);case"blockquote_start":for(o="";"blockquote_end"!==this.next().type;)o+=this.tok();return this.renderer.blockquote(o);case"list_start":o="";for(var a=this.token.ordered,s=this.token.start;"list_end"!==this.next().type;)o+=this.tok();return this.renderer.list(o,a,s);case"list_item_start":o="";var c=this.token.loose,l=this.token.checked,u=this.token.task;for(this.token.task&&(o+=this.renderer.checkbox(l));"list_item_end"!==this.next().type;)o+=c||"text"!==this.token.type?this.tok():this.parseText();return this.renderer.listitem(o,u,l);case"html":return this.renderer.html(this.token.text);case"paragraph":return this.renderer.paragraph(this.inline.output(this.token.text));case"text":return this.renderer.paragraph(this.parseText());default:var d='Token with "'+this.token.type+'" type was not found.';if(!this.options.silent)throw new Error(d);console.log(d)}},l.prototype.slug=function(e){var t=e.toLowerCase().trim().replace(/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&()*+,./:;<=>?@[\]^`{|}~]/g,"").replace(/\s/g,"-");if(this.seen.hasOwnProperty(t)){var n=t;do{this.seen[n]++,t=n+"-"+this.seen[n]}while(this.seen.hasOwnProperty(t))}return this.seen[t]=0,t},u.escapeTest=/[&<>"']/,u.escapeReplace=/[&<>"']/g,u.replacements={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},u.escapeTestNoEncode=/[<>"']|&(?!#?\w+;)/,u.escapeReplaceNoEncode=/[<>"']|&(?!#?\w+;)/g;var f={},g=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;function m(){}function y(e){for(var t,n,r=1;r<arguments.length;r++)for(n in t=arguments[r])Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e}function b(e,t){var n=e.replace(/\|/g,(function(e,t,n){for(var r=!1,i=t;--i>=0&&"\\"===n[i];)r=!r;return r?"|":" |"})).split(/ \|/),r=0;if(n.length>t)n.splice(t);else for(;n.length<t;)n.push("");for(;r<n.length;r++)n[r]=n[r].trim().replace(/\\\|/g,"|");return n}function w(e,t,n){if(0===e.length)return"";for(var r=0;r<e.length;){var i=e.charAt(e.length-r-1);if(i!==t||n){if(i===t||!n)break;r++}else r++}return e.substr(0,e.length-r)}function v(e,t){if(-1===e.indexOf(t[1]))return-1;for(var n=0,r=0;r<e.length;r++)if("\\"===e[r])r++;else if(e[r]===t[0])n++;else if(e[r]===t[1]&&--n<0)return r;return-1}function _(e){e&&e.sanitize&&!e.silent&&console.warn("marked(): sanitize and sanitizer parameters are deprecated since version 0.7.0, should not be used and will be removed in the future. Read more here: https://marked.js.org/#/USING_ADVANCED.md#options")}function k(e,t,n){if(null==e)throw new Error("marked(): input parameter is undefined or null");if("string"!=typeof e)throw new Error("marked(): input parameter is of type "+Object.prototype.toString.call(e)+", string expected");if(n||"function"==typeof t){n||(n=t,t=null),_(t=y({},k.defaults,t||{}));var i,o,a=t.highlight,s=0;try{i=r.lex(e,t)}catch(e){return n(e)}o=i.length;var l=function(e){if(e)return t.highlight=a,n(e);var r;try{r=c.parse(i,t)}catch(t){e=t}return t.highlight=a,e?n(e):n(null,r)};if(!a||a.length<3)return l();if(delete t.highlight,!o)return l();for(;s<i.length;s++)!function(e){"code"!==e.type?--o||l():a(e.text,e.lang,(function(t,n){return t?l(t):null==n||n===e.text?--o||l():(e.text=n,e.escaped=!0,void(--o||l()))}))}(i[s])}else try{return t&&(t=y({},k.defaults,t)),_(t),c.parse(r.lex(e,t),t)}catch(e){if(e.message+="\nPlease report this to https://github.com/markedjs/marked.",(t||k.defaults).silent)return"<p>An error occurred:</p><pre>"+u(e.message+"",!0)+"</pre>";throw e}}m.exec=m,k.options=k.setOptions=function(e){return y(k.defaults,e),k},k.getDefaults=function(){return{baseUrl:null,breaks:!1,gfm:!0,headerIds:!0,headerPrefix:"",highlight:null,langPrefix:"language-",mangle:!0,pedantic:!1,renderer:new a,sanitize:!1,sanitizer:null,silent:!1,smartLists:!1,smartypants:!1,xhtml:!1}},k.defaults=k.getDefaults(),k.Parser=c,k.parser=c.parse,k.Renderer=a,k.TextRenderer=s,k.Lexer=r,k.lexer=r.lex,k.InlineLexer=o,k.inlineLexer=o.output,k.Slugger=l,k.parse=k,e.exports=k}(this||"undefined"!=typeof window&&window)}).call(this,n(166))},,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";n.r(t);var r={};n.r(r),n.d(r,"updateScore",(function(){return _e})),n.d(r,"initialize",(function(){return xe}));var i,o=n(106),a=n.n(o),s=n(25),c=n.n(s),l=n(158),u=n(26),p=n.n(u),d=n(9),h=n.n(d),f=n(10),g=n.n(f),m=n(18),y=n.n(m),b=n(19),w=n.n(b),v=n(12),k=n.n(v),O=n(0),x=n(6),j=n(3),S=n(15),E=n.n(S),C=n(1),R=n.n(C),T=n(2),A=n(21),P=n(13),D=n.n(P),I=n(20),M=n(11),B=n.n(M),F=n(36),L=n.n(F),U=n(39),z=D.a.div(i||(i=E()(["\n\tpadding-top: 6px;\n"]))),Y=function(e){var t=e.value,n=e.id,r=e.terms,i=e.onChange;return Object(O.createElement)(z,null,Object(O.createElement)("select",{className:"components-select-control__input",id:n,value:t,onChange:function(e){i(parseInt(e.target.value,10))}},r.map((function(e){return Object(O.createElement)("option",{key:e.id,value:e.id},Object(j.unescape)(e.name))}))))};Y.propTypes={terms:R.a.arrayOf(R.a.shape({id:R.a.string.isRequired,name:R.a.string.isRequired})),onChange:R.a.func.isRequired,id:R.a.string,value:R.a.string};var $,N=Y;var q=D.a.div($||($=E()(["\n\tpadding-top: 16px;\n"]))),V=function(e){y()(i,e);var t,n,r=(t=i,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=k()(t);if(n){var i=k()(this).constructor;e=Reflect.construct(r,arguments,i)}else e=r.apply(this,arguments);return w()(this,e)});function i(e){var t;h()(this,i),(t=r.call(this,e)).onChange=t.onChange.bind(B()(t)),t.updateReplacementVariable=t.updateReplacementVariable.bind(B()(t));var n=e.taxonomy,o=n.fieldId,a=n.name;return t.input=document.getElementById(o),e.setPrimaryTaxonomyId(a,parseInt(t.input.value,10)),t.state={selectedTerms:[],terms:[]},t}return g()(i,[{key:"componentDidMount",value:function(){this.fetchTerms()}},{key:"componentDidUpdate",value:function(e,t){if(e.selectedTermIds.length<this.props.selectedTermIds.length){var n=Object(j.difference)(this.props.selectedTermIds,e.selectedTermIds)[0];if(!this.termIsAvailable(n))return void this.fetchTerms()}e.selectedTermIds!==this.props.selectedTermIds&&this.updateSelectedTerms(this.state.terms,this.props.selectedTermIds),t.selectedTerms!==this.state.selectedTerms&&this.handleSelectedTermsChange()}},{key:"handleSelectedTermsChange",value:function(){var e=this.state.selectedTerms,t=this.props.primaryTaxonomyId;e.find((function(e){return e.id===t}))||this.onChange(e.length?e[0].id:-1)}},{key:"termIsAvailable",value:function(e){return!!this.state.terms.find((function(t){return t.id===e}))}},{key:"fetchTerms",value:function(){var e=this,t=this.props.taxonomy;t&&(this.fetchRequest=L()({path:Object(U.addQueryArgs)("/wp/v2/".concat(t.restBase),{per_page:-1,orderby:"count",order:"desc",_fields:"id,name"})}),this.fetchRequest.then((function(t){var n=e.state;e.setState({terms:t,selectedTerms:e.getSelectedTerms(t,e.props.selectedTermIds)},(function(){0===n.terms.length&&e.state.terms.length>0&&e.updateReplacementVariable(e.props.primaryTaxonomyId)}))})))}},{key:"getSelectedTerms",value:function(e,t){return e.filter((function(e){return t.includes(e.id)}))}},{key:"updateSelectedTerms",value:function(e,t){var n=this.getSelectedTerms(e,t);this.setState({selectedTerms:n})}},{key:"onChange",value:function(e){var t=this.props.taxonomy.name;this.updateReplacementVariable(e),this.props.setPrimaryTaxonomyId(t,e),this.input.value=-1===e?"":e}},{key:"updateReplacementVariable",value:function(e){if("category"===this.props.taxonomy.name){var t=this.state.selectedTerms.find((function(t){return t.id===e}));this.props.updateReplacementVariable("primary_".concat(this.props.taxonomy.name),t?t.name:"")}}},{key:"render",value:function(){var e=this.props,t=e.primaryTaxonomyId,n=e.taxonomy;if(this.state.selectedTerms.length<2)return null;var r="yoast-primary-".concat(n.name,"-picker");return Object(O.createElement)(q,{className:"components-base-control__field"},Object(O.createElement)("label",{htmlFor:r,className:"components-base-control__label"},Object(T.sprintf)(
/* translators: %s expands to the taxonomy name. */
Object(T.__)("Select the primary %s","wordpress-seo"),n.singularLabel.toLowerCase())),Object(O.createElement)(N,{value:t,onChange:this.onChange,id:r,terms:this.state.selectedTerms}))}}]),i}(O.Component);V.propTypes={selectedTermIds:R.a.arrayOf(R.a.number),primaryTaxonomyId:R.a.number,setPrimaryTaxonomyId:R.a.func,updateReplacementVariable:R.a.func,receiveEntityRecords:R.a.func,taxonomy:R.a.shape({name:R.a.string,fieldId:R.a.string,restBase:R.a.string,singularLabel:R.a.string})};var K,Q=V,W=Object(I.compose)([Object(x.withSelect)((function(e,t){var n=e("core/editor"),r=e("yoast-seo/editor"),i=t.taxonomy;return{selectedTermIds:n.getEditedPostAttribute(i.restBase)||[],primaryTaxonomyId:r.getPrimaryTaxonomyId(i.name)}})),Object(x.withDispatch)((function(e){var t=e("yoast-seo/editor");return{setPrimaryTaxonomyId:t.setPrimaryTaxonomyId,updateReplacementVariable:t.updateReplacementVariable}}))])(Q);var Z=null,H=null,G=D.a.div(K||(K=E()(["\n\tmargin: 16px 0 8px;\n"]))),J=function(e){y()(i,e);var t,n,r=(t=i,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=k()(t);if(n){var i=k()(this).constructor;e=Reflect.construct(r,arguments,i)}else e=r.apply(this,arguments);return w()(this,e)});function i(){var e;return h()(this,i),e=r.call(this),Z&&H||(Z=Object(j.get)(window.wpseoPrimaryCategoryL10n,"taxonomies",{}),H=Object(j.values)(Z).map((function(e){return e.name}))),e.state={exceptionCaught:!1,error:null},e}return g()(i,[{key:"componentDidCatch",value:function(e){this.setState({exceptionCaught:!0,error:e})}},{key:"taxonomyHasPrimaryTermSupport",value:function(){return H.includes(this.props.slug)}},{key:"render",value:function(){var e=this.props,t=e.slug,n=e.OriginalComponent;if(this.state.exceptionCaught){var r=Object(j.get)(this.state,"error.stack");return Object(O.createElement)(O.Fragment,null,Object(O.createElement)(n,this.props),Object(O.createElement)(G,null,Object(T.sprintf)(
/* translators: %s expands to Yoast SEO. */
Object(T.__)("An error occurred loading the %s primary taxonomy picker.","wordpress-seo"),"Yoast SEO")),r&&Object(O.createElement)(A.ClipboardButton,{isLarge:!0,text:r},Object(T.__)("Copy error","wordpress-seo")))}return this.taxonomyHasPrimaryTermSupport()?Object(O.createElement)(O.Fragment,null,Object(O.createElement)(n,this.props),Object(O.createElement)(W,{taxonomy:Z[t]})):Object(O.createElement)(n,this.props)}}]),i}(O.Component);J.propTypes={OriginalComponent:R.a.func.isRequired,slug:R.a.string.isRequired};var X=J,ee=n(73);function te(e){var t,n,r=wpseoPrimaryCategoryL10n.taxonomies;function i(t){return e("#yoast-wpseo-primary-"+t).val()}function o(t,n){e("#yoast-wpseo-primary-"+t).val(n).trigger("change");var r=Object(x.dispatch)("yoast-seo/editor");if(r){var i=parseInt(n,10);r.setPrimaryTaxonomyId(t,i),"category"===t&&r.updateReplacementVariable("primary_category",function(t){var n=e("#category-all").find("#category-".concat(t," > label"));if(0===n.length)return"";var r=n.clone();return r.children().remove(),r.text().trim()}(i))}}function a(o){var a,s,c;a=e("#"+o+'checklist input[type="checkbox"]:checked');var l=e("#"+o+"checklist li");l.removeClass("wpseo-term-unchecked wpseo-primary-term wpseo-non-primary-term"),e(".wpseo-primary-category-label").remove(),l.addClass("wpseo-term-unchecked"),a.length<=1||a.each((function(a,l){l=e(l),(s=l.closest("li")).removeClass("wpseo-term-unchecked"),1!==e(l).closest("li").children(".wpseo-make-primary-term").length&&function(n,i){var o,a;o=e(i).closest("label"),a=t({taxonomy:r[n],term:o.text()}),o.after(a)}(o,l),l.val()===i(o)?(s.addClass("wpseo-primary-term"),(c=l.closest("label")).find(".wpseo-primary-category-label").remove(),c.append(n({taxonomy:r[o]}))):s.addClass("wpseo-non-primary-term")}))}function s(t){o(t,e("#"+t+'checklist input[type="checkbox"]:checked:first').val()),a(t)}function c(e){""===i(e)&&s(e)}e.fn.initYstSEOPrimaryCategory=function(){return this.each((function(t,n){var r,l=e("#"+n.name+"div");a(n.name),l.on("click",'input[type="checkbox"]',(r=n.name,function(){!1===e(this).prop("checked")&&e(this).val()===i(r)&&s(r),c(r),a(r)})),l.on("wpListAddEnd","#"+n.name+"checklist",function(e){return function(){c(e),a(e)}}(n.name)),l.on("click",".wpseo-make-primary-term",function(t){return function(n){var r;r=e(n.currentTarget).siblings("label").find("input"),o(t,r.val()),a(t),r.trigger("focus")}}(n.name))}))},t=wp.template("primary-term-ui"),n=wp.template("primary-term-screen-reader"),e(_.values(r)).initYstSEOPrimaryCategory(),Object(ee.a)()&&Object(j.get)(window,"wp.hooks.addFilter",j.noop)("editor.PostTaxonomyType","yoast-seo",(function(e){return function(t){y()(o,t);var n,r,i=(n=o,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=k()(n);if(r){var i=k()(this).constructor;e=Reflect.construct(t,arguments,i)}else e=t.apply(this,arguments);return w()(this,e)});function o(){return h()(this,o),i.apply(this,arguments)}return g()(o,[{key:"render",value:function(){return Object(O.createElement)(X,p()({OriginalComponent:e},this.props))}}]),o}(O.Component)}))}var ne=n(27),re=n(114),ie=n(139),oe=function(){function e(t,n,r){h()(this,e),this._registerPlugin=t,this._registerModification=n,this.blockEditorDataModule=r}return g()(e,[{key:"register",value:function(){this._registerPlugin("YoastReusableBlocksPlugin",{status:"ready"}),this._registerModification("content",this.parseReusableBlocks.bind(this),"YoastReusableBlocksPlugin",1)}},{key:"parseReusableBlocks",value:function(e){var t=/<!-- wp:block {"ref":(\d+)} \/-->/g;if(!e.match(t))return e;var n=this.blockEditorDataModule.getSettings().__experimentalReusableBlocks;return n?e.replace(t,(function(e,t){var r=parseInt(t,10),i=n.find((function(e){return e.id===r}));if(i)return i.content.raw})):e}}]),e}(),ae=n(35),se=n.n(ae),ce=new RegExp("\\[[^<>&/\\[\\]\0- =]+?( [^\\]]+?)?\\]","g"),le=new RegExp("\\[/[^<>&/\\[\\]\0- =]+?\\]","g"),ue=function(e){var t=e.registerPlugin,n=e.registerModification,r=e.pluginReady,i=e.pluginReloaded;this._registerModification=n,this._pluginReady=r,this._pluginReloaded=i,t("YoastShortcodePlugin",{status:"loading"}),this.bindElementEvents();var o="("+wpseoScriptData.analysis.plugins.shortcodes.wpseo_shortcode_tags.join("|")+")";this.keywordRegex=new RegExp(o,"g"),this.closingTagRegex=new RegExp("\\[\\/"+o+"\\]","g"),this.nonCaptureRegex=new RegExp("\\["+o+"[^\\]]*?\\]","g"),this.parsedShortcodes=[],this.loadShortcodes(this.declareReady.bind(this))};ue.prototype.declareReady=function(){this._pluginReady("YoastShortcodePlugin"),this.registerModifications()},ue.prototype.declareReloaded=function(){this._pluginReloaded("YoastShortcodePlugin")},ue.prototype.registerModifications=function(){this._registerModification("content",this.replaceShortcodes.bind(this),"YoastShortcodePlugin")},ue.prototype.removeUnknownShortCodes=function(e){return(e=e.replace(ce,"")).replace(le,"")},ue.prototype.replaceShortcodes=function(e){var t=this.parsedShortcodes;if("string"==typeof e&&t.length>0)for(var n=0;n<t.length;n++)e=e.replace(t[n].shortcode,t[n].output);return this.removeUnknownShortCodes(e)},ue.prototype.loadShortcodes=function(e){var t=this.getUnparsedShortcodes(this.getShortcodes(this.getContentTinyMCE()));if(!(t.length>0))return e();this.parseShortcodes(t,e)},ue.prototype.bindElementEvents=function(){var e=document.getElementById("content")||!1,t=_.debounce(this.loadShortcodes.bind(this,this.declareReloaded.bind(this)),500);e&&(e.addEventListener("keyup",t),e.addEventListener("change",t)),"undefined"!=typeof tinyMCE&&"function"==typeof tinyMCE.on&&tinyMCE.on("addEditor",(function(e){e.editor.on("change",t),e.editor.on("keyup",t)}))},ue.prototype.getContentTinyMCE=function(){var e=document.getElementById("content")&&document.getElementById("content").value||"";return"undefined"!=typeof tinyMCE&&void 0!==tinyMCE.editors&&0!==tinyMCE.editors.length&&(e=tinyMCE.get("content")&&tinyMCE.get("content").getContent()||""),e},ue.prototype.getUnparsedShortcodes=function(e){if("object"!==se()(e))return console.error("Failed to get unparsed shortcodes. Expected parameter to be an array, instead received "+se()(e)),!1;for(var t=[],n=0;n<e.length;n++){var r=e[n];-1===t.indexOf(r)&&this.isUnparsedShortcode(r)&&t.push(r)}return t},ue.prototype.isUnparsedShortcode=function(e){for(var t=!1,n=0;n<this.parsedShortcodes.length;n++)this.parsedShortcodes[n].shortcode===e&&(t=!0);return!1===t},ue.prototype.getShortcodes=function(e){if("string"!=typeof e)return console.error("Failed to get shortcodes. Expected parameter to be a string, instead received"+se()(e)),!1;for(var t=this.matchCapturingShortcodes(e),n=0;n<t.length;n++)e=e.replace(t[n],"");var r=this.matchNonCapturingShortcodes(e);return t.concat(r)},ue.prototype.matchCapturingShortcodes=function(e){for(var t=[],n=(e.match(this.closingTagRegex)||[]).join(" ").match(this.keywordRegex)||[],r=0;r<n.length;r++){var i=n[r],o="\\["+i+"[^\\]]*?\\].*?\\[\\/"+i+"\\]",a=e.match(new RegExp(o,"g"))||[];t=t.concat(a)}return t},ue.prototype.matchNonCapturingShortcodes=function(e){return e.match(this.nonCaptureRegex)||[]},ue.prototype.parseShortcodes=function(e,t){return"function"!=typeof t?(console.error("Failed to parse shortcodes. Expected parameter to be a function, instead received "+se()(t)),!1):"object"===se()(e)&&e.length>0?void jQuery.post(ajaxurl,{action:"wpseo_filter_shortcodes",_wpnonce:wpseoScriptData.analysis.plugins.shortcodes.wpseo_filter_shortcodes_nonce,data:e},function(e){this.saveParsedShortcodes(e,t)}.bind(this)):t()},ue.prototype.saveParsedShortcodes=function(e,t){e=JSON.parse(e);for(var n=0;n<e.length;n++)this.parsedShortcodes.push(e[n]);t()};var pe=ue,de=n(179),he=n.n(de),fe=function(){function e(t,n){h()(this,e),this._registerPlugin=t,this._registerModification=n}return g()(e,[{key:"register",value:function(){this._registerPlugin("YoastMarkdownPlugin",{status:"ready"}),this._registerModification("content",this.parseMarkdown.bind(this),"YoastMarkdownPlugin",1)}},{key:"parseMarkdown",value:function(e){return he()(e)}}]),e}(),ge=n(37),me=n(115),ye=n(128),be=n(141),we=jQuery;function ve(e,t){return wpseoScriptData.metabox.publish_box.labels[e][t]||""}function _e(e,t){var n=we("#"+e+"-score"),r="image yoast-logo svg "+t;n.children(".image").attr("class",r);var i=ve(e,t);n.children(".score-text").html(i)}function ke(e,t){var n=we("<div />",{class:"misc-pub-section yoast yoast-seo-score "+e+"-score",id:e+"-score"}),r=we("<span />",{class:"score-text",html:ve(e,t)}),i=we("<span>").attr("class","image yoast-logo svg na");n.append(i).append(r),we("#yoast-seo-publishbox-section").prepend(n)}function Oe(e){var t=we("#wpadminbar"),n=we(e);if(t&&n){var r="fixed"===t.css("position")?t.height():0;we([document.documentElement,document.body]).animate({scrollTop:n.offset().top-r},1e3),n.trigger("focus"),0===n.parent().siblings().length&&n.trigger("click")}}function xe(){wpseoScriptData.metabox.keywordAnalysisActive&&ke("keyword","na"),wpseoScriptData.metabox.contentAnalysisActive&&ke("content","na"),we("#content-score").on("click","[href='#yoast-readability-analysis-collapsible-metabox']",(function(e){e.preventDefault(),document.querySelector("#wpseo-meta-tab-readability").click(),Oe("#wpseo-meta-section-readability")})),we("#keyword-score").on("click","[href='#yoast-seo-analysis-collapsible-metabox']",(function(e){e.preventDefault(),Oe("#yoast-seo-analysis-collapsible-metabox")}))}String.prototype.ucfirst=function(){return this.charAt(0).toUpperCase()+this.substr(1)};var je=n(101),Se=n(97),Ee=n(111),Ce=n(79),Re=n(148),Te=n(14),Ae=n.n(Te),Pe=n(83),De=n(45),Ie=n(47);function Me(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Be(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Me(Object(n),!0).forEach((function(t){Ae()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Me(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Fe=ge.tmceId,Le=jQuery,Ue=function(e){"object"===("undefined"==typeof CKEDITOR?"undefined":se()(CKEDITOR))&&console.warn("YoastSEO currently doesn't support ckEditor. The content analysis currently only works with the HTML editor or TinyMCE."),this._data=e.data,this._store=e.store};Ue.prototype.getData=function(){var e=this._data.getData(),t=this._store.getState(),n={keyword:Object(Ie.a)()?this.getKeyword():"",meta:this.getMeta(),text:e.content,title:e.title,url:e.slug,excerpt:e.excerpt,snippetTitle:this.getSnippetTitle(),snippetMeta:this.getSnippetMeta(),snippetCite:this.getSnippetCite(),primaryCategory:this.getPrimaryCategory(),searchUrl:this.getSearchUrl(),postUrl:this.getPostUrl(),permalink:this.getPermalink(),titleWidth:Object(Pe.a)(this.getSnippetTitle())},r={metaTitle:Object(j.get)(t,["analysisData","snippet","title"],this.getSnippetTitle()),url:Object(j.get)(t,["snippetEditor","data","slug"],e.slug),meta:this.getMetaDescForAnalysis(t)};return Be(Be({},n),r)},Ue.prototype.getKeyword=function(){return document.getElementById("yoast_wpseo_focuskw")&&document.getElementById("yoast_wpseo_focuskw").value||""},Ue.prototype.getMetaDescForAnalysis=function(e){var t=Object(j.get)(e,["analysisData","snippet","description"],this.getSnippetMeta());return""!==wpseoScriptData.metabox.metaDescriptionDate&&(t=wpseoScriptData.metabox.metaDescriptionDate+" - "+t),t},Ue.prototype.getMeta=function(){return document.getElementById("yoast_wpseo_metadesc")&&document.getElementById("yoast_wpseo_metadesc").value||""},Ue.prototype.getText=function(){return ne.markers.removeMarks(ge.getContentTinyMce(Fe))},Ue.prototype.getTitle=function(){return document.getElementById("title")&&document.getElementById("title").value||""},Ue.prototype.getUrl=function(){var e=Object(x.select)("core/editor");if(e)return e.getCurrentPostAttribute("slug");var t="",n=Le("#new-post-slug");return 0<n.length?t=n.val():null!==document.getElementById("editable-post-name-full")&&(t=document.getElementById("editable-post-name-full").textContent),t},Ue.prototype.getExcerpt=function(){var e="";return null!==document.getElementById("excerpt")&&(e=document.getElementById("excerpt")&&document.getElementById("excerpt").value||""),e},Ue.prototype.getSnippetTitle=function(){return document.getElementById("yoast_wpseo_title")&&document.getElementById("yoast_wpseo_title").value||""},Ue.prototype.getSnippetMeta=function(){return document.getElementById("yoast_wpseo_metadesc")&&document.getElementById("yoast_wpseo_metadesc").value||""},Ue.prototype.getSnippetCite=function(){return this.getUrl()||""},Ue.prototype.getPrimaryCategory=function(){var e="",t=Le("#category-all").find("ul.categorychecklist"),n=t.find("li input:checked");if(1===n.length)return this.getCategoryName(n.parent());var r=t.find(".wpseo-primary-term > label");return r.length?e=this.getCategoryName(r):e},Ue.prototype.getSearchUrl=function(){return wpseoScriptData.metabox.search_url},Ue.prototype.getPostUrl=function(){return wpseoScriptData.metabox.post_edit_url},Ue.prototype.getPermalink=function(){var e=this.getUrl();return wpseoScriptData.metabox.base_url+e},Ue.prototype.getCategoryName=function(e){var t=e.clone();return t.children().remove(),t.text().trim()},Ue.prototype.setDataFromSnippet=function(e,t){switch(t){case"snippet_meta":document.getElementById("yoast_wpseo_metadesc").value=e;break;case"snippet_cite":if(this.leavePostNameUntouched)return void(this.leavePostNameUntouched=!1);null!==document.getElementById("post_name")&&(document.getElementById("post_name").value=e),null!==document.getElementById("editable-post-name")&&null!==document.getElementById("editable-post-name-full")&&(document.getElementById("editable-post-name").textContent=e,document.getElementById("editable-post-name-full").textContent=e);break;case"snippet_title":document.getElementById("yoast_wpseo_title").value=e}},Ue.prototype.saveSnippetData=function(e){this.setDataFromSnippet(e.title,"snippet_title"),this.setDataFromSnippet(e.urlPath,"snippet_cite"),this.setDataFromSnippet(e.metaDesc,"snippet_meta")},Ue.prototype.bindElementEvents=function(e){this.inputElementEventBinder(e),this.changeElementEventBinder(e)},Ue.prototype.changeElementEventBinder=function(e){for(var t=["#yoast-wpseo-primary-category",'.categorychecklist input[name="post_category[]"]'],n=0;n<t.length;n++)Le(t[n]).on("change",e)},Ue.prototype.inputElementEventBinder=function(e){for(var t=["excerpt","content","title"],n=0;n<t.length;n++)null!==document.getElementById(t[n])&&document.getElementById(t[n]).addEventListener("input",e);ge.tinyMceEventBinder(e,Fe)},Ue.prototype.saveScores=function(e,t){var n=Object(De.a)(e);_e("content",n.className),document.getElementById("yoast_wpseo_linkdex").value=e,""===t&&(n.className="na",n.screenReaderText=Object(T.__)("Enter a focus keyphrase to calculate the SEO score","wordpress-seo")),Object(je.a)(n),Object(Se.a)(n),_e("keyword",n.className),jQuery(window).trigger("YoastSEO:numericScore",e)},Ue.prototype.saveContentScore=function(e){var t=Object(De.a)(e);_e("content",t.className),Object(Ie.a)()||(Object(je.a)(t),Object(Se.a)(t)),Le("#yoast_wpseo_content_score").val(e)};var ze=Ue,Ye=n(99),$e=n(61),Ne=n(98),qe=n(149),Ve=n(145),Ke=n(95),Qe=n(60),We=n(150),Ze=n(17),He=n(43),Ge=Ze.actions.setFocusKeyword,Je=Ze.actions.setMarkerStatus,Xe=Ze.actions.updateData,et=Ze.actions.setCornerstoneContent,tt=Ze.actions.refreshSnippetEditor,nt=Ze.actions.setReadabilityResults,rt=Ze.actions.setSeoResultsForKeyword;function it(e,t,n){if("undefined"!=typeof wpseoScriptData){var i,o,a,s,c,l=new qe.a;jQuery(document).on("ajaxComplete",(function(e,n,r){if("/admin-ajax.php"===r.url.substr(0-"/admin-ajax.php".length)&&"string"==typeof r.data&&-1!==r.data.indexOf("action=sample-permalink")){s.leavePostNameUntouched=!0;var i={slug:u(n)};t.dispatch(Xe(i))}})),function(){var c,u,g,m;if(i=e("#wpseo_meta"),ge.setStore(t),ge.wpTextViewOnInitCheck(),(c=new me.a).isClassicEditorHidden()&&ge.disableMarkerButtons(),c.vcActive?ge.disableMarkerButtons():c.listen({classicEditorHidden:function(){ge.disableMarkerButtons()},classicEditorShown:function(){ge.isTextViewActive()||ge.enableMarkerButtons()}}),0!==i.length){s=function(e){var n=new ze({data:e,store:t});return n.leavePostNameUntouched=!1,n}(n),xe();var y=function(t){!function(e){(void 0===window.tinyMCE||Object(ee.a)()||"1"!==wpseoScriptData.metabox.show_markers)&&e.dispatch(Je("disabled"))}(t);var n,r={elementTarget:[ge.tmceId,"yoast_wpseo_focuskw_text_input","yoast_wpseo_metadesc","excerpt","editable-post-name","editable-post-name-full"],targets:(n={},Object(Ie.a)()&&(n.output="does-not-really-exist-but-it-needs-something"),Object($e.a)()&&(n.contentOutput="also-does-not-really-exist-but-it-needs-something"),n),callbacks:{getData:s.getData.bind(s)},locale:wpseoScriptData.metabox.contentLocale,marker:Object(Ve.a)(t),contentAnalysisActive:Object($e.a)(),keywordAnalysisActive:Object(Ie.a)(),hasSnippetPreview:!1,debouncedRefresh:!1,researcher:new window.yoast.Researcher.default};Object(Ie.a)()&&(t.dispatch(Ge(e("#yoast_wpseo_focuskw").val())),r.callbacks.saveScores=s.saveScores.bind(s),r.callbacks.updatedKeywordsResults=function(e){var n=t.getState().focusKeyword;t.dispatch(rt(n,e)),t.dispatch(tt())}),Object($e.a)()&&(r.callbacks.saveContentScore=s.saveContentScore.bind(s),r.callbacks.updatedContentResults=function(e){t.dispatch(nt(e)),t.dispatch(tt())}),o=e("#title");var i=Object(Ye.a)();return Object(j.isUndefined)(i)||Object(j.isUndefined)(i.domain)||(r.translations=i),r}(t);a=new ne.App(y);var b=Object(x.select)("core/block-editor");window.YoastSEO=window.YoastSEO||{},window.YoastSEO.app=a,window.YoastSEO.store=t,window.YoastSEO.analysis={},window.YoastSEO.analysis.worker=Object(Ee.a)(),window.YoastSEO.analysis.collectData=function(){return Object(Re.a)(n,t,l,a.pluggable,b)},window.YoastSEO.analysis.applyMarks=function(e,t){return Object(Ve.a)()(e,t)},window.YoastSEO.app.refresh=Object(j.debounce)((function(){return Object(Ce.default)(window.YoastSEO.analysis.worker,window.YoastSEO.analysis.collectData,window.YoastSEO.analysis.applyMarks,t,s)}),Ke.refreshDelay),window.YoastSEO.app.registerCustomDataCallback=l.register,window.YoastSEO.app.pluggable=new ye.a(window.YoastSEO.app.refresh),window.YoastSEO.app.registerPlugin=window.YoastSEO.app.pluggable._registerPlugin,window.YoastSEO.app.pluginReady=window.YoastSEO.app.pluggable._ready,window.YoastSEO.app.pluginReloaded=window.YoastSEO.app.pluggable._reloaded,window.YoastSEO.app.registerModification=window.YoastSEO.app.pluggable._registerModification,window.YoastSEO.app.registerAssessment=function(e,t,n){if(!Object(j.isUndefined)(a.seoAssessor))return window.YoastSEO.app.pluggable._registerAssessment(a.defaultSeoAssessor,e,t,n)&&window.YoastSEO.app.pluggable._registerAssessment(a.cornerStoneSeoAssessor,e,t,n)},window.YoastSEO.app.changeAssessorOptions=function(e){window.YoastSEO.analysis.worker.initialize(e).catch(Qe.a),window.YoastSEO.app.refresh()},Object(We.a)(a.refresh,"get_focus_keyword_usage",t),t.subscribe(d.bind(null,t,a.refresh)),window.YoastSEO.analyzerArgs=y,window.YoastSEO.wp={},window.YoastSEO.wp.replaceVarsPlugin=new ie.a(a,t),window.YoastSEO.wp.shortcodePlugin=new pe({registerPlugin:a.registerPlugin,registerModification:a.registerModification,pluginReady:a.pluginReady,pluginReloaded:a.pluginReloaded}),Object(ee.a)()&&new oe(a.registerPlugin,a.registerModification,b).register(),wpseoScriptData.metabox.markdownEnabled&&new fe(a.registerPlugin,a.registerModification).register(),window.YoastSEO.wp._tinyMCEHelper=ge,Object(Ie.a)()&&(u=r,g=e("#yoast_wpseo_linkdex").val(),m=Object(De.a)(g),Object(je.a)(m),Object(Se.a)(m),u.updateScore("keyword",m.className)),Object($e.a)()&&function(t){var n=e("#yoast_wpseo_content_score").val(),r=Object(De.a)(n);Object(Se.a)(r),t.updateScore("content",r.className)}(r),window.YoastSEO.analysis.worker.initialize(Object(Ee.b)()).then((function(){jQuery(window).trigger("YoastSEO:ready")})).catch(Qe.a),s.bindElementEvents(Object(j.debounce)((function(){return Object(Ce.default)(window.YoastSEO.analysis.worker,window.YoastSEO.analysis.collectData,window.YoastSEO.analysis.applyMarks,t,s)}),Ke.refreshDelay)),p(a);var w=a.initAssessorPresenters.bind(a);a.initAssessorPresenters=function(){w(),p(a)},n.setRefresh&&n.setRefresh(a.refresh);var v=Ne.a.getDataFromCollector(s),_=Ne.a.getTemplatesFromL10n(wpseoScriptData.metabox);v=Ne.a.getDataWithTemplates(v,_),t.dispatch(Xe(v)),t.dispatch(et("1"===document.getElementById("yoast_wpseo_is_cornerstone").value));var k=t.getState().focusKeyword;Object(be.a)(window.YoastSEO.analysis.worker.runResearch,t,k);var O=Object(j.debounce)((function(){a.refresh()}),50),S=null;if(t.subscribe((function(){var n=t.getState().focusKeyword;k!==n&&(k=n,Object(be.a)(window.YoastSEO.analysis.worker.runResearch,t,k),e("#yoast_wpseo_focuskw").val(k),O());var r=Ne.a.getDataFromStore(t),i=Ne.a.getDataWithoutTemplates(r,_);v.title!==r.title&&s.setDataFromSnippet(i.title,"snippet_title"),v.slug!==r.slug&&s.setDataFromSnippet(i.slug,"snippet_cite"),v.description!==r.description&&s.setDataFromSnippet(i.description,"snippet_meta");var o=t.getState();S!==o.isCornerstone&&(S=o.isCornerstone,document.getElementById("yoast_wpseo_is_cornerstone").value=o.isCornerstone,a.changeAssessorOptions({useCornerstone:o.isCornerstone})),v.title=r.title,v.slug=r.slug,v.description=r.description})),Object(ee.a)()){var E=f();h(E,t),Object(x.subscribe)((function(){var e=f();e!==E&&h(E=e,t)}))}Object(Ce.initializationDone)(),window.YoastSEO.app.refresh()}}()}function u(e){return""===e.responseText?o.val():jQuery("<div>"+e.responseText+"</div>").find("#editable-post-name-full").text()}function p(e){Object(j.isUndefined)(e.seoAssessorPresenter)||(e.seoAssessorPresenter.render=function(){}),Object(j.isUndefined)(e.contentAssessorPresenter)||(e.contentAssessorPresenter.render=function(){},e.contentAssessorPresenter.renderIndividualRatings=function(){})}function d(e,t){var n=c||"";c=e.getState().analysisData.snippet,!Object(re.isShallowEqualObjects)(n,c)&&t()}function h(e,t){"visual"!==e?t.dispatch(Je("disabled")):t.dispatch(Je("enabled"))}function f(){return Object(x.select)("core/edit-post").getEditorMode()}}Object(He.setYoastComponentsL10n)(),Object(He.setWordPressSeoL10n)(),window.YoastReplaceVarPlugin=ie.a,window.YoastShortcodePlugin=pe;var ot=n(74),at=n.n(ot);var st=n(131),ct=n(132),lt=n(151),ut=n(147);window.wpseoPostScraperL10n=window.wpseoScriptData.metabox,window.wpseoShortcodePluginL10n=window.wpseoScriptData.analysis.plugins.shortcodes,window.YoastSEO=window.YoastSEO||{},a()((function(){Object(l.a)(c.a),"undefined"!=typeof wpseoPrimaryCategoryL10n&&te(c.a);var e=Object(lt.a)();window.yoast.initEditorIntegration(e);var t=new window.yoast.EditorData((function(){}),e);t.initialize(window.wpseoScriptData.analysis.plugins.replaceVars.replace_vars,window.wpseoScriptData.analysis.plugins.replaceVars.hidden_replace_vars),it(c.a,e,t),window.wpseoScriptData&&void 0!==window.wpseoScriptData.featuredImage&&function(e){var t,n,r,i=function(e){this._app=e,this.featuredImage=null,this.pluginName="addFeaturedImagePlugin",this.registerPlugin(),this.registerModifications()};function o(){e("#yst_opengraph_image_warning").remove(),n.removeClass("yoast-opengraph-image-notice")}i.prototype.setFeaturedImage=function(e){this.featuredImage=e,this._app.pluginReloaded(this.pluginName)},i.prototype.removeFeaturedImage=function(){this.setFeaturedImage(null)},i.prototype.registerPlugin=function(){this._app.registerPlugin(this.pluginName,{status:"ready"})},i.prototype.registerModifications=function(){this._app.registerModification("content",this.addImageToContent.bind(this),this.pluginName,10)},i.prototype.addImageToContent=function(e){return null!==this.featuredImage&&(e+=this.featuredImage),e};var a,s,c=wp.media.featuredImage.frame();"undefined"!=typeof YoastSEO&&(t=new i(YoastSEO.app),n=e("#postimagediv"),r=n.find(".hndle"),c.on("select",(function(){var i,a,s;!function(t){var i=t.state().get("selection").first().toJSON();i.width<200||i.height<200?0===e("#yst_opengraph_image_warning").length&&(e('<div id="yst_opengraph_image_warning" class="notice notice-error notice-alt"><p>'+wpseoScriptData.featuredImage.featured_image_notice+"</p></div>").insertAfter(r),n.addClass("yoast-opengraph-image-notice"),at()(wpseoScriptData.featuredImage.featured_image_notice,"assertive")):o()}(c),s=(a=c.state().get("selection").first()).get("alt"),i='<img src="'+a.get("url")+'" width="'+a.get("width")+'" height="'+a.get("height")+'" alt="'+s+'"/>',t.setFeaturedImage(i)})),n.on("click","#remove-post-thumbnail",(function(){t.removeFeaturedImage(),o()})),void 0!==e("#set-post-thumbnail > img").prop("src")&&t.setFeaturedImage(e("#set-post-thumbnail ").html()),Object(ee.a)()&&Object(x.subscribe)((function(){var e=Object(x.select)("core/editor").getEditedPostAttribute("featured_media");if(function(e){return"number"==typeof e&&e>0}(e)&&void 0!==(a=Object(x.select)("core").getMedia(e))&&a!==s){s=a;var n='<img src="'.concat(a.source_url,'" alt="').concat(a.alt_text,'" >');t.setFeaturedImage(n)}})))}(c.a),Object(st.a)(c.a),Object(ct.a)(c.a),setTimeout(ut.a,500)}))}]);

Zerion Mini Shell 1.0