!function(e){var t={};function n(i){if(t[i])return t[i].exports;var s=t[i]={i:i,l:!1,exports:{}};return e[i].call(s.exports,s,s.exports,n),s.l=!0,s.exports}n.m=e,n.c=t,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},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 i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var s in e)n.d(i,s,function(t){return e[t]}.bind(null,s));return i},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=303)}({1:function(e,t){e.exports=window.wp.i18n},10:function(e,t,n){"use strict";n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return s})),n.d(t,"c",(function(){return o}));const i={request:"request",success:"success",error:"error"},s={idle:"idle",loading:"loading",success:"success",error:"error"},o={showPlay:"showPlay",askPermission:"askPermission",isPlaying:"isPlaying"}},100:function(e,t,n){"use strict";function i(e){let t=document.getElementById("yoast-measurement-element");return t||(t=function(){const e=document.createElement("div");return e.id="yoast-measurement-element",e.style.position="absolute",e.style.left="-9999em",e.style.top=0,e.style.height=0,e.style.overflow="hidden",e.style.fontFamily="arial, sans-serif",e.style.fontSize="20px",e.style.fontWeight="400",document.body.appendChild(e),e}()),t.innerText=e,t.offsetWidth}n.d(t,"a",(function(){return i}))},101:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var i=n(17),s=n(4);function o(){const e=Object(i.a)();return 1===Object(s.get)(e,"inclusiveLanguageAnalysisActive",0)}},114:function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var i=n(4);const s=function(){for(var e=arguments.length,t=new Array(e),n=0;nt.map(e=>e())};t.b=(e,t)=>{let n=e();return()=>{const s=e();Object(i.isEqual)(s,n)||(n=s,t(Object(i.clone)(s)))}}},120:function(e,t,n){"use strict";n.d(t,"a",(function(){return s})),n.d(t,"b",(function(){return o})),n.d(t,"e",(function(){return a})),n.d(t,"c",(function(){return r})),n.d(t,"d",(function(){return c}));var i=n(4);function s(e){return{title:e.getSnippetTitle(),slug:e.getSnippetCite(),description:e.getSnippetMeta()}}function o(e){const t=e.getState().snippetEditor.data;return{title:t.title,slug:t.slug,description:t.description}}function a(e){const t={};if(Object(i.isUndefined)(e))return t;t.title=e.title_template;const n=e.metadesc_template;return Object(i.isEmpty)(n)||(t.description=n),t}function r(e,t){const n={...e};return Object(i.forEach)(t,(t,s)=>{Object(i.has)(e,s)&&""===e[s]&&(n[s]=t)}),n}function c(e,t){const n={...e};return Object(i.forEach)(t,(t,s)=>{Object(i.has)(e,s)&&e[s].trim()===t&&(n[s]="")}),n}},122:function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var i=n(4);class s{constructor(e){this.refresh=e,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)}_registerPlugin(e,t){return Object(i.isString)(e)?Object(i.isUndefined)(t)||Object(i.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)}_ready(e){return Object(i.isString)(e)?Object(i.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)}_reloaded(e){return Object(i.isString)(e)?Object(i.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)}_registerModification(e,t,n,s){if(!Object(i.isString)(e))return console.error("Failed to register modification for plugin "+n+". Expected parameter `modification` to be a string."),!1;if(!Object(i.isFunction)(t))return console.error("Failed to register modification for plugin "+n+". Expected parameter `callable` to be a function."),!1;if(!Object(i.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;const o={callable:t,origin:n,priority:Object(i.isNumber)(s)?s:10};return Object(i.isUndefined)(this.modifications[e])&&(this.modifications[e]=[]),this.modifications[e].push(o),!0}_registerAssessment(e,t,n,s){return Object(i.isString)(t)?Object(i.isObject)(n)?Object(i.isString)(s)?(t=s+"-"+t,e.addAssessment(t,n),!0):(console.error("Failed to register assessment for plugin "+s+". Expected parameter `pluginName` to be a string."),!1):(console.error("Failed to register assessment for plugin "+s+". Expected parameter `assessment` to be a function."),!1):(console.error("Failed to register test for plugin "+s+". Expected parameter `name` to be a string."),!1)}_applyModifications(e,t,n){let s=this.modifications[e];return!Object(i.isArray)(s)||s.length<1||(s=this._stripIllegalModifications(s),s.sort((e,t)=>e.priority-t.priority),Object(i.forEach)(s,(function(i){const s=i.callable(t,n);typeof s==typeof t?t=s:console.error("Modification with name "+e+" performed by plugin with name "+i.origin+" was ignored because the data that was returned by it was of a different type than the data we had passed it.")}))),t}_pollLoadingPlugins(e){e=Object(i.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))}_allReady(){return Object(i.reduce)(this.plugins,(function(e,t){return e&&"ready"===t.status}),!0)}_pollTimeExceeded(){Object(i.forEach)(this.plugins,(function(e,t){Object(i.isUndefined)(e.options)||"ready"===e.options.status||(console.error("Error: Plugin "+t+". did not finish loading in time."),delete this.plugins[t])}))}_stripIllegalModifications(e){return Object(i.forEach)(e,(t,n)=>{!1===this._validateOrigin(t.origin)&&delete e[n]}),e}_validateOrigin(e){return"ready"===this.plugins[e].status}_validateUniqueness(e){return Object(i.isUndefined)(this.plugins[e])}}},123:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var i=n(4),s=n(17);function o(){const e=Object(s.a)();return Object(i.get)(e,"translations",{domain:"wordpress-seo",locale_data:{"wordpress-seo":{"":{}}}})}},125:function(e,t,n){"use strict";n.d(t,"b",(function(){return p})),n.d(t,"a",(function(){return b})),n.d(t,"c",(function(){return m}));var i=n(4),s=(n(197),n(70)),o=n(5);const a="";let r=[];const c={"core/paragraph":[{key:"content"}],"core/list":[{key:"values",multilineTag:"li",multilineWrapperTag:["ul","ol"]}],"core/list-item":[{key:"content"}],"core/heading":[{key:"content"}],"core/audio":[{key:"caption"}],"core/embed":[{key:"caption"}],"core/gallery":[{key:"caption"}],"core/image":[{key:"caption"}],"core/table":[{key:"caption"}],"core/video":[{key:"caption"}],"yoast/faq-block":[{key:"questions"}],"yoast/how-to-block":[{key:"steps"}]},d={singleH1:{"core/heading":[{key:"content",filter:e=>1===e.level}]}};function l(){const e=r.shift();e&&(Object(o.dispatch)("core/annotations").__experimentalAddAnnotation(e),u())}function u(){Object(i.isFunction)(window.requestIdleCallback)?window.requestIdleCallback(l,{timeout:1e3}):setTimeout(l,150)}function p(){return Object(o.select)("core/block-editor")&&Object(i.isFunction)(Object(o.select)("core/block-editor").getBlocks)&&Object(o.select)("core/annotations")&&Object(i.isFunction)(Object(o.dispatch)("core/annotations").__experimentalAddAnnotation)}function f(e){const t=Object(o.select)("yoast-seo/editor").getActiveMarker(),n=d[t]||c;return n.hasOwnProperty(e)?n[e]:[]}function h(e,t,n,o,r){const c=Object(s.create)({html:e,multilineTag:n.multilineTag,multilineWrapperTag:n.multilineWrapperTag}).text;return Object(i.flatMap)(r,e=>{const n=function(e,t){const n=t.getOriginal().replace(/(<([^>]+)>)/gi,""),i=t.getMarked().replace(/(<(?!\/?yoastmark)[^>]+>)/gi,""),s=function(e,t){let n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];const i=[];if(0===e.length)return i;let s,o=0;for(n||(t=t.toLowerCase(),e=e.toLowerCase());(s=e.indexOf(t,o))>-1;)i.push(s),o=s+t.length;return i}(e,n);if(0===s.length)return[];const o=function(e){let t=e.indexOf(a);const n=t>=0;n||(t=e.indexOf(''));let i=null;const s=[];for(;t>=0;){if(i=(e=n?e.replace(a,""):e.replace('',"")).indexOf(""),i",""),s.push({startOffset:t,endOffset:i}),t=n?e.indexOf(a):e.indexOf(''),i=null}return s}(i),r=[];return o.forEach(e=>{s.forEach(i=>{const s=i+e.startOffset;let o=i+e.endOffset;0===e.startOffset&&e.endOffset===t.getOriginal().length&&(o=i+n.length),r.push({startOffset:s,endOffset:o})})}),r}(c,e);return n?n.map(e=>({...e,block:o.clientId,richTextIdentifier:t})):[]})}function g(e,t,n){const s=e.key,{attributes:o}=t;return e.filter&&!e.filter(o)?[]:"yoast/faq-block"===t.name||"yoast/how-to-block"===t.name?function(e,t,n){const s=t.attributes[e.key];if("yoast/faq-block"===t.name&&0!==s.length){const o=s.map(i=>{const s=i.id+"-question",o=i.id+"-answer",a=h(i.jsonQuestion,s,e,t,n),r=h(i.jsonAnswer,o,e,t,n);return a.concat(r)});return Object(i.flatMap)(o)}if("yoast/how-to-block"===t.name&&0!==s.length){const o=s.map(i=>{const s=i.id+"-name",o=i.id+"-text",a=h(i.jsonName,s,e,t,n),r=h(i.jsonText,o,e,t,n);return a.concat(r)}),a=h(t.attributes.jsonDescription,"description",e,t,n);return Object(i.flatMap)(o.concat(a))}}(e,t,n):h(o[s],s,e,t,n)}function w(e){r=e.map(e=>({blockClientId:e.block,source:"yoast",richTextIdentifier:e.richTextIdentifier,range:{start:e.startOffset,end:e.endOffset}}))}function b(e){r=[],Object(o.dispatch)("core/annotations").__experimentalRemoveAnnotationsBySource("yoast");const t=function(e){return Object(i.uniq)(Object(i.flatten)(e.map(e=>{if(!Object(i.isUndefined)(e.getFieldsToMark()))return e.getFieldsToMark()})))}(e);if(0===e.length)return;let n=Object(o.select)("core/block-editor").getBlocks();t.length>0&&(n=n.filter(e=>t.some(t=>"core/"+t===e.name))),w(function e(t,n){return Object(i.flatMap)(t,t=>{const s=function(e){return e.innerBlocks.length>0}(t)?e(t.innerBlocks,n):[];return function(e,t){return Object(i.flatMap)(f(e.name),n=>g(n,e,t))}(t,n).concat(s)})}(n,e)),u()}function m(){const e=Object(o.select)("core/editor").getSelectedBlock(),t=Object(o.select)("yoast-seo/editor").getActiveMarker();if(!e||!t)return;var n;n=e.clientId,Object(o.select)("core/annotations").__experimentalGetAnnotations().filter(e=>e.blockClientId===n&&"yoast"===e.source).forEach(e=>{Object(o.dispatch)("core/annotations").__experimentalRemoveAnnotation(e.id)});const s=Object(o.select)("yoast-seo/editor").getResultById(t);if(void 0===s)return;const a=s.marks;w(Object(i.flatMap)(f(e.name),t=>g(t,e,a))),u()}},13:function(e,t){e.exports=window.yoast.reduxJsToolkit},131:function(e,t,n){"use strict";function i(e){let{alertKey:t}=e;return new Promise(e=>wpseoApi.post("alerts/dismiss",{key:t},()=>e()))}n.r(t),n.d(t,"DISMISS_ALERT",(function(){return i}))},137:function(e,t,n){"use strict";n.d(t,"a",(function(){return f})),n.d(t,"b",(function(){return h}));var i=n(5),s=n(38),o=n(4),a=n(14),r=n(94),c=n(58),d=n(69),l=n(96),u=n(51);const p=Object(o.debounce)((async function(e,t){const{text:n,...o}=t,r=new a.Paper(n,o);try{const t=await e.analyze(r),{seo:n,readability:o,inclusiveLanguage:a}=t.result;if(n){const e=n[""];e.results=Object(d.sortResultsByIdentifier)(e.results),Object(i.dispatch)("yoast-seo/editor").setSeoResultsForKeyword(r.getKeyword(),e.results),Object(i.dispatch)("yoast-seo/editor").setOverallSeoScore(e.score,r.getKeyword())}o&&(o.results=Object(d.sortResultsByIdentifier)(o.results),Object(i.dispatch)("yoast-seo/editor").setReadabilityResults(o.results),Object(i.dispatch)("yoast-seo/editor").setOverallReadabilityScore(o.score)),a&&(a.results=Object(d.sortResultsByIdentifier)(a.results),Object(i.dispatch)("yoast-seo/editor").setInclusiveLanguageResults(a.results),Object(i.dispatch)("yoast-seo/editor").setOverallInclusiveLanguageScore(a.score)),Object(s.doAction)("yoast.analysis.run",t,{paper:r})}catch(e){Object(c.a)()}}),r.refreshDelay);function f(){const{getAnalysisData:e,getEditorDataTitle:t}=Object(i.select)("yoast-seo/editor");let n=e();n={...n,textTitle:t()};const o=function(e){return e.title=Object(u.a)("data_page_title",e.title),e.title=Object(u.a)("title",e.title),e.description=Object(u.a)("data_meta_desc",e.description),e.text=Object(u.a)("content",e.text),e}(n);return Object(s.applyFilters)("yoast.analysis.data",o)}function h(){const{getAnalysisTimestamp:e,isCornerstoneContent:t}=Object(i.select)("yoast-seo/editor"),n=Object(l.a)();n.initialize(Object(l.b)({useCornerstone:t()})).catch(c.a);let s=f(),a=t(),r=e();return Object(i.subscribe)(()=>{const i=t(),d=f(),l=e();if(i!==a)return a=i,s=d,void n.initialize({useCornerstone:i}).then(()=>p(n,d)).catch(c.a);l===r&&!1!==Object(o.isEqual)(d,s)||(s=d,r=l,p(n,d))}),n}},14:function(e,t){e.exports=window.yoast.analysis},145:function(e,t){e.exports=window.wp.isShallowEqual},146:function(e,t,n){"use strict";var i=n(4),s=class{static isActive(){return!!document.getElementById("et_pb_main_editor_wrap")}static isTinyMCEHidden(){const e=document.getElementById("et_pb_main_editor_wrap");return!!e&&e.classList.contains("et_pb_hidden")}listen(e){this.classicEditorContainer=document.getElementById("et_pb_main_editor_wrap"),this.classicEditorContainer&&new MutationObserver(t=>{Object(i.forEach)(t,t=>{"attributes"===t.type&&"class"===t.attributeName&&(t.target.classList.contains("et_pb_hidden")?e.classicEditorHidden():e.classicEditorShown())})}).observe(this.classicEditorContainer,{attributes:!0})}};const o={classicEditorHidden:i.noop,classicEditorShown:i.noop,pageBuilderLoaded:i.noop};t.a=class{constructor(){this.determineActivePageBuilders()}determineActivePageBuilders(){s.isActive()&&(this.diviActive=!0),class{static isActive(){return!!window.VCV_I18N}}.isActive()&&(this.vcActive=!0)}isPageBuilderActive(){return this.diviActive||this.vcActive}listen(e){this.callbacks=Object(i.defaults)(e,o),this.diviActive&&(new s).listen(e)}isClassicEditorHidden(){return!(!this.diviActive||!s.isTinyMCEHidden())}}},15:function(e,t){e.exports=window.wp.url},16:function(e,t){e.exports=window.yoast.externals.redux},165:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var i=n(4),s=jQuery;function o(e,t,n,i,o){this._scriptUrl=i,this._options={usedKeywords:t.keyword_usage,usedKeywordsPostTypes:t.keyword_usage_post_types,searchUrl:t.search_url,postUrl:t.post_edit_url},this._keywordUsage=t.keyword_usage,this._usedKeywordsPostTypes=t.keyword_usage_post_types,this._postID=s("#post_ID, [name=tag_ID]").val(),this._taxonomy=s("[name=taxonomy]").val()||"",this._nonce=o,this._ajaxAction=e,this._refreshAnalysis=n,this._initialized=!1}o.prototype.init=function(){const{worker:e}=window.YoastSEO.analysis;this.requestKeywordUsage=Object(i.debounce)(this.requestKeywordUsage.bind(this),500),e.loadScript(this._scriptUrl).then(()=>{e.sendMessage("initialize",this._options,"used-keywords-assessment")}).then(()=>{this._initialized=!0,Object(i.isEqual)(this._options.usedKeywords,this._keywordUsage)?this._refreshAnalysis():e.sendMessage("updateKeywordUsage",this._keywordUsage,"used-keywords-assessment").then(()=>this._refreshAnalysis())}).catch(e=>console.error(e))},o.prototype.setKeyword=function(e){Object(i.has)(this._keywordUsage,e)||this.requestKeywordUsage(e)},o.prototype.requestKeywordUsage=function(e){s.post(ajaxurl,{action:this._ajaxAction,post_id:this._postID,keyword:e,taxonomy:this._taxonomy,nonce:this._nonce},this.updateKeywordUsage.bind(this,e),"json")},o.prototype.updateKeywordUsage=function(e,t){const{worker:n}=window.YoastSEO.analysis,s=t.keyword_usage,o=t.post_types;s&&Object(i.isArray)(s)&&(this._keywordUsage[e]=s,this._usedKeywordsPostTypes[e]=o,this._initialized&&n.sendMessage("updateKeywordUsage",{usedKeywords:this._keywordUsage,usedKeywordsPostTypes:this._usedKeywordsPostTypes},"used-keywords-assessment").then(()=>this._refreshAnalysis()))}},166:function(e,t,n){"use strict";var i=n(5),s=n(4),o=n(14),a=n(114),r=n(137);t.a=()=>{if(Object(i.select)("yoast-seo/editor").getPreference("isInsightsEnabled",!1))return Object(i.dispatch)("yoast-seo/editor").loadEstimatedReadingTime(),Object(i.subscribe)(Object(s.debounce)((()=>{const{getEditorDataContent:e,getContentLocale:t}=Object(i.select)("yoast-seo/editor"),n=Object(a.a)(e,t),c=(()=>{const{setEstimatedReadingTime:e,setFleschReadingEase:t,setTextLength:n}=Object(i.dispatch)("yoast-seo/editor"),a=Object(s.get)(window,"YoastSEO.analysis.worker.runResearch",s.noop);return()=>{const i=o.Paper.parse(Object(r.a)());a("readingTime",i).then(t=>e(t.result)),a("getFleschReadingScore",i).then(e=>{e.result&&t(e.result)}),a("wordCountInText",i).then(e=>n(e.result))}})();return setTimeout(c,1500),Object(a.b)(n,c)})(),1500,{maxWait:3e3}))}},168:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var i=n(1),s=n(4);function o(e){function t(){e("#copy-home-meta-description").on("click",(function(){e("#open_graph_frontpage_desc").val(e("#meta_description").val())}))}function n(){var t=e("#wpseo-conf");if(t.length){var n=t.attr("action").split("#")[0];t.attr("action",n+window.location.hash)}}function o(){var t=window.location.hash.replace("#top#","");-1!==t.search("#top")&&(t=window.location.hash.replace("#top%23","")),""!==t&&"#"!==t.charAt(0)||(t=e(".wpseotab").attr("id")),e("#"+t).addClass("active"),e("#"+t+"-tab").addClass("nav-tab-active").trigger("click")}function a(t){const n=e("#noindex-author-noposts-wpseo-container");t?n.show():n.hide()}e.fn._wpseoIsInViewport=function(){const t=e(this).offset().top,n=t+e(this).outerHeight(),i=e(window).scrollTop(),s=i+e(window).height();return t>i&&n{e(this).is(":checked")||a(!1)}),r.on("change",()=>{e(this).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(t){var n,s,o,a=!0;if(n=e(this),s=!!e("#first-time-configuration-tab").filter(".nav-tab-active").length,o=!!n.filter("#first-time-configuration-tab").length,s&&!o&&window.isStepBeingEdited&&(a=confirm(Object(i.__)("There are unsaved changes in one or more steps. Leaving means that those changes may not be saved. Are you sure you want to leave?","wordpress-seo"))),a){window.isStepBeingEdited=!1,e("#wpseo-tabs").find("a").removeClass("nav-tab-active"),e(".wpseotab").removeClass("active");var r=e(this).attr("id").replace("-tab",""),c=e("#"+r);c.addClass("active"),e(this).addClass("nav-tab-active"),c.hasClass("nosave")?e("#wpseo-submit-container").hide():e("#wpseo-submit-container").show(),e(window).trigger("yoast-seo-tab-change"),"first-time-configuration"===r?e("#yoast-first-time-configuration-notice").slideUp():e("#yoast-first-time-configuration-notice").slideDown()}else t.preventDefault(),e("#first-time-configuration-tab").trigger("focus")})),e("#yoast-first-time-configuration-notice a").on("click",(function(){e("#first-time-configuration-tab").click()})),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(".switch-yoast-seo input").on("keydown",(function(e){"keydown"===e.type&&13===e.which&&e.preventDefault()})),e("body").on("click","button.toggleable-container-trigger",t=>{const n=e(t.currentTarget),i=n.parent().siblings(".toggleable-container");i.toggleClass("toggleable-container-hidden"),n.attr("aria-expanded",!i.hasClass("toggleable-container-hidden")).find("span").toggleClass("dashicons-arrow-up-alt2 dashicons-arrow-down-alt2")});const d=e("#opengraph"),l=e("#wpseo-opengraph-settings");d.length&&l.length&&(l.toggle(d[0].checked),d.on("change",e=>{l.toggle(e.target.checked)})),t(),o(),function(){if(!e("#enable_xml_sitemap input[type=radio]").length)return;const 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(){const t=e("#wpseo-submit-container-float"),n=e("#wpseo-submit-container-fixed");if(!t.length||!n.length)return;function i(){t._wpseoIsInViewport()?n.hide():n.show()}e(window).on("resize scroll",Object(s.debounce)(i,100)),e(window).on("yoast-seo-tab-change",i);const o=e(".wpseo-message");o.length&&window.setTimeout(()=>{o.fadeOut()},5e3),i()}(),"undefined"!=typeof ClipboardJS&&new ClipboardJS("#copy-zapier-api-key").on("success",(function(t){t.clearSelection(),e(t.trigger).trigger("focus")}))}))}},169:function(e,t,n){"use strict";function i(e){e(document).ready((function(e){void 0!==wp.media&&e(".wpseo_image_upload_button").each((function(t,n){const i=function(t){let n=(t=e(t)).data("target");return n&&""!==n||(n=e(t).attr("id").replace(/_button$/,"")),n}(n),s=e(n).data("target-id"),o=e("#"+i),a=e("#"+s);var r=wp.media.frames.file_frame=wp.media({title:wpseoScriptData.media.choose_image,button:{text:wpseoScriptData.media.choose_image},multiple:!1,library:{type:"image"}});r.on("select",(function(){var e=r.state().get("selection").first().toJSON();o.val(e.url),a.val(e.id)}));const c=e(n);c.click((function(e){e.preventDefault(),r.open()})),c.siblings(".wpseo_image_remove_button").on("click",e=>{e.preventDefault(),o.val(""),a.val("")})}))}))}n.d(t,"a",(function(){return i}))},17:function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var i=n(4);function s(){return Object(i.get)(window,"wpseoScriptData.metabox",{intl:{},isRtl:!1})}},174:function(e,t,n){"use strict";n.r(t),n.d(t,"wistiaEmbedPermission",(function(){return a})),n.d(t,"DISMISS_ALERT",(function(){return s.DISMISS_ALERT})),n.d(t,"SNIPPET_EDITOR_FIND_CUSTOM_FIELDS",(function(){return o}));var i=n(24),s=n(131);function o(e){let{query:t,postId:n}=e;return new Promise(e=>{wpseoApi.get("meta/search",{query:t,post_id:n},t=>{e(t.meta)})})}const a=i.s[i.d]},189:function(e,t,n){"use strict";var i=n(190),s=n(16),o=n(4),a=n(90),r=n(30);const{removeReplacementVariable:c,updateReplacementVariable:d,refreshSnippetEditor:l}=s.actions;var u=["content","title","snippet_title","snippet_meta","primary_category","data_page_title","data_meta_desc","excerpt"],p={},f={},h=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()};h.prototype.registerReplacements=function(){this.addReplacement(new r.a("%%author_first_name%%","author_first_name")),this.addReplacement(new r.a("%%author_last_name%%","author_last_name")),this.addReplacement(new r.a("%%category%%","category")),this.addReplacement(new r.a("%%category_title%%","category_title")),this.addReplacement(new r.a("%%currentdate%%","currentdate")),this.addReplacement(new r.a("%%currentday%%","currentday")),this.addReplacement(new r.a("%%currentmonth%%","currentmonth")),this.addReplacement(new r.a("%%currenttime%%","currenttime")),this.addReplacement(new r.a("%%currentyear%%","currentyear")),this.addReplacement(new r.a("%%date%%","date")),this.addReplacement(new r.a("%%id%%","id")),this.addReplacement(new r.a("%%page%%","page")),this.addReplacement(new r.a("%%permalink%%","permalink")),this.addReplacement(new r.a("%%post_content%%","post_content")),this.addReplacement(new r.a("%%post_month%%","post_month")),this.addReplacement(new r.a("%%post_year%%","post_year")),this.addReplacement(new r.a("%%searchphrase%%","searchphrase")),this.addReplacement(new r.a("%%sitedesc%%","sitedesc")),this.addReplacement(new r.a("%%sitename%%","sitename")),this.addReplacement(new r.a("%%userid%%","userid")),this.addReplacement(new r.a("%%focuskw%%","keyword",{source:"app",aliases:["%%keyword%%"]})),this.addReplacement(new r.a("%%term_description%%","text",{source:"app",scope:["term","category","tag"],aliases:["%%tag_description%%","%%category_description%%"]})),this.addReplacement(new r.a("%%term_title%%","term_title",{scope:["term"]})),this.addReplacement(new r.a("%%term_hierarchy%%","term_hierarchy",{scope:["term"]})),this.addReplacement(new r.a("%%title%%","title",{source:"app",scope:["post","term","page"]})),this.addReplacement(new r.a("%%parent_title%%","title",{source:"app",scope:["page","category"]})),this.addReplacement(new r.a("%%excerpt%%","excerpt",{source:"app",scope:["post"],aliases:["%%excerpt_only%%"]})),this.addReplacement(new r.a("%%primary_category%%","primaryCategory",{source:"app",scope:["post"]})),this.addReplacement(new r.a("%%sep%%(\\s*%%sep%%)*","sep"))},h.prototype.registerEvents=function(){const 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))},h.prototype.subscribeToGutenberg=function(){if(!Object(a.a)())return;const e={0:""};let t=null;const n=wp.data;n.subscribe(()=>{const s=n.select("core/editor").getEditedPostAttribute("parent");if(void 0!==s&&t!==s)return t=s,s<1?(this._currentParentPageTitle="",void this.declareReloaded()):Object(o.isUndefined)(e[s])?void i.loadPromise.done(()=>{new i.models.Page({id:s}).fetch().then(t=>{this._currentParentPageTitle=t.title.rendered,e[s]=this._currentParentPageTitle,this.declareReloaded()}).fail(()=>{this._currentParentPageTitle="",this.declareReloaded()})}):(this._currentParentPageTitle=e[s],void this.declareReloaded())})},h.prototype.addReplacement=function(e){p[e.placeholder]=e},h.prototype.removeReplacement=function(e){delete p[e.getPlaceholder()]},h.prototype.registerModifications=function(){var e=this.replaceVariables.bind(this);Object(o.forEach)(u,function(t){this._app.registerModification(t,e,"replaceVariablePlugin",10)}.bind(this))},h.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},h.prototype.replaceByStore=function(e){const t=this._store.getState().snippetEditor.replacementVariables;return Object(o.forEach)(t,t=>{""!==t.value&&(e=e.replace("%%"+t.name+"%%",t.value))}),e},h.prototype.getReplacementSource=function(e){return"app"===e.source?this._app.rawData:"direct"===e.source?"direct":wpseoScriptData.analysis.plugins.replaceVars.replace_vars},h.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]||""},h.prototype.replacePlaceholders=function(e){return Object(o.forEach)(p,function(t){e=e.replace(new RegExp(t.getPlaceholder(!0),"g"),this.getReplacement(t))}.bind(this)),e},h.prototype.declareReloaded=function(){this._app.pluginReloaded("replaceVariablePlugin"),this._store.dispatch(l())},h.prototype.getCategoryName=function(e){var t=e.parent("label").clone();return t.children().remove(),t.text().trim()},h.prototype.parseTaxonomies=function(e,t){Object(o.isUndefined)(f[t])&&(f[t]={});const n=[];Object(o.forEach)(e,function(e){const i=(e=jQuery(e)).val(),s=this.getCategoryName(e),o=e.prop("checked");f[t][i]={label:s,checked:o},o&&-1===n.indexOf(s)&&n.push(s)}.bind(this)),"category"!==t&&(t="ct_"+t),this._store.dispatch(d(t,n.join(", ")))},h.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()},h.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)},h.prototype.replaceCustomTaxonomy=function(e){return Object(o.forEach)(f,function(t,n){var i="%%ct_"+n+"%%";"category"===n&&(i="%%"+n+"%%"),e=e.replace(i,this.getTaxonomyReplaceVar(n))}.bind(this)),e},h.prototype.getTaxonomyReplaceVar=function(e){var t=[],n=f[e];return!0===Object(o.isUndefined)(n)?"":(Object(o.forEach)(n,(function(e){!1!==e.checked&&t.push(e.label)})),jQuery.uniqueSort(t).join(", "))},h.prototype.parseFields=function(e){jQuery(e).each(function(e,t){var n=jQuery("#"+t.id+"-key").val(),i=jQuery("#"+t.id+"-value").val();const s="cf_"+this.sanitizeCustomFieldNames(n),o=n+" (custom field)";this._store.dispatch(d(s,i,o)),this.addReplacement(new r.a(`%%${s}%%`,i,{source:"direct"}))}.bind(this))},h.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))},h.prototype.sanitizeCustomFieldNames=function(e){return e.replace(/\s/g,"_")},h.prototype.getAvailableFields=function(e){this.removeCustomFields();var t=jQuery(e).find("#the-list > tr:visible[id]");t.length>0&&this.parseFields(t),this.declareReloaded()},h.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)},h.prototype.removeCustomFields=function(){var e=Object(o.filter)(p,(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))},h.prototype.parentReplace=function(e){const 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},h.prototype.hasParentTitle=function(e){return!Object(o.isUndefined)(e)&&!Object(o.isUndefined)(e.prop("options"))},h.prototype.getParentTitleReplacement=function(e){var t=e.find("option:selected").text();return t===wpseoScriptData.analysis.plugins.replaceVars.no_parent_text?"":t},h.ReplaceVar=r.a,t.a=h},190:function(e,t){e.exports=window.wp.api},191:function(e,t,n){"use strict";var i=n(16),s=n(4),o=n(14);t.a=function(e,t,n){e("morphology",new o.Paper("",{keyword:n})).then(e=>{const n=e.result.keyphraseForms;t.dispatch(i.actions.updateWordsToHighlight(Object(s.uniq)(Object(s.flatten)(n))))}).catch(()=>{t.dispatch(i.actions.updateWordsToHighlight([]))})}},195:function(e,t,n){"use strict";n.d(t,"a",(function(){return d}));var i=n(4),s=n(5),o=n(45),a=n(95),r=n(125);function c(e,t){let n;o.isTinyMCEAvailable(o.tmceId)&&(Object(i.isUndefined)(n)&&(n=Object(a.c)(tinyMCE.get(o.tmceId))),n(e,t)),Object(r.b)()&&(function(e,t){tinyMCE.editors.map(e=>Object(a.c)(e)).forEach(n=>n(e,t))}(e,t),Object(r.a)(t))}function d(){const e=Object(s.select)("yoast-seo/editor").isMarkingAvailable(),t=Object(s.select)("yoast-seo/editor").getMarkerPauseStatus();return!e||t?i.noop:c}},197:function(e,t){e.exports=window.wp.annotations},206:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var i=n(5),s=n(16),o=n(4),a=n(174);function r(){const e=Object(i.registerStore)("yoast-seo/editor",{reducer:Object(i.combineReducers)(s.reducers),selectors:s.selectors,actions:Object(o.pickBy)(s.actions,e=>"function"==typeof e),controls:a});return(e=>{e.dispatch(s.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(s.actions.setSEMrushChangeCountry(window.wpseoScriptData.metabox.countryCode)),e.dispatch(s.actions.setSEMrushLoginStatus(window.wpseoScriptData.metabox.SEMrushLoginStatus)),e.dispatch(s.actions.setWincherLoginStatus(window.wpseoScriptData.metabox.wincherLoginStatus,!1)),e.dispatch(s.actions.setWincherWebsiteId(window.wpseoScriptData.metabox.wincherWebsiteId)),e.dispatch(s.actions.setWincherAutomaticKeyphaseTracking(window.wpseoScriptData.metabox.wincherAutoAddKeyphrases)),e.dispatch(s.actions.setDismissedAlerts(Object(o.get)(window,"wpseoScriptData.dismissedAlerts",{}))),e.dispatch(s.actions.setIsPremium(Boolean(Object(o.get)(window,"wpseoScriptData.metabox.isPremium",!1)))),e.dispatch(s.actions.setPostId(Number(Object(o.get)(window,"wpseoScriptData.postId",null)))),e.dispatch(s.actions.setLinkParams(Object(o.get)(window,"wpseoScriptData.linkParams",{}))),e.dispatch(s.actions.setPluginUrl(Object(o.get)(window,"wpseoScriptData.pluginUrl",""))),e.dispatch(s.actions.setWistiaEmbedPermissionValue("1"===Object(o.get)(window,"wpseoScriptData.wistiaEmbedPermission",!1)))})(e),e}},207:function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var i=n(4);class s{constructor(){this._callbacks=[],this.register=this.register.bind(this)}register(e){Object(i.isFunction)(e)&&this._callbacks.push(e)}getData(){let e={};return this._callbacks.forEach(t=>{e=Object(i.merge)(e,t())}),e}}},208:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var i=n(4),s=n(17),o=n(165);function a(e,t,n){const a=Object(s.a)();if(!a.previouslyUsedKeywordActive)return;const r=Object(i.get)(window,["wpseoScriptData","analysis","worker","keywords_assessment_url"],"used-keywords-assessment.js"),c=Object(i.get)(window,["wpseoScriptData","usedKeywordsNonce"],""),d=new o.a(t,a,e,r,c);d.init();let l={};n.subscribe(()=>{const e=n.getState()||{};e.focusKeyword!==l.focusKeyword&&(l=e,d.setKeyword(e.focusKeyword))})}},21:function(e,t){e.exports=window.jQuery},213:function(e,t,n){"use strict";function i(e){function t(e){e&&(e.focus(),e.click())}function n(){if(e(".wpseo-meta-section").length>0){const t=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"),t.on("click",(function(n){var i=e(this).attr("id"),s=e(this).attr("href"),o=e(s);n.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"===s&&e(".wpseo-meta-section-react").addClass("active"),o.addClass("active"),e(this).parent("li").addClass("active").find("[role='tab']").addClass("yoast-active-tab");const a=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return new CustomEvent(e,{detail:t})}("YoastSEO:metaTabChange",{metaTabId:i});window.dispatchEvent(a),this&&(function(e){e.attr({"aria-selected":"false",tabIndex:"-1"})}(t),this.removeAttribute("tabindex"),this.setAttribute("aria-selected","true"))}))}}window.wpseoInitTabs=n,window.wpseo_init_tabs=n,e(".wpseo-meta-section").each((function(t,n){e(n).find(".wpseotab:first").addClass("active")})),window.wpseo_init_tabs(),function(){const n=e(".yoast-aria-tabs"),i=n.find("[role='tab']"),s=n.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"===s&&-1!==[38,40].indexOf(n.which)||"vertical"===s&&-1!==[37,39].indexOf(n.which)||function(n,i){const s=n.which,o=i.index(e(n.target));switch(s){case 32:n.preventDefault(),t(i[o]);break;case 35:n.preventDefault(),t(i[i.length-1]);break;case 36:n.preventDefault(),t(i[0]);break;case 37:case 38:n.preventDefault(),t(i[o-1<0?i.length-1:o-1]);break;case 39:case 40:n.preventDefault(),t(i[o+1===i.length?0:o+1])}}(n,i))}))}()}n.d(t,"a",(function(){return i}))},215:function(e,t,n){"use strict";n.d(t,"a",(function(){return d}));var i=n(38),s=n(4),o=n(100),a=n(65),r=n(17),c=n(14);function d(e,t,n,d,l){const u=Object(s.cloneDeep)(t.getState());Object(s.merge)(u,n.getData());const p=e.getData();let f=null;l&&(f=l.getBlocks(),f=f.map(e=>function e(t){const n={attributes:{}};return["level","content","alt"].forEach(e=>{t.attributes[e]&&(n.attributes[e]=t.attributes[e])}),n.name=t.name,n.clientId=t.clientId,n.innerBlocks=t.innerBlocks.map(t=>e(t)),n}(e)));const h={text:p.content,textTitle:p.title,keyword:u.focusKeyword,synonyms:u.synonyms,description:u.analysisData.snippet.description||u.snippetEditor.data.description,title:u.analysisData.snippet.title||u.snippetEditor.data.title,slug:u.snippetEditor.data.slug,permalink:u.settings.snippetEditor.baseUrl+u.snippetEditor.data.slug,wpBlocks:f,date:u.settings.snippetEditor.date};d.loaded&&(h.title=d._applyModifications("data_page_title",h.title),h.title=d._applyModifications("title",h.title),h.description=d._applyModifications("data_meta_desc",h.description),h.text=d._applyModifications("content",h.text),h.wpBlocks=d._applyModifications("wpBlocks",h.wpBlocks));const g=u.analysisData.snippet.filteredSEOTitle;return h.titleWidth=Object(o.a)(g||u.snippetEditor.data.title),h.locale=Object(a.a)(),h.writingDirection=function(){let e="LTR";return Object(r.a)().isRtl&&(e="RTL"),e}(),c.Paper.parse(Object(i.applyFilters)("yoast.analysis.data",h))}},24:function(e,t,n){"use strict";n.d(t,"a",(function(){return a})),n.d(t,"e",(function(){return c})),n.d(t,"k",(function(){return d})),n.d(t,"i",(function(){return l})),n.d(t,"j",(function(){return u})),n.d(t,"b",(function(){return p})),n.d(t,"f",(function(){return h})),n.d(t,"n",(function(){return g})),n.d(t,"l",(function(){return w})),n.d(t,"m",(function(){return b})),n.d(t,"c",(function(){return m})),n.d(t,"g",(function(){return O})),n.d(t,"q",(function(){return v})),n.d(t,"o",(function(){return _})),n.d(t,"p",(function(){return j})),n.d(t,"d",(function(){return x})),n.d(t,"h",(function(){return R})),n.d(t,"u",(function(){return A})),n.d(t,"r",(function(){return P})),n.d(t,"s",(function(){return C})),n.d(t,"t",(function(){return I}));var i=n(13),s=n(15),o=n(4);const a="linkParams",r=Object(i.createSlice)({name:a,initialState:{},reducers:{setLinkParams:(e,t)=>{let{payload:n}=t;return n}}}),c=r.getInitialState,d={selectLinkParam:function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return Object(o.get)(e,`${a}.${t}`,n)},selectLinkParams:e=>Object(o.get)(e,a,{})};d.selectLink=Object(i.createSelector)([d.selectLinkParams,(e,t)=>t],(e,t)=>Object(s.addQueryArgs)(t,e));const l=r.actions,u=r.reducer,p="notifications",f=Object(i.createSlice)({name:p,initialState:{},reducers:{addNotification:{reducer:(e,t)=>{let{payload:n}=t;e[n.id]={id:n.id,variant:n.variant,size:n.size,title:n.title,description:n.description}},prepare:e=>{let{id:t,variant:n="info",size:s="default",title:o,description:a}=e;return{payload:{id:t||Object(i.nanoid)(),variant:n,size:s,title:o||"",description:a}}}},removeNotification:(e,t)=>{let{payload:n}=t;return Object(o.omit)(e,n)}}}),h=f.getInitialState,g={selectNotifications:e=>Object(o.get)(e,p,{}),selectNotification:(e,t)=>Object(o.get)(e,[p,t],null)},w=f.actions,b=f.reducer,m="pluginUrl",y=Object(i.createSlice)({name:m,initialState:"",reducers:{setPluginUrl:(e,t)=>{let{payload:n}=t;return n}}}),O=y.getInitialState,v={selectPluginUrl:e=>Object(o.get)(e,m,"")};v.selectImageLink=Object(i.createSelector)([v.selectPluginUrl,function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"images";return n},(e,t)=>t],(e,t,n)=>[Object(o.trimEnd)(e,"/"),Object(o.trim)(t,"/"),Object(o.trimStart)(n,"/")].join("/"));const _=y.actions,j=y.reducer;var S=n(25),E=n.n(S),k=n(10);const x="wistiaEmbedPermission",T=Object(i.createSlice)({name:x,initialState:{value:!1,status:k.b.idle,error:{}},reducers:{setWistiaEmbedPermissionValue:(e,t)=>{let{payload:n}=t;e.value=Boolean(n)}},extraReducers:e=>{e.addCase(`${x}/${k.a.request}`,e=>{e.status=k.b.loading}),e.addCase(`${x}/${k.a.success}`,(e,t)=>{let{payload:n}=t;e.status=k.b.success,e.value=Boolean(n.value)}),e.addCase(`${x}/${k.a.error}`,(e,t)=>{var n,i;let{payload:s}=t;console.error(`${null===(n=s.error)||void 0===n?void 0:n.code}: ${null===(i=s.error)||void 0===i?void 0:i.message}`),e.status=k.b.error,e.value=Boolean(s.value),e.error=s.error})}}),R=T.getInitialState,A={selectWistiaEmbedPermission:e=>Object(o.get)(e,x,{value:!1,status:k.b.idle}),selectWistiaEmbedPermissionValue:e=>Object(o.get)(e,[x,"value"],!1),selectWistiaEmbedPermissionStatus:e=>Object(o.get)(e,[x,"status"],k.b.idle),selectWistiaEmbedPermissionError:e=>Object(o.get)(e,[x,"error"],{})},P={...T.actions,setWistiaEmbedPermission:function*(e){yield{type:`${x}/${k.a.request}`};try{return yield{type:x,payload:e},{type:`${x}/${k.a.success}`,payload:{value:e}}}catch(t){return{type:`${x}/${k.a.error}`,payload:{error:t,value:e}}}}},C={[x]:async e=>{let{payload:t=!0}=e;return E()({path:"/yoast/v1/wistia_embed_permission",method:"POST",data:{value:t}})}},I=T.reducer},25:function(e,t){e.exports=window.wp.apiFetch},30:function(e,t,n){"use strict";var i=n(4),s={source:"wpseoScriptData.analysis.plugins.replaceVars",scope:[],aliases:[]},o=function(e,t,n){this.placeholder=e,this.replacement=t,this.options=Object(i.defaults)(n,s)};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(i.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(i.indexOf)(this.options.scope,e)>-1},o.prototype.hasAlias=function(){return!Object(i.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},303:function(e,t,n){"use strict";n.r(t);var i=n(52),s=n.n(i),o=n(21),a=n.n(o),r=n(4),c=n(168),d=n(169),l=n(206),u=n(213),p=n(14),f=n(145),h=n(45),g=n(122),w=n(191),b=n(189),m=n(91),y=n(84),O=n(96),v=n(69),_=n(215),j=n(44),S=n(123),E=n(55),k=n(68),x=n(120),T=n(100);const R=jQuery;var A=function(e){"object"==typeof CKEDITOR&&console.warn("YoastSEO currently doesn't support ckEditor. The content analysis currently only works with the HTML editor or TinyMCE."),this._store=e.store};A.prototype.getData=function(){const e={title:this.getTitle(),keyword:Object(E.a)()?this.getKeyword():"",text:this.getText(),meta:this.getMeta(),url:this.getUrl(),permalink:this.getPermalink(),snippetCite:this.getSnippetCite(),snippetTitle:this.getSnippetTitle(),snippetMeta:this.getSnippetMeta(),name:this.getName(),baseUrl:this.getBaseUrl(),pageTitle:this.getPageTitle(),titleWidth:Object(T.a)(this.getTitle())},t=this._store.getState();return{...e,metaTitle:Object(r.get)(t,["analysisData","snippet","title"],this.getSnippetTitle()),url:Object(r.get)(t,["snippetEditor","data","slug"],this.getUrl()),meta:Object(r.get)(t,["analysisData","snippet","description"],this.getSnippetMeta())}},A.prototype.getTitle=function(){return document.getElementById("hidden_wpseo_title").value},A.prototype.getKeyword=function(){var e,t;return""===(t=(e=document.getElementById("hidden_wpseo_focuskw")).value)&&(t=document.getElementById("name").value,e.placeholder=t),t},A.prototype.getText=function(){return h.getContentTinyMce(h.termsTmceId)},A.prototype.getMeta=function(){var e="",t=document.getElementById("hidden_wpseo_desc");return null!==t&&(e=t.value),e},A.prototype.getUrl=function(){return document.getElementById("slug").value},A.prototype.getPermalink=function(){var e=this.getUrl();return this.getBaseUrl()+e+"/"},A.prototype.getSnippetCite=function(){return this.getUrl()},A.prototype.getSnippetTitle=function(){return document.getElementById("hidden_wpseo_title").value},A.prototype.getSnippetMeta=function(){var e="",t=document.getElementById("hidden_wpseo_desc");return null!==t&&(e=t.value),e},A.prototype.getName=function(){return document.getElementById("name").value},A.prototype.getBaseUrl=function(){return wpseoScriptData.metabox.base_url},A.prototype.getPageTitle=function(){return document.getElementById("hidden_wpseo_title").value},A.prototype.setDataFromSnippet=function(e,t){switch(t){case"snippet_meta":document.getElementById("hidden_wpseo_desc").value=e;break;case"snippet_cite":document.getElementById("slug").value=e;break;case"snippet_title":document.getElementById("hidden_wpseo_title").value=e}},A.prototype.saveSnippetData=function(e){this.setDataFromSnippet(e.title,"snippet_title"),this.setDataFromSnippet(e.urlPath,"snippet_cite"),this.setDataFromSnippet(e.metaDesc,"snippet_meta")},A.prototype.bindElementEvents=function(e){this.inputElementEventBinder(e)},A.prototype.inputElementEventBinder=function(e){for(var t=["name",h.termsTmceId,"slug","wpseo_focuskw"],n=0;nObject(_.a)(n,window.YoastSEO.store,o,window.YoastSEO.app.pluggable),window.YoastSEO.analysis.applyMarks=(e,t)=>Object(I.a)()(e,t),window.YoastSEO.app.refresh=Object(r.debounce)(()=>Object(v.default)(window.YoastSEO.analysis.worker,window.YoastSEO.analysis.collectData,window.YoastSEO.analysis.applyMarks,window.YoastSEO.store,u),D.refreshDelay),window.YoastSEO.app.registerCustomDataCallback=o.register,window.YoastSEO.app.pluggable=new g.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=(e,t,n)=>{if(!Object(r.isUndefined)(i.seoAssessor))return window.YoastSEO.app.pluggable._registerAssessment(i.defaultSeoAssessor,e,t,n)&&window.YoastSEO.app.pluggable._registerAssessment(i.cornerStoneSeoAssessor,e,t,n)},window.YoastSEO.app.changeAssessorOptions=function(e){window.YoastSEO.analysis.worker.initialize(e).catch(M.a),window.YoastSEO.app.refresh()},Object(B.a)(i.refresh,"get_term_keyword_usage",t),t.subscribe(l.bind(null,t,i.refresh)),Object(E.a)()&&(i.seoAssessor=new p.TaxonomyAssessor(i.config.researcher),i.seoAssessorPresenter.assessor=i.seoAssessor),window.YoastSEO.wp={},window.YoastSEO.wp.replaceVarsPlugin=new b.a(i,t),window.YoastSEO.analyzerArgs=d,(s=e("#slug")).on("change",a),u.bindElementEvents(Object(r.debounce)(()=>Object(v.default)(window.YoastSEO.analysis.worker,window.YoastSEO.analysis.collectData,window.YoastSEO.analysis.applyMarks,window.YoastSEO.store,u),D.refreshDelay)),Object(E.a)()&&(Q=e("#hidden_wpseo_linkdex").val(),H=Object(j.a)(Q),Object(m.a)(H),Object(y.a)(H)),Object(k.a)()&&function(){var t=e("#hidden_wpseo_content_score").val(),n=Object(j.a)(t);Object(m.a)(n),Object(y.a)(n)}(),Object(F.a)()&&function(){const t=e("#hidden_wpseo_inclusive_language_score").val(),n=Object(j.a)(t);Object(m.a)(n),Object(y.a)(n)}(),window.YoastSEO.analysis.worker.initialize(Object(O.b)({useTaxonomy:!0})).then(()=>{jQuery(window).trigger("YoastSEO:ready")}).catch(M.a),c(i);const $=i.initAssessorPresenters.bind(i);i.initAssessorPresenters=function(){$(),c(i)};let G=Object(x.a)(u);!function(e){const n=document.getElementById("hidden_wpseo_is_cornerstone");let i="1"===n.value;t.dispatch(N(i)),e.changeAssessorOptions({useCornerstone:i}),t.subscribe(()=>{const s=t.getState();s.isCornerstone!==i&&(i=s.isCornerstone,n.value=i?"1":"0",e.changeAssessorOptions({useCornerstone:i}))})}(i);const J=Object(x.e)(wpseoScriptData.metabox);G=Object(x.c)(G,J),t.dispatch(Y(G));let X=t.getState().focusKeyword;Object(w.a)(window.YoastSEO.analysis.worker.runResearch,window.YoastSEO.store,X);const Z=Object(r.debounce)(()=>{i.refresh()},50);t.subscribe(()=>{const e=t.getState().focusKeyword;X!==e&&(X=e,Object(w.a)(window.YoastSEO.analysis.worker.runResearch,window.YoastSEO.store,X),document.getElementById("hidden_wpseo_focuskw").value=X,Z());const n=Object(x.b)(t),i=Object(x.d)(n,J);G.title!==n.title&&u.setDataFromSnippet(i.title,"snippet_title"),G.slug!==n.slug&&u.setDataFromSnippet(i.slug,"snippet_cite"),G.description!==n.description&&u.setDataFromSnippet(i.description,"snippet_meta"),G.title=n.title,G.slug=n.slug,G.description=n.description}),Object(v.initializationDone)(),window.YoastSEO.app.refresh()}()}window.yoastHideMarkers=!0,window.YoastReplaceVarPlugin=b.a;var Q=n(166);s()(()=>{window.wpseoTermScraperL10n=window.wpseoScriptData.metabox,Object(c.a)(a.a),Object(u.a)(a.a);const e=Object(l.a)();window.yoast.initEditorIntegration(e);const t=new window.yoast.EditorData(r.noop,e,h.termsTmceId);t.initialize(window.wpseoScriptData.analysis.plugins.replaceVars.replace_vars),W(a.a,e,t),Object(d.a)(a.a),Object(Q.a)()})},38:function(e,t){e.exports=window.wp.hooks},4:function(e,t){e.exports=window.lodash},44:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var i=n(1),s=n(14),o=n(4);function a(e){return Object(o.isNil)(e)||(e/=10),function(e){switch(e){case"feedback":return{className:"na",screenReaderText:Object(i.__)("Feedback","wordpress-seo"),screenReaderReadabilityText:"",screenReaderInclusiveLanguageText:""};case"bad":return{className:"bad",screenReaderText:Object(i.__)("Needs improvement","wordpress-seo"),screenReaderReadabilityText:Object(i.__)("Needs improvement","wordpress-seo"),screenReaderInclusiveLanguageText:Object(i.__)("Needs improvement","wordpress-seo")};case"ok":return{className:"ok",screenReaderText:Object(i.__)("OK SEO score","wordpress-seo"),screenReaderReadabilityText:Object(i.__)("OK","wordpress-seo"),screenReaderInclusiveLanguageText:Object(i.__)("Potentially non-inclusive","wordpress-seo")};case"good":return{className:"good",screenReaderText:Object(i.__)("Good SEO score","wordpress-seo"),screenReaderReadabilityText:Object(i.__)("Good","wordpress-seo"),screenReaderInclusiveLanguageText:Object(i.__)("Good","wordpress-seo")};default:return{className:"loading",screenReaderText:"",screenReaderReadabilityText:"",screenReaderInclusiveLanguageText:""}}}(s.interpreters.scoreToRating(e))}},45:function(e,t,n){"use strict";n.r(t),n.d(t,"tmceId",(function(){return c})),n.d(t,"termsTmceId",(function(){return d})),n.d(t,"setStore",(function(){return l})),n.d(t,"isTinyMCELoaded",(function(){return u})),n.d(t,"isTinyMCEAvailable",(function(){return p})),n.d(t,"getContentTinyMce",(function(){return f})),n.d(t,"addEventHandler",(function(){return h})),n.d(t,"disableMarkerButtons",(function(){return g})),n.d(t,"enableMarkerButtons",(function(){return w})),n.d(t,"pauseMarkers",(function(){return b})),n.d(t,"resumeMarkers",(function(){return m})),n.d(t,"isTextViewActive",(function(){return y})),n.d(t,"wpTextViewOnInitCheck",(function(){return O})),n.d(t,"tinyMceEventBinder",(function(){return v}));var i=n(4),s=n(95),o=n(146),a=n(16);let r;var c="content",d="description";function l(e){r=e}function u(){return"undefined"!=typeof tinyMCE&&void 0!==tinyMCE.editors&&0!==tinyMCE.editors.length}function p(e){if(!u())return!1;var t=tinyMCE.get(e);return null!==t&&!t.isHidden()}function f(e){var t,n,i;return n=!1===p(e)||0==(t=e,null!==document.getElementById(t+"_ifr"))?function(e){return document.getElementById(e)&&document.getElementById(e).value||""}(e):tinyMCE.get(e).getContent(),i=new RegExp("&","g"),n.replace(i,"&")}function h(e,t,n){"undefined"!=typeof tinyMCE&&"function"==typeof tinyMCE.on&&tinyMCE.on("addEditor",(function(s){var o=s.editor;o.id===e&&Object(i.forEach)(t,(function(e){o.on(e,n)}))}))}function g(){Object(i.isUndefined)(r)||r.dispatch(a.actions.setMarkerStatus("disabled"))}function w(){Object(i.isUndefined)(r)||r.dispatch(a.actions.setMarkerStatus("enabled"))}function b(){Object(i.isUndefined)(r)||r.dispatch(a.actions.setMarkerPauseStatus(!0))}function m(){Object(i.isUndefined)(r)||r.dispatch(a.actions.setMarkerPauseStatus(!1))}function y(){const e=document.getElementById("wp-content-wrap");return!!e&&e.classList.contains("html-active")}function O(){y()&&(g(),u()&&tinyMCE.on("AddEditor",(function(){w()})))}function v(e,t){h(t,["input","change","cut","paste"],e),h(t,["hide"],g);const n=["show"];(new o.a).isPageBuilderActive()||n.push("init"),h(t,n,w),h("content",["focus"],(function(e){const t=e.target;Object(s.a)(t)&&(Object(s.b)(t),YoastSEO.app.disableMarkers()),b()})),h("content",["blur"],(function(){m()}))}},5:function(e,t){e.exports=window.wp.data},51:function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"c",(function(){return c})),n.d(t,"d",(function(){return d})),n.d(t,"e",(function(){return l})),n.d(t,"a",(function(){return u}));var i=n(5),s=n(122);let o=null;const a=()=>{if(null===o){const e=Object(i.dispatch)("yoast-seo/editor").runAnalysis;o=new s.a(e)}return o},r=e=>a()._ready(e),c=e=>a()._reloaded(e),d=(e,t,n,i)=>a()._registerModification(e,t,n,i),l=(e,t)=>a()._registerPlugin(e,t),u=(e,t,n)=>a().loaded?a()._applyModifications(e,t,n):t},52:function(e,t){e.exports=window.wp.domReady},55:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var i=n(17),s=n(4);function o(){const e=Object(i.a)();return 1===Object(s.get)(e,"keywordAnalysisActive",0)}},58:function(e,t,n){"use strict";function i(){}n.d(t,"a",(function(){return i}))},65:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var i=n(4),s=n(17);function o(){const e=Object(s.a)();return Object(i.get)(e,"contentLocale","en_US")}},68:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var i=n(17),s=n(4);function o(){const e=Object(i.a)();return 1===Object(s.get)(e,"contentAnalysisActive",0)}},69:function(e,t,n){"use strict";n.r(t),n.d(t,"sortResultsByIdentifier",(function(){return c})),n.d(t,"default",(function(){return d})),n.d(t,"initializationDone",(function(){return l}));var i=n(38),s=n(16),o=n(14),a=n(58);let r=!1;function c(e){return e.sort((e,t)=>e._identifier.localeCompare(t._identifier))}function d(e,t,n,d,l){if(!r)return;const u=o.Paper.parse(t());e.analyze(u).then(o=>{const{result:{seo:a,readability:r,inclusiveLanguage:p}}=o;if(a){const e=a[""];e.results.forEach(e=>{e.getMarker=()=>()=>n(u,e.marks)}),e.results=c(e.results),d.dispatch(s.actions.setSeoResultsForKeyword(u.getKeyword(),e.results)),d.dispatch(s.actions.setOverallSeoScore(e.score,u.getKeyword())),d.dispatch(s.actions.refreshSnippetEditor()),l.saveScores(e.score,u.getKeyword())}r&&(r.results.forEach(e=>{e.getMarker=()=>()=>n(u,e.marks)}),r.results=c(r.results),d.dispatch(s.actions.setReadabilityResults(r.results)),d.dispatch(s.actions.setOverallReadabilityScore(r.score)),d.dispatch(s.actions.refreshSnippetEditor()),l.saveContentScore(r.score)),p&&(p.results.forEach(e=>{e.getMarker=()=>()=>n(u,e.marks)}),p.results=c(p.results),d.dispatch(s.actions.setInclusiveLanguageResults(p.results)),d.dispatch(s.actions.setOverallInclusiveLanguageScore(p.score)),d.dispatch(s.actions.refreshSnippetEditor()),l.saveInclusiveLanguageScore(p.score)),Object(i.doAction)("yoast.analysis.refresh",o,{paper:u,worker:e,collectData:t,applyMarks:n,store:d,dataCollector:l})}).catch(a.a)}function l(){r=!0}},70:function(e,t){e.exports=window.wp.richText},84:function(e,t,n){"use strict";function i(e){jQuery("#wp-admin-bar-wpseo-menu .wpseo-score-icon").attr("title",e.screenReaderText).attr("class","wpseo-score-icon "+e.className).find(".wpseo-score-text").text(e.screenReaderText)}n.d(t,"a",(function(){return i}))},88:function(e,t){e.exports=window.yoast.featureFlag},90:function(e,t,n){"use strict";function i(){return window.wpseoScriptData&&"1"===window.wpseoScriptData.isBlockEditor}n.d(t,"a",(function(){return i}))},91:function(e,t,n){"use strict";function i(e){var t=jQuery(".yst-traffic-light"),n=t.closest(".wpseo-meta-section-link"),i=jQuery("#wpseo-traffic-light-desc"),s=e.className||"na";t.attr("class","yst-traffic-light "+s),n.attr("aria-describedby","wpseo-traffic-light-desc"),i.length>0?i.text(e.screenReaderText):n.closest("li").append(""+e.screenReaderText+"")}n.d(t,"a",(function(){return i}))},94:function(e,t,n){"use strict";n.r(t),n.d(t,"refreshDelay",(function(){return i}));const i=500},95:function(e,t,n){"use strict";n.d(t,"c",(function(){return r})),n.d(t,"a",(function(){return c})),n.d(t,"b",(function(){return d}));var i=n(14),s=n(4);function o(e,t){return e._properties.position.startOffset>t.length||e._properties.position.endOffset>t.length}function a(e,t,n){const a=e.dom;let r=e.getContent();if(r=i.markers.removeMarks(r),Object(s.isEmpty)(n))return void e.setContent(r);r=n[0].hasPosition()?function(e,t){if(!t)return"";for(let n=(e=Object(s.orderBy)(e,e=>e._properties.position.startOffset,["asc"])).length-1;n>=0;n--){const i=e[n];o(i,t)||(t=i.applyWithPosition(t))}return t}(n,r):function(e,t,n,o){const{fieldsToMark:a,selectedHTML:r}=i.languageProcessing.getFieldsToMark(n,o);return Object(s.forEach)(n,(function(t){"acf_content"!==e.id&&(t._properties.marked=i.languageProcessing.normalizeHTML(t._properties.marked),t._properties.original=i.languageProcessing.normalizeHTML(t._properties.original)),a.length>0?r.forEach(e=>{const n=t.applyWithReplace(e);o=o.replace(e,n)}):o=t.applyWithReplace(o)})),o}(e,0,n,r),e.setContent(r),function(e){let t=e.getContent();t=t.replace(new RegExp("<yoastmark.+?>","g"),"").replace(new RegExp("</yoastmark>","g"),""),e.setContent(t)}(e);const c=a.select("yoastmark");Object(s.forEach)(c,(function(e){e.setAttribute("data-mce-bogus","1")}))}function r(e){return window.test=e,a.bind(null,e)}function c(e){return-1!==e.getContent({format:"raw"}).indexOf("0&&void 0!==arguments[0]?arguments[0]:{},t={locale:Object(o.a)(),contentAnalysisActive:Object(c.a)(),keywordAnalysisActive:Object(d.a)(),inclusiveLanguageAnalysisActive:Object(l.a)(),defaultQueryParams:a(),logLevel:Object(i.get)(window,["wpseoScriptData","analysis","worker","log_level"],"ERROR"),enabledFeatures:Object(u.enabledFeatures)()};t=Object(i.merge)(t,e);const n=Object(r.a)();return Object(i.isUndefined)(n)||Object(i.isUndefined)(n.domain)||(t.translations=n),t}}});