AlkantarClanX12
Current Path : /home/thanudqk/siampokernew.org/wp-content/plugins/wordpress-seo/js/dist/ |
Current File : /home/thanudqk/siampokernew.org/wp-content/plugins/wordpress-seo/js/dist/elementor-1580.js |
(window.yoastWebpackJsonp=window.yoastWebpackJsonp||[]).push([[12],[function(e,t){e.exports=window.lodash},function(e,t,n){e.exports=n(22)()},function(e,t){e.exports=React},function(e,t){e.exports=window.wp.i18n},function(e,t){e.exports=window.wp.element},function(e,t){e.exports=window.yoast.componentsNew},function(e,t){e.exports=window.yoast.helpers},function(e,t){e.exports=window.wp.data},function(e,t){e.exports=window.yoast.styledComponents},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return(0,r.get)(window,"wpseoScriptData.metabox",{intl:{},isRtl:!1})};var r=n(0)},function(e,t){e.exports=window.wp.compose},function(e,t){e.exports=window.yoast.analysis},function(e,t){e.exports=window.wp.components},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.LOAD_SNIPPET_EDITOR_DATA=t.UPDATE_WORDS_TO_HIGHLIGHT=t.REFRESH=t.REMOVE_REPLACEMENT_VARIABLE=t.UPDATE_REPLACEMENT_VARIABLE=t.UPDATE_DATA=t.SWITCH_MODE=void 0,t.switchMode=function(e){return{type:a,mode:e}},t.updateData=function(e){return{type:o,data:e}},t.updateReplacementVariable=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",a="string"==typeof t?(0,r.decodeHTML)(t):t;return{type:i,name:e,value:a,label:n}},t.updateWordsToHighlight=function(e){return{type:u,wordsToHighlight:e}},t.removeReplacementVariable=function(e){return{type:s,name:e}},t.refreshSnippetEditor=function(){return{type:l,time:(new Date).getMilliseconds()}};var r=n(6),a=t.SWITCH_MODE="SNIPPET_EDITOR_SWITCH_MODE",o=t.UPDATE_DATA="SNIPPET_EDITOR_UPDATE_DATA",i=t.UPDATE_REPLACEMENT_VARIABLE="SNIPPET_EDITOR_UPDATE_REPLACEMENT_VARIABLE",s=t.REMOVE_REPLACEMENT_VARIABLE="SNIPPET_EDITOR_REMOVE_REPLACEMENT_VARIABLE",l=t.REFRESH="SNIPPET_EDITOR_REFRESH",u=t.UPDATE_WORDS_TO_HIGHLIGHT="SNIPPET_EDITOR_UPDATE_WORDS_TO_HIGHLIGHT";t.LOAD_SNIPPET_EDITOR_DATA="LOAD_SNIPPET_EDITOR_DATA"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.LocationConsumer=t.LocationProvider=t.LocationContext=void 0;var r=n(4),a=t.LocationContext=(0,r.createContext)();t.LocationProvider=a.Provider,t.LocationConsumer=a.Consumer},function(e,t){e.exports=window.yoast.components},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.setSeoResultsForKeyword=t.setReadabilityResults=t.setOverallSeoScore=t.setOverallReadabilityScore=void 0;var r=n(43);Object.keys(r).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return r[e]}})});var a=n(44);Object.keys(a).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return a[e]}})});var o=n(69);Object.keys(o).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return o[e]}})});var i=n(35);Object.keys(i).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return i[e]}})});var s=n(70);Object.keys(s).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return s[e]}})});var l=n(71);Object.keys(l).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return l[e]}})});var u=n(45);Object.keys(u).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return u[e]}})});var c=n(36);Object.keys(c).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return c[e]}})});var d=n(29);Object.keys(d).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return d[e]}})});var p=n(46);Object.keys(p).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return p[e]}})});var f=n(47);Object.keys(f).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return f[e]}})});var m=n(48);Object.keys(m).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return m[e]}})});var y=n(50);Object.keys(y).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return y[e]}})});var g=n(73);Object.keys(g).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return g[e]}})});var _=n(51);Object.keys(_).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return _[e]}})});var h=n(37);Object.keys(h).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return h[e]}})});var v=n(13);Object.keys(v).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return v[e]}})});var w=n(52);Object.keys(w).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return w[e]}})});var b=n(53);Object.keys(b).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return b[e]}})});var E=n(54);Object.keys(E).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return E[e]}})});var T=n(15);Object.defineProperty(t,"setReadabilityResults",{enumerable:!0,get:function(){return T.setReadabilityResults}}),Object.defineProperty(t,"setSeoResultsForKeyword",{enumerable:!0,get:function(){return T.setSeoResultsForKeyword}});var O=function(e){return e&&e.__esModule?e:{default:e}}(n(26));t.setOverallReadabilityScore=function(e){return O.default.readabilityScore=e,(0,T.setOverallReadabilityScore)(e)},t.setOverallSeoScore=function(e,t){return O.default.seoScore=e,(0,T.setOverallSeoScore)(e,t)}},function(e,t){e.exports=window.yoast.reactRedux},function(e,t){e.exports=window.yoast.styleGuide},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r="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},a=s(n(2)),o=s(n(78)),i=s(n(81));function s(e){return e&&e.__esModule?e:{default:e}}var l=void 0;function u(e,t){var n,i,s,c,d,p,f,m,y=[],g={};for(p=0;p<e.length;p++)if("string"!==(d=e[p]).type){if(!t.hasOwnProperty(d.value)||void 0===t[d.value])throw new Error("Invalid interpolation, missing component node: `"+d.value+"`");if("object"!==r(t[d.value]))throw new Error("Invalid interpolation, component node must be a ReactElement or null: `"+d.value+"`","\n> "+l);if("componentClose"===d.type)throw new Error("Missing opening component token: `"+d.value+"`");if("componentOpen"===d.type){n=t[d.value],s=p;break}y.push(t[d.value])}else y.push(d.value);return n&&(c=function(e,t){var n,r,a=t[e],o=0;for(r=e+1;r<t.length;r++)if((n=t[r]).value===a.value){if("componentOpen"===n.type){o++;continue}if("componentClose"===n.type){if(0===o)return r;o--}}throw new Error("Missing closing component token `"+a.value+"`")}(s,e),f=u(e.slice(s+1,c),t),i=a.default.cloneElement(n,{},f),y.push(i),c<e.length-1&&(m=u(e.slice(c+1),t),y=y.concat(m))),1===y.length?y[0]:(y.forEach(function(e,t){e&&(g["interpolation-child-"+t]=e)}),(0,o.default)(g))}t.default=function(e){var t=e.mixedString,n=e.components,a=e.throwErrors;if(l=t,!n)return t;if("object"!==(void 0===n?"undefined":r(n))){if(a)throw new Error("Interpolation Error: unable to process `"+t+"` because components is not an object");return t}var o=(0,i.default)(t);try{return u(o,n)}catch(e){if(a)throw new Error("Interpolation Error: unable to process `"+t+"` because of error `"+e.message+"`");return t}}},,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){(0,o.isNil)(e)||(e/=10);return function(e){switch(e){case"feedback":return{className:"na",screenReaderText:(0,r.__)("Feedback","wordpress-seo"),screenReaderReadabilityText:""};case"bad":return{className:"bad",screenReaderText:(0,r.__)("Needs improvement","wordpress-seo"),screenReaderReadabilityText:(0,r.__)("Needs improvement","wordpress-seo")};case"ok":return{className:"ok",screenReaderText:(0,r.__)("OK SEO score","wordpress-seo"),screenReaderReadabilityText:(0,r.__)("OK","wordpress-seo")};case"good":return{className:"good",screenReaderText:(0,r.__)("Good SEO score","wordpress-seo"),screenReaderReadabilityText:(0,r.__)("Good","wordpress-seo")};default:return{className:"loading",screenReaderText:"",screenReaderReadabilityText:""}}}(a.helpers.scoreToRating(e))};var r=n(3),a=n(11),o=n(0)},function(e,t,n){"use strict";var r=n(23),a=n(24),o=n(25);e.exports=function(){function e(e,t,n,r,i,s){s!==o&&a(!1,"Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types")}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t};return n.checkPropTypes=r,n.PropTypes=n,n}},function(e,t,n){"use strict";function r(e){return function(){return e}}var a=function(){};a.thatReturns=r,a.thatReturnsFalse=r(!1),a.thatReturnsTrue=r(!0),a.thatReturnsNull=r(null),a.thatReturnsThis=function(){return this},a.thatReturnsArgument=function(e){return e},e.exports=a},function(e,t,n){"use strict";var r=function(e){};e.exports=function(e,t,n,a,o,i,s,l){if(r(t),!e){var u;if(void 0===t)u=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[n,a,o,i,s,l],d=0;(u=new Error(t.replace(/%s/g,function(){return c[d++]}))).name="Invariant Violation"}throw u.framesToPop=1,u}}},function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();var a=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}return r(e,null,[{key:"keyphraseElement",get:function(){return document.getElementById(window.wpseoScriptData.isPost?"yoast_wpseo_focuskw":"hidden_wpseo_focuskw")}},{key:"isCornerstoneElement",get:function(){return document.getElementById(window.wpseoScriptData.isPost?"yoast_wpseo_is_cornerstone":"hidden_wpseo_is_cornerstone")}},{key:"seoScoreElement",get:function(){return document.getElementById("yoast_wpseo_linkdex")}},{key:"readabilityScoreElement",get:function(){return document.getElementById("yoast_wpseo_content_score")}},{key:"keyphrase",set:function(t){e.keyphraseElement.value=t},get:function(){return e.keyphraseElement.value}},{key:"isCornerstone",set:function(t){e.isCornerstoneElement.value=t?"1":"0"},get:function(){return"1"===e.isCornerstoneElement.value}},{key:"seoScore",set:function(t){e.seoScoreElement.value=t},get:function(){return e.seoScoreElement.value}},{key:"readabilityScore",set:function(t){e.readabilityScoreElement.value=t},get:function(){return e.readabilityScoreElement.value}}]),e}();t.default=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getIconForScore=function(e){var t={icon:"seo-score-none",color:a.colors.$color_grey_disabled};switch(e){case"loading":t={icon:"loading-spinner",color:a.colors.$color_green_medium_light};break;case"good":t={icon:"seo-score-good",color:a.colors.$color_green_medium};break;case"ok":t={icon:"seo-score-ok",color:a.colors.$color_ok};break;case"bad":t={icon:"seo-score-bad",color:a.colors.$color_red}}return t},t.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n={errorsResults:[],problemsResults:[],improvementsResults:[],goodResults:[],considerationsResults:[]};if(!e)return n;for(var r=0;r<e.length;r++){var a=e[r];if(a.text){var o=i(a,t);n=s(o,n)}}return n};var r=n(11),a=n(18),o=r.helpers.scoreToRating;function i(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=e.getIdentifier(),r={score:e.score,rating:o(e.score),hasMarks:e.hasMarks(),marker:e.getMarker(),id:n,text:e.text,markerId:t.length>0?t+":"+n:n};return"ok"===r.rating&&(r.rating="OK"),r}function s(e,t){switch(e.rating){case"error":t.errorsResults.push(e);break;case"feedback":t.considerationsResults.push(e);break;case"bad":t.problemsResults.push(e);break;case"OK":t.improvementsResults.push(e);break;case"good":t.goodResults.push(e)}return t}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=o;var r=n(4),a=function(e){return e&&e.__esModule?e:{default:e}}(n(1));function o(e){var t=e.target,n=e.children,a=t;return"string"==typeof t&&(a=document.getElementById(t)),a?(0,r.createPortal)(n,a):null}o.propTypes={target:a.default.oneOfType([a.default.string,a.default.object]).isRequired,children:a.default.node.isRequired}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=t.SET_MARKER_STATUS="WPSEO_SET_MARKER_STATUS";t.setMarkerStatus=function(e){return{type:r,marksButtonStatus:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.applyReplaceUsingPlugin=t.nonReplaceVars=void 0;var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};t.fillReplacementVariables=function(e,t){(0,a.forEach)(e,function(e,n){l.includes(n)||t.dispatch((0,o.updateReplacementVariable)(n,e))})},t.handlePrefixes=u,t.createLabelFromName=c,t.pushNewReplaceVar=function(e,t){return e.push({name:t.name,label:t.label||c(t.name),value:t.value}),e},t.replaceSpaces=d,t.prepareCustomFieldForDispatch=p,t.prepareCustomTaxonomyForDispatch=f,t.mapCustomTaxonomies=function(e,t){if(!e.custom_taxonomies)return e;return(0,a.forEach)(e.custom_taxonomies,function(e,n){var r=f(n),a=r.name,i=r.label,s=r.descriptionName,l=r.descriptionLabel;t.dispatch((0,o.updateReplacementVariable)(a,e.name,i)),t.dispatch((0,o.updateReplacementVariable)(s,e.description,l))}),(0,a.omit)(r({},e),"custom_taxonomies")},t.mapCustomFields=function(e,t){if(!e.custom_fields)return e;return(0,a.forEach)(e.custom_fields,function(e,n){var r=p(n),a=r.name,i=r.label;t.dispatch((0,o.updateReplacementVariable)(a,e,i))}),(0,a.omit)(r({},e),"custom_fields")},t.excerptFromContent=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:156;if((e=(e=wp.sanitize.stripTags(e)).trim()).length<=t)return e;return(e=e.substring(0,t)).substring(0,e.lastIndexOf(" "))};var a=n(0),o=n(13),i=n(40),s=n(6).strings.stripHTMLTags,l=t.nonReplaceVars=["slug","content","contentImage","snippetPreviewImageURL"];function u(e){if(!["ct_","cf_","pt_"].includes(e.substr(0,3)))return e.replace(/_/g," ");var t=e.slice(0,3);switch(-1!==(e=e.slice(3)).indexOf("desc_")&&(e=e.slice(5)+" description"),t){case"ct_":e+=" (custom taxonomy)";break;case"cf_":e+=" (custom field)";break;case"pt_":e="Post type ("+(e=e.replace("single","singular"))+")"}return e}function c(e){return e=u(e),(0,i.firstToUpperCase)(e)}function d(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"_";return e.replace(/\s/g,t)}function p(e){return{name:"cf_"+d(e),label:(0,i.firstToUpperCase)(e+" (custom field)")}}function f(e){var t=d(e);return{name:"ct_"+t,label:(0,i.firstToUpperCase)(e+" (custom taxonomy)"),descriptionName:"ct_desc_"+t,descriptionLabel:(0,i.firstToUpperCase)(e+" description (custom taxonomy)")}}t.applyReplaceUsingPlugin=function(e){var t=(0,a.get)(window,["YoastSEO","app","pluggable"],!1);if(!t||!(0,a.get)(window,["YoastSEO","app","pluggable","loaded"],!1))return function(e){var t=(0,a.get)(window,["YoastSEO","wp","replaceVarsPlugin","replaceVariables"],a.identity);return{url:e.url,title:s(t(e.title)),description:s(t(e.description))}}(e);var n=t._applyModifications.bind(t);return{url:e.url,title:s(n("data_page_title",e.title)),description:s(n("data_meta_desc",e.description))}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){return function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],r=!0,a=!1,o=void 0;try{for(var i,s=e[Symbol.iterator]();!(r=(i=s.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(e){a=!0,o=e}finally{try{!r&&s.return&&s.return()}finally{if(a)throw o}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),a=n(4),o=n(5),i=function(e){return e&&e.__esModule?e:{default:e}}(n(1));var s=function(e){var t=(0,a.useState)(!1),n=r(t,2),i=n[0],s=n[1],l=e.prefixIcon;return wp.element.createElement("div",{className:"yoast components-panel__body "+(i?"is-opened":"")},wp.element.createElement("h2",{className:"components-panel__body-title"},wp.element.createElement("button",{onClick:function(){s(!i)},className:"components-button components-panel__body-toggle"},wp.element.createElement("span",{className:"yoast-icon-span",style:{fill:""+(l&&l.color||"")}},l&&wp.element.createElement(o.SvgIcon,{icon:l.icon,color:l.color,size:l.size})),wp.element.createElement("span",{className:"yoast-title-container"},wp.element.createElement("div",{className:"yoast-title"},e.title),wp.element.createElement("div",{className:"yoast-subtitle"},e.subTitle)),wp.element.createElement("span",{className:"yoast-chevron","aria-hidden":"true"}))),i&&e.children)};t.default=s,s.propTypes={title:i.default.string.isRequired,children:i.default.oneOfType([i.default.node,i.default.arrayOf(i.default.node)]).isRequired,prefixIcon:i.default.object,subTitle:i.default.string},s.defaultProps={prefixIcon:null,subTitle:""}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};t.default=function(){return(0,a.createHigherOrderComponent)(function(e){return(0,a.pure)(function(t){var n=(0,o.useContext)(i.LocationContext);return(0,o.createElement)(e,r({},t,{location:n}))})},"withLocation")};var a=n(10),o=n(4),i=n(14)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(18),a=n(6),o=function(e){return e&&e.__esModule?e:{default:e}}(n(8));var i=(0,a.makeOutboundLink)(o.default.a.withConfig({displayName:"HelpLink",componentId:"qyhmof-0"})(["display:inline-block;position:relative;outline:none;text-decoration:none;border-radius:100%;width:24px;height:24px;margin:-4px 0;vertical-align:middle;color:",";&:hover,&:focus{color:",";}&:active{color:",';}&::before{position:absolute;top:0;left:0;padding:2px;content:"\f223";}'],r.colors.$color_help_text,r.colors.$color_snippet_focus,r.colors.$color_help_text));t.default=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a=n(5);var o=(0,function(e){return e&&e.__esModule?e:{default:e}}(n(8)).default)(a.Collapsible).withConfig({displayName:"MetaboxCollapsible__StyledMetaboxCollapsible",componentId:"k2tood-0"})(['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.default=function(e){return wp.element.createElement(o,r({hasPadding:!0,hasSeparator:!0},e))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.toggleCornerstoneContent=t.setCornerstoneContent=t.loadCornerstoneContent=t.SET_CORNERSTONE_CONTENT=t.TOGGLE_CORNERSTONE_CONTENT=t.LOAD_CORNERSTONE_CONTENT=void 0;var r=function(e){return e&&e.__esModule?e:{default:e}}(n(26));t.LOAD_CORNERSTONE_CONTENT="WPSEO_LOAD_CORNERSTONE_CONTENT";var a=t.TOGGLE_CORNERSTONE_CONTENT="WPSEO_TOGGLE_CORNERSTONE_CONTENT",o=t.SET_CORNERSTONE_CONTENT="WPSEO_SET_CORNERSTONE_CONTENT";t.loadCornerstoneContent=function(){return{type:o,isCornerstone:r.default.isCornerstone}},t.setCornerstoneContent=function(e){return r.default.isCornerstone=e,{type:o,isCornerstone:e}},t.toggleCornerstoneContent=function(){return r.default.isCornerstone=!r.default.isCornerstone,{type:a}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.setFocusKeyword=t.loadFocusKeyword=t.SET_FOCUS_KEYWORD=t.LOAD_FOCUS_KEYWORD=void 0;var r=function(e){return e&&e.__esModule?e:{default:e}}(n(26));var a=t.LOAD_FOCUS_KEYWORD="WPSEO_LOAD_FOCUS_KEYWORD",o=t.SET_FOCUS_KEYWORD="WPSEO_SET_FOCUS_KEYWORD";t.loadFocusKeyword=function(){return{type:a,keyword:r.default.keyphrase}},t.setFocusKeyword=function(e){return r.default.keyphrase=e,{type:o,keyword:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=t.SET_SETTINGS="SET_SETTINGS",a=t.SET_CONTENT_IMAGE="SET_CONTENT_IMAGE";t.setSettings=function(e){return{type:r,settings:e}},t.setContentImage=function(e){return{type:a,src:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.defaultModalClassName=void 0;var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a=function(e){return e&&e.__esModule?e:{default:e}}(n(1)),o=n(12);var i=t.defaultModalClassName="yoast yoast-gutenberg-modal",s=function(e){var t=e.title,n=e.className,a=e.showYoastIcon,i=e.additionalClassName,s=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["title","className","showYoastIcon","additionalClassName"]),l=a?wp.element.createElement("span",{className:"yoast-icon"}):null;return wp.element.createElement(o.Modal,r({title:t,className:n+" "+i,icon:l},s),e.children)};s.propTypes={title:a.default.string,className:a.default.string,showYoastIcon:a.default.bool,children:a.default.oneOfType([a.default.node,a.default.arrayOf(a.default.node)]),additionalClassName:a.default.string},s.defaultProps={title:"Yoast SEO",className:i,showYoastIcon:!0,children:null,additionalClassName:""},t.default=s},function(e,t,n){"use strict";function r(e){return function(){return e}}var a=function(){};a.thatReturns=r,a.thatReturnsFalse=r(!1),a.thatReturnsTrue=r(!0),a.thatReturnsNull=r(null),a.thatReturnsThis=function(){return this},a.thatReturnsArgument=function(e){return e},e.exports=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.firstToUpperCase=function(e){return e.charAt(0).toUpperCase()+e.slice(1)},t.stripHTML=function(e){var t=document.createElement("DIV");return t.innerHTML=e,t.textContent||t.innerText||""}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.setTextdomainL10n=o,t.setYoastComponentsL10n=function(){o("yoast-components")},t.setWordPressSeoL10n=function(){o("wordpress-seo")};var r=n(3),a=n(0);function o(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"wpseoYoastJSL10n",n=(0,a.get)(window,[t,e,"locale_data",e],!1);!1===n?(0,r.setLocaleData)({"":{}},e):(0,r.setLocaleData)(n,e)}},,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.setActiveMarker=function(e){return{type:r,activeMarker:e}};var r=t.SET_ACTIVE_MARKER="WPSEO_SET_ACTIVE_MARKER"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.loadAdvancedSettingsData=t.setCanonical=t.setBreadcrumbsTitle=t.setAdvanced=t.setNoFollow=t.setNoIndex=t.LOAD_ADVANCED_SETTINGS=t.SET_CANONICAL_URL=t.SET_BREADCRUMBS_TITLE=t.SET_ADVANCED=t.SET_NO_FOLLOW=t.SET_NO_INDEX=void 0;var r=function(e){return e&&e.__esModule?e:{default:e}}(n(68));var a=t.SET_NO_INDEX="SET_NO_INDEX",o=t.SET_NO_FOLLOW="SET_NO_FOLLOW",i=t.SET_ADVANCED="SET_ADVANCED",s=t.SET_BREADCRUMBS_TITLE="SET_BREADCRUMBS_TITLE",l=t.SET_CANONICAL_URL="SET_CANONICAL_URL",u=t.LOAD_ADVANCED_SETTINGS="LOAD_ADVANCED_SETTINGS";t.setNoIndex=function(e){return r.default.noIndex=e,{type:a,value:e}},t.setNoFollow=function(e){return r.default.noFollow=e,{type:o,value:e}},t.setAdvanced=function(e){return r.default.advanced=e.join(","),{type:i,value:e}},t.setBreadcrumbsTitle=function(e){return r.default.breadcrumbsTitle=e,{type:s,value:e}},t.setCanonical=function(e){return r.default.canonical=e,{type:l,value:e}},t.loadAdvancedSettingsData=function(){return{type:u,settings:{noIndex:r.default.noIndex,noFollow:r.default.noFollow,advanced:r.default.advanced.split(","),breadcrumbsTitle:r.default.breadcrumbsTitle,canonical:r.default.canonical,isLoading:!1}}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.LOAD_ESTIMATED_READING_TIME=t.SET_ESTIMATED_READING_TIME=void 0,t.setEstimatedReadingTime=function(e){return r.default.estimatedReadingTime=e,{type:a,estimatedReadingTime:e}},t.loadEstimatedReadingTime=function(){return{type:o,estimatedReadingTime:r.default.estimatedReadingTime}};var r=function(e){return e&&e.__esModule?e:{default:e}}(n(72));var a=t.SET_ESTIMATED_READING_TIME="SET_ESTIMATED_READING_TIME",o=t.LOAD_ESTIMATED_READING_TIME="LOAD_ESTIMATED_READING_TIME"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.setMarkerPauseStatus=function(e){return{type:r,isMarkerPaused:e}};var r=t.SET_MARKER_PAUSE_STATUS="WPSEO_SET_MARKER_PAUSE_STATUS"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=t.SET_PRIMARY_TAXONOMY="WPSEO_SET_PRIMARY_TAXONOMY";t.setPrimaryTaxonomyId=function(e,t){return{type:r,taxonomy:e,termId:t}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getSchemaArticleData=t.getSchemaPageData=t.setArticleType=t.setPageType=t.GET_SCHEMA_ARTICLE_DATA=t.GET_SCHEMA_PAGE_DATA=t.SET_ARTICLE_TYPE=t.SET_PAGE_TYPE=void 0;var r=function(e){return e&&e.__esModule?e:{default:e}}(n(49));var a=t.SET_PAGE_TYPE="SET_PAGE_TYPE",o=t.SET_ARTICLE_TYPE="SET_ARTICLE_TYPE",i=t.GET_SCHEMA_PAGE_DATA="GET_SCHEMA_PAGE_DATA",s=t.GET_SCHEMA_ARTICLE_DATA="GET_SCHEMA_ARTICLE_DATA";t.setPageType=function(e){return r.default.pageType=e,{type:a,pageType:e}},t.setArticleType=function(e){return r.default.articleType=e,{type:o,articleType:e}},t.getSchemaPageData=function(){return{type:i,pageType:r.default.pageType,defaultPageType:r.default.defaultPageType}},t.getSchemaArticleData=function(){return{type:s,articleType:r.default.articleType,defaultArticleType:r.default.defaultArticleType}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();var a=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}return r(e,null,[{key:"articleTypeInput",get:function(){return document.getElementById("yoast_wpseo_schema_article_type")}},{key:"defaultArticleType",get:function(){return e.articleTypeInput.getAttribute("data-default")}},{key:"articleType",get:function(){return e.articleTypeInput.value},set:function(t){e.articleTypeInput.value=t}},{key:"pageTypeInput",get:function(){return document.getElementById("yoast_wpseo_schema_page_type")}},{key:"defaultPageType",get:function(){return e.pageTypeInput.getAttribute("data-default")}},{key:"pageType",get:function(){return e.pageTypeInput.value},set:function(t){e.pageTypeInput.value=t}}]),e}();t.default=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.addBlockValidation=function(e){return{type:r,validation:e}},t.resetBlockValidation=function(){return{type:a}};var r=t.ADD_BLOCK_VALIDATION="WPSEO_ADD_BLOCK_VALIDATION",a=t.RESET_BLOCK_VALIDATIONS="WPSEO_CLEAR_BLOCK_VALIDATIONS"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.setSEMrushNewRequest=function(e,t){return{type:s,countryCode:e,keyphrase:t}},t.setSEMrushRequestSucceeded=function(e){return{type:a,response:e}},t.setSEMrushRequestFailed=function(e){return{type:o,response:e}},t.setSEMrushSetRequestLimitReached=function(){return{type:i}},t.setSEMrushChangeCountry=function(e){return{type:r,countryCode:e}},t.setSEMrushNoResultsFound=function(){return{type:l}},t.setSEMrushLoginStatus=function(e){return{type:u,loginStatus:e}};var r=t.CHANGE_COUNTRY="CHANGE_COUNTRY",a=t.SET_REQUEST_SUCCEEDED="SET_REQUEST_SUCCEEDED",o=t.SET_REQUEST_FAILED="SET_REQUEST_FAILED",i=t.SET_REQUEST_LIMIT_REACHED="SET_LIMIT_REACHED",s=t.NEW_REQUEST="NEW_REQUEST",l=t.NO_DATA_FOUND="NO_DATA_FOUND",u=t.SET_LOGIN_STATUS="SET_LOGIN_STATUS"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.loadTwitterPreviewData=t.clearTwitterPreviewImage=t.setTwitterPreviewImage=t.setTwitterPreviewDescription=t.setTwitterPreviewTitle=t.LOAD_TWITTER_PREVIEW=t.CLEAR_TWITTER_IMAGE=t.SET_TWITTER_IMAGE=t.SET_TWITTER_DESCRIPTION=t.SET_TWITTER_TITLE=void 0;var r=function(e){return e&&e.__esModule?e:{default:e}}(n(74));var a=t.SET_TWITTER_TITLE="SET_TWITTER_TITLE",o=t.SET_TWITTER_DESCRIPTION="SET_TWITTER_DESCRIPTION",i=t.SET_TWITTER_IMAGE="SET_TWITTER_IMAGE",s=t.CLEAR_TWITTER_IMAGE="CLEAR_TWITTER_IMAGE",l=t.LOAD_TWITTER_PREVIEW="LOAD_TWITTER_PREVIEW";t.setTwitterPreviewTitle=function(e){return r.default.title=e,{type:a,title:e}},t.setTwitterPreviewDescription=function(e){return r.default.description=e,{type:o,description:e}},t.setTwitterPreviewImage=function(e){return r.default.imageId=e.id,r.default.imageUrl=e.url,{type:i,image:e}},t.clearTwitterPreviewImage=function(){return r.default.imageId="",r.default.imageUrl="",{type:s}},t.loadTwitterPreviewData=function(){return{type:l,imageId:r.default.imageId,imageUrl:r.default.imageUrl,description:r.default.description,title:r.default.title}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.loadFacebookPreviewData=t.clearFacebookPreviewImage=t.setFacebookPreviewImage=t.setFacebookPreviewDescription=t.setFacebookPreviewTitle=t.LOAD_FACEBOOK_PREVIEW=t.CLEAR_FACEBOOK_IMAGE=t.SET_FACEBOOK_IMAGE=t.SET_FACEBOOK_DESCRIPTION=t.SET_FACEBOOK_TITLE=void 0;var r=function(e){return e&&e.__esModule?e:{default:e}}(n(75));var a=t.SET_FACEBOOK_TITLE="SET_FACEBOOK_TITLE",o=t.SET_FACEBOOK_DESCRIPTION="SET_FACEBOOK_DESCRIPTION",i=t.SET_FACEBOOK_IMAGE="SET_FACEBOOK_IMAGE",s=t.CLEAR_FACEBOOK_IMAGE="CLEAR_FACEBOOK_IMAGE",l=t.LOAD_FACEBOOK_PREVIEW="LOAD_FACEBOOK_PREVIEW";t.setFacebookPreviewTitle=function(e){return r.default.title=e,{type:a,title:e}},t.setFacebookPreviewDescription=function(e){return r.default.description=e,{type:o,description:e}},t.setFacebookPreviewImage=function(e){return r.default.imageUrl=e.url,r.default.imageId=e.id,{type:i,image:e}},t.clearFacebookPreviewImage=function(){return r.default.imageId="",r.default.imageUrl="",{type:s}},t.loadFacebookPreviewData=function(){return{type:l,imageId:r.default.imageId,imageUrl:r.default.imageUrl,description:r.default.description,title:r.default.title}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.setWarningMessage=function(e){return{type:r,message:e}};var r=t.SET_WARNING_MESSAGE="SET_WARNING_MESSAGE"},function(e,t){e.exports=window.wp.apiFetch},function(e,t){e.exports=window.wp.url},,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=(0,r.default)();return 1===(0,a.get)(e,"keywordAnalysisActive",0)};var r=function(e){return e&&e.__esModule?e:{default:e}}(n(9)),a=n(0)},function(e,t){e.exports=window.yoast.replacementVariableEditor},,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(7),a=n(10),o=function(e){return e&&e.__esModule?e:{default:e}}(n(113));t.default=(0,a.compose)([(0,r.withSelect)(function(e){return{activeMarker:(0,e("yoast-seo/editor").getActiveMarker)()}}),(0,r.withDispatch)(function(e){var t=e("yoast-seo/editor");return{setActiveMarker:t.setActiveMarker,setMarkerPauseStatus:t.setMarkerPauseStatus}})])(o.default)},,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=(0,r.default)();return 1===(0,a.get)(e,"contentAnalysisActive",0)};var r=function(e){return e&&e.__esModule?e:{default:e}}(n(9)),a=n(0)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=document.getElementById(r);t||(t=function(){var e=document.createElement("div");return e.id=r,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="18px",e.style.fontWeight="400",document.body.appendChild(e),e}());return t.innerHTML=e,t.offsetWidth};var r="yoast-measurement-element"},,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();var a=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}return r(e,null,[{key:"noIndexElement",get:function(){return document.getElementById(window.wpseoScriptData.isPost?"yoast_wpseo_meta-robots-noindex":"hidden_wpseo_noindex")}},{key:"noFollowElement",get:function(){return document.getElementById("yoast_wpseo_meta-robots-nofollow")}},{key:"advancedElement",get:function(){return document.getElementById("yoast_wpseo_meta-robots-adv")}},{key:"breadcrumbsTitleElement",get:function(){return document.getElementById(window.wpseoScriptData.isPost?"yoast_wpseo_bctitle":"hidden_wpseo_bctitle")}},{key:"canonicalElement",get:function(){return document.getElementById(window.wpseoScriptData.isPost?"yoast_wpseo_canonical":"hidden_wpseo_canonical")}},{key:"noIndex",get:function(){return e.noIndexElement&&e.noIndexElement.value||""},set:function(t){e.noIndexElement.value=t}},{key:"noFollow",get:function(){return e.noFollowElement&&e.noFollowElement.value||""},set:function(t){e.noFollowElement.value=t}},{key:"advanced",get:function(){return e.advancedElement&&e.advancedElement.value||""},set:function(t){e.advancedElement.value=t}},{key:"breadcrumbsTitle",get:function(){return e.breadcrumbsTitleElement&&e.breadcrumbsTitleElement.value||""},set:function(t){e.breadcrumbsTitleElement.value=t}},{key:"canonical",get:function(){return e.canonicalElement&&e.canonicalElement.value||""},set:function(t){e.canonicalElement.value=t}}]),e}();t.default=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.updateAnalysisData=function(e){return{type:r,data:e}},t.runAnalysis=function(){return{type:a,timestamp:Date.now()}};var r=t.UPDATE_SNIPPET_DATA="SNIPPET_EDITOR_UPDATE_ANALYSIS_DATA",a=t.RUN_ANALYSIS="RUN_ANALYSIS"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.setEditorDataContent=function(e){return{type:r,content:e}},t.setEditorDataTitle=function(e){return{type:a,title:e}},t.setEditorDataExcerpt=function(e){return{type:o,excerpt:e}},t.setEditorDataImageUrl=function(e){return{type:i,imageUrl:e}};var r=t.SET_EDITOR_DATA_CONTENT="SET_EDITOR_DATA_CONTENT",a=t.SET_EDITOR_DATA_TITLE="SET_EDITOR_DATA_TITLE",o=t.SET_EDITOR_DATA_EXCERPT="SET_EDITOR_DATA_EXCERPT",i=t.SET_EDITOR_DATA_IMAGE_URL="SET_EDITOR_DATA_IMAGE_URL"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.openEditorModal=function(e){return{type:r,modalKey:e}},t.closeEditorModal=function(){return{type:a}};var r=t.OPEN_EDITOR_MODAL="OPEN_MODAL",a=t.CLOSE_EDITOR_MODAL="CLOSE_MODAL"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();var a=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}return r(e,null,[{key:"estimatedReadingTimeElement",get:function(){return document.getElementById("yoast_wpseo_estimated-reading-time-minutes")}},{key:"estimatedReadingTime",get:function(){return e.estimatedReadingTimeElement&&e.estimatedReadingTimeElement.value||""},set:function(t){e.estimatedReadingTimeElement.value=t}}]),e}();t.default=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.setSEMrushDismissModal=function(){return{type:r}},t.setSEMrushOpenModal=function(e){return{type:a,location:e}},t.setSEMrushNoKeyphraseMessage=function(){return{type:o}};var r=t.MODAL_DISMISS="MODAL_DISMISS",a=t.MODAL_OPEN="MODAL_OPEN",o=t.MODAL_OPEN_NO_KEYPHRASE="MODAL_OPEN_NO_KEYPHRASE"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();var a=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}return r(e,null,[{key:"titleElement",get:function(){return document.getElementById(window.wpseoScriptData.isPost?"yoast_wpseo_twitter-title":"hidden_wpseo_twitter-title")}},{key:"descriptionElement",get:function(){return document.getElementById(window.wpseoScriptData.isPost?"yoast_wpseo_twitter-description":"hidden_wpseo_twitter-description")}},{key:"imageIdElement",get:function(){return document.getElementById(window.wpseoScriptData.isPost?"yoast_wpseo_twitter-image-id":"hidden_wpseo_twitter-image-id")}},{key:"imageUrlElement",get:function(){return document.getElementById(window.wpseoScriptData.isPost?"yoast_wpseo_twitter-image":"hidden_wpseo_twitter-image")}},{key:"title",get:function(){return e.titleElement.value},set:function(t){e.titleElement.value=t}},{key:"description",set:function(t){e.descriptionElement.value=t},get:function(){return e.descriptionElement.value}},{key:"imageId",set:function(t){e.imageIdElement.value=t},get:function(){return e.imageIdElement.value}},{key:"imageUrl",set:function(t){e.imageUrlElement.value=t},get:function(){return e.imageUrlElement.value}}]),e}();t.default=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();var a=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}return r(e,null,[{key:"titleElement",get:function(){return document.getElementById(window.wpseoScriptData.isPost?"yoast_wpseo_opengraph-title":"hidden_wpseo_opengraph-title")}},{key:"descriptionElement",get:function(){return document.getElementById(window.wpseoScriptData.isPost?"yoast_wpseo_opengraph-description":"hidden_wpseo_opengraph-description")}},{key:"imageIdElement",get:function(){return document.getElementById(window.wpseoScriptData.isPost?"yoast_wpseo_opengraph-image-id":"hidden_wpseo_opengraph-image-id")}},{key:"imageUrlElement",get:function(){return document.getElementById(window.wpseoScriptData.isPost?"yoast_wpseo_opengraph-image":"hidden_wpseo_opengraph-image")}},{key:"title",get:function(){return e.titleElement.value},set:function(t){e.titleElement.value=t}},{key:"description",set:function(t){e.descriptionElement.value=t},get:function(){return e.descriptionElement.value}},{key:"imageId",set:function(t){e.imageIdElement.value=t},get:function(){return e.imageIdElement.value}},{key:"imageUrl",set:function(t){e.imageUrlElement.value=t},get:function(){return e.imageUrlElement.value}}]),e}();t.default=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isCloseEvent=void 0;var r=n(3),a=n(4),o=u(n(38)),i=u(n(1)),s=u(n(112)),l=n(14);function u(e){return e&&e.__esModule?e:{default:e}}var c=t.isCloseEvent=function(e){return"blur"!==e.type||!(!e.relatedTarget||!e.relatedTarget.querySelector(".components-modal__screen-overlay"))},d=function(e){var t=e.id,n=e.postTypeName,i=e.children,u=e.title,d=e.isOpen,p=e.close,f=e.open,m=(0,a.useCallback)(function(e){c(e)&&p()},[p]);return wp.element.createElement(a.Fragment,null,d&&wp.element.createElement(l.LocationProvider,{value:"modal"},wp.element.createElement(o.default,{title:u,onRequestClose:m,additionalClassName:"yoast-collapsible-modal yoast-post-settings-modal"},wp.element.createElement("div",{className:"yoast-content-container"},wp.element.createElement("div",{className:"yoast-modal-content"},i)),wp.element.createElement("div",{className:"yoast-notice-container"},wp.element.createElement("hr",null),wp.element.createElement("div",{className:"yoast-button-container"},wp.element.createElement("p",null,(0,r.sprintf)((0,r.__)("Make sure to save your %s for changes to take effect","wordpress-seo"),n)),wp.element.createElement("button",{className:"yoast-button yoast-button--primary yoast-button--post-settings-modal",type:"button",onClick:m},(0,r.sprintf)((0,r.__)("Return to your %s","wordpress-seo"),n)))))),wp.element.createElement(s.default,{id:t+"-open-button",title:u,suffixIcon:{size:"20px",icon:"pencil-square"},onClick:f}))};d.propTypes={id:i.default.string.isRequired,postTypeName:i.default.string.isRequired,children:i.default.oneOfType([i.default.node,i.default.arrayOf(i.default.node)]).isRequired,title:i.default.string.isRequired,isOpen:i.default.bool.isRequired,open:i.default.func.isRequired,close:i.default.func.isRequired},t.default=d},function(e,t){e.exports=window.yoast.analysisReport},function(e,t,n){"use strict";var r=n(2),a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,o=n(39),i=n(79),s=n(80),l=".",u=":",c="function"==typeof Symbol&&Symbol.iterator,d="@@iterator";function p(e,t){return e&&"object"==typeof e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+(""+e).replace(/[=:]/g,function(e){return t[e]})}(e.key):t.toString(36)}function f(e,t,n,r){var o,s=typeof e;if("undefined"!==s&&"boolean"!==s||(e=null),null===e||"string"===s||"number"===s||"object"===s&&e.$$typeof===a)return n(r,e,""===t?l+p(e,0):t),1;var m=0,y=""===t?l:t+u;if(Array.isArray(e))for(var g=0;g<e.length;g++)m+=f(o=e[g],y+p(o,g),n,r);else{var _=function(e){var t=e&&(c&&e[c]||e[d]);if("function"==typeof t)return t}(e);if(_){0;for(var h,v=_.call(e),w=0;!(h=v.next()).done;)m+=f(o=h.value,y+p(o,w++),n,r)}else if("object"===s){0;var b=""+e;i(!1,"Objects are not valid as a React child (found: %s).%s","[object Object]"===b?"object with keys {"+Object.keys(e).join(", ")+"}":b,"")}}return m}var m=/\/+/g;function y(e){return(""+e).replace(m,"$&/")}var g=_,_=function(e){if(this.instancePool.length){var t=this.instancePool.pop();return this.call(t,e),t}return new this(e)},h=function(e){i(e instanceof this,"Trying to release an instance into a pool of a different type."),e.destructor(),this.instancePool.length<this.poolSize&&this.instancePool.push(e)};function v(e,t,n,r){this.result=e,this.keyPrefix=t,this.func=n,this.context=r,this.count=0}function w(e,t,n){var a=e.result,i=e.keyPrefix,s=e.func,l=e.context,u=s.call(l,t,e.count++);Array.isArray(u)?b(u,a,n,o.thatReturnsArgument):null!=u&&(r.isValidElement(u)&&(u=function(e,t){return r.cloneElement(e,{key:t},void 0!==e.props?e.props.children:void 0)}(u,i+(!u.key||t&&t.key===u.key?"":y(u.key)+"/")+n)),a.push(u))}function b(e,t,n,r,a){var o="";null!=n&&(o=y(n)+"/");var i=v.getPooled(t,o,r,a);!function(e,t,n){null==e||f(e,"",t,n)}(e,w,i),v.release(i)}v.prototype.destructor=function(){this.result=null,this.keyPrefix=null,this.func=null,this.context=null,this.count=0},function(e,t){var n=e;n.instancePool=[],n.getPooled=t||g,n.poolSize||(n.poolSize=10),n.release=h}(v,function(e,t,n,r){if(this.instancePool.length){var a=this.instancePool.pop();return this.call(a,e,t,n,r),a}return new this(e,t,n,r)});e.exports=function(e){if("object"!=typeof e||!e||Array.isArray(e))return s(!1,"React.addons.createFragment only accepts a single object. Got: %s",e),e;if(r.isValidElement(e))return s(!1,"React.addons.createFragment does not accept a ReactElement without a wrapper object."),e;i(1!==e.nodeType,"React.addons.createFragment(...): Encountered an invalid child; DOM elements are not valid children of React components.");var t=[];for(var n in e)b(e[n],t,n,o.thatReturnsArgument);return t}},function(e,t,n){"use strict";var r=function(e){};e.exports=function(e,t,n,a,o,i,s,l){if(r(t),!e){var u;if(void 0===t)u=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[n,a,o,i,s,l],d=0;(u=new Error(t.replace(/%s/g,function(){return c[d++]}))).name="Invariant Violation"}throw u.framesToPop=1,u}}},function(e,t,n){"use strict";var r=n(39);e.exports=r},function(e,t,n){"use strict";function r(e){return e.match(/^\{\{\//)?{type:"componentClose",value:e.replace(/\W/g,"")}:e.match(/\/\}\}$/)?{type:"componentSelfClosing",value:e.replace(/\W/g,"")}:e.match(/^\{\{/)?{type:"componentOpen",value:e.replace(/\W/g,"")}:{type:"string",value:e}}e.exports=function(e){return e.split(/(\{\{\/?\s*\w+\s*\/?\}\})/g).map(r)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(10),a=n(7),o=function(e){return e&&e.__esModule?e:{default:e}}(n(76));t.default=(0,r.compose)([(0,a.withSelect)(function(e,t){var n=e("yoast-seo/editor"),r=n.getPostOrPageString,a=n.getIsModalOpen;return{postTypeName:r(),isOpen:a(t.id)}}),(0,a.withDispatch)(function(e,t){var n=e("yoast-seo/editor"),r=n.openEditorModal;return{open:function(){return r(t.id)},close:n.closeEditorModal}})])(o.default)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.linkFieldsShape=void 0;var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=n(4),i=function(e){return e&&e.__esModule?e:{default:e}}(n(1));t.linkFieldsShape=i.default.shape({value:i.default.string.isRequired,onChange:i.default.func.isRequired});t.default=function(e){return function(t){return function(n){function s(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,s);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(s.__proto__||Object.getPrototypeOf(s)).call(this,t));n.elements={};var r={};return n.fields=e(t),n.fields.forEach(function(e){var t=e.name,a=e.fieldId,o=document.getElementById(a);o&&(n.elements[t]=o,r[t]={value:o.value,onChange:n.onChange.bind(n,t)})}),n.state=r,n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(s,o.Component),a(s,[{key:"onChange",value:function(e,t){var n=this;this.setState(r({},this.state,function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}({},e,r({},this.state[e],{value:t}))),function(){n.elements[e]&&(n.elements[e].value=t)})}},{key:"render",value:function(){var e=this.props,n=e.children,a=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["children"]);return wp.element.createElement(t,r({},a,this.state),n)}}],[{key:"propTypes",get:function(){return{children:i.default.node}}}]),s}()}}},,,,,,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=(0,a.default)();return(0,r.get)(e,"contentLocale","en_US")};var r=n(0),a=function(e){return e&&e.__esModule?e:{default:e}}(n(9))},,,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ModalIcon=t.ModalContainer=void 0;var r=function(e){return e&&e.__esModule?e:{default:e}}(n(8)),a=n(5),o=n(6);t.ModalContainer=r.default.div.withConfig({displayName:"Container__ModalContainer",componentId:"sc-1onoh63-0"})(["min-width:600px;@media screen and ( max-width:680px ){min-width:0;width:86vw;}"]),t.ModalIcon=(0,r.default)(a.Icon).withConfig({displayName:"Container__ModalIcon",componentId:"sc-1onoh63-1"})(["float:",";margin:",";&&{width:150px;height:150px;@media screen and ( max-width:680px ){width:80px;height:80px;}}"],(0,o.getDirectionalStyle)("right","left"),(0,o.getDirectionalStyle)("0 0 16px 16px","0 16px 16px 0"))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(5),a=s(n(1)),o=n(27),i=s(n(28));function s(e){return e&&e.__esModule?e:{default:e}}var l=function(e){var t=e.target,n=e.scoreIndicator;return wp.element.createElement(i.default,{target:t},wp.element.createElement(r.SvgIcon,(0,o.getIconForScore)(n)))};l.propTypes={target:a.default.string.isRequired,scoreIndicator:a.default.string.isRequired},t.default=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),a=n(4),o=u(n(19)),i=u(n(1)),s=u(n(8)),l=n(6);function u(e){return e&&e.__esModule?e:{default:e}}var c=s.default.ul.withConfig({displayName:"UpsellBox__StyledList",componentId:"gjf66g-0"})(['list-style:none;margin:0 0 16px;padding:0;li{margin:5px 0 0 0;padding-left:16px;}span[aria-hidden="true"]:before{margin:0 8px 0 -16px;font-weight:bold;content:"+";}']),d=s.default.small.withConfig({displayName:"UpsellBox__ButtonLabel",componentId:"gjf66g-1"})(["display:block;"]),p=(0,l.makeOutboundLink)(),f=function(e){function t(e){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,a.Component),r(t,[{key:"createBenefitsList",value:function(e){return e.length>0&&wp.element.createElement(c,{role:"list"},e.map(function(e,t){return wp.element.createElement("li",{key:t},wp.element.createElement("span",{"aria-hidden":"true"}),(0,o.default)({mixedString:e.replace("<strong>","{{strong}}").replace("</strong>","{{/strong}}"),components:{strong:wp.element.createElement("strong",null)}}))}))}},{key:"createInfoParagraphs",value:function(e){return e.map(function(e,t){return wp.element.createElement("p",{key:t},e)})}},{key:"render",value:function(){return wp.element.createElement("div",null,this.createInfoParagraphs(this.props.infoParagraphs),this.createBenefitsList(this.props.benefits),wp.element.createElement(p,this.props.upsellButton,this.props.upsellButtonText,this.props.upsellButtonHasCaret&&wp.element.createElement("span",{"aria-hidden":"true",className:"yoast-button-upsell__caret"})),wp.element.createElement(d,{id:this.props.upsellButton["aria-describedby"]},this.props.upsellButtonLabel))}}]),t}();f.propTypes={benefits:i.default.array,infoParagraphs:i.default.array,upsellButton:i.default.object,upsellButtonText:i.default.string.isRequired,upsellButtonLabel:i.default.string,upsellButtonHasCaret:i.default.bool},f.defaultProps={infoParagraphs:[],benefits:[],upsellButton:{href:"",className:"button button-primary"},upsellButtonLabel:"",upsellButtonHasCaret:!0},t.default=f},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(e){return e&&e.__esModule?e:{default:e}}(n(1));var a=function(e){var t=e.children;return wp.element.createElement("div",null,t)};a.propTypes={renderPriority:r.default.number.isRequired,children:r.default.node.isRequired},t.default=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),a=n(4),o=u(n(1)),i=u(n(171)),s=n(172),l=n(59);function u(e){return e&&e.__esModule?e:{default:e}}var c=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.state={activeField:"",hoveredField:""},n.setHoveredField=n.setHoveredField.bind(n),n.setActiveField=n.setActiveField.bind(n),n.setEditorRef=n.setEditorRef.bind(n),n.setEditorFocus=n.setEditorFocus.bind(n),n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,a.Component),r(t,[{key:"setHoveredField",value:function(e){e!==this.state.hoveredField&&this.setState({hoveredField:e})}},{key:"setActiveField",value:function(e){var t=this;e!==this.state.activeField&&this.setState({activeField:e},function(){return t.setEditorFocus(e)})}},{key:"setEditorFocus",value:function(e){switch(e){case"title":this.titleEditorRef.focus();break;case"description":this.descriptionEditorRef.focus()}}},{key:"setEditorRef",value:function(e,t){switch(e){case"title":this.titleEditorRef=t;break;case"description":this.descriptionEditorRef=t}}},{key:"render",value:function(){var e=this.props,t=e.onDescriptionChange,n=e.onTitleChange,r=e.onSelectImageClick,o=e.onRemoveImageClick,l=e.socialMediumName,u=e.imageWarnings,c=e.description,d=e.descriptionInputPlaceholder,p=e.imageUrl,f=e.title,m=e.titleInputPlaceholder,y=e.replacementVariables,g=e.recommendedReplacementVariables,_=e.isPremium,h=e.location;return wp.element.createElement(a.Fragment,null,wp.element.createElement(i.default,{socialMediumName:l}),wp.element.createElement(s.SocialMetadataPreviewForm,{onDescriptionChange:t,socialMediumName:l,title:f,titleInputPlaceholder:m,onRemoveImageClick:o,imageSelected:!!p,imageUrl:p,onTitleChange:n,onSelectImageClick:r,description:c,descriptionInputPlaceholder:d,imageWarnings:u,replacementVariables:y,recommendedReplacementVariables:g,onMouseHover:this.setHoveredField,hoveredField:this.state.hoveredField,onSelect:this.setActiveField,activeField:this.state.activeField,isPremium:_,setEditorRef:this.setEditorRef,idSuffix:h}))}}]),t}();c.propTypes={title:o.default.string.isRequired,onTitleChange:o.default.func.isRequired,description:o.default.string.isRequired,onDescriptionChange:o.default.func.isRequired,imageUrl:o.default.string.isRequired,onSelectImageClick:o.default.func.isRequired,onRemoveImageClick:o.default.func.isRequired,socialMediumName:o.default.string.isRequired,isPremium:o.default.bool,imageWarnings:o.default.array,descriptionInputPlaceholder:o.default.string,titleInputPlaceholder:o.default.string,replacementVariables:l.replacementVariablesShape,recommendedReplacementVariables:l.recommendedReplacementVariablesShape,location:o.default.string},c.defaultProps={imageWarnings:[],recommendedReplacementVariables:[],replacementVariables:[],isPremium:!1,descriptionInputPlaceholder:"",titleInputPlaceholder:"",location:""},t.default=c},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(e){return e&&e.__esModule?e:{default:e}}(n(1)),a=n(17),o=n(8),i=n(14);var s=function(e){var t=e.store,n=e.theme,r=e.location,s=e.children;return wp.element.createElement(i.LocationProvider,{value:r},wp.element.createElement(o.ThemeProvider,{theme:n},wp.element.createElement(a.Provider,{store:t},s)))};s.propTypes={store:r.default.object.isRequired,theme:r.default.object.isRequired,location:r.default.oneOf(["sidebar","metabox","modal"]).isRequired,children:r.default.element.isRequired},t.default=s},,,,,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=(0,a.default)(),t=(0,r.get)(e,"translations",{domain:"js-text-analysis",locale_data:{"js-text-analysis":{"":{}}}});"wordpress-seo"!==t.domain||(0,r.isUndefined)(t.locale_data["wordpress-seo"])||(t.domain="js-text-analysis",t.locale_data["js-text-analysis"]=t.locale_data["wordpress-seo"],t.locale_data["js-text-analysis"][""].domain="js-text-analysis",delete t.locale_data["wordpress-seo"]);return t};var r=n(0),a=function(e){return e&&e.__esModule?e:{default:e}}(n(9))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return[{name:"date",label:(0,r.__)("Date","wordpress-seo"),value:""},{name:"id",label:(0,r.__)("ID","wordpress-seo"),value:""},{name:"page",label:(0,r.__)("Page","wordpress-seo"),value:""},{name:"searchphrase",label:(0,r.__)("Search phrase","wordpress-seo"),value:""},{name:"sitedesc",label:(0,r.__)("Tagline","wordpress-seo"),value:""},{name:"sitename",label:(0,r.__)("Site title","wordpress-seo"),value:""},{name:"category",label:(0,r.__)("Category","wordpress-seo"),value:""},{name:"focuskw",label:(0,r.__)("Focus keyphrase","wordpress-seo"),value:""},{name:"title",label:(0,r.__)("Title","wordpress-seo"),value:""},{name:"parent_title",label:(0,r.__)("Parent title","wordpress-seo"),value:""},{name:"excerpt",label:(0,r.__)("Excerpt","wordpress-seo"),value:""},{name:"primary_category",label:(0,r.__)("Primary category","wordpress-seo"),value:""},{name:"sep",label:(0,r.__)("Separator","wordpress-seo"),value:""},{name:"excerpt_only",label:(0,r.__)("Excerpt only","wordpress-seo"),value:""},{name:"category_description",label:(0,r.__)("Category description","wordpress-seo"),value:""},{name:"tag_description",label:(0,r.__)("Tag description","wordpress-seo"),value:""},{name:"term_description",label:(0,r.__)("Term description","wordpress-seo"),value:""},{name:"currentyear",label:(0,r.__)("Current year","wordpress-seo"),value:""}]};var r=n(3)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getEditorContext=function(e){return e.editorContext},t.getPostOrPageString=function(e){return"Page"===(0,r.get)(e,"editorContext.postTypeNameSingular")?"page":"post"},t.getIsBlockEditor=function(e){return(0,r.get)(e,"editorContext.isBlockEditor",!1)},t.getContentLocale=function(e){return(0,r.get)(e,"editorContext.contentLocale","en_US")};var r=n(0)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getEditorDataImageUrl=t.getEditorDataExcerpt=t.getEditorDataTitle=t.getEditorDataContent=void 0;var r=n(0);t.getEditorDataContent=function(e){return(0,r.get)(e,"editorData.content","")},t.getEditorDataTitle=function(e){return(0,r.get)(e,"editorData.title","")},t.getEditorDataExcerpt=function(e){return(0,r.get)(e,"editorData.excerpt")},t.getEditorDataImageUrl=function(e){return(0,r.get)(e,"editorData.imageUrl","")}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getFocusKeyphrase=function(e){return e.focusKeyword}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getSiteIconUrlFromSettings=t.getRecommendedReplaceVars=t.getDateFromSettings=t.getBaseUrlFromSettings=t.getSiteName=t.getAuthorName=void 0;var r=n(0);t.getAuthorName=function(e){return(0,r.get)(e,"settings.socialPreviews.authorName","")},t.getSiteName=function(e){return(0,r.get)(e,"settings.socialPreviews.siteName","")},t.getBaseUrlFromSettings=function(e){return(0,r.get)(e,"settings.snippetEditor.baseUrl","")},t.getDateFromSettings=function(e){return(0,r.get)(e,"settings.snippetEditor.date","")},t.getRecommendedReplaceVars=function(e){return(0,r.get)(e,"settings.snippetEditor.recommendedReplacementVariables",[])},t.getSiteIconUrlFromSettings=function(e){return(0,r.get)(e,"settings.snippetEditor.siteIconUrl","")}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getSnippetEditorIsLoading=t.getSnippetEditorWordsToHighlight=t.getSnippetEditorData=t.getSnippetEditorSlug=t.getSnippetEditorDescriptionWithTemplate=t.getSnippetEditorDescription=t.getSnippetEditorTitleWithTemplate=t.getSnippetEditorTitle=t.getSnippetEditorMode=t.getSnippetEditorTemplates=t.getReplaceVars=void 0;var r=n(0),a=(t.getReplaceVars=function(e){return(0,r.get)(e,"snippetEditor.replacementVariables",[])},t.getSnippetEditorTemplates=function(e){return(0,r.get)(e,"snippetEditor.templates",{title:"",description:""})}),o=(t.getSnippetEditorMode=function(e){return(0,r.get)(e,"snippetEditor.mode","mobile")},t.getSnippetEditorTitle=function(e){return(0,r.get)(e,"snippetEditor.data.title","")}),i=(t.getSnippetEditorTitleWithTemplate=function(e){return(0,r.get)(e,"snippetEditor.data.title","")||a(e).title},t.getSnippetEditorDescription=function(e){return(0,r.get)(e,"snippetEditor.data.description","")}),s=(t.getSnippetEditorDescriptionWithTemplate=function(e){return i(e)||a(e).description},t.getSnippetEditorSlug=function(e){return(0,r.get)(e,"snippetEditor.data.slug","")});t.getSnippetEditorData=function(e){return(0,r.get)(e,"snippetEditor.data",{title:o(e),description:i(e),slug:s(e)})},t.getSnippetEditorWordsToHighlight=function(e){return(0,r.get)(e,"snippetEditor.wordsToHighlight",[])},t.getSnippetEditorIsLoading=function(e){return(0,r.get)(e,"snippetEditor.isLoading",!0)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(5),a=function(e){return e&&e.__esModule?e:{default:e}}(n(1));var o=function(e){return wp.element.createElement("div",{className:"yoast components-panel__body"},wp.element.createElement("h2",{className:"components-panel__body-title"},wp.element.createElement("button",{id:e.id,onClick:e.onClick,className:"components-button components-panel__body-toggle"},wp.element.createElement("span",{className:"yoast-title-container"},wp.element.createElement("div",{className:"yoast-title"},e.title),wp.element.createElement("div",{className:"yoast-subtitle"},e.subTitle)),e.suffixIcon&&wp.element.createElement(r.SvgIcon,{size:e.suffixIcon.size,icon:e.suffixIcon.icon}))))};t.default=o,o.propTypes={onClick:a.default.func.isRequired,title:a.default.string.isRequired,id:a.default.string,subTitle:a.default.string,suffixIcon:a.default.object},o.defaultProps={id:"",suffixIcon:null,subTitle:""}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),a=u(n(1)),o=n(77),i=n(4),s=n(11),l=u(n(27));function u(e){return e&&e.__esModule?e:{default:e}}var c=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e)),r=n.props.results;return n.state={mappedResults:{}},null!==r&&(n.state={mappedResults:(0,l.default)(r,n.props.keywordKey)}),n.handleMarkButtonClick=n.handleMarkButtonClick.bind(n),n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,i.Component),r(t,[{key:"componentDidUpdate",value:function(e){null!==this.props.results&&this.props.results!==e.results&&this.setState({mappedResults:(0,l.default)(this.props.results,this.props.keywordKey)})}},{key:"handleMarkButtonClick",value:function(e,t){var n=this.props.keywordKey.length>0?this.props.keywordKey+":"+e:e;n===this.props.activeMarker?(this.props.setActiveMarker(null),this.props.setMarkerPauseStatus(!1),this.removeMarkers()):(this.props.setActiveMarker(n),t())}},{key:"removeMarkers",value:function(){window.YoastSEO.analysis.applyMarks(new s.Paper("",{}),[])}},{key:"render",value:function(){var e=this.state.mappedResults,t=e.errorsResults,n=e.improvementsResults,r=e.goodResults,a=e.considerationsResults,s=e.problemsResults;return wp.element.createElement(i.Fragment,null,wp.element.createElement(o.ContentAnalysis,{errorsResults:t,problemsResults:s,improvementsResults:n,considerationsResults:a,goodResults:r,activeMarker:this.props.activeMarker,onMarkButtonClick:this.handleMarkButtonClick,marksButtonClassName:this.props.marksButtonClassName,marksButtonStatus:this.props.marksButtonStatus,headingLevel:3,keywordKey:this.props.keywordKey}))}}]),t}();c.propTypes={results:a.default.array,marksButtonClassName:a.default.string,marksButtonStatus:a.default.string,setActiveMarker:a.default.func.isRequired,setMarkerPauseStatus:a.default.func.isRequired,activeMarker:a.default.string,keywordKey:a.default.string},c.defaultProps={results:null,marksButtonStatus:"enabled",marksButtonClassName:"",activeMarker:null,keywordKey:""},t.default=c},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=s(n(1)),a=s(n(8)),o=n(5),i=n(6);function s(e){return e&&e.__esModule?e:{default:e}}var l=(0,a.default)(o.StyledSection).withConfig({displayName:"SnippetPreviewSection__Section",componentId:"gjy5w5-0"})(["&","{padding:0;& ","{",":20px;margin-left:",";}}"],o.StyledSectionBase,o.StyledHeading,(0,i.getDirectionalStyle)("padding-left","padding-right"),(0,i.getDirectionalStyle)("0","20px")),u=function(e){var t=e.children,n=e.title,r=e.icon,a=e.hasPaperStyle;return wp.element.createElement(l,{headingLevel:3,headingText:n,headingIcon:r,headingIconColor:"#555",hasPaperStyle:a},t)};u.propTypes={children:r.default.element,title:r.default.string,icon:r.default.string,hasPaperStyle:r.default.bool},u.defaultProps={hasPaperStyle:!0},t.default=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.schemaTypeOptionsPropType=void 0;var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),a=n(4),o=n(3),i=n(5),s=c(n(1)),l=n(83),u=c(l);function c(e){return e&&e.__esModule?e:{default:e}}var d=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.initialPageType=e.pageType.value,n.initialArticleType=e.articleType?e.articleType.value:"None",n.state={schema_page_type:n.initialPageType,schema_article_type:n.initialArticleType},n.handleOptionFocus=n.handleOptionFocus.bind(n),n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,a.Component),r(t,[{key:"shouldShowAlert",value:function(){return this.state.schema_page_type!==this.initialPageType||this.state.schema_article_type!==this.initialArticleType}},{key:"handleOptionFocus",value:function(e,t){this.setState(function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}({},e,t))}},{key:"render",value:function(){return wp.element.createElement(a.Fragment,null,wp.element.createElement(i.FieldGroup,{label:(0,o.__)("Schema settings","wordpress-seo"),linkTo:"https://yoa.st/404",linkText:(0,o.__)("Learn more about the schema settings","wordpress-seo"),description:(0,o.sprintf)((0,o.__)("Choose how your %1$s should be described by default in your site's schema.org markup. You can change these settings for individual %1$s.","wordpress-seo"),this.props.postTypeName)}),this.shouldShowAlert()&&wp.element.createElement(i.Alert,{type:"warning"},(0,o.sprintf)((0,o._n)("Upon saving, this setting will apply to all of your %1$s. %1$s that are manually configured will be left untouched.","Upon saving, these settings will apply to all of your %1$s. %1$s that are manually configured will be left untouched.",this.props.articleType?2:1,"wordpress-seo"),this.props.postTypeName)),wp.element.createElement(i.Select,{id:"schema-page-type-"+this.props.postType,name:"schema_page_type",options:this.props.pageTypeOptions,label:(0,o.__)("Default Page type","wordpress-seo"),onChange:this.props.pageType.onChange,selected:this.props.pageType.value,onOptionFocus:this.handleOptionFocus}),this.props.articleType&&wp.element.createElement(i.Select,{id:"schema-article-type-"+this.props.postType,name:"schema_article_type",options:this.props.articleTypeOptions,label:(0,o.__)("Default Article type","wordpress-seo"),onChange:this.props.articleType.onChange,onOptionFocus:this.handleOptionFocus,selected:this.props.articleType.value}))}}]),t}(),p=t.schemaTypeOptionsPropType=s.default.arrayOf(s.default.shape({name:s.default.string,value:s.default.string}));d.propTypes={postType:s.default.string.isRequired,postTypeName:s.default.string.isRequired,pageType:l.linkFieldsShape.isRequired,articleType:l.linkFieldsShape,pageTypeOptions:p.isRequired,articleTypeOptions:p.isRequired},d.defaultProps={articleType:null},t.default=(0,u.default)(function(e){return[{name:"pageType",fieldId:e.pageTypeFieldId},{name:"articleType",fieldId:e.articleTypeFieldId}]})(d)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(7),a=n(10),o=function(e){return e&&e.__esModule?e:{default:e}}(n(117));t.default=(0,a.compose)([(0,r.withSelect)(function(e){var t=e("yoast-seo/editor"),n=t.getFocusKeyphrase,r=t.getSEMrushSelectedCountry,a=t.getSEMrushRequestLimitReached,o=t.getSEMrushRequestResponse,i=t.getSEMrushRequestIsSuccess,s=t.getSEMrushIsRequestPending,l=t.getSEMrushRequestHasData,u=t.getSEMrushRequestKeyphrase;return{keyphrase:n(),countryCode:r(),requestLimitReached:a(),response:o(),isSuccess:i(),isPending:s(),requestHasData:l(),lastRequestKeyphrase:u()}}),(0,r.withDispatch)(function(e){var t=e("yoast-seo/editor"),n=t.setSEMrushChangeCountry,r=t.setSEMrushNewRequest,a=t.setSEMrushRequestSucceeded,o=t.setSEMrushRequestFailed,i=t.setSEMrushSetRequestLimitReached,s=t.setSEMrushNoResultsFound;return{setCountry:function(e){n(e)},newRequest:function(e,t){r(e,t)},setRequestSucceeded:function(e){a(e)},setRequestFailed:function(e){o(e)},setRequestLimitReached:function(){i()},setNoResultsFound:function(){s()}}})])(o.default)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.hasError=g,t.getUserMessage=_,t.hasMaximumRelatedKeyphrases=h,t.default=v;var r=n(4),a=n(3),o=y(n(1)),i=n(0),s=y(n(118)),l=y(n(119)),u=y(n(120)),c=y(n(121)),d=y(n(124)),p=y(n(125)),f=y(n(126)),m=y(n(9));function y(e){return e&&e.__esModule?e:{default:e}}function g(e){return!(0,i.isEmpty)(e)&&"error"in e}function _(e){var t=e.isPending,n=e.requestLimitReached,r=e.isSuccess,o=e.response,i=e.requestHasData;return t?wp.element.createElement(s.default,null):n?wp.element.createElement(l.default,null):!r&&g(o)?wp.element.createElement(p.default,null):i?void 0:wp.element.createElement("p",null,(0,a.__)("Sorry, there's no data available for that keyphrase/country combination.","wordpress-seo"))}function h(e){return e&&e.length>=4}function v(e){var t=e.response,n=e.lastRequestKeyphrase,a=e.keyphrase,o=e.newRequest,i=e.setCountry,s=e.renderAction,l=e.countryCode,p=e.requestLimitReached,y=e.setRequestFailed,g=e.setNoResultsFound,v=e.relatedKeyphrases,w=e.setRequestSucceeded,b=e.setRequestLimitReached,E=(0,m.default)().isPremium;return wp.element.createElement(r.Fragment,null,!p&&wp.element.createElement(r.Fragment,null,!E&&wp.element.createElement(d.default,null),E&&h(v)&&wp.element.createElement(f.default,null),wp.element.createElement(u.default,{countryCode:l,setCountry:i,newRequest:o,keyphrase:a,setRequestFailed:y,setNoResultsFound:g,setRequestSucceeded:w,setRequestLimitReached:b,response:t,lastRequestKeyphrase:n})),_(e),wp.element.createElement(c.default,{keyphrase:a,relatedKeyphrases:v,countryCode:l,renderAction:s,data:t}))}v.propTypes={keyphrase:o.default.string,relatedKeyphrases:o.default.array,renderAction:o.default.func,requestLimitReached:o.default.bool,countryCode:o.default.string.isRequired,setCountry:o.default.func.isRequired,newRequest:o.default.func.isRequired,setRequestSucceeded:o.default.func.isRequired,setRequestLimitReached:o.default.func.isRequired,setRequestFailed:o.default.func.isRequired,setNoResultsFound:o.default.func.isRequired,response:o.default.object,lastRequestKeyphrase:o.default.string},v.defaultProps={keyphrase:"",relatedKeyphrases:[],renderAction:null,requestLimitReached:!1,response:{},lastRequestKeyphrase:""}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(3),a=n(5);t.default=function(){return wp.element.createElement("p",{className:"yoast-related-keyphrases-modal__loading-message"},(0,r.sprintf)((0,r.__)("Please wait while %1$s connects to %2$s to get related keyphrases...","wordpress-seo"),"Yoast SEO","SEMrush")," ",wp.element.createElement(a.SvgIcon,{icon:"loading-spinner"}))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(3),a=n(4),o=(0,n(6).makeOutboundLink)();t.default=function(){return wp.element.createElement(a.Fragment,null,wp.element.createElement("p",null,(0,r.sprintf)((0,r.__)("You've reached your request limit for today. Check back tomorrow or upgrade your plan over at %s.","wordpress-seo"),"SEMrush")),wp.element.createElement(o,{href:window.wpseoAdminL10n["shortlinks.semrush.prices"],className:"yoast-button-upsell"},(0,r.sprintf)((0,r.__)("Upgrade your %s plan","wordpress-seo"),"SEMrush"),wp.element.createElement("span",{"aria-hidden":"true",className:"yoast-button-upsell__caret"})))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SEMrushCountrySelector=void 0;var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),a=c(n(1)),o=n(4),i=c(n(55)),s=n(56),l=n(3),u=n(5);function c(e){return e&&e.__esModule?e:{default:e}}function d(e){return function(){var t=e.apply(this,arguments);return new Promise(function(e,n){return function r(a,o){try{var i=t[a](o),s=i.value}catch(e){return void n(e)}if(!i.done)return Promise.resolve(s).then(function(e){r("next",e)},function(e){r("throw",e)});e(s)}("next")})}}var p="yoast-semrush-country-selector",f=[{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"}],m=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.relatedKeyphrasesRequest=n.relatedKeyphrasesRequest.bind(n),n.onChangeHandler=n.onChangeHandler.bind(n),n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,o.Component),r(t,[{key:"componentDidMount",value:function(){this.props.response&&this.props.keyphrase===this.props.lastRequestKeyphrase||this.relatedKeyphrasesRequest()}},{key:"storeCountryCode",value:function(e){(0,i.default)({path:"yoast/v1/semrush/country_code",method:"POST",data:{country_code:e}})}},{key:"relatedKeyphrasesRequest",value:function(){var e=d(regeneratorRuntime.mark(function e(){var t,n,r,a;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t=this.props,n=t.keyphrase,r=t.countryCode,(0,t.newRequest)(r,n),this.storeCountryCode(r),e.next=5,this.doRequest(n,r);case 5:if(200!==(a=e.sent).status){e.next=9;break}return this.handleSuccessResponse(a),e.abrupt("return");case 9:this.handleFailedResponse(a);case 10:case"end":return e.stop()}},e,this)}));return function(){return e.apply(this,arguments)}}()},{key:"handleSuccessResponse",value:function(e){var t=this.props,n=t.setNoResultsFound,r=t.setRequestSucceeded;0!==e.results.rows.length?r(e):n()}},{key:"handleFailedResponse",value:function(e){var t=this.props,n=t.setRequestLimitReached,r=t.setRequestFailed;"error"in e&&(e.error.includes("TOTAL LIMIT EXCEEDED")?n():r(e))}},{key:"doRequest",value:function(){var e=d(regeneratorRuntime.mark(function e(t,n){return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,i.default)({path:(0,s.addQueryArgs)("/yoast/v1/semrush/related_keyphrases",{keyphrase:t,country_code:n})});case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}},e,this)}));return function(t,n){return e.apply(this,arguments)}}()},{key:"onChangeHandler",value:function(e){this.props.setCountry(e)}},{key:"render",value:function(){return wp.element.createElement("div",{id:p},wp.element.createElement(u.SingleSelect,{id:p+"-select",label:(0,l.__)("Show results for:","wordpress-seo"),name:"semrush-country-code",options:f,selected:this.props.countryCode,onChange:this.onChangeHandler,wrapperClassName:"yoast-field-group yoast-field-group--inline"}),wp.element.createElement(u.NewButton,{id:p+"-button",variant:"secondary",onClick:this.relatedKeyphrasesRequest},(0,l.__)("Select country","wordpress-seo")))}}]),t}();m.propTypes={keyphrase:a.default.string,countryCode:a.default.string,response:a.default.object,lastRequestKeyphrase:a.default.string,setCountry:a.default.func.isRequired,newRequest:a.default.func.isRequired,setNoResultsFound:a.default.func.isRequired,setRequestSucceeded:a.default.func.isRequired,setRequestLimitReached:a.default.func.isRequired,setRequestFailed:a.default.func.isRequired},m.defaultProps={keyphrase:"",countryCode:"us",response:{},lastRequestKeyphrase:""};t.SEMrushCountrySelector=function(e){return wp.element.createElement(u.ErrorBoundary,null,wp.element.createElement(m,e))},t.default=m},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),a=d(n(1)),o=n(4),i=n(3),s=n(0),l=n(6),u=d(n(122)),c=d(n(33));function d(e){return e&&e.__esModule?e:{default:e}}var p=(0,l.makeOutboundLink)(),f=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.transformTrendDataToChartPoints=n.transformTrendDataToChartPoints.bind(n),n.getAreaChartDataTableHeaderLabels=n.getAreaChartDataTableHeaderLabels.bind(n),n.mapAreaChartDataToTableData=n.mapAreaChartDataToTableData.bind(n),n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,o.Component),r(t,[{key:"transformTrendDataToChartPoints",value:function(e){return e.split(",").map(function(e,t){return{x:t,y:parseFloat(e)}})}},{key:"getAreaChartDataTableHeaderLabels",value:function(){return[(0,i.__)("Twelve months ago","wordpress-seo"),(0,i.__)("Eleven months ago","wordpress-seo"),(0,i.__)("Ten months ago","wordpress-seo"),(0,i.__)("Nine months ago","wordpress-seo"),(0,i.__)("Eight months ago","wordpress-seo"),(0,i.__)("Seven months ago","wordpress-seo"),(0,i.__)("Six months ago","wordpress-seo"),(0,i.__)("Five months ago","wordpress-seo"),(0,i.__)("Four months ago","wordpress-seo"),(0,i.__)("Three months ago","wordpress-seo"),(0,i.__)("Two months ago","wordpress-seo"),(0,i.__)("Last month","wordpress-seo")]}},{key:"mapAreaChartDataToTableData",value:function(e){return Math.round(100*e)}},{key:"render",value:function(){var e=this,t=this.props,n=t.keyphrase,r=t.relatedKeyphrases,a=t.countryCode,l=t.data,d=t.renderAction,f="https://www.semrush.com/analytics/keywordoverview/?q="+encodeURIComponent(n)+"&db="+encodeURIComponent(a);return l&&!(0,s.isEmpty)(l.results)&&wp.element.createElement(o.Fragment,null,wp.element.createElement("table",{className:"yoast yoast-table"},wp.element.createElement("thead",null,wp.element.createElement("tr",null,wp.element.createElement("th",{scope:"col",className:"yoast-table--primary"},(0,i.__)("Related keyphrase","wordpress-seo")),wp.element.createElement("th",{scope:"col",abbr:(0,i.__)("Volume","wordpress-seo")},(0,i.__)("Volume","wordpress-seo"),wp.element.createElement(c.default,{href:window.wpseoAdminL10n["shortlinks.semrush.volume_help"],className:"dashicons"},wp.element.createElement("span",{className:"screen-reader-text"},(0,i.__)("Learn more about the related keyphrases volume","wordpress-seo")))),wp.element.createElement("th",{scope:"col",abbr:(0,i.__)("Trend","wordpress-seo")},(0,i.__)("Trend","wordpress-seo"),wp.element.createElement(c.default,{href:window.wpseoAdminL10n["shortlinks.semrush.trend_help"],className:"dashicons"},wp.element.createElement("span",{className:"screen-reader-text"},(0,i.__)("Learn more about the related keyphrases trend","wordpress-seo")))),d&&wp.element.createElement("td",{className:"yoast-table--nobreak"}))),wp.element.createElement("tbody",null,l.results.rows.map(function(t,n){var a=t[0],o=e.transformTrendDataToChartPoints(t[2]),s=e.getAreaChartDataTableHeaderLabels();return wp.element.createElement("tr",{key:n},wp.element.createElement("td",null,a),wp.element.createElement("td",null,t[1]),wp.element.createElement("td",{className:"yoast-table--nopadding"},wp.element.createElement(u.default,{width:66,height:24,data:o,strokeWidth:1.8,strokeColor:"#498afc",fillColor:"#ade3fc",className:"yoast-related-keyphrases-modal__chart",mapChartDataToTableData:e.mapAreaChartDataToTableData,dataTableCaption:(0,i.__)("Keyphrase volume in the last 12 months on a scale from 0 to 100.","wordpress-seo"),dataTableHeaderLabels:s})),d&&wp.element.createElement("td",{className:"yoast-table--nobreak"},d(a,r)))}))),wp.element.createElement("p",{style:{marginBottom:0}},wp.element.createElement(p,{href:f},(0,i.sprintf)((0,i.__)("Get more insights at %s","wordpress-seo"),"SEMrush"))))}}]),t}();f.propTypes={data:a.default.object,keyphrase:a.default.string,relatedKeyphrases:a.default.array,countryCode:a.default.string,renderAction:a.default.func},f.defaultProps={data:{},keyphrase:"",relatedKeyphrases:[],countryCode:"us",renderAction:null},t.default=f},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=i(n(1)),a=n(4),o=i(n(123));function i(e){return e&&e.__esModule?e:{default:e}}function s(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}var l=function(e){var t=e.data,n=e.width,r=e.height,i=e.fillColor,l=e.strokeColor,u=e.strokeWidth,c=e.className,d=e.mapChartDataToTableData,p=e.dataTableCaption,f=e.dataTableHeaderLabels,m=e.isDataTableVisuallyHidden,y=Math.max(1,Math.max.apply(Math,s(t.map(function(e){return e.x})))),g=Math.max(1,Math.max.apply(Math,s(t.map(function(e){return e.y})))),_=r-u,h=t.map(function(e){return e.x/y*n+","+(_-e.y/g*_+u)}).join(" "),v="0,"+(_+u)+" "+h+" "+n+","+(_+u);return wp.element.createElement(a.Fragment,null,wp.element.createElement("svg",{width:n,height:r,viewBox:"0 0 "+n+" "+r,className:c,role:"img","aria-hidden":"true",focusable:"false"},wp.element.createElement("polygon",{fill:i,points:v}),wp.element.createElement("polyline",{fill:"none",stroke:l,strokeWidth:u,strokeLinejoin:"round",strokeLinecap:"round",points:h})),d&&wp.element.createElement(o.default,{data:t,mapChartDataToTableData:d,dataTableCaption:p,dataTableHeaderLabels:f,isDataTableVisuallyHidden:m}))};l.propTypes={data:r.default.arrayOf(r.default.shape({x:r.default.number,y:r.default.number})).isRequired,width:r.default.number.isRequired,height:r.default.number.isRequired,fillColor:r.default.string,strokeColor:r.default.string,strokeWidth:r.default.number,className:r.default.string,mapChartDataToTableData:r.default.func,dataTableCaption:r.default.string.isRequired,dataTableHeaderLabels:r.default.array.isRequired,isDataTableVisuallyHidden:r.default.bool},l.defaultProps={fillColor:null,strokeColor:"#000000",strokeWidth:1,className:"",mapChartDataToTableData:null,isDataTableVisuallyHidden:!0},t.default=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(e){return e&&e.__esModule?e:{default:e}}(n(1)),a=n(3);var o=function(e){var t=e.data,n=e.mapChartDataToTableData,r=e.dataTableCaption,o=e.dataTableHeaderLabels,i=e.isDataTableVisuallyHidden;return t.length!==o.length?wp.element.createElement("p",null,(0,a.__)("The number of headers and header labels don't match.","wordpress-seo")):wp.element.createElement("div",{className:i?"screen-reader-text":null},wp.element.createElement("table",null,wp.element.createElement("caption",null,r),wp.element.createElement("thead",null,wp.element.createElement("tr",null,o.map(function(e,t){return wp.element.createElement("th",{key:t},e)}))),wp.element.createElement("tbody",null,wp.element.createElement("tr",null,t.map(function(e,t){return wp.element.createElement("td",{key:t},n(e.y))})))))};o.propTypes={data:r.default.arrayOf(r.default.shape({x:r.default.number,y:r.default.number})).isRequired,mapChartDataToTableData:r.default.func,dataTableCaption:r.default.string.isRequired,dataTableHeaderLabels:r.default.array.isRequired,isDataTableVisuallyHidden:r.default.bool},o.defaultProps={mapChartDataToTableData:null,isDataTableVisuallyHidden:!0},t.default=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(3),a=n(5),o=(0,n(6).makeOutboundLink)();t.default=function(){return wp.element.createElement(a.Alert,{type:"info"},(0,r.sprintf)((0,r.__)("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")+" ",wp.element.createElement(o,{href:window.wpseoAdminL10n["shortlinks.semrush.premium_landing_page"]},(0,r.sprintf)((0,r.__)("Check out %s!","wordpress-seo"),"Yoast SEO Premium")))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(3),a=n(5);t.default=function(){return wp.element.createElement(a.Alert,{type:"error"},(0,r.__)("We've encountered a problem trying to get related keyphrases. Please try again later.","wordpress-seo"))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(3),a=n(5);t.default=function(){return wp.element.createElement(a.Alert,{type:"warning"},(0,r.sprintf)((0,r.__)("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"))}},,,,,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.refreshDelay=500},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.sortResultsByIdentifier=s,t.default=function(e,t,n,l,u){var c=t();if(!i)return;e.analyze(c).then(function(e){var t=e.result,o=t.seo,i=t.readability;if(o){var d=o[""];d.results.forEach(function(e){e.getMarker=function(){return function(){return n(c,e.marks)}}}),d.results=s(d.results),l.dispatch((0,r.setSeoResultsForKeyword)(c.getKeyword(),d.results)),l.dispatch((0,r.setOverallSeoScore)(d.score,c.getKeyword())),l.dispatch((0,a.refreshSnippetEditor)()),u.saveScores(d.score,c.getKeyword())}i&&(i.results.forEach(function(e){e.getMarker=function(){return function(){return n(c,e.marks)}}}),i.results=s(i.results),l.dispatch((0,r.setReadabilityResults)(i.results)),l.dispatch((0,r.setOverallReadabilityScore)(i.score)),l.dispatch((0,a.refreshSnippetEditor)()),u.saveContentScore(i.score))}).catch(o.default)},t.initializationDone=function(){i=!0};var r=n(15),a=n(13),o=function(e){return e&&e.__esModule?e:{default:e}}(n(64));var i=!1;function s(e){return e.sort(function(e,t){return e._identifier.localeCompare(t._identifier)})}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a=function(e){return e&&e.__esModule?e:{default:e}}(n(106)),o=n(13),i=n(30);t.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{mode:"mobile",data:{title:"",description:"",slug:""},wordsToHighlight:[],replacementVariables:(0,a.default)(),uniqueRefreshValue:"",templates:{title:"",description:""},isLoading:!0},t=arguments[1];switch(t.type){case o.SWITCH_MODE:return r({},e,{mode:t.mode});case o.UPDATE_DATA:return r({},e,{data:r({},e.data,t.data)});case o.UPDATE_REPLACEMENT_VARIABLE:var n=!0,s=e.replacementVariables.map(function(e){return e.name===t.name?(n=!1,{name:t.name,label:t.label||e.label,value:t.value}):e});return n&&(s=(0,i.pushNewReplaceVar)(s,t)),r({},e,{replacementVariables:s});case o.REMOVE_REPLACEMENT_VARIABLE:return r({},e,{replacementVariables:e.replacementVariables.filter(function(e){return e.name!==t.name})});case o.REFRESH:return r({},e,{uniqueRefreshValue:t.time});case o.UPDATE_WORDS_TO_HIGHLIGHT:return r({},e,{wordsToHighlight:t.wordsToHighlight});case o.LOAD_SNIPPET_EDITOR_DATA:return r({},e,{data:r({},e.data,{title:t.data.title,description:t.data.description,slug:t.data.slug}),templates:r({},e.templates,{title:t.templates.title,description:t.templates.description}),isLoading:!1})}return e}},,,,,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(10),a=n(7),o=s(n(158)),i=s(n(32));function s(e){return e&&e.__esModule?e:{default:e}}t.default=(0,r.compose)([(0,a.withSelect)(function(e){return{isCornerstone:(0,e("yoast-seo/editor").isCornerstoneContent)(),learnMoreUrl:wpseoAdminL10n["shortlinks.cornerstone_content_info"]}}),(0,a.withDispatch)(function(e){return{onChange:e("yoast-seo/editor").toggleCornerstoneContent}}),(0,i.default)()])(o.default)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.KeywordInput=void 0;var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),a=n(4),o=n(12),i=n(3),s=y(n(1)),l=n(17),u=n(15),c=y(n(8)),d=n(16),p=y(n(33)),f=n(14),m=y(n(160));function y(e){return e&&e.__esModule?e:{default:e}}var g=c.default.div.withConfig({displayName:"KeywordInput__KeywordInputContainer",componentId:"sc-16tnggn-0"})(["padding:16px;border-bottom:1px solid transparent;"]),_=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.validate=n.validate.bind(n),n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,a.Component),r(t,[{key:"validate",value:function(){var e=[];return 0===this.props.keyword.trim().length&&this.props.displayNoKeyphraseMessage&&e.push((0,i.__)("Please enter a focus keyphrase first to get related keyphrases","wordpress-seo")),this.props.keyword.includes(",")&&e.push((0,i.__)("Are you trying to use multiple keyphrases? You should add them separately below.","wordpress-seo")),this.props.keyword.length>191&&e.push((0,i.__)("Your keyphrase is too long. It can be a maximum of 191 characters.","wordpress-seo")),e}},{key:"render",value:function(){var e=this,n=this.validate();return wp.element.createElement(f.LocationConsumer,null,function(r){return wp.element.createElement("div",{style:"sidebar"===r?{borderBottom:"1px solid #f0f0f0"}:{}},wp.element.createElement(g,{location:r},wp.element.createElement(u.KeywordInput,{id:"focus-keyword-input-"+r,onChange:e.props.onFocusKeywordChange,keyword:e.props.keyword,label:(0,i.__)("Focus keyphrase","wordpress-seo"),helpLink:t.renderHelpLink(),onBlurKeyword:e.props.onBlurKeyword,onFocusKeyword:e.props.onFocusKeyword,hasError:n.length>0,errorMessages:n}),e.props.isSEMrushIntegrationActive&&wp.element.createElement(m.default,{location:r,keyphrase:e.props.keyword})),wp.element.createElement(o.Slot,{name:"YoastAfterKeywordInput"+(r.charAt(0).toUpperCase()+r.slice(1))}))})}}],[{key:"renderHelpLink",value:function(){return wp.element.createElement(p.default,{href:wpseoAdminL10n["shortlinks.focus_keyword_info"],className:"dashicons"},wp.element.createElement("span",{className:"screen-reader-text"},(0,i.__)("Help on choosing the perfect focus keyphrase","wordpress-seo")))}}]),t}();_.propTypes={keyword:s.default.string,onFocusKeywordChange:s.default.func.isRequired,onFocusKeyword:s.default.func.isRequired,onBlurKeyword:s.default.func.isRequired,isSEMrushIntegrationActive:s.default.bool,displayNoKeyphraseMessage:s.default.bool},_.defaultProps={keyword:"",isSEMrushIntegrationActive:!1,displayNoKeyphraseMessage:!1},t.KeywordInput=_,t.default=(0,l.connect)(function(e){return{keyword:e.focusKeyword,displayNoKeyphraseMessage:e.SEMrushModal.displayNoKeyphraseMessage}},function(e){return{onFocusKeywordChange:function(t){e((0,d.setFocusKeyword)(t))},onFocusKeyword:function(){e((0,d.setMarkerPauseStatus)(!0))},onBlurKeyword:function(){e((0,d.setMarkerPauseStatus)(!1))}}})(_)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=n(4),i=n(7),s=v(n(1)),l=v(n(8)),u=n(3),c=n(0),d=v(n(95)),p=v(n(61)),f=v(n(31)),m=v(n(21)),y=n(27),g=n(14),_=v(n(33)),h=v(n(163));function v(e){return e&&e.__esModule?e:{default:e}}var w=l.default.span.withConfig({displayName:"ReadabilityAnalysis__AnalysisHeader",componentId:"z9f9eh-0"})(["font-size:1em;font-weight:bold;margin:0 0 8px;display:block;"]),b=l.default.div.withConfig({displayName:"ReadabilityAnalysis__ReadabilityResultsTabContainer",componentId:"z9f9eh-1"})(["padding:16px;"]),E=(0,l.default)(_.default).withConfig({displayName:"ReadabilityAnalysis__StyledHelpLink",componentId:"z9f9eh-2"})(["margin:-8px 0 -4px 4px;"]),T=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,o.Component),a(t,[{key:"renderResults",value:function(){return wp.element.createElement(o.Fragment,null,wp.element.createElement(w,null,(0,u.__)("Analysis results","wordpress-seo"),wp.element.createElement(E,{href:wpseoAdminL10n["shortlinks.readability_analysis_info"],className:"dashicons"},wp.element.createElement("span",{className:"screen-reader-text"},(0,u.__)("Learn more about the readability analysis","wordpress-seo")))),wp.element.createElement(p.default,{results:this.props.results,marksButtonClassName:"yoast-tooltip yoast-tooltip-w",marksButtonStatus:this.props.marksButtonStatus}))}},{key:"render",value:function(){var e=this,t=(0,m.default)(this.props.overallScore);return(0,c.isNil)(this.props.overallScore)&&(t.className="loading"),wp.element.createElement(g.LocationConsumer,null,function(n){return"sidebar"===n?wp.element.createElement(f.default,{title:(0,u.__)("Readability analysis","wordpress-seo"),titleScreenReaderText:t.screenReaderReadabilityText,prefixIcon:(0,y.getIconForScore)(t.className),prefixIconCollapsed:(0,y.getIconForScore)(t.className),id:"yoast-readability-analysis-collapsible-"+n},e.renderResults()):"metabox"===n?wp.element.createElement(h.default,{target:"wpseo-metabox-readability-root"},wp.element.createElement(b,null,wp.element.createElement(d.default,{target:"wpseo-readability-score-icon",scoreIndicator:t.className}),e.renderResults())):void 0})}}]),t}();T.propTypes={results:s.default.array.isRequired,marksButtonStatus:s.default.string.isRequired,overallScore:s.default.number},T.defaultProps={overallScore:null},t.default=(0,i.withSelect)(function(e){var t=e("yoast-seo/editor"),n=t.getReadabilityResults,a=t.getMarkButtonStatus;return r({},n(),{marksButtonStatus:a()})})(T)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),a=n(4),o=O(n(1)),i=n(17),s=O(n(8)),l=n(3),u=n(5),c=n(18),d=O(n(95)),p=O(n(31)),f=O(n(34)),m=O(n(61)),y=O(n(21)),g=n(27),_=O(n(164)),h=O(n(165)),v=O(n(166)),w=n(14),b=O(n(167)),E=n(94),T=O(n(168));function O(e){return e&&e.__esModule?e:{default:e}}var S=s.default.span.withConfig({displayName:"SeoAnalysis__AnalysisHeader",componentId:"sc-18qlxmf-0"})(["font-size:1em;font-weight:bold;margin:1.5em 0 1em;display:block;"]),P=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,a.Component),r(t,[{key:"renderSynonymsUpsell",value:function(e){var t={classes:{openButton:"wpseo-keyword-synonyms button-link"},labels:{open:"+ "+(0,l.__)("Add synonyms","wordpress-seo"),modalAriaLabel:(0,l.sprintf)((0,l.__)("Get %s","wordpress-seo"),"Yoast SEO Premium"),heading:(0,l.sprintf)((0,l.__)("Get %s","wordpress-seo"),"Yoast SEO Premium")}},n=wpseoAdminL10n["shortlinks.upsell.metabox.focus_keyword_synonyms_link"],r=wpseoAdminL10n["shortlinks.upsell.metabox.focus_keyword_synonyms_button"];return"sidebar"===e.toLowerCase()&&(n=wpseoAdminL10n["shortlinks.upsell.sidebar.focus_keyword_synonyms_link"],r=wpseoAdminL10n["shortlinks.upsell.sidebar.focus_keyword_synonyms_button"]),wp.element.createElement(h.default,t,wp.element.createElement(E.ModalContainer,null,wp.element.createElement(E.ModalIcon,{icon:u.YoastSeoIcon}),wp.element.createElement("h2",null,(0,l.__)("Would you like to add keyphrase synonyms?","wordpress-seo")),wp.element.createElement(_.default,{link:n,buyLink:r})))}},{key:"renderMultipleKeywordsUpsell",value:function(e){var t={classes:{openButton:"wpseo-multiple-keywords button-link"},labels:{open:"+ "+(0,l.__)("Add related keyphrase","wordpress-seo"),modalAriaLabel:(0,l.sprintf)((0,l.__)("Get %s","wordpress-seo"),"Yoast SEO Premium"),heading:(0,l.sprintf)((0,l.__)("Get %s","wordpress-seo"),"Yoast SEO Premium")}},n=wpseoAdminL10n["shortlinks.upsell.metabox.focus_keyword_additional_link"],r=wpseoAdminL10n["shortlinks.upsell.metabox.focus_keyword_additional_button"];return"sidebar"===e.toLowerCase()&&(n=wpseoAdminL10n["shortlinks.upsell.sidebar.focus_keyword_additional_link"],r=wpseoAdminL10n["shortlinks.upsell.sidebar.focus_keyword_additional_button"]),wp.element.createElement(h.default,t,wp.element.createElement(E.ModalContainer,null,wp.element.createElement(E.ModalIcon,{icon:u.YoastSeoIcon}),wp.element.createElement("h2",null,(0,l.__)("Would you like to add a related keyphrase?","wordpress-seo")),wp.element.createElement(v.default,{link:n,buyLink:r})))}},{key:"renderKeywordUpsell",value:function(e){var t=wpseoAdminL10n["shortlinks.upsell.metabox.additional_link"],n=wpseoAdminL10n["shortlinks.upsell.metabox.additional_button"],r=f.default;return"sidebar"===e.toLowerCase()&&(t=wpseoAdminL10n["shortlinks.upsell.sidebar.additional_link"],n=wpseoAdminL10n["shortlinks.upsell.sidebar.additional_button"],r=p.default),wp.element.createElement(r,{prefixIcon:{icon:"plus",color:c.colors.$color_grey_medium_dark},prefixIconCollapsed:{icon:"plus",color:c.colors.$color_grey_medium_dark},title:(0,l.__)("Add related keyphrase","wordpress-seo"),id:"yoast-additional-keyphrase-collapsible-"+e},wp.element.createElement(v.default,{link:t,buyLink:n}))}},{key:"renderWordFormsUpsell",value:function(e){return wp.element.createElement(b.default,{url:"sidebar"===e?wpseoAdminL10n["shortlinks.upsell.sidebar.morphology_upsell_sidebar"]:wpseoAdminL10n["shortlinks.upsell.sidebar.morphology_upsell_metabox"],alignment:"sidebar"===e?"vertical":"horizontal"})}},{key:"renderTabIcon",value:function(e,t){return"metabox"!==e?null:wp.element.createElement(d.default,{target:"wpseo-seo-score-icon",scoreIndicator:t})}},{key:"render",value:function(){var e=this,t=(0,y.default)(this.props.overallScore);return"loading"!==t.className&&""===this.props.keyword&&(t.className="na",t.screenReaderReadabilityText=(0,l.__)("Enter a focus keyphrase to calculate the SEO score","wordpress-seo")),wp.element.createElement(w.LocationConsumer,null,function(n){var r="metabox"===n?f.default:p.default;return wp.element.createElement(a.Fragment,null,wp.element.createElement(r,{title:(0,l.__)("SEO analysis","wordpress-seo"),titleScreenReaderText:t.screenReaderReadabilityText,prefixIcon:(0,g.getIconForScore)(t.className),prefixIconCollapsed:(0,g.getIconForScore)(t.className),subTitle:e.props.keyword,id:"yoast-seo-analysis-collapsible-"+n},wp.element.createElement(T.default,{location:n}),e.props.shouldUpsell&&wp.element.createElement(a.Fragment,null,e.renderSynonymsUpsell(n),e.renderMultipleKeywordsUpsell(n)),e.props.shouldUpsellWordFormRecognition&&e.renderWordFormsUpsell(n),wp.element.createElement(S,null,(0,l.__)("Analysis results","wordpress-seo")),wp.element.createElement(m.default,{results:e.props.results,marksButtonClassName:"yoast-tooltip yoast-tooltip-w",marksButtonStatus:e.props.marksButtonStatus})),e.props.shouldUpsell&&e.renderKeywordUpsell(n),e.renderTabIcon(n,t.className))})}}]),t}();P.propTypes={results:o.default.array,marksButtonStatus:o.default.string,keyword:o.default.string,shouldUpsell:o.default.bool,shouldUpsellWordFormRecognition:o.default.bool,overallScore:o.default.number},P.defaultProps={results:[],marksButtonStatus:null,keyword:"",shouldUpsell:!1,shouldUpsellWordFormRecognition:!1,overallScore:null},t.default=(0,i.connect)(function(e,t){var n=t.hideMarksButtons?"disabled":e.marksButtonStatus,r=e.focusKeyword,a=[],o=null;return e.analysis.seo[r]&&(a=e.analysis.seo[r].results,o=e.analysis.seo[r].overallScore),{results:a,marksButtonStatus:n,keyword:r,overallScore:o}})(P)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a=n(10),o=n(7),i=n(4),s=n(3),l=p(n(1)),u=p(n(174)),c=p(n(49)),d=p(n(32));function p(e){return e&&e.__esModule?e:{default:e}}var f=function(e){var t=null!==c.default.articleTypeInput;(0,i.useEffect)(function(){e.loadSchemaPageData(),t&&e.loadSchemaArticleData()},[]);var n=window.wpseoScriptData.metabox.schema,a=n.pageTypeOptions,o=n.articleTypeOptions,l={articleTypeLabel:(0,s.__)("Article type","wordpress-seo"),pageTypeLabel:(0,s.__)("Page type","wordpress-seo"),postTypeName:window.wpseoAdminL10n.postTypeNamePlural,helpTextTitle:(0,s.__)("Yoast SEO automatically describes your pages using schema.org","wordpress-seo"),helpTextDescription:(0,s.__)("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:o},d=r({},e,l,function(e){return"metabox"===e?{helpTextLink:"https://yoa.st/400",additionalHelpTextLink:"https://yoa.st/402",isMetabox:!0}:{helpTextLink:"https://yoa.st/401",additionalHelpTextLink:"https://yoa.st/403",isMetabox:!1}}(e.location));return wp.element.createElement(u.default,d)};f.propTypes={displayFooter:l.default.bool.isRequired,schemaPageTypeSelected:l.default.string.isRequired,schemaArticleTypeSelected:l.default.string.isRequired,defaultArticleType:l.default.string.isRequired,defaultPageType:l.default.string.isRequired,loadSchemaPageData:l.default.func.isRequired,loadSchemaArticleData:l.default.func.isRequired,schemaPageTypeChange:l.default.func.isRequired,schemaArticleTypeChange:l.default.func.isRequired,location:l.default.string.isRequired},t.default=(0,a.compose)([(0,o.withSelect)(function(e){var t=e("yoast-seo/editor"),n=t.getPreferences,r=t.getPageType,a=t.getDefaultPageType,o=t.getArticleType,i=t.getDefaultArticleType;return{displayFooter:n().displaySchemaSettingsFooter,schemaPageTypeSelected:r(),schemaArticleTypeSelected:o(),defaultArticleType:i(),defaultPageType:a()}}),(0,o.withDispatch)(function(e){var t=e("yoast-seo/editor"),n=t.setPageType,r=t.setArticleType;return{loadSchemaPageData:t.getSchemaPageData,loadSchemaArticleData:t.getSchemaArticleData,schemaPageTypeChange:n,schemaArticleTypeChange:r}}),(0,d.default)()])(f)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(10),a=n(7),o=function(e){return e&&e.__esModule?e:{default:e}}(n(175));t.default=(0,r.compose)([(0,a.withSelect)(function(e){var t=e("yoast-seo/editor"),n=t.getNoIndex,r=t.getNoFollow,a=t.getAdvanced,o=t.getBreadcrumbsTitle,i=t.getCanonical,s=t.getIsLoading,l=t.getEditorContext,u=(0,t.getPreferences)(),c=u.isBreadcrumbsDisabled,d=u.isPrivateBlog;return{noIndex:n(),noFollow:r(),advanced:a(),breadcrumbsTitle:o(),canonical:i(),isLoading:s(),editorContext:l(),isBreadcrumbsDisabled:c,isPrivateBlog:d}}),(0,a.withDispatch)(function(e){var t=e("yoast-seo/editor");return{onNoIndexChange:t.setNoIndex,onNoFollowChange:t.setNoFollow,onAdvancedChange:t.setAdvanced,onBreadcrumbsTitleChange:t.setBreadcrumbsTitle,onCanonicalChange:t.setCanonical,onLoad:t.loadAdvancedSettingsData}})])(o.default)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){if(void 0===e.length)return e;return(0,r.flatten)(e).sort(function(e,t){return void 0===e.props.renderPriority?1:e.props.renderPriority-t.props.renderPriority})};var r=n(0)},,,,,,,,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(212);Object.keys(r).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return r[e]}})});var a=n(213);Object.keys(a).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return a[e]}})});var o=n(214);Object.keys(o).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return o[e]}})});var i=n(107);Object.keys(i).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return i[e]}})});var s=n(108);Object.keys(s).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return s[e]}})});var l=n(215);Object.keys(l).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return l[e]}})});var u=n(216);Object.keys(u).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return u[e]}})});var c=n(217);Object.keys(c).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return c[e]}})});var d=n(218);Object.keys(d).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return d[e]}})});var p=n(109);Object.keys(p).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return p[e]}})});var f=n(219);Object.keys(f).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return f[e]}})});var m=n(220);Object.keys(m).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return m[e]}})});var y=n(221);Object.keys(y).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return y[e]}})});var g=n(222);Object.keys(g).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return g[e]}})});var _=n(223);Object.keys(_).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return _[e]}})});var h=n(224);Object.keys(h).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return h[e]}})});var v=n(225);Object.keys(v).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return v[e]}})});var w=n(110);Object.keys(w).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return w[e]}})});var b=n(111);Object.keys(b).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return b[e]}})});var E=n(226);Object.keys(E).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return E[e]}})});var T=n(227);Object.keys(T).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return T[e]}})})},,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=p;var r=n(3),a=n(5),o=n(6),i=c(n(1)),s=c(n(159)),l=c(n(34)),u=c(n(31));function c(e){return e&&e.__esModule?e:{default:e}}var d=(0,o.makeOutboundLink)();function p(e){var t=e.isCornerstone,n=e.onChange,i=e.learnMoreUrl,c=e.location,p="metabox"===c?l.default:u.default;return wp.element.createElement(p,{id:(0,o.join)(["yoast-cornerstone-collapsible",c]),title:(0,r.__)("Cornerstone content","wordpress-seo")},wp.element.createElement(a.HelpText,null,(0,r.__)("Cornerstone content should be the most important and extensive articles on your site.","wordpress-seo")+" ",wp.element.createElement(d,{href:i},(0,r.__)("Learn more about Cornerstone Content.","wordpress-seo"))),wp.element.createElement(s.default,{id:(0,o.join)(["yoast-cornerstone",c]),isEnabled:t,onToggle:n}))}p.propTypes={isCornerstone:i.default.bool,onChange:i.default.func,learnMoreUrl:i.default.string.isRequired,location:i.default.string},p.defaultProps={isCornerstone:!0,onChange:function(){},location:""}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),a=n(4),o=u(n(1)),i=u(n(8)),s=n(5),l=n(3);function u(e){return e&&e.__esModule?e:{default:e}}var c=i.default.div.withConfig({displayName:"CornerstoneToggle__Cornerstone",componentId:"sc-5dq4y-0"})(["display:flex;margin-top:8px;"]),d=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,a.Component),r(t,[{key:"render",value:function(){return wp.element.createElement(c,null,wp.element.createElement(s.Toggle,{id:this.props.id,labelText:(0,l.__)("Mark as cornerstone content","wordpress-seo"),isEnabled:this.props.isEnabled,onSetToggleState:this.props.onToggle,onToggleDisabled:this.props.onToggleDisabled}))}}]),t}();d.propTypes={id:o.default.string,isEnabled:o.default.bool,onToggle:o.default.func,onToggleDisabled:o.default.func},d.defaultProps={id:"cornerstone-toggle",isEnabled:!0,onToggle:function(){},onToggleDisabled:function(){}},t.default=d},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(7),a=n(10),o=function(e){return e&&e.__esModule?e:{default:e}}(n(161));t.default=(0,a.compose)([(0,r.withSelect)(function(e){var t=e("yoast-seo/editor"),n=t.getSEMrushModalOpen,r=t.getSEMrushLoginStatus;return{whichModalOpen:n(),isLoggedIn:r()}}),(0,r.withDispatch)(function(e){var t=e("yoast-seo/editor"),n=t.setSEMrushNoKeyphraseMessage,r=t.setSEMrushOpenModal,a=t.setSEMrushDismissModal,o=t.setSEMrushLoginStatus;return{onOpenWithNoKeyphrase:function(){n()},onOpen:function(e){r(e)},onClose:function(){a()},onAuthentication:function(e){o(e)}}})])(o.default)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),a=n(4),o=n(12),i=m(n(55)),s=n(3),l=m(n(1)),u=n(5),c=n(94),d=m(n(38)),p=m(n(162)),f=n(76);function m(e){return e&&e.__esModule?e:{default:e}}function y(e){return function(){var t=e.apply(this,arguments);return new Promise(function(e,n){return function r(a,o){try{var i=t[a](o),s=i.value}catch(e){return void n(e)}if(!i.done)return Promise.resolve(s).then(function(e){r("next",e)},function(e){r("throw",e)});e(s)}("next")})}}var g=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.onModalOpen=n.onModalOpen.bind(n),n.onModalClose=n.onModalClose.bind(n),n.onLinkClick=n.onLinkClick.bind(n),n.listenToMessages=n.listenToMessages.bind(n),n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,a.Component),r(t,[{key:"onModalOpen",value:function(){this.props.keyphrase.trim()?this.props.onOpen(this.props.location):this.props.onOpenWithNoKeyphrase()}},{key:"onModalClose",value:function(e){(0,f.isCloseEvent)(e)&&this.props.onClose()}},{key:"onLinkClick",value:function(e){if(e.preventDefault(),this.props.keyphrase.trim()){var t=e.target.href,n=["top="+(window.top.outerHeight/2+window.top.screenY-285),"left="+(window.top.outerWidth/2+window.top.screenX-170),"width=340","height=570","resizable=1","scrollbars=1","status=0"];this.popup&&!this.popup.closed||(this.popup=window.open(t,"SEMrush_login",n.join(","))),this.popup&&this.popup.focus(),window.addEventListener("message",this.listenToMessages,!1)}else this.props.onOpenWithNoKeyphrase()}},{key:"listenToMessages",value:function(){var e=y(regeneratorRuntime.mark(function e(t){var n,r;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(n=t.data,r=t.source,"https://oauth.semrush.com"===t.origin&&this.popup===r){e.next=3;break}return e.abrupt("return");case 3:if("semrush:oauth:success"!==n.type){e.next=8;break}return this.popup.close(),window.removeEventListener("message",this.listenToMessages,!1),e.next=8,this.performAuthenticationRequest(n);case 8:"semrush:oauth:denied"===n.type&&(this.popup.close(),window.removeEventListener("message",this.listenToMessages,!1),this.props.onAuthentication(!1));case 9:case"end":return e.stop()}},e,this)}));return function(t){return e.apply(this,arguments)}}()},{key:"performAuthenticationRequest",value:function(){var e=y(regeneratorRuntime.mark(function e(t){var n,r,a;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,n=new URL(t.url),r=n.searchParams.get("code"),e.next=5,(0,i.default)({path:"yoast/v1/semrush/authenticate",method:"POST",data:{code:r}});case 5:200===(a=e.sent).status?(this.props.onAuthentication(!0),this.onModalOpen(),this.popup.close()):console.error(a.error),e.next=12;break;case 9:e.prev=9,e.t0=e.catch(0),console.error(e.t0.message);case 12:case"end":return e.stop()}},e,this,[[0,9]])}));return function(t){return e.apply(this,arguments)}}()},{key:"render",value:function(){var e=this.props,t=e.keyphrase,n=e.location,r=e.whichModalOpen,i=e.isLoggedIn;return wp.element.createElement(a.Fragment,null,i&&wp.element.createElement("div",{className:"yoast"},wp.element.createElement(u.NewButton,{variant:"secondary",id:"yoast-get-related-keyphrases-"+n,onClick:this.onModalOpen},(0,s.__)("Get related keyphrases","wordpress-seo"))),t&&r===n&&wp.element.createElement(d.default,{title:(0,s.__)("Related keyphrases","wordpress-seo"),onRequestClose:this.onModalClose,icon:wp.element.createElement(p.default,null),additionalClassName:"yoast-related-keyphrases-modal"},wp.element.createElement(c.ModalContainer,{className:"yoast-gutenberg-modal__content yoast-related-keyphrases-modal__content"},wp.element.createElement(o.Slot,{name:"YoastRelatedKeyphrases"}))),!i&&wp.element.createElement("div",{className:"yoast"},wp.element.createElement(u.ButtonStyledLink,{variant:"secondary",id:"yoast-get-related-keyphrases-"+n,href:"https://oauth.semrush.com/oauth2/authorize?ref=1513012826&client_id=yoast&redirect_uri=https%3A%2F%2Foauth.semrush.com%2Foauth2%2Fyoast%2Fsuccess&response_type=code&scope=user.id",onClick:this.onLinkClick},(0,s.__)("Get related keyphrases","wordpress-seo"),wp.element.createElement("span",{className:"screen-reader-text"},(0,s.__)("(Opens in a new browser window)","wordpress-seo")))))}}]),t}();g.propTypes={keyphrase:l.default.string,location:l.default.string,whichModalOpen:l.default.oneOf(["none","metabox","sidebar"]),isLoggedIn:l.default.bool,onOpen:l.default.func.isRequired,onOpenWithNoKeyphrase:l.default.func.isRequired,onClose:l.default.func.isRequired,onAuthentication:l.default.func.isRequired},g.defaultProps={keyphrase:"",location:"",whichModalOpen:"none",isLoggedIn:!1},t.default=g},function(e,t,n){var r=n(2);function a(e){return r.createElement("svg",e,[r.createElement("path",{d:"M73 405.26a66.79 66.79 0 0 1-6.54-1.7 64.75 64.75 0 0 1-6.28-2.31c-1-.42-2-.89-3-1.37-1.49-.72-3-1.56-4.77-2.56-1.5-.88-2.71-1.64-3.83-2.39-.9-.61-1.8-1.26-2.68-1.92a70.154 70.154 0 0 1-5.08-4.19 69.21 69.21 0 0 1-8.4-9.17c-.92-1.2-1.68-2.25-2.35-3.24a70.747 70.747 0 0 1-3.44-5.64 68.29 68.29 0 0 1-8.29-32.55V142.13a68.26 68.26 0 0 1 8.29-32.55c1-1.92 2.21-3.82 3.44-5.64s2.55-3.58 4-5.27a69.26 69.26 0 0 1 14.49-13.25C50.37 84.19 52.27 83 54.2 82A67.59 67.59 0 0 1 73 75.09a68.75 68.75 0 0 1 13.75-1.39h169.66L263 55.39H86.75A86.84 86.84 0 0 0 0 142.13v196.09A86.84 86.84 0 0 0 86.75 425h11.32v-18.35H86.75A68.75 68.75 0 0 1 73 405.26zM368.55 60.85l-1.41-.53-6.41 17.18 1.41.53a68.06 68.06 0 0 1 8.66 4c1.93 1 3.82 2.2 5.65 3.43A69.19 69.19 0 0 1 391 98.67c1.4 1.68 2.72 3.46 3.95 5.27s2.39 3.72 3.44 5.64a68.29 68.29 0 0 1 8.29 32.55v264.52H233.55l-.44.76c-3.07 5.37-6.26 10.48-9.49 15.19L222 425h203V142.13a87.2 87.2 0 0 0-56.45-81.28z",key:0}),r.createElement("path",{d:"M119.8 408.28v46c28.49-1.12 50.73-10.6 69.61-29.58 19.45-19.55 36.17-50 52.61-96L363.94 1.9H305l-98.25 272.89-48.86-153h-54l71.7 184.18a75.67 75.67 0 0 1 0 55.12c-7.3 18.68-20.25 40.66-55.79 47.19z",stroke:"#000",strokeMiterlimit:"10",strokeWidth:"3.81",key:1})])}a.defaultProps={viewBox:"0 0 425 456.27",role:"img","aria-hidden":"true",focusable:"false"},e.exports=a,a.default=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=i;var r=o(n(28)),a=o(n(1));function o(e){return e&&e.__esModule?e:{default:e}}function i(e){var t=e.target,n=e.children;return wp.element.createElement(r.default,{target:t},n)}i.propTypes={target:a.default.string.isRequired,children:a.default.node.isRequired}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=l(n(19)),a=n(3),o=n(6),i=l(n(1)),s=l(n(96));function l(e){return e&&e.__esModule?e:{default:e}}var u=(0,o.makeOutboundLink)(),c=function(e){var t=(0,a.sprintf)((0,a.__)("Great news: you can, with %1$s!","wordpress-seo"),"{{link}}Yoast SEO Premium{{/link}}"),n=(0,r.default)({mixedString:t,components:{link:wp.element.createElement(u,{href:e.link})}}),o=["<strong>"+(0,a.__)("Rank better with synonyms & related keyphrases","wordpress-seo")+"</strong>",(0,a.sprintf)((0,a.__)("%1$sNo more dead links%2$s: easy redirect manager","wordpress-seo"),"<strong>","</strong>"),"<strong>"+(0,a.__)("Superfast internal linking suggestions","wordpress-seo")+"</strong>",(0,a.sprintf)((0,a.__)("%1$sSocial media preview%2$s: Facebook & Twitter","wordpress-seo"),"<strong>","</strong>"),"<strong>"+(0,a.__)("24/7 email support","wordpress-seo")+"</strong>","<strong>"+(0,a.__)("No ads!","wordpress-seo")+"</strong>"],i=(0,a.sprintf)((0,a.__)("Other benefits of %s for you:","wordpress-seo"),"Yoast SEO Premium");return wp.element.createElement(s.default,{infoParagraphs:[n,i],benefits:o,upsellButtonText:(0,a.sprintf)((0,a.__)("Get %s","wordpress-seo"),"Yoast SEO Premium"),upsellButton:{href:e.buyLink,className:"yoast-button-upsell",rel:null},upsellButtonLabel:(0,a.__)("1 year free support and updates included!","wordpress-seo")})};c.propTypes={link:i.default.string.isRequired,buyLink:i.default.string.isRequired},t.default=c},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){return function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],r=!0,a=!1,o=void 0;try{for(var i,s=e[Symbol.iterator]();!(r=(i=s.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(e){a=!0,o=e}finally{try{!r&&s.return&&s.return()}finally{if(a)throw o}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),a=n(38),o=d(a),i=n(4),s=d(n(1)),l=d(n(8)),u=n(3),c=n(5);function d(e){return e&&e.__esModule?e:{default:e}}var p=l.default.button.withConfig({displayName:"SeoAnalysisModal__StyledButton",componentId:"sc-62v5uw-0"})(["&&{display:flex;align-items:center;}.yoast-svg-icon{margin:1px 7px 0 0;fill:currentColor;}"]),f={open:(0,u.__)("Open","wordpress-seo"),heading:"",closeIconButton:(0,u.__)("Close","wordpress-seo"),closeButton:""},m=function(e){var t=(0,i.useState)(!1),n=r(t,2),a=n[0],s=n[1],l=Object.assign({},f,e.labels),u=(0,i.useCallback)(function(){return s(!1)},[]),d=(0,i.useCallback)(function(){return s(!0)},[]);return wp.element.createElement(i.Fragment,null,wp.element.createElement(p,{type:"button",onClick:d,className:e.classes.openButton+" yoast-modal__button-open"},e.openButtonIcon&&wp.element.createElement(c.SvgIcon,{icon:e.openButtonIcon,size:"13px"}),l.open),a&&wp.element.createElement(o.default,{onRequestClose:u,className:e.className,title:l.heading},e.children))};m.propTypes={openButtonIcon:s.default.string,labels:s.default.shape({open:s.default.string,modalAriaLabel:s.default.string.isRequired,heading:s.default.string,closeIconButton:s.default.string,closeButton:s.default.string}).isRequired,classes:s.default.shape({openButton:s.default.string,closeIconButton:s.default.string,closeButton:s.default.string}),className:s.default.string,children:s.default.any.isRequired},m.defaultProps={className:a.defaultModalClassName,openButtonIcon:"",classes:{}},t.default=m},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=l(n(19)),a=n(6),o=n(3),i=l(n(96)),s=l(n(1));function l(e){return e&&e.__esModule?e:{default:e}}var u=(0,a.makeOutboundLink)(),c=function(e){var t=(0,o.sprintf)((0,o.__)("Great news: you can, with %s!","wordpress-seo"),"{{link}}Yoast SEO Premium{{/link}}"),n=[(0,o.sprintf)((0,o.__)("%1$sNo more dead links%2$s: easy redirect manager","wordpress-seo"),"<strong>","</strong>"),"<strong>"+(0,o.__)("Superfast internal linking suggestions","wordpress-seo")+"</strong>",(0,o.sprintf)((0,o.__)("%1$sSocial media preview%2$s: Facebook & Twitter","wordpress-seo"),"<strong>","</strong>"),"<strong>"+(0,o.__)("24/7 email support","wordpress-seo")+"</strong>","<strong>"+(0,o.__)("No ads!","wordpress-seo")+"</strong>"],a=(0,r.default)({mixedString:t,components:{link:wp.element.createElement(u,{href:e.link})}}),s=(0,o.sprintf)((0,o.__)("Other benefits of %s for you:","wordpress-seo"),"Yoast SEO Premium");return wp.element.createElement(i.default,{infoParagraphs:[a,s],benefits:n,upsellButtonText:(0,o.sprintf)((0,o.__)("Get %s","wordpress-seo"),"Yoast SEO Premium"),upsellButton:{href:e.buyLink,className:"yoast-button-upsell",rel:null},upsellButtonLabel:(0,o.__)("1 year free support and updates included!","wordpress-seo")})};c.propTypes={link:s.default.string.isRequired,buyLink:s.default.string.isRequired},t.default=c},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=u(n(1)),a=u(n(8)),o=n(3),i=n(6),s=n(18),l=n(5);function u(e){return e&&e.__esModule?e:{default:e}}var c=a.default.p.withConfig({displayName:"AnalysisUpsell__TextContainer",componentId:"sc-1qakqs0-0"})(["color:",";margin:0;padding-right:8px;"],s.colors.$color_upsell_text),d=a.default.div.withConfig({displayName:"AnalysisUpsell__Container",componentId:"sc-1qakqs0-1"})(["font-size:1em;display:flex;flex-direction:",";",":4px solid ",";margin:16px 0;padding:0 0 0 8px;max-width:600px;> ","{margin-bottom:",";}"],function(e){return"horizontal"===e.alignment?"row":"column"},(0,i.getDirectionalStyle)("border-left","border-right"),s.colors.$color_pink_dark,c,function(e){return"vertical"===e.alignment&&"16px"}),p=(0,a.default)(l.SvgIcon).withConfig({displayName:"AnalysisUpsell__Caret",componentId:"sc-1qakqs0-2"})(["margin:",";transform:",";"],(0,i.getDirectionalStyle)("0 0 0 4px","0 4px 0 0"),(0,i.getDirectionalStyle)("rotate(0deg)","rotate(180deg)")),f=(0,i.makeOutboundLink)(l.UpsellLinkButton),m=function(e){var t=e.alignment,n=e.url;return wp.element.createElement(d,{alignment:t},wp.element.createElement(c,null,(0,o.sprintf)((0,o.__)("Did you know %s also analyzes the different word forms of your keyphrase, like plurals and past tenses?","wordpress-seo"),"Yoast SEO Premium")),wp.element.createElement("div",null,wp.element.createElement(f,{href:n,className:"UpsellLinkButton"},(0,o.sprintf)((0,o.__)("Go %s!","wordpress-seo"),"Premium"),wp.element.createElement(p,{icon:"arrow-right",size:"8px",color:s.colors.$color_black}))))};m.propTypes={alignment:r.default.oneOf(["horizontal","vertical"]),url:r.default.string.isRequired},m.defaultProps={alignment:"vertical"},t.default=m},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=o;var r=n(12),a=function(e){return e&&e.__esModule?e:{default:e}}(n(1));function o(e){var t=e.location;return wp.element.createElement(r.Slot,{name:"yoast-synonyms-"+t})}o.propTypes={location:a.default.string.isRequired}},function(e,t){e.exports=window.yoast.searchMetadataPreviews},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(4),a=n(12),o=s(n(1)),i=s(n(98));function s(e){return e&&e.__esModule?e:{default:e}}var l=function(e){return(0,r.useEffect)(function(){setTimeout(e.onLoad)},[]),e.isPremium?wp.element.createElement(a.Slot,{name:"YoastTwitterPremium"+(e.location.charAt(0).toUpperCase()+e.location.slice(1)),fillProps:e}):wp.element.createElement(i.default,e)};l.propTypes={isPremium:o.default.bool.isRequired,onLoad:o.default.func.isRequired,location:o.default.string.isRequired},t.default=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(4),a=c(n(8)),o=c(n(19)),i=c(n(1)),s=n(3),l=n(5),u=n(6);function c(e){return e&&e.__esModule?e:{default:e}}var d=(0,a.default)(l.Alert).withConfig({displayName:"SocialUpsell__PremiumInfoText",componentId:"sc-113ceom-0"})(["p{margin:0;}"]),p=(0,u.makeOutboundLink)(),f=function(e){var t=(0,s.sprintf)((0,s.__)("Do you want to preview what it will look like if people share this post on %s? You can, with %s.","wordpress-seo"),e.socialMediumName," {{strong}}Yoast SEO Premium{{/strong}}"),n=(0,s.sprintf)((0,s.__)("Find out why you should upgrade to %s","wordpress-seo"),"Yoast SEO Premium");return wp.element.createElement(r.Fragment,null,wp.element.createElement(d,{type:"info"},(0,o.default)({mixedString:t,components:{strong:wp.element.createElement("b",null)}}),wp.element.createElement("br",null),wp.element.createElement(p,{href:"https://yoast.com/reasons-to-upgrade/"},wp.element.createElement("p",null,n))))};f.propTypes={socialMediumName:i.default.oneOf(["Twitter","Facebook"]).isRequired},t.default=f},function(e,t){e.exports=window.yoast.socialMetadataForms},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(4),a=n(12),o=s(n(1)),i=s(n(98));function s(e){return e&&e.__esModule?e:{default:e}}var l=function(e){return(0,r.useEffect)(function(){setTimeout(e.onLoad)},[]),e.isPremium?wp.element.createElement(a.Slot,{name:"YoastFacebookPremium"+(e.location.charAt(0).toUpperCase()+e.location.slice(1)),fillProps:e}):wp.element.createElement(i.default,e)};l.propTypes={isPremium:o.default.bool.isRequired,onLoad:o.default.func.isRequired,location:o.default.string.isRequired},t.default=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(4),a=n(3),o=n(5),i=n(6),s=d(n(19)),l=d(n(1)),u=d(n(8)),c=n(115);function d(e){return e&&e.__esModule?e:{default:e}}var p=u.default.div.withConfig({displayName:"SchemaTab__SchemaContainer",componentId:"sc-166btxs-0"})(["padding:16px;"]),f=function(e,t,n){var r=e.find(function(e){return e.value===t});return[{name:(0,a.sprintf)((0,a.__)("Default for %1$s (%2$s)","wordpress-seo"),n,r?r.name:""),value:""}].concat(function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}(e))},m=function(e){return(0,s.default)({mixedString:function(e){return(0,a.sprintf)((0,a.__)("You can change the default type for %1$s in your %2$sSearch Appearance Settings%3$s.","wordpress-seo"),e,"{{link}}","{{/link}}")}(e),components:{link:wp.element.createElement("a",{href:"/wp-admin/admin.php?page=wpseo_titles#top#post-types",target:"_blank"})}})},y=function(e){var t=f(e.pageTypeOptions,e.defaultPageType,e.postTypeName),n=f(e.articleTypeOptions,e.defaultArticleType,e.postTypeName);return wp.element.createElement(r.Fragment,null,wp.element.createElement(o.FieldGroup,{label:e.helpTextTitle,linkTo:e.helpTextLink,linkText:(0,a.__)("Learn more about structured data with Schema.org","wordpress-seo"),description:e.helpTextDescription}),wp.element.createElement(o.FieldGroup,{label:(0,a.__)("What type of page or content is this?","wordpress-seo"),linkTo:e.additionalHelpTextLink,linkText:(0,a.__)("Learn more about page or content types","wordpress-seo")}),wp.element.createElement(o.Select,{id:(0,i.join)(["yoast-schema-page-type",e.location]),options:t,label:(0,a.__)("Page type","wordpress-seo"),onChange:e.schemaPageTypeChange,selected:e.schemaPageTypeSelected}),e.showArticleTypeInput&&wp.element.createElement(o.Select,{id:(0,i.join)(["yoast-schema-article-type",e.location]),options:n,label:(0,a.__)("Article type","wordpress-seo"),onChange:e.schemaArticleTypeChange,selected:e.schemaArticleTypeSelected}),e.displayFooter&&wp.element.createElement("p",null,m(e.postTypeName)))};y.propTypes={schemaPageTypeChange:l.default.func,schemaPageTypeSelected:l.default.string,pageTypeOptions:c.schemaTypeOptionsPropType.isRequired,schemaArticleTypeChange:l.default.func,schemaArticleTypeSelected:l.default.string,articleTypeOptions:c.schemaTypeOptionsPropType.isRequired,showArticleTypeInput:l.default.bool.isRequired,additionalHelpTextLink:l.default.string.isRequired,helpTextLink:l.default.string.isRequired,helpTextTitle:l.default.string.isRequired,helpTextDescription:l.default.string.isRequired,postTypeName:l.default.string.isRequired,displayFooter:l.default.bool,defaultPageType:l.default.string.isRequired,defaultArticleType:l.default.string.isRequired,location:l.default.string.isRequired},y.defaultProps={schemaPageTypeChange:function(){},schemaPageTypeSelected:null,schemaArticleTypeChange:function(){},schemaArticleTypeSelected:null,displayFooter:!1};var g=function(e){return e.isMetabox?(0,r.createPortal)(wp.element.createElement(p,null,wp.element.createElement(y,e)),document.getElementById("wpseo-meta-section-schema")):wp.element.createElement(y,e)};g.propTypes={showArticleTypeInput:l.default.bool,articleTypeLabel:l.default.string,additionalHelpTextLink:l.default.string,pageTypeLabel:l.default.string.isRequired,helpTextLink:l.default.string.isRequired,helpTextTitle:l.default.string.isRequired,helpTextDescription:l.default.string.isRequired,isMetabox:l.default.bool.isRequired,postTypeName:l.default.string.isRequired,displayFooter:l.default.bool,loadSchemaArticleData:l.default.func.isRequired,loadSchemaPageData:l.default.func.isRequired,location:l.default.string.isRequired},g.defaultProps={showArticleTypeInput:!1,articleTypeLabel:"",additionalHelpTextLink:"",displayFooter:!1},t.default=g},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(4),a=n(3),o=n(5),i=n(6),s=function(e){return e&&e.__esModule?e:{default:e}}(n(1)),l=n(14);var u=function(e){var t=(0,a.__)("No","wordpress-seo"),n=(0,a.__)("Yes","wordpress-seo"),r=e.noIndex?t:n;return window.wpseoScriptData.isPost?[{name:(0,a.sprintf)((0,a.__)("%s (current default for %s)","wordpress-seo"),r,e.postTypeNamePlural),value:"0"},{name:t,value:"1"},{name:n,value:"2"}]:[{name:(0,a.sprintf)((0,a.__)("%s (current default for %s)","wordpress-seo"),r,e.postTypeNamePlural),value:"default"},{name:n,value:"index"},{name:t,value:"noindex"}]},c=function(e){var t=e.noIndex,n=e.onNoIndexChange,s=e.editorContext,c=e.isPrivateBlog,d=u(s);return wp.element.createElement(l.LocationConsumer,null,function(e){return wp.element.createElement(r.Fragment,null,c&&wp.element.createElement(o.Alert,{type:"warning"},(0,a.__)("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")),wp.element.createElement(o.Select,{label:(0,a.sprintf)((0,a.__)("Allow search engines to show this %s in search results?","wordpress-seo"),s.postTypeNameSingular),onChange:n,id:(0,i.join)(["yoast-meta-robots-noindex",e]),options:d,selected:t,linkTo:"https://yoa.st/allow-search-engines",linkText:(0,a.__)("Learn more about the no-index setting on our help page.","wordpress-seo")}))})};c.propTypes={noIndex:s.default.string.isRequired,onNoIndexChange:s.default.func.isRequired,editorContext:s.default.object.isRequired,isPrivateBlog:s.default.bool},c.defaultProps={isPrivateBlog:!1};var d=function(e){var t=e.noFollow,n=e.onNoFollowChange,r=e.postTypeName;return wp.element.createElement(l.LocationConsumer,null,function(e){var s=(0,i.join)(["yoast-meta-robots-nofollow",e]);return wp.element.createElement(o.RadioButtonGroup,{id:s,options:[{value:"0",label:"Yes"},{value:"1",label:"No"}],label:(0,a.sprintf)((0,a.__)("Should search engines follow links on this %s","wordpress-seo"),r),groupName:s,onChange:n,selected:t,linkTo:"https://yoa.st/follow-links",linkText:(0,a.__)("Learn more about the no-follow setting on our help page.","wordpress-seo")})})};d.propTypes={noFollow:s.default.string.isRequired,onNoFollowChange:s.default.func.isRequired,postTypeName:s.default.string.isRequired};var p=function(e){var t=e.advanced,n=e.onAdvancedChange;return wp.element.createElement(l.LocationConsumer,null,function(e){var r=(0,i.join)(["yoast-meta-robots-advanced",e]),s=r+"-input";return wp.element.createElement(o.MultiSelect,{label:(0,a.__)("Meta robots advanced","wordpress-seo"),onChange:n,id:r,inputId:s,options:[{name:(0,a.__)("No Image Index","wordpress-seo"),value:"noimageindex"},{name:(0,a.__)("No Archive","wordpress-seo"),value:"noarchive"},{name:(0,a.__)("No Snippet","wordpress-seo"),value:"nosnippet"}],selected:t,linkTo:"https://yoa.st/meta-robots-advanced",linkText:(0,a.__)("Learn more about advanced meta robots settings on our help page.","wordpress-seo")})})};p.propTypes={advanced:s.default.array.isRequired,onAdvancedChange:s.default.func.isRequired};var f=function(e){var t=e.breadcrumbsTitle,n=e.onBreadcrumbsTitleChange;return wp.element.createElement(l.LocationConsumer,null,function(e){return wp.element.createElement(o.TextInput,{label:(0,a.__)("Breadcrumbs Title","wordpress-seo"),id:(0,i.join)(["yoast-breadcrumbs-title",e]),onChange:n,value:t,linkTo:"https://yoa.st/breadcrumbs-title",linkText:(0,a.__)("Learn more about the breadcrumbs title setting on our help page.","wordpress-seo")})})};f.propTypes={breadcrumbsTitle:s.default.string.isRequired,onBreadcrumbsTitleChange:s.default.func.isRequired};var m=function(e){var t=e.canonical,n=e.onCanonicalChange;return wp.element.createElement(l.LocationConsumer,null,function(e){return wp.element.createElement(o.TextInput,{label:(0,a.__)("Canonical URL","wordpress-seo"),id:(0,i.join)(["yoast-canonical",e]),onChange:n,value:t,linkTo:"https://yoa.st/canonical-url",linkText:(0,a.__)("Learn more about canonical URLs on our help page.","wordpress-seo")})})};m.propTypes={canonical:s.default.string.isRequired,onCanonicalChange:s.default.func.isRequired};var y=function(e){var t=e.noIndex,n=e.noFollow,a=e.advanced,o=e.breadcrumbsTitle,i=e.canonical,s=e.onNoIndexChange,l=e.onNoFollowChange,u=e.onAdvancedChange,y=e.onBreadcrumbsTitleChange,g=e.onCanonicalChange,_=e.onLoad,h=e.isLoading,v=e.editorContext,w=e.isBreadcrumbsDisabled,b=e.isPrivateBlog;(0,r.useEffect)(function(){setTimeout(function(){h&&_()})});var E={noIndex:t,onNoIndexChange:s,editorContext:v,isPrivateBlog:b},T={noFollow:n,onNoFollowChange:l,postTypeName:v.postTypeNameSingular},O={advanced:a,onAdvancedChange:u},S={breadcrumbsTitle:o,onBreadcrumbsTitleChange:y},P={canonical:i,onCanonicalChange:g};return h?null:wp.element.createElement(r.Fragment,null,wp.element.createElement(c,E),v.isPost&&wp.element.createElement(d,T),v.isPost&&wp.element.createElement(p,O),!w&&wp.element.createElement(f,S),wp.element.createElement(m,P))};y.propTypes={noIndex:s.default.string.isRequired,canonical:s.default.string.isRequired,onNoIndexChange:s.default.func.isRequired,onCanonicalChange:s.default.func.isRequired,onLoad:s.default.func.isRequired,isLoading:s.default.bool.isRequired,editorContext:s.default.object.isRequired,isBreadcrumbsDisabled:s.default.bool.isRequired,isPrivateBlog:s.default.bool,advanced:s.default.array,onAdvancedChange:s.default.func,noFollow:s.default.string,onNoFollowChange:s.default.func,breadcrumbsTitle:s.default.string,onBreadcrumbsTitleChange:s.default.func},y.defaultProps={advanced:[],onAdvancedChange:function(){},noFollow:"",onNoFollowChange:function(){},breadcrumbsTitle:"",onBreadcrumbsTitleChange:function(){},isPrivateBlog:!1},t.default=y},,,,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.applyModifications=t.registerPlugin=t.registerModification=t.pluginReloaded=t.pluginReady=void 0;var r=n(7),a=function(e){return e&&e.__esModule?e:{default:e}}(n(181));var o=null,i=function(){if(null===o){var e=(0,r.dispatch)("yoast-seo/editor").runAnalysis;o=new a.default(e)}return o};t.pluginReady=function(e){return i()._ready(e)},t.pluginReloaded=function(e){return i()._reloaded(e)},t.registerModification=function(e,t,n,r){return i()._registerModification(e,t,n,r)},t.registerPlugin=function(e,t){return i()._registerPlugin(e,t)},t.applyModifications=function(e,t,n){return i().loaded?i()._applyModifications(e,t,n):t}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r="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},a=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=n(0);var i=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.refresh=t,this.loaded=!1,this.preloadThreshold=3e3,this.plugins={},this.modifications={},this._registerPlugin=this._registerPlugin.bind(this),this._ready=this._ready.bind(this),this._reloaded=this._reloaded.bind(this),this._registerModification=this._registerModification.bind(this),this._registerAssessment=this._registerAssessment.bind(this),this._applyModifications=this._applyModifications.bind(this),setTimeout(this._pollLoadingPlugins.bind(this),1500)}return a(e,[{key:"_registerPlugin",value:function(e,t){return(0,o.isString)(e)?(0,o.isUndefined)(t)||(0,o.isObject)(t)?!1===this._validateUniqueness(e)?(console.error("Failed to register plugin. Plugin with name "+e+" already exists"),!1):(this.plugins[e]=t,!0):(console.error("Failed to register plugin "+e+". Expected parameters `options` to be a object."),!1):(console.error("Failed to register plugin. Expected parameter `pluginName` to be a string."),!1)}},{key:"_ready",value:function(e){return(0,o.isString)(e)?(0,o.isUndefined)(this.plugins[e])?(console.error("Failed to modify status for plugin "+e+". The plugin was not properly registered."),!1):(this.plugins[e].status="ready",!0):(console.error("Failed to modify status for plugin "+e+". Expected parameter `pluginName` to be a string."),!1)}},{key:"_reloaded",value:function(e){return(0,o.isString)(e)?(0,o.isUndefined)(this.plugins[e])?(console.error("Failed to reload Content Analysis for plugin "+e+". The plugin was not properly registered."),!1):(this.refresh(),!0):(console.error("Failed to reload Content Analysis for "+e+". Expected parameter `pluginName` to be a string."),!1)}},{key:"_registerModification",value:function(e,t,n,r){if(!(0,o.isString)(e))return console.error("Failed to register modification for plugin "+n+". Expected parameter `modification` to be a string."),!1;if(!(0,o.isFunction)(t))return console.error("Failed to register modification for plugin "+n+". Expected parameter `callable` to be a function."),!1;if(!(0,o.isString)(n))return console.error("Failed to register modification for plugin "+n+". Expected parameter `pluginName` to be a string."),!1;if(!1===this._validateOrigin(n))return console.error("Failed to register modification for plugin "+n+". The integration has not finished loading yet."),!1;var a={callable:t,origin:n,priority:(0,o.isNumber)(r)?r:10};return(0,o.isUndefined)(this.modifications[e])&&(this.modifications[e]=[]),this.modifications[e].push(a),!0}},{key:"_registerAssessment",value:function(e,t,n,r){return(0,o.isString)(t)?(0,o.isObject)(n)?(0,o.isString)(r)?(t=r+"-"+t,e.addAssessment(t,n),!0):(console.error("Failed to register assessment for plugin "+r+". Expected parameter `pluginName` to be a string."),!1):(console.error("Failed to register assessment for plugin "+r+". Expected parameter `assessment` to be a function."),!1):(console.error("Failed to register test for plugin "+r+". Expected parameter `name` to be a string."),!1)}},{key:"_applyModifications",value:function(e,t,n){var a=this.modifications[e];return!(0,o.isArray)(a)||a.length<1?t:((a=this._stripIllegalModifications(a)).sort(function(e,t){return e.priority-t.priority}),(0,o.forEach)(a,function(a){var o=a.callable(t,n);(void 0===o?"undefined":r(o))===(void 0===t?"undefined":r(t))?t=o:console.error("Modification with name "+e+" performed by plugin with name "+a.origin+" was ignored because the data that was returned by it was of a different type than the data we had passed it.")}),t)}},{key:"_pollLoadingPlugins",value:function(e){e=(0,o.isUndefined)(e)?0:e,!0===this._allReady()?(this.loaded=!0,this.refresh()):e>=this.preloadThreshold?(this._pollTimeExceeded(),this.loaded=!0,this.refresh()):(e+=50,setTimeout(this._pollLoadingPlugins.bind(this,e),50))}},{key:"_allReady",value:function(){return(0,o.reduce)(this.plugins,function(e,t){return e&&"ready"===t.status},!0)}},{key:"_pollTimeExceeded",value:function(){(0,o.forEach)(this.plugins,function(e,t){(0,o.isUndefined)(e.options)||"ready"===e.options.status||(console.error("Error: Plugin "+t+". did not finish loading in time."),delete this.plugins[t])})}},{key:"_stripIllegalModifications",value:function(e){var t=this;return(0,o.forEach)(e,function(n,r){!1===t._validateOrigin(n.origin)&&delete e[r]}),e}},{key:"_validateOrigin",value:function(e){return"ready"===this.plugins[e].status}},{key:"_validateUniqueness",value:function(e){return(0,o.isUndefined)(this.plugins[e])}}]),e}();t.default=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createAnalysisWorker=function(){var e=(0,r.get)(window,["wpseoScriptData","analysis","worker","url"],"analysis-worker.js");return new a.AnalysisWorkerWrapper((0,a.createWorker)(e))},t.getAnalysisConfiguration=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t={locale:(0,o.default)(),contentAnalysisActive:(0,l.default)(),keywordAnalysisActive:(0,u.default)(),defaultQueryParams:(0,i.default)(),logLevel:(0,r.get)(window,["wpseoScriptData","analysis","worker","log_level"],"ERROR"),enabledFeatures:(0,r.get)(window,["wpseoScriptData","analysis","worker","enabled_features"],[])};t=(0,r.merge)(t,e);var n=(0,s.default)();(0,r.isUndefined)(n)||(0,r.isUndefined)(n.domain)||(t.translations=n);return t};var r=n(0),a=n(11),o=c(n(90)),i=c(n(183)),s=c(n(105)),l=c(n(65)),u=c(n(58));function c(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return(0,r.get)(window,["wpseoAdminL10n","default_query_params"],{})};var r=n(0)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(0),a={source:"wpseoScriptData.analysis.plugins.replaceVars",scope:[],aliases:[]},o=function(e,t,n){this.placeholder=e,this.replacement=t,this.options=(0,r.defaults)(n,a)};o.prototype.getPlaceholder=function(e){return(e=e||!1)&&this.hasAlias()?this.placeholder+"|"+this.getAliases().join("|"):this.placeholder},o.prototype.setSource=function(e){this.options.source=e},o.prototype.hasScope=function(){return!(0,r.isEmpty)(this.options.scope)},o.prototype.addScope=function(e){this.hasScope()||(this.options.scope=[]),this.options.scope.push(e)},o.prototype.inScope=function(e){return!this.hasScope()||(0,r.indexOf)(this.options.scope,e)>-1},o.prototype.hasAlias=function(){return!(0,r.isEmpty)(this.options.aliases)},o.prototype.addAlias=function(e){this.hasAlias()||(this.options.aliases=[]),this.options.aliases.push(e)},o.prototype.getAliases=function(){return this.options.aliases},t.default=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=P(n(186)),a=P(n(187)),o=n(15),i=P(n(188)),s=P(n(189)),l=P(n(190)),u=P(n(191)),c=P(n(192)),d=P(n(193)),p=P(n(194)),f=P(n(195)),m=P(n(196)),y=P(n(197)),g=P(n(198)),_=P(n(204)),h=P(n(205)),v=P(n(206)),w=P(n(207)),b=P(n(208)),E=P(n(209)),T=P(n(134)),O=P(n(210)),S=P(n(211));function P(e){return e&&e.__esModule?e:{default:e}}t.default={activeMarker:r.default,advancedSettings:a.default,analysis:o.analysis,analysisData:i.default,editorContext:s.default,editorData:l.default,editorModals:u.default,estimatedReadingTime:c.default,facebookEditor:d.default,focusKeyword:p.default,isCornerstone:f.default,isMarkerPaused:m.default,marksButtonStatus:y.default,preferences:g.default,primaryTaxonomies:_.default,schemaBlocks:h.default,schemaTab:v.default,SEMrushModal:w.default,SEMrushRequest:b.default,settings:E.default,snippetEditor:T.default,twitterEditor:O.default,warning:S.default}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(43),a=null;t.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:a,t=arguments[1];switch(t.type){case r.SET_ACTIVE_MARKER:return t.activeMarker;default:return e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a=n(44),o={noIndex:"",noFollow:"",advanced:[],breadcrumbsTitle:"",canonical:"",isLoading:!0};t.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:o,t=arguments[1];switch(t.type){case a.LOAD_ADVANCED_SETTINGS:return r({},e,t.settings);case a.SET_NO_INDEX:return r({},e,{noIndex:t.value});case a.SET_NO_FOLLOW:return r({},e,{noFollow:t.value});case a.SET_ADVANCED:return r({},e,{advanced:t.value});case a.SET_CANONICAL_URL:return r({},e,{canonical:t.value});case a.SET_BREADCRUMBS_TITLE:return r({},e,{breadcrumbsTitle:t.value});default:return e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a=n(16),o={snippet:{},timestamp:0};t.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:o,t=arguments[1];switch(t.type){case a.UPDATE_SNIPPET_DATA:return r({},e,{snippet:t.data});case a.RUN_ANALYSIS:return r({},e,{timestamp:t.timestamp})}return e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(0);t.default=function(){return arguments.length>0&&void 0!==arguments[0]?arguments[0]:{contentLocale:(0,r.get)(window,"wpseoScriptData.metabox.contentLocale",""),isBlockEditor:"1"===(0,r.get)(window,"wpseoScriptData.isBlockEditor","0"),isPost:(0,r.get)(window,"wpseoScriptData",{}).hasOwnProperty("isPost"),isTerm:(0,r.get)(window,"wpseoScriptData",{}).hasOwnProperty("isTerm"),noIndex:"1"===(0,r.get)(window,"wpseoAdminL10n.noIndex","0"),postTypeNameSingular:(0,r.get)(window,"wpseoAdminL10n.postTypeNameSingular",""),postTypeNamePlural:(0,r.get)(window,"wpseoAdminL10n.postTypeNamePlural","")}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a=n(16),o={content:"",excerpt:"",imageUrl:"",slug:"",title:""};t.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:o,t=arguments[1];switch(t.type){case a.SET_EDITOR_DATA_CONTENT:return r({},e,{content:t.content});case a.SET_EDITOR_DATA_EXCERPT:return r({},e,{excerpt:t.excerpt});case a.SET_EDITOR_DATA_IMAGE_URL:return r({},e,{imageUrl:t.imageUrl});case a.SET_EDITOR_DATA_SLUG:return r({},e,{slug:t.slug});case a.SET_EDITOR_DATA_TITLE:return r({},e,{title:t.title})}return e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a=n(16),o={openedModal:""};t.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:o,t=arguments[1];switch(t.type){case a.OPEN_EDITOR_MODAL:return r({},e,{openedModal:t.modalKey});case a.CLOSE_EDITOR_MODAL:return r({},e,{openedModal:""})}return e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a=n(45),o={estimatedReadingTime:0};t.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:o,t=arguments[1];switch(t.type){case a.LOAD_ESTIMATED_READING_TIME:case a.SET_ESTIMATED_READING_TIME:return r({},e,{estimatedReadingTime:t.estimatedReadingTime});default:return e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a=n(53),o={title:"",description:"",warnings:[],image:{url:"",id:""}};t.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:o,t=arguments[1];switch(t.type){case a.LOAD_FACEBOOK_PREVIEW:return r({},e,{title:t.title,description:t.description,image:{id:t.id,url:t.imageUrl}});case a.SET_FACEBOOK_TITLE:return r({},e,{title:t.title});case a.SET_FACEBOOK_DESCRIPTION:return r({},e,{description:t.description});case a.SET_FACEBOOK_IMAGE:return r({},e,{warnings:t.image.warnings,image:{id:t.image.id,url:t.image.url}});case a.CLEAR_FACEBOOK_IMAGE:return r({},e,{image:{url:"",id:""},warnings:[]});default:return e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(36),a="";t.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:a,t=arguments[1];switch(t.type){case r.LOAD_FOCUS_KEYWORD:case r.SET_FOCUS_KEYWORD:return t.keyword;default:return e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(35),a=!1;t.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:a,t=arguments[1];switch(t.type){case r.TOGGLE_CORNERSTONE_CONTENT:return!e;case r.SET_CORNERSTONE_CONTENT:return t.isCornerstone;default:return e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(46),a=!1;t.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:a,t=arguments[1];switch(t.type){case r.SET_MARKER_PAUSE_STATUS:return function(e,t){return t.isMarkerPaused}(0,t);default:return e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(29),a="disabled";t.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:a,t=arguments[1];switch(t.type){case r.SET_MARKER_STATUS:return t.marksButtonStatus;default:return e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(0),a=d(n(65)),o=d(n(58)),i=d(n(199)),s=d(n(200)),l=d(n(201)),u=d(n(202)),c=d(n(203));function d(e){return e&&e.__esModule?e:{default:e}}t.default=function(){return arguments.length>0&&void 0!==arguments[0]?arguments[0]:function(){var e=!!window.wpseoAdminL10n.displayAdvancedTab;return{isContentAnalysisActive:(0,a.default)(),isKeywordAnalysisActive:(0,o.default)(),isWordFormRecognitionActive:(0,r.isUndefined)(window.wpseoPremiumMetaboxData)&&(0,s.default)(),isCornerstoneActive:(0,i.default)(),isBreadcrumbsDisabled:!!window.wpseoAdminL10n.isBreadcrumbsDisabled,isPrivateBlog:!!window.wpseoAdminL10n.isPrivateBlog,isSEMrushIntegrationActive:(0,l.default)(),shouldUpsell:(0,r.isUndefined)(window.wpseoPremiumMetaboxData),displayAdvancedTab:e,displaySchemaSettings:e&&!!window.wpseoScriptData.isPost,displaySchemaSettingsFooter:window.wpseoScriptData.metabox.schema.displayFooter,displayFacebook:window.wpseoScriptData.metabox.showSocial.facebook,displayTwitter:window.wpseoScriptData.metabox.showSocial.twitter,isZapierIntegrationActive:(0,u.default)(),isZapierConnected:(0,c.default)()}}()}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=(0,r.default)();return 1===(0,a.get)(e,"cornerstoneActive",0)};var r=function(e){return e&&e.__esModule?e:{default:e}}(n(9)),a=n(0)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(e){return e&&e.__esModule?e:{default:e}}(n(9)),a=n(0);t.default=function(){var e=(0,r.default)();return(0,a.get)(e,"wordFormRecognitionActive",!1)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=(0,a.default)();return 1===(0,r.get)(e,"semrushIntegrationActive",0)};var r=n(0),a=function(e){return e&&e.__esModule?e:{default:e}}(n(9))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=(0,a.default)();return 1===(0,r.get)(e,"zapierIntegrationActive",0)};var r=n(0),a=function(e){return e&&e.__esModule?e:{default:e}}(n(9))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=(0,a.default)();return 1===(0,r.get)(e,"zapierConnectedStatus",0)};var r=n(0),a=function(e){return e&&e.__esModule?e:{default:e}}(n(9))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a=n(47);var o={};t.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:o,t=arguments[1];switch(t.type){case a.SET_PRIMARY_TAXONOMY:return r({},e,function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}({},t.taxonomy,t.termId));default:return e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:a,t=arguments[1];switch(t.type){case r.RESET_BLOCK_VALIDATIONS:return a;case r.ADD_BLOCK_VALIDATION:var n=Object.assign({},e),o=t.validation;return n[o.clientId]=o,n;default:return e}};var r=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n(50));var a={}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a=n(48),o={pageType:"",defaultPageType:"",articleType:"",defaultArticleType:""};t.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:o,t=arguments[1];switch(t.type){case a.SET_PAGE_TYPE:return r({},e,{pageType:t.pageType});case a.SET_ARTICLE_TYPE:return r({},e,{articleType:t.articleType});case a.GET_SCHEMA_PAGE_DATA:return r({},e,{pageType:t.pageType,defaultPageType:t.defaultPageType});case a.GET_SCHEMA_ARTICLE_DATA:return r({},e,{articleType:t.articleType,defaultArticleType:t.defaultArticleType});default:return e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(16),a={whichModalOpen:"none",displayNoKeyphraseMessage:!1};t.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:a,t=arguments[1];switch(t.type){case r.MODAL_OPEN_NO_KEYPHRASE:return{whichModalOpen:"none",displayNoKeyphraseMessage:!0};case r.MODAL_OPEN:return{whichModalOpen:t.location,displayNoKeyphraseMessage:!1};case r.MODAL_DISMISS:return{whichModalOpen:"none",displayNoKeyphraseMessage:!1}}return e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a=n(51),o={isRequestPending:!1,keyphrase:"",countryCode:"us",isSuccess:!1,response:null,limitReached:!1,hasData:!0,isLoggedIn:!1};t.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:o,t=arguments[1];switch(t.type){case a.NEW_REQUEST:return r({},e,{isRequestPending:!0,keyphrase:t.keyphrase,countryCode:t.countryCode,isSuccess:!1,response:null});case a.SET_REQUEST_SUCCEEDED:return r({},e,{isRequestPending:!1,isSuccess:!0,response:t.response,hasData:!0});case a.SET_REQUEST_FAILED:return r({},e,{isRequestPending:!1,isSuccess:!1,response:t.response,hasData:!1});case a.SET_REQUEST_LIMIT_REACHED:return r({},e,{isRequestPending:!1,limitReached:!0,hasData:!1});case a.CHANGE_COUNTRY:return r({},e,{countryCode:t.countryCode});case a.NO_DATA_FOUND:return r({},e,{isSuccess:!0,isRequestPending:!1,hasData:!1,response:null});case a.SET_LOGIN_STATUS:return r({},e,{isLoggedIn:t.loginStatus});default:return e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};t.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments[1];switch(t.type){case a.SET_SETTINGS:return r({},e,t.settings);case a.SET_CONTENT_IMAGE:var n=Object.assign({},e.socialPreviews,{contentImage:t.src});return r({},e,{socialPreviews:r({},n)});default:return e}};var a=n(37)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a=n(52),o={title:"",description:"",warnings:[],image:{url:"",id:""}};t.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:o,t=arguments[1];switch(t.type){case a.LOAD_TWITTER_PREVIEW:return r({},e,{title:t.title,description:t.description,image:{id:t.id,url:t.imageUrl}});case a.SET_TWITTER_TITLE:return r({},e,{title:t.title});case a.SET_TWITTER_DESCRIPTION:return r({},e,{description:t.description});case a.SET_TWITTER_IMAGE:return r({},e,{image:{id:t.image.id,url:t.image.url},warnings:t.image.warnings});case a.CLEAR_TWITTER_IMAGE:return r({},e,{image:{url:"",id:""},warnings:[]});default:return e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};t.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:o,t=arguments[1];switch(t.type){case a.SET_WARNING_MESSAGE:return r({},e,{message:t.message});default:return e}};var a=n(54),o={message:[]}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getIsLoading=t.getCanonical=t.getBreadcrumbsTitle=t.getAdvanced=t.getNoFollow=t.getNoIndex=void 0;var r=n(0);t.getNoIndex=function(e){return(0,r.get)(e,"advancedSettings.noIndex","")},t.getNoFollow=function(e){return(0,r.get)(e,"advancedSettings.noFollow","")},t.getAdvanced=function(e){return(0,r.get)(e,"advancedSettings.advanced","")},t.getBreadcrumbsTitle=function(e){return(0,r.get)(e,"advancedSettings.breadcrumbsTitle","summary")},t.getCanonical=function(e){return(0,r.get)(e,"advancedSettings.canonical","")},t.getIsLoading=function(e){return(0,r.get)(e,"advancedSettings.isLoading",!0)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getAnalysisData=t.getAnalysisTimestamp=t.getPermalink=t.getDescription=t.getSeoTitle=void 0;var r=function(e){return e&&e.__esModule?e:{default:e}}(n(66)),a=n(107),o=n(108),i=n(109),s=n(110),l=n(111),u=n(0);var c=t.getSeoTitle=function(e){return(0,u.get)(e,"analysisData.snippet.title","")},d=t.getDescription=function(e){return(0,u.get)(e,"analysisData.snippet.description","")};t.getPermalink=function(e){return(0,u.get)(e,"analysisData.snippet.url","")},t.getAnalysisTimestamp=function(e){return parseInt((0,u.get)(e,"analysisData.timestamp",0),10)},t.getAnalysisData=function(e){var t=c(e)||(0,l.getSnippetEditorTitle)(e),n=(0,l.getSnippetEditorSlug)(e);return{text:(0,o.getEditorDataContent)(e),title:t,keyword:(0,i.getFocusKeyphrase)(e),description:d(e)||(0,l.getSnippetEditorDescription)(e),locale:(0,a.getContentLocale)(e),titleWidth:(0,r.default)(t),url:n,permalink:(0,s.getBaseUrlFromSettings)(e)+n}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isCornerstoneContent=function(e){return e.isCornerstone}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getIsModalOpen=void 0;var r=n(0);t.getIsModalOpen=function(e,t){return(0,r.get)(e,"editorModals.openedModal","")===t}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getEstimatedReadingTime=function(e){return(0,r.get)(e,"estimatedReadingTime.estimatedReadingTime",0)||0};var r=n(0)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getFacebookWarnings=t.getFacebookImageSrc=t.getFacebookImageUrl=t.getFacebookDescription=t.getFacebookTitle=void 0;var r=n(0);t.getFacebookTitle=function(e){return(0,r.get)(e,"facebookEditor.title","")},t.getFacebookDescription=function(e){return(0,r.get)(e,"facebookEditor.description","")},t.getFacebookImageUrl=function(e){return(0,r.get)(e,"facebookEditor.image.url")},t.getFacebookImageSrc=function(e){return(0,r.get)(e,"facebookEditor.image.src","")},t.getFacebookWarnings=function(e){return(0,r.get)(e,"facebookEditor.warnings",[])}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getSiteUrl=t.getImageFallback=t.getContentImage=t.getDescriptionFallback=t.getTitleFallback=void 0;var r=n(0);t.getTitleFallback=function(e){return(0,r.get)(e,"analysisData.snippet.title","")},t.getDescriptionFallback=function(e){return(0,r.get)(e,"analysisData.snippet.description","")},t.getContentImage=function(e){return(0,r.get)(e,"socialPreviews.contentImage","")},t.getImageFallback=function(e){var t=(0,r.get)(e,"snippetEditor.data.snippetPreviewImageURL",""),n=(0,r.get)(e,"settings.socialPreviews.contentImage",""),a=(0,r.get)(window.wpseoScriptData,"metabox.showSocial.facebook")&&(0,r.get)(e,"settings.socialPreviews.sitewideImage","");return t||n||a||""},t.getSiteUrl=function(e){return(e.analysisData.snippet.url||"").split("/")[0]}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getActiveMarker=function(e){return e.activeMarker},t.getMarkerPauseStatus=function(e){return e.isMarkerPaused},t.isMarkingAvailable=function(e){return"enabled"===e.marksButtonStatus}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getPreferences=function(e){return e.preferences},t.getIsKeywordAnalysisActive=function(e){return(0,r.get)(e,"preferences.isKeywordAnalysisActive",!1)};var r=n(0)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getPrimaryTaxonomyId=function(e,t){return e.primaryTaxonomies[t]}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getSeoResults=o,t.getResultsForKeyword=i,t.getReadabilityResults=s,t.getResultsForFocusKeyword=l,t.getResultById=function(e,t){var n=l(e).results||[],r=s(e).results||[];return[].concat(a(n),a(r)).find(function(e){return e._identifier===t})},t.getMarkButtonStatus=function(e){return e.marksButtonStatus};var r=n(0);function a(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}function o(e){return(0,r.get)(e,["analysis","seo"],{})}function i(e,t){var n=o(e);return(0,r.get)(n,t,{})}function s(e){return(0,r.get)(e,["analysis","readability"],{})}function l(e){return i(e,e.focusKeyword)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getArticleType=t.getDefaultArticleType=t.getPageType=t.getDefaultPageType=void 0;var r=n(0);t.getDefaultPageType=function(e){return(0,r.get)(e,"schemaTab.defaultPageType","")},t.getPageType=function(e){return(0,r.get)(e,"schemaTab.pageType","")},t.getDefaultArticleType=function(e){return(0,r.get)(e,"schemaTab.defaultArticleType","")},t.getArticleType=function(e){return(0,r.get)(e,"schemaTab.articleType","")}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getSEMrushModalOpen=function(e){return e.SEMrushModal.whichModalOpen},t.getSEMrushNoKeyphraseMessage=function(e){return e.SEMrushModal.displayNoKeyphraseMessage}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getSEMrushIsRequestPending=function(e){return e.SEMrushRequest.isRequestPending},t.getSEMrushRequestIsSuccess=function(e){return e.SEMrushRequest.isSuccess},t.getSEMrushRequestResponse=function(e){return e.SEMrushRequest.response},t.getSEMrushRequestLimitReached=function(e){return e.SEMrushRequest.limitReached},t.getSEMrushRequestKeyphrase=function(e){return e.SEMrushRequest.keyphrase},t.getSEMrushSelectedCountry=function(e){return e.SEMrushRequest.countryCode},t.getSEMrushRequestHasData=function(e){return e.SEMrushRequest.hasData},t.getSEMrushLoginStatus=function(e){return e.SEMrushRequest.isLoggedIn}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getTwitterWarnings=t.getTwitterImageSrc=t.getTwitterImageType=t.getTwitterImageUrl=t.getTwitterDescription=t.getTwitterTitle=void 0;var r=n(0);t.getTwitterTitle=function(e){return(0,r.get)(e,"twitterEditor.title","")},t.getTwitterDescription=function(e){return(0,r.get)(e,"twitterEditor.description","")},t.getTwitterImageUrl=function(e){return(0,r.get)(e,"twitterEditor.image.url","")},t.getTwitterImageType=function(e){return(0,r.get)(e,"settings.socialPreviews.twitterCardType","summary")},t.getTwitterImageSrc=function(e){return(0,r.get)(e,"twitterEditor.image.src","")},t.getTwitterWarnings=function(e){return(0,r.get)(e,"twitterEditor.warnings",[])}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getWarningMessage=function(e){return(0,r.get)(e,"warning.message",[])};var r=n(0)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=o;var r=n(0),a=jQuery;function o(e,t,n,r){this._scriptUrl=r,this._options={usedKeywords:t.keyword_usage,searchUrl:t.search_url,postUrl:t.post_edit_url},this._keywordUsage=t.keyword_usage,this._postID=a("#post_ID, [name=tag_ID]").val(),this._taxonomy=a("[name=taxonomy]").val()||"",this._ajaxAction=e,this._refreshAnalysis=n,this._initialized=!1}o.prototype.init=function(){var e=this,t=window.YoastSEO.analysis.worker;this.requestKeywordUsage=(0,r.debounce)(this.requestKeywordUsage.bind(this),500),t.loadScript(this._scriptUrl).then(function(){t.sendMessage("initialize",e._options,"used-keywords-assessment")}).then(function(){e._initialized=!0,(0,r.isEqual)(e._options.usedKeywords,e._keywordUsage)?e._refreshAnalysis():t.sendMessage("updateKeywordUsage",e._keywordUsage,"used-keywords-assessment").then(function(){return e._refreshAnalysis()})}).catch(function(e){return console.error(e)})},o.prototype.setKeyword=function(e){(0,r.has)(this._keywordUsage,e)||this.requestKeywordUsage(e)},o.prototype.requestKeywordUsage=function(e){a.post(ajaxurl,{action:this._ajaxAction,post_id:this._postID,keyword:e,taxonomy:this._taxonomy},this.updateKeywordUsage.bind(this,e),"json")},o.prototype.updateKeywordUsage=function(e,t){var n=this,a=window.YoastSEO.analysis.worker;t&&(0,r.isArray)(t)&&(this._keywordUsage[e]=t,this._initialized&&a.sendMessage("updateKeywordUsage",this._keywordUsage,"used-keywords-assessment").then(function(){return n._refreshAnalysis()}))}},,,,,,,,,,,,,,,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getCurrentReplacementVariablesForEditor=t.ReplaceVar=t.addReplacement=void 0;var r=n(184);Object.defineProperty(t,"ReplaceVar",{enumerable:!0,get:function(){return function(e){return e&&e.__esModule?e:{default:e}}(r).default}}),t.default=function(){(0,o.registerPlugin)(s,{status:"ready"}),p(d())};var a=n(0),o=n(180),i=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n(498));var s="replaceVariablePlugin",l=null,u=null,c=function(e){["content","title","snippet_title","snippet_meta","primary_category","data_page_title","data_meta_desc","excerpt"].forEach(function(t){(0,o.registerModification)(t,e,s,10)})},d=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";switch(""===e&&(e=(0,a.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.scope","")),e){case"post":case"page":return["category","currentYear","date","excerpt","id","focusKeyphrase","modified","name","page","primaryCategory","pageNumber","pageTotal","postTypeNamePlural","postTypeNameSingular","searchPhrase","separator","siteDescription","siteName","tag","title","userDescription"]}return[]},p=function(e){e.forEach(function(e){var t=function(e){var t=e.getReplacement,n=e.regexp;return function(e){return e.replace(n,t())}}(i[e]);c(t)})};t.addReplacement=function(e){return c(function(t){return t.replace(new RegExp(e.placeholder,"g"),e.replacement)})},t.getCurrentReplacementVariablesForEditor=function(){return null===u&&(u=[],(null===l&&(l=d().map(function(e){return i[e]})),l).forEach(function(e){u.push({name:e.name,label:e.label,value:e.placeholder}),e.aliases.forEach(function(e){u.push({name:e.name,label:e.label,value:e.placeholder})})})),u}},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t){e.exports=window.wp.hooks},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){if(!1===(0,a.get)(window,"wpseoScriptData.analysis.estimatedReadingTimeEnabled",!1))return;(0,r.dispatch)("yoast-seo/editor").loadEstimatedReadingTime(),"1"===window.wpseoScriptData.isElementorEditor?function(){var e=(0,r.select)("yoast-seo/editor").getEditorDataContent();(0,r.subscribe)(function(){var t=(0,r.select)("yoast-seo/editor").getEditorDataContent();t!==e&&(e=t,i(t))})}():"1"===window.wpseoScriptData.isBlockEditor?function(){var e=(0,r.select)("core/editor").getEditedPostAttribute("content");(0,r.subscribe)(function(){var t=(0,r.select)("core/editor").getEditedPostAttribute("content");t!==e&&(e=t,i(t))})}():function(){var e=["input","change","cut","paste"],t="1"===(0,a.get)(window,"wpseoScriptData.isPost","0")?"content":"description";jQuery(document).on("tinymce-editor-init",function(n,r){r.id===t&&e.forEach(function(e){r.on(e,function(){i(r.getContent())})})})}()};var r=n(7),a=n(0),o=n(11);var i=(0,a.debounce)(function(e){window.YoastSEO.analysis.worker.runResearch("readingTime",new o.Paper(e,{})).then(function(e){(0,r.dispatch)("yoast-seo/editor").setEstimatedReadingTime(e.result)})},500)},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.registerElementorUIHookAfter=function(e,t,n){$e.hooks.registerUIAfter(new s(e,t,n))},t.registerElementorDataHookAfter=function(e,t,n){$e.hooks.registerDataAfter(new l(e,t,n))};var s=function(e){function t(e,n,r){a(this,t);var i=o(this,(t.__proto__||Object.getPrototypeOf(t)).call(this));return i.hook=e,i.id=n,i.callback=r,i}return i(t,$e.modules.hookUI.Base),r(t,[{key:"getCommand",value:function(){return this.hook}},{key:"getId",value:function(){return this.id}},{key:"apply",value:function(){return this.callback()}}]),t}(),l=function(e){function t(e,n,r){a(this,t);var i=o(this,(t.__proto__||Object.getPrototypeOf(t)).call(this));return i.hook=e,i.id=n,i.callback=r,i}return i(t,$e.modules.hookData.Base),r(t,[{key:"getCommand",value:function(){return this.hook}},{key:"getId",value:function(){return this.id}},{key:"apply",value:function(){return this.callback()}}]),t}()},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";var r=n(7),a=n(286),o=n(180),i=n(41),s=n(489),l=h(s),u=h(n(490)),c=h(n(287)),d=h(n(528)),p=h(n(532)),f=h(n(533)),m=h(n(535)),y=n(244),g=h(y),_=h(n(536));function h(e){return e&&e.__esModule?e:{default:e}}function v(){window.YoastSEO=window.YoastSEO||{},window.YoastSEO.store=(0,d.default)(),(0,f.default)(),window.YoastSEO.pluginReady=o.pluginReady,window.YoastSEO.pluginReloaded=o.pluginReloaded,window.YoastSEO.registerModification=o.registerModification,window.YoastSEO.registerPlugin=o.registerPlugin,window.YoastSEO.applyModifications=o.applyModifications,window.YoastSEO.analysis=window.YoastSEO.analysis||{},window.YoastSEO.analysis.run=(0,r.dispatch)("yoast-seo/editor").runAnalysis,window.YoastSEO.analysis.worker=(0,l.default)(),window.YoastSEO.analysis.collectData=s.collectData,(0,g.default)(),window.YoastSEO.wp=window.YoastSEO.wp||{},window.YoastSEO.wp.replaceVarsPlugin={addReplacement:y.addReplacement,ReplaceVar:y.ReplaceVar},(0,p.default)(),(0,c.default)(),(0,m.default)(window.YoastSEO.analysis.worker.runResearch),(0,_.default)(),(0,u.default)(),(0,a.doAction)("yoast.elementor.loaded")}(0,i.setYoastComponentsL10n)(),(0,i.setWordPressSeoL10n)(),jQuery(window).on("elementor:init",function(){window.elementor.on("panel:init",function(){setTimeout(v)})})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){var e=function(e){return function(){var t=e.apply(this,arguments);return new Promise(function(e,n){return function r(a,o){try{var i=t[a](o),s=i.value}catch(e){return void n(e)}if(!i.done)return Promise.resolve(s).then(function(e){r("next",e)},function(e){r("throw",e)});e(s)}("next")})}}(regeneratorRuntime.mark(function e(t,n){var r,o,i,l,d,p,m,y;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=n.text,o=f(n,["text"]),i=new s.Paper(r,o),e.prev=2,e.next=5,t.analyze(i);case 5:l=e.sent,d=l.result,p=d.seo,m=d.readability,p&&((y=p[""]).results=(0,c.sortResultsByIdentifier)(y.results),(0,a.dispatch)("yoast-seo/editor").setSeoResultsForKeyword(i.getKeyword(),y.results),(0,a.dispatch)("yoast-seo/editor").setOverallSeoScore(y.score,i.getKeyword())),m&&(m.results=(0,c.sortResultsByIdentifier)(m.results),(0,a.dispatch)("yoast-seo/editor").setReadabilityResults(m.results),(0,a.dispatch)("yoast-seo/editor").setOverallReadabilityScore(m.score)),e.next=14;break;case 11:e.prev=11,e.t0=e.catch(2),(0,u.default)();case 14:case"end":return e.stop()}},e,this,[[2,11]])}));return function(t,n){return e.apply(this,arguments)}}();t.collectData=y,t.default=function(){var e=(0,a.select)("yoast-seo/editor"),t=e.getAnalysisTimestamp,n=e.isCornerstoneContent,r=(0,d.createAnalysisWorker)();r.initialize((0,d.getAnalysisConfiguration)({useCornerstone:n()})).catch(u.default);var o=y(),s=n(),l=t();return(0,a.subscribe)(function(){var e=n(),a=y(),c=t();if(e!==s)return s=e,o=a,void r.initialize({useCornerstone:e}).then(function(){return m(r,a)}).catch(u.default);c===l&&!1!==(0,i.isEqual)(a,o)||(o=a,l=c,m(r,a))}),r};var a=n(7),o=n(286),i=n(0),s=n(11),l=n(132),u=function(e){return e&&e.__esModule?e:{default:e}}(n(64)),c=n(133),d=n(182),p=n(180);function f(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}var m=(0,i.debounce)(r,l.refreshDelay);function y(){var e=function(e){return e.title=(0,p.applyModifications)("data_page_title",e.title),e.title=(0,p.applyModifications)("title",e.title),e.description=(0,p.applyModifications)("data_meta_desc",e.description),e.text=(0,p.applyModifications)("content",e.text),e}((0,(0,a.select)("yoast-seo/editor").getAnalysisData)());return(0,o.applyFilters)("yoast.analysis.data",e)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){window.YoastSEO=window.YoastSEO||{},window.YoastSEO._registerReactComponent=u.registerReactComponent,window.$e.routes.on("run:after",function(e,t){"panel/page-settings/yoast-tab"===t&&(0,u.renderReactRoot)(window.YoastSEO.store,"elementor-panel-page-settings-controls",wp.element.createElement(i.StyleSheetManager,{target:document.getElementById("elementor-panel-inner")},wp.element.createElement("div",{className:"yoast yoast-elementor-panel__fills"},wp.element.createElement(c.default,null),wp.element.createElement(d.default,null))))}),window.elementor.settings.page.model.on("change",function(e){e.changed&&e.changed.post_status&&_()});var e=function(e){f=!1;var t=jQuery(e).serializeArray().reduce(function(e,t){var n=t.name,r=t.value;return e[n]=r,e},{});jQuery.post(e.getAttribute("action"),t,function(e,n,o){var i=e.success,s=e.data;i?((0,a.doAction)("yoast.elementor.save.success",o),s.slug&&s.slug!==t.slug&&(0,r.dispatch)("yoast-seo/editor").updateData({slug:s.slug}),g(),_()):f=!0})}.bind(null,document.getElementById("yoast-form"));(0,l.registerElementorDataHookAfter)("document/save/save","yoast-seo-save",function(){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:function(){try{window.$e.routes.run("panel/page-settings/yoast-tab")}catch(e){window.$e.routes.run("panel/page-settings/settings"),window.$e.routes.run("panel/page-settings/yoast-tab")}}},"more"),m=document.querySelectorAll("input[name^='yoast']"),g(),setInterval(function(){return m.forEach(h)},500)};var r=n(7),a=n(286),o=n(3),i=n(8),s=n(0),l=n(333),u=n(491),c=p(n(492)),d=p(n(493));function p(e){return e&&e.__esModule?e:{default:e}}var f=!1,m=void 0;function y(e){e.oldValue=e.value}function g(){m.forEach(function(e){return y(e)})}var _=(0,s.debounce)(function(){var e=void 0;f&&(e=(0,o.sprintf)((0,o.__)("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=""),(0,r.dispatch)("yoast-seo/editor").setWarningMessage(e)},500,{trailing:!0});function h(e){"yoast_wpseo_linkdex"!==e.name&&"yoast_wpseo_content_score"!==e.name&&"yoast_wpseo_words_for_linking"!==e.name&&e.value!==e.oldValue&&(f=!0,_(),window.$e.internal("document/save/set-is-modified",{status:!0}),y(e))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();t.renderReactRoot=function(e,t,n){var r=(0,i.default)();c=(0,o.createRef)();var l={isRtl:r.isRtl};(0,o.render)(wp.element.createElement(s.default,{store:e,theme:l,location:"sidebar"},wp.element.createElement(a.SlotFillProvider,null,wp.element.createElement(o.Fragment,null,n,wp.element.createElement(d,{ref:c})))),document.getElementById(t)),u.forEach(function(e){c.current.registerComponent(e.key,e.Component)})},t.registerReactComponent=function(e,t){null===c||null===c.current?u.push({key:e,Component:t}):c.current.registerComponent(e,t)};var a=n(12),o=n(4),i=l(n(9)),s=l(n(99));function l(e){return e&&e.__esModule?e:{default:e}}var u=[],c=null,d=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.state={registeredComponents:[]},n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,o.Component),r(t,[{key:"registerComponent",value:function(e,t){this.setState({registeredComponents:[].concat(function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}(this.state.registeredComponents),[{key:e,Component:t}])})}},{key:"render",value:function(){return this.state.registeredComponents.map(function(e){var t=e.Component,n=e.key;return wp.element.createElement(t,{key:n})})}}]),t}()},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return wp.element.createElement(r.Slot,{name:"YoastElementor"},function(e){return(0,a.default)(e)})};var r=n(12),a=function(e){return e&&e.__esModule?e:{default:e}}(n(146))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(10),a=n(7),o=function(e){return e&&e.__esModule?e:{default:e}}(n(494));t.default=(0,r.compose)([(0,a.withSelect)(function(e){var t=e("yoast-seo/editor"),n=t.getPreferences,r=t.getSnippetEditorIsLoading;return{settings:n(),isLoading:r()}}),(0,a.withDispatch)(function(e){return{onLoad:e("yoast-seo/editor").loadSnippetEditorData}})])(o.default)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=b;var r=n(12),a=n(4),o=n(3),i=w(n(1)),s=w(n(140)),l=w(n(495)),u=w(n(141)),c=w(n(142)),d=w(n(143)),p=w(n(97)),f=w(n(496)),m=w(n(524)),y=w(n(526)),g=w(n(31)),_=w(n(144)),h=w(n(145)),v=w(n(116));function w(e){return e&&e.__esModule?e:{default:e}}function b(e){var t=e.isLoading,n=e.onLoad,i=e.settings;return(0,a.useEffect)(function(){setTimeout(function(){t&&n()})}),t?null:wp.element.createElement(r.Fill,{name:"YoastElementor"},wp.element.createElement(p.default,{renderPriority:1},wp.element.createElement(l.default,null)),i.isKeywordAnalysisActive&&wp.element.createElement(p.default,{renderPriority:8},wp.element.createElement(u.default,{isSEMrushIntegrationActive:i.isSEMrushIntegrationActive}),!window.wpseoScriptData.metabox.isPremium&&wp.element.createElement(r.Fill,{name:"YoastRelatedKeyphrases"},wp.element.createElement(v.default,null))),wp.element.createElement(p.default,{renderPriority:23},wp.element.createElement(f.default,null)),i.displayFacebook&&wp.element.createElement(p.default,{renderPriority:24},wp.element.createElement(y.default,null)),i.displayTwitter&&wp.element.createElement(p.default,{renderPriority:25},wp.element.createElement(m.default,null)),i.displaySchemaSettings&&wp.element.createElement(p.default,{renderPriority:26},wp.element.createElement(g.default,{title:(0,o.__)("Schema","wordpress-seo")},wp.element.createElement(_.default,null))),i.displayAdvancedTab&&wp.element.createElement(p.default,{renderPriority:27},wp.element.createElement(g.default,{title:(0,o.__)("Advanced","wordpress-seo")},wp.element.createElement(h.default,{location:"sidebar"}))),i.isContentAnalysisActive&&wp.element.createElement(p.default,{renderPriority:10},wp.element.createElement(c.default,null)),i.isKeywordAnalysisActive&&wp.element.createElement(p.default,{renderPriority:20},wp.element.createElement(d.default,{shouldUpsell:i.shouldUpsell,shouldUpsellWordFormRecognition:i.isWordFormRecognitionActive})),i.isCornerstoneActive&&wp.element.createElement(p.default,{renderPriority:30},wp.element.createElement(s.default,null)))}b.propTypes={isLoading:i.default.bool.isRequired,onLoad:i.default.func.isRequired,settings:i.default.object.isRequired}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(5),a=n(7),o=function(e){return e&&e.__esModule?e:{default:e}}(n(1));function i(e){return 0===e.message.length?null:wp.element.createElement(r.Alert,{type:e.type},e.message)}i.propTypes={message:o.default.oneOfType([o.default.array,o.default.string]).isRequired,type:o.default.string.isRequired},t.default=(0,a.withSelect)(function(e){return{message:(0,e("yoast-seo/editor").getWarningMessage)(),type:"info"}})(i)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(3),a=i(n(82)),o=i(n(497));function i(e){return e&&e.__esModule?e:{default:e}}t.default=function(){return wp.element.createElement(a.default,{title:(0,r.__)("Google preview","wordpress-seo"),id:"yoast-google-preview-modal"},wp.element.createElement(o.default,{showCloseButton:!1,hasPaperStyle:!1}))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a=n(10),o=n(7),i=n(4),s=n(169),l=n(3),u=y(n(1)),c=y(n(114)),d=y(n(32)),p=n(6),f=n(180),m=n(244);function y(e){return e&&e.__esModule?e:{default:e}}var g=p.strings.stripHTMLTags,_=function(e,t){var n=(0,o.select)("yoast-seo/editor").getSnippetEditorTemplates();""===e.title&&(e.title=n.title),""===e.description&&(e.description=n.description);var r=0;return t.shortenedBaseUrl&&"string"==typeof t.shortenedBaseUrl&&(r=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[r]&&(e.url=e.url.slice(0,r)+e.url.slice(r+1)),{url:e.url,title:g((0,f.applyModifications)("data_page_title",e.title)),description:g((0,f.applyModifications)("data_meta_desc",e.description))}},h=function(e){var t=e.isLoading,n=e.onLoad,a=e.location,o=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["isLoading","onLoad","location"]);return(0,i.useEffect)(function(){setTimeout(function(){t&&n()})}),t?null:wp.element.createElement(c.default,{icon:"eye",hasPaperStyle:o.hasPaperStyle},wp.element.createElement(s.SnippetEditor,r({},o,{descriptionPlaceholder:(0,l.__)("Please provide a meta description by editing the snippet below.","wordpress-seo"),mapEditorDataToPreview:_,showCloseButton:!1,idSuffix:a})))};h.propTypes={isLoading:u.default.bool.isRequired,onLoad:u.default.func.isRequired,hasPaperStyle:u.default.bool.isRequired,location:u.default.string.isRequired},t.default=(0,a.compose)([(0,o.withSelect)(function(e){var t=e("yoast-seo/editor"),n=t.getBaseUrlFromSettings,r=t.getDateFromSettings,a=t.getEditorDataImageUrl,o=t.getFocusKeyphrase,i=t.getRecommendedReplaceVars,s=t.getSiteIconUrlFromSettings,l=t.getSnippetEditorData,u=t.getSnippetEditorIsLoading,c=t.getSnippetEditorMode,d=t.getSnippetEditorWordsToHighlight;return{baseUrl:n(),data:l(),date:r(),faviconSrc:s(),isLoading:u(),keyword:o(),mobileImageSrc:a(),mode:c(),recommendedReplacementVariables:i(),replacementVariables:(0,m.getCurrentReplacementVariablesForEditor)(),wordsToHighlight:d()}}),(0,o.withDispatch)(function(e){var t=e("yoast-seo/editor"),n=t.updateData,r=t.switchMode,a=t.updateAnalysisData;return{onChange:function(e,t){switch(e){case"mode":r(t);break;case"slug":n({slug:t});break;default:n(function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}({},e,t))}},onChangeAnalysisData:function(e){a(e)},onLoad:t.loadSnippetEditorData}}),(0,d.default)()])(h)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(499);Object.defineProperty(t,"category",{enumerable:!0,get:function(){return k(r).default}});var a=n(500);Object.defineProperty(t,"currentYear",{enumerable:!0,get:function(){return k(a).default}});var o=n(501);Object.defineProperty(t,"date",{enumerable:!0,get:function(){return k(o).default}});var i=n(502);Object.defineProperty(t,"excerpt",{enumerable:!0,get:function(){return k(i).default}});var s=n(503);Object.defineProperty(t,"focusKeyphrase",{enumerable:!0,get:function(){return k(s).default}});var l=n(504);Object.defineProperty(t,"id",{enumerable:!0,get:function(){return k(l).default}});var u=n(505);Object.defineProperty(t,"modified",{enumerable:!0,get:function(){return k(u).default}});var c=n(506);Object.defineProperty(t,"name",{enumerable:!0,get:function(){return k(c).default}});var d=n(507);Object.defineProperty(t,"page",{enumerable:!0,get:function(){return k(d).default}});var p=n(508);Object.defineProperty(t,"pageNumber",{enumerable:!0,get:function(){return k(p).default}});var f=n(509);Object.defineProperty(t,"pageTotal",{enumerable:!0,get:function(){return k(f).default}});var m=n(510);Object.defineProperty(t,"postTypeNamePlural",{enumerable:!0,get:function(){return k(m).default}});var y=n(511);Object.defineProperty(t,"postTypeNameSingular",{enumerable:!0,get:function(){return k(y).default}});var g=n(512);Object.defineProperty(t,"primaryCategory",{enumerable:!0,get:function(){return k(g).default}});var _=n(513);Object.defineProperty(t,"searchPhrase",{enumerable:!0,get:function(){return k(_).default}});var h=n(514);Object.defineProperty(t,"separator",{enumerable:!0,get:function(){return k(h).default}});var v=n(515);Object.defineProperty(t,"siteDescription",{enumerable:!0,get:function(){return k(v).default}});var w=n(516);Object.defineProperty(t,"siteName",{enumerable:!0,get:function(){return k(w).default}});var b=n(517);Object.defineProperty(t,"tag",{enumerable:!0,get:function(){return k(b).default}});var E=n(518);Object.defineProperty(t,"term404",{enumerable:!0,get:function(){return k(E).default}});var T=n(519);Object.defineProperty(t,"termDescription",{enumerable:!0,get:function(){return k(T).default}});var O=n(520);Object.defineProperty(t,"termHierarchy",{enumerable:!0,get:function(){return k(O).default}});var S=n(521);Object.defineProperty(t,"termTitle",{enumerable:!0,get:function(){return k(S).default}});var P=n(522);Object.defineProperty(t,"title",{enumerable:!0,get:function(){return k(P).default}});var R=n(523);function k(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"userDescription",{enumerable:!0,get:function(){return k(R).default}})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(0);t.default={name:"category",label:"Category",placeholder:"%%category%%",aliases:[],getReplacement:function(){return(0,r.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.category","")},regexp:new RegExp("%%category%%","g")}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(0);t.default={name:"currentyear",label:"Current year",placeholder:"%%currentyear%%",aliases:[],getReplacement:function(){return(0,r.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.currentyear","")},regexp:new RegExp("%%currentyear%%","g")}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(0);t.default={name:"date",label:"Date",placeholder:"%%date%%",aliases:[],getReplacement:function(){return(0,r.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.date","")},regexp:new RegExp("%%date%%","g")}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(7),a=n(30);t.default={name:"excerpt",label:"Excerpt",placeholder:"%%excerpt%%",aliases:[{name:"excerpt_only",label:"Excerpt only",placeholder:"%%excerpt_only%%"}],getReplacement:function(){var e=(0,r.select)("yoast-seo/editor"),t=e.getEditorDataContent,n=(0,e.getEditorDataExcerpt)();return""===n?(0,a.excerptFromContent)(t()):n},regexp:new RegExp("%%excerpt%%|%%excerpt_only%%","g")}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(7);t.default={name:"focuskw",label:"Focus keyphrase",placeholder:"%%focuskw%%",aliases:[],getReplacement:function(){return(0,r.select)("yoast-seo/editor").getFocusKeyphrase()},regexp:new RegExp("%%focuskw%%|%%keyword%%","g")}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(0);t.default={name:"id",label:"ID",placeholder:"%%id%%",aliases:[],getReplacement:function(){return(0,r.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.id","")},regexp:new RegExp("%%id%%","g")}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(0);t.default={name:"modified",label:"Modified",placeholder:"%%modified%%",aliases:[],getReplacement:function(){return(0,r.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.modified","")},regexp:new RegExp("%%modified%%","g")}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(0);t.default={name:"name",label:"Name",placeholder:"%%name%%",aliases:[],getReplacement:function(){return(0,r.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.name","")},regexp:new RegExp("%%name%%","g")}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(0);t.default={name:"page",label:"Page",placeholder:"%%page%%",aliases:[],getReplacement:function(){return(0,r.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.page","")},regexp:new RegExp("%%page%%","g")}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(0);t.default={name:"pagenumber",label:"Pagenumber",placeholder:"%%pagenumber%%",aliases:[],getReplacement:function(){return(0,r.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.pagenumber","")},regexp:new RegExp("%%pagenumber%%","g")}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(0);t.default={name:"pagetotal",label:"Pagetotal",placeholder:"%%pagetotal%%",aliases:[],getReplacement:function(){return(0,r.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.pagetotal","")},regexp:new RegExp("%%pagetotal%%","g")}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(0);t.default={name:"pt_plural",label:"Post type (plural)",placeholder:"%%pt_plural%%",aliases:[],getReplacement:function(){return(0,r.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.pt_plural","")},regexp:new RegExp("%%pt_plural%%","g")}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(0);t.default={name:"pt_single",label:"Post type (singular)",placeholder:"%%pt_single%%",aliases:[],getReplacement:function(){return(0,r.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.pt_single","")},regexp:new RegExp("%%pt_single%%","g")}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(0);t.default={name:"primary_category",label:"Primary category",placeholder:"%%primary_category%%",aliases:[],getReplacement:function(){return(0,r.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.primary_category","")},regexp:new RegExp("%%primary_category%%","g")}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(0);t.default={name:"searchphrase",label:"Search phrase",placeholder:"%%searchphrase%%",aliases:[],getReplacement:function(){return(0,r.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.searchphrase","")},regexp:new RegExp("%%searchphrase%%","g")}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(0);t.default={name:"sep",label:"Separator",placeholder:"%%sep%%",aliases:[],getReplacement:function(){return(0,r.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.sep","")},regexp:new RegExp("%%sep%%(\\s*%%sep%%)*","g")}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(0);t.default={name:"sitedesc",label:"Tagline",placeholder:"%%sitedesc%%",aliases:[],getReplacement:function(){return(0,r.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.sitedesc","")},regexp:new RegExp("%%sitedesc%%","g")}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(0);t.default={name:"sitename",label:"Site title",placeholder:"%%sitename%%",aliases:[],getReplacement:function(){return(0,r.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.sitename","")},regexp:new RegExp("%%sitename%%","g")}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(0);t.default={name:"tag",label:"Tag",placeholder:"%%tag%%",aliases:[],getReplacement:function(){return(0,r.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.tag","")},regexp:new RegExp("%%tag%%","g")}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(0);t.default={name:"term404",label:"Term404",placeholder:"%%term404%%",aliases:[],getReplacement:function(){return(0,r.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.term404","")},regexp:new RegExp("%%term404%%","g")}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(0);t.default={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(0,r.get)(window,"YoastSEO.app.rawData.text","")},regexp:new RegExp("%%term_description%%|%%tag_description%%|%%category_description%%","g")}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(0);t.default={name:"term_hierarchy",label:"Term hierarchy",placeholder:"%%term_hierarchy%%",aliases:[],getReplacement:function(){return(0,r.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.term_hierarchy","")},regexp:new RegExp("%%term_hierarchy%%","g")}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(0);t.default={name:"term_title",label:"Term title",placeholder:"%%term_title%%",aliases:[],getReplacement:function(){return(0,r.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.term_title","")},regexp:new RegExp("%%term_title%%","g")}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(7);t.default={name:"title",label:"Title",placeholder:"%%title%%",aliases:[],getReplacement:function(){return(0,r.select)("yoast-seo/editor").getEditorDataTitle()},regexp:new RegExp("%%title%%","g")}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(0);t.default={name:"user_description",label:"User description",placeholder:"%%user_description%%",aliases:[],getReplacement:function(){return(0,r.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.user_description","")},regexp:new RegExp("%%user_description%%","g")}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(3),a=i(n(82)),o=i(n(525));function i(e){return e&&e.__esModule?e:{default:e}}t.default=function(){return wp.element.createElement(a.default,{title:(0,r.__)("Twitter preview","wordpress-seo"),id:"yoast-twitter-preview-modal"},wp.element.createElement(o.default,null))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(10),a=n(7),o=n(3),i=n(6),s=d(n(170)),l=d(n(9)),u=d(n(32)),c=n(244);function d(e){return e&&e.__esModule?e:{default:e}}var p=null,f=function(){return(p||(p=window.wp.media()).on("select",function(){var e=p.state().get("selection").first(),t={type:e.attributes.subtype,width:e.attributes.width,height:e.attributes.height};(0,a.dispatch)("yoast-seo/editor").setTwitterPreviewImage({url:e.attributes.url,id:e.attributes.id,warnings:(0,i.validateTwitterImage)(t)})}),p).open()};t.default=(0,r.compose)([(0,a.withSelect)(function(e){var t=e("yoast-seo/editor"),n=t.getTwitterDescription,r=t.getTwitterTitle,a=t.getTwitterImageUrl,i=t.getFacebookImageUrl,s=t.getFacebookTitle,u=t.getFacebookDescription,d=t.getDescriptionFallback,p=t.getTitleFallback,f=t.getTwitterWarnings,m=t.getTwitterImageType,y=t.getImageFallback,g=t.getRecommendedReplaceVars,_=t.getSiteUrl,h=t.getAuthorName,v=(0,o.sprintf)((0,o.__)("Modify your %s title by editing it right here...","wordpress-seo"),"Twitter"),w=(0,o.sprintf)((0,o.__)("Modify your %s description by editing it right here...","wordpress-seo"),"Twitter");return{imageUrl:a(),imageFallbackUrl:i()||y(),recommendedReplacementVariables:g(),replacementVariables:(0,c.getCurrentReplacementVariablesForEditor)(),description:n(),descriptionPreviewFallback:u()||d()||w,title:r(),titlePreviewFallback:s()||p()||v,imageWarnings:f(),authorName:h(),siteUrl:_(),isPremium:!!(0,l.default)().isPremium,isLarge:"summary"!==m(),titleInputPlaceholder:v,descriptionInputPlaceholder:w,socialMediumName:"Twitter"}}),(0,a.withDispatch)(function(e){var t=e("yoast-seo/editor"),n=t.setTwitterPreviewTitle,r=t.setTwitterPreviewDescription,a=t.clearTwitterPreviewImage,o=t.loadTwitterPreviewData;return{onSelectImageClick:f,onRemoveImageClick:a,onDescriptionChange:r,onTitleChange:n,onLoad:o}}),(0,u.default)()])(s.default)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(3),a=i(n(82)),o=i(n(527));function i(e){return e&&e.__esModule?e:{default:e}}t.default=function(){return wp.element.createElement(a.default,{title:(0,r.__)("Facebook preview","wordpress-seo"),id:"yoast-facebook-preview-modal"},wp.element.createElement(o.default,null))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(10),a=n(7),o=n(3),i=n(6),s=d(n(173)),l=d(n(9)),u=d(n(32)),c=n(244);function d(e){return e&&e.__esModule?e:{default:e}}var p=null,f=function(){return(p||(p=window.wp.media()).on("select",function(){var e=p.state().get("selection").first(),t={type:e.attributes.subtype,width:e.attributes.width,height:e.attributes.height};(0,a.dispatch)("yoast-seo/editor").setFacebookPreviewImage({url:e.attributes.url,id:e.attributes.id,warnings:(0,i.validateFacebookImage)(t)})}),p).open()};t.default=(0,r.compose)([(0,a.withSelect)(function(e){var t=e("yoast-seo/editor"),n=t.getFacebookDescription,r=t.getDescriptionFallback,a=t.getFacebookTitle,i=t.getTitleFallback,s=t.getFacebookImageUrl,u=t.getImageFallback,d=t.getFacebookWarnings,p=t.getRecommendedReplaceVars,f=t.getSiteUrl,m=t.getAuthorName,y=(0,o.sprintf)((0,o.__)("Modify your %s title by editing it right here...","wordpress-seo"),"Facebook"),g=(0,o.sprintf)((0,o.__)("Modify your %s description by editing it right here...","wordpress-seo"),"Facebook");return{imageUrl:s(),imageFallbackUrl:u(),recommendedReplacementVariables:p(),replacementVariables:(0,c.getCurrentReplacementVariablesForEditor)(),description:n(),descriptionPreviewFallback:r()||g,title:a(),titlePreviewFallback:i()||y,imageWarnings:d(),authorName:m(),siteUrl:f(),isPremium:!!(0,l.default)().isPremium,titleInputPlaceholder:y,descriptionInputPlaceholder:g,socialMediumName:"Facebook"}}),(0,a.withDispatch)(function(e){var t=e("yoast-seo/editor"),n=t.setFacebookPreviewTitle,r=t.setFacebookPreviewDescription,a=t.clearFacebookPreviewImage,o=t.loadFacebookPreviewData;return{onSelectImageClick:f,onRemoveImageClick:a,onDescriptionChange:r,onTitleChange:n,onLoad:o}}),(0,u.default)()])(s.default)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};t.default=function(){var e=(0,a.registerStore)("yoast-seo/editor",{reducer:(0,a.combineReducers)(i.default),selectors:r({},s,c),actions:(0,o.pickBy)(r({},l,u),function(e){return"function"==typeof e})});return p(e),e};var a=n(7),o=n(0),i=function(e){return e&&e.__esModule?e:{default:e}}(n(185)),s=d(n(155)),l=d(n(16)),u=d(n(529)),c=d(n(531));function d(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}var p=function(e){e.dispatch(l.loadCornerstoneContent()),e.dispatch(l.loadFocusKeyword()),e.dispatch(l.setSettings({socialPreviews:{sitewideImage:window.wpseoScriptData.metabox.sitewide_social_image,authorName:window.wpseoScriptData.metabox.author_name,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}}));var t=window.wpseoScriptData.metabox.showSocial,n=t.facebook,r=t.twitter;n&&e.dispatch(l.loadFacebookPreviewData()),r&&e.dispatch(l.loadTwitterPreviewData()),e.dispatch(l.setSEMrushChangeCountry(window.wpseoScriptData.metabox.countryCode)),e.dispatch(l.setSEMrushLoginStatus(window.wpseoScriptData.metabox.SEMrushLoginStatus))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.loadSnippetEditorData=void 0,t.updateData=function(e){if(e.hasOwnProperty("title")){var t=e.title;e.title===(0,r.get)(window,"wpseoScriptData.metabox.title_template","")&&(t=""),a.default.title=t}if(e.hasOwnProperty("description")){var n=e.description;e.description===(0,r.get)(window,"wpseoScriptData.metabox.metadesc_template","")&&(n=""),a.default.description=n}e.hasOwnProperty("slug")&&(a.default.slug=e.slug);return{type:o.UPDATE_DATA,data:e}};var r=n(0),a=function(e){return e&&e.__esModule?e:{default:e}}(n(530)),o=n(16);t.loadSnippetEditorData=function(){var e=(0,r.get)(window,"wpseoScriptData.metabox.title_template",""),t=(0,r.get)(window,"wpseoScriptData.metabox.metadesc_template","");return{type:o.LOAD_SNIPPET_EDITOR_DATA,data:{title:a.default.title||e,description:a.default.description||t,slug:a.default.slug},templates:{title:e,description:t}}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();var a=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}return r(e,null,[{key:"titleElement",get:function(){return document.getElementById(window.wpseoScriptData.isPost?"yoast_wpseo_title":"hidden_wpseo_title")}},{key:"descriptionElement",get:function(){return document.getElementById(window.wpseoScriptData.isPost?"yoast_wpseo_metadesc":"hidden_wpseo_desc")}},{key:"slugElement",get:function(){return document.getElementById("yoast_wpseo_slug")}},{key:"title",get:function(){return e.titleElement.value},set:function(t){e.titleElement.value=t}},{key:"description",get:function(){return e.descriptionElement.value},set:function(t){e.descriptionElement.value=t}},{key:"slug",get:function(){return e.slugElement.value},set:function(t){e.slugElement.value=t}}]),e}();t.default=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getAnalysisData=void 0;var r=n(6),a=function(e){return e&&e.__esModule?e:{default:e}}(n(66)),o=n(155),i=n(180);t.getAnalysisData=function(e){var t=(0,o.getSnippetEditorTitleWithTemplate)(e),n=(0,o.getSnippetEditorDescriptionWithTemplate)(e),s=(0,o.getSnippetEditorSlug)(e),l=(0,o.getBaseUrlFromSettings)(e);return t=r.strings.stripHTMLTags((0,i.applyModifications)("data_page_title",t)),n=r.strings.stripHTMLTags((0,i.applyModifications)("data_meta_desc",n)),s=s.trim().replace(/\s+/g,"-"),{text:(0,o.getEditorDataContent)(e),title:t,keyword:(0,o.getFocusKeyphrase)(e),description:n,locale:(0,o.getContentLocale)(e),titleWidth:(0,a.default)(t),url:s,permalink:l+s}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=(0,o.default)(),t=(0,r.get)(window,["wpseoScriptData","analysis","worker","keywords_assessment_url"],"used-keywords-assessment.js"),n=new i.default("get_focus_keyword_usage",e,(0,a.dispatch)("yoast-seo/editor").runAnalysis,t);n.init();var s="";(0,a.subscribe)(function(){var e=(0,a.select)("yoast-seo/editor").getFocusKeyphrase();e!==s&&(s=e,n.setKeyword(e))})};var r=n(0),a=n(7),o=s(n(9)),i=s(n(228));function s(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){(0,i.registerElementorUIHookAfter)("editor/documents/attach-preview","yoast-seo-content-scraper-attach-preview",u),(0,i.registerElementorUIHookAfter)("document/save/set-is-modified","yoast-seo-content-scraper-on-modified",u)};var r=n(7),a=n(0),o=function(e){return e&&e.__esModule?e:{default:e}}(n(534)),i=n(333);var s={content:"",title:"",excerpt:"",slug:"",imageUrl:""};function l(e){var t=function(e){var t=[];return e.$element.find(".elementor-widget-container").each(function(e,n){t.push(n.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:function(e){var t=window.elementor.settings.page.model.get("post_featured_image"),n=(0,a.get)(t,"url","");return""===n?(0,o.default)(e):n}(t)}}var u=(0,a.debounce)(function(){var e=window.elementor.documents.getCurrent();if(["wp-post","wp-page"].includes(e.config.type)){var t=l(e);t.content!==s.content&&(s.content=t.content,(0,r.dispatch)("yoast-seo/editor").setEditorDataContent(s.content)),t.title!==s.title&&(s.title=t.title,(0,r.dispatch)("yoast-seo/editor").setEditorDataTitle(s.title)),t.excerpt!==s.excerpt&&(s.excerpt=t.excerpt,(0,r.dispatch)("yoast-seo/editor").setEditorDataExcerpt(s.excerpt)),t.imageUrl!==s.imageUrl&&(s.imageUrl=t.imageUrl,(0,r.dispatch)("yoast-seo/editor").setEditorDataImageUrl(s.imageUrl))}},500)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=r.string.imageInText(e),n="";if(0===t.length)return"";do{var a=t.shift(),o=(a=jQuery(a)).prop("src");o&&(n=o)}while(""===n&&t.length>0);return n};var r=n(11)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=(0,r.select)("yoast-seo/editor").getFocusKeyphrase,n=t();i(e,n),(0,r.subscribe)(function(){var r=t();n!==r&&(n=r,s(e,r))})};var r=n(7),a=n(0),o=n(11);function i(e,t){var n=(0,r.dispatch)("yoast-seo/editor").updateWordsToHighlight;e("morphology",new o.Paper("",{keyword:t})).then(function(e){var t=e.result.keyphraseForms;n((0,a.uniq)((0,a.flatten)(t)))}).catch(function(){n([])})}var s=(0,a.debounce)(i,500)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){if(!0===window.elementor.config.user.introduction["yoast-introduction"])return;var e=new window.elementorModules.editor.utils.Introduction({introductionKey:"yoast-introduction",dialogOptions:{id:"yoast-introduction",className:"elementor-right-click-introduction",headerMessage:(0,r.__)("New: Yoast SEO for Elementor","wordpress-seo"),message:(0,r.__)("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:function(t){window.$e.routes.on("run:after",function(e,n){"panel/menu"===n&&t.getElements("ok").click()}),t.addButton({name:"ok",text:(0,r.__)("Got it","wordpress-seo"),callback:function(){return 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)};var r=n(3)}],[[488,0]]]);