!function(e){var t={};function a(n){if(t[n])return t[n].exports;var r=t[n]={i:n,l:!1,exports:{}};return e[n].call(r.exports,r,r.exports,a),r.l=!0,r.exports}a.m=e,a.c=t,a.d=function(e,t,n){a.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},a.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.t=function(e,t){if(1&t&&(e=a(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(a.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)a.d(n,r,function(t){return e[t]}.bind(null,r));return n},a.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return a.d(t,"a",t),t},a.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},a.p="",a(a.s=284)}([function(e,t){e.exports=window.wp.element},function(e,t){e.exports=window.wp.i18n},function(e,t){e.exports=window.yoast.propTypes},function(e,t){e.exports=window.React},function(e,t){e.exports=window.lodash},function(e,t){e.exports=window.wp.data},,function(e,t){e.exports=window.yoast.uiLibrary},function(e,t){e.exports=window.yoast.componentsNew},function(e,t){e.exports=window.yoast.helpers},function(e,t,a){"use strict";a.d(t,"a",(function(){return n})),a.d(t,"b",(function(){return r})),a.d(t,"c",(function(){return s}));const n={request:"request",success:"success",error:"error"},r={idle:"idle",loading:"loading",success:"success",error:"error"},s={showPlay:"showPlay",askPermission:"askPermission",isPlaying:"isPlaying"}},function(e,t){e.exports=window.yoast.styledComponents},function(e,t){function a(){return e.exports=a=Object.assign||function(e){for(var t=1;t{let{payload:a}=t;return a}}}),c=i.getInitialState,l={selectLinkParam:function(e,t){let a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return Object(s.get)(e,`${o}.${t}`,a)},selectLinkParams:e=>Object(s.get)(e,o,{})};l.selectLink=Object(n.createSelector)([l.selectLinkParams,(e,t)=>t],(e,t)=>Object(r.addQueryArgs)(t,e));const u=i.actions,d=i.reducer,p="notifications",m=Object(n.createSlice)({name:p,initialState:{},reducers:{addNotification:{reducer:(e,t)=>{let{payload:a}=t;e[a.id]={id:a.id,variant:a.variant,size:a.size,title:a.title,description:a.description}},prepare:e=>{let{id:t,variant:a="info",size:r="default",title:s,description:o}=e;return{payload:{id:t||Object(n.nanoid)(),variant:a,size:r,title:s||"",description:o}}}},removeNotification:(e,t)=>{let{payload:a}=t;return Object(s.omit)(e,a)}}}),b=m.getInitialState,h={selectNotifications:e=>Object(s.get)(e,p,{}),selectNotification:(e,t)=>Object(s.get)(e,[p,t],null)},g=m.actions,y=m.reducer,f="pluginUrl",w=Object(n.createSlice)({name:f,initialState:"",reducers:{setPluginUrl:(e,t)=>{let{payload:a}=t;return a}}}),O=w.getInitialState,j={selectPluginUrl:e=>Object(s.get)(e,f,"")};j.selectImageLink=Object(n.createSelector)([j.selectPluginUrl,function(e,t){let a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"images";return a},(e,t)=>t],(e,t,a)=>[Object(s.trimEnd)(e,"/"),Object(s.trim)(t,"/"),Object(s.trimStart)(a,"/")].join("/"));const E=w.actions,v=w.reducer;var _=a(25),k=a.n(_),T=a(10);const x="wistiaEmbedPermission",S=Object(n.createSlice)({name:x,initialState:{value:!1,status:T.b.idle,error:{}},reducers:{setWistiaEmbedPermissionValue:(e,t)=>{let{payload:a}=t;e.value=Boolean(a)}},extraReducers:e=>{e.addCase(`${x}/${T.a.request}`,e=>{e.status=T.b.loading}),e.addCase(`${x}/${T.a.success}`,(e,t)=>{let{payload:a}=t;e.status=T.b.success,e.value=Boolean(a.value)}),e.addCase(`${x}/${T.a.error}`,(e,t)=>{var a,n;let{payload:r}=t;console.error(`${null===(a=r.error)||void 0===a?void 0:a.code}: ${null===(n=r.error)||void 0===n?void 0:n.message}`),e.status=T.b.error,e.value=Boolean(r.value),e.error=r.error})}}),R=S.getInitialState,C={selectWistiaEmbedPermission:e=>Object(s.get)(e,x,{value:!1,status:T.b.idle}),selectWistiaEmbedPermissionValue:e=>Object(s.get)(e,[x,"value"],!1),selectWistiaEmbedPermissionStatus:e=>Object(s.get)(e,[x,"status"],T.b.idle),selectWistiaEmbedPermissionError:e=>Object(s.get)(e,[x,"error"],{})},P={...S.actions,setWistiaEmbedPermission:function*(e){yield{type:`${x}/${T.a.request}`};try{return yield{type:x,payload:e},{type:`${x}/${T.a.success}`,payload:{value:e}}}catch(t){return{type:`${x}/${T.a.error}`,payload:{error:t,value:e}}}}},L={[x]:async e=>{let{payload:t=!0}=e;return k()({path:"/yoast/v1/wistia_embed_permission",method:"POST",data:{value:t}})}},A=S.reducer},function(e,t){e.exports=window.wp.apiFetch},,function(e,t,a){"use strict";a.d(t,"b",(function(){return r})),a.d(t,"a",(function(){return s}));var n=a(0);function r(e){return e.charAt(0).toUpperCase()+e.slice(1)}function s(e,t){let a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return Object(n.createInterpolateElement)(e,{a:Object(n.createElement)("a",{id:a,href:t,target:"_blank",rel:"noopener noreferrer"})})}},function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r=i(a(3)),s=i(a(127)),o=i(a(130));function i(e){return e&&e.__esModule?e:{default:e}}var c=void 0;t.default=function(e){var t=e.mixedString,a=e.components,i=e.throwErrors;if(c=t,!a)return t;if("object"!==(void 0===a?"undefined":n(a))){if(i)throw new Error("Interpolation Error: unable to process `"+t+"` because components is not an object");return t}var l=(0,o.default)(t);try{return function e(t,a){var o,i,l,u,d,p,m,b,h=[],g={};for(p=0;p "+c);if("componentClose"===d.type)throw new Error("Missing opening component token: `"+d.value+"`");if("componentOpen"===d.type){o=a[d.value],l=p;break}h.push(a[d.value])}else h.push(d.value);return o&&(u=function(e,t){var a,n,r=t[e],s=0;for(n=e+1;n3&&void 0!==arguments[3]?arguments[3]:200;try{const r=await e();return!!r&&(r.status===n?t(r):a(r))}catch(e){console.error(e.message)}}async function o(e){try{return await r()(e)}catch(e){return e.error&&e.status?e:e instanceof Response&&await e.json()}}},function(e,t,a){"use strict";var n=a(4),r={source:"wpseoScriptData.analysis.plugins.replaceVars",scope:[],aliases:[]},s=function(e,t,a){this.placeholder=e,this.replacement=t,this.options=Object(n.defaults)(a,r)};s.prototype.getPlaceholder=function(e){return(e=e||!1)&&this.hasAlias()?this.placeholder+"|"+this.getAliases().join("|"):this.placeholder},s.prototype.setSource=function(e){this.options.source=e},s.prototype.hasScope=function(){return!Object(n.isEmpty)(this.options.scope)},s.prototype.addScope=function(e){this.hasScope()||(this.options.scope=[]),this.options.scope.push(e)},s.prototype.inScope=function(e){return!this.hasScope()||Object(n.indexOf)(this.options.scope,e)>-1},s.prototype.hasAlias=function(){return!Object(n.isEmpty)(this.options.aliases)},s.prototype.addAlias=function(e){this.hasAlias()||(this.options.aliases=[]),this.options.aliases.push(e)},s.prototype.getAliases=function(){return this.options.aliases},t.a=s},function(e,t,a){var n;!function(){"use strict";var a={}.hasOwnProperty;function r(){for(var e=[],t=0;t{let{children:t}=e;return Object(n.createElement)("div",null,t)};o.propTypes={renderPriority:s.a.number.isRequired,children:s.a.node.isRequired},t.a=o},,function(e,t,a){"use strict";a.d(t,"c",(function(){return s})),a.d(t,"b",(function(){return o})),a.d(t,"e",(function(){return i})),a.d(t,"a",(function(){return c})),a.d(t,"d",(function(){return l})),a.d(t,"f",(function(){return u})),a.d(t,"g",(function(){return d}));var n=a(4),r=a(29);async function s(){return await Object(r.a)({path:"yoast/v1/wincher/authorization-url",method:"GET"})}async function o(){return await Object(r.a)({path:"yoast/v1/wincher/account/limit",method:"GET"})}async function i(){return await Object(r.a)({path:"yoast/v1/wincher/account/upgrade-campaign",method:"GET"})}async function c(e){const{code:t,websiteId:a}=e;return await Object(r.a)({path:"yoast/v1/wincher/authenticate",method:"POST",data:{code:t,websiteId:a}})}async function l(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,a=arguments.length>2?arguments[2]:void 0;return await Object(r.a)({path:"yoast/v1/wincher/keyphrases",method:"POST",data:{keyphrases:e,permalink:t},signal:a})}async function u(e){return Object(n.isArray)(e)||(e=[e]),await Object(r.a)({path:"yoast/v1/wincher/keyphrases/track",method:"POST",data:{keyphrases:e}})}async function d(e){return await Object(r.a)({path:"yoast/v1/wincher/keyphrases/untrack",method:"DELETE",data:{keyphraseID:e}})}},,,,function(e,t){e.exports=window.wp.hooks},function(e,t,a){"use strict";a.d(t,"a",(function(){return r}));const{get:n}=lodash,r=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return n(window,"wordproofSdk.data"+(e?"."+e:""),t)}},function(e,t,a){"use strict";a.d(t,"b",(function(){return l}));var n=a(12),r=a.n(n),s=a(0),o=a(2),i=a.n(o),c=a(18);const l="yoast yoast-gutenberg-modal",u=e=>{const{title:t,className:a,showYoastIcon:n,additionalClassName:o,...i}=e,l=n?Object(s.createElement)("span",{className:"yoast-icon"}):null;return Object(s.createElement)(c.Modal,r()({title:t,className:`${a} ${o}`,icon:l},i),e.children)};u.propTypes={title:i.a.string,className:i.a.string,showYoastIcon:i.a.bool,children:i.a.oneOfType([i.a.node,i.a.arrayOf(i.a.node)]),additionalClassName:i.a.string},u.defaultProps={title:"Yoast SEO",className:l,showYoastIcon:!0,children:null,additionalClassName:""},t.a=u},function(e,t,a){"use strict";a.d(t,"a",(function(){return s})),a.d(t,"b",(function(){return o})),a.d(t,"c",(function(){return c})),a.d(t,"d",(function(){return l}));var n=a(4),r=a(17);const s=e=>Object(n.get)(window,"wordproofSdk.data"+(e?"."+e:""),{}),o=()=>{const e=Object(r.a)();return 1===Object(n.get)(e,"wordproofIntegrationActive",0)},i=e=>{const t=new CustomEvent(e);window.dispatchEvent(t)},c=()=>{i("wordproof:open_authentication")},l=()=>{i("wordproof:open_settings")}},function(e,t){e.exports=window.yoast.socialMetadataForms},,,,function(e,t,a){"use strict";a.d(t,"c",(function(){return o})),a.d(t,"a",(function(){return i})),a.d(t,"b",(function(){return c}));var n=a(25),r=a.n(n),s=a(54);async function o(e,t,a){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:200;try{const r=await e();return!!r&&(r.status===n?t(r):a(r))}catch(e){}}async function i(e){try{return await r()(e)}catch(e){return e.error&&e.status?e:e instanceof window.Response&&await e.json()}}const c=async()=>await o(async()=>await Object(s.a)(),e=>e,()=>!1)},,,function(e,t,a){"use strict";var n=a(12),r=a.n(n),s=a(0),o=a(8),i=a(11);const c=a.n(i)()(o.Collapsible)` h2 > button { padding-left: 24px; padding-top: 16px; &:hover { background-color: #f0f0f0; } } div[class^="collapsible_content"] { padding: 24px 0; margin: 0 24px; border-top: 1px solid rgba(0,0,0,0.2); } `;t.a=e=>Object(s.createElement)(c,r()({hasPadding:!0,hasSeparator:!0},e))},,function(e,t,a){"use strict";a.d(t,"b",(function(){return i})),a.d(t,"c",(function(){return c})),a.d(t,"d",(function(){return l})),a.d(t,"e",(function(){return u})),a.d(t,"a",(function(){return d}));var n=a(5),r=a(122);let s=null;const o=()=>{if(null===s){const e=Object(n.dispatch)("yoast-seo/editor").runAnalysis;s=new r.a(e)}return s},i=e=>o()._ready(e),c=e=>o()._reloaded(e),l=(e,t,a,n)=>o()._registerModification(e,t,a,n),u=(e,t)=>o()._registerPlugin(e,t),d=(e,t,a)=>o().loaded?o()._applyModifications(e,t,a):t},,function(e,t,a){"use strict";a.d(t,"a",(function(){return i})),a.d(t,"b",(function(){return c})),a.d(t,"c",(function(){return l})),a.d(t,"d",(function(){return u}));var n=a(4),r=a(9),s=a(42);const o=e=>({type:e.subtype,width:e.width,height:e.height,url:e.url,id:e.id,sizes:e.sizes,alt:e.alt||e.title||e.name});function i(e){return new Promise((t,a)=>{window.wp.media.attachment||a(),window.wp.media.attachment(e).fetch().then(e=>{t(o(e))}).catch(()=>a())})}function c(e){(function(e){const t=window.wp.media();return t.on("select",()=>{const a=t.state().get("selection").first();e(o(a.attributes))}),t})(e).open()}const l=e=>{const{width:t,height:a}=e,n=Object(s.determineFacebookImageMode)({width:t,height:a}),o=s.FACEBOOK_IMAGE_SIZES[n+"Width"],i=s.FACEBOOK_IMAGE_SIZES[n+"Height"],c=Object.values(e.sizes).find(e=>e.width>=o&&e.height>=i);return{url:c?c.url:e.url,id:e.id,warnings:Object(r.validateFacebookImage)(e),alt:e.alt||""}},u=e=>{const t="summary"!==Object(n.get)(window,"wpseoScriptData.metabox.twitterCardType")?"landscape":"square",a=s.TWITTER_IMAGE_SIZES[t+"Width"],o=s.TWITTER_IMAGE_SIZES[t+"Height"],i=Object.values(e.sizes).find(e=>e.width>=a&&e.height>=o);return{url:i?i.url:e.url,id:e.id,warnings:Object(r.validateTwitterImage)(e),alt:e.alt||""}}},function(e,t,a){"use strict";a.d(t,"e",(function(){return r})),a.d(t,"f",(function(){return s})),a.d(t,"a",(function(){return o})),a.d(t,"d",(function(){return i})),a.d(t,"b",(function(){return c})),a.d(t,"g",(function(){return l})),a.d(t,"c",(function(){return u}));var n=a(46);const r=async e=>{const{state:t,code:a}=e;return await Object(n.a)({path:"wordproof/v1/oauth/authenticate",method:"POST",data:{state:t,code:a}})},s=async e=>{const{settings:t}=e;return await Object(n.a)({path:"wordproof/v1/settings",method:"POST",data:{settings:t}})},o=async()=>await Object(n.a)({path:"wordproof/v1/oauth/destroy",method:"POST"}),i=async()=>await Object(n.a)({path:"wordproof/v1/settings",method:"GET"}),c=async()=>await Object(n.a)({path:"wordproof/v1/authentication",method:"GET"}),l=async e=>Object(n.a)({path:`wordproof/v1/posts/${e}/timestamp`,method:"POST"}),u=async e=>Object(n.a)({path:`wordproof/v1/posts/${e}/timestamp/transaction/latest`,method:"GET"})},function(e,t,a){"use strict";a.d(t,"a",(function(){return s}));var n=a(17),r=a(4);function s(){const e=Object(n.a)();return 1===Object(r.get)(e,"keywordAnalysisActive",0)}},,,function(e,t,a){"use strict";function n(){}a.d(t,"a",(function(){return n}))},,function(e,t,a){"use strict";a.d(t,"a",(function(){return o}));var n=a(20),r=a(0),s=a(22);function o(){return Object(n.createHigherOrderComponent)((function(e){return Object(n.pure)((function(t){const a=Object(r.useContext)(s.LocationContext);return Object(r.createElement)(e,{...t,location:a})}))}),"withLocation")}},,function(e,t){e.exports=window.yoast.externals.components},,,function(e,t,a){"use strict";a.d(t,"a",(function(){return s}));var n=a(4),r=a(17);function s(){const e=Object(r.a)();return Object(n.get)(e,"contentLocale","en_US")}},function(e,t,a){"use strict";var n=a(0),r=a(8),s=a(2),o=a.n(s);const i=e=>{const[t,a]=Object(n.useState)(!1),{prefixIcon:s}=e;return Object(n.createElement)("div",{className:"yoast components-panel__body "+(t?"is-opened":"")},Object(n.createElement)("h2",{className:"components-panel__body-title"},Object(n.createElement)("button",{onClick:function(){a(!t)},className:"components-button components-panel__body-toggle"},Object(n.createElement)("span",{className:"yoast-icon-span",style:{fill:""+(s&&s.color||"")}},s&&Object(n.createElement)(r.SvgIcon,{icon:s.icon,color:s.color,size:s.size})),Object(n.createElement)("span",{className:"yoast-title-container"},Object(n.createElement)("div",{className:"yoast-title"},e.title),Object(n.createElement)("div",{className:"yoast-subtitle"},e.subTitle)),e.hasBetaBadgeLabel&&Object(n.createElement)(r.BetaBadge,null),Object(n.createElement)("span",{className:"yoast-chevron","aria-hidden":"true"}))),t&&e.children)};t.a=i,i.propTypes={title:o.a.string.isRequired,children:o.a.oneOfType([o.a.node,o.a.arrayOf(o.a.node)]).isRequired,prefixIcon:o.a.object,subTitle:o.a.string,hasBetaBadgeLabel:o.a.bool},i.defaultProps={prefixIcon:null,subTitle:"",hasBetaBadgeLabel:!1}},function(e,t,a){"use strict";var n=a(19),r=a(9),s=a(11),o=a.n(s);const i=Object(r.makeOutboundLink)(o.a.a` display: inline-block; position: relative; outline: none; text-decoration: none; border-radius: 100%; width: 24px; height: 24px; margin: -4px 0; vertical-align: middle; color: ${n.colors.$color_help_text}; &:hover, &:focus { color: ${n.colors.$color_snippet_focus}; } // Overwrite the default blue active color for links. &:active { color: ${n.colors.$color_help_text}; } &::before { position: absolute; top: 0; left: 0; padding: 2px; content: "\f223"; } `);t.a=i},function(e,t,a){"use strict";a.d(t,"a",(function(){return s}));var n=a(17),r=a(4);function s(){const e=Object(n.a)();return 1===Object(r.get)(e,"contentAnalysisActive",0)}},function(e,t,a){"use strict";a.r(t),a.d(t,"sortResultsByIdentifier",(function(){return c})),a.d(t,"default",(function(){return l})),a.d(t,"initializationDone",(function(){return u}));var n=a(38),r=a(16),s=a(14),o=a(58);let i=!1;function c(e){return e.sort((e,t)=>e._identifier.localeCompare(t._identifier))}function l(e,t,a,l,u){if(!i)return;const d=s.Paper.parse(t());e.analyze(d).then(s=>{const{result:{seo:o,readability:i,inclusiveLanguage:p}}=s;if(o){const e=o[""];e.results.forEach(e=>{e.getMarker=()=>()=>a(d,e.marks)}),e.results=c(e.results),l.dispatch(r.actions.setSeoResultsForKeyword(d.getKeyword(),e.results)),l.dispatch(r.actions.setOverallSeoScore(e.score,d.getKeyword())),l.dispatch(r.actions.refreshSnippetEditor()),u.saveScores(e.score,d.getKeyword())}i&&(i.results.forEach(e=>{e.getMarker=()=>()=>a(d,e.marks)}),i.results=c(i.results),l.dispatch(r.actions.setReadabilityResults(i.results)),l.dispatch(r.actions.setOverallReadabilityScore(i.score)),l.dispatch(r.actions.refreshSnippetEditor()),u.saveContentScore(i.score)),p&&(p.results.forEach(e=>{e.getMarker=()=>()=>a(d,e.marks)}),p.results=c(p.results),l.dispatch(r.actions.setInclusiveLanguageResults(p.results)),l.dispatch(r.actions.setOverallInclusiveLanguageScore(p.score)),l.dispatch(r.actions.refreshSnippetEditor()),u.saveInclusiveLanguageScore(p.score)),Object(n.doAction)("yoast.analysis.refresh",s,{paper:d,worker:e,collectData:t,applyMarks:a,store:l,dataCollector:u})}).catch(o.a)}function u(){i=!0}},,,,,,function(e,t,a){"use strict";var n=a(0);let r,s,o,i;const c=/<(\/)?(\w+)\s*(\/)?>/g;function l(e,t,a,n,r){return{element:e,tokenStart:t,tokenLength:a,prevOffset:n,leadingTextStart:r,children:[]}}function u(){const e=r.length-s;0!==e&&o.push(r.substr(s,e))}function d(e){const{element:t,tokenStart:a,tokenLength:s,prevOffset:o,children:c}=e,l=i[i.length-1],u=r.substr(l.prevOffset,a-l.prevOffset);u&&l.children.push(u),l.children.push(Object(n.cloneElement)(t,null,...c)),l.prevOffset=o||a+s}function p(e){const t=function(){const e=c.exec(r);if(null===e)return["no-more-tokens"];const t=e.index,[a,n,s,o]=e,i=a.length;return o?["self-closed",s,t,i]:n?["closer",s,t,i]:["opener",s,t,i]}(),[a,p,m,b]=t,h=i.length,g=m>s?s:null;if(!e[p])return u(),!1;switch(a){case"no-more-tokens":if(0!==h){const{leadingTextStart:e,tokenStart:t}=i.pop();o.push(r.substr(e,t))}return u(),!1;case"self-closed":return 0===h?(null!==g&&o.push(r.substr(g,m-g)),o.push(e[p]),s=m+b,!0):(d(l(e[p],m,b)),s=m+b,!0);case"opener":return i.push(l(e[p],m,b,m+b,g)),s=m+b,!0;case"closer":if(1===h)return function(e){const{element:t,leadingTextStart:a,prevOffset:s,tokenStart:c,children:l}=i.pop(),u=e?r.substr(s,e-s):r.substr(s);u&&l.push(u),null!==a&&o.push(r.substr(a,c-a)),o.push(Object(n.cloneElement)(t,null,...l))}(m),s=m+b,!0;const t=i.pop(),a=r.substr(t.prevOffset,m-t.prevOffset);t.children.push(a),t.prevOffset=m+b;const c=l(t.element,t.tokenStart,t.tokenLength,m+b);return c.children=t.children,d(c),s=m+b,!0;default:return u(),!1}}t.a=(e,t)=>{if(r=e,s=0,o=[],i=[],c.lastIndex=0,!(e=>{const t="object"==typeof e,a=t&&Object.values(e);return t&&a.length&&a.every(e=>Object(n.isValidElement)(e))})(t))throw new TypeError("The conversionMap provided is not valid. It must be an object with values that are WPElements");do{}while(p(t));return Object(n.createElement)(n.Fragment,null,...o)}},function(e,t,a){"use strict";a.d(t,"a",(function(){return i})),a.d(t,"b",(function(){return c}));var n=a(11),r=a.n(n),s=a(8),o=a(9);const i=r.a.div` min-width: 600px; @media screen and ( max-width: 680px ) { min-width: 0; width: 86vw; } `,c=r()(s.Icon)` float: ${Object(o.getDirectionalStyle)("right","left")}; margin: ${Object(o.getDirectionalStyle)("0 0 16px 16px","0 16px 16px 0")}; && { width: 150px; height: 150px; @media screen and ( max-width: 680px ) { width: 80px; height: 80px; } } `},function(e,t,a){"use strict";var n=a(0),r=a(2),s=a.n(r),o=a(11),i=a(22);const c=e=>{let{theme:t,location:a,children:r}=e;return Object(n.createElement)(i.LocationProvider,{value:a},Object(n.createElement)(o.ThemeProvider,{theme:t},r))};c.propTypes={theme:s.a.object.isRequired,location:s.a.oneOf(["sidebar","metabox","modal"]).isRequired,children:s.a.element.isRequired},t.a=c},function(e,t,a){"use strict";var n=a(0),r=a(8),s=a(2),o=a.n(s);const i=e=>Object(n.createElement)("div",{className:"yoast components-panel__body"},Object(n.createElement)("h2",{className:"components-panel__body-title"},Object(n.createElement)("button",{id:e.id,onClick:e.onClick,className:"components-button components-panel__body-toggle"},e.prefixIcon&&Object(n.createElement)("span",{className:"yoast-icon-span",style:{fill:""+(e.prefixIcon&&e.prefixIcon.color||"")}},Object(n.createElement)(r.SvgIcon,{size:e.prefixIcon.size,icon:e.prefixIcon.icon})),Object(n.createElement)("span",{className:"yoast-title-container"},Object(n.createElement)("div",{className:"yoast-title"},e.title),Object(n.createElement)("div",{className:"yoast-subtitle"},e.subTitle)),e.children,e.suffixIcon&&Object(n.createElement)(r.SvgIcon,{size:e.suffixIcon.size,icon:e.suffixIcon.icon}))));t.a=i,i.propTypes={onClick:o.a.func.isRequired,title:o.a.string.isRequired,id:o.a.string,subTitle:o.a.string,suffixIcon:o.a.object,prefixIcon:o.a.object,children:o.a.node},i.defaultProps={id:"",suffixIcon:null,prefixIcon:null,subTitle:"",children:null}},function(e,t,a){"use strict";var n=a(0),r=a(2),s=a.n(r),o=a(1);const i=e=>{let{data:t,mapChartDataToTableData:a,dataTableCaption:r,dataTableHeaderLabels:s,isDataTableVisuallyHidden:i}=e;return t.length!==s.length?Object(n.createElement)("p",null,Object(o.__)("The number of headers and header labels don't match.","wordpress-seo")):Object(n.createElement)("div",{className:i?"screen-reader-text":null},Object(n.createElement)("table",null,Object(n.createElement)("caption",null,r),Object(n.createElement)("thead",null,Object(n.createElement)("tr",null,s.map((e,t)=>Object(n.createElement)("th",{key:t},e)))),Object(n.createElement)("tbody",null,Object(n.createElement)("tr",null,t.map((e,t)=>Object(n.createElement)("td",{key:t},a(e.y)))))))};i.propTypes={data:s.a.arrayOf(s.a.shape({x:s.a.number,y:s.a.number})).isRequired,mapChartDataToTableData:s.a.func,dataTableCaption:s.a.string.isRequired,dataTableHeaderLabels:s.a.array.isRequired,isDataTableVisuallyHidden:s.a.bool},i.defaultProps={mapChartDataToTableData:null,isDataTableVisuallyHidden:!0};var c=i;const l=e=>{let{data:t,width:a,height:r,fillColor:s,strokeColor:o,strokeWidth:i,className:l,mapChartDataToTableData:u,dataTableCaption:d,dataTableHeaderLabels:p,isDataTableVisuallyHidden:m}=e;const b=Math.max(1,Math.max(...t.map(e=>e.x))),h=Math.max(1,Math.max(...t.map(e=>e.y))),g=r-i,y=t.map(e=>`${e.x/b*a},${g-e.y/h*g+i}`).join(" "),f=`0,${g+i} `+y+` ${a},${g+i}`;return Object(n.createElement)(n.Fragment,null,Object(n.createElement)("svg",{width:a,height:r,viewBox:`0 0 ${a} ${r}`,className:l,role:"img","aria-hidden":"true",focusable:"false"},Object(n.createElement)("polygon",{fill:s,points:f}),Object(n.createElement)("polyline",{fill:"none",stroke:o,strokeWidth:i,strokeLinejoin:"round",strokeLinecap:"round",points:y})),u&&Object(n.createElement)(c,{data:t,mapChartDataToTableData:u,dataTableCaption:d,dataTableHeaderLabels:p,isDataTableVisuallyHidden:m}))};l.propTypes={data:s.a.arrayOf(s.a.shape({x:s.a.number,y:s.a.number})).isRequired,width:s.a.number.isRequired,height:s.a.number.isRequired,fillColor:s.a.string,strokeColor:s.a.string,strokeWidth:s.a.number,className:s.a.string,mapChartDataToTableData:s.a.func,dataTableCaption:s.a.string.isRequired,dataTableHeaderLabels:s.a.array.isRequired,isDataTableVisuallyHidden:s.a.bool},l.defaultProps={fillColor:null,strokeColor:"#000000",strokeWidth:1,className:"",mapChartDataToTableData:null,isDataTableVisuallyHidden:!0},t.a=l},,,,function(e,t,a){"use strict";var n=a(20),r=a(5),s=a(99);t.a=Object(n.compose)([Object(r.withSelect)((e,t)=>{const{getPostOrPageString:a,getIsModalOpen:n}=e("yoast-seo/editor");return{postTypeName:a(),isOpen:n(t.id)}}),Object(r.withDispatch)((e,t)=>{const{openEditorModal:a,closeEditorModal:n}=e("yoast-seo/editor");return{open:()=>a(t.id),close:n}})])(s.a)},,function(e,t,a){"use strict";var n=a(0),r=a(28),s=a.n(r),o=a(2),i=a.n(o),c=a(11),l=a.n(c),u=a(9);const d=l.a.ul` list-style: none; margin: 0 0 24px; padding: 0; li { margin: 10px 0 0 0; } span[aria-hidden="true"]:before { content: ""; display: inline-block; height: 13px; width: 13px; background-size: 13px 13px; background-image: var( --yoast-svg-icon-check ); background-repeat: no-repeat; margin-right: 10px; } `,p=l.a.small` display: block; margin-top: 4px; `,m=Object(u.makeOutboundLink)();class b extends n.Component{constructor(e){super(e)}createBenefitsList(e){return e.length>0&&Object(n.createElement)(d,{role:"list"},e.map((e,t)=>Object(n.createElement)("li",{key:t},Object(n.createElement)("span",{"aria-hidden":"true"}),s()({mixedString:e.replace("","{{strong}}").replace("","{{/strong}}"),components:{strong:Object(n.createElement)("strong",null)}}))))}createInfoParagraphs(e){return e.map((e,t)=>Object(n.createElement)("p",{key:t},e))}render(){return Object(n.createElement)("div",null,this.createInfoParagraphs(this.props.infoParagraphs),this.createBenefitsList(this.props.benefits),Object(n.createElement)(m,this.props.upsellButton,this.props.upsellButtonText,this.props.upsellButtonHasCaret&&Object(n.createElement)("span",{"aria-hidden":"true",className:"yoast-button-upsell__caret"})),Object(n.createElement)(p,{id:this.props.upsellButton["aria-describedby"]},this.props.upsellButtonLabel))}}b.propTypes={benefits:i.a.array,infoParagraphs:i.a.array,upsellButton:i.a.object,upsellButtonText:i.a.string.isRequired,upsellButtonLabel:i.a.string,upsellButtonHasCaret:i.a.bool},b.defaultProps={infoParagraphs:[],benefits:[],upsellButton:{href:"",className:"button button-primary"},upsellButtonLabel:"",upsellButtonHasCaret:!0},t.a=b},function(e,t){e.exports=window.moment},function(e,t,a){"use strict";a.d(t,"a",(function(){return c}));var n=a(0),r=a(7),s=a(2),o=a.n(s);const i={variant:{lg:{grid:"yst-grid lg:yst-grid-cols-3 lg:yst-gap-12",col1:"yst-col-span-1",col2:"lg:yst-mt-0 lg:yst-col-span-2"},xl:{grid:"yst-grid xl:yst-grid-cols-3 xl:yst-gap-12",col1:"yst-col-span-1",col2:"xl:yst-mt-0 xl:yst-col-span-2"},"2xl":{grid:"yst-grid 2xl:yst-grid-cols-3 2xl:yst-gap-12",col1:"yst-col-span-1",col2:"2xl:yst-mt-0 2xl:yst-col-span-2"}}},c=e=>{let{id:t,children:a,title:s,description:o=null,variant:c="2xl"}=e;return Object(n.createElement)("section",{id:t,className:i.variant[c].grid},Object(n.createElement)("div",{className:i.variant[c].col1},Object(n.createElement)("div",{className:"yst-max-w-screen-sm"},Object(n.createElement)(r.Title,{as:"h2",size:"4"},s),o&&Object(n.createElement)("p",{className:"yst-mt-2"},o))),Object(n.createElement)("fieldset",{className:"yst-min-w-0 yst-mt-8 "+i.variant[c].col2},Object(n.createElement)("legend",{className:"yst-sr-only"},s),Object(n.createElement)("div",{className:"yst-space-y-8"},a)))};c.propTypes={id:o.a.string,children:o.a.node.isRequired,title:o.a.node.isRequired,description:o.a.node,variant:o.a.oneOf(Object.keys(i.variant))}},function(e,t){e.exports=window.yoast.featureFlag},function(e,t,a){"use strict";a.d(t,"a",(function(){return c})),a.d(t,"b",(function(){return p})),a.d(t,"c",(function(){return f})),a.d(t,"d",(function(){return z})),a.d(t,"e",(function(){return W})),a.d(t,"f",(function(){return U}));var n=a(0),r=a(1),s=a(7),o=a(2),i=a.n(o);const c=e=>{let{link:t}=e;const a=Object(n.useMemo)(()=>Object(n.createInterpolateElement)(Object(r.sprintf)( /* translators: %1$s expands to "Yoast SEO" academy, which is a clickable link. */ Object(r.__)("Want to learn SEO from Team Yoast? Check out our %1$s!","wordpress-seo"),""),{link:Object(n.createElement)("a",{href:t,target:"_blank",rel:"noopener"},"Yoast SEO academy")}),[]);return Object(n.createElement)(s.Paper,{as:"div",className:"yst-p-6 yst-space-y-3"},Object(n.createElement)(s.Title,{as:"h2",size:"4",className:"yst-text-base yst-text-primary-500"},Object(r.__)("Learn SEO","wordpress-seo")),Object(n.createElement)("p",null,a,Object(n.createElement)("br",null),Object(r.__)("We have both free and premium online courses to learn everything you need to know about SEO.","wordpress-seo")),Object(n.createElement)(s.Link,{href:t,className:"yst-block",target:"_blank",rel:"noopener"},Object(r.sprintf)( /* translators: %1$s expands to "Yoast SEO academy". */ Object(r.__)("Check out %1$s","wordpress-seo"),"Yoast SEO academy")))};c.propTypes={link:i.a.string.isRequired};var l=a(132),u=a(3),d=u.forwardRef((function(e,t){return u.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),u.createElement("path",{fillRule:"evenodd",d:"M12.293 5.293a1 1 0 011.414 0l4 4a1 1 0 010 1.414l-4 4a1 1 0 01-1.414-1.414L14.586 11H3a1 1 0 110-2h11.586l-2.293-2.293a1 1 0 010-1.414z",clipRule:"evenodd"}))}));const p=e=>{let{learnMoreLink:t,upsellLink:a,thumbnail:o,wistiaEmbedPermission:i}=e;const{onClose:c,initialFocus:u}=Object(s.useModalContext)();return Object(n.createElement)("div",{className:"yst-flex yst-flex-col yst-items-center yst-p-10"},Object(n.createElement)("div",{className:"yst-relative yst-w-full"},Object(n.createElement)(U,{videoId:"vmrahpfjxp",thumbnail:o,wistiaEmbedPermission:i}),Object(n.createElement)(s.Badge,{className:"yst-absolute yst-top-0 yst-right-2 yst-mt-2 yst-ml-2",variant:"info"},"Beta")),Object(n.createElement)("div",{className:"yst-mt-6 yst-text-xs yst-font-medium"},Object(n.createElement)("span",{className:"yst-uppercase yst-text-slate-500"},Object(r.sprintf)( /* translators: %1$s expands to Yoast SEO Premium. */ Object(r.__)("New to %1$s","wordpress-seo"),"Yoast SEO Premium"))," ",Object(n.createElement)("span",{className:"yst-uppercase yst-text-slate-700"},"21.0")),Object(n.createElement)("div",{className:"yst-mt-4 yst-mx-1.5 yst-text-center"},Object(n.createElement)("h3",{className:"yst-text-slate-900 yst-text-lg yst-font-medium"},Object(r.__)("Generate titles & descriptions with Yoast AI!","wordpress-seo")),Object(n.createElement)("div",{className:"yst-mt-2 yst-text-slate-600 yst-text-sm"},Object(n.createInterpolateElement)(Object(r.sprintf)( /* translators: %1$s and %2$s are anchor tag; %3$s is the arrow icon. */ Object(r.__)("Speed up your workflow with generative AI. Get high-quality title and description suggestions for your search and social appearance. %1$sLearn more%2$s%3$s","wordpress-seo"),"","",""),{a:Object(n.createElement)(f,{href:t,className:"yst-inline-flex yst-items-center yst-gap-1 yst-no-underline yst-font-medium",variant:"primary"}),ArrowNarrowRightIcon:Object(n.createElement)(d,{className:"yst-w-4 yst-h-4 rtl:yst-rotate-180"})}))),Object(n.createElement)("div",{className:"yst-w-full yst-flex yst-mt-10"},Object(n.createElement)(s.Button,{as:"a",className:"yst-grow",size:"large",variant:"upsell",href:a,target:"_blank",ref:u},Object(n.createElement)(l.a,{className:"yst--ml-1 yst-mr-2 yst-h-5 yst-w-5"}),Object(r.__)("Unlock with Premium","wordpress-seo"),Object(n.createElement)("span",{className:"yst-sr-only"},Object(r.__)("(Opens in a new browser tab)","wordpress-seo")))),Object(n.createElement)(s.Button,{as:"a",className:"yst-mt-4",variant:"tertiary",onClick:c},Object(r.__)("Close","wordpress-seo")))};var m;function b(){return(b=Object.assign||function(e){for(var t=1;t{let{href:t,children:a,...o}=e;return Object(n.createElement)(s.Link,y()({target:"_blank",rel:"noopener noreferrer"},o,{href:t}),a,Object(n.createElement)("span",{className:"yst-sr-only"},Object(r.__)("(Opens in a new browser tab)","wordpress-seo")))};f.propTypes={href:i.a.string.isRequired,children:i.a.node},f.defaultProps={children:null};var w,O,j,E,v,_,k,T,x,S,R,C,P,L,A=a(199);function I(){return(I=Object.assign||function(e){for(var t=1;t{let{link:t,linkProps:a}=e;const o=Object(n.useMemo)(()=>Object(n.createInterpolateElement)(Object(r.sprintf)( /* translators: %1$s and %2$s expand to opening and closing tags. */ Object(r.__)("Be more efficient in creating titles and meta descriptions with the help of AI. %1$sGet 24/7 support%2$s and boost your website’s visibility.","wordpress-seo"),"",""),{strong:Object(n.createElement)("strong",null)}),[]),i=Object(n.createInterpolateElement)(Object(r.sprintf)( /* translators: %1$s and %2$s expand to a span wrap to avoid linebreaks. %3$s expands to "Yoast SEO Premium". */ Object(r.__)("%1$sGet%2$s %3$s","wordpress-seo"),"","","Yoast SEO Premium"),{nowrap:Object(n.createElement)("span",{className:"yst-whitespace-nowrap"})});return Object(n.createElement)("div",{className:"yst-p-6 yst-rounded-lg yst-text-white yst-bg-primary-500 yst-shadow"},Object(n.createElement)("figure",{className:"yst-logo-square yst-w-16 yst-h-16 yst-mt-[-2.6rem] yst-mx-auto yst-overflow-hidden yst-border yst-border-white yst-rounded-xl yst-rounded-br-none"},Object(n.createElement)(M,null)),Object(n.createElement)(s.Title,{as:"h2",className:"yst-mt-6 yst-text-base yst-font-extrabold yst-text-white"},i),Object(n.createElement)("p",{className:"yst-mt-2"},o),Object(n.createElement)(s.Button,y()({as:"a",variant:"upsell",href:t,target:"_blank",rel:"noopener",className:"yst-flex yst-justify-center yst-gap-2 yst-mt-4 focus:yst-ring-offset-primary-500"},a),Object(n.createElement)("span",null,i),Object(n.createElement)(A.a,{className:"yst-w-4 yst-h-4 yst-icon-rtl"})),Object(n.createElement)("a",{className:"yst-block yst-mt-4 yst-no-underline",href:"https://www.g2.com/products/yoast-yoast/reviews",target:"_blank",rel:"noopener noreferrer"},Object(n.createElement)("span",{className:"yst-font-medium yst-text-white hover:yst-underline"},Object(r.__)("Read reviews from real users","wordpress-seo")),Object(n.createElement)("span",{className:"yst-flex yst-gap-2 yst-mt-2 yst-items-center"},Object(n.createElement)(h,{className:"yst-w-5 yst-h-5"}),Object(n.createElement)("span",{className:"yst-flex yst-gap-1"},Object(n.createElement)(q,{className:"yst-w-5 yst-h-5"}),Object(n.createElement)(q,{className:"yst-w-5 yst-h-5"}),Object(n.createElement)(q,{className:"yst-w-5 yst-h-5"}),Object(n.createElement)(q,{className:"yst-w-5 yst-h-5"}),Object(n.createElement)(N,{className:"yst-w-5 yst-h-5"})),Object(n.createElement)("span",{className:"yst-text-sm yst-font-semibold yst-text-white"},"4.6 / 5"))))};z.propTypes={link:i.a.string.isRequired,linkProps:i.a.object},z.defaultProps={linkProps:{}};const W=e=>{let{children:t}=e;return Object(n.createElement)("div",{className:"xl:yst-max-w-3xl xl:yst-fixed xl:yst-right-8 xl:yst-w-[16rem]"},Object(n.createElement)("div",{className:"yst-grid yst-grid-cols-1 sm:yst-grid-cols-2 min-[783px]:yst-grid-cols-1 lg:yst-grid-cols-2 xl:yst-grid-cols-1 yst-gap-4"},t))};W.propTypes={children:i.a.node.isRequired};var B=a(97),$=a(10);const U=e=>{let{videoId:t,thumbnail:a,wistiaEmbedPermission:o}=e;const[i,c]=Object(n.useState)(o.value?$.c.isPlaying:$.c.showPlay),l=Object(n.useCallback)(()=>c($.c.isPlaying),[c]),u=Object(n.useCallback)(()=>{o.value?l():c($.c.askPermission)},[o.value,l,c]),d=Object(n.useCallback)(()=>c($.c.showPlay),[c]),p=Object(n.useCallback)(()=>{o.set(!0),l()},[o.set,l]);return Object(n.createElement)(n.Fragment,null,o.value&&Object(n.createElement)(B.Helmet,null,Object(n.createElement)("script",{src:"https://fast.wistia.com/assets/external/E-v1.js",async:!0})),Object(n.createElement)("div",{className:"yst-relative yst-w-full yst-h-0 yst-pt-[56.25%] yst-overflow-hidden yst-rounded-md yst-drop-shadow-md yst-bg-white"},i===$.c.showPlay&&Object(n.createElement)("button",{className:"yst-absolute yst-inset-0 yst-button yst-p-0 yst-border-none yst-bg-white yst-transition-opacity yst-duration-1000 yst-opacity-100",onClick:u},Object(n.createElement)("img",y()({className:"yst-w-full yst-h-auto",alt:"",loading:"lazy",decoding:"async"},a))),i===$.c.askPermission&&Object(n.createElement)("div",{className:"yst-absolute yst-inset-0 yst-flex yst-flex-col yst-items-center yst-justify-center yst-bg-white"},Object(n.createElement)("p",{className:"yst-max-w-xs yst-mx-auto yst-text-center"},o.status===$.b.loading&&Object(n.createElement)(s.Spinner,null),o.status!==$.b.loading&&Object(r.sprintf)( /* translators: %1$s expands to Yoast SEO. %2$s expands to Wistia. */ Object(r.__)("To see this video, you need to allow %1$s to load embedded videos from %2$s.","wordpress-seo"),"Yoast SEO","Wistia")),Object(n.createElement)("div",{className:"yst-flex yst-mt-6 yst-gap-x-4"},Object(n.createElement)(s.Button,{type:"button",variant:"secondary",onClick:d,disabled:o.status===$.b.loading},Object(r.__)("Deny","wordpress-seo")),Object(n.createElement)(s.Button,{type:"button",variant:"primary",onClick:p,disabled:o.status===$.b.loading},Object(r.__)("Allow","wordpress-seo")))),o.value&&i===$.c.isPlaying&&Object(n.createElement)("div",{className:"yst-absolute yst-w-full yst-h-full yst-top-0 yst-left-0"},null===t&&Object(n.createElement)(s.Spinner,{className:"yst-h-full yst-mx-auto"}),null!==t&&Object(n.createElement)("div",{className:`wistia_embed wistia_async_${t} videoFoam=true`}))))};U.propTypes={videoId:i.a.string.isRequired,thumbnail:i.a.shape({src:i.a.string.isRequired,width:i.a.string,height:i.a.string}).isRequired,wistiaEmbedPermission:i.a.shape({value:i.a.bool.isRequired,status:i.a.string.isRequired,set:i.a.func.isRequired}).isRequired}},,,,function(e,t,a){"use strict";function n(e){return function(){return e}}var r=function(){};r.thatReturns=n,r.thatReturnsFalse=n(!1),r.thatReturnsTrue=n(!0),r.thatReturnsNull=n(null),r.thatReturnsThis=function(){return this},r.thatReturnsArgument=function(e){return e},e.exports=r},function(e,t,a){"use strict";a.r(t),a.d(t,"refreshDelay",(function(){return n}));const n=500},,function(e,t,a){"use strict";a.d(t,"a",(function(){return p})),a.d(t,"b",(function(){return m}));var n=a(4),r=a(14),s=a(65);function o(){return Object(n.get)(window,["wpseoAdminL10n","default_query_params"],{})}var i=a(123),c=a(68),l=a(55),u=a(101),d=a(88);function p(){const e=Object(n.get)(window,["wpseoScriptData","analysis","worker","url"],"analysis-worker.js"),t=Object(r.createWorker)(e),a=Object(n.get)(window,["wpseoScriptData","analysis","worker","dependencies"],[]),s=[];for(const e in a){if(!Object.prototype.hasOwnProperty.call(a,e))continue;const t=window.document.getElementById(e+"-js-translations");if(!t)continue;const n=t.innerHTML.slice(214),r=n.indexOf(","),o=n.slice(0,r-1);try{const e=JSON.parse(n.slice(r+1,-4));s.push([o,e])}catch(t){console.warn(`Failed to parse translation data for ${e} to send to the Yoast SEO worker`);continue}}return t.postMessage({dependencies:a,translations:s}),new r.AnalysisWorkerWrapper(t)}function m(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t={locale:Object(s.a)(),contentAnalysisActive:Object(c.a)(),keywordAnalysisActive:Object(l.a)(),inclusiveLanguageAnalysisActive:Object(u.a)(),defaultQueryParams:o(),logLevel:Object(n.get)(window,["wpseoScriptData","analysis","worker","log_level"],"ERROR"),enabledFeatures:Object(d.enabledFeatures)()};t=Object(n.merge)(t,e);const a=Object(i.a)();return Object(n.isUndefined)(a)||Object(n.isUndefined)(a.domain)||(t.translations=a),t}},function(e,t){e.exports=window.yoast.reactHelmet},function(e,t,a){"use strict";a.d(t,"a",(function(){return n}));class n{static get articleTypeInput(){return document.getElementById("yoast_wpseo_schema_article_type")}static get defaultArticleType(){return n.articleTypeInput.getAttribute("data-default")}static get articleType(){return n.articleTypeInput.value}static set articleType(e){n.articleTypeInput.value=e}static get pageTypeInput(){return document.getElementById("yoast_wpseo_schema_page_type")}static get defaultPageType(){return n.pageTypeInput.getAttribute("data-default")}static get pageType(){return n.pageTypeInput.value}static set pageType(e){n.pageTypeInput.value=e}}},function(e,t,a){"use strict";a.d(t,"b",(function(){return d}));var n=a(0),r=a(1),s=a(40),o=a(2),i=a.n(o),c=a(4),l=a(78),u=a(22);const d=e=>{let t=!0;if("blur"===e.type){const{relatedTarget:a}=e;if(a){const e=["media-modal","wp-core-ui"];t=Object(c.intersection)(e,Array.from(a.classList)).length!==e.length}}return t},p=e=>{let{id:t,postTypeName:a,children:o,title:i,isOpen:c,close:p,open:m,shouldCloseOnClickOutside:b,showChangesWarning:h}=e;const g=Object(n.useCallback)(e=>{d(e)&&p()},[p]);return Object(n.createElement)(n.Fragment,null,c&&Object(n.createElement)(u.LocationProvider,{value:"modal"},Object(n.createElement)(s.a,{title:i,onRequestClose:g,additionalClassName:"yoast-collapsible-modal yoast-post-settings-modal",id:"id",shouldCloseOnClickOutside:b},Object(n.createElement)("div",{className:"yoast-content-container"},Object(n.createElement)("div",{className:"yoast-modal-content"},o)),Object(n.createElement)("div",{className:"yoast-notice-container"},Object(n.createElement)("hr",null),Object(n.createElement)("div",{className:"yoast-button-container"},h&&Object(n.createElement)("p",null, /* Translators: %s translates to the Post Label in singular form */ Object(r.sprintf)(Object(r.__)("Make sure to save your %s for changes to take effect","wordpress-seo"),a)),Object(n.createElement)("button",{className:"yoast-button yoast-button--primary yoast-button--post-settings-modal",type:"button",onClick:g}, /* Translators: %s translates to the Post Label in singular form */ Object(r.sprintf)(Object(r.__)("Return to your %s","wordpress-seo"),a)))))),Object(n.createElement)(l.a,{id:t+"-open-button",title:i,suffixIcon:{size:"20px",icon:"pencil-square"},onClick:m}))};p.propTypes={id:i.a.string.isRequired,postTypeName:i.a.string.isRequired,children:i.a.oneOfType([i.a.node,i.a.arrayOf(i.a.node)]).isRequired,title:i.a.string.isRequired,isOpen:i.a.bool.isRequired,open:i.a.func.isRequired,close:i.a.func.isRequired,shouldCloseOnClickOutside:i.a.bool,showChangesWarning:i.a.bool},p.defaultProps={shouldCloseOnClickOutside:!0,showChangesWarning:!0},t.a=p},function(e,t,a){"use strict";function n(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}a.d(t,"a",(function(){return n}))},function(e,t,a){"use strict";a.d(t,"a",(function(){return s}));var n=a(17),r=a(4);function s(){const e=Object(n.a)();return 1===Object(r.get)(e,"inclusiveLanguageAnalysisActive",0)}},function(e,t,a){"use strict";a.d(t,"a",(function(){return g})),a.d(t,"c",(function(){return y})),a.d(t,"b",(function(){return f}));var n=a(0),r=a(2),s=a.n(r),o=a(1),i=a(4),c=a(86),l=a.n(c),u=a(8),d=a(9),p=a(79),m=()=>Object(n.createElement)("p",{className:"yoast-wincher-seo-performance-modal__loading-message"},Object(o.__)("Tracking the ranking position...","wordpress-seo")," ",Object(n.createElement)(u.SvgIcon,{icon:"loading-spinner"}));const b=Object(d.makeOutboundLink)();function h(e){return Math.round(100*e)}function g(e){let{chartData:t}=e;if(Object(i.isEmpty)(t)||Object(i.isEmpty)(t.position))return"?";const a=function(e){return Array.from({length:e.position.history.length},(e,t)=>t+1).map(e=>Object(o.sprintf)(Object(o._n)("%d day","%d days",e,"wordpress-seo"),e))}(t),r=t.position.history.map((e,t)=>({x:t,y:101-e.value}));return Object(n.createElement)(p.a,{width:66,height:24,data:r,strokeWidth:1.8,strokeColor:"#498afc",fillColor:"#ade3fc",className:"yoast-related-keyphrases-modal__chart",mapChartDataToTableData:h,dataTableCaption:Object(o.__)("Keyphrase position in the last 90 days on a scale from 0 to 100.","wordpress-seo"),dataTableHeaderLabels:a})}function y(e){return!e||!e.position||e.position.value>100?"> 100":e.position.value}function f(e){const{keyphrase:t,rowData:a,onTrackKeyphrase:r,onUntrackKeyphrase:s,isFocusKeyphrase:c,isDisabled:d,isLoading:p}=e,h=!Object(i.isEmpty)(a),f=Object(n.useCallback)(()=>{d||(h?s(t,a.id):r(t))},[t,r,s,h,a,d]);return Object(n.createElement)("tr",null,Object(n.createElement)("td",{className:"yoast-table--nopadding"},function(e){let{keyphrase:t,isEnabled:a,toggleAction:r,isLoading:s}=e;return s?Object(n.createElement)(u.SvgIcon,{icon:"loading-spinner"}):Object(n.createElement)(u.Toggle,{id:"toggle-keyphrase-tracking-"+t,className:"wincher-toggle",isEnabled:a,onSetToggleState:r,showToggleStateLabel:!1})}({keyphrase:t,isEnabled:h,toggleAction:f,isLoading:p})),Object(n.createElement)("td",null,t,c&&Object(n.createElement)("span",null,"*")),function(e){const{rowData:t,websiteId:a}=e,r=!Object(i.isEmpty)(t),s=t&&t.updated_at&&l()(t.updated_at)>=l()().subtract(7,"days"),c=t?Object(o.sprintf)("https://app.wincher.com/websites/%s/keywords?serp=%s&utm_medium=plugin&utm_source=yoast&referer=yoast&partner=yoast",a,t.id):null;return r?s?Object(n.createElement)(n.Fragment,null,Object(n.createElement)("td",null,y(t)),Object(n.createElement)("td",{className:"yoast-table--nopadding"},Object(n.createElement)(g,{chartData:t})),Object(n.createElement)("td",{className:"yoast-table--nobreak"},Object(n.createElement)(b,{href:c},Object(o.__)("View","wordpress-seo")))):Object(n.createElement)(n.Fragment,null,Object(n.createElement)("td",{className:"yoast-table--nopadding",colSpan:"3"},Object(n.createElement)(m,null))):Object(n.createElement)(n.Fragment,null,Object(n.createElement)("td",null,"?"),Object(n.createElement)("td",{className:"yoast-table--nopadding"},"?"),Object(n.createElement)("td",{className:"yoast-table--nobreak"}))}(e))}g.propTypes={chartData:s.a.object},g.defaultProps={chartData:{}},f.propTypes={rowData:s.a.object,keyphrase:s.a.string.isRequired,onTrackKeyphrase:s.a.func,onUntrackKeyphrase:s.a.func,isFocusKeyphrase:s.a.bool,isDisabled:s.a.bool,isLoading:s.a.bool,websiteId:s.a.string},f.defaultProps={rowData:{},onTrackKeyphrase:()=>{},onUntrackKeyphrase:()=>{},isFocusKeyphrase:!1,isDisabled:!1,isLoading:!1,websiteId:""}},,,,,function(e,t,a){"use strict";a.d(t,"a",(function(){return i}));var n,r,s=a(3);function o(){return(o=Object.assign||function(e){for(var t=1;te.isTitleShortened?"#F5F7F7":"transparent"}; border: 1px solid #C7C7C7; border-left: 4px solid${b.colors.$color_pink_dark}; padding: 0 16px; margin-bottom: 1.5em; `,E=e=>{let{limit:t,usage:a,isTitleShortened:n,isFreeAccount:r}=e;const o=Object(p.sprintf)( /* Translators: %1$s expands to the number of used keywords. * %2$s expands to the account keywords limit. */ Object(p.__)("Your are tracking %1$s out of %2$s keyphrases included in your free account.","wordpress-seo"),a,t),i=Object(p.sprintf)( /* Translators: %1$s expands to the number of used keywords. * %2$s expands to the account keywords limit. */ Object(p.__)("Your are tracking %1$s out of %2$s keyphrases included in your account.","wordpress-seo"),a,t),c=r?o:i,l=Object(p.sprintf)( /* Translators: %1$s expands to the number of used keywords. * %2$s expands to the account keywords limit. */ Object(p.__)("Keyphrases tracked: %1$s/%2$s","wordpress-seo"),a,t),u=n?l:c;return Object(s.createElement)(y,null,n&&Object(s.createElement)(f,{icon:"exclamation-triangle",color:b.colors.$color_pink_dark,size:"14px"}),u)};E.propTypes={limit:d.a.number.isRequired,usage:d.a.number.isRequired,isTitleShortened:d.a.bool,isFreeAccount:d.a.bool};const v=Object(h.makeOutboundLink)(),_=e=>{let{discount:t,months:a}=e;const n=Object(s.createElement)(v,{href:wpseoAdminGlobalL10n["links.wincher.upgrade"],style:{fontWeight:600}},Object(p.sprintf)( /* Translators: %s : Expands to "Wincher". */ Object(p.__)("Click here to upgrade your %s plan","wordpress-seo"),"Wincher"));if(!t||!a)return Object(s.createElement)(O,null,n);const r=100*t,o=Object(p.sprintf)( /* Translators: %1$s expands to upgrade account link. * %2$s expands to the upgrade discount value. * %3$s expands to the upgrade discount duration e.g. 2 months. */ Object(p.__)("%1$s and get an exclusive %2$s discount for %3$s month(s).","wordpress-seo"),"{{wincherAccountUpgradeLink/}}",r+"%",a);return Object(s.createElement)(O,null,l()({mixedString:o,components:{wincherAccountUpgradeLink:n}}))};_.propTypes={discount:d.a.number,months:d.a.number};const k=e=>{let{onClose:t,isTitleShortened:a}=e;const n=(()=>{const[e,t]=Object(s.useState)(null);return Object(s.useEffect)(()=>{e||Object(g.b)().then(e=>t(e))},[e]),e})(),o=(()=>{const[e,t]=Object(s.useState)(null);return Object(s.useEffect)(()=>{e||Object(g.e)().then(e=>t(e))},[e]),e})();if(null===n)return null;const{limit:i,usage:c}=n;if(!(i&&c/i>=.8))return null;const l=Boolean(null==o?void 0:o.discount);return Object(s.createElement)(j,{isTitleShortened:a},t&&Object(s.createElement)(w,{"aria-label":Object(p.__)("Close the upgrade callout","wordpress-seo"),onClick:t},Object(s.createElement)(m.SvgIcon,{icon:"times-circle",color:b.colors.$color_pink_dark,size:"14px"})),Object(s.createElement)(E,r()({},n,{isTitleShortened:a,isFreeAccount:l})),Object(s.createElement)(_,{discount:null==o?void 0:o.discount,months:null==o?void 0:o.months}))};k.propTypes={onClose:d.a.func,isTitleShortened:d.a.bool},t.a=k},function(e,t,a){"use strict";a.d(t,"a",(function(){return n}));class n{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};this.url=e,this.origin=new URL(e).origin,this.eventHandlers=Object.assign({success:{type:"",callback:()=>{}},error:{type:"",callback:()=>{}}},t),this.options=Object.assign({height:570,width:340,title:""},a),this.popup=null,this.createPopup=this.createPopup.bind(this),this.messageHandler=this.messageHandler.bind(this),this.getPopup=this.getPopup.bind(this)}createPopup(){const{height:e,width:t,title:a}=this.options,n=["top="+(window.top.outerHeight/2+window.top.screenY-e/2),"left="+(window.top.outerWidth/2+window.top.screenX-t/2),"width="+t,"height="+e,"resizable=1","scrollbars=1","status=0"];this.popup&&!this.popup.closed||(this.popup=window.open(this.url,a,n.join(","))),this.popup&&this.popup.focus(),window.addEventListener("message",this.messageHandler,!1)}async messageHandler(e){const{data:t,source:a,origin:n}=e;n===this.origin&&this.popup===a&&(t.type===this.eventHandlers.success.type&&(this.popup.close(),window.removeEventListener("message",this.messageHandler,!1),await this.eventHandlers.success.callback(t)),t.type===this.eventHandlers.error.type&&(this.popup.close(),window.removeEventListener("message",this.messageHandler,!1),await this.eventHandlers.error.callback(t)))}getPopup(){return this.popup}isClosed(){return!this.popup||this.popup.closed}focus(){this.isClosed()||this.popup.focus()}}},function(e,t,a){"use strict";var n=a(0),r=a(2),s=a.n(r),o=a(1),i=a(28),c=a.n(i),l=a(8);const u=e=>{const t=Object(o.sprintf)( /* translators: %s expands to a link to open the Wincher login popup. */ Object(o.__)("It seems like something went wrong when retrieving your website's data. Please %s and try again.","wordpress-seo"),"{{reconnectToWincher/}}","Wincher");return Object(n.createElement)(l.Alert,{type:"error",className:e.className},c()({mixedString:t,components:{reconnectToWincher:Object(n.createElement)("a",{href:"#",onClick:t=>{t.preventDefault(),e.onReconnect()}},Object(o.sprintf)( /* translators: %s : Expands to "Wincher". */ Object(o.__)("reconnect to %s","wordpress-seo"),"Wincher"))}}))};u.propTypes={onReconnect:s.a.func.isRequired,className:s.a.string},u.defaultProps={className:""},t.a=u},function(e,t,a){"use strict";var n=a(0),r=a(2),s=a.n(r),o=a(11),i=a.n(o),c=a(28),l=a.n(c),u=a(1),d=a(8),p=a(9),m=a(15),b=a(22);const h=i()(d.Alert)` p { margin: 0; } `,g=Object(p.makeOutboundLink)(),y=e=>{const t=Object(u.sprintf)( /* Translators: %s expands to the social medium name, which is either Twitter or Facebook. %s expands to Yoast SEO Premium */ Object(u.__)("Want to see how your content will look when it’s shared on %s?","wordpress-seo"),e.socialMediumName),a=Object(u.sprintf)( /* Translators: %s expands to Yoast SEO Premium */ Object(u.__)("Get %s to unlock social previews!","wordpress-seo"),"Yoast SEO Premium"),{locationContext:r}=Object(b.useRootContext)();return Object(n.createElement)(n.Fragment,null,Object(n.createElement)(h,{type:"info"},l()({mixedString:t,components:{strong:Object(n.createElement)("b",null)}}),Object(n.createElement)("br",null),Object(n.createElement)(g,{"data-action":"load-nfd-ctb","data-ctb-id":"f6a84663-465f-4cb5-8ba5-f7a6d72224b2",href:Object(m.addQueryArgs)(wpseoAdminL10n["shortlinks.upsell.social_preview."+e.socialMediumName.toLowerCase()],{context:r})},Object(n.createElement)("p",null,a))))};y.propTypes={socialMediumName:s.a.oneOf(["Twitter","Facebook"]).isRequired};var f=y,w=a(42),O=a(113);class j extends n.Component{constructor(e){super(e),this.state={activeField:"",hoveredField:""},this.setHoveredField=this.setHoveredField.bind(this),this.setActiveField=this.setActiveField.bind(this),this.setEditorRef=this.setEditorRef.bind(this),this.setEditorFocus=this.setEditorFocus.bind(this)}setHoveredField(e){e!==this.state.hoveredField&&this.setState({hoveredField:e})}setActiveField(e){e!==this.state.activeField&&this.setState({activeField:e},()=>this.setEditorFocus(e))}setEditorFocus(e){switch(e){case"title":this.titleEditorRef.focus();break;case"description":this.descriptionEditorRef.focus()}}setEditorRef(e,t){switch(e){case"title":this.titleEditorRef=t;break;case"description":this.descriptionEditorRef=t}}render(){const{onDescriptionChange:e,onTitleChange:t,onSelectImageClick:a,onRemoveImageClick:r,socialMediumName:s,imageWarnings:o,description:i,descriptionInputPlaceholder:c,imageUrl:l,alt:u,title:d,titleInputPlaceholder:p,replacementVariables:m,recommendedReplacementVariables:b,onReplacementVariableSearchChange:h,isPremium:g,location:y}=this.props;return Object(n.createElement)(n.Fragment,null,Object(n.createElement)(f,{socialMediumName:s}),Object(n.createElement)(w.SocialMetadataPreviewForm,{onDescriptionChange:e,socialMediumName:s,title:d,titleInputPlaceholder:p,onRemoveImageClick:r,imageSelected:!!l,imageUrl:l,imageAltText:u,onTitleChange:t,onSelectImageClick:a,description:i,descriptionInputPlaceholder:c,imageWarnings:o,replacementVariables:m,recommendedReplacementVariables:b,onReplacementVariableSearchChange:h,onMouseHover:this.setHoveredField,hoveredField:this.state.hoveredField,onSelect:this.setActiveField,activeField:this.state.activeField,isPremium:g,setEditorRef:this.setEditorRef,idSuffix:y}))}}j.propTypes={title:s.a.string.isRequired,onTitleChange:s.a.func.isRequired,description:s.a.string.isRequired,onDescriptionChange:s.a.func.isRequired,imageUrl:s.a.string.isRequired,onSelectImageClick:s.a.func.isRequired,onRemoveImageClick:s.a.func.isRequired,socialMediumName:s.a.string.isRequired,isPremium:s.a.bool,imageWarnings:s.a.array,descriptionInputPlaceholder:s.a.string,titleInputPlaceholder:s.a.string,replacementVariables:O.replacementVariablesShape,recommendedReplacementVariables:O.recommendedReplacementVariablesShape,onReplacementVariableSearchChange:s.a.func,location:s.a.string,alt:s.a.string},j.defaultProps={imageWarnings:[],recommendedReplacementVariables:[],replacementVariables:[],isPremium:!1,descriptionInputPlaceholder:"",titleInputPlaceholder:"",onReplacementVariableSearchChange:null,location:"",alt:""},t.a=j},function(e,t,a){"use strict";function n(e){const t=new window.CustomEvent(e);window.dispatchEvent(t)}a.d(t,"a",(function(){return n}))},function(e,t){e.exports=window.yoast.replacementVariableEditor},function(e,t,a){"use strict";a.d(t,"a",(function(){return r}));var n=a(4);const r=function(){for(var e=arguments.length,t=new Array(e),a=0;at.map(e=>e())};t.b=(e,t)=>{let a=e();return()=>{const r=e();Object(n.isEqual)(r,a)||(a=r,t(Object(n.clone)(r)))}}},function(e,t,a){"use strict";a.d(t,"b",(function(){return u})),a.d(t,"a",(function(){return d}));var n=a(0),r=a(18),s=a(17),o=a(77);const i=[];let c=null;class l extends n.Component{constructor(e){super(e),this.state={registeredComponents:[]}}registerComponent(e,t){this.setState({registeredComponents:[...this.state.registeredComponents,{key:e,Component:t}]})}render(){return this.state.registeredComponents.map(e=>{let{Component:t,key:a}=e;return Object(n.createElement)(t,{key:a})})}}function u(e,t){const a=Object(s.a)();c=Object(n.createRef)();const u={isRtl:a.isRtl};Object(n.render)(Object(n.createElement)(o.a,{theme:u,location:"sidebar"},Object(n.createElement)(r.SlotFillProvider,null,Object(n.createElement)(n.Fragment,null,t,Object(n.createElement)(l,{ref:c})))),document.getElementById(e)),i.forEach(e=>{c.current.registerComponent(e.key,e.Component)})}function d(e,t){null===c||null===c.current?i.push({key:e,Component:t}):c.current.registerComponent(e,t)}},function(e,t,a){"use strict";var n=a(0),r=a(1),s=a(28),o=a.n(s),i=a(9);const c=Object(i.makeOutboundLink)(),l=Object(i.makeOutboundLink)();t.a=()=>{const e=Object(r.sprintf)(Object(r.__)( /* translators: %1$s expands to a link to Wincher, %2$s expands to a link to the keyphrase tracking article on Yoast.com */ "With %1$s you can track the ranking position of your page in the search results based on your keyphrase(s). %2$s","wordpress-seo"),"{{wincherLink/}}","{{wincherReadMoreLink/}}");return Object(n.createElement)("p",null,o()({mixedString:e,components:{wincherLink:Object(n.createElement)(c,{href:wpseoAdminGlobalL10n["links.wincher.website"]},"Wincher"),wincherReadMoreLink:Object(n.createElement)(l,{href:wpseoAdminL10n["shortlinks.wincher.seo_performance"]},Object(r.__)("Read more about keyphrase tracking with Wincher","wordpress-seo"))}}))}},function(e,t,a){"use strict";var n=a(5),r=a(20),s=a(12),o=a.n(s),i=a(0),c=a(1),l=a(2),u=a.n(l),d=a(4),p=a(11),m=a.n(p),b=a(8),h=a(9),g=a(28),y=a.n(g);const f=Object(h.makeOutboundLink)(),w=e=>{const t=Object(c.sprintf)( /* translators: %d expands to the amount of allowed keyphrases on a free account, %s expands to a link to Wincher plans. */ Object(c.__)("You've reached the maximum amount of %d keyphrases you can add to your Wincher account. If you wish to add more keyphrases, please %s.","wordpress-seo"),e.limit,"{{updateWincherPlanLink/}}");return Object(i.createElement)(b.Alert,{type:"error"},y()({mixedString:t,components:{updateWincherPlanLink:Object(i.createElement)(f,{href:wpseoAdminGlobalL10n["links.wincher.pricing"]},Object(c.sprintf)( /* translators: %s : Expands to "Wincher". */ Object(c.__)("upgrade your %s plan","wordpress-seo"),"Wincher"))}}))};w.propTypes={limit:u.a.number},w.defaultProps={limit:10};var O=w,j=()=>Object(i.createElement)(b.Alert,{type:"error"},Object(c.__)("Something went wrong while tracking the ranking position(s) of your page. Please try again later.","wordpress-seo")),E=a(108),v=()=>Object(i.createElement)(b.Alert,{type:"success"},Object(c.sprintf)( /* translators: %s: Expands to "Wincher". */ Object(c.__)("You have successfully connected to %s! You can now track the SEO performance for the keyphrase(s) of this page.","wordpress-seo"),"Wincher")),_=()=>Object(i.createElement)(b.Alert,{type:"info"},Object(c.sprintf)( /* translators: %s: Expands to "Wincher". */ Object(c.__)("%s is currently tracking the ranking position(s) of your page. This may take a few minutes. Please wait or check back later.","wordpress-seo"),"Wincher")),k=a(102),T=a(34),x=a(29);const S=Object(h.makeOutboundLink)(),R=m.a.span` display: block; font-style: italic; @media (min-width: 782px) { display: inline; position: absolute; ${Object(h.getDirectionalStyle)("right","left")}: 8px; } `,C=m.a.th` min-width: 60px; `,P=m.a.div` width: 100%; overflow-y: auto; `,L=e=>{const t=Object(i.useRef)();return Object(i.useEffect)(()=>{t.current=e}),t.current},A=Object(d.debounce)(T.d,500,{leading:!0}),I=e=>{const{addTrackedKeyphrase:t,isLoggedIn:a,keyphrases:n,permalink:r,removeTrackedKeyphrase:s,setKeyphraseLimitReached:o,setRequestFailed:l,setRequestSucceeded:u,setTrackedKeyphrases:p,setHasTrackedAll:m,trackAll:b,trackedKeyphrases:h,isNewlyAuthenticated:g,websiteId:y,focusKeyphrase:f,newRequest:w}=e,O=Object(i.useRef)(),j=Object(i.useRef)(),E=Object(i.useRef)(!1),[v,_]=Object(i.useState)([]),I=Object(i.useCallback)(e=>{const t=e.toLowerCase();return h&&!Object(d.isEmpty)(h)&&h.hasOwnProperty(t)?h[t]:null},[h]),N=Object(i.useMemo)(()=>async()=>{await Object(x.b)(()=>(j.current&&j.current.abort(),j.current="undefined"==typeof AbortController?null:new AbortController,A(n,r,j.current.signal)),e=>{u(e),p(e.results)},e=>{l(e)})},[u,l,p,n,r]),D=Object(i.useCallback)(async e=>{const a=(Array.isArray(e)?e:[e]).map(e=>e.toLowerCase());_(e=>[...e,...a]),await Object(x.b)(()=>Object(T.f)(a),e=>{u(e),t(e.results),N()},e=>{400===e.status&&e.limit&&o(e.limit),l(e)},201),_(e=>Object(d.without)(e,...a))},[u,l,o,t,N]),q=Object(i.useCallback)(async(e,t)=>{e=e.toLowerCase(),_(t=>[...t,e]),await Object(x.b)(()=>Object(T.g)(t),t=>{u(t),s(e)},e=>{l(e)}),_(t=>Object(d.without)(t,e))},[u,s,l]),F=Object(i.useCallback)(async e=>{w(),await D(e)},[w,D]),M=L(r),z=L(n);Object(i.useEffect)(()=>{a&&r&&(r!==M||Object(d.difference)(n,z).length)&&N()},[a,r,M,n,z,N]),Object(i.useEffect)(()=>{if(a&&b&&null!==h){const e=n.filter(e=>!I(e));e.length&&D(e),m()}},[a,b,h,D,m,I,n]),Object(i.useEffect)(()=>{g&&!E.current&&(N(),E.current=!0)},[g,N]),Object(i.useEffect)(()=>{if(a&&!Object(d.isEmpty)(h))return Object(d.filter)(h,e=>Object(d.isEmpty)(e.updated_at)).length>0&&(O.current=setInterval(()=>{N()},1e4)),()=>{clearInterval(O.current)}},[a,h,N]);const W=a&&null===h;return n&&!Object(d.isEmpty)(n)&&Object(i.createElement)(i.Fragment,null,Object(i.createElement)(P,null,Object(i.createElement)("table",{className:"yoast yoast-table"},Object(i.createElement)("thead",null,Object(i.createElement)("tr",null,Object(i.createElement)("th",{scope:"col",abbr:Object(c.__)("Tracking","wordpress-seo")},Object(c.__)("Tracking","wordpress-seo")),Object(i.createElement)("th",{scope:"col",abbr:Object(c.__)("Keyphrase","wordpress-seo")},Object(c.__)("Keyphrase","wordpress-seo")),Object(i.createElement)("th",{scope:"col",abbr:Object(c.__)("Position","wordpress-seo")},Object(c.__)("Position","wordpress-seo")),Object(i.createElement)("th",{scope:"col",abbr:Object(c.__)("Position over time","wordpress-seo")},Object(c.__)("Position over time","wordpress-seo")),Object(i.createElement)(C,{className:"yoast-table--nobreak"}))),Object(i.createElement)("tbody",null,n.map((e,t)=>Object(i.createElement)(k.b,{key:"trackable-keyphrase-"+t,keyphrase:e,onTrackKeyphrase:F,onUntrackKeyphrase:q,rowData:I(e),isFocusKeyphrase:e===f.trim().toLowerCase(),websiteId:y,isDisabled:!a,isLoading:W||v.indexOf(e.toLowerCase())>=0}))))),Object(i.createElement)("p",{style:{marginBottom:0,position:"relative"}},Object(i.createElement)(S,{href:wpseoAdminGlobalL10n["links.wincher.login"]},Object(c.sprintf)( /* translators: %s expands to Wincher */ Object(c.__)("Get more insights over at %s","wordpress-seo"),"Wincher")),Object(i.createElement)(R,null,Object(c.__)("* focus keyphrase","wordpress-seo"))))};I.propTypes={addTrackedKeyphrase:u.a.func.isRequired,isLoggedIn:u.a.bool,isNewlyAuthenticated:u.a.bool,keyphrases:u.a.array,newRequest:u.a.func.isRequired,removeTrackedKeyphrase:u.a.func.isRequired,setRequestFailed:u.a.func.isRequired,setKeyphraseLimitReached:u.a.func.isRequired,setRequestSucceeded:u.a.func.isRequired,setTrackedKeyphrases:u.a.func.isRequired,setHasTrackedAll:u.a.func.isRequired,trackAll:u.a.bool,trackedKeyphrases:u.a.object,websiteId:u.a.string,permalink:u.a.string.isRequired,focusKeyphrase:u.a.string},I.defaultProps={isLoggedIn:!1,isNewlyAuthenticated:!1,keyphrases:[],trackAll:!1,trackedKeyphrases:null,websiteId:"",focusKeyphrase:""};var N=I,D=Object(r.compose)([Object(n.withSelect)(e=>{const{getWincherWebsiteId:t,getWincherTrackedKeyphrases:a,getWincherTrackableKeyphrases:n,getWincherLoginStatus:r,getWincherPermalink:s,getFocusKeyphrase:o,isWincherNewlyAuthenticated:i,shouldWincherTrackAll:c}=e("yoast-seo/editor");return{focusKeyphrase:o(),keyphrases:n(),trackedKeyphrases:a(),isLoggedIn:r(),trackAll:c(),websiteId:t(),isNewlyAuthenticated:i(),permalink:s()}}),Object(n.withDispatch)(e=>{const{setWincherNewRequest:t,setWincherRequestSucceeded:a,setWincherRequestFailed:n,setWincherSetKeyphraseLimitReached:r,setWincherTrackedKeyphrases:s,setWincherTrackingForKeyphrase:o,setWincherTrackAllKeyphrases:i,unsetWincherTrackingForKeyphrase:c}=e("yoast-seo/editor");return{newRequest:()=>{t()},setRequestSucceeded:e=>{a(e)},setRequestFailed:e=>{n(e)},setKeyphraseLimitReached:e=>{r(e)},addTrackedKeyphrase:e=>{o(e)},removeTrackedKeyphrase:e=>{c(e)},setTrackedKeyphrases:e=>{s(e)},setHasTrackedAll:()=>{i(!1)}}})])(N),q=a(116),F=()=>Object(i.createElement)(b.Alert,{type:"error"},Object(c.__)("No keyphrase has been set. Please set a keyphrase first.","wordpress-seo")),M=()=>Object(i.createElement)(b.Alert,{type:"info"},Object(c.sprintf)( /* translators: %s: Expands to "Wincher". */ Object(c.__)("Automatic tracking of keyphrases is enabled. Your keyphrase(s) will automatically be tracked by %s when you publish your post.","wordpress-seo"),"Wincher")),z=a(109),W=a(110),B=()=>Object(i.createElement)(b.Alert,{type:"error"},Object(c.__)("Before you can track your SEO performance make sure to set either the post’s title and save it as a draft or manually set the post’s slug.","wordpress-seo"));const $=e=>{let{response:t,onLogin:a}=e;return[401,403,404].includes(t.status)?Object(i.createElement)(W.a,{onReconnect:a}):Object(i.createElement)(j,null)};$.propTypes={response:u.a.object.isRequired,onLogin:u.a.func.isRequired};const U=e=>{let{isSuccess:t,response:a,allKeyphrasesMissRanking:n,onLogin:r,keyphraseLimitReached:s,limit:o}=e;return s?Object(i.createElement)(O,{limit:o}):Object(d.isEmpty)(a)||t?n?Object(i.createElement)(_,null):null:Object(i.createElement)($,{response:a,onLogin:r})};U.propTypes={isSuccess:u.a.bool.isRequired,allKeyphrasesMissRanking:u.a.bool.isRequired,response:u.a.object,onLogin:u.a.func.isRequired,keyphraseLimitReached:u.a.bool.isRequired,limit:u.a.number.isRequired},U.defaultProps={response:{}};let K=null;const Y=async e=>{if(K&&!K.isClosed())return void K.focus();const{url:t}=await Object(T.c)();K=new z.a(t,{success:{type:"wincher:oauth:success",callback:t=>(async(e,t)=>{const{onAuthentication:a,setRequestSucceeded:n,setRequestFailed:r,keyphrases:s,addTrackedKeyphrase:o,setKeyphraseLimitReached:i}=e;await Object(x.b)(()=>Object(T.a)(t),async e=>{a(!0,!0,t.websiteId.toString()),n(e);const c=(Array.isArray(s)?s:[s]).map(e=>e.toLowerCase());await Object(x.b)(()=>Object(T.f)(c),e=>{n(e),o(e.results)},e=>{400===e.status&&e.limit&&i(e.limit),r(e)},201);const l=K.getPopup();l&&l.close()},async e=>r(e))})(e,t)},error:{type:"wincher:oauth:error",callback:()=>e.onAuthentication(!1,!1)}},{title:"Wincher_login",width:500,height:700}),K.createPopup()},V=e=>e.isLoggedIn?null:Object(i.createElement)("p",null,Object(i.createElement)(b.NewButton,{onClick:e.onLogin,variant:"primary"},Object(c.sprintf)( /* translators: %s expands to Wincher */ Object(c.__)("Connect with %s","wordpress-seo"),"Wincher")));V.propTypes={isLoggedIn:u.a.bool.isRequired,onLogin:u.a.func.isRequired};const H=m.a.div` p { margin: 1em 0; } `,G=m.a.div` ${e=>e.isDisabled&&"\n\t\topacity: .5;\n\t\tpointer-events: none;\n\t"}; `,Z=m.a.div` font-weight: var(--yoast-font-weight-bold); color: var(--yoast-color-label); font-size: var(--yoast-font-size-default); `,Q=e=>{const{isLoggedIn:t,keyphrases:a,shouldTrackAll:n,permalink:r}=e;return!r&&t?Object(i.createElement)(B,null):0===a.length?Object(i.createElement)(F,null):Object(i.createElement)(G,{isDisabled:!t},Object(i.createElement)("p",null,Object(c.__)("You can enable / disable tracking the SEO performance for each keyphrase below.","wordpress-seo")),t&&n&&Object(i.createElement)(M,null),Object(i.createElement)(D,null))};function J(e){const{isNewlyAuthenticated:t,isLoggedIn:a}=e,n=Object(i.useCallback)(()=>{Y(e)},[Y,e]);return Object(i.createElement)(H,null,t&&Object(i.createElement)(v,null),a&&Object(i.createElement)(E.a,null),Object(i.createElement)(Z,null,Object(c.__)("SEO performance","wordpress-seo"),Object(i.createElement)(b.HelpIcon,{linkTo:wpseoAdminL10n["shortlinks.wincher.seo_performance"],linkText:Object(c.__)("Learn more about the SEO performance feature.","wordpress-seo")})),Object(i.createElement)(q.a,null),Object(i.createElement)(V,{isLoggedIn:a,onLogin:n}),Object(i.createElement)(U,o()({},e,{onLogin:n})),Object(i.createElement)(Q,e))}Q.propTypes={keyphrases:u.a.array.isRequired,isLoggedIn:u.a.bool.isRequired,shouldTrackAll:u.a.bool.isRequired,permalink:u.a.string.isRequired},J.propTypes={addTrackedKeyphrase:u.a.func.isRequired,isLoggedIn:u.a.bool,isNewlyAuthenticated:u.a.bool,keyphrases:u.a.array,response:u.a.object,shouldTrackAll:u.a.bool,permalink:u.a.string},J.defaultProps={isLoggedIn:!1,isNewlyAuthenticated:!1,keyphrases:[],response:{},shouldTrackAll:!1,permalink:""},t.a=Object(r.compose)([Object(n.withSelect)(e=>{const{isWincherNewlyAuthenticated:t,getWincherKeyphraseLimitReached:a,getWincherLimit:n,getWincherLoginStatus:r,getWincherRequestIsSuccess:s,getWincherRequestResponse:o,getWincherTrackableKeyphrases:i,getWincherAllKeyphrasesMissRanking:c,getWincherPermalink:l,shouldWincherAutomaticallyTrackAll:u}=e("yoast-seo/editor");return{keyphrases:i(),allKeyphrasesMissRanking:c(),isLoggedIn:r(),isNewlyAuthenticated:t(),isSuccess:s(),keyphraseLimitReached:a(),limit:n(),response:o(),shouldTrackAll:u(),permalink:l()}}),Object(n.withDispatch)(e=>{const{setWincherWebsiteId:t,setWincherRequestSucceeded:a,setWincherRequestFailed:n,setWincherTrackingForKeyphrase:r,setWincherSetKeyphraseLimitReached:s,setWincherLoginStatus:o}=e("yoast-seo/editor");return{setRequestSucceeded:e=>{a(e)},setRequestFailed:e=>{n(e)},addTrackedKeyphrase:e=>{r(e)},setKeyphraseLimitReached:e=>{s(e)},onAuthentication:(e,a,n)=>{t(n),o(e,a)}}})])(J)},,,,function(e,t,a){"use strict";var n=a(0),r=a(1),s=a(2),o=a.n(s),i=a(132),c=a(7);const l=e=>{let{link:t,text:a}=e;return Object(n.createElement)(c.Root,null,Object(n.createElement)("p",null,a),Object(n.createElement)(c.Button,{href:t,as:"a",className:"yst-gap-2 yst-mb-5 yst-mt-2",variant:"upsell",target:"_blank",rel:"noopener"},Object(n.createElement)(i.a,{className:"yst-w-4 yst-h-4 yst--ml-1 yst-shrink-0"}),Object(r.sprintf)( /* translators: %1$s expands to Yoast WooCommerce SEO. */ Object(r.__)("Unlock with %1$s","wordpress-seo"),"Yoast WooCommerce SEO")))};l.propTypes={link:o.a.string.isRequired,text:o.a.string.isRequired},t.a=l},function(e,t,a){"use strict";a.d(t,"a",(function(){return r}));var n=a(4);class r{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(n.isString)(e)?Object(n.isUndefined)(t)||Object(n.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(n.isString)(e)?Object(n.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(n.isString)(e)?Object(n.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,a,r){if(!Object(n.isString)(e))return console.error("Failed to register modification for plugin "+a+". Expected parameter `modification` to be a string."),!1;if(!Object(n.isFunction)(t))return console.error("Failed to register modification for plugin "+a+". Expected parameter `callable` to be a function."),!1;if(!Object(n.isString)(a))return console.error("Failed to register modification for plugin "+a+". Expected parameter `pluginName` to be a string."),!1;if(!1===this._validateOrigin(a))return console.error("Failed to register modification for plugin "+a+". The integration has not finished loading yet."),!1;const s={callable:t,origin:a,priority:Object(n.isNumber)(r)?r:10};return Object(n.isUndefined)(this.modifications[e])&&(this.modifications[e]=[]),this.modifications[e].push(s),!0}_registerAssessment(e,t,a,r){return Object(n.isString)(t)?Object(n.isObject)(a)?Object(n.isString)(r)?(t=r+"-"+t,e.addAssessment(t,a),!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)}_applyModifications(e,t,a){let r=this.modifications[e];return!Object(n.isArray)(r)||r.length<1||(r=this._stripIllegalModifications(r),r.sort((e,t)=>e.priority-t.priority),Object(n.forEach)(r,(function(n){const r=n.callable(t,a);typeof r==typeof t?t=r:console.error("Modification with name "+e+" performed by plugin with name "+n.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(n.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(n.reduce)(this.plugins,(function(e,t){return e&&"ready"===t.status}),!0)}_pollTimeExceeded(){Object(n.forEach)(this.plugins,(function(e,t){Object(n.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(n.forEach)(e,(t,a)=>{!1===this._validateOrigin(t.origin)&&delete e[a]}),e}_validateOrigin(e){return"ready"===this.plugins[e].status}_validateUniqueness(e){return Object(n.isUndefined)(this.plugins[e])}}},function(e,t,a){"use strict";a.d(t,"a",(function(){return s}));var n=a(4),r=a(17);function s(){const e=Object(r.a)();return Object(n.get)(e,"translations",{domain:"wordpress-seo",locale_data:{"wordpress-seo":{"":{}}}})}},,,,function(e,t,a){"use strict";var n=a(3),r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,s=a(93),o=a(128),i=a(129),c="function"==typeof Symbol&&Symbol.iterator;function l(e,t){return e&&"object"==typeof e&&null!=e.key?(a=e.key,n={"=":"=0",":":"=2"},"$"+(""+a).replace(/[=:]/g,(function(e){return n[e]}))):t.toString(36);var a,n}var u=/\/+/g;function d(e){return(""+e).replace(u,"$&/")}var p,m,b=h,h=function(e){if(this.instancePool.length){var t=this.instancePool.pop();return this.call(t,e),t}return new this(e)};function g(e,t,a,n){this.result=e,this.keyPrefix=t,this.func=a,this.context=n,this.count=0}function y(e,t,a){var r,o,i=e.result,c=e.keyPrefix,l=e.func,u=e.context,p=l.call(u,t,e.count++);Array.isArray(p)?f(p,i,a,s.thatReturnsArgument):null!=p&&(n.isValidElement(p)&&(r=p,o=c+(!p.key||t&&t.key===p.key?"":d(p.key)+"/")+a,p=n.cloneElement(r,{key:o},void 0!==r.props?r.props.children:void 0)),i.push(p))}function f(e,t,a,n,s){var i="";null!=a&&(i=d(a)+"/");var u=g.getPooled(t,i,n,s);!function(e,t,a){null==e||function e(t,a,n,s){var i,u=typeof t;if("undefined"!==u&&"boolean"!==u||(t=null),null===t||"string"===u||"number"===u||"object"===u&&t.$$typeof===r)return n(s,t,""===a?"."+l(t,0):a),1;var d=0,p=""===a?".":a+":";if(Array.isArray(t))for(var m=0;mwpseoApi.post("alerts/dismiss",{key:t},()=>e()))}a.r(t),a.d(t,"DISMISS_ALERT",(function(){return n}))},function(e,t,a){"use strict";var n=a(3);const r=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M8 11V7a4 4 0 118 0m-4 8v2m-6 4h12a2 2 0 002-2v-6a2 2 0 00-2-2H6a2 2 0 00-2 2v6a2 2 0 002 2z"}))}));t.a=r},,function(e,t,a){"use strict";var n=a(0),r=a(28),s=a.n(r),o=a(9),i=a(1),c=a(85),l=a(2),u=a.n(l),d=a(22),p=a(15);const m=Object(o.makeOutboundLink)(),b=e=>{const t=Object(i.sprintf)( /* translators: %s expands to a 'Yoast SEO Premium' text linked to the yoast.com website. */ Object(i.__)("Great news: you can, with %s!","wordpress-seo"),"{{link}}Yoast SEO Premium{{/link}}"),a=[Object(i.sprintf)( /* translators: %1$s expands to a 'strong' start tag, %2$s to a 'strong' end tag. */ Object(i.__)("%1$sCreate content faster%2$s: Use AI to create titles & meta descriptions","wordpress-seo"),"",""),Object(i.sprintf)( /* translators: %1$s expands to a 'strong' start tag, %2$s to a 'strong' end tag. */ Object(i.__)("%1$sNo more dead links%2$s: easy redirect manager","wordpress-seo"),"",""),`${Object(i.__)("Superfast internal linking suggestions","wordpress-seo")}`,Object(i.sprintf)( /* translators: %1$s expands to a 'strong' start tag, %2$s to a 'strong' end tag. */ Object(i.__)("%1$sSocial media preview%2$s: Facebook & Twitter","wordpress-seo"),"",""),`${Object(i.__)("24/7 email support","wordpress-seo")}`,`${Object(i.__)("No ads!","wordpress-seo")}`],{locationContext:r}=Object(d.useRootContext)(),o=s()({mixedString:t,components:{link:Object(n.createElement)(m,{href:Object(p.addQueryArgs)(e.link,{context:r})})}}),l=Object(i.sprintf)( /* translators: %s expands to 'Yoast SEO Premium'. */ Object(i.__)("Other benefits of %s for you:","wordpress-seo"),"Yoast SEO Premium");return Object(n.createElement)(c.a,{infoParagraphs:[o,l],benefits:a,upsellButtonText:Object(i.sprintf)( /* translators: %s expands to 'Yoast SEO Premium'. */ Object(i.__)("Get %s","wordpress-seo"),"Yoast SEO Premium"),upsellButton:{href:Object(p.addQueryArgs)(e.buyLink,{context:r}),className:"yoast-button-upsell",rel:null,"data-ctb-id":"f6a84663-465f-4cb5-8ba5-f7a6d72224b2","data-action":"load-nfd-ctb"},upsellButtonLabel:Object(i.__)("1 year free support and updates included!","wordpress-seo")})};b.propTypes={link:u.a.string.isRequired,buyLink:u.a.string.isRequired},t.a=b},function(e,t,a){"use strict";var n=a(20),r=a(5);const s=Object(n.compose)([Object(r.withSelect)((e,t)=>{const{isAlertDismissed:a}=e(t.store||"yoast-seo/editor");return{isAlertDismissed:a(t.alertKey)}}),Object(r.withDispatch)((e,t)=>{const{dismissAlert:a}=e(t.store||"yoast-seo/editor");return{onDismissed:()=>a(t.alertKey)}})]);t.a=s},function(e,t,a){"use strict";var n=a(5),r=a(20),s=a(0),o=a(1),i=a(2),c=a.n(i),l=a(4),u=a(8),d=()=>Object(s.createElement)("p",{className:"yoast-related-keyphrases-modal__loading-message"},Object(o.sprintf)( /* translators: %1$s expands to "Yoast SEO", %2$s expands to "Semrush". */ Object(o.__)("Please wait while %1$s connects to %2$s to get related keyphrases...","wordpress-seo"),"Yoast SEO","Semrush")," ",Object(s.createElement)(u.SvgIcon,{icon:"loading-spinner"})),p=a(9);const m=Object(p.makeOutboundLink)();var b=()=>Object(s.createElement)(s.Fragment,null,Object(s.createElement)("p",null,Object(o.sprintf)( /* translators: %s : Expands to "Semrush". */ Object(o.__)("You've reached your request limit for today. Check back tomorrow or upgrade your plan over at %s.","wordpress-seo"),"Semrush")),Object(s.createElement)(m,{href:window.wpseoAdminL10n["shortlinks.semrush.prices"],className:"yoast-button-upsell"},Object(o.sprintf)( /* translators: %s : Expands to "Semrush". */ Object(o.__)("Upgrade your %s plan","wordpress-seo"),"Semrush"),Object(s.createElement)("span",{"aria-hidden":"true",className:"yoast-button-upsell__caret"}))),h=a(25),g=a.n(h),y=a(15);const f="yoast-semrush-country-selector",w=[{value:"us",name:"United States - US"},{value:"uk",name:"United Kingdom - UK"},{value:"ca",name:"Canada - CA"},{value:"ru",name:"Russia - RU"},{value:"de",name:"Germany - DE"},{value:"fr",name:"France - FR"},{value:"es",name:"Spain - ES"},{value:"it",name:"Italy - IT"},{value:"br",name:"Brazil - BR"},{value:"au",name:"Australia - AU"},{value:"ar",name:"Argentina - AR"},{value:"be",name:"Belgium - BE"},{value:"ch",name:"Switzerland - CH"},{value:"dk",name:"Denmark - DK"},{value:"fi",name:"Finland - FI"},{value:"hk",name:"Hong Kong - HK"},{value:"ie",name:"Ireland - IE"},{value:"il",name:"Israel - IL"},{value:"mx",name:"Mexico - MX"},{value:"nl",name:"Netherlands - NL"},{value:"no",name:"Norway - NO"},{value:"pl",name:"Poland - PL"},{value:"se",name:"Sweden - SE"},{value:"sg",name:"Singapore - SG"},{value:"tr",name:"Turkey - TR"},{value:"jp",name:"Japan - JP"},{value:"in",name:"India - IN"},{value:"hu",name:"Hungary - HU"},{value:"af",name:"Afghanistan - AF"},{value:"al",name:"Albania - AL"},{value:"dz",name:"Algeria - DZ"},{value:"ao",name:"Angola - AO"},{value:"am",name:"Armenia - AM"},{value:"at",name:"Austria - AT"},{value:"az",name:"Azerbaijan - AZ"},{value:"bh",name:"Bahrain - BH"},{value:"bd",name:"Bangladesh - BD"},{value:"by",name:"Belarus - BY"},{value:"bz",name:"Belize - BZ"},{value:"bo",name:"Bolivia - BO"},{value:"ba",name:"Bosnia and Herzegovina - BA"},{value:"bw",name:"Botswana - BW"},{value:"bn",name:"Brunei - BN"},{value:"bg",name:"Bulgaria - BG"},{value:"cv",name:"Cabo Verde - CV"},{value:"kh",name:"Cambodia - KH"},{value:"cm",name:"Cameroon - CM"},{value:"cl",name:"Chile - CL"},{value:"co",name:"Colombia - CO"},{value:"cr",name:"Costa Rica - CR"},{value:"hr",name:"Croatia - HR"},{value:"cy",name:"Cyprus - CY"},{value:"cz",name:"Czech Republic - CZ"},{value:"cd",name:"Congo - CD"},{value:"do",name:"Dominican Republic - DO"},{value:"ec",name:"Ecuador - EC"},{value:"eg",name:"Egypt - EG"},{value:"sv",name:"El Salvador - SV"},{value:"ee",name:"Estonia - EE"},{value:"et",name:"Ethiopia - ET"},{value:"ge",name:"Georgia - GE"},{value:"gh",name:"Ghana - GH"},{value:"gr",name:"Greece - GR"},{value:"gt",name:"Guatemala - GT"},{value:"gy",name:"Guyana - GY"},{value:"ht",name:"Haiti - HT"},{value:"hn",name:"Honduras - HN"},{value:"is",name:"Iceland - IS"},{value:"id",name:"Indonesia - ID"},{value:"jm",name:"Jamaica - JM"},{value:"jo",name:"Jordan - JO"},{value:"kz",name:"Kazakhstan - KZ"},{value:"kw",name:"Kuwait - KW"},{value:"lv",name:"Latvia - LV"},{value:"lb",name:"Lebanon - LB"},{value:"lt",name:"Lithuania - LT"},{value:"lu",name:"Luxembourg - LU"},{value:"mg",name:"Madagascar - MG"},{value:"my",name:"Malaysia - MY"},{value:"mt",name:"Malta - MT"},{value:"mu",name:"Mauritius - MU"},{value:"md",name:"Moldova - MD"},{value:"mn",name:"Mongolia - MN"},{value:"me",name:"Montenegro - ME"},{value:"ma",name:"Morocco - MA"},{value:"mz",name:"Mozambique - MZ"},{value:"na",name:"Namibia - NA"},{value:"np",name:"Nepal - NP"},{value:"nz",name:"New Zealand - NZ"},{value:"ni",name:"Nicaragua - NI"},{value:"ng",name:"Nigeria - NG"},{value:"om",name:"Oman - OM"},{value:"py",name:"Paraguay - PY"},{value:"pe",name:"Peru - PE"},{value:"ph",name:"Philippines - PH"},{value:"pt",name:"Portugal - PT"},{value:"ro",name:"Romania - RO"},{value:"sa",name:"Saudi Arabia - SA"},{value:"sn",name:"Senegal - SN"},{value:"rs",name:"Serbia - RS"},{value:"sk",name:"Slovakia - SK"},{value:"si",name:"Slovenia - SI"},{value:"za",name:"South Africa - ZA"},{value:"kr",name:"South Korea - KR"},{value:"lk",name:"Sri Lanka - LK"},{value:"th",name:"Thailand - TH"},{value:"bs",name:"Bahamas - BS"},{value:"tt",name:"Trinidad and Tobago - TT"},{value:"tn",name:"Tunisia - TN"},{value:"ua",name:"Ukraine - UA"},{value:"ae",name:"United Arab Emirates - AE"},{value:"uy",name:"Uruguay - UY"},{value:"ve",name:"Venezuela - VE"},{value:"vn",name:"Vietnam - VN"},{value:"zm",name:"Zambia - ZM"},{value:"zw",name:"Zimbabwe - ZW"},{value:"ly",name:"Libya - LY"}];class O extends s.Component{constructor(e){super(e),this.relatedKeyphrasesRequest=this.relatedKeyphrasesRequest.bind(this),this.onChangeHandler=this.onChangeHandler.bind(this)}componentDidMount(){this.props.response&&this.props.keyphrase===this.props.lastRequestKeyphrase||this.relatedKeyphrasesRequest()}storeCountryCode(e){g()({path:"yoast/v1/semrush/country_code",method:"POST",data:{country_code:e}})}async relatedKeyphrasesRequest(){const{keyphrase:e,countryCode:t,newRequest:a}=this.props;a(t,e),this.storeCountryCode(t);const n=await this.doRequest(e,t);200!==n.status?this.handleFailedResponse(n):this.handleSuccessResponse(n)}handleSuccessResponse(e){const{setNoResultsFound:t,setRequestSucceeded:a}=this.props;0!==e.results.rows.length?a(e):t()}handleFailedResponse(e){const{setRequestLimitReached:t,setRequestFailed:a}=this.props;"error"in e&&(e.error.includes("TOTAL LIMIT EXCEEDED")?t():a(e))}async doRequest(e,t){return await g()({path:Object(y.addQueryArgs)("/yoast/v1/semrush/related_keyphrases",{keyphrase:e,country_code:t})})}onChangeHandler(e){this.props.setCountry(e)}render(){return Object(s.createElement)("div",{id:f},Object(s.createElement)(u.SingleSelect,{id:f+"-select",label:Object(o.__)("Show results for:","wordpress-seo"),name:"semrush-country-code",options:w,selected:this.props.countryCode,onChange:this.onChangeHandler,wrapperClassName:"yoast-field-group yoast-field-group--inline"}),Object(s.createElement)(u.NewButton,{id:f+"-button",variant:"secondary",onClick:this.relatedKeyphrasesRequest},Object(o.__)("Select country","wordpress-seo")))}}O.propTypes={keyphrase:c.a.string,countryCode:c.a.string,response:c.a.object,lastRequestKeyphrase:c.a.string,setCountry:c.a.func.isRequired,newRequest:c.a.func.isRequired,setNoResultsFound:c.a.func.isRequired,setRequestSucceeded:c.a.func.isRequired,setRequestLimitReached:c.a.func.isRequired,setRequestFailed:c.a.func.isRequired},O.defaultProps={keyphrase:"",countryCode:"us",response:{},lastRequestKeyphrase:""};var j=O,E=a(79),v=a(67);const _=Object(p.makeOutboundLink)();class k extends s.Component{constructor(e){super(e),this.transformTrendDataToChartPoints=this.transformTrendDataToChartPoints.bind(this),this.getAreaChartDataTableHeaderLabels=this.getAreaChartDataTableHeaderLabels.bind(this),this.mapAreaChartDataToTableData=this.mapAreaChartDataToTableData.bind(this)}transformTrendDataToChartPoints(e){return e.split(",").map((e,t)=>({x:t,y:parseFloat(e)}))}getAreaChartDataTableHeaderLabels(){return[Object(o.__)("Twelve months ago","wordpress-seo"),Object(o.__)("Eleven months ago","wordpress-seo"),Object(o.__)("Ten months ago","wordpress-seo"),Object(o.__)("Nine months ago","wordpress-seo"),Object(o.__)("Eight months ago","wordpress-seo"),Object(o.__)("Seven months ago","wordpress-seo"),Object(o.__)("Six months ago","wordpress-seo"),Object(o.__)("Five months ago","wordpress-seo"),Object(o.__)("Four months ago","wordpress-seo"),Object(o.__)("Three months ago","wordpress-seo"),Object(o.__)("Two months ago","wordpress-seo"),Object(o.__)("Last month","wordpress-seo")]}mapAreaChartDataToTableData(e){return Math.round(100*e)}render(){const{keyphrase:e,relatedKeyphrases:t,countryCode:a,data:n,renderAction:r}=this.props,i="https://www.semrush.com/analytics/keywordoverview/?q="+encodeURIComponent(e)+"&db="+encodeURIComponent(a);return n&&!Object(l.isEmpty)(n.results)&&Object(s.createElement)(s.Fragment,null,Object(s.createElement)("table",{className:"yoast yoast-table"},Object(s.createElement)("thead",null,Object(s.createElement)("tr",null,Object(s.createElement)("th",{scope:"col",className:"yoast-table--primary"},Object(o.__)("Related keyphrase","wordpress-seo")),Object(s.createElement)("th",{scope:"col",abbr:Object(o.__)("Volume","wordpress-seo")},Object(o.__)("Volume","wordpress-seo"),Object(s.createElement)(v.a,{href:window.wpseoAdminL10n["shortlinks.semrush.volume_help"],className:"dashicons"},Object(s.createElement)("span",{className:"screen-reader-text"},Object(o.__)("Learn more about the related keyphrases volume","wordpress-seo")))),Object(s.createElement)("th",{scope:"col",abbr:Object(o.__)("Trend","wordpress-seo")},Object(o.__)("Trend","wordpress-seo"),Object(s.createElement)(v.a,{href:window.wpseoAdminL10n["shortlinks.semrush.trend_help"],className:"dashicons"},Object(s.createElement)("span",{className:"screen-reader-text"},Object(o.__)("Learn more about the related keyphrases trend","wordpress-seo")))),r&&Object(s.createElement)("td",{className:"yoast-table--nobreak"}))),Object(s.createElement)("tbody",null,n.results.rows.map((e,a)=>{const n=e[0],i=this.transformTrendDataToChartPoints(e[2]),c=this.getAreaChartDataTableHeaderLabels();return Object(s.createElement)("tr",{key:a},Object(s.createElement)("td",null,n),Object(s.createElement)("td",null,e[1]),Object(s.createElement)("td",{className:"yoast-table--nopadding"},Object(s.createElement)(E.a,{width:66,height:24,data:i,strokeWidth:1.8,strokeColor:"#498afc",fillColor:"#ade3fc",className:"yoast-related-keyphrases-modal__chart",mapChartDataToTableData:this.mapAreaChartDataToTableData,dataTableCaption:Object(o.__)("Keyphrase volume in the last 12 months on a scale from 0 to 100.","wordpress-seo"),dataTableHeaderLabels:c})),r&&Object(s.createElement)("td",{className:"yoast-table--nobreak"},r(n,t)))}))),Object(s.createElement)("p",{style:{marginBottom:0}},Object(s.createElement)(_,{href:i},Object(o.sprintf)( /* translators: %s expands to Semrush */ Object(o.__)("Get more insights at %s","wordpress-seo"),"Semrush"))))}}k.propTypes={data:c.a.object,keyphrase:c.a.string,relatedKeyphrases:c.a.array,countryCode:c.a.string,renderAction:c.a.func},k.defaultProps={data:{},keyphrase:"",relatedKeyphrases:[],countryCode:"us",renderAction:null};var T=k;const x=Object(p.makeOutboundLink)();var S=()=>Object(s.createElement)(u.Alert,{type:"info"},Object(o.sprintf)( /* translators: %s: Expands to "Yoast SEO". */ Object(o.__)("Would you like to be able to add these related keyphrases to the %s analysis so you can optimize your content even further?","wordpress-seo"),"Yoast SEO")+" ",Object(s.createElement)(x,{href:window.wpseoAdminL10n["shortlinks.semrush.premium_landing_page"]},Object(o.sprintf)( /* translators: %s: Expands to "Yoast SEO Premium". */ Object(o.__)("Check out %s!","wordpress-seo"),"Yoast SEO Premium"))),R=()=>Object(s.createElement)(u.Alert,{type:"error"},Object(o.__)("We've encountered a problem trying to get related keyphrases. Please try again later.","wordpress-seo")),C=()=>Object(s.createElement)(u.Alert,{type:"warning"},Object(o.sprintf)( /* translators: %s: Expands to "Yoast SEO". */ Object(o.__)("You've reached the maximum amount of 4 related keyphrases. You can change or remove related keyphrases in the %s metabox or sidebar.","wordpress-seo"),"Yoast SEO")),P=a(17);function L(e){const{response:t,lastRequestKeyphrase:a,keyphrase:n,newRequest:r,setCountry:i,renderAction:c,countryCode:u,requestLimitReached:p,setRequestFailed:m,setNoResultsFound:h,relatedKeyphrases:g,setRequestSucceeded:y,setRequestLimitReached:f}=e,w=Object(P.a)().isPremium;return Object(s.createElement)(s.Fragment,null,!p&&Object(s.createElement)(s.Fragment,null,!w&&Object(s.createElement)(S,null),w&&function(e){return e&&e.length>=4}(g)&&Object(s.createElement)(C,null),Object(s.createElement)(j,{countryCode:u,setCountry:i,newRequest:r,keyphrase:n,setRequestFailed:m,setNoResultsFound:h,setRequestSucceeded:y,setRequestLimitReached:f,response:t,lastRequestKeyphrase:a})),function(e){const{isPending:t,requestLimitReached:a,isSuccess:n,response:r,requestHasData:i}=e;return t?Object(s.createElement)(d,null):a?Object(s.createElement)(b,null):!n&&function(e){return!Object(l.isEmpty)(e)&&"error"in e}(r)?Object(s.createElement)(R,null):i?void 0:Object(s.createElement)("p",null,Object(o.__)("Sorry, there's no data available for that keyphrase/country combination.","wordpress-seo"))}(e),Object(s.createElement)(T,{keyphrase:n,relatedKeyphrases:g,countryCode:u,renderAction:c,data:t}))}L.propTypes={keyphrase:c.a.string,relatedKeyphrases:c.a.array,renderAction:c.a.func,requestLimitReached:c.a.bool,countryCode:c.a.string.isRequired,setCountry:c.a.func.isRequired,newRequest:c.a.func.isRequired,setRequestSucceeded:c.a.func.isRequired,setRequestLimitReached:c.a.func.isRequired,setRequestFailed:c.a.func.isRequired,setNoResultsFound:c.a.func.isRequired,response:c.a.object,lastRequestKeyphrase:c.a.string},L.defaultProps={keyphrase:"",relatedKeyphrases:[],renderAction:null,requestLimitReached:!1,response:{},lastRequestKeyphrase:""},t.a=Object(r.compose)([Object(n.withSelect)(e=>{const{getFocusKeyphrase:t,getSEMrushSelectedCountry:a,getSEMrushRequestLimitReached:n,getSEMrushRequestResponse:r,getSEMrushRequestIsSuccess:s,getSEMrushIsRequestPending:o,getSEMrushRequestHasData:i,getSEMrushRequestKeyphrase:c}=e("yoast-seo/editor");return{keyphrase:t(),countryCode:a(),requestLimitReached:n(),response:r(),isSuccess:s(),isPending:o(),requestHasData:i(),lastRequestKeyphrase:c()}}),Object(n.withDispatch)(e=>{const{setSEMrushChangeCountry:t,setSEMrushNewRequest:a,setSEMrushRequestSucceeded:n,setSEMrushRequestFailed:r,setSEMrushSetRequestLimitReached:s,setSEMrushNoResultsFound:o}=e("yoast-seo/editor");return{setCountry:e=>{t(e)},newRequest:(e,t)=>{a(e,t)},setRequestSucceeded:e=>{n(e)},setRequestFailed:e=>{r(e)},setRequestLimitReached:()=>{s()},setNoResultsFound:()=>{o()}}})])(L)},function(e,t,a){"use strict";a.d(t,"a",(function(){return m})),a.d(t,"b",(function(){return b}));var n=a(5),r=a(38),s=a(4),o=a(14),i=a(94),c=a(58),l=a(69),u=a(96),d=a(51);const p=Object(s.debounce)((async function(e,t){const{text:a,...s}=t,i=new o.Paper(a,s);try{const t=await e.analyze(i),{seo:a,readability:s,inclusiveLanguage:o}=t.result;if(a){const e=a[""];e.results=Object(l.sortResultsByIdentifier)(e.results),Object(n.dispatch)("yoast-seo/editor").setSeoResultsForKeyword(i.getKeyword(),e.results),Object(n.dispatch)("yoast-seo/editor").setOverallSeoScore(e.score,i.getKeyword())}s&&(s.results=Object(l.sortResultsByIdentifier)(s.results),Object(n.dispatch)("yoast-seo/editor").setReadabilityResults(s.results),Object(n.dispatch)("yoast-seo/editor").setOverallReadabilityScore(s.score)),o&&(o.results=Object(l.sortResultsByIdentifier)(o.results),Object(n.dispatch)("yoast-seo/editor").setInclusiveLanguageResults(o.results),Object(n.dispatch)("yoast-seo/editor").setOverallInclusiveLanguageScore(o.score)),Object(r.doAction)("yoast.analysis.run",t,{paper:i})}catch(e){Object(c.a)()}}),i.refreshDelay);function m(){const{getAnalysisData:e,getEditorDataTitle:t}=Object(n.select)("yoast-seo/editor");let a=e();a={...a,textTitle:t()};const s=function(e){return e.title=Object(d.a)("data_page_title",e.title),e.title=Object(d.a)("title",e.title),e.description=Object(d.a)("data_meta_desc",e.description),e.text=Object(d.a)("content",e.text),e}(a);return Object(r.applyFilters)("yoast.analysis.data",s)}function b(){const{getAnalysisTimestamp:e,isCornerstoneContent:t}=Object(n.select)("yoast-seo/editor"),a=Object(u.a)();a.initialize(Object(u.b)({useCornerstone:t()})).catch(c.a);let r=m(),o=t(),i=e();return Object(n.subscribe)(()=>{const n=t(),l=m(),u=e();if(n!==o)return o=n,r=l,void a.initialize({useCornerstone:n}).then(()=>p(a,l)).catch(c.a);u===i&&!1!==Object(s.isEqual)(l,r)||(r=l,i=u,p(a,l))}),a}},,function(e,t,a){"use strict";a.d(t,"a",(function(){return r}));var n=a(4);function r(e){return void 0===e.length?e:Object(n.flatten)(e).sort((e,t)=>void 0===e.props.renderPriority?1:e.props.renderPriority-t.props.renderPriority)}},function(e,t,a){"use strict";var n=a(20),r=a(5),s=a(62),o=a(60);t.a=Object(n.compose)([Object(r.withSelect)(e=>{const{isCornerstoneContent:t}=e("yoast-seo/editor");return{isCornerstone:t(),learnMoreUrl:wpseoAdminL10n["shortlinks.cornerstone_content_info"]}}),Object(r.withDispatch)(e=>{const{toggleCornerstoneContent:t}=e("yoast-seo/editor");return{onChange:t}}),Object(o.a)()])(s.CollapsibleCornerstone)},function(e,t,a){"use strict";var n=a(0),r=a(5),s=a(1),o=a(8),i=a(4);t.a=()=>{const e=Object(r.useSelect)(e=>e("yoast-seo/editor").getEstimatedReadingTime(),[]),t=Object(n.useMemo)(()=>Object(i.get)(window,"wpseoAdminL10n.shortlinks-insights-estimated_reading_time",""),[]);return Object(n.createElement)(o.InsightsCard,{amount:e,unit:Object(s._n)("minute","minutes",e,"wordpress-seo"),title:Object(s.__)("Reading time","wordpress-seo"),linkTo:t,linkText:Object(s.__)("Learn more about reading time","wordpress-seo")})}},function(e,t,a){"use strict";var n=a(0),r=a(5),s=a(1),o=a(8),i=a(9),c=a(14),l=a(4);const u=Object(i.makeOutboundLink)();function d(e,t,a){const r=function(e){switch(e){case c.DIFFICULTY.FAIRLY_DIFFICULT:case c.DIFFICULTY.DIFFICULT:case c.DIFFICULTY.VERY_DIFFICULT:return Object(s.__)("Try to make shorter sentences, using less difficult words to improve readability","wordpress-seo");case c.DIFFICULTY.NO_DATA:return Object(s.__)("Continue writing to get insight into the readability of your text!","wordpress-seo");default:return Object(s.__)("Good job!","wordpress-seo")}}(t);return Object(n.createElement)("span",null,function(e,t){return-1===e?Object(s.sprintf)(Object(s.__)("Your text should be slightly longer to calculate your Flesch reading ease score.","wordpress-seo")):Object(s.sprintf)( /* Translators: %1$s expands to the numeric Flesch reading ease score, %2$s expands to the easiness of reading (e.g. 'easy' or 'very difficult'). */ Object(s.__)("The copy scores %1$s in the test, which is considered %2$s to read.","wordpress-seo"),e,function(e){switch(e){case c.DIFFICULTY.NO_DATA:return Object(s.__)("no data","wordpress-seo");case c.DIFFICULTY.VERY_EASY:return Object(s.__)("very easy","wordpress-seo");case c.DIFFICULTY.EASY:return Object(s.__)("easy","wordpress-seo");case c.DIFFICULTY.FAIRLY_EASY:return Object(s.__)("fairly easy","wordpress-seo");case c.DIFFICULTY.OKAY:return Object(s.__)("okay","wordpress-seo");case c.DIFFICULTY.FAIRLY_DIFFICULT:return Object(s.__)("fairly difficult","wordpress-seo");case c.DIFFICULTY.DIFFICULT:return Object(s.__)("difficult","wordpress-seo");case c.DIFFICULTY.VERY_DIFFICULT:return Object(s.__)("very difficult","wordpress-seo")}}(t))}(e,t)," ",t>=c.DIFFICULTY.FAIRLY_DIFFICULT?Object(n.createElement)(u,{href:a},r+"."):r)}t.a=()=>{let e=Object(r.useSelect)(e=>e("yoast-seo/editor").getFleschReadingEaseScore(),[]);const t=Object(n.useMemo)(()=>Object(l.get)(window,"wpseoAdminL10n.shortlinks-insights-flesch_reading_ease",""),[]),a=Object(r.useSelect)(e=>e("yoast-seo/editor").getFleschReadingEaseDifficulty(),[e]),i=Object(n.useMemo)(()=>{const t=Object(l.get)(window,"wpseoAdminL10n.shortlinks-insights-flesch_reading_ease_article","");return d(e,a,t)},[e,a]);return-1===e&&(e="?"),Object(n.createElement)(o.InsightsCard,{amount:e,unit:Object(s.__)("out of 100","wordpress-seo"),title:Object(s.__)("Flesch reading ease","wordpress-seo"),linkTo:t,linkText:Object(s.__)("Learn more about Flesch reading ease","wordpress-seo"),description:i})}},function(e,t,a){"use strict";var n=a(0),r=a(5),s=a(1),o=a(8),i=a(4);t.a=()=>{const e=Object(r.useSelect)(e=>e("yoast-seo/editor").getTextLength(),[]),t=Object(n.useMemo)(()=>Object(i.get)(window,"wpseoAdminL10n.shortlinks-insights-word_count",""),[]);let a=Object(s._n)("word","words",e.count,"wordpress-seo"),c=Object(s.__)("Word count","wordpress-seo"),l=Object(s.__)("Learn more about word count","wordpress-seo");return"character"===e.unit&&(a=Object(s._n)("character","characters",e.count,"wordpress-seo"),c=Object(s.__)("Character count","wordpress-seo"),l=Object(s.__)("Learn more about character count","wordpress-seo")),Object(n.createElement)(o.InsightsCard,{amount:e.count,unit:a,title:c,linkTo:t,linkText:l})}},function(e,t,a){"use strict";var n=a(0),r=a(22),s=a(19),o=a(1),i=a(49),c=a(134),l=a(66);t.a=()=>Object(n.createElement)(r.LocationConsumer,null,e=>{let t=wpseoAdminL10n["shortlinks.upsell.metabox.additional_link"],a=wpseoAdminL10n["shortlinks.upsell.metabox.additional_button"],r=i.a;return"sidebar"===e.toLowerCase()&&(t=wpseoAdminL10n["shortlinks.upsell.sidebar.additional_link"],a=wpseoAdminL10n["shortlinks.upsell.sidebar.additional_button"],r=l.a),Object(n.createElement)(r,{prefixIcon:{icon:"plus",color:s.colors.$color_grey_medium_dark},prefixIconCollapsed:{icon:"plus",color:s.colors.$color_grey_medium_dark},title:Object(o.__)("Add related keyphrase","wordpress-seo"),id:"yoast-additional-keyphrase-collapsible-"+e},Object(n.createElement)(c.a,{link:t,buyLink:a}))})},,,function(e,t,a){"use strict";var n=a(20),r=a(5),s=a(0),o=a(1),i=a(8),c=a(9),l=a(2),u=a.n(l),d=a(22),p=a(4),m=a(41),b=a(18);const h=e=>{if(!e.isAuthenticated)return null;const t=Object(s.useCallback)(()=>{Object(m.d)()});return Object(s.createElement)(b.Button,{variant:"link",onClick:t},Object(o.__)("Manage WordProof settings","wordpress-seo"))};h.propTypes={isAuthenticated:u.a.bool.isRequired};const g=e=>{const t=Object(s.useCallback)(()=>{Object(m.c)()});return!e.isAuthenticated&&e.toggleIsEnabled?Object(s.createElement)(b.Button,{variant:"link",onClick:t},Object(o.__)("Authenticate with WordProof","wordpress-seo")):null};g.propTypes={isAuthenticated:u.a.bool.isRequired,toggleIsEnabled:u.a.bool.isRequired};class y extends s.Component{constructor(e){super(e),this.handleToggle=this.handleToggle.bind(this),this.turnToggleOff=this.turnToggleOff.bind(this),this.turnToggleOn=this.turnToggleOn.bind(this)}componentDidMount(){window.addEventListener("wordproof:webhook:failed",this.turnToggleOff,!1),window.addEventListener("wordproof:oauth:success",this.turnToggleOn,!1)}componentWillUnmount(){window.removeEventListener("wordproof:webhook:failed",this.turnToggleOff,!1),window.removeEventListener("wordproof:oauth:success",this.turnToggleOn,!1)}handleToggle(e){this.props.isAuthenticated||!e?this.props.onToggle(e):Object(m.c)()}turnToggleOn(){this.props.onToggle(!0)}turnToggleOff(){this.props.onToggle(!1)}render(){return Object(s.createElement)(s.Fragment,null,Object(s.createElement)(i.FieldGroup,{linkText:Object(o.__)("Learn more about timestamping","wordpress-seo"),linkTo:"https://yoa.st/wordproof-integration",htmlFor:this.props.id,label:Object(o.__)("Timestamp with WordProof","wordpress-seo")},Object(s.createElement)(i.Toggle,{id:this.props.id,labelText:Object(o.sprintf)( /* Translators: %s translates to the Post type in singular form */ Object(o.__)("Timestamp this %s","wordpress-seo"),this.props.postTypeName.toLowerCase()),isEnabled:this.props.isEnabled,onSetToggleState:this.handleToggle}),Object(s.createElement)(h,{isAuthenticated:this.props.isAuthenticated}),Object(s.createElement)(g,{toggleIsEnabled:this.props.isEnabled,isAuthenticated:this.props.isAuthenticated}),!this.props.isAuthenticated&&this.props.isEnabled&&Object(s.createElement)(i.Alert,{className:"yoast-wordproof-metabox-alert",type:"info"},Object(o.__)("Unable to create new timestamps. Please authenticate with WordProof.","wordpress-seo"))))}}y.propTypes={id:u.a.string,isEnabled:u.a.bool,onToggle:u.a.func,postTypeName:u.a.string,isAuthenticated:u.a.bool.isRequired},y.defaultProps={id:"timestamp-toggle",isEnabled:!0,postTypeName:"post",onToggle:p.noop};var f=Object(n.compose)([Object(r.withSelect)(e=>({isAuthenticated:e("wordproof").getIsAuthenticated()}))])(y);const w=e=>{let{noIndex:t,onNoIndexChange:a,editorContext:n,isPrivateBlog:r}=e;const l=(e=>{const t=Object(o.__)("No","wordpress-seo"),a=Object(o.__)("Yes","wordpress-seo"),n=e.noIndex?t:a;return window.wpseoScriptData.isPost?[{name:Object(o.sprintf)( /* Translators: %s translates to "yes" or "no", %s translates to the Post Label in plural form */ Object(o.__)("%s (current default for %s)","wordpress-seo"),n,e.postTypeNamePlural),value:"0"},{name:t,value:"1"},{name:a,value:"2"}]:[{name:Object(o.sprintf)( /* Translators: %s translates to the "yes" or "no" ,%s translates to the Post Label in plural form */ Object(o.__)("%s (current default for %s)","wordpress-seo"),n,e.postTypeNamePlural),value:"default"},{name:a,value:"index"},{name:t,value:"noindex"}]})(n);return Object(s.createElement)(d.LocationConsumer,null,e=>Object(s.createElement)(s.Fragment,null,r&&Object(s.createElement)(i.Alert,{type:"warning"},Object(o.__)("Even though you can set the meta robots setting here, the entire site is set to noindex in the sitewide privacy settings, so these settings won't have an effect.","wordpress-seo")),Object(s.createElement)(i.Select,{label:Object(o.sprintf)( /* Translators: %s translates to the Post Label in singular form */ Object(o.__)("Allow search engines to show this %s in search results?","wordpress-seo"),n.postTypeNameSingular),onChange:a,id:Object(c.join)(["yoast-meta-robots-noindex",e]),options:l,selected:t,linkTo:wpseoAdminL10n["shortlinks.advanced.allow_search_engines"],linkText:Object(o.__)("Learn more about the no-index setting on our help page.","wordpress-seo")})))};w.propTypes={noIndex:u.a.string.isRequired,onNoIndexChange:u.a.func.isRequired,editorContext:u.a.object.isRequired,isPrivateBlog:u.a.bool},w.defaultProps={isPrivateBlog:!1};const O=e=>{let{noFollow:t,onNoFollowChange:a,postTypeName:n}=e;return Object(s.createElement)(d.LocationConsumer,null,e=>{const r=Object(c.join)(["yoast-meta-robots-nofollow",e]);return Object(s.createElement)(i.RadioButtonGroup,{id:r,options:[{value:"0",label:"Yes"},{value:"1",label:"No"}],label:Object(o.sprintf)( /* Translators: %s translates to the Post Label in singular form */ Object(o.__)("Should search engines follow links on this %s","wordpress-seo"),n),groupName:r,onChange:a,selected:t,linkTo:wpseoAdminL10n["shortlinks.advanced.follow_links"],linkText:Object(o.__)("Learn more about the no-follow setting on our help page.","wordpress-seo")})})};O.propTypes={noFollow:u.a.string.isRequired,onNoFollowChange:u.a.func.isRequired,postTypeName:u.a.string.isRequired};const j=e=>{let{advanced:t,onAdvancedChange:a}=e;return Object(s.createElement)(d.LocationConsumer,null,e=>{const n=Object(c.join)(["yoast-meta-robots-advanced",e]),r=n+"-input";return Object(s.createElement)(i.MultiSelect,{label:Object(o.__)("Meta robots advanced","wordpress-seo"),onChange:a,id:n,inputId:r,options:[{name:Object(o.__)("No Image Index","wordpress-seo"),value:"noimageindex"},{name:Object(o.__)("No Archive","wordpress-seo"),value:"noarchive"},{name:Object(o.__)("No Snippet","wordpress-seo"),value:"nosnippet"}],selected:t,linkTo:wpseoAdminL10n["shortlinks.advanced.meta_robots"],linkText:Object(o.__)("Learn more about advanced meta robots settings on our help page.","wordpress-seo")})})};j.propTypes={advanced:u.a.array.isRequired,onAdvancedChange:u.a.func.isRequired};const E=e=>{let{breadcrumbsTitle:t,onBreadcrumbsTitleChange:a}=e;return Object(s.createElement)(d.LocationConsumer,null,e=>Object(s.createElement)(i.TextInput,{label:Object(o.__)("Breadcrumbs Title","wordpress-seo"),id:Object(c.join)(["yoast-breadcrumbs-title",e]),onChange:a,value:t,linkTo:wpseoAdminL10n["shortlinks.advanced.breadcrumbs_title"],linkText:Object(o.__)("Learn more about the breadcrumbs title setting on our help page.","wordpress-seo")}))};E.propTypes={breadcrumbsTitle:u.a.string.isRequired,onBreadcrumbsTitleChange:u.a.func.isRequired};const v=e=>{let{canonical:t,onCanonicalChange:a}=e;return Object(s.createElement)(d.LocationConsumer,null,e=>Object(s.createElement)(i.TextInput,{label:Object(o.__)("Canonical URL","wordpress-seo"),id:Object(c.join)(["yoast-canonical",e]),onChange:a,value:t,linkTo:"https://yoa.st/canonical-url",linkText:Object(o.__)("Learn more about canonical URLs on our help page.","wordpress-seo")}))};v.propTypes={canonical:u.a.string.isRequired,onCanonicalChange:u.a.func.isRequired};const _=e=>{let{wordproofTimestamp:t,onWordProofTimestampChange:a,postTypeName:n}=e;return Object(s.createElement)(d.LocationConsumer,null,e=>Object(s.createElement)(f,{id:Object(c.join)(["yoast-wordproof-timestamp",e]),isEnabled:t,onToggle:a,postTypeName:n}))};_.propTypes={wordproofTimestamp:u.a.bool.isRequired,onWordProofTimestampChange:u.a.func.isRequired,postTypeName:u.a.string.isRequired};const k=e=>{const{noIndex:t,noFollow:a,advanced:n,breadcrumbsTitle:r,canonical:o,wordproofTimestamp:i,onNoIndexChange:c,onNoFollowChange:l,onAdvancedChange:u,onBreadcrumbsTitleChange:d,onCanonicalChange:p,onWordProofTimestampChange:m,onLoad:b,isLoading:h,editorContext:g,isBreadcrumbsDisabled:y,isPrivateBlog:f,isWordProofIntegrationActive:k}=e;Object(s.useEffect)(()=>{setTimeout(()=>{h&&b()})});const T={noIndex:t,onNoIndexChange:c,editorContext:g,isPrivateBlog:f},x={noFollow:a,onNoFollowChange:l,postTypeName:g.postTypeNameSingular},S={advanced:n,onAdvancedChange:u},R={breadcrumbsTitle:r,onBreadcrumbsTitleChange:d},C={canonical:o,onCanonicalChange:p},P={wordproofTimestamp:i,onWordProofTimestampChange:m,postTypeName:g.postTypeNameSingular};return h?null:Object(s.createElement)(s.Fragment,null,Object(s.createElement)(w,T),g.isPost&&Object(s.createElement)(O,x),g.isPost&&Object(s.createElement)(j,S),!y&&Object(s.createElement)(E,R),Object(s.createElement)(v,C),k&&Object(s.createElement)(_,P))};k.propTypes={noIndex:u.a.string.isRequired,canonical:u.a.string.isRequired,wordproofTimestamp:u.a.bool,onNoIndexChange:u.a.func.isRequired,onCanonicalChange:u.a.func.isRequired,onWordProofTimestampChange:u.a.func,onLoad:u.a.func.isRequired,isLoading:u.a.bool.isRequired,editorContext:u.a.object.isRequired,isBreadcrumbsDisabled:u.a.bool.isRequired,isPrivateBlog:u.a.bool,advanced:u.a.array,onAdvancedChange:u.a.func,noFollow:u.a.string,onNoFollowChange:u.a.func,breadcrumbsTitle:u.a.string,onBreadcrumbsTitleChange:u.a.func,isWordProofIntegrationActive:u.a.bool.isRequired},k.defaultProps={advanced:[],onAdvancedChange:()=>{},noFollow:"",onNoFollowChange:()=>{},breadcrumbsTitle:"",onBreadcrumbsTitleChange:()=>{},isPrivateBlog:!1,onWordProofTimestampChange:()=>{},wordproofTimestamp:!1};var T=k;t.a=Object(n.compose)([Object(r.withSelect)(e=>{const{getNoIndex:t,getNoFollow:a,getAdvanced:n,getBreadcrumbsTitle:r,getCanonical:s,getWordProofTimestamp:o,getIsLoading:i,getEditorContext:c,getPreferences:l}=e("yoast-seo/editor"),{isBreadcrumbsDisabled:u,isPrivateBlog:d,isWordProofIntegrationActive:p}=l();return{noIndex:t(),noFollow:a(),advanced:n(),breadcrumbsTitle:r(),canonical:s(),wordproofTimestamp:o(),isLoading:i(),editorContext:c(),isBreadcrumbsDisabled:u,isPrivateBlog:d,isWordProofIntegrationActive:p}}),Object(r.withDispatch)(e=>{const{setNoIndex:t,setNoFollow:a,setAdvanced:n,setBreadcrumbsTitle:r,setCanonical:s,setWordProofTimestamp:o,loadAdvancedSettingsData:i}=e("yoast-seo/editor");return{onNoIndexChange:t,onNoFollowChange:a,onAdvancedChange:n,onBreadcrumbsTitleChange:r,onCanonicalChange:s,onWordProofTimestampChange:o,onLoad:i}})])(T)},function(e,t,a){"use strict";var n=a(0),r=a(20),s=a(5),o=a(1),i=a(2),c=a.n(i),l=a(8),u=a(9),d=a(28),p=a.n(d),m=a(11),b=a.n(m),h=a(121),g=a(4);const y=Object(u.makeOutboundLink)(),f=b.a.div` padding: 16px; `;function w(e){let{location:t,show:a}=e;return a?Object(n.createElement)(l.Alert,{type:"info"},Object(o.sprintf)( /* translators: %s Expands to "Yoast News SEO" */ Object(o.__)("Are you working on a news article? %s helps you optimize your site for Google News.","wordpress-seo"),"Yoast News SEO")+" ",Object(n.createElement)(y,{href:window.wpseoAdminL10n[`shortlinks.upsell.${t}.news`]},Object(o.sprintf)( /* translators: %s: Expands to "Yoast News SEO". */ Object(o.__)("Buy %s now!","wordpress-seo"),"Yoast News SEO"))):null}w.propTypes={show:c.a.bool.isRequired,location:c.a.string.isRequired};const O=(e,t,a)=>{const n=e.find(e=>e.value===t);return[{name:Object(o.sprintf)( /* translators: %1$s expands to the plural name of the current post type, %2$s expands to the current site wide default. */ Object(o.__)("Default for %1$s (%2$s)","wordpress-seo"),a,n?n.name:""),value:""},...e]},j=e=>Object(o.sprintf)( /* translators: %1$s expands to the plural name of the current post type, %2$s and %3$s expand to a link to the Settings page */ Object(o.__)("You can change the default type for %1$s under Content types in the %2$sSettings%3$s.","wordpress-seo"),e,"{{link}}","{{/link}}");c.a.string.isRequired,c.a.string.isRequired,c.a.string.isRequired;const E=e=>{const t=O(e.pageTypeOptions,e.defaultPageType,e.postTypeName),a=O(e.articleTypeOptions,e.defaultArticleType,e.postTypeName),r=Object(g.get)(window,"wpseoScriptData.metabox.woocommerceUpsellSchemaLink",""),s=Object(g.get)(window,"wpseoScriptData.woocommerceUpsell",""),[i,c]=Object(n.useState)(e.schemaArticleTypeSelected),d=Object(o.__)("Want your products stand out in search results with rich results like price, reviews and more?","wordpress-seo"),m=Object(n.useCallback)((e,t)=>{c(t)},[i]);return Object(n.useEffect)(()=>{m(null,e.schemaArticleTypeSelected)},[e.schemaArticleTypeSelected]),Object(n.createElement)(n.Fragment,null,Object(n.createElement)(l.FieldGroup,{label:Object(o.__)("What type of page or content is this?","wordpress-seo"),linkTo:e.additionalHelpTextLink,linkText:Object(o.__)("Learn more about page or content types","wordpress-seo")}),s&&Object(n.createElement)(h.a,{link:r,text:d}),Object(n.createElement)(l.Select,{id:Object(u.join)(["yoast-schema-page-type",e.location]),options:t,label:Object(o.__)("Page type","wordpress-seo"),onChange:e.schemaPageTypeChange,selected:e.schemaPageTypeSelected}),e.showArticleTypeInput&&Object(n.createElement)(l.Select,{id:Object(u.join)(["yoast-schema-article-type",e.location]),options:a,label:Object(o.__)("Article type","wordpress-seo"),onChange:e.schemaArticleTypeChange,selected:e.schemaArticleTypeSelected,onOptionFocus:m}),Object(n.createElement)(w,{location:e.location,show:!e.isNewsEnabled&&(y=i,f=e.defaultArticleType,"NewsArticle"===y||""===y&&"NewsArticle"===f)}),e.displayFooter&&Object(n.createElement)("p",null,(b=e.postTypeName,p()({mixedString:j(b),components:{link:Object(n.createElement)("a",{href:"/wp-admin/admin.php?page=wpseo_page_settings",target:"_blank"})}}))));var b,y,f},v=c.a.arrayOf(c.a.shape({name:c.a.string,value:c.a.string}));E.propTypes={schemaPageTypeChange:c.a.func,schemaPageTypeSelected:c.a.string,pageTypeOptions:v.isRequired,schemaArticleTypeChange:c.a.func,schemaArticleTypeSelected:c.a.string,articleTypeOptions:v.isRequired,showArticleTypeInput:c.a.bool.isRequired,additionalHelpTextLink:c.a.string.isRequired,helpTextLink:c.a.string.isRequired,helpTextTitle:c.a.string.isRequired,helpTextDescription:c.a.string.isRequired,postTypeName:c.a.string.isRequired,displayFooter:c.a.bool,defaultPageType:c.a.string.isRequired,defaultArticleType:c.a.string.isRequired,location:c.a.string.isRequired,isNewsEnabled:c.a.bool},E.defaultProps={schemaPageTypeChange:()=>{},schemaPageTypeSelected:null,schemaArticleTypeChange:()=>{},schemaArticleTypeSelected:null,displayFooter:!1,isNewsEnabled:!1};const _=e=>e.isMetabox?Object(n.createPortal)(Object(n.createElement)(f,null,Object(n.createElement)(E,e)),document.getElementById("wpseo-meta-section-schema")):Object(n.createElement)(E,e);_.propTypes={showArticleTypeInput:c.a.bool,articleTypeLabel:c.a.string,additionalHelpTextLink:c.a.string,pageTypeLabel:c.a.string.isRequired,helpTextLink:c.a.string.isRequired,helpTextTitle:c.a.string.isRequired,helpTextDescription:c.a.string.isRequired,isMetabox:c.a.bool.isRequired,postTypeName:c.a.string.isRequired,displayFooter:c.a.bool,loadSchemaArticleData:c.a.func.isRequired,loadSchemaPageData:c.a.func.isRequired,location:c.a.string.isRequired},_.defaultProps={showArticleTypeInput:!1,articleTypeLabel:"",additionalHelpTextLink:"",displayFooter:!1};var k=_,T=a(98),x=a(60);const S=e=>{const t=null!==T.a.articleTypeInput;Object(n.useEffect)(()=>{e.loadSchemaPageData(),t&&e.loadSchemaArticleData()},[]);const{pageTypeOptions:a,articleTypeOptions:r}=window.wpseoScriptData.metabox.schema,s={articleTypeLabel:Object(o.__)("Article type","wordpress-seo"),pageTypeLabel:Object(o.__)("Page type","wordpress-seo"),postTypeName:window.wpseoAdminL10n.postTypeNamePlural,helpTextTitle:Object(o.__)("Yoast SEO automatically describes your pages using schema.org","wordpress-seo"),helpTextDescription:Object(o.__)("This helps search engines understand your website and your content. You can change some of your settings for this page below.","wordpress-seo"),showArticleTypeInput:t,pageTypeOptions:a,articleTypeOptions:r},i={...e,...s,...(c=e.location,"metabox"===c?{helpTextLink:wpseoAdminL10n["shortlinks.metabox.schema.explanation"],additionalHelpTextLink:wpseoAdminL10n["shortlinks.metabox.schema.page_type"],isMetabox:!0}:{helpTextLink:wpseoAdminL10n["shortlinks.sidebar.schema.explanation"],additionalHelpTextLink:wpseoAdminL10n["shortlinks.sidebar.schema.page_type"],isMetabox:!1})};var c;return Object(n.createElement)(k,i)};S.propTypes={displayFooter:c.a.bool.isRequired,schemaPageTypeSelected:c.a.string.isRequired,schemaArticleTypeSelected:c.a.string.isRequired,defaultArticleType:c.a.string.isRequired,defaultPageType:c.a.string.isRequired,loadSchemaPageData:c.a.func.isRequired,loadSchemaArticleData:c.a.func.isRequired,schemaPageTypeChange:c.a.func.isRequired,schemaArticleTypeChange:c.a.func.isRequired,location:c.a.string.isRequired},t.a=Object(r.compose)([Object(s.withSelect)(e=>{const{getPreferences:t,getPageType:a,getDefaultPageType:n,getArticleType:r,getDefaultArticleType:s}=e("yoast-seo/editor"),{displaySchemaSettingsFooter:o,isNewsEnabled:i}=t();return{displayFooter:o,isNewsEnabled:i,schemaPageTypeSelected:a(),schemaArticleTypeSelected:r(),defaultArticleType:s(),defaultPageType:n()}}),Object(s.withDispatch)(e=>{const{setPageType:t,setArticleType:a,getSchemaPageData:n,getSchemaArticleData:r}=e("yoast-seo/editor");return{loadSchemaPageData:n,loadSchemaArticleData:r,schemaPageTypeChange:t,schemaArticleTypeChange:a}}),Object(x.a)()])(S)},function(e,t,a){"use strict";var n=a(0),r=a(1),s=a(2),o=a.n(s),i=a(11),c=a.n(i),l=a(8),u=a(19),d=a(76),p=a(40),m=a(78),b=a(85),h=a(22),g=a(15);const y=e=>{const t=Object(r.__)("Get extra, smarter recommendations about your site’s structure, content, and SEO opportunities.","wordpress-seo"),a=[Object(r.__)("Use AI to create titles & meta descriptions","wordpress-seo"),Object(r.__)("Target multiple focus keyphrases","wordpress-seo"),Object(r.__)("Use synonyms, plurals, and variations","wordpress-seo"),Object(r.__)("Unlock expert workouts and workflows","wordpress-seo")],{locationContext:s}=Object(h.useRootContext)(),o=Object(g.addQueryArgs)(wpseoAdminL10n[e.buyLink],{context:s});return Object(n.createElement)(b.a,{infoParagraphs:[t],benefits:a,upsellButtonText:Object(r.sprintf)( /* translators: %s expands to 'Yoast SEO Premium'. */ Object(r.__)("Unlock with %s","wordpress-seo"),"Yoast SEO Premium"),upsellButton:{href:o,className:"yoast-button-upsell",rel:null,"data-ctb-id":"f6a84663-465f-4cb5-8ba5-f7a6d72224b2","data-action":"load-nfd-ctb"},upsellButtonLabel:Object(r.__)("1 year of premium support and updates included!","wordpress-seo")})};y.propTypes={buyLink:o.a.string.isRequired};var f=y;const w=c()(l.CollapsibleStateless)` h2 > button { padding-left: 24px; padding-top: 16px; &:hover { background-color: #f0f0f0; } } `,O=e=>{let{location:t}=e;const[a,s]=Object(n.useState)(!1),o=Object(n.useCallback)(()=>s(!1),[]),i=Object(n.useCallback)(()=>s(!0),[]);return Object(n.createElement)(n.Fragment,null,a&&Object(n.createElement)(p.a,{title:Object(r.__)("Get Yoast SEO Premium","wordpress-seo"),onRequestClose:o,additionalClassName:"",className:p.b,id:"yoast-premium-seo-analysis-modal",shouldCloseOnClickOutside:!0},Object(n.createElement)(d.a,null,Object(n.createElement)(d.b,{icon:l.YoastSeoIcon}),Object(n.createElement)("h2",null,Object(r.__)("Optimize even further with our premium SEO analysis","wordpress-seo")),Object(n.createElement)(f,{buyLink:`shortlinks.upsell.${t}.premium_seo_analysis_button`}))),"sidebar"===t&&Object(n.createElement)(m.a,{id:"yoast-premium-seo-analysis-modal-open-button",title:Object(r.__)("Premium SEO analysis","wordpress-seo"),prefixIcon:{icon:"seo-score-none",color:u.colors.$color_grey},suffixIcon:{icon:"pencil-square",size:"20px"},onClick:i}),"metabox"===t&&Object(n.createElement)(w,{hasPadding:!1,hasSeparator:!0,isOpen:!1,id:"yoast-premium-seo-analysis-metabox-modal-open-button",title:Object(r.__)("Premium SEO analysis","wordpress-seo"),prefixIconCollapsed:{icon:"seo-score-none",color:u.colors.$color_grey,size:"16px"},suffixIconCollapsed:{icon:"pencil-square",color:u.colors.$black,size:"20px"},onToggle:i}))};O.propTypes={location:o.a.string},O.defaultProps={location:"sidebar"},t.a=O},function(e,t,a){"use strict";var n=a(0),r=a(5),s=a(1),o=a(9),i=a(4),c=a(2),l=a.n(c),u=a(75),d=a(12),p=a.n(d),m=a(31),b=a.n(m);const h=e=>{let{data:t,itemScreenReaderText:a,className:r,...o}=e;const c=Object(n.useMemo)(()=>{var e,a;return null!==(e=null===(a=Object(i.maxBy)(t,"number"))||void 0===a?void 0:a.number)&&void 0!==e?e:0},[t]);return Object(n.createElement)("ul",p()({className:b()("yoast-data-model",r)},o),t.map(e=>{let{name:t,number:r}=e;return Object(n.createElement)("li",{key:t+"_dataItem",style:{"--yoast-width":r/c*100+"%"}},t,Object(n.createElement)("span",null,r),a&&Object(n.createElement)("span",{className:"screen-reader-text"},Object(s.sprintf)(a,r)))}))};h.propTypes={data:l.a.arrayOf(l.a.shape({name:l.a.string.isRequired,number:l.a.number.isRequired})),itemScreenReaderText:l.a.string,className:l.a.string},h.defaultProps={data:[],itemScreenReaderText:"",className:""};var g=h,y=a(15),f=a(22);const w=Object(o.makeOutboundLink)(),O=e=>{let{location:t}=e;const a=Object(r.useSelect)(e=>{var t,a;return null===(t=null===(a=e("yoast-seo-premium/editor"))||void 0===a?void 0:a.getPreference("isProminentWordsAvailable",!1))||void 0===t||t},[]),o=Object(r.useSelect)(e=>e("yoast-seo/editor").getPreference("shouldUpsell",!1),[]),c=Object(n.useMemo)(()=>Object(i.get)(window,`wpseoAdminL10n.shortlinks-insights-upsell-${t}-prominent_words`,""),[t]),l=Object(n.useMemo)(()=>{const e=Object(i.get)(window,"wpseoAdminL10n.shortlinks-insights-keyword_research_link","");return Object(u.a)(Object(s.sprintf)(Object(s.__)("Read our %1$sultimate guide to keyword research%2$s to learn more about keyword research and keyword strategy.","wordpress-seo"),"",""),{a:Object(n.createElement)(w,{href:e})})},[]),d=Object(n.useMemo)(()=>Object(u.a)(Object(s.sprintf)(// translators: %1$s expands to a starting `b` tag, %1$s expands to a closing `b` tag and %3$s expands to `Yoast SEO Premium`. Object(s.__)("With %1$s%3$s%2$s, this section will show you which words occur most often in your text. By checking these prominent words against your intended keyword(s), you'll know how to edit your text to be more focused.","wordpress-seo"),"","","Yoast SEO Premium"),{b:Object(n.createElement)("b",null)}),[]),p=Object(r.useSelect)(e=>{var t,a;return null!==(t=null===(a=e("yoast-seo-premium/editor"))||void 0===a?void 0:a.getProminentWords())&&void 0!==t?t:[]},[]),m=Object(n.useMemo)(()=>{const e=Object(s.sprintf)(// translators: %1$s expands to Yoast SEO Premium. Object(s.__)("Get %s to enjoy the benefits of prominent words","wordpress-seo"),"Yoast SEO Premium").split(/\s+/);return e.map((t,a)=>({name:t,number:e.length-a}))},[]),b=Object(n.useMemo)(()=>o?m:p.map(e=>{let{word:t,occurrence:a}=e;return{name:t,number:a}}),[p,m]);if(!a)return null;const{locationContext:h}=Object(f.useRootContext)();return Object(n.createElement)("div",{className:"yoast-prominent-words"},Object(n.createElement)("div",{className:"yoast-field-group__title"},Object(n.createElement)("b",null,Object(s.__)("Prominent words","wordpress-seo"))),!o&&Object(n.createElement)("p",null,0===b.length?Object(s.__)("Once you add a bit more copy, we'll give you a list of words that occur the most in the content. These give an indication of what your content focuses on.","wordpress-seo"):Object(s.__)("The following words occur the most in the content. These give an indication of what your content focuses on. If the words differ a lot from your topic, you might want to rewrite your content accordingly.","wordpress-seo")),o&&Object(n.createElement)("p",null,d),o&&Object(n.createElement)(w,{href:Object(y.addQueryArgs)(c,{context:h}),"data-action":"load-nfd-ctb","data-ctb-id":"f6a84663-465f-4cb5-8ba5-f7a6d72224b2",className:"yoast-button yoast-button-upsell"},Object(s.sprintf)(// translators: %s expands to `Premium` (part of add-on name). Object(s.__)("Unlock with %s","wordpress-seo"),"Premium"),Object(n.createElement)("span",{"aria-hidden":"true",className:"yoast-button-upsell__caret"})),Object(n.createElement)("p",null,l),Object(n.createElement)(g,{data:b,itemScreenReaderText:// translators: %d expands to the number of occurrences. Object(s.__)("%d occurrences","wordpress-seo"),"aria-label":Object(s.__)("Prominent words","wordpress-seo"),className:o?"yoast-data-model--upsell":null}))};O.propTypes={location:l.a.string.isRequired},t.a=O},function(e,t,a){"use strict";var n=a(0),r=a(18),s=a(1),o=a(8),i=a(4),c=a(2),l=a.n(c),u=a(9),d=a(75);const p=Object(u.makeOutboundLink)(),m=e=>{let{location:t}=e;const a=Object(n.useMemo)(()=>Object(i.get)(window,`wpseoAdminL10n.shortlinks-insights-upsell-${t}-text_formality`,""),[t]),r=Object(n.useMemo)(()=>Object(d.a)(Object(s.sprintf)(// Translators: %1$s expands to a starting `b` tag, %2$s expands to a closing `b` tag and %3$s expands to `Yoast SEO Premium`. Object(s.__)("%1$s%3$s%2$s will help you assess the formality level of your text.","wordpress-seo"),"","","Yoast SEO Premium"),{b:Object(n.createElement)("b",null)}),[]);return Object(n.createElement)(n.Fragment,null,Object(n.createElement)("div",null,Object(n.createElement)("p",null,r),Object(n.createElement)(p,{href:a,className:"yoast-button yoast-button-upsell"},Object(s.sprintf)(// Translators: %s expands to `Premium` (part of add-on name). Object(s.__)("Unlock with %s","wordpress-seo"),"Premium"),Object(n.createElement)("span",{"aria-hidden":"true",className:"yoast-button-upsell__caret"}))))};m.propTypes={location:l.a.string.isRequired};var b=m,h=a(5),g=a(17);const y=e=>{let{location:t,name:a}=e;const c=Object(h.useSelect)(e=>e("yoast-seo/editor").isFormalitySupported(),[]),l=Object(g.a)().isPremium,u=l?Object(i.get)(window,"wpseoAdminL10n.shortlinks-insights-text_formality_info_premium",""):Object(i.get)(window,"wpseoAdminL10n.shortlinks-insights-text_formality_info_free",""),d=Object(s.__)("Read more about text formality.","wordpress-seo");return c?Object(n.createElement)("div",{className:"yoast-text-formality"},Object(n.createElement)("div",{className:"yoast-field-group__title"},Object(n.createElement)("b",null,Object(s.__)("Text formality","wordpress-seo")),Object(n.createElement)(o.HelpIcon,{linkTo:u,linkText:d})),l?Object(n.createElement)(r.Slot,{name:a}):Object(n.createElement)(b,{location:t})):null};y.propTypes={location:l.a.string.isRequired,name:l.a.string.isRequired},t.a=y},,,,,,,,,function(e,t){e.exports=window.yoast.searchMetadataPreviews},function(e,t,a){"use strict";var n=a(0),r=a(2),s=a.n(r),o=a(11),i=a.n(o),c=a(8),l=a(9);const u=i()(c.StyledSection)` &${c.StyledSectionBase} { padding: 0; & ${c.StyledHeading} { ${Object(l.getDirectionalStyle)("padding-left","padding-right")}: 20px; margin-left: ${Object(l.getDirectionalStyle)("0","20px")}; } } `,d=e=>{let{children:t,title:a,icon:r,hasPaperStyle:s,shoppingData:o}=e;return Object(n.createElement)(u,{headingLevel:3,headingText:a,headingIcon:r,headingIconColor:"#555",hasPaperStyle:s,shoppingData:o},t)};d.propTypes={children:s.a.element,title:s.a.string,icon:s.a.string,hasPaperStyle:s.a.bool,shoppingData:s.a.object},d.defaultProps={hasPaperStyle:!0,shoppingData:null},t.a=d},function(e,t,a){"use strict";var n=a(0),r=a(18),s=a(2),o=a.n(s),i=a(111);const c=e=>{const[t,a]=Object(n.useState)(""),s=Object(n.useCallback)(e=>{a(e.detail.metaTabId)},[a]);Object(n.useEffect)(()=>(setTimeout(e.onLoad),window.addEventListener("YoastSEO:metaTabChange",s),()=>{window.removeEventListener("YoastSEO:metaTabChange",s)}),[]);const o=Object(n.useMemo)(()=>({...e,activeMetaTabId:t}),[e,t]);return e.isPremium?Object(n.createElement)(r.Slot,{name:"YoastFacebookPremium"+(e.location.charAt(0).toUpperCase()+e.location.slice(1)),fillProps:o}):Object(n.createElement)(i.a,o)};c.propTypes={isPremium:o.a.bool.isRequired,onLoad:o.a.func.isRequired,location:o.a.string.isRequired},t.a=c},function(e,t,a){"use strict";var n=a(0),r=a(18),s=a(2),o=a.n(s),i=a(111);const c=e=>(Object(n.useEffect)(()=>{setTimeout(e.onLoad)},[]),e.isPremium?Object(n.createElement)(r.Slot,{name:"YoastTwitterPremium"+(e.location.charAt(0).toUpperCase()+e.location.slice(1)),fillProps:e}):Object(n.createElement)(i.a,e));c.propTypes={isPremium:o.a.bool.isRequired,onLoad:o.a.func.isRequired,location:o.a.string.isRequired},t.a=c},,function(e,t,a){"use strict";a.d(t,"a",(function(){return s}));var n=a(4),r=jQuery;function s(e,t,a,n,s){this._scriptUrl=n,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=r("#post_ID, [name=tag_ID]").val(),this._taxonomy=r("[name=taxonomy]").val()||"",this._nonce=s,this._ajaxAction=e,this._refreshAnalysis=a,this._initialized=!1}s.prototype.init=function(){const{worker:e}=window.YoastSEO.analysis;this.requestKeywordUsage=Object(n.debounce)(this.requestKeywordUsage.bind(this),500),e.loadScript(this._scriptUrl).then(()=>{e.sendMessage("initialize",this._options,"used-keywords-assessment")}).then(()=>{this._initialized=!0,Object(n.isEqual)(this._options.usedKeywords,this._keywordUsage)?this._refreshAnalysis():e.sendMessage("updateKeywordUsage",this._keywordUsage,"used-keywords-assessment").then(()=>this._refreshAnalysis())}).catch(e=>console.error(e))},s.prototype.setKeyword=function(e){Object(n.has)(this._keywordUsage,e)||this.requestKeywordUsage(e)},s.prototype.requestKeywordUsage=function(e){r.post(ajaxurl,{action:this._ajaxAction,post_id:this._postID,keyword:e,taxonomy:this._taxonomy,nonce:this._nonce},this.updateKeywordUsage.bind(this,e),"json")},s.prototype.updateKeywordUsage=function(e,t){const{worker:a}=window.YoastSEO.analysis,r=t.keyword_usage,s=t.post_types;r&&Object(n.isArray)(r)&&(this._keywordUsage[e]=r,this._usedKeywordsPostTypes[e]=s,this._initialized&&a.sendMessage("updateKeywordUsage",{usedKeywords:this._keywordUsage,usedKeywordsPostTypes:this._usedKeywordsPostTypes},"used-keywords-assessment").then(()=>this._refreshAnalysis()))}},function(e,t,a){"use strict";var n=a(5),r=a(4),s=a(14),o=a(114),i=a(137);t.a=()=>{if(Object(n.select)("yoast-seo/editor").getPreference("isInsightsEnabled",!1))return Object(n.dispatch)("yoast-seo/editor").loadEstimatedReadingTime(),Object(n.subscribe)(Object(r.debounce)((()=>{const{getEditorDataContent:e,getContentLocale:t}=Object(n.select)("yoast-seo/editor"),a=Object(o.a)(e,t),c=(()=>{const{setEstimatedReadingTime:e,setFleschReadingEase:t,setTextLength:a}=Object(n.dispatch)("yoast-seo/editor"),o=Object(r.get)(window,"YoastSEO.analysis.worker.runResearch",r.noop);return()=>{const n=s.Paper.parse(Object(i.a)());o("readingTime",n).then(t=>e(t.result)),o("getFleschReadingScore",n).then(e=>{e.result&&t(e.result)}),o("wordCountInText",n).then(e=>a(e.result))}})();return setTimeout(c,1500),Object(o.b)(a,c)})(),1500,{maxWait:3e3}))}},,,,function(e,t,a){"use strict";var n,r,s,o,i,c,l,u,d,p,m,b,h,g,y,f,w,O,j,E,v,_,k,T,x,S,R,C,P,L,A,I,N,D,q,F,M,z,W,B,$,U,K,Y,V,H,G,Z,Q=a(0),J=a(1),X=a(27),ee=()=>Object(Q.createElement)(Q.Fragment,null,Object(Q.createElement)("p",null,Object(X.a)(Object(J.sprintf)( /* translators: 1: Opening a html tag, 2: Closing a html tag. 3: WordProof. 4. WordPress */ Object(J.__)("Something went wrong authenticating your %3$s account with the %4$s site. Please try again or contact %1$s%3$s support%2$s.","wordpress-seo"),"","","WordProof","WordPress"),"https://help.wordproof.com/"))),te=a(3);function ae(){return(ae=Object.assign||function(e){for(var t=1;t{const{closeModal:t}=e;return Object(Q.createElement)(Q.Fragment,null,Object(Q.createElement)("div",{className:"yoast-wordproof-modal-image"},Object(Q.createElement)(ne,{class:"yoast-wordproof-modal-svg__success"})),Object(Q.createElement)("p",null,Object(J.sprintf)( /* Translators: %s translates to the Post type in singular form */ Object(J.__)("Your %s is now protected via the blockchain!","wordpress-seo"),Object(re.a)("current_post_type")),Object(Q.createElement)("br",null),Object(Q.createInterpolateElement)(Object(J.sprintf)(Object(J.__)( /** translators: * %1$s and %2$s are replaced by opening and closing tags. * %3$s translates to the Post type in singular form. */ "The %3$s will automatically be timestamped every time you %1$supdate%2$s or %1$spublish%2$s.","wordpress-seo"),"","",Object(re.a)("current_post_type")),{b:Object(Q.createElement)("b",null)})),Object(Q.createElement)("div",{className:"yoast-wordproof-modal-action"},Object(Q.createElement)(se.NewButton,{variant:"primary",onClick:t},"Continue")))};ce.propTypes={closeModal:ie.a.func.isRequired};var le,ue=ce;function de(){return(de=Object.assign||function(e){for(var t=1;t{const{closeModal:t}=e,a=Object(Q.useCallback)(e=>{t(),e.preventDefault(),Object(re.c)()});return Object(Q.createElement)("div",null,Object(Q.createElement)("div",{className:"yoast-wordproof-modal-image"},Object(Q.createElement)(pe,{className:"yoast-wordproof-modal-svg__webhook-failed"})),Object(Q.createElement)("div",null,Object(J.__)("There was a connection problem. This could be because your third party connections are blocked.","wordpress-seo"),Object(Q.createElement)("br",null),Object(X.a)(Object(J.sprintf)(Object(J.__)("Find possible solutions in this %1$sArticle%2$s.","wordpress-seo"),"",""),"https://help.wordproof.com/en/articles/4823201-how-do-i-whitelist-wordproof-in-cloudflare")),Object(Q.createElement)("div",{className:"yoast-wordproof-modal-action"},Object(Q.createElement)(se.NewButton,{variant:"secondary",onClick:a},Object(J.__)("Try again","wordpress-seo"))),Object(Q.createElement)("div",null,Object(X.a)(Object(J.sprintf)(// translators: %1$s and %2$s are replaced by opening and closing tags. %3$s expands to WordProof. Object(J.__)("Not working? %1$sContact %3$s support%2$s.","wordpress-seo"),"","","WordProof"),"https://help.wordproof.com")))};me.propTypes={closeModal:ie.a.func.isRequired};var be=me,he=a(40);t.a=()=>{const[e,t]=Object(Q.useState)(null),a=Object(Q.useCallback)(()=>{t("oauth:failed")}),n=Object(Q.useCallback)(()=>{t("webhook:failed")}),r=Object(Q.useCallback)(()=>{t("oauth:success")}),s=Object(Q.useCallback)(()=>{t(null)});Object(Q.useEffect)(()=>(window.addEventListener("wordproof:oauth:success",r,!1),window.addEventListener("wordproof:oauth:failed",a,!1),window.addEventListener("wordproof:webhook:failed",n,!1),()=>{window.removeEventListener("wordproof:oauth:success",r,!1),window.removeEventListener("wordproof:oauth:failed",a,!1),window.removeEventListener("wordproof:webhook:failed",n,!1)}),[]);const o=Object(Q.useCallback)(()=>{switch(e){case"webhook:failed":return Object(J.__)("Connection failed","wordpress-seo");case"oauth:success":return Object(J.__)("Connected to WordProof","wordpress-seo");default:return Object(J.__)("WordProof authentication","wordpress-seo")}});return Object(Q.createElement)(Q.Fragment,null,e&&Object(Q.createElement)(he.a,{onRequestClose:s,additionalClassName:"yoast-wordproof-modal",title:o()},"oauth:success"===e&&Object(Q.createElement)(ue,{closeModal:s}),"oauth:failed"===e&&Object(Q.createElement)(ee,null),"webhook:failed"===e&&Object(Q.createElement)(be,{closeModal:s})))}},function(e,t,a){"use strict";var n=a(12),r=a.n(n),s=a(0),o=a(1),i=a(5),c=a(2),l=a.n(c),u=a(135);const d=e=>{let{children:t,id:a,hasIcon:n=!0,title:r,image:i=null,isAlertDismissed:c,onDismissed:l}=e;return c?null:Object(s.createElement)("div",{id:a,className:"notice-yoast yoast is-dismissible"},Object(s.createElement)("div",{className:"notice-yoast__container"},Object(s.createElement)("div",null,Object(s.createElement)("div",{className:"notice-yoast__header"},n&&Object(s.createElement)("span",{className:"yoast-icon"}),Object(s.createElement)("h2",{className:"notice-yoast__header-heading"},r)),Object(s.createElement)("p",null,t)),i&&Object(s.createElement)(i,{height:"60"})),Object(s.createElement)("button",{className:"notice-dismiss",onClick:l},Object(s.createElement)("span",{className:"screen-reader-text"},Object(o.__)("Dismiss this notice.","wordpress-seo"))))};d.propTypes={children:l.a.node.isRequired,id:l.a.string.isRequired,hasIcon:l.a.bool,title:l.a.string.isRequired,image:l.a.elementType,isAlertDismissed:l.a.bool.isRequired,onDismissed:l.a.func.isRequired};var p,m,b,h,g,y,f,w,O,j,E,v,_,k,T,x,S,R,C,P,L,A,I,N,D,q,F,M,z,W,B,$,U,K,Y,V,H,G,Z,Q,J,X,ee,te,ae,ne,re,se=Object(u.a)(d),oe=a(3);function ie(){return(ie=Object.assign||function(e){for(var t=1;t{let{store:t="yoast-seo/editor",image:a=ce,url:n,...c}=e;return Object(i.useSelect)(e=>e(t).getIsPremium())?null:Object(s.createElement)(se,r()({alertKey:"webinar-promo-notification",store:t,id:"webinar-promo-notification",title:Object(o.__)("Join our FREE webinar for SEO success","wordpress-seo"),image:a,url:n},c),Object(o.__)("Feeling lost when it comes to optimizing your site for the search engines? Join our FREE webinar to gain the confidence that you need in order to start optimizing like a pro! You'll obtain the knowledge and tools to start effectively implementing SEO.","wordpress-seo")," ",Object(s.createElement)("a",{href:n,target:"_blank",rel:"noreferrer"},Object(o.__)("Sign up today!","wordpress-seo")))};le.propTypes={store:l.a.string,image:l.a.elementType,url:l.a.string.isRequired},t.a=le},,function(e,t,a){"use strict";a.d(t,"a",(function(){return c}));var n=a(46),r=a(39),s=a(112),o=a(54);const{dispatch:i}=wp.data;function c(){const{setIsAuthenticated:e,setSelectedPostTypes:t}=i("wordproof"),a=Object(r.a)("popup_redirect_authentication_url"),c=Object(r.a)("popup_redirect_settings_url");let l=null;const u=(e,t)=>{l=function(e,t){let a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:800,r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:680;const s=e.top.outerHeight/2+e.top.screenY-r/2,o=e.top.outerWidth/2+e.top.screenX-n/2;return e.open(t,a,`toolbar=no,\n\t\tlocation=no,\n\t\tdirectories=no,\n\t\tstatus=no,\n\t\tmenubar=no,\n\t\tresizable=no,\n\t\tcopyhistory=no,\n\t\twidth=${n},\n\t\theight=${r},\n\t\ttop=${s},\n\t\tleft=${o}`)}(window,e,t),l&&l.focus(),window.addEventListener("message",d,!1)},d=async e=>{const{data:t,source:a,origin:n}=e;if(n===Object(r.a)("origin")&&l===a)switch(t.type){case"wordproof:oauth:granted":!1===await b(t)&&await p("wordproof:oauth:failed",!1);break;case"wordproof:oauth:failed":await p("wordproof:oauth:failed",!1);break;case"wordproof:oauth:denied":await p("wordproof:oauth:denied",!1);break;case"wordproof:webhook:success":await p("wordproof:oauth:success",!0);break;case"wordproof:webhook:failed":await p("wordproof:webhook:failed",!1);break;case"wordproof:settings:updated":await p("wordproof:settings:updated"),await h(t);break;case"wordproof:oauth:destroy":await p("wordproof:oauth:destroy",!1);break;case"wordproof:oauth:retry":await p("wordproof:open_authentication",!1);break;case"wordproof:oauth:close":m()}},p=async function(t){let a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;m(),Object(s.a)(t),!1===a&&(await Object(n.b)(),e(!1)),!0===a&&e(!0)},m=()=>{window.removeEventListener("message",d,!1),l.close()},b=async e=>{await Object(n.c)(()=>Object(o.e)(e),async e=>{const t={type:"wordproof:sdk:access-token",source_id:e.source_id};return l.postMessage(t,Object(r.a)("origin")),!0},async()=>!1)},h=async e=>{await Object(n.c)(()=>Object(o.f)(e),async()=>{const a=e.settings;return a.selectedPostTypes&&t(a.selectedPostTypes),!0},async()=>!1)};window.addEventListener("wordproof:open_authentication",e=>{e.preventDefault(),u(a,"WordProof_Authentication")},!1),window.addEventListener("wordproof:open_settings",e=>{e.preventDefault(),u(c,"WordProof_Settings")},!1)}},function(e,t,a){"use strict";a.r(t),a.d(t,"wistiaEmbedPermission",(function(){return o})),a.d(t,"DISMISS_ALERT",(function(){return r.DISMISS_ALERT})),a.d(t,"SNIPPET_EDITOR_FIND_CUSTOM_FIELDS",(function(){return s}));var n=a(24),r=a(131);function s(e){let{query:t,postId:a}=e;return new Promise(e=>{wpseoApi.get("meta/search",{query:t,post_id:a},t=>{e(t.meta)})})}const o=n.s[n.d]},,,,,,,,,,,,function(e,t,a){"use strict";var n=a(5),r=a(20),s=a(0),o=a(1),i=a(2),c=a.n(i),l=a(19),u=a(76),d=a(40),p=a(107),m=a(99),b=a(78),h=a(117);function g(e){const{keyphrases:t,onNoKeyphraseSet:a,onOpen:n,location:r}=e;if(!t.length)return document.querySelector("#focus-keyword-input-sidebar").focus(),void a();n(r)}function y(e,t){Object(m.b)(t)&&e.onClose()}function f(e){const{location:t,whichModalOpen:a,shouldCloseOnClickOutside:n}=e,r=Object(s.useCallback)(()=>{g(e)},[g,e]),i=Object(s.useCallback)(t=>{y(e,t)},[y,e]),c=Object(o.__)("Track SEO performance","wordpress-seo");return Object(s.createElement)(s.Fragment,null,a===t&&Object(s.createElement)(d.a,{title:c,onRequestClose:i,icon:Object(s.createElement)(p.a,null),additionalClassName:"yoast-wincher-seo-performance-modal",shouldCloseOnClickOutside:n},Object(s.createElement)(u.a,{className:"yoast-gutenberg-modal__content yoast-wincher-seo-performance-modal__content"},Object(s.createElement)(h.a,null))),"sidebar"===t&&Object(s.createElement)(b.a,{id:"wincher-open-button-"+t,title:c,suffixIcon:{size:"20px",icon:"pencil-square"},prefixIcon:{icon:"chart-square-bar",color:l.colors.$color_grey_medium_dark},onClick:r}))}f.propTypes={location:c.a.string,whichModalOpen:c.a.oneOf(["none","metabox","sidebar","postpublish"]),shouldCloseOnClickOutside:c.a.bool},f.defaultProps={location:"",whichModalOpen:"none",shouldCloseOnClickOutside:!0},t.a=Object(r.compose)([Object(n.withSelect)(e=>{const{getWincherModalOpen:t,getWincherTrackableKeyphrases:a}=e("yoast-seo/editor");return{keyphrases:a(),whichModalOpen:t()}}),Object(n.withDispatch)(e=>{const{setWincherOpenModal:t,setWincherDismissModal:a,setWincherNoKeyphrase:n}=e("yoast-seo/editor");return{onOpen:e=>{t(e)},onClose:()=>{a()},onNoKeyphraseSet:()=>{n()}}})])(f)},,,,,,,,,,,,,function(e,t,a){"use strict";var n=a(3);const r=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M17 8l4 4m0 0l-4 4m4-4H3"}))}));t.a=r},,,function(e,t,a){"use strict";var n=a(0),r=a(5),s=a(1),o=a(88),i=a(2),c=a.n(i),l=a(83),u=a(141),d=a(142),p=a(150),m=a(151),b=a(143);const h=e=>{let{location:t}=e;const a=Object(r.useSelect)(e=>e("yoast-seo/editor").getIsElementorEditor(),[]),i=Object(r.useSelect)(e=>e("yoast-seo/editor").isFleschReadingEaseAvailable(),[]);return Object(n.createElement)(l.a,{title:Object(s.__)("Insights","wordpress-seo"),id:"yoast-insights-modal-"+t,shouldCloseOnClickOutside:!a,showChangesWarning:!1},Object(n.createElement)("div",{className:"yoast-insights yoast-modal-content--columns"},Object(n.createElement)(p.a,{location:t}),Object(n.createElement)("div",null,i&&Object(n.createElement)("div",{className:"yoast-insights-row"},Object(n.createElement)(d.a,null)),Object(n.createElement)("div",{className:"yoast-insights-row yoast-insights-row--columns"},Object(n.createElement)(u.a,null),Object(n.createElement)(b.a,null)),Object(o.isFeatureEnabled)("TEXT_FORMALITY")&&Object(n.createElement)(m.a,{location:t,name:"YoastTextFormalityMetabox"}))))};h.propTypes={location:c.a.string},h.defaultProps={location:"sidebar"},t.a=h},,,,,,,,,,function(e,t,a){"use strict";var n=a(0),r=a(18),s=a(5),o=a(38),i=a(1),c=a(7),l=a(2),u=a.n(l),d=a(89);const p="yoast-seo/editor",m=()=>{const e=Object(s.useSelect)(e=>e(p).selectLink("https://www.yoa.st/ai-generator-learn-more"),[]),t=Object(s.useSelect)(e=>e(p).selectLink("https://yoa.st/ai-generator-upsell"),[]),a=Object(s.useSelect)(e=>e(p).selectImageLink("ai-generator-preview.png"),[]),r=Object(n.useMemo)(()=>({src:a,width:"432",height:"244"}),[a]),o=Object(s.useSelect)(e=>e(p).selectWistiaEmbedPermissionValue(),[]),i=Object(s.useSelect)(e=>e(p).selectWistiaEmbedPermissionStatus(),[]),{setWistiaEmbedPermission:c}=Object(s.useDispatch)(p),l=Object(n.useMemo)(()=>({value:o,status:i,set:c}),[o,i,c]);return Object(n.createElement)(d.b,{learnMoreLink:e,upsellLink:t,thumbnail:r,wistiaEmbedPermission:l})},b=e=>{let{fieldId:t}=e;const[a,,,r,s]=Object(c.useToggleState)(!1),o=Object(n.useCallback)(()=>{r()},[r]),l=Object(n.useRef)(null);return Object(n.createElement)(n.Fragment,null,Object(n.createElement)("button",{type:"button",id:"yst-replacevar__use-ai-button__"+t,className:"yst-replacevar__use-ai-button-upsell",onClick:o},Object(i.__)("Use AI","wordpress-seo")),Object(n.createElement)(c.Modal,{className:"yst-introduction-modal",isOpen:a,onClose:s,initialFocus:l},Object(n.createElement)(c.Modal.Panel,{className:"yst-max-w-lg yst-p-0 yst-bg-gradient-to-b yst-from-[#EDD2E1] yst-rounded-3xl"},Object(n.createElement)(m,{onClose:s,focusElementRef:l}))))};b.propTypes={fieldId:u.a.string.isRequired},t.a=()=>{const e=Object(s.select)("yoast-seo/editor").getIsPremium();Object(o.addFilter)("yoast.replacementVariableEditor.additionalButtons","yoast/yoast-seo-premium/AiGenerator",(t,a)=>{let{fieldId:s}=a;return e||t.push(Object(n.createElement)(r.Fill,{name:"yoast.replacementVariableEditor.additionalButtons."+s},Object(n.createElement)(b,{fieldId:s}))),t})}},,function(e,t,a){"use strict";a.d(t,"a",(function(){return p}));var n=a(54),r=a(39),s=a(2),o=a.n(s),i=a(112);const c=e=>{const{response:t,createSuccessNotice:a,createErrorNotice:n,postId:s}=e;if(null===t||200===t.status)return;const o={id:"wordproof-timestamp-notice"};if(t&&201===t.status)0===t.balance?(o.actions=[{label:Object(r.a)("translations.open_settings_button_text"),onClick:()=>{Object(i.a)("wordproof:open_settings")},variant:"link"}],n(Object(r.a)("translations.no_balance"),o)):(a(Object(r.a)("translations.timestamp_success"),{type:"snackbar",id:"wordproof-timestamp-notice"}),l(s,t.hash,n,o));else if(t.error)switch(t.error){case"not_authenticated":o.type="snackbar",o.actions=[{label:Object(r.a)("translations.open_authentication_button_text"),onClick:()=>{Object(i.a)("wordproof:open_authentication")},variant:"link"}],n(Object(r.a)("translations.not_authenticated"),o);break;case"timestamp_failed":default:n(Object(r.a)("translations.timestamp_failed"),o)}},l=async(e,t,a,s)=>{setTimeout(async()=>{(await Object(n.c)(e)).hash!==t&&(s.type="snackbar",a(Object(r.a)("translations.webhook_failed"),s))},1e4)};c.proptypes={timestampResponse:o.a.any.isRequired,createSuccessNotice:o.a.func.isRequired,createErrorNotice:o.a.func.isRequired,postId:o.a.number.isRequired};const{debounce:u}=lodash,{applyFilters:d}=wp.hooks;function p(e,t,a){e(u(async()=>{if(d("wordproof.timestamp",!0)){const e=Object(r.a)("current_post_id"),s=await Object(n.g)(e);c({response:s,createSuccessNotice:t,createErrorNotice:a,postId:e})}},500))}},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,a){"use strict";a.r(t);var n={};a.r(n),a.d(n,"updateData",(function(){return O})),a.d(n,"loadSnippetEditorData",(function(){return j}));var r={};a.r(r),a.d(r,"getAnalysisData",(function(){return A}));var s={};a.r(s),a.d(s,"authorFirstName",(function(){return z})),a.d(s,"authorLastName",(function(){return W})),a.d(s,"currentDate",(function(){return B})),a.d(s,"currentDay",(function(){return $})),a.d(s,"currentMonth",(function(){return U})),a.d(s,"category",(function(){return K})),a.d(s,"categoryTitle",(function(){return Y})),a.d(s,"currentYear",(function(){return V})),a.d(s,"date",(function(){return H})),a.d(s,"excerpt",(function(){return G})),a.d(s,"focusKeyphrase",(function(){return Z})),a.d(s,"id",(function(){return Q})),a.d(s,"modified",(function(){return J})),a.d(s,"name",(function(){return X})),a.d(s,"page",(function(){return ee})),a.d(s,"pageNumber",(function(){return te})),a.d(s,"pageTotal",(function(){return ae})),a.d(s,"permalink",(function(){return ne})),a.d(s,"postContent",(function(){return re})),a.d(s,"postDay",(function(){return se})),a.d(s,"postMonth",(function(){return oe})),a.d(s,"postYear",(function(){return ie})),a.d(s,"postTypeNamePlural",(function(){return ce})),a.d(s,"postTypeNameSingular",(function(){return le})),a.d(s,"primaryCategory",(function(){return ue})),a.d(s,"searchPhrase",(function(){return de})),a.d(s,"separator",(function(){return pe})),a.d(s,"siteDescription",(function(){return me})),a.d(s,"siteName",(function(){return be})),a.d(s,"tag",(function(){return he})),a.d(s,"term404",(function(){return ge})),a.d(s,"termDescription",(function(){return ye})),a.d(s,"termHierarchy",(function(){return fe})),a.d(s,"termTitle",(function(){return we})),a.d(s,"title",(function(){return Oe})),a.d(s,"userDescription",(function(){return je}));var o=a(5),i=a(38),c=a(214),l=a(173);$e.modules.hookUI.Base;class u extends $e.modules.hookData.Base{constructor(e,t,a){super(),this.hook=e,this.id=t,this.callback=a}getCommand(){return this.hook}getId(){return this.id}apply(){return this.callback()}}function d(e,t){let a=null;t.actions&&(a=[],t.actions.forEach(e=>{a.push({name:"wordproof_notice_button",text:e.label,callback(){e.onClick()}})})),window.elementor.notifications.showToast({message:e,buttons:a})}function p(e){!function(e,t,a){$e&&$e.hooks.registerDataAfter(new u("document/save/save","wordproof/timestamper",a))}(0,0,()=>{window.setTimeout(e,1e3)})}var m=a(212),b=a(16),h=a(4),g=a(174);class y{static get titleElement(){return document.getElementById(window.wpseoScriptData.isPost?"yoast_wpseo_title":"hidden_wpseo_title")}static get descriptionElement(){return document.getElementById(window.wpseoScriptData.isPost?"yoast_wpseo_metadesc":"hidden_wpseo_desc")}static get slugElement(){return document.getElementById("yoast_wpseo_slug")}static get title(){return y.titleElement.value}static set title(e){y.titleElement.value=e}static get description(){return y.descriptionElement.value}static set description(e){y.descriptionElement.value=e}static get slug(){return y.slugElement.value}static set slug(e){y.slugElement.value=e}}const{UPDATE_DATA:f,LOAD_SNIPPET_EDITOR_DATA:w}=b.actions;function O(e){if(e.hasOwnProperty("title")){let t=e.title;e.title===Object(h.get)(window,"wpseoScriptData.metabox.title_template","")&&(t=""),y.title=t}if(e.hasOwnProperty("description")){let t=e.description;e.description===Object(h.get)(window,"wpseoScriptData.metabox.metadesc_template","")&&(t=""),y.description=t}return e.hasOwnProperty("slug")&&(y.slug=e.slug),{type:f,data:e}}const j=()=>{const e=Object(h.get)(window,"wpseoScriptData.metabox.title_template",""),t=Object(h.get)(window,"wpseoScriptData.metabox.metadesc_template","");return{type:w,data:{title:y.title||e,description:y.description||t,slug:y.slug},templates:{title:e,description:t}}};var E=a(9),v=a(100),_=a(51);const{getBaseUrlFromSettings:k,getContentLocale:T,getEditorDataContent:x,getFocusKeyphrase:S,getSnippetEditorDescriptionWithTemplate:R,getSnippetEditorSlug:C,getSnippetEditorTitleWithTemplate:P,getDateFromSettings:L}=b.selectors,A=e=>{let t=P(e),a=R(e),n=C(e);const r=k(e);return t=E.strings.stripHTMLTags(Object(_.a)("data_page_title",t)),a=E.strings.stripHTMLTags(Object(_.a)("data_meta_desc",a)),n=n.trim().replace(/\s+/g,"-"),{text:x(e),title:t,keyword:S(e),description:a,locale:T(e),titleWidth:Object(v.a)(t),slug:n,permalink:r+n,date:L(e)}};var I=a(14);function N(e,t){const{updateWordsToHighlight:a}=Object(o.dispatch)("yoast-seo/editor");e("morphology",new I.Paper("",{keyword:t})).then(e=>{let{result:{keyphraseForms:t}}=e;a(Object(h.uniq)(Object(h.flatten)(t)))}).catch(()=>{a([])})}const D=Object(h.debounce)(N,500);var q=a(1),F=a(17),M=a(165),z={name:"author_first_name",label:"Author first name",placeholder:"%%author_first_name%%",aliases:[],getReplacement:function(){return Object(h.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.author_first_name","")},regexp:new RegExp("%%author_first_name%%","g")},W={name:"author_last_name",label:"Author last name",placeholder:"%%author_last_name%%",aliases:[],getReplacement:function(){return Object(h.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.author_last_name","")},regexp:new RegExp("%%author_last_name%%","g")},B={name:"currentdate",label:"Current date",placeholder:"%%currentdate%%",aliases:[],getReplacement:function(){return Object(h.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.currentdate","")},regexp:new RegExp("%%currentdate%%","g")},$={name:"currentday",label:"Current day",placeholder:"%%currentday%%",aliases:[],getReplacement:function(){return Object(h.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.currentday","")},regexp:new RegExp("%%currentday%%","g")},U={name:"currentmonth",label:"Current month",placeholder:"%%currentmonth%%",aliases:[],getReplacement:function(){return Object(h.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.currentmonth","")},regexp:new RegExp("%%currentmonth%%","g")},K={name:"category",label:"Category",placeholder:"%%category%%",aliases:[],getReplacement:function(){return Object(h.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.category","")},regexp:new RegExp("%%category%%","g")},Y={name:"category_title",label:"Category Title",placeholder:"%%category_title%%",aliases:[],getReplacement:function(){return Object(h.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.category_title","")},regexp:new RegExp("%%category_title%%","g")},V={name:"currentyear",label:"Current year",placeholder:"%%currentyear%%",aliases:[],getReplacement:function(){return Object(h.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.currentyear","")},regexp:new RegExp("%%currentyear%%","g")},H={name:"date",label:"Date",placeholder:"%%date%%",aliases:[],getReplacement:function(){return Object(h.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.date","")},regexp:new RegExp("%%date%%","g")},G={name:"excerpt",label:"Excerpt",placeholder:"%%excerpt%%",aliases:[{name:"excerpt_only",label:"Excerpt only",placeholder:"%%excerpt_only%%"}],getReplacement:function(){return Object(o.select)("yoast-seo/editor").getEditorDataExcerptWithFallback()},regexp:new RegExp("%%excerpt%%|%%excerpt_only%%","g")},Z={name:"focuskw",label:"Focus keyphrase",placeholder:"%%focuskw%%",aliases:[],getReplacement:function(){return Object(o.select)("yoast-seo/editor").getFocusKeyphrase()},regexp:new RegExp("%%focuskw%%|%%keyword%%","g")},Q={name:"id",label:"ID",placeholder:"%%id%%",aliases:[],getReplacement:function(){return Object(h.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.id","")},regexp:new RegExp("%%id%%","g")},J={name:"modified",label:"Modified",placeholder:"%%modified%%",aliases:[],getReplacement:function(){return Object(h.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.modified","")},regexp:new RegExp("%%modified%%","g")},X={name:"name",label:"Name",placeholder:"%%name%%",aliases:[],getReplacement:function(){return Object(h.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.name","")},regexp:new RegExp("%%name%%","g")},ee={name:"page",label:"Page",placeholder:"%%page%%",aliases:[],getReplacement:function(){return Object(h.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.page","")},regexp:new RegExp("%%page%%","g")},te={name:"pagenumber",label:"Pagenumber",placeholder:"%%pagenumber%%",aliases:[],getReplacement:function(){return Object(h.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.pagenumber","")},regexp:new RegExp("%%pagenumber%%","g")},ae={name:"pagetotal",label:"Pagetotal",placeholder:"%%pagetotal%%",aliases:[],getReplacement:function(){return Object(h.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.pagetotal","")},regexp:new RegExp("%%pagetotal%%","g")},ne={name:"permalink",label:"Permalink",placeholder:"%%permalink%%",aliases:[],getReplacement:function(){return Object(h.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.permalink","")},regexp:new RegExp("%%permalink%%","g")},re={name:"post_content",label:"Post Content",placeholder:"%%post_content%%",aliases:[],getReplacement:function(){return Object(h.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.post_content","")},regexp:new RegExp("%%post_content%%","g")},se={name:"post_day",label:"Post Day",placeholder:"%%post_day%%",aliases:[],getReplacement:function(){return Object(h.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.post_day","")},regexp:new RegExp("%%post_day%%","g")},oe={name:"post_month",label:"Post Month",placeholder:"%%post_month%%",aliases:[],getReplacement:function(){return Object(h.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.post_month","")},regexp:new RegExp("%%post_month%%","g")},ie={name:"post_year",label:"Post Year",placeholder:"%%post_year%%",aliases:[],getReplacement:function(){return Object(h.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.post_year","")},regexp:new RegExp("%%post_year%%","g")},ce={name:"pt_plural",label:"Post type (plural)",placeholder:"%%pt_plural%%",aliases:[],getReplacement:function(){return Object(h.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.pt_plural","")},regexp:new RegExp("%%pt_plural%%","g")},le={name:"pt_single",label:"Post type (singular)",placeholder:"%%pt_single%%",aliases:[],getReplacement:function(){return Object(h.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.pt_single","")},regexp:new RegExp("%%pt_single%%","g")},ue={name:"primary_category",label:"Primary category",placeholder:"%%primary_category%%",aliases:[],getReplacement:function(){return Object(h.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.primary_category","")},regexp:new RegExp("%%primary_category%%","g")},de={name:"searchphrase",label:"Search phrase",placeholder:"%%searchphrase%%",aliases:[],getReplacement:function(){return Object(h.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.searchphrase","")},regexp:new RegExp("%%searchphrase%%","g")},pe={name:"sep",label:"Separator",placeholder:"%%sep%%",aliases:[],getReplacement:function(){return Object(h.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.sep","")},regexp:new RegExp("%%sep%%(\\s*%%sep%%)*","g")},me={name:"sitedesc",label:"Tagline",placeholder:"%%sitedesc%%",aliases:[],getReplacement:function(){return Object(h.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.sitedesc","")},regexp:new RegExp("%%sitedesc%%","g")},be={name:"sitename",label:"Site title",placeholder:"%%sitename%%",aliases:[],getReplacement:function(){return Object(h.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.sitename","")},regexp:new RegExp("%%sitename%%","g")},he={name:"tag",label:"Tag",placeholder:"%%tag%%",aliases:[],getReplacement:function(){return Object(h.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.tag","")},regexp:new RegExp("%%tag%%","g")},ge={name:"term404",label:"Term404",placeholder:"%%term404%%",aliases:[],getReplacement:function(){return Object(h.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.term404","")},regexp:new RegExp("%%term404%%","g")},ye={name:"term_description",label:"Term description",placeholder:"%%term_description%%",aliases:[{name:"tag_description",label:"Tag description",placeholder:"%%tag_description%%"},{name:"category_description",label:"Category description",placeholder:"%%category_description%%"}],getReplacement:function(){return Object(h.get)(window,"YoastSEO.app.rawData.text","")},regexp:new RegExp("%%term_description%%|%%tag_description%%|%%category_description%%","g")},fe={name:"term_hierarchy",label:"Term hierarchy",placeholder:"%%term_hierarchy%%",aliases:[],getReplacement:function(){return Object(h.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.term_hierarchy","")},regexp:new RegExp("%%term_hierarchy%%","g")},we={name:"term_title",label:"Term title",placeholder:"%%term_title%%",aliases:[],getReplacement:function(){return Object(h.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.term_title","")},regexp:new RegExp("%%term_title%%","g")},Oe={name:"title",label:"Title",placeholder:"%%title%%",aliases:[],getReplacement:function(){return Object(o.select)("yoast-seo/editor").getEditorDataTitle()},regexp:new RegExp("%%title%%","g")},je={name:"user_description",label:"User description",placeholder:"%%user_description%%",aliases:[],getReplacement:function(){return Object(h.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.user_description","")},regexp:new RegExp("%%user_description%%","g")},Ee=a(30);let ve=null,_e=null;const ke=e=>{["content","title","snippet_title","snippet_meta","primary_category","data_page_title","data_meta_desc","excerpt"].forEach(t=>{Object(_.d)(t,e,"replaceVariablePlugin",10)})},Te=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";switch(""===e&&(e=Object(h.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.scope","")),e){case"post":case"page":return["authorFirstName","authorLastName","category","categoryTitle","currentDate","currentDay","currentMonth","currentYear","date","excerpt","id","focusKeyphrase","modified","name","page","primaryCategory","pageNumber","pageTotal","permalink","postContent","postDay","postMonth","postYear","postTypeNamePlural","postTypeNameSingular","searchPhrase","separator","siteDescription","siteName","tag","title","userDescription"]}return[]},xe=e=>ke(t=>t.replace(new RegExp(e.placeholder,"g"),e.replacement)),Se=()=>{if(null===_e){_e=[];const e=Object(h.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.hidden_replace_vars",[]);(null===ve&&(ve=Te().map(e=>null==s?void 0:s[e]).filter(Boolean)),ve).forEach(t=>{const a=e.includes(t.name);_e.push({name:t.name,label:t.label,value:t.placeholder,hidden:a}),t.aliases.forEach(e=>{_e.push({name:e.name,label:e.label,value:e.placeholder,hidden:a})})})}return _e};var Re=a(41),Ce=a(137),Pe=a(0),Le=a(11);class Ae extends $e.modules.hookUI.Base{constructor(e,t,a){super(),this.hook=e,this.id=t,this.callback=a}getCommand(){return this.hook}getId(){return this.id}apply(){return this.callback()}}class Ie extends $e.modules.hookData.Base{constructor(e,t,a){super(),this.hook=e,this.id=t,this.callback=a}getCommand(){return this.hook}getId(){return this.id}apply(){return this.callback()}}function Ne(e,t,a){$e.hooks.registerUIAfter(new Ae(e,t,a))}var De=a(115),qe=a(18),Fe=a(139);function Me(){return Object(Pe.createElement)(qe.Slot,{name:"YoastElementor"},e=>Object(Fe.a)(e))}var ze=a(20),We=a(2),Be=a.n(We),Ue=a(140),Ke=a(202),Ye=a(8);function Ve(e){return 0===e.message.length?null:Object(Pe.createElement)(Ye.Alert,{type:e.type},e.message)}Ve.propTypes={message:Be.a.oneOfType([Be.a.array,Be.a.string]).isRequired,type:Be.a.string.isRequired};var He=Object(o.withSelect)(e=>{const{getWarningMessage:t}=e("yoast-seo/editor");return{message:t(),type:"info"}})(Ve),Ge=a(62),Ze=a(32),Qe=a(83),Je=a(12),Xe=a.n(Je),et=a(160),tt=a(161),at=a(60);const{stripHTMLTags:nt}=E.strings,rt=(e,t)=>{const a=Object(o.select)("yoast-seo/editor").getSnippetEditorTemplates();""===e.title&&(e.title=a.title),""===e.description&&(e.description=a.description);let n=0;return t.shortenedBaseUrl&&"string"==typeof t.shortenedBaseUrl&&(n=t.shortenedBaseUrl.length),e.url=e.url.replace(/\s+/g,"-"),"-"===e.url[e.url.length-1]&&(e.url=e.url.slice(0,-1)),"-"===e.url[n]&&(e.url=e.url.slice(0,n)+e.url.slice(n+1)),{url:e.url,title:nt(Object(_.a)("data_page_title",e.title)),description:nt(Object(_.a)("data_meta_desc",e.description)),filteredSEOTitle:nt(Object(_.a)("data_page_title",e.filteredSEOTitle))}},st=e=>{let{isLoading:t,onLoad:a,location:n,...r}=e;return Object(Pe.useEffect)(()=>{setTimeout(()=>{t&&a()})}),t?null:Object(Pe.createElement)(tt.a,{icon:"eye",hasPaperStyle:r.hasPaperStyle},Object(Pe.createElement)(et.SnippetEditor,Xe()({},r,{descriptionPlaceholder:Object(q.__)("Please provide a meta description by editing the snippet below.","wordpress-seo"),mapEditorDataToPreview:rt,showCloseButton:!1,idSuffix:n})))};st.propTypes={isLoading:Be.a.bool.isRequired,onLoad:Be.a.func.isRequired,hasPaperStyle:Be.a.bool.isRequired,location:Be.a.string.isRequired};var ot=Object(ze.compose)([Object(o.withSelect)(e=>{const{getBaseUrlFromSettings:t,getDateFromSettings:a,getEditorDataImageUrl:n,getFocusKeyphrase:r,getRecommendedReplaceVars:s,getSiteIconUrlFromSettings:o,getSnippetEditorData:i,getSnippetEditorIsLoading:c,getSnippetEditorMode:l,getSnippetEditorWordsToHighlight:u,isCornerstoneContent:d,getContentLocale:p,getSiteName:m}=e("yoast-seo/editor");return{baseUrl:t(),data:i(),date:a(),faviconSrc:o(),isLoading:c(),keyword:r(),mobileImageSrc:n(),mode:l(),recommendedReplacementVariables:s(),replacementVariables:Se(),wordsToHighlight:u(),isCornerstone:d(),locale:p(),siteName:m()}}),Object(o.withDispatch)(e=>{const{updateData:t,switchMode:a,updateAnalysisData:n,loadSnippetEditorData:r}=e("yoast-seo/editor");return{onChange:(e,n)=>{switch(e){case"mode":a(n);break;case"slug":t({slug:n});break;default:t({[e]:n})}},onChangeAnalysisData:n,onLoad:r}}),Object(at.a)()])(st),it=()=>Object(Pe.createElement)(Qe.a,{title:Object(q.__)("Google preview","wordpress-seo"),id:"yoast-google-preview-modal",shouldCloseOnClickOutside:!1},Object(Pe.createElement)(ot,{showCloseButton:!1,hasPaperStyle:!1})),ct=a(163),lt=a(53);const ut=()=>{Object(lt.b)(e=>Object(o.dispatch)("yoast-seo/editor").setTwitterPreviewImage(Object(lt.d)(e)))};var dt=Object(ze.compose)([Object(o.withSelect)(e=>{const{getTwitterDescription:t,getTwitterTitle:a,getTwitterImageUrl:n,getFacebookImageUrl:r,getFacebookTitle:s,getFacebookDescription:o,getDescription:i,getSeoTitle:c,getTwitterWarnings:l,getTwitterImageType:u,getEditorDataImageFallback:d,getRecommendedReplaceVars:p,getSiteUrl:m,getSeoTitleTemplate:b,getSeoTitleTemplateNoFallback:h,getSocialTitleTemplate:g,getSeoDescriptionTemplate:y,getSocialDescriptionTemplate:f,getEditorDataExcerptWithFallback:w,getTwitterAltText:O}=e("yoast-seo/editor");return{imageUrl:n(),imageFallbackUrl:r()||d(),recommendedReplacementVariables:p(),replacementVariables:Se(),description:t(),descriptionPreviewFallback:f()||o()||i()||y()||w()||"",title:a(),titlePreviewFallback:g()||s()||c()||h()||b()||"",imageWarnings:l(),siteUrl:m(),isPremium:!!Object(F.a)().isPremium,isLarge:"summary"!==u(),titleInputPlaceholder:"",descriptionInputPlaceholder:"",socialMediumName:"Twitter",alt:O()}}),Object(o.withDispatch)(e=>{const{setTwitterPreviewTitle:t,setTwitterPreviewDescription:a,clearTwitterPreviewImage:n,loadTwitterPreviewData:r}=e("yoast-seo/editor");return{onSelectImageClick:ut,onRemoveImageClick:n,onDescriptionChange:a,onTitleChange:t,onLoad:r}}),Object(at.a)()])(ct.a),pt=()=>Object(Pe.createElement)(Qe.a,{title:Object(q.__)("Twitter preview","wordpress-seo"),id:"yoast-twitter-preview-modal",shouldCloseOnClickOutside:!1},Object(Pe.createElement)(dt,null)),mt=a(162);const bt=()=>{Object(lt.b)(e=>Object(o.dispatch)("yoast-seo/editor").setFacebookPreviewImage(Object(lt.c)(e)))};var ht=Object(ze.compose)([Object(o.withSelect)(e=>{const{getFacebookDescription:t,getDescription:a,getFacebookTitle:n,getSeoTitle:r,getFacebookImageUrl:s,getEditorDataImageFallback:o,getFacebookWarnings:i,getRecommendedReplaceVars:c,getSiteUrl:l,getSeoTitleTemplate:u,getSeoTitleTemplateNoFallback:d,getSocialTitleTemplate:p,getSeoDescriptionTemplate:m,getSocialDescriptionTemplate:b,getEditorDataExcerptWithFallback:h,getFacebookAltText:g}=e("yoast-seo/editor");return{imageUrl:s(),imageFallbackUrl:o(),recommendedReplacementVariables:c(),replacementVariables:Se(),description:t(),descriptionPreviewFallback:b()||a()||m()||h()||"",title:n(),titlePreviewFallback:p()||r()||d()||u()||"",imageWarnings:i(),siteUrl:l(),isPremium:!!Object(F.a)().isPremium,titleInputPlaceholder:"",descriptionInputPlaceholder:"",socialMediumName:"Facebook",alt:g()}}),Object(o.withDispatch)(e=>{const{setFacebookPreviewTitle:t,setFacebookPreviewDescription:a,clearFacebookPreviewImage:n,loadFacebookPreviewData:r}=e("yoast-seo/editor");return{onSelectImageClick:bt,onRemoveImageClick:n,onDescriptionChange:a,onTitleChange:t,onLoad:r}}),Object(at.a)()])(mt.a),gt=()=>Object(Pe.createElement)(Qe.a,{title:Object(q.__)("Facebook preview","wordpress-seo"),id:"yoast-facebook-preview-modal",shouldCloseOnClickOutside:!1},Object(Pe.createElement)(ht,null)),yt=a(149),ft=a(66),wt=a(148),Ot=a(147),jt=a(136),Et=a(186),vt=a(170),_t=a(171),kt=a(144);function Tt(e){let{isLoading:t,onLoad:a,settings:n}=e;if(Object(Pe.useEffect)(()=>{setTimeout(()=>{t&&a()})}),t)return null;const r=Object(h.get)(window,"wpseoScriptData.webinarIntroElementorUrl","https://yoa.st/webinar-intro-elementor");return Object(Pe.createElement)(Pe.Fragment,null,Object(Re.b)()&&Object(Pe.createElement)(vt.a,null),Object(Pe.createElement)(qe.Fill,{name:"YoastElementor"},Object(Pe.createElement)(Ze.a,{renderPriority:1},Object(Pe.createElement)(He,null),Object(Pe.createElement)(_t.a,{hasIcon:!1,image:null,url:r})),n.isKeywordAnalysisActive&&Object(Pe.createElement)(Ze.a,{renderPriority:8},Object(Pe.createElement)(Ge.KeywordInput,{isSEMrushIntegrationActive:n.isSEMrushIntegrationActive}),!window.wpseoScriptData.metabox.isPremium&&Object(Pe.createElement)(qe.Fill,{name:"YoastRelatedKeyphrases"},Object(Pe.createElement)(jt.a,null))),Object(Pe.createElement)(Ze.a,{renderPriority:25},Object(Pe.createElement)(it,null)),n.displayFacebook&&Object(Pe.createElement)(Ze.a,{renderPriority:26},Object(Pe.createElement)(gt,null)),n.displayTwitter&&Object(Pe.createElement)(Ze.a,{renderPriority:27},Object(Pe.createElement)(pt,null)),n.displaySchemaSettings&&Object(Pe.createElement)(Ze.a,{renderPriority:28},Object(Pe.createElement)(ft.a,{title:Object(q.__)("Schema","wordpress-seo")},Object(Pe.createElement)(wt.a,null))),n.displayAdvancedTab&&Object(Pe.createElement)(Ze.a,{renderPriority:29},Object(Pe.createElement)(ft.a,{title:Object(q.__)("Advanced","wordpress-seo")},Object(Pe.createElement)(Ot.a,{location:"sidebar"}))),n.isKeywordAnalysisActive&&Object(Pe.createElement)(Ze.a,{renderPriority:10},Object(Pe.createElement)(Pe.Fragment,null,Object(Pe.createElement)(Ge.SeoAnalysis,{shouldUpsell:n.shouldUpsell,shouldUpsellWordFormRecognition:n.isWordFormRecognitionActive}),n.shouldUpsell&&Object(Pe.createElement)(yt.a,null))),n.isContentAnalysisActive&&Object(Pe.createElement)(Ze.a,{renderPriority:15},Object(Pe.createElement)(Ge.ReadabilityAnalysis,{shouldUpsell:n.shouldUpsell})),n.isInclusiveLanguageAnalysisActive&&Object(Pe.createElement)(Ze.a,{renderPriority:19},Object(Pe.createElement)(Ge.InclusiveLanguageAnalysis,null)),n.isKeywordAnalysisActive&&Object(Pe.createElement)(Ze.a,{key:"additional-keywords-upsell",renderPriority:22},n.shouldUpsell&&Object(Pe.createElement)(kt.a,null)),n.isKeywordAnalysisActive&&n.isWincherIntegrationActive&&Object(Pe.createElement)(Ze.a,{key:"wincher-seo-performance",renderPriority:23},Object(Pe.createElement)(Et.a,{location:"sidebar",shouldCloseOnClickOutside:!1})),n.isCornerstoneActive&&Object(Pe.createElement)(Ze.a,{renderPriority:30},Object(Pe.createElement)(Ue.a,null)),n.isInsightsEnabled&&Object(Pe.createElement)(Ze.a,{renderPriority:32},Object(Pe.createElement)(Ke.a,{location:"elementor"}))))}Tt.propTypes={isLoading:Be.a.bool.isRequired,onLoad:Be.a.func.isRequired,settings:Be.a.object.isRequired};var xt=Object(ze.compose)([Object(o.withSelect)(e=>{const{getPreferences:t,getSnippetEditorIsLoading:a}=e("yoast-seo/editor");return{settings:t(),isLoading:a()}}),Object(o.withDispatch)(e=>{const{loadSnippetEditorData:t}=e("yoast-seo/editor");return{onLoad:t}})])(Tt),St=a(22);let Rt,Ct=!1;function Pt(e){e.oldValue=e.value}function Lt(){Rt.forEach(e=>Pt(e))}const At=Object(h.debounce)((function(){let e;Ct&&( /* Translators: %1$s translates to the Post Label in singular form */ e=Object(q.sprintf)(Object(q.__)("Unfortunately we cannot save changes to your SEO settings while you are working on a draft of an already-published %1$s. If you want to save your SEO changes, make sure to click 'Update', or wait to make your SEO changes until you are ready to update the %1$s.","wordpress-seo"),window.wpseoAdminL10n.postTypeNameSingular.toLowerCase())),"draft"===window.elementor.settings.page.model.get("post_status")&&(e=""),Object(o.dispatch)("yoast-seo/editor").setWarningMessage(e)}),500,{trailing:!0});function It(e){var t;(function(e){return["yoast_wpseo_linkdex","yoast_wpseo_content_score","yoast_wpseo_inclusive_language_score","yoast_wpseo_words_for_linking","yoast_wpseo_estimated-reading-time-minutes"].includes(e.name)})(e)||(t=e.name,["yoast_wpseo_focuskeywords","hidden_wpseo_focuskeywords"].includes(t)&&function(e,t){if(t===e)return!0;if(""===t||""===e)return!1;const a=JSON.parse(t),n=JSON.parse(e);return a.length===n.length&&a.every((e,t)=>e.keyword===n[t].keyword)}(e.oldValue,e.value)||e.value!==e.oldValue&&(Ct=!0,At(),window.$e.internal("document/save/set-is-modified",{status:!0}),Pt(e)))}function Nt(e){Ct=!1;const t=jQuery(e).serializeArray().reduce((e,t)=>{let{name:a,value:n}=t;return e[a]=n,e},{});jQuery.post(e.getAttribute("action"),t,(e,a,n)=>{let{success:r,data:s}=e;r?(Object(i.doAction)("yoast.elementor.save.success",n),s.slug&&s.slug!==t.slug&&Object(o.dispatch)("yoast-seo/editor").updateData({slug:s.slug}),Lt(),At()):Ct=!0})}function Dt(){const e={locationContext:"elementor-sidebar"};setTimeout(()=>{Object(De.b)("elementor-panel-page-settings-controls",Object(Pe.createElement)(St.Root,{context:e},Object(Pe.createElement)(Le.StyleSheetManager,{target:document.getElementById("elementor-panel-inner")},Object(Pe.createElement)("div",{className:"yoast yoast-elementor-panel__fills"},Object(Pe.createElement)(Me,null),Object(Pe.createElement)(xt,null)))))},200)}function qt(){window.YoastSEO=window.YoastSEO||{},window.YoastSEO._registerReactComponent=De.a,window.elementor.settings.page.model.on("change",e=>{e.changed&&e.changed.post_status&&At()});const e=Nt.bind(null,document.getElementById("yoast-form"));$e.hooks.registerDataAfter(new Ie("document/save/save","yoast-seo-save",()=>{window.elementor.config.document.id===window.elementor.config.document.revisions.current_id&&e()})),window.elementor.modules.layouts.panel.pages.menu.Menu.addItem({name:"yoast",icon:"yoast yoast-element-menu-icon",title:"Yoast SEO",type:"page",callback:()=>{try{window.$e.route("panel/page-settings/yoast-tab")}catch(e){window.$e.route("panel/page-settings/settings"),window.$e.route("panel/page-settings/yoast-tab")}Dt()}},"more"),jQuery(document).on("click",'[data-tab="yoast-tab"]:not(.elementor-active)',Dt).on("keyup",'[data-tab="yoast-tab"]:not(.elementor-active)',e=>{13!==e.keyCode&&32!==e.keyCode||e.currentTarget.click()}),Rt=document.querySelectorAll("input[name^='yoast']"),Lt(),setInterval(()=>Rt.forEach(It),500)}var Ft=a(166);const Mt={content:"",title:"",excerpt:"",slug:"",imageUrl:""};function zt(e){const t=window.elementor.settings.page.model.get("post_featured_image"),a=Object(h.get)(t,"url","");return""===a?function(e){const t=I.languageProcessing.imageInText(e);if(0===t.length)return"";const a=jQuery.parseHTML(t.join(""));for(const e of a)if(e.src)return e.src;return""}(e):a}const Wt=Object(h.debounce)((function(){const e=window.elementor.documents.getCurrent();if(!["wp-post","wp-page"].includes(e.config.type))return;const t=function(e){const t=function(e){const t=[];return e.$element.find(".elementor-widget-container").each((e,a)=>{t.push(a.innerHTML.trim())}),t.join("")}(e);return{content:t,title:window.elementor.settings.page.model.get("post_title"),excerpt:window.elementor.settings.page.model.get("post_excerpt")||"",imageUrl:zt(t)}}(e);t.content!==Mt.content&&(Mt.content=t.content,Object(o.dispatch)("yoast-seo/editor").setEditorDataContent(Mt.content)),t.title!==Mt.title&&(Mt.title=t.title,Object(o.dispatch)("yoast-seo/editor").setEditorDataTitle(Mt.title)),t.excerpt!==Mt.excerpt&&(Mt.excerpt=t.excerpt,Object(o.dispatch)("yoast-seo/editor").setEditorDataExcerpt(Mt.excerpt)),t.imageUrl!==Mt.imageUrl&&(Mt.imageUrl=t.imageUrl,Object(o.dispatch)("yoast-seo/editor").setEditorDataImageUrl(Mt.imageUrl))}),500);function Bt(){window.YoastSEO=window.YoastSEO||{},window.YoastSEO.store=function(){const e=Object(o.registerStore)("yoast-seo/editor",{reducer:Object(o.combineReducers)(b.reducers),selectors:{...b.selectors,...r},actions:Object(h.pickBy)({...b.actions,...n},e=>"function"==typeof e),controls:g});return(e=>{e.dispatch(b.actions.loadCornerstoneContent()),e.dispatch(b.actions.loadFocusKeyword()),e.dispatch(b.actions.setMarkerStatus("hidden")),e.dispatch(b.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}}));const{facebook:t,twitter:a}=window.wpseoScriptData.metabox.showSocial;t&&e.dispatch(b.actions.loadFacebookPreviewData()),a&&e.dispatch(b.actions.loadTwitterPreviewData()),e.dispatch(b.actions.setSEMrushChangeCountry(window.wpseoScriptData.metabox.countryCode)),e.dispatch(b.actions.setSEMrushLoginStatus(window.wpseoScriptData.metabox.SEMrushLoginStatus)),e.dispatch(b.actions.setWincherLoginStatus(window.wpseoScriptData.metabox.wincherLoginStatus,!1)),e.dispatch(b.actions.setWincherWebsiteId(window.wpseoScriptData.metabox.wincherWebsiteId)),e.dispatch(b.actions.setWincherAutomaticKeyphaseTracking(window.wpseoScriptData.metabox.wincherAutoAddKeyphrases)),e.dispatch(b.actions.setDismissedAlerts(Object(h.get)(window,"wpseoScriptData.dismissedAlerts",{}))),e.dispatch(b.actions.setIsPremium(Boolean(Object(h.get)(window,"wpseoScriptData.metabox.isPremium",!1)))),e.dispatch(b.actions.setLinkParams(Object(h.get)(window,"wpseoScriptData.linkParams",{}))),e.dispatch(b.actions.setPluginUrl(Object(h.get)(window,"wpseoScriptData.pluginUrl",""))),e.dispatch(b.actions.setWistiaEmbedPermissionValue("1"===Object(h.get)(window,"wpseoScriptData.wistiaEmbedPermission",!1)))})(e),e}(),Ne("editor/documents/attach-preview","yoast-seo-content-scraper-attach-preview",Wt),Ne("document/save/set-is-modified","yoast-seo-content-scraper-on-modified",Wt),window.YoastSEO.pluginReady=_.b,window.YoastSEO.pluginReloaded=_.c,window.YoastSEO.registerModification=_.d,window.YoastSEO.registerPlugin=_.e,window.YoastSEO.applyModifications=_.a,window.YoastSEO.analysis=window.YoastSEO.analysis||{},window.YoastSEO.analysis.run=Object(o.dispatch)("yoast-seo/editor").runAnalysis,window.YoastSEO.analysis.worker=Object(Ce.b)(),window.YoastSEO.analysis.collectData=Ce.a,Object(_.e)("replaceVariablePlugin",{status:"ready"}),Te().forEach(e=>{const t=null==s?void 0:s[e];if(t){const e=(e=>{let{getReplacement:t,regexp:a}=e;return e=>e.replace(a,t())})(t);ke(e)}}),window.YoastSEO.wp=window.YoastSEO.wp||{},window.YoastSEO.wp.replaceVarsPlugin={addReplacement:xe,ReplaceVar:Ee.a},function(){const e=Object(F.a)(),t=Object(h.get)(window,["wpseoScriptData","analysis","worker","keywords_assessment_url"],"used-keywords-assessment.js"),a=Object(h.get)(window,["wpseoScriptData","usedKeywordsNonce"],""),n=new M.a("get_focus_keyword_usage_and_post_types",e,Object(o.dispatch)("yoast-seo/editor").runAnalysis,t,a);n.init();let r="";Object(o.subscribe)(()=>{const e=Object(o.select)("yoast-seo/editor").getFocusKeyphrase();e!==r&&(r=e,n.setKeyword(e))})}(),Object(Ft.a)(),function(e){const{getFocusKeyphrase:t}=Object(o.select)("yoast-seo/editor");let a=t();N(e,a),Object(o.subscribe)(()=>{const n=t();a!==n&&(a=n,D(e,n))})}(window.YoastSEO.analysis.worker.runResearch),function(){if(!0===window.elementor.config.user.introduction["yoast-introduction"])return;const e=new window.elementorModules.editor.utils.Introduction({introductionKey:"yoast-introduction",dialogOptions:{id:"yoast-introduction",className:"elementor-right-click-introduction",headerMessage:Object(q.__)("New: Yoast SEO for Elementor","wordpress-seo"),message:Object(q.__)("Get started with Yoast SEO's content analysis for Elementor!","wordpress-seo"),position:{my:"left top",at:"right top",autoRefresh:!0},hide:{onOutsideClick:!1}},onDialogInitCallback:t=>{window.$e.routes.on("run:after",(function(e,a){"panel/menu"===a&&t.getElements("ok").trigger("click")})),t.addButton({name:"ok",text:Object(q.__)("Got it","wordpress-seo"),callback:()=>e.setViewed()}),t.getElements("ok").addClass("elementor-button elementor-button-success")}});setTimeout((function t(){try{e.show(window.elementor.getPanelView().header.currentView.ui.menuButton[0])}catch(e){setTimeout(t,100)}}),100)}(),qt(),Object(Re.b)()&&(Object(l.a)(),Object(c.a)(p,d,d)),window.wpseoScriptData.postType&&!["attachment","product"].includes(window.wpseoScriptData.postType)&&Object(m.a)(),Object(i.doAction)("yoast.elementor.loaded")}jQuery(window).on("elementor:init",()=>{window.elementor.on("panel:init",()=>{setTimeout(Bt)})})}]);