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/block-editor-1580.js |
(window.yoastWebpackJsonp=window.yoastWebpackJsonp||[]).push([[3],[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:o,mode:e}},t.updateData=function(e){return{type:a,data:e}},t.updateReplacementVariable=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",o="string"==typeof t?(0,r.decodeHTML)(t):t;return{type:i,name:e,value:o,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),o=t.SWITCH_MODE="SNIPPET_EDITOR_SWITCH_MODE",a=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),o=t.LocationContext=(0,r.createContext)();t.LocationProvider=o.Provider,t.LocationConsumer=o.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 o=n(44);Object.keys(o).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return o[e]}})});var a=n(69);Object.keys(a).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return a[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 h=n(73);Object.keys(h).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return h[e]}})});var _=n(51);Object.keys(_).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return _[e]}})});var g=n(37);Object.keys(g).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return g[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 k=function(e){return e&&e.__esModule?e:{default:e}}(n(26));t.setOverallReadabilityScore=function(e){return k.default.readabilityScore=e,(0,T.setOverallReadabilityScore)(e)},t.setOverallSeoScore=function(e,t){return k.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},o=s(n(2)),a=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=[],h={};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,o=t[e],a=0;for(r=e+1;r<t.length;r++)if((n=t[r]).value===o.value){if("componentOpen"===n.type){a++;continue}if("componentClose"===n.type){if(0===a)return r;a--}}throw new Error("Missing closing component token `"+o.value+"`")}(s,e),f=u(e.slice(s+1,c),t),i=o.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&&(h["interpolation-child-"+t]=e)}),(0,a.default)(h))}t.default=function(e){var t=e.mixedString,n=e.components,o=e.throwErrors;if(l=t,!n)return t;if("object"!==(void 0===n?"undefined":r(n))){if(o)throw new Error("Interpolation Error: unable to process `"+t+"` because components is not an object");return t}var a=(0,i.default)(t);try{return u(a,n)}catch(e){if(o)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,a.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:""}}}(o.helpers.scoreToRating(e))};var r=n(3),o=n(11),a=n(0)},function(e,t,n){"use strict";var r=n(23),o=n(24),a=n(25);e.exports=function(){function e(e,t,n,r,i,s){s!==a&&o(!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 o=function(){};o.thatReturns=r,o.thatReturnsFalse=r(!1),o.thatReturnsTrue=r(!0),o.thatReturnsNull=r(null),o.thatReturnsThis=function(){return this},o.thatReturnsArgument=function(e){return e},e.exports=o},function(e,t,n){"use strict";var r=function(e){};e.exports=function(e,t,n,o,a,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,o,a,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 o=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=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getIconForScore=function(e){var t={icon:"seo-score-none",color:o.colors.$color_grey_disabled};switch(e){case"loading":t={icon:"loading-spinner",color:o.colors.$color_green_medium_light};break;case"good":t={icon:"seo-score-good",color:o.colors.$color_green_medium};break;case"ok":t={icon:"seo-score-ok",color:o.colors.$color_ok};break;case"bad":t={icon:"seo-score-bad",color:o.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 o=e[r];if(o.text){var a=i(o,t);n=s(a,n)}}return n};var r=n(11),o=n(18),a=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:a(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=a;var r=n(4),o=function(e){return e&&e.__esModule?e:{default:e}}(n(1));function a(e){var t=e.target,n=e.children,o=t;return"string"==typeof t&&(o=document.getElementById(t)),o?(0,r.createPortal)(n,o):null}a.propTypes={target:o.default.oneOfType([o.default.string,o.default.object]).isRequired,children:o.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,o.forEach)(e,function(e,n){l.includes(n)||t.dispatch((0,a.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,o.forEach)(e.custom_taxonomies,function(e,n){var r=f(n),o=r.name,i=r.label,s=r.descriptionName,l=r.descriptionLabel;t.dispatch((0,a.updateReplacementVariable)(o,e.name,i)),t.dispatch((0,a.updateReplacementVariable)(s,e.description,l))}),(0,o.omit)(r({},e),"custom_taxonomies")},t.mapCustomFields=function(e,t){if(!e.custom_fields)return e;return(0,o.forEach)(e.custom_fields,function(e,n){var r=p(n),o=r.name,i=r.label;t.dispatch((0,a.updateReplacementVariable)(o,e,i))}),(0,o.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 o=n(0),a=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,o.get)(window,["YoastSEO","app","pluggable"],!1);if(!t||!(0,o.get)(window,["YoastSEO","app","pluggable","loaded"],!1))return function(e){var t=(0,o.get)(window,["YoastSEO","wp","replaceVarsPlugin","replaceVariables"],o.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,o=!1,a=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){o=!0,a=e}finally{try{!r&&s.return&&s.return()}finally{if(o)throw a}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),o=n(4),a=n(5),i=function(e){return e&&e.__esModule?e:{default:e}}(n(1));var s=function(e){var t=(0,o.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(a.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,o.createHigherOrderComponent)(function(e){return(0,o.pure)(function(t){var n=(0,a.useContext)(i.LocationContext);return(0,a.createElement)(e,r({},t,{location:n}))})},"withLocation")};var o=n(10),a=n(4),i=n(14)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(18),o=n(6),a=function(e){return e&&e.__esModule?e:{default:e}}(n(8));var i=(0,o.makeOutboundLink)(a.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},o=n(5);var a=(0,function(e){return e&&e.__esModule?e:{default:e}}(n(8)).default)(o.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(a,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 o=t.TOGGLE_CORNERSTONE_CONTENT="WPSEO_TOGGLE_CORNERSTONE_CONTENT",a=t.SET_CORNERSTONE_CONTENT="WPSEO_SET_CORNERSTONE_CONTENT";t.loadCornerstoneContent=function(){return{type:a,isCornerstone:r.default.isCornerstone}},t.setCornerstoneContent=function(e){return r.default.isCornerstone=e,{type:a,isCornerstone:e}},t.toggleCornerstoneContent=function(){return r.default.isCornerstone=!r.default.isCornerstone,{type:o}}},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 o=t.LOAD_FOCUS_KEYWORD="WPSEO_LOAD_FOCUS_KEYWORD",a=t.SET_FOCUS_KEYWORD="WPSEO_SET_FOCUS_KEYWORD";t.loadFocusKeyword=function(){return{type:o,keyword:r.default.keyphrase}},t.setFocusKeyword=function(e){return r.default.keyphrase=e,{type:a,keyword:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=t.SET_SETTINGS="SET_SETTINGS",o=t.SET_CONTENT_IMAGE="SET_CONTENT_IMAGE";t.setSettings=function(e){return{type:r,settings:e}},t.setContentImage=function(e){return{type:o,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},o=function(e){return e&&e.__esModule?e:{default:e}}(n(1)),a=n(12);var i=t.defaultModalClassName="yoast yoast-gutenberg-modal",s=function(e){var t=e.title,n=e.className,o=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=o?wp.element.createElement("span",{className:"yoast-icon"}):null;return wp.element.createElement(a.Modal,r({title:t,className:n+" "+i,icon:l},s),e.children)};s.propTypes={title:o.default.string,className:o.default.string,showYoastIcon:o.default.bool,children:o.default.oneOfType([o.default.node,o.default.arrayOf(o.default.node)]),additionalClassName:o.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 o=function(){};o.thatReturns=r,o.thatReturnsFalse=r(!1),o.thatReturnsTrue=r(!0),o.thatReturnsNull=r(null),o.thatReturnsThis=function(){return this},o.thatReturnsArgument=function(e){return e},e.exports=o},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.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 o=t.SET_NO_INDEX="SET_NO_INDEX",a=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:o,value:e}},t.setNoFollow=function(e){return r.default.noFollow=e,{type:a,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:o,estimatedReadingTime:e}},t.loadEstimatedReadingTime=function(){return{type:a,estimatedReadingTime:r.default.estimatedReadingTime}};var r=function(e){return e&&e.__esModule?e:{default:e}}(n(72));var o=t.SET_ESTIMATED_READING_TIME="SET_ESTIMATED_READING_TIME",a=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 o=t.SET_PAGE_TYPE="SET_PAGE_TYPE",a=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:o,pageType:e}},t.setArticleType=function(e){return r.default.articleType=e,{type:a,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 o=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=o},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:o}};var r=t.ADD_BLOCK_VALIDATION="WPSEO_ADD_BLOCK_VALIDATION",o=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:o,response:e}},t.setSEMrushRequestFailed=function(e){return{type:a,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",o=t.SET_REQUEST_SUCCEEDED="SET_REQUEST_SUCCEEDED",a=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 o=t.SET_TWITTER_TITLE="SET_TWITTER_TITLE",a=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:o,title:e}},t.setTwitterPreviewDescription=function(e){return r.default.description=e,{type:a,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 o=t.SET_FACEBOOK_TITLE="SET_FACEBOOK_TITLE",a=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:o,title:e}},t.setFacebookPreviewDescription=function(e){return r.default.description=e,{type:a,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){e.exports=window.yoast.replacementVariableEditor},,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(7),o=n(10),a=function(e){return e&&e.__esModule?e:{default:e}}(n(113));t.default=(0,o.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}})])(a.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}}();var o=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=o},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:o,timestamp:Date.now()}};var r=t.UPDATE_SNIPPET_DATA="SNIPPET_EDITOR_UPDATE_ANALYSIS_DATA",o=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:o,title:e}},t.setEditorDataExcerpt=function(e){return{type:a,excerpt:e}},t.setEditorDataImageUrl=function(e){return{type:i,imageUrl:e}};var r=t.SET_EDITOR_DATA_CONTENT="SET_EDITOR_DATA_CONTENT",o=t.SET_EDITOR_DATA_TITLE="SET_EDITOR_DATA_TITLE",a=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:o}};var r=t.OPEN_EDITOR_MODAL="OPEN_MODAL",o=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 o=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=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.setSEMrushDismissModal=function(){return{type:r}},t.setSEMrushOpenModal=function(e){return{type:o,location:e}},t.setSEMrushNoKeyphraseMessage=function(){return{type:a}};var r=t.MODAL_DISMISS="MODAL_DISMISS",o=t.MODAL_OPEN="MODAL_OPEN",a=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 o=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=o},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 o=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=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isCloseEvent=void 0;var r=n(3),o=n(4),a=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,o.useCallback)(function(e){c(e)&&p()},[p]);return wp.element.createElement(o.Fragment,null,d&&wp.element.createElement(l.LocationProvider,{value:"modal"},wp.element.createElement(a.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),o="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,a=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 a,s=typeof e;if("undefined"!==s&&"boolean"!==s||(e=null),null===e||"string"===s||"number"===s||"object"===s&&e.$$typeof===o)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 h=0;h<e.length;h++)m+=f(a=e[h],y+p(a,h),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 g,v=_.call(e),w=0;!(g=v.next()).done;)m+=f(a=g.value,y+p(a,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 h=_,_=function(e){if(this.instancePool.length){var t=this.instancePool.pop();return this.call(t,e),t}return new this(e)},g=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 o=e.result,i=e.keyPrefix,s=e.func,l=e.context,u=s.call(l,t,e.count++);Array.isArray(u)?b(u,o,n,a.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)),o.push(u))}function b(e,t,n,r,o){var a="";null!=n&&(a=y(n)+"/");var i=v.getPooled(t,a,r,o);!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||h,n.poolSize||(n.poolSize=10),n.release=g}(v,function(e,t,n,r){if(this.instancePool.length){var o=this.instancePool.pop();return this.call(o,e,t,n,r),o}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,a.thatReturnsArgument);return t}},function(e,t,n){"use strict";var r=function(e){};e.exports=function(e,t,n,o,a,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,o,a,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),o=n(7),a=function(e){return e&&e.__esModule?e:{default:e}}(n(76));t.default=(0,r.compose)([(0,o.withSelect)(function(e,t){var n=e("yoast-seo/editor"),r=n.getPostOrPageString,o=n.getIsModalOpen;return{postTypeName:r(),isOpen:o(t.id)}}),(0,o.withDispatch)(function(e,t){var n=e("yoast-seo/editor"),r=n.openEditorModal;return{open:function(){return r(t.id)},close:n.closeEditorModal}})])(a.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},o=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),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,o=e.fieldId,a=document.getElementById(o);a&&(n.elements[t]=a,r[t]={value:a.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,a.Component),o(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,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,["children"]);return wp.element.createElement(t,r({},o,this.state),n)}}],[{key:"propTypes",get:function(){return{children:i.default.node}}}]),s}()}}},,,,,,,,,,function(e,t){e.exports=window.wp.richText},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)),o=n(5),a=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)(o.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,a.getDirectionalStyle)("right","left"),(0,a.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),o=s(n(1)),a=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,a.getIconForScore)(n)))};l.propTypes={target:o.default.string.isRequired,scoreIndicator:o.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}}(),o=n(4),a=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,o.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,a.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 o=function(e){var t=e.children;return wp.element.createElement("div",null,t)};o.propTypes={renderPriority:r.default.number.isRequired,children:r.default.node.isRequired},t.default=o},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}}(),o=n(4),a=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,o.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,a=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,h=e.recommendedReplacementVariables,_=e.isPremium,g=e.location;return wp.element.createElement(o.Fragment,null,wp.element.createElement(i.default,{socialMediumName:l}),wp.element.createElement(s.SocialMetadataPreviewForm,{onDescriptionChange:t,socialMediumName:l,title:f,titleInputPlaceholder:m,onRemoveImageClick:a,imageSelected:!!p,imageUrl:p,onTitleChange:n,onSelectImageClick:r,description:c,descriptionInputPlaceholder:d,imageWarnings:u,replacementVariables:y,recommendedReplacementVariables:h,onMouseHover:this.setHoveredField,hoveredField:this.state.hoveredField,onSelect:this.setActiveField,activeField:this.state.activeField,isPremium:_,setEditorRef:this.setEditorRef,idSuffix:g}))}}]),t}();c.propTypes={title:a.default.string.isRequired,onTitleChange:a.default.func.isRequired,description:a.default.string.isRequired,onDescriptionChange:a.default.func.isRequired,imageUrl:a.default.string.isRequired,onSelectImageClick:a.default.func.isRequired,onRemoveImageClick:a.default.func.isRequired,socialMediumName:a.default.string.isRequired,isPremium:a.default.bool,imageWarnings:a.default.array,descriptionInputPlaceholder:a.default.string,titleInputPlaceholder:a.default.string,replacementVariables:l.replacementVariablesShape,recommendedReplacementVariables:l.recommendedReplacementVariablesShape,location:a.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)),o=n(17),a=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(a.ThemeProvider,{theme:n},wp.element.createElement(o.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){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(e){"object"==typeof window&&(n=window)}e.exports=n},,,,,,,,,,,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(5),o=function(e){return e&&e.__esModule?e:{default:e}}(n(1));var a=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=a,a.propTypes={onClick:o.default.func.isRequired,title:o.default.string.isRequired,id:o.default.string,subTitle:o.default.string,suffixIcon:o.default.object},a.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}}(),o=u(n(1)),a=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,o=e.considerationsResults,s=e.problemsResults;return wp.element.createElement(i.Fragment,null,wp.element.createElement(a.ContentAnalysis,{errorsResults:t,problemsResults:s,improvementsResults:n,considerationsResults:o,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:o.default.array,marksButtonClassName:o.default.string,marksButtonStatus:o.default.string,setActiveMarker:o.default.func.isRequired,setMarkerPauseStatus:o.default.func.isRequired,activeMarker:o.default.string,keywordKey:o.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)),o=s(n(8)),a=n(5),i=n(6);function s(e){return e&&e.__esModule?e:{default:e}}var l=(0,o.default)(a.StyledSection).withConfig({displayName:"SnippetPreviewSection__Section",componentId:"gjy5w5-0"})(["&","{padding:0;& ","{",":20px;margin-left:",";}}"],a.StyledSectionBase,a.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,o=e.hasPaperStyle;return wp.element.createElement(l,{headingLevel:3,headingText:n,headingIcon:r,headingIconColor:"#555",hasPaperStyle:o},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}}(),o=n(4),a=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,o.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(o.Fragment,null,wp.element.createElement(i.FieldGroup,{label:(0,a.__)("Schema settings","wordpress-seo"),linkTo:"https://yoa.st/404",linkText:(0,a.__)("Learn more about the schema settings","wordpress-seo"),description:(0,a.sprintf)((0,a.__)("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,a.sprintf)((0,a._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,a.__)("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,a.__)("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),o=n(10),a=function(e){return e&&e.__esModule?e:{default:e}}(n(117));t.default=(0,o.compose)([(0,r.withSelect)(function(e){var t=e("yoast-seo/editor"),n=t.getFocusKeyphrase,r=t.getSEMrushSelectedCountry,o=t.getSEMrushRequestLimitReached,a=t.getSEMrushRequestResponse,i=t.getSEMrushRequestIsSuccess,s=t.getSEMrushIsRequestPending,l=t.getSEMrushRequestHasData,u=t.getSEMrushRequestKeyphrase;return{keyphrase:n(),countryCode:r(),requestLimitReached:o(),response:a(),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,o=t.setSEMrushRequestSucceeded,a=t.setSEMrushRequestFailed,i=t.setSEMrushSetRequestLimitReached,s=t.setSEMrushNoResultsFound;return{setCountry:function(e){n(e)},newRequest:function(e,t){r(e,t)},setRequestSucceeded:function(e){o(e)},setRequestFailed:function(e){a(e)},setRequestLimitReached:function(){i()},setNoResultsFound:function(){s()}}})])(a.default)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.hasError=h,t.getUserMessage=_,t.hasMaximumRelatedKeyphrases=g,t.default=v;var r=n(4),o=n(3),a=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 h(e){return!(0,i.isEmpty)(e)&&"error"in e}function _(e){var t=e.isPending,n=e.requestLimitReached,r=e.isSuccess,a=e.response,i=e.requestHasData;return t?wp.element.createElement(s.default,null):n?wp.element.createElement(l.default,null):!r&&h(a)?wp.element.createElement(p.default,null):i?void 0:wp.element.createElement("p",null,(0,o.__)("Sorry, there's no data available for that keyphrase/country combination.","wordpress-seo"))}function g(e){return e&&e.length>=4}function v(e){var t=e.response,n=e.lastRequestKeyphrase,o=e.keyphrase,a=e.newRequest,i=e.setCountry,s=e.renderAction,l=e.countryCode,p=e.requestLimitReached,y=e.setRequestFailed,h=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&&g(v)&&wp.element.createElement(f.default,null),wp.element.createElement(u.default,{countryCode:l,setCountry:i,newRequest:a,keyphrase:o,setRequestFailed:y,setNoResultsFound:h,setRequestSucceeded:w,setRequestLimitReached:b,response:t,lastRequestKeyphrase:n})),_(e),wp.element.createElement(c.default,{keyphrase:o,relatedKeyphrases:v,countryCode:l,renderAction:s,data:t}))}v.propTypes={keyphrase:a.default.string,relatedKeyphrases:a.default.array,renderAction:a.default.func,requestLimitReached:a.default.bool,countryCode:a.default.string.isRequired,setCountry:a.default.func.isRequired,newRequest:a.default.func.isRequired,setRequestSucceeded:a.default.func.isRequired,setRequestLimitReached:a.default.func.isRequired,setRequestFailed:a.default.func.isRequired,setNoResultsFound:a.default.func.isRequired,response:a.default.object,lastRequestKeyphrase:a.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),o=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(o.SvgIcon,{icon:"loading-spinner"}))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(3),o=n(4),a=(0,n(6).makeOutboundLink)();t.default=function(){return wp.element.createElement(o.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(a,{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}}(),o=c(n(1)),a=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(o,a){try{var i=t[o](a),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,a.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,o;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!==(o=e.sent).status){e.next=9;break}return this.handleSuccessResponse(o),e.abrupt("return");case 9:this.handleFailedResponse(o);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:o.default.string,countryCode:o.default.string,response:o.default.object,lastRequestKeyphrase:o.default.string,setCountry:o.default.func.isRequired,newRequest:o.default.func.isRequired,setNoResultsFound:o.default.func.isRequired,setRequestSucceeded:o.default.func.isRequired,setRequestLimitReached:o.default.func.isRequired,setRequestFailed:o.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}}(),o=d(n(1)),a=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,a.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,o=t.countryCode,l=t.data,d=t.renderAction,f="https://www.semrush.com/analytics/keywordoverview/?q="+encodeURIComponent(n)+"&db="+encodeURIComponent(o);return l&&!(0,s.isEmpty)(l.results)&&wp.element.createElement(a.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 o=t[0],a=e.transformTrendDataToChartPoints(t[2]),s=e.getAreaChartDataTableHeaderLabels();return wp.element.createElement("tr",{key:n},wp.element.createElement("td",null,o),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:a,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(o,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:o.default.object,keyphrase:o.default.string,relatedKeyphrases:o.default.array,countryCode:o.default.string,renderAction:o.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)),o=n(4),a=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})))),h=Math.max(1,Math.max.apply(Math,s(t.map(function(e){return e.y})))),_=r-u,g=t.map(function(e){return e.x/y*n+","+(_-e.y/h*_+u)}).join(" "),v="0,"+(_+u)+" "+g+" "+n+","+(_+u);return wp.element.createElement(o.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:g})),d&&wp.element.createElement(a.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)),o=n(3);var a=function(e){var t=e.data,n=e.mapChartDataToTableData,r=e.dataTableCaption,a=e.dataTableHeaderLabels,i=e.isDataTableVisuallyHidden;return t.length!==a.length?wp.element.createElement("p",null,(0,o.__)("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,a.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))})))))};a.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},a.defaultProps={mapChartDataToTableData:null,isDataTableVisuallyHidden:!0},t.default=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(3),o=n(5),a=(0,n(6).makeOutboundLink)();t.default=function(){return wp.element.createElement(o.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(a,{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),o=n(5);t.default=function(){return wp.element.createElement(o.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),o=n(5);t.default=function(){return wp.element.createElement(o.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){e.exports=window.wp.blocks},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(10),o=n(7),a=s(n(158)),i=s(n(32));function s(e){return e&&e.__esModule?e:{default:e}}t.default=(0,r.compose)([(0,o.withSelect)(function(e){return{isCornerstone:(0,e("yoast-seo/editor").isCornerstoneContent)(),learnMoreUrl:wpseoAdminL10n["shortlinks.cornerstone_content_info"]}}),(0,o.withDispatch)(function(e){return{onChange:e("yoast-seo/editor").toggleCornerstoneContent}}),(0,i.default)()])(a.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}}(),o=n(4),a=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 h=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,o.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(h,{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(a.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},o=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),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),h=n(14),_=v(n(33)),g=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,a.Component),o(t,[{key:"renderResults",value:function(){return wp.element.createElement(a.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(h.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(g.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,o=t.getMarkButtonStatus;return r({},n(),{marksButtonStatus:o()})})(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}}(),o=n(4),a=k(n(1)),i=n(17),s=k(n(8)),l=n(3),u=n(5),c=n(18),d=k(n(95)),p=k(n(31)),f=k(n(34)),m=k(n(61)),y=k(n(21)),h=n(27),_=k(n(164)),g=k(n(165)),v=k(n(166)),w=n(14),b=k(n(167)),E=n(94),T=k(n(168));function k(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;"]),O=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),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(g.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(g.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(o.Fragment,null,wp.element.createElement(r,{title:(0,l.__)("SEO analysis","wordpress-seo"),titleScreenReaderText:t.screenReaderReadabilityText,prefixIcon:(0,h.getIconForScore)(t.className),prefixIconCollapsed:(0,h.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(o.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}();O.propTypes={results:a.default.array,marksButtonStatus:a.default.string,keyword:a.default.string,shouldUpsell:a.default.bool,shouldUpsellWordFormRecognition:a.default.bool,overallScore:a.default.number},O.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,o=[],a=null;return e.analysis.seo[r]&&(o=e.analysis.seo[r].results,a=e.analysis.seo[r].overallScore),{results:o,marksButtonStatus:n,keyword:r,overallScore:a}})(O)},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},o=n(10),a=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,o=n.pageTypeOptions,a=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:o,articleTypeOptions:a},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,o.compose)([(0,a.withSelect)(function(e){var t=e("yoast-seo/editor"),n=t.getPreferences,r=t.getPageType,o=t.getDefaultPageType,a=t.getArticleType,i=t.getDefaultArticleType;return{displayFooter:n().displaySchemaSettingsFooter,schemaPageTypeSelected:r(),schemaArticleTypeSelected:a(),defaultArticleType:i(),defaultPageType:o()}}),(0,a.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),o=n(7),a=function(e){return e&&e.__esModule?e:{default:e}}(n(175));t.default=(0,r.compose)([(0,o.withSelect)(function(e){var t=e("yoast-seo/editor"),n=t.getNoIndex,r=t.getNoFollow,o=t.getAdvanced,a=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:o(),breadcrumbsTitle:a(),canonical:i(),isLoading:s(),editorContext:l(),isBreadcrumbsDisabled:c,isPrivateBlog:d}}),(0,o.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}})])(a.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}),t.END_MARK=t.START_MARK=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.isAnnotationAvailable=function(){return(0,i.select)("core/editor")&&(0,o.isFunction)((0,i.select)("core/editor").getBlocks)&&(0,i.select)("core/annotations")&&(0,o.isFunction)((0,i.dispatch)("core/annotations").__experimentalAddAnnotation)},t.getYoastmarkOffsets=y,t.getIndicesOf=h,t.calculateAnnotationsForTextFormat=_,t.applyAsAnnotations=function(e,t){if(c=[],(0,i.dispatch)("core/annotations").__experimentalRemoveAnnotationsBySource(s),0===t.length)return;var n=(0,i.select)("core/editor").getBlocks();w((0,o.flatMap)(n,function(e){return(0,o.flatMap)(g(e.name),function(n){return v(n,e,t)})})),m()},t.reapplyAnnotationsForSelectedBlock=function(){var e=(0,i.select)("core/editor").getSelectedBlock(),t=(0,i.select)("yoast-seo/editor").getActiveMarker();if(!e||!t)return;!function(e){(0,i.select)("core/annotations").__experimentalGetAnnotations().filter(function(t){return t.blockClientId===e&&t.source===s}).forEach(function(e){(0,i.dispatch)("core/annotations").__experimentalRemoveAnnotation(e.id)})}(e.clientId);var n=(0,i.select)("yoast-seo/editor").getResultById(t);if(void 0===n)return;var r=n.marks;w((0,o.flatMap)(g(e.name),function(t){return v(t,e,r)})),m()};var o=n(0),a=n(93),i=n(7),s="yoast",l=t.START_MARK="<yoastmark class='yoast-text-mark'>",u=t.END_MARK="</yoastmark>",c=[],d={"core/quote":[{key:"value",multilineTag:"p"},{key:"citation"}],"core/paragraph":[{key:"content"}],"core/list":[{key:"values",multilineTag:"li",multilineWrapperTag:["ul","ol"]}],"core/heading":[{key:"content"}]},p={singleH1:{"core/heading":[{key:"content",filter:function(e){return 1===e.level}}]}};function f(){var e=c.shift();e&&((0,i.dispatch)("core/annotations").__experimentalAddAnnotation(e),m())}function m(){(0,o.isFunction)(window.requestIdleCallback)?window.requestIdleCallback(f,{timeout:1e3}):setTimeout(f,150)}function y(e){for(var t=e.indexOf(l),n=null,r=[];t>=0;){if((n=(e=e.replace(l,"")).indexOf(u))<t)return[];e=e.replace(u,""),r.push({startOffset:t,endOffset:n}),t=e.indexOf(l),n=null}return r}function h(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],r=[];if(0===e.length)return r;var o=0,a=void 0;for(n||(t=t.toLowerCase(),e=e.toLowerCase());(a=e.indexOf(t,o))>-1;)r.push(a),o=a+t.length;return r}function _(e,t){var n=t.getOriginal().replace(/(<([^>]+)>)/gi,""),r=t.getMarked().replace(/(<(?!\/?yoastmark)[^>]+>)/gi,""),o=h(e,n);if(0===o.length)return[];var a=[];return y(r).forEach(function(e){o.forEach(function(r){var o=r+e.startOffset,i=r+e.endOffset;0===e.startOffset&&e.endOffset===t.getOriginal().length&&(i=r+n.length),a.push({startOffset:o,endOffset:i})})}),a}function g(e){var t=(0,i.select)("yoast-seo/editor").getActiveMarker(),n=p[t]||d;return n.hasOwnProperty(e)?n[e]:[]}function v(e,t,n){var i=e.key,s=t.attributes,l=s[i];if(e.filter&&!e.filter(s))return[];var u=(0,a.create)({html:l,multilineTag:e.multilineTag,multilineWrapperTag:e.multilineWrapperTag}).text;return(0,o.flatMap)(n,function(e){var n=_(u,e);return n?n.map(function(e){return r({},e,{block:t.clientId,richTextIdentifier:i})}):[]})}function w(e){c=e.map(function(e){return{blockClientId:e.block,source:s,richTextIdentifier:e.richTextIdentifier,range:{start:e.startOffset,end:e.endOffset}}})}},,,,,,,,,,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=p;var r=n(3),o=n(5),a=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,a.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,a.join)(["yoast-cornerstone-collapsible",c]),title:(0,r.__)("Cornerstone content","wordpress-seo")},wp.element.createElement(o.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,a.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}}(),o=n(4),a=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,o.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:a.default.string,isEnabled:a.default.bool,onToggle:a.default.func,onToggleDisabled:a.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),o=n(10),a=function(e){return e&&e.__esModule?e:{default:e}}(n(161));t.default=(0,o.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,o=t.setSEMrushDismissModal,a=t.setSEMrushLoginStatus;return{onOpenWithNoKeyphrase:function(){n()},onOpen:function(e){r(e)},onClose:function(){o()},onAuthentication:function(e){a(e)}}})])(a.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}}(),o=n(4),a=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(o,a){try{var i=t[o](a),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 h=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,o.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,o;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===(o=e.sent).status?(this.props.onAuthentication(!0),this.onModalOpen(),this.popup.close()):console.error(o.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(o.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(a.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}();h.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},h.defaultProps={keyphrase:"",location:"",whichModalOpen:"none",isLoggedIn:!1},t.default=h},function(e,t,n){var r=n(2);function o(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})])}o.defaultProps={viewBox:"0 0 425 456.27",role:"img","aria-hidden":"true",focusable:"false"},e.exports=o,o.default=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=i;var r=a(n(28)),o=a(n(1));function a(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:o.default.string.isRequired,children:o.default.node.isRequired}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=l(n(19)),o=n(3),a=n(6),i=l(n(1)),s=l(n(96));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 %1$s!","wordpress-seo"),"{{link}}Yoast SEO Premium{{/link}}"),n=(0,r.default)({mixedString:t,components:{link:wp.element.createElement(u,{href:e.link})}}),a=["<strong>"+(0,o.__)("Rank better with synonyms & related keyphrases","wordpress-seo")+"</strong>",(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>"],i=(0,o.sprintf)((0,o.__)("Other benefits of %s for you:","wordpress-seo"),"Yoast SEO Premium");return wp.element.createElement(s.default,{infoParagraphs:[n,i],benefits:a,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: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,o=!1,a=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){o=!0,a=e}finally{try{!r&&s.return&&s.return()}finally{if(o)throw a}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),o=n(38),a=d(o),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),o=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),o&&wp.element.createElement(a.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:o.defaultModalClassName,openButtonIcon:"",classes:{}},t.default=m},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=l(n(19)),o=n(6),a=n(3),i=l(n(96)),s=l(n(1));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 %s!","wordpress-seo"),"{{link}}Yoast SEO Premium{{/link}}"),n=[(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>"],o=(0,r.default)({mixedString:t,components:{link:wp.element.createElement(u,{href:e.link})}}),s=(0,a.sprintf)((0,a.__)("Other benefits of %s for you:","wordpress-seo"),"Yoast SEO Premium");return wp.element.createElement(i.default,{infoParagraphs:[o,s],benefits:n,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: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)),o=u(n(8)),a=n(3),i=n(6),s=n(18),l=n(5);function u(e){return e&&e.__esModule?e:{default:e}}var c=o.default.p.withConfig({displayName:"AnalysisUpsell__TextContainer",componentId:"sc-1qakqs0-0"})(["color:",";margin:0;padding-right:8px;"],s.colors.$color_upsell_text),d=o.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,o.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,a.sprintf)((0,a.__)("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,a.sprintf)((0,a.__)("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=a;var r=n(12),o=function(e){return e&&e.__esModule?e:{default:e}}(n(1));function a(e){var t=e.location;return wp.element.createElement(r.Slot,{name:"yoast-synonyms-"+t})}a.propTypes={location:o.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),o=n(12),a=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(o.Slot,{name:"YoastTwitterPremium"+(e.location.charAt(0).toUpperCase()+e.location.slice(1)),fillProps:e}):wp.element.createElement(i.default,e)};l.propTypes={isPremium:a.default.bool.isRequired,onLoad:a.default.func.isRequired,location:a.default.string.isRequired},t.default=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(4),o=c(n(8)),a=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,o.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,a.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),o=n(12),a=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(o.Slot,{name:"YoastFacebookPremium"+(e.location.charAt(0).toUpperCase()+e.location.slice(1)),fillProps:e}):wp.element.createElement(i.default,e)};l.propTypes={isPremium:a.default.bool.isRequired,onLoad:a.default.func.isRequired,location:a.default.string.isRequired},t.default=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(4),o=n(3),a=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,o.sprintf)((0,o.__)("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,o.sprintf)((0,o.__)("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(a.FieldGroup,{label:e.helpTextTitle,linkTo:e.helpTextLink,linkText:(0,o.__)("Learn more about structured data with Schema.org","wordpress-seo"),description:e.helpTextDescription}),wp.element.createElement(a.FieldGroup,{label:(0,o.__)("What type of page or content is this?","wordpress-seo"),linkTo:e.additionalHelpTextLink,linkText:(0,o.__)("Learn more about page or content types","wordpress-seo")}),wp.element.createElement(a.Select,{id:(0,i.join)(["yoast-schema-page-type",e.location]),options:t,label:(0,o.__)("Page type","wordpress-seo"),onChange:e.schemaPageTypeChange,selected:e.schemaPageTypeSelected}),e.showArticleTypeInput&&wp.element.createElement(a.Select,{id:(0,i.join)(["yoast-schema-article-type",e.location]),options:n,label:(0,o.__)("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 h=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)};h.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},h.defaultProps={showArticleTypeInput:!1,articleTypeLabel:"",additionalHelpTextLink:"",displayFooter:!1},t.default=h},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(4),o=n(3),a=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,o.__)("No","wordpress-seo"),n=(0,o.__)("Yes","wordpress-seo"),r=e.noIndex?t:n;return window.wpseoScriptData.isPost?[{name:(0,o.sprintf)((0,o.__)("%s (current default for %s)","wordpress-seo"),r,e.postTypeNamePlural),value:"0"},{name:t,value:"1"},{name:n,value:"2"}]:[{name:(0,o.sprintf)((0,o.__)("%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(a.Alert,{type:"warning"},(0,o.__)("Even though you can set the meta robots setting here, the entire site is set to noindex in the sitewide privacy settings, so these settings won't have an effect.","wordpress-seo")),wp.element.createElement(a.Select,{label:(0,o.sprintf)((0,o.__)("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,o.__)("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(a.RadioButtonGroup,{id:s,options:[{value:"0",label:"Yes"},{value:"1",label:"No"}],label:(0,o.sprintf)((0,o.__)("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,o.__)("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(a.MultiSelect,{label:(0,o.__)("Meta robots advanced","wordpress-seo"),onChange:n,id:r,inputId:s,options:[{name:(0,o.__)("No Image Index","wordpress-seo"),value:"noimageindex"},{name:(0,o.__)("No Archive","wordpress-seo"),value:"noarchive"},{name:(0,o.__)("No Snippet","wordpress-seo"),value:"nosnippet"}],selected:t,linkTo:"https://yoa.st/meta-robots-advanced",linkText:(0,o.__)("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(a.TextInput,{label:(0,o.__)("Breadcrumbs Title","wordpress-seo"),id:(0,i.join)(["yoast-breadcrumbs-title",e]),onChange:n,value:t,linkTo:"https://yoa.st/breadcrumbs-title",linkText:(0,o.__)("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(a.TextInput,{label:(0,o.__)("Canonical URL","wordpress-seo"),id:(0,i.join)(["yoast-canonical",e]),onChange:n,value:t,linkTo:"https://yoa.st/canonical-url",linkText:(0,o.__)("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,o=e.advanced,a=e.breadcrumbsTitle,i=e.canonical,s=e.onNoIndexChange,l=e.onNoFollowChange,u=e.onAdvancedChange,y=e.onBreadcrumbsTitleChange,h=e.onCanonicalChange,_=e.onLoad,g=e.isLoading,v=e.editorContext,w=e.isBreadcrumbsDisabled,b=e.isPrivateBlog;(0,r.useEffect)(function(){setTimeout(function(){g&&_()})});var E={noIndex:t,onNoIndexChange:s,editorContext:v,isPrivateBlog:b},T={noFollow:n,onNoFollowChange:l,postTypeName:v.postTypeNameSingular},k={advanced:o,onAdvancedChange:u},S={breadcrumbsTitle:a,onBreadcrumbsTitleChange:y},O={canonical:i,onCanonicalChange:h};return g?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,k),!w&&wp.element.createElement(f,S),wp.element.createElement(m,O))};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});var r=n(17),o=n(5);t.default=(0,r.connect)(function(e){return{message:e.warning.message}})(o.Warning)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.mapEditorDataToPreview=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.mapStateToProps=f,t.mapDispatchToProps=m;var o=n(17),a=n(169),i=n(3),s=n(7),l=n(14),u=n(16),c=function(e){return e&&e.__esModule?e:{default:e}}(n(114)),d=n(30);var p=t.mapEditorDataToPreview=function(e,t){var n=0;return t.shortenedBaseUrl&&"string"==typeof t.shortenedBaseUrl&&(n=t.shortenedBaseUrl.length),e.url=e.url.replace(/\s+/g,"-"),"-"===e.url[e.url.length-1]&&(e.url=e.url.slice(0,-1)),"-"===e.url[n]&&(e.url=e.url.slice(0,n)+e.url.slice(n+1)),(0,d.applyReplaceUsingPlugin)(e)};function f(e){return e.snippetEditor.replacementVariables.forEach(function(e){""!==e.value||["title","excerpt","excerpt_only"].includes(e.name)||(e.value="%%"+e.name+"%%")}),r({},e.snippetEditor,{keyword:e.focusKeyword,baseUrl:e.settings.snippetEditor.baseUrl,date:e.settings.snippetEditor.date,recommendedReplacementVariables:e.settings.snippetEditor.recommendedReplacementVariables,faviconSrc:e.settings.snippetEditor.siteIconUrl,mobileImageSrc:e.snippetEditor.data.snippetPreviewImageURL})}function m(e){return{onChange:function(t,n){var r=(0,u.updateData)(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,n));if("mode"===t&&(r=(0,u.switchMode)(n)),e(r),"slug"===t){var o=(0,s.dispatch)("core/editor");o&&o.editPost({slug:n})}},onChangeAnalysisData:function(t){e((0,u.updateAnalysisData)(t))}}}t.default=(0,o.connect)(f,m)(function(e){return wp.element.createElement(l.LocationConsumer,null,function(t){return wp.element.createElement(c.default,{icon:"eye",hasPaperStyle:e.hasPaperStyle},wp.element.createElement(a.SnippetEditor,r({},e,{descriptionPlaceholder:(0,i.__)("Please provide a meta description by editing the snippet below.","wordpress-seo"),mapEditorDataToPreview:p,showCloseButton:!1,idSuffix:t})))})})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(10),o=n(7),a=n(3),i=n(6),s=c(n(170)),l=c(n(9)),u=c(n(32));function c(e){return e&&e.__esModule?e:{default:e}}var d=null,p=function(){return(d||(d=window.wp.media()).on("select",function(){var e=d.state().get("selection").first(),t={type:e.attributes.subtype,width:e.attributes.width,height:e.attributes.height};(0,o.dispatch)("yoast-seo/editor").setTwitterPreviewImage({url:e.attributes.url,id:e.attributes.id,warnings:(0,i.validateTwitterImage)(t)})}),d).open()};t.default=(0,r.compose)([(0,o.withSelect)(function(e){var t=e("yoast-seo/editor"),n=t.getTwitterDescription,r=t.getTwitterTitle,o=t.getTwitterImageUrl,i=t.getFacebookImageUrl,s=t.getFacebookTitle,u=t.getFacebookDescription,c=t.getDescriptionFallback,d=t.getTitleFallback,p=t.getTwitterWarnings,f=t.getTwitterImageType,m=t.getImageFallback,y=t.getRecommendedReplaceVars,h=t.getReplaceVars,_=t.getSiteUrl,g=t.getAuthorName,v=(0,a.sprintf)((0,a.__)("Modify your %s title by editing it right here...","wordpress-seo"),"Twitter"),w=(0,a.sprintf)((0,a.__)("Modify your %s description by editing it right here...","wordpress-seo"),"Twitter");return{imageUrl:o(),imageFallbackUrl:i()||m(),recommendedReplacementVariables:y(),replacementVariables:h(),description:n(),descriptionPreviewFallback:u()||c()||w,title:r(),titlePreviewFallback:s()||d()||v,imageWarnings:p(),authorName:g(),siteUrl:_(),isPremium:!!(0,l.default)().isPremium,isLarge:"summary"!==f(),titleInputPlaceholder:v,descriptionInputPlaceholder:w,socialMediumName:"Twitter"}}),(0,o.withDispatch)(function(e){var t=e("yoast-seo/editor"),n=t.setTwitterPreviewTitle,r=t.setTwitterPreviewDescription,o=t.clearTwitterPreviewImage,a=t.loadTwitterPreviewData;return{onSelectImageClick:p,onRemoveImageClick:o,onDescriptionChange:r,onTitleChange:n,onLoad:a}}),(0,u.default)()])(s.default)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(10),o=n(7),a=n(3),i=n(6),s=c(n(173)),l=c(n(9)),u=c(n(32));function c(e){return e&&e.__esModule?e:{default:e}}var d=null,p=function(){return(d||(d=window.wp.media()).on("select",function(){var e=d.state().get("selection").first(),t={type:e.attributes.subtype,width:e.attributes.width,height:e.attributes.height};(0,o.dispatch)("yoast-seo/editor").setFacebookPreviewImage({url:e.attributes.url,id:e.attributes.id,warnings:(0,i.validateFacebookImage)(t)})}),d).open()};t.default=(0,r.compose)([(0,o.withSelect)(function(e){var t=e("yoast-seo/editor"),n=t.getFacebookDescription,r=t.getDescriptionFallback,o=t.getFacebookTitle,i=t.getTitleFallback,s=t.getFacebookImageUrl,u=t.getImageFallback,c=t.getFacebookWarnings,d=t.getRecommendedReplaceVars,p=t.getReplaceVars,f=t.getSiteUrl,m=t.getAuthorName,y=(0,a.sprintf)((0,a.__)("Modify your %s title by editing it right here...","wordpress-seo"),"Facebook"),h=(0,a.sprintf)((0,a.__)("Modify your %s description by editing it right here...","wordpress-seo"),"Facebook");return{imageUrl:s(),imageFallbackUrl:u(),recommendedReplacementVariables:d(),replacementVariables:p(),description:n(),descriptionPreviewFallback:r()||h,title:o(),titlePreviewFallback:i()||y,imageWarnings:c(),authorName:m(),siteUrl:f(),isPremium:!!(0,l.default)().isPremium,titleInputPlaceholder:y,descriptionInputPlaceholder:h,socialMediumName:"Facebook"}}),(0,o.withDispatch)(function(e){var t=e("yoast-seo/editor"),n=t.setFacebookPreviewTitle,r=t.setFacebookPreviewDescription,o=t.clearFacebookPreviewImage,a=t.loadFacebookPreviewData;return{onSelectImageClick:p,onRemoveImageClick:o,onDescriptionChange:r,onTitleChange:n,onLoad:a}}),(0,u.default)()])(s.default)},,,,,,,,,,,,,,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=l;var r=s(n(1)),o=s(n(254)),a=s(n(255)),i=s(n(28));function s(e){return e&&e.__esModule?e:{default:e}}function l(e){var t=e.target,n=e.store,r=e.theme;return wp.element.createElement(i.default,{target:t},wp.element.createElement(o.default,{store:n,theme:r}),wp.element.createElement(a.default,{store:n,theme:r}))}l.propTypes={target:r.default.string.isRequired,store:r.default.object,theme:r.default.object}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.store,n=e.theme;return wp.element.createElement(a.default,{store:t,theme:n,location:"metabox"},wp.element.createElement(r.Slot,{name:"YoastMetabox"},function(e){return(0,o.default)(e)}))};var r=n(12),o=i(n(146)),a=i(n(99));function i(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(e){return e&&e.__esModule?e:{default:e}}(n(256)),o=n(17);t.default=(0,o.connect)(function(e,t){return{settings:e.preferences,store:t.store}})(r.default)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=v;var r=n(12),o=n(3),a=g(n(1)),i=g(n(140)),s=g(n(236)),l=g(n(235)),u=g(n(141)),c=g(n(142)),d=g(n(143)),p=g(n(34)),f=g(n(97)),m=g(n(145)),y=g(n(257)),h=g(n(144)),_=g(n(116));function g(e){return e&&e.__esModule?e:{default:e}}function v(e){var t=e.settings;return wp.element.createElement(r.Fill,{name:"YoastMetabox"},wp.element.createElement(f.default,{renderPriority:1},wp.element.createElement(l.default,null)),t.isKeywordAnalysisActive&&wp.element.createElement(f.default,{renderPriority:8},wp.element.createElement(u.default,{isSEMrushIntegrationActive:t.isSEMrushIntegrationActive}),!window.wpseoScriptData.metabox.isPremium&&wp.element.createElement(r.Fill,{name:"YoastRelatedKeyphrases"},wp.element.createElement(_.default,null))),wp.element.createElement(f.default,{renderPriority:9},wp.element.createElement(p.default,{id:"yoast-snippet-editor-metabox",title:(0,o.__)("Google preview","wordpress-seo"),initialIsOpen:!0},wp.element.createElement(s.default,{hasPaperStyle:!1}))),t.isContentAnalysisActive&&wp.element.createElement(f.default,{renderPriority:10},wp.element.createElement(c.default,null)),t.isKeywordAnalysisActive&&wp.element.createElement(f.default,{renderPriority:20},wp.element.createElement(d.default,{shouldUpsell:t.shouldUpsell,shouldUpsellWordFormRecognition:t.isWordFormRecognitionActive})),t.isCornerstoneActive&&wp.element.createElement(f.default,{renderPriority:30},wp.element.createElement(i.default,null)),t.displayAdvancedTab&&wp.element.createElement(f.default,{renderPriority:40},wp.element.createElement(p.default,{id:"collapsible-advanced-settings",title:(0,o.__)("Advanced","wordpress-seo")},wp.element.createElement(m.default,null))),t.displaySchemaSettings&&wp.element.createElement(f.default,{renderPriority:50},wp.element.createElement(h.default,null)),wp.element.createElement(f.default,{renderPriority:-1},wp.element.createElement(y.default,{target:"wpseo-section-social"})))}v.propTypes={settings:a.default.object.isRequired}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=s;var r=i(n(1)),o=i(n(258)),a=i(n(28));function i(e){return e&&e.__esModule?e:{default:e}}function s(e){var t=e.target;return wp.element.createElement(a.default,{target:t},wp.element.createElement(o.default,null))}s.propTypes={target:r.default.string.isRequired}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(7),o=function(e){return e&&e.__esModule?e:{default:e}}(n(259));t.default=(0,r.withSelect)(function(e){var t=(0,e("yoast-seo/editor").getPreferences)();return{displayFacebook:t.displayFacebook,displayTwitter:t.displayTwitter}})(o.default)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(4),o=u(n(34)),a=n(3),i=u(n(1)),s=u(n(238)),l=u(n(237));function u(e){return e&&e.__esModule?e:{default:e}}var c=function(e){var t=e.displayFacebook,n=e.displayTwitter;return wp.element.createElement(r.Fragment,null,t&&wp.element.createElement(o.default,{hasSeparator:!1,title:(0,a.sprintf)((0,a.__)("%s preview","wordpress-seo"),"Facebook"),initialIsOpen:!0},wp.element.createElement(s.default,null)),n&&wp.element.createElement(o.default,{title:(0,a.sprintf)((0,a.__)("%s preview","wordpress-seo"),"Twitter"),hasSeparator:t,initialIsOpen:!0},wp.element.createElement(l.default,null)))};c.propTypes={displayFacebook:i.default.bool.isRequired,displayTwitter:i.default.bool.isRequired},t.default=c},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},o=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,o=!1,a=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){o=!0,a=e}finally{try{!r&&s.return&&s.return()}finally{if(o)throw a}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),a=n(4);function i(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 s=void 0,l=void 0,u=void 0,c=void 0,d=/<(\/)?(\w+)\s*(\/)?>/g;function p(e,t,n,r,o){return{element:e,tokenStart:t,tokenLength:n,prevOffset:r,leadingTextStart:o,children:[]}}function f(){var e=s.length-l;0!==e&&u.push(s.substr(l,e))}function m(e){var t=e.element,n=e.tokenStart,r=e.tokenLength,o=e.prevOffset,l=e.children,u=c[c.length-1],d=s.substr(u.prevOffset,n-u.prevOffset);d&&u.children.push(d),u.children.push(a.cloneElement.apply(void 0,[t,null].concat(i(l)))),u.prevOffset=o||n+r}function y(e){var t=function(){var e=d.exec(s);if(null===e)return["no-more-tokens"];var t=e.index,n=o(e,4),r=n[0],a=n[1],i=n[2],l=n[3],u=r.length;return l?["self-closed",i,t,u]:a?["closer",i,t,u]:["opener",i,t,u]}(),n=o(t,4),r=n[0],y=n[1],h=n[2],_=n[3],g=c.length,v=h>l?l:null;if(!e[y])return f(),!1;switch(r){case"no-more-tokens":if(0!==g){var w=c.pop(),b=w.leadingTextStart,E=w.tokenStart;u.push(s.substr(b,E))}return f(),!1;case"self-closed":return 0===g?(null!==v&&u.push(s.substr(v,h-v)),u.push(e[y]),l=h+_,!0):(m(p(e[y],h,_)),l=h+_,!0);case"opener":return c.push(p(e[y],h,_,h+_,v)),l=h+_,!0;case"closer":if(1===g)return function(e){var t=c.pop(),n=t.element,r=t.leadingTextStart,o=t.prevOffset,l=t.tokenStart,d=t.children,p=e?s.substr(o,e-o):s.substr(o);p&&d.push(p),null!==r&&u.push(s.substr(r,l-r)),u.push(a.cloneElement.apply(void 0,[n,null].concat(i(d))))}(h),l=h+_,!0;var T=c.pop(),k=s.substr(T.prevOffset,h-T.prevOffset);T.children.push(k),T.prevOffset=h+_;var S=p(T.element,T.tokenStart,T.tokenLength,h+_);return S.children=T.children,m(S),l=h+_,!0;default:return f(),!1}}t.default=function(e,t){if(s=e,l=0,u=[],c=[],d.lastIndex=0,!function(e){var t="object"===(void 0===e?"undefined":r(e)),n=t&&Object.values(e);return t&&n.length&&n.every(function(e){return(0,a.isValidElement)(e)})}(t))throw new TypeError("The conversionMap provided is not valid. It must be an object with values that are WPElements");do{}while(y(t));return a.createElement.apply(void 0,[a.Fragment,null].concat(i(u)))}},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,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},o=a(n(1));function a(e){return e&&e.__esModule?e:{default:e}}var i=a(n(8)).default.svg.withConfig({displayName:"PluginIcon__PluginIconSVG",componentId:"kdw68a-0"})(["width:","px;height:","px;&&& path{fill:",";}&&& circle.yoast-icon-readability-score{fill:",";display:",";}&&& circle.yoast-icon-seo-score{fill:",";display:",";}"],function(e){return e.size},function(e){return e.size},function(e){return e.color},function(e){return e.readabilityScoreColor},function(e){return e.isContentAnalysisActive?"inline":"none"},function(e){return e.seoScoreColor},function(e){return e.isKeywordAnalysisActive?"inline":"none"}),s=function(e){return wp.element.createElement(i,r({},e,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 646.66 456.27"}),wp.element.createElement("path",{d:"M73,405.26a68.53,68.53,0,0,1-12.82-4c-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.92q-2.64-2-5.08-4.19a68.26,68.26,0,0,1-8.4-9.17c-.92-1.2-1.68-2.25-2.35-3.24q-1.84-2.73-3.44-5.64a68.26,68.26,0,0,1-8.29-32.55V142.13a68.29,68.29,0,0,1,8.29-32.55,58.6,58.6,0,0,1,3.44-5.64,57.53,57.53,0,0,1,4-5.27A69.64,69.64,0,0,1,48.56,85.42,56.06,56.06,0,0,1,54.2,82,67.78,67.78,0,0,1,73,75.09,69.79,69.79,0,0,1,86.75,73.7H256.41L263,55.39H86.75A86.84,86.84,0,0,0,0,142.13V338.22A86.83,86.83,0,0,0,86.75,425H98.07V406.65H86.75A68.31,68.31,0,0,1,73,405.26ZM368.55,60.85l-1.41-.53L360.73,77.5l1.41.53a68.58,68.58,0,0,1,8.66,4,58.65,58.65,0,0,1,5.65,3.43A69.49,69.49,0,0,1,391,98.67c1.4,1.68,2.72,3.46,3.95,5.27s2.39,3.72,3.44,5.64a68.32,68.32,0,0,1,8.29,32.55V406.65H233.55l-.44.76c-3.07,5.37-6.26,10.48-9.49,15.19L222,425H425V142.13A87.19,87.19,0,0,0,368.55,60.85Z",fill:"#000001"}),wp.element.createElement("path",{d:"M303.66,0l-96.8,268.87-47.58-149H101.1l72.72,186.78a73.61,73.61,0,0,1,0,53.73c-7.07,18.07-19.63,39.63-54.36,46l-1.56.29v49.57l2-.08c29-1.14,51.57-10.72,70.89-30.14,19.69-19.79,36.55-50.52,53-96.68L366.68,0Z",fill:"#000001"}),wp.element.createElement("circle",{className:"yoast-icon-readability-score",cx:"561.26",cy:"142.43",r:"85.04",fill:"#000001",stroke:"#181716",strokeMiterlimit:"10",strokeWidth:"0.72"}),wp.element.createElement("circle",{className:"yoast-icon-seo-score",cx:"561.26",cy:"341.96",r:"85.04",fill:"#000001",stroke:"#181716",strokeMiterlimit:"10",strokeWidth:"0.72"}))};s.propTypes={readabilityScoreColor:o.default.string,isContentAnalysisActive:o.default.bool,seoScoreColor:o.default.string,isKeywordAnalysisActive:o.default.bool,size:o.default.number,color:o.default.string},s.defaultProps={readabilityScoreColor:"#000000",isContentAnalysisActive:!1,seoScoreColor:"#000000",isKeywordAnalysisActive:!1,size:20,color:"#000001"},t.default=s},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";var r=a(n(365)),o=a(n(387));function a(e){return e&&e.__esModule?e:{default:e}}window.yoast=window.yoast||{},window.yoast.initEditorIntegration=r.default,window.yoast.EditorData=o.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){(function(e){var t=(0,E.default)(),n=t.isPremium,u=n?"Yoast SEO Premium":"Yoast SEO",c=wp.element.createElement(T.default,null);(0,i.updateCategory)("yoast-structured-data-blocks",{icon:c}),(0,i.updateCategory)("yoast-internal-linking-blocks",{icon:c});var y={isRtl:t.isRtl},h=e.getState().preferences,g=h.isKeywordAnalysisActive||h.isContentAnalysisActive,k=h.isZapierIntegrationActive&&!h.isZapierConnected;(0,s.select)("core/edit-post").getPreferences().panels["yoast-seo/document-panel"]||(0,s.dispatch)("core/edit-post").toggleEditorPanelOpened("yoast-seo/document-panel");(0,o.registerPlugin)("yoast-seo",{render:function(){return wp.element.createElement(a.Fragment,null,wp.element.createElement(r.PluginSidebarMoreMenuItem,{target:"seo-sidebar",icon:wp.element.createElement(p.default,null)},u),wp.element.createElement(r.PluginSidebar,{name:"seo-sidebar",title:u},wp.element.createElement(_.default,{store:e,theme:y})),wp.element.createElement(a.Fragment,null,wp.element.createElement(f.default,{store:e,theme:y}),wp.element.createElement(m.default,{target:"wpseo-metabox-root",store:e,theme:y})),g&&wp.element.createElement(r.PluginPrePublishPanel,{className:"yoast-seo-sidebar-panel",title:(0,l.__)("Yoast SEO","wordpress-seo"),initialOpen:!0,icon:wp.element.createElement(a.Fragment,null)},wp.element.createElement(v.default,null)),n&&k&&wp.element.createElement(r.PluginPrePublishPanel,{className:"yoast-seo-sidebar-panel",title:"Zapier",initialOpen:!0,icon:wp.element.createElement(a.Fragment,null)},wp.element.createElement(d.Slot,{name:"YoastZapierPrePublish"})),wp.element.createElement(r.PluginPostPublishPanel,{className:"yoast-seo-sidebar-panel",title:(0,l.__)("Yoast SEO","wordpress-seo"),initialOpen:!0,icon:wp.element.createElement(a.Fragment,null)},wp.element.createElement(b.default,null)),g&&wp.element.createElement(r.PluginDocumentSettingPanel,{name:"document-panel",className:"yoast-seo-sidebar-panel",title:(0,l.__)("Yoast SEO","wordpress-seo"),icon:wp.element.createElement(a.Fragment,null)},wp.element.createElement(w.default,null)))},icon:wp.element.createElement(p.default,null)})})(e),"function"==typeof(0,c.get)(window,"wp.blockEditor.__experimentalLinkControl")?[g.link].forEach(function(e){var t=e.name,n=e.replaces,r=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,["name","replaces"]);n&&(0,s.dispatch)("core/rich-text").removeFormatTypes(n),t&&(0,u.registerFormatType)(t,r)}):console.warn((0,l.__)("Marking links with nofollow/sponsored has been disabled for WordPress installs < 5.4.","wordpress-seo")+" "+(0,l.sprintf)((0,l.__)("Please upgrade your WordPress version or install the Gutenberg plugin to get this %1$s feature.","wordpress-seo"),"Yoast SEO")),function(e){(0,h.isAnnotationAvailable)()&&e.dispatch((0,y.setMarkerStatus)("enabled"))}(e)};var r=n(366),o=n(367),a=n(4),i=n(139),s=n(7),l=n(3),u=n(93),c=n(0),d=n(12),p=k(n(368)),f=k(n(369)),m=k(n(253)),y=n(16),h=n(147),_=k(n(374)),g=n(375),v=k(n(379)),w=k(n(381)),b=k(n(383)),E=k(n(9)),T=k(n(314));function k(e){return e&&e.__esModule?e:{default:e}}},function(e,t){e.exports=window.wp.editPost},function(e,t){e.exports=window.wp.plugins},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(7),o=n(10),a=n(18),i=l(n(21)),s=l(n(314));function l(e){return e&&e.__esModule?e:{default:e}}t.default=(0,o.compose)([(0,r.withSelect)(function(e){var t=e("yoast-seo/editor"),n=(0,i.default)(t.getResultsForFocusKeyword().overallScore),r=(0,i.default)(t.getReadabilityResults().overallScore),o=t.getPreferences(),s=o.isKeywordAnalysisActive,l=o.isContentAnalysisActive,u=void 0;switch(r.className){case"good":u=a.colors.$color_good;break;case"ok":u=a.colors.$color_ok;break;case"bad":u=a.colors.$color_bad;break;default:u=a.colors.$color_score_icon}var c=void 0;switch(n.className){case"good":c=a.colors.$color_good;break;case"ok":c=a.colors.$color_ok;break;case"bad":c=a.colors.$color_bad;break;default:c=a.colors.$color_score_icon}return{readabilityScoreColor:u,seoScoreColor:c,isKeywordAnalysisActive:s,isContentAnalysisActive:l}})])(s.default)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(e){return e&&e.__esModule?e:{default:e}}(n(370)),o=n(17);t.default=(0,o.connect)(function(e,t){return{settings:e.preferences,store:t.store}})(r.default)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=w;var r=n(12),o=n(4),a=v(n(1)),i=n(3),s=v(n(140)),l=v(n(235)),u=v(n(141)),c=v(n(142)),d=v(n(143)),p=v(n(97)),f=v(n(371)),m=v(n(372)),y=v(n(373)),h=v(n(144)),_=v(n(31)),g=v(n(145));function v(e){return e&&e.__esModule?e:{default:e}}function w(e){var t=e.settings;return wp.element.createElement(o.Fragment,null,wp.element.createElement(r.Fill,{name:"YoastSidebar"},wp.element.createElement(p.default,{renderPriority:1},wp.element.createElement(l.default,null)),t.isKeywordAnalysisActive&&wp.element.createElement(p.default,{renderPriority:8},wp.element.createElement(u.default,{isSEMrushIntegrationActive:t.isSEMrushIntegrationActive})),wp.element.createElement(p.default,{renderPriority:23},wp.element.createElement(f.default,null)),t.displayFacebook&&wp.element.createElement(p.default,{renderPriority:24},wp.element.createElement(y.default,null)),t.displayTwitter&&wp.element.createElement(p.default,{renderPriority:25},wp.element.createElement(m.default,null)),t.displaySchemaSettings&&wp.element.createElement(p.default,{renderPriority:26},wp.element.createElement(_.default,{title:(0,i.__)("Schema","wordpress-seo")},wp.element.createElement(h.default,null))),t.displayAdvancedTab&&wp.element.createElement(p.default,{renderPriority:27},wp.element.createElement(_.default,{title:(0,i.__)("Advanced","wordpress-seo")},wp.element.createElement(g.default,null))),t.isContentAnalysisActive&&wp.element.createElement(p.default,{renderPriority:10},wp.element.createElement(c.default,null)),t.isKeywordAnalysisActive&&wp.element.createElement(p.default,{renderPriority:20},wp.element.createElement(d.default,{shouldUpsell:t.shouldUpsell,shouldUpsellWordFormRecognition:t.isWordFormRecognitionActive})),t.isCornerstoneActive&&wp.element.createElement(p.default,{renderPriority:30},wp.element.createElement(s.default,null))))}w.propTypes={settings:a.default.object.isRequired}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(3),o=i(n(82)),a=i(n(236));function i(e){return e&&e.__esModule?e:{default:e}}t.default=function(){return wp.element.createElement(o.default,{title:(0,r.__)("Google preview","wordpress-seo"),id:"yoast-google-preview-modal"},wp.element.createElement(a.default,{showCloseButton:!1,hasPaperStyle:!1}))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(3),o=i(n(82)),a=i(n(237));function i(e){return e&&e.__esModule?e:{default:e}}t.default=function(){return wp.element.createElement(o.default,{title:(0,r.__)("Twitter preview","wordpress-seo"),id:"yoast-twitter-preview-modal"},wp.element.createElement(a.default,null))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(3),o=i(n(82)),a=i(n(238));function i(e){return e&&e.__esModule?e:{default:e}}t.default=function(){return wp.element.createElement(o.default,{title:(0,r.__)("Facebook preview","wordpress-seo"),id:"yoast-facebook-preview-modal"},wp.element.createElement(a.default,null))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.store,n=e.theme;return wp.element.createElement(a.default,{store:t,theme:n,location:"sidebar"},wp.element.createElement(r.Slot,{name:"YoastSidebar"},function(e){return(0,o.default)(e)}))};var r=n(12),o=i(n(146)),a=i(n(99));function i(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.link=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}}(),o=n(3),a=n(4),i=n(12),s=n(93),l=n(56),u=n(376),c=function(e){return e&&e.__esModule?e:{default:e}}(n(377));var d="core/link",p=(0,o.__)("Link","wordpress-seo");t.link={name:d,title:p,tagName:"a",className:null,attributes:{url:"href",target:"target",rel:"rel"},replaces:"core/link",__unstablePasteRule:function(e,t){var n=t.html,r=t.plainText;if((0,s.isCollapsed)(e))return e;var o=(n||r).replace(/<[^>]+>/g,"").trim();return(0,l.isURL)(o)?(window.console.log("Created link:\n\n",o),(0,s.applyFormat)(e,{type:d,attributes:{url:(0,u.decodeEntities)(o)}})):e},edit:(0,i.withSpokenMessages)(function(e){function t(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var e=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 e.addLink=e.addLink.bind(e),e.stopAddingLink=e.stopAddingLink.bind(e),e.onRemoveFormat=e.onRemoveFormat.bind(e),e.state={addingLink:!1},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:"addLink",value:function(){var e=this.props,t=e.value,n=e.onChange,r=(0,s.getTextContent)((0,s.slice)(t));r&&(0,l.isURL)(r)?n((0,s.applyFormat)(t,{type:d,attributes:{url:r}})):r&&(0,l.isEmail)(r)?n((0,s.applyFormat)(t,{type:d,attributes:{url:"mailto:"+r}})):this.setState({addingLink:!0})}},{key:"stopAddingLink",value:function(){this.setState({addingLink:!1}),this.props.onFocus()}},{key:"onRemoveFormat",value:function(){var e=this.props,t=e.value,n=e.onChange,r=e.speak;n((0,s.removeFormat)(t,d)),r((0,o.__)("Link removed.","wordpress-seo"),"assertive")}},{key:"render",value:function(){var e=this.props,t=e.isActive,n=e.activeAttributes,r=e.value,i=e.onChange,s=window.wp.blockEditor,l=s.RichTextToolbarButton,u=s.RichTextShortcut;return wp.element.createElement(a.Fragment,null,wp.element.createElement(u,{type:"primary",character:"k",onUse:this.addLink}),wp.element.createElement(u,{type:"primaryShift",character:"k",onUse:this.onRemoveFormat}),t&&wp.element.createElement(l,{name:"link",icon:"editor-unlink",title:(0,o.__)("Unlink","wordpress-seo"),onClick:this.onRemoveFormat,isActive:t,shortcutType:"primaryShift",shortcutCharacter:"k"}),!t&&wp.element.createElement(l,{name:"link",icon:"admin-links",title:p,onClick:this.addLink,isActive:t,shortcutType:"primary",shortcutCharacter:"k"}),(this.state.addingLink||t)&&wp.element.createElement(c.default,{addingLink:this.state.addingLink,stopAddingLink:this.stopAddingLink,isActive:t,activeAttributes:n,value:r,onChange:i}))}}]),t}())}},function(e,t){e.exports=window.wp.htmlEntities},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},o=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,o=!1,a=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){o=!0,a=e}finally{try{!r&&s.return&&s.return()}finally{if(o)throw a}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),a=n(0),i=n(4),s=n(3),l=n(12),u=n(56),c=n(93),d=n(378),p=m(n(33)),f=m(n(260));function m(e){return e&&e.__esModule?e:{default:e}}t.default=(0,l.withSpokenMessages)(function(e){var t=e.isActive,n=e.activeAttributes,m=e.addingLink,y=e.value,h=e.onChange,_=e.speak,g=e.stopAddingLink,v=(0,i.useMemo)(a.uniqueId,[m]),w=(0,i.useState)(),b=o(w,2),E=b[0],T=b[1],k=(0,i.useMemo)(function(){var e=window.getSelection();if(e.rangeCount){var n=e.getRangeAt(0);if(m&&!t)return n;var r=n.startContainer;for(r=r.nextElementSibling||r;r.nodeType!==window.Node.ELEMENT_NODE;)r=r.parentNode;return r.closest("a")}},[m,y.start,y.end]),S=r({url:n.url,type:n.type,id:n.id,opensInNewTab:"_blank"===n.target,noFollow:n.rel&&n.rel.split(" ").includes("nofollow"),sponsored:n.rel&&n.rel.split(" ").includes("sponsored")},E),O=wp.element.createElement(p.default,{href:window.wpseoAdminL10n["shortlinks.nofollow_sponsored"],className:"dashicons"},wp.element.createElement("span",{className:"screen-reader-text"},(0,s.__)("Learn more about marking a link as nofollow or sponsored.","wordpress-seo"))),R=(0,f.default)((0,s.sprintf)((0,s.__)("Search engines should ignore this link (mark as %1$snofollow%2$s)%3$s","wordpress-seo"),"<code>","</code>","<helplink />"),{code:wp.element.createElement("code",null),helplink:O}),P=(0,f.default)((0,s.sprintf)((0,s.__)("This is a sponsored link or advert (mark as %1$ssponsored%2$s)%3$s","wordpress-seo"),"<code>","</code>","<helplink />"),{code:wp.element.createElement("code",null),helplink:O}),A=[{id:"opensInNewTab",title:(0,s.__)("Open in new tab","wordpress-seo")},{id:"noFollow",title:R},{id:"sponsored",title:P}],C=window.wp.blockEditor.__experimentalLinkControl;return wp.element.createElement(l.Popover,{key:v,anchorRef:k,focusOnMount:!!m&&"firstElement",onClose:g,position:"bottom center"},wp.element.createElement(C,{value:S,onChange:function(e){e=r({},E,e);var n=S.url===e.url&&S.opensInNewTab!==e.opensInNewTab||S.noFollow!==e.noFollow||S.sponsored!==e.sponsored;n&&!0===e.sponsored&&!0!==S.sponsored&&(e.noFollow=!0),n&&!1===e.noFollow&&!1!==S.noFollow&&(e.sponsored=!1);var o=n&&void 0===e.url;if(T(o?e:void 0),!o){var a=(0,u.prependHTTP)(e.url),i=(0,d.createLinkFormat)({url:a,type:e.type,id:void 0!==e.id&&null!==e.id?String(e.id):void 0,opensInNewWindow:e.opensInNewTab,noFollow:e.noFollow,sponsored:e.sponsored});if((0,c.isCollapsed)(y)&&!t){var l=e.title||a,p=(0,c.applyFormat)((0,c.create)({text:l}),i,0,l.length);h((0,c.insert)(y,p))}else{var f=(0,c.applyFormat)(y,i);f.start=f.end,f.activeFormats=[],h(f)}n||g(),(0,d.isValidHref)(a)?_(t?(0,s.__)("Link edited.","wordpress-seo"):(0,s.__)("Link inserted.","wordpress-seo"),"assertive"):_((0,s.__)("Warning: the link has been inserted but may have errors. Please test it."),"assertive")}},forceIsEditingLink:m,settings:A}))})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isValidHref=function(e){if(!e)return!1;var t=e.trim();if(!t)return!1;if(/^\S+:/.test(t)){var n=(0,o.getProtocol)(t);if(!(0,o.isValidProtocol)(n))return!1;if((0,r.startsWith)(n,"http")&&!/^https?:\/\/[^\/\s]/i.test(t))return!1;var a=(0,o.getAuthority)(t);if(!(0,o.isValidAuthority)(a))return!1;var i=(0,o.getPath)(t);if(i&&!(0,o.isValidPath)(i))return!1;var s=(0,o.getQueryString)(t);if(s&&!(0,o.isValidQueryString)(s))return!1;var l=(0,o.getFragment)(t);if(l&&!(0,o.isValidFragment)(l))return!1}if((0,r.startsWith)(t,"#")&&!(0,o.isValidFragment)(t))return!1;return!0},t.createLinkFormat=function(e){var t=e.url,n=e.opensInNewWindow,o=e.noFollow,a=e.sponsored,i=(e.text,{type:"core/link",attributes:{url:t}}),s=[];n&&(i.attributes.target="_blank",s.push("noreferrer noopener"));a&&(s.push("sponsored"),s.push("nofollow"));o&&s.push("nofollow");s.length>0&&(s=(0,r.uniq)(s),i.attributes.rel=s.join(" "));return i};var r=n(0),o=(n(3),n(56))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(7),o=n(10),a=s(n(380)),i=s(n(21));function s(e){return e&&e.__esModule?e:{default:e}}t.default=(0,o.compose)([(0,r.withSelect)(function(e){var t=e("yoast-seo/editor"),n=t.getFocusKeyphrase(),r=(0,i.default)(t.getResultsForFocusKeyword().overallScore),o=(0,i.default)(t.getReadabilityResults().overallScore),a=t.getPreferences();return{focusKeyphrase:n,isKeywordAnalysisActive:a.isKeywordAnalysisActive,isContentAnalysisActive:a.isContentAnalysisActive,seoScore:r.className,seoScoreLabel:r.screenReaderReadabilityText,readabilityScore:o.className,readabilityScoreLabel:o.screenReaderReadabilityText}}),(0,r.withDispatch)(function(e){var t=e("core/edit-post"),n=t.closePublishSidebar,r=t.openGeneralSidebar;return{onClick:function(){n(),r("yoast-seo/seo-sidebar")}}})])(a.default)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=l;var r=function(e){return e&&e.__esModule?e:{default:e}}(n(1)),o=n(3),a=n(4),i=n(5),s=n(27);function l(e){var t=e.focusKeyphrase,n=e.isKeywordAnalysisActive,r=e.isContentAnalysisActive,l=e.seoScore,u=e.seoScoreLabel,c=e.readabilityScore,d=e.readabilityScoreLabel,p=e.onClick,f=!t,m=void 0,y=!("good"!==l&&n||"good"!==c&&r);return m=y?wp.element.createElement("p",null,(0,o.__)("We've analyzed your post. Everything looks good. Well done!","wordpress-seo")):wp.element.createElement("p",null,(0,o.__)("We've analyzed your post. There is still room for improvement!","wordpress-seo")),wp.element.createElement(a.Fragment,null,m,n&&f&&wp.element.createElement("div",null,wp.element.createElement(i.SvgIcon,(0,s.getIconForScore)("bad"))," ",(0,o.__)("No focus keyword was entered","wordpress-seo")),r&&wp.element.createElement("div",null,wp.element.createElement(i.SvgIcon,(0,s.getIconForScore)(c)),wp.element.createElement("span",null," ",(0,o.__)("Readability analysis:","wordpress-seo")," ",wp.element.createElement("strong",null,d))),n&&wp.element.createElement("div",null,wp.element.createElement(i.SvgIcon,(0,s.getIconForScore)(l)),wp.element.createElement("span",null," ",(0,o.__)("SEO analysis:","wordpress-seo")," ",wp.element.createElement("strong",null,u))),wp.element.createElement("br",null),!y&&wp.element.createElement(i.Button,{onClick:p},(0,o.__)("Improve your post with Yoast SEO","wordpress-seo")))}l.propTypes={focusKeyphrase:r.default.string.isRequired,isKeywordAnalysisActive:r.default.bool.isRequired,isContentAnalysisActive:r.default.bool.isRequired,seoScore:r.default.string.isRequired,seoScoreLabel:r.default.string.isRequired,readabilityScore:r.default.string.isRequired,readabilityScoreLabel:r.default.string.isRequired,onClick:r.default.func.isRequired}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(7),o=n(10),a=s(n(21)),i=s(n(382));function s(e){return e&&e.__esModule?e:{default:e}}t.default=(0,o.compose)([(0,r.withSelect)(function(e){var t=e("yoast-seo/editor"),n=t.getFocusKeyphrase(),r=(0,a.default)(t.getResultsForFocusKeyword().overallScore),o=(0,a.default)(t.getReadabilityResults().overallScore),i=t.getPreferences();return{focusKeyphrase:n,isKeywordAnalysisActive:i.isKeywordAnalysisActive,isContentAnalysisActive:i.isContentAnalysisActive,seoScore:r.className,seoScoreLabel:r.screenReaderReadabilityText,readabilityScore:o.className,readabilityScoreLabel:o.screenReaderReadabilityText}}),(0,r.withDispatch)(function(e){var t=e("core/edit-post").openGeneralSidebar;return{onClick:function(){t("yoast-seo/seo-sidebar")}}})])(i.default)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=l;var r=function(e){return e&&e.__esModule?e:{default:e}}(n(1)),o=n(3),a=n(4),i=n(5),s=n(27);function l(e){var t=e.isKeywordAnalysisActive,n=e.isContentAnalysisActive,r=e.seoScore,l=e.seoScoreLabel,u=e.readabilityScore,c=e.readabilityScoreLabel,d=e.onClick,p=!("good"!==r&&t||"good"!==u&&n);return wp.element.createElement(a.Fragment,null,n&&wp.element.createElement("div",null,wp.element.createElement(i.SvgIcon,(0,s.getIconForScore)(u)),wp.element.createElement("span",null," ",(0,o.__)("Readability analysis:","wordpress-seo")," ",wp.element.createElement("strong",null,c))),t&&wp.element.createElement("div",null,wp.element.createElement(i.SvgIcon,(0,s.getIconForScore)(r)),wp.element.createElement("span",null," ",(0,o.__)("SEO analysis:","wordpress-seo")," ",wp.element.createElement("strong",null,l))),wp.element.createElement("br",null),!p&&wp.element.createElement(i.Button,{onClick:d},(0,o.__)("Improve your post with Yoast SEO","wordpress-seo")))}l.propTypes={isKeywordAnalysisActive:r.default.bool.isRequired,isContentAnalysisActive:r.default.bool.isRequired,seoScore:r.default.string.isRequired,seoScoreLabel:r.default.string.isRequired,readabilityScore:r.default.string.isRequired,readabilityScoreLabel:r.default.string.isRequired,onClick:r.default.func.isRequired}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(7),o=n(10),a=function(e){return e&&e.__esModule?e:{default:e}}(n(384));t.default=(0,o.compose)([(0,r.withSelect)(function(e){return{permalink:e("core/editor").getPermalink()}})])(a.default)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=u;var r=l(n(1)),o=n(3),a=n(4),i=l(n(385)),s=l(n(386));function l(e){return e&&e.__esModule?e:{default:e}}function u(e){var t=e.permalink,n=encodeURI(t);return wp.element.createElement(a.Fragment,null,wp.element.createElement("div",null,(0,o.__)("Share your post!","wordpress-seo")),wp.element.createElement("ul",{className:"yoast-seo-social-share-buttons"},wp.element.createElement("li",null,wp.element.createElement("a",{href:"https://www.facebook.com/sharer/sharer.php?u="+n,target:"_blank",rel:"noopener noreferrer"},wp.element.createElement(i.default,null))),wp.element.createElement("li",null,wp.element.createElement("a",{href:"https://twitter.com/share?url="+n,target:"_blank",rel:"noopener noreferrer"},wp.element.createElement(s.default,null)))))}u.propTypes={permalink:r.default.string.isRequired}},function(e,t,n){var r=n(2);function o(e){return r.createElement("svg",e,r.createElement("g",{fill:"none",fillRule:"evenodd"},[r.createElement("path",{fill:"#1877f2",d:"M1600 800a800 800 0 1 0-925 790v-559H472V800h203V624c0-201 119-311 302-311 88 0 179 15 179 15v197h-101c-99 0-130 62-130 125v150h222l-36 231H925v559a800 800 0 0 0 675-790",key:0}),r.createElement("path",{fill:"#fff",d:"M1147 800H925V650c0-63 31-125 130-125h101V328s-91-15-179-15c-183 0-302 110-302 311v176H472v231h203v559a806 806 0 0 0 250 0v-559h186z",key:1})]))}o.defaultProps={viewBox:"0 0 1600 1600",role:"img","aria-hidden":"true",focusable:"false"},e.exports=o,o.default=o},function(e,t,n){var r=n(2);function o(e){return r.createElement("svg",e,[r.createElement("circle",{cx:"200",cy:"200",r:"200",fill:"#1da1f2",key:0}),r.createElement("path",{d:"M163.4 305.5c88.7 0 137.2-73.5 137.2-137.2 0-2.1 0-4.2-.1-6.2 9.4-6.8 17.6-15.3 24.1-25-8.6 3.8-17.9 6.4-27.7 7.6 10-6 17.6-15.4 21.2-26.7-9.3 5.5-19.6 9.5-30.6 11.7-8.8-9.4-21.3-15.2-35.2-15.2-26.6 0-48.2 21.6-48.2 48.2 0 3.8.4 7.5 1.3 11-40.1-2-75.6-21.2-99.4-50.4-4.1 7.1-6.5 15.4-6.5 24.2 0 16.7 8.5 31.5 21.5 40.1-7.9-.2-15.3-2.4-21.8-6v.6c0 23.4 16.6 42.8 38.7 47.3-4 1.1-8.3 1.7-12.7 1.7-3.1 0-6.1-.3-9.1-.9 6.1 19.2 23.9 33.1 45 33.5-16.5 12.9-37.3 20.6-59.9 20.6-3.9 0-7.7-.2-11.5-.7 21.1 13.8 46.5 21.8 73.7 21.8",fill:"#fff",key:1})])}o.defaultProps={viewBox:"0 0 400 400",role:"img","aria-hidden":"true",focusable:"false"},e.exports=o,o.default=o},function(e,t,n){"use strict";(function(e){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},o=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(0),i=n(11),s=n(7),l=n(13),u=n(37),c=n(30),d=n(147);var p=e.jQuery,f=function(){function e(t,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._refresh=t,this._store=n,this._data={},this.getPostAttribute=this.getPostAttribute.bind(this),this.refreshYoastSEO=this.refreshYoastSEO.bind(this)}return o(e,[{key:"initialize",value:function(e){this._data=this.getInitialData(e),(0,c.fillReplacementVariables)(this._data,this._store),this.subscribeToGutenberg(),this.subscribeToYoastSEO()}},{key:"getInitialData",value:function(e){var t=this.collectGutenbergData(this.getPostAttribute);return e=(0,c.mapCustomFields)(e,this._store),e=(0,c.mapCustomTaxonomies)(e,this._store),r({},e,t)}},{key:"setRefresh",value:function(e){this._refresh=e}},{key:"isShallowEqual",value:function(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(var n in e)if(e.hasOwnProperty(n)&&(!(n in t)||e[n]!==t[n]))return!1;return!0}},{key:"getMediaById",value:function(e){return this._coreDataSelect||(this._coreDataSelect=(0,s.select)("core")),this._coreDataSelect.getMedia(e)}},{key:"getPostAttribute",value:function(e){return this._coreEditorSelect||(this._coreEditorSelect=(0,s.select)("core/editor")),this._coreEditorSelect.getEditedPostAttribute(e)}},{key:"getSlug",value:function(){if("auto-draft"===this.getPostAttribute("status"))return"";var e=this.getPostAttribute("generated_slug")||"";"auto-draft"===e&&(e="");var t=this.getPostAttribute("slug")||e;return decodeURIComponent(t)}},{key:"collectGutenbergData",value:function(){return{content:this.getPostAttribute("content"),title:this.getPostAttribute("title")||"",slug:this.getSlug(),excerpt:this.getExcerpt(),excerpt_only:this.getExcerpt(!1),snippetPreviewImageURL:this.getFeaturedImage()||this.getContentImage(),contentImage:this.getContentImage()}}},{key:"getFeaturedImage",value:function(){var e=this.getPostAttribute("featured_media");if(e){var t=this.getMediaById(e);if(t)return t.source_url}return null}},{key:"getContentImage",value:function(){var e=this._coreEditorSelect.getEditedPostContent(),t=i.string.imageInText(e),n="";if(0===t.length)return"";do{var r=t.shift(),o=(r=p(r)).prop("src");o&&(n=o)}while(""===n&&t.length>0);return n}},{key:"handleEditorChange",value:function(e){this._data.title!==e.title&&this._store.dispatch((0,l.updateReplacementVariable)("title",e.title)),this._data.excerpt!==e.excerpt&&(this._store.dispatch((0,l.updateReplacementVariable)("excerpt",e.excerpt)),this._store.dispatch((0,l.updateReplacementVariable)("excerpt_only",e.excerpt_only))),this._data.slug!==e.slug&&this._store.dispatch((0,l.updateData)({slug:e.slug})),this._data.snippetPreviewImageURL!==e.snippetPreviewImageURL&&this._store.dispatch((0,l.updateData)({snippetPreviewImageURL:e.snippetPreviewImageURL})),this._data.contentImage!==e.contentImage&&this._store.dispatch((0,u.setContentImage)(e.contentImage))}},{key:"getExcerpt",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t=this.getPostAttribute("excerpt")||"";return""!==t||!1===e?t:(0,c.excerptFromContent)(this.getPostAttribute("content"))}},{key:"reapplyMarkers",value:function(){var e=(0,s.select)("yoast-seo/editor"),t=e.getActiveMarker,n=e.getMarkerPauseStatus,r=t(),o=n();r&&!o&&(0,d.reapplyAnnotationsForSelectedBlock)()}},{key:"refreshYoastSEO",value:function(){var e=this.collectGutenbergData();!this.isShallowEqual(this._data,e)&&(this.handleEditorChange(e),this._data=e,this._refresh())}},{key:"areNewAnalysisResultsAvailable",value:function(){var e=(0,s.select)("yoast-seo/editor"),t=e.getReadabilityResults(),n=e.getResultsForFocusKeyword();return(this._previousReadabilityResults!==t||this._previousSeoResults!==n)&&(this._previousReadabilityResults=t,this._previousSeoResults=n,!0)}},{key:"onNewAnalysisResultsAvailable",value:function(){this.reapplyMarkers()}},{key:"subscribeToGutenberg",value:function(){this.subscriber=(0,a.debounce)(this.refreshYoastSEO,500),(0,s.subscribe)(this.subscriber)}},{key:"subscribeToYoastSEO",value:function(){var e=this;this.yoastSubscriber=function(){e.areNewAnalysisResultsAvailable()&&e.onNewAnalysisResultsAvailable()},(0,s.subscribe)(this.yoastSubscriber)}},{key:"getData",value:function(){return this._data}}]),e}();t.default=f}).call(this,n(100))}],[[364,0]]]);