(window.yoastWebpackJsonp=window.yoastWebpackJsonp||[]).push([[7],[function(e,t){e.exports=React},,function(e,t,n){e.exports=n(110)()},function(e,t){var n=Array.isArray;e.exports=n},function(e,t,n){var r=n(40),o="object"==typeof self&&self&&self.Object===Object&&self,i=r||o||Function("return this")();e.exports=i},function(e,t){e.exports=window.wp.i18n},function(e,t){e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},function(e,t){e.exports=function(e){return null!=e&&"object"==typeof e}},function(e,t,n){var r=n(10),o=n(58),i=n(59),a="[object Null]",s="[object Undefined]",u=r?r.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?s:a:u&&u in Object(e)?o(e):i(e)}},function(e,t,n){var r=n(74),o=n(77);e.exports=function(e,t){var n=o(e,t);return r(n)?n:void 0}},function(e,t,n){var r=n(4).Symbol;e.exports=r},function(e,t){e.exports=window.yoast.styledComponents},function(e,t,n){var r=n(9)(Object,"create");e.exports=r},function(e,t,n){var r=n(27);e.exports=function(e,t){for(var n=e.length;n--;)if(r(e[n][0],t))return n;return-1}},function(e,t,n){var r=n(88);e.exports=function(e,t){var n=e.__data__;return r(t)?n["string"==typeof t?"string":"hash"]:n.map}},function(e,t,n){var r=n(8),o=n(7),i="[object Symbol]";e.exports=function(e){return"symbol"==typeof e||o(e)&&r(e)==i}},function(e,t){e.exports=window.wp.element},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){var r=n(35);e.exports=function(e,t,n){var o=null==e?void 0:r(e,t);return void 0===o?n:o}},function(e,t,n){var r=n(8),o=n(6),i="[object AsyncFunction]",a="[object Function]",s="[object GeneratorFunction]",u="[object Proxy]";e.exports=function(e){if(!o(e))return!1;var t=r(e);return t==a||t==s||t==i||t==u}},function(e,t,n){var r=n(15),o=1/0;e.exports=function(e){if("string"==typeof e||r(e))return e;var t=e+"";return"0"==t&&1/e==-o?"-0":t}},,function(e,t,n){var r=n(19),o=n(48);e.exports=function(e){return null!=e&&o(e.length)&&!r(e)}},,,function(e,t){e.exports=function(e){return void 0===e}},function(e,t){e.exports=window.yoast.componentsNew},function(e,t){e.exports=function(e,t){return e===t||e!=e&&t!=t}},function(e,t){e.exports=window.yoast.helpers},function(e,t,n){var r=n(3),o=n(36),i=n(69),a=n(60);e.exports=function(e,t){return r(e)?e:o(e,t)?[e]:i(a(e))}},function(e,t,n){var r=n(82),o=n(83),i=n(84),a=n(85),s=n(86);function u(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t2&&void 0!==arguments[2]?arguments[2]:"",o="string"==typeof t?(0,r.decodeHTML)(t):t;return{type:a,name:e,value:o,label:n}},t.updateWordsToHighlight=function(e){return{type:l,wordsToHighlight:e}},t.removeReplacementVariable=function(e){return{type:s,name:e}},t.refreshSnippetEditor=function(){return{type:u,time:(new Date).getMilliseconds()}};var r=n(28),o=t.SWITCH_MODE="SNIPPET_EDITOR_SWITCH_MODE",i=t.UPDATE_DATA="SNIPPET_EDITOR_UPDATE_DATA",a=t.UPDATE_REPLACEMENT_VARIABLE="SNIPPET_EDITOR_UPDATE_REPLACEMENT_VARIABLE",s=t.REMOVE_REPLACEMENT_VARIABLE="SNIPPET_EDITOR_REMOVE_REPLACEMENT_VARIABLE",u=t.REFRESH="SNIPPET_EDITOR_REFRESH",l=t.UPDATE_WORDS_TO_HIGHLIGHT="SNIPPET_EDITOR_UPDATE_WORDS_TO_HIGHLIGHT"},function(e,t){e.exports=window.yoast.analysis},function(e,t,n){(function(t){var n="object"==typeof t&&t&&t.Object===Object&&t;e.exports=n}).call(this,n(17))},function(e,t,n){var r=n(134),o=n(7),i=Object.prototype,a=i.hasOwnProperty,s=i.propertyIsEnumerable,u=r(function(){return arguments}())?r:function(e){return o(e)&&a.call(e,"callee")&&!s.call(e,"callee")};e.exports=u},function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},function(e,t){e.exports=function(e){return e}},function(e,t,n){(function(e){var r=n(4),o=n(135),i="object"==typeof t&&t&&!t.nodeType&&t,a=i&&"object"==typeof e&&e&&!e.nodeType&&e,s=a&&a.exports===i?r.Buffer:void 0,u=(s?s.isBuffer:void 0)||o;e.exports=u}).call(this,n(42)(e))},,,function(e,t){var n=Function.prototype.toString;e.exports=function(e){if(null!=e){try{return n.call(e)}catch(e){}try{return e+""}catch(e){}}return""}},function(e,t){var n=9007199254740991;e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=n}},function(e,t,n){"use strict";n.r(t);var r=n(0),o=n(2),i=n.n(o),a=i.a.shape({trySubscribe:i.a.func.isRequired,tryUnsubscribe:i.a.func.isRequired,notifyNestedSubs:i.a.func.isRequired,isSubscribed:i.a.func.isRequired}),s=i.a.shape({subscribe:i.a.func.isRequired,dispatch:i.a.func.isRequired,getState:i.a.func.isRequired});function u(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"store",n=arguments[1]||t+"Subscription",o=function(e){function o(n,r){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,o);var i=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,e.call(this,n,r));return i[t]=n.store,i}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)}(o,e),o.prototype.getChildContext=function(){var e;return(e={})[t]=this[t],e[n]=null,e},o.prototype.render=function(){return r.Children.only(this.props.children)},o}(r.Component);return o.propTypes={store:s.isRequired,children:i.a.element.isRequired},o.childContextTypes=((e={})[t]=s.isRequired,e[n]=a,e),o}var l=u(),c=n(223),f=n.n(c),p=n(57),d=n.n(p);var y=null,h={notify:function(){}};var v=function(){function e(t,n,r){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.store=t,this.parentSub=n,this.onStateChange=r,this.unsubscribe=null,this.listeners=h}return e.prototype.addNestedSub=function(e){return this.trySubscribe(),this.listeners.subscribe(e)},e.prototype.notifyNestedSubs=function(){this.listeners.notify()},e.prototype.isSubscribed=function(){return Boolean(this.unsubscribe)},e.prototype.trySubscribe=function(){this.unsubscribe||(this.unsubscribe=this.parentSub?this.parentSub.addNestedSub(this.onStateChange):this.store.subscribe(this.onStateChange),this.listeners=function(){var e=[],t=[];return{clear:function(){t=y,e=y},notify:function(){for(var n=e=t,r=0;r1&&void 0!==arguments[1]?arguments[1]:{},i=o.getDisplayName,u=void 0===i?function(e){return"ConnectAdvanced("+e+")"}:i,l=o.methodName,c=void 0===l?"connectAdvanced":l,p=o.renderCountProp,y=void 0===p?void 0:p,h=o.shouldHandleStateChanges,w=void 0===h||h,E=o.storeKey,O=void 0===E?"store":E,S=o.withRef,x=void 0!==S&&S,k=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}(o,["getDisplayName","methodName","renderCountProp","shouldHandleStateChanges","storeKey","withRef"]),P=O+"Subscription",j=g++,T=((t={})[O]=s,t[P]=a,t),M=((n={})[P]=a,n);return function(t){d()("function"==typeof t,"You must pass a component to the function returned by connect. Instead received "+JSON.stringify(t));var n=t.displayName||t.name||"Component",o=u(n),i=m({},k,{getDisplayName:u,methodName:c,renderCountProp:y,shouldHandleStateChanges:w,storeKey:O,withRef:x,displayName:o,wrappedComponentName:n,WrappedComponent:t}),a=function(n){function a(e,t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a);var r=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,n.call(this,e,t));return r.version=j,r.state={},r.renderCount=0,r.store=e[O]||t[O],r.propsMode=Boolean(e[O]),r.setWrappedInstance=r.setWrappedInstance.bind(r),d()(r.store,'Could not find "'+O+'" in either the context or props of "'+o+'". Either wrap the root component in a , or explicitly pass "'+O+'" as a prop to "'+o+'".'),r.initSelector(),r.initSubscription(),r}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)}(a,n),a.prototype.getChildContext=function(){var e,t=this.propsMode?null:this.subscription;return(e={})[P]=t||this.context[P],e},a.prototype.componentDidMount=function(){w&&(this.subscription.trySubscribe(),this.selector.run(this.props),this.selector.shouldComponentUpdate&&this.forceUpdate())},a.prototype.componentWillReceiveProps=function(e){this.selector.run(e)},a.prototype.shouldComponentUpdate=function(){return this.selector.shouldComponentUpdate},a.prototype.componentWillUnmount=function(){this.subscription&&this.subscription.tryUnsubscribe(),this.subscription=null,this.notifyNestedSubs=_,this.store=null,this.selector.run=_,this.selector.shouldComponentUpdate=!1},a.prototype.getWrappedInstance=function(){return d()(x,"To access the wrapped instance, you need to specify { withRef: true } in the options argument of the "+c+"() call."),this.wrappedInstance},a.prototype.setWrappedInstance=function(e){this.wrappedInstance=e},a.prototype.initSelector=function(){var t=e(this.store.dispatch,i);this.selector=function(e,t){var n={run:function(r){try{var o=e(t.getState(),r);(o!==n.props||n.error)&&(n.shouldComponentUpdate=!0,n.props=o,n.error=null)}catch(e){n.shouldComponentUpdate=!0,n.error=e}}};return n}(t,this.store),this.selector.run(this.props)},a.prototype.initSubscription=function(){if(w){var e=(this.propsMode?this.props:this.context)[P];this.subscription=new v(this.store,e,this.onStateChange.bind(this)),this.notifyNestedSubs=this.subscription.notifyNestedSubs.bind(this.subscription)}},a.prototype.onStateChange=function(){this.selector.run(this.props),this.selector.shouldComponentUpdate?(this.componentDidUpdate=this.notifyNestedSubsOnComponentDidUpdate,this.setState(b)):this.notifyNestedSubs()},a.prototype.notifyNestedSubsOnComponentDidUpdate=function(){this.componentDidUpdate=void 0,this.notifyNestedSubs()},a.prototype.isSubscribed=function(){return Boolean(this.subscription)&&this.subscription.isSubscribed()},a.prototype.addExtraProps=function(e){if(!(x||y||this.propsMode&&this.subscription))return e;var t=m({},e);return x&&(t.ref=this.setWrappedInstance),y&&(t[y]=this.renderCount++),this.propsMode&&this.subscription&&(t[P]=this.subscription),t},a.prototype.render=function(){var e=this.selector;if(e.shouldComponentUpdate=!1,e.error)throw e.error;return Object(r.createElement)(t,this.addExtraProps(e.props))},a}(r.Component);return a.WrappedComponent=t,a.displayName=o,a.childContextTypes=M,a.contextTypes=T,a.propTypes=T,f()(a,t)}}var E=Object.prototype.hasOwnProperty;function O(e,t){return e===t?0!==e||0!==t||1/e==1/t:e!=e&&t!=t}function S(e,t){if(O(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(var o=0;o=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(t,["initMapStateToProps","initMapDispatchToProps","initMergeProps"]),a=n(e,i),s=r(e,i),u=o(e,i);return(i.pure?D:I)(a,s,u,e,i)}var N=Object.assign||function(e){for(var t=1;t=0;r--){var o=t[r](e);if(o)return o}return function(t,r){throw new Error("Invalid value of type "+typeof e+" for "+n+" argument when connecting component "+r.wrappedComponentName+".")}}function U(e,t){return e===t}var F=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.connectHOC,n=void 0===t?w:t,r=e.mapStateToPropsFactories,o=void 0===r?M:r,i=e.mapDispatchToPropsFactories,a=void 0===i?T:i,s=e.mergePropsFactories,u=void 0===s?C:s,l=e.selectorFactory,c=void 0===l?L:l;return function(e,t,r){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},s=i.pure,l=void 0===s||s,f=i.areStatesEqual,p=void 0===f?U:f,d=i.areOwnPropsEqual,y=void 0===d?S:d,h=i.areStatePropsEqual,v=void 0===h?S:h,m=i.areMergedPropsEqual,g=void 0===m?S:m,b=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}(i,["pure","areStatesEqual","areOwnPropsEqual","areStatePropsEqual","areMergedPropsEqual"]),_=B(e,o,"mapStateToProps"),w=B(t,a,"mapDispatchToProps"),E=B(r,u,"mergeProps");return n(c,N({methodName:"connect",getDisplayName:function(e){return"Connect("+e+")"},shouldHandleStateChanges:Boolean(e),initMapStateToProps:_,initMapDispatchToProps:w,initMergeProps:E,pure:l,areStatesEqual:p,areOwnPropsEqual:y,areStatePropsEqual:v,areMergedPropsEqual:g},b))}}();n.d(t,"Provider",function(){return l}),n.d(t,"createProvider",function(){return u}),n.d(t,"connectAdvanced",function(){return w}),n.d(t,"connect",function(){return F})},function(e,t){var n=9007199254740991,r=/^(?:0|[1-9]\d*)$/;e.exports=function(e,t){var o=typeof e;return!!(t=null==t?n:t)&&("number"==o||"symbol"!=o&&r.test(e))&&e>-1&&e%1==0&&e-1}},function(e,t,n){var r=n(13);e.exports=function(e,t){var n=this.__data__,o=r(n,e);return o<0?(++this.size,n.push([e,t])):n[o][1]=t,this}},function(e,t,n){var r=n(14);e.exports=function(e){var t=r(this,e).delete(e);return this.size-=t?1:0,t}},function(e,t){e.exports=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}},function(e,t,n){var r=n(14);e.exports=function(e){return r(this,e).get(e)}},function(e,t,n){var r=n(14);e.exports=function(e){return r(this,e).has(e)}},function(e,t,n){var r=n(14);e.exports=function(e,t){var n=r(this,e),o=n.size;return n.set(e,t),this.size+=n.size==o?0:1,this}},function(e,t,n){(function(e){var r=n(40),o="object"==typeof t&&t&&!t.nodeType&&t,i=o&&"object"==typeof e&&e&&!e.nodeType&&e,a=i&&i.exports===o&&r.process,s=function(){try{var e=i&&i.require&&i.require("util").types;return e||a&&a.binding&&a.binding("util")}catch(e){}}();e.exports=s}).call(this,n(42)(e))},function(e,t){e.exports=function(e,t){for(var n=-1,r=t.length,o=e.length;++np))return!1;var y=c.get(e);if(y&&c.get(t))return y==t;var h=-1,v=!0,m=n&s?new r:void 0;for(c.set(e,t),c.set(t,e);++h "+u);if("componentClose"===f.type)throw new Error("Missing opening component token: `"+f.value+"`");if("componentOpen"===f.type){n=t[f.value],s=p;break}h.push(t[f.value])}else h.push(f.value);return n&&(c=function(e,t){var n,r,o=t[e],i=0;for(r=e+1;r0&&void 0!==arguments[0]?arguments[0]:{},t=arguments[1];if(s)throw s;for(var r=!1,o={},a=0;a1&&void 0!==arguments[1]?arguments[1]:"wpseoYoastJSL10n",n=(0,o.default)(window,[t,e,"locale_data",e],!1);!1===n?(0,r.setLocaleData)({"":{}},e):(0,r.setLocaleData)(n,e)}},function(e,t,n){var r=n(132),o=n(32);e.exports=function(e,t){return e&&r(e,t,o)}},function(e,t){e.exports=function(e){return function(t,n,r){for(var o=-1,i=Object(t),a=r(t),s=a.length;s--;){var u=a[e?s:++o];if(!1===n(i[u],u,i))break}return t}}},function(e,t,n){var r=n(22);e.exports=function(e,t){return function(n,o){if(null==n)return n;if(!r(n))return e(n,o);for(var i=n.length,a=t?i:-1,s=Object(n);(t?a--:++a1&&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=u(n(65)),i=u(n(313)),a=n(38),s=n(331);function u(e){return e&&e.__esModule?e:{default:e}}var l=t.nonReplaceVars=["slug","content"];function c(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 f(e){return e=c(e),(0,s.firstToUpperCase)(e)}function p(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"_";return e.replace(/\s/g,t)}function d(e){return{name:"cf_"+p(e),label:(0,s.firstToUpperCase)(e+" (custom field)")}}function y(e){var t=p(e);return{name:"ct_"+t,label:(0,s.firstToUpperCase)(e+" (custom taxonomy)"),descriptionName:"ct_desc_"+t,descriptionLabel:(0,s.firstToUpperCase)(e+" description (custom taxonomy)")}}},function(e,t,n){var r=n(197);e.exports=function(e){return null!=e&&e.length?r(e,1):[]}},function(e,t,n){var r=n(93),o=n(251);e.exports=function e(t,n,i,a,s){var u=-1,l=t.length;for(i||(i=o),s||(s=[]);++u0&&i(c)?n>1?e(c,n-1,i,a,s):r(s,c):a||(s[s.length]=c)}return s}},function(e,t){e.exports=function(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}},function(e,t,n){var r=n(200),o=n(130),i=n(43),a=o?function(e,t){return o(e,"toString",{configurable:!0,enumerable:!1,value:r(t),writable:!0})}:i;e.exports=a},function(e,t){e.exports=function(e){return function(){return e}}},function(e,t){var n=800,r=16,o=Date.now;e.exports=function(e){var t=0,i=0;return function(){var a=o(),s=r-(a-i);if(i=a,s>0){if(++t>=n)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=t.SET_FOCUS_KEYWORD="WPSEO_SET_FOCUS_KEYWORD";t.setFocusKeyword=function(e){return{type:r,keyword:e}}},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";var r=n(103),o=n(25);e.exports=function(){var e=r();return!o(e)&&"1"===e.keywordAnalysisActive}},function(e,t,n){"use strict";var r=function(e){return e&&e.__esModule?e:{default:e}}(n(379)),o=n(203);var i=n(65),a=n(25),s=n(257).editorHasMarks,u=n(257).editorRemoveMarks,l=void 0;!function(){function t(){return"undefined"!=typeof tinyMCE&&void 0!==tinyMCE.editors&&0!==tinyMCE.editors.length}function n(e){if(!t())return!1;var n=tinyMCE.get(e);return null!==n&&!n.isHidden()}function c(e,t,n){"undefined"!=typeof tinyMCE&&"function"==typeof tinyMCE.on&&tinyMCE.on("addEditor",function(r){var o=r.editor;o.id===e&&i(t,function(e){o.on(e,n)})})}function f(){a(l)||l.dispatch((0,o.setMarkerStatus)("disabled"))}function p(){a(l)||l.dispatch((0,o.setMarkerStatus)("enabled"))}function d(){var e=document.getElementById("wp-content-wrap");return!!e&&e.classList.contains("html-active")}e.exports={addEventHandler:c,tinyMceEventBinder:function(e,t){c(t,["input","change","cut","paste"],e),c(t,["hide"],f);var n=["show"];(new r.default).isPageBuilderActive()||n.push("init"),c(t,n,p),c("content",["focus"],function(e){var t=e.target;s(t)&&(u(t),YoastSEO.app.disableMarkers())})},getContentTinyMce:function(e){return function(e){var t=new RegExp("&","g");return e.replace(t,"&")}(!1===n(e)||!1===function(e){return null!==document.getElementById(e+"_ifr")}(e)?function(e){return document.getElementById(e)&&document.getElementById(e).value||""}(e):tinyMCE.get(e).getContent())},isTinyMCEAvailable:n,isTinyMCELoaded:t,disableMarkerButtons:f,enableMarkerButtons:p,wpTextViewOnInitCheck:function(){d()&&(f(),t()&&tinyMCE.on("AddEditor",function(){p()}))},isTextViewActive:d,tmceId:"content",termsTmceId:"description",setStore:function(e){l=e}}}(jQuery)},function(e,t,n){var r=n(43),o=n(148),i=n(149);e.exports=function(e,t){return i(o(e,t,r),e+"")}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:"",n={errorsResults:[],problemsResults:[],improvementsResults:[],goodResults:[],considerationsResults:[]};if(!e)return n;for(var r=0;r1&&void 0!==arguments[1]?arguments[1]:"",n=e.getIdentifier(),r={score:e.score,rating:i(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";var r=a(n(25)),o=n(39),i=a(n(121));function a(e){return e&&e.__esModule?e:{default:e}}var s=o.helpers.scoreToRating,u=function(){var e=YoastSEO.app;return!(0,r.default)(e.seoAssessorPresenter)||!(0,r.default)(e.contentAssessorPresenter)},l=function(){var e=YoastSEO.app;return(0,r.default)(e.seoAssessorPresenter)?(0,r.default)(e.contentAssessorPresenter)?void 0:e.contentAssessorPresenter:e.seoAssessorPresenter};e.exports=function(e){var t={className:"",screenReaderText:"",fullText:"",screenReaderReadabilityText:""};return u()?(0,i.default)(e)?(t.className="loading",t):(e/=10,l().getIndicator(s(e))):t}},,,,,,function(e,t){e.exports=function(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++no?0:o+t),(n=n>o?o:n)<0&&(n+=o),o=t>n?0:n-t>>>0,t>>>=0;for(var i=Array(o);++r=t||n<0||m&&e-h>=f}function w(){var e=o();if(_(e))return E(e);d=setTimeout(w,function(e){var n=t-(e-y);return m?u(n,f-(e-h)):n}(e))}function E(e){return d=void 0,g&&l?b(e):(l=c=void 0,p)}function O(){var e=o(),n=_(e);if(l=arguments,c=this,y=e,n){if(void 0===d)return function(e){return h=e,d=setTimeout(w,t),v?b(e):p}(y);if(m)return d=setTimeout(w,t),b(y)}return void 0===d&&(d=setTimeout(w,t)),p}return t=i(t)||0,r(n)&&(v=!!n.leading,f=(m="maxWait"in n)?s(i(n.maxWait)||0,t):f,g="trailing"in n?!!n.trailing:g),O.cancel=function(){void 0!==d&&clearTimeout(d),h=0,l=y=c=d=void 0},O.flush=function(){return void 0===d?p:E(o())},O}},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",f=t.END_MARK="",p=[],d={"core/quote":[{key:"value",multilineTag:"p"},{key:"citation"}],"core/paragraph":[{key:"content"}],"core/list":[{key:"values",multilineTag:"li",multilineWrapperTag:["ul","ol"]}],"core/heading":[{key:"content"}]},y={singleH1:{"core/heading":[{key:"content",filter:function(e){return 1===e.level}}]}};function h(){var e=p.shift();e&&((0,s.dispatch)("core/annotations").__experimentalAddAnnotation(e),v())}function v(){(0,o.default)(window.requestIdleCallback)?window.requestIdleCallback(h,{timeout:1e3}):setTimeout(h,150)}function m(e){for(var t=e.indexOf(c),n=null,r=[];t>=0;){if((n=(e=e.replace(c,"")).indexOf(f))2&&void 0!==arguments[2])||arguments[2],r=[];if(0===e.length)return r;var o=0,i=void 0;for(n||(t=t.toLowerCase(),e=e.toLowerCase());(i=e.indexOf(t,o))>-1;)r.push(i),o=i+t.length;return r}function b(e,t){var n=t.getOriginal().replace(/(<([^>]+)>)/gi,""),r=t.getMarked().replace(/(<(?!\/?yoastmark)[^>]+>)/gi,""),o=g(e,n);if(0===o.length)return[];var i=[];return m(r).forEach(function(e){o.forEach(function(r){var o=r+e.startOffset,a=r+e.endOffset;0===e.startOffset&&e.endOffset===t.getOriginal().length&&(a=r+n.length),i.push({startOffset:o,endOffset:a})})}),i}function _(e){var t=(0,s.select)("yoast-seo/editor").getActiveMarker(),n=y[t]||d;return n.hasOwnProperty(e)?n[e]:[]}function w(e,t,n){var o=e.key,s=t.attributes,u=s[o];if(e.filter&&!e.filter(s))return[];var l=(0,a.create)({html:u,multilineTag:e.multilineTag,multilineWrapperTag:e.multilineWrapperTag}).text;return(0,i.default)(n,function(e){var n=b(l,e);return n?n.map(function(e){return r({},e,{block:t.clientId,richTextIdentifier:o})}):[]})}function E(e){p=e.map(function(e){return{blockClientId:e.block,source:l,richTextIdentifier:e.richTextIdentifier,range:{start:e.startOffset,end:e.endOffset}}})}},function(e,t,n){"use strict";var r=n(103),o=n(25);e.exports=function(){var e=r();return!o(e)&&"1"===e.contentAnalysisActive}},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){var r=n(27),o=n(22),i=n(50),a=n(6);e.exports=function(e,t,n){if(!a(n))return!1;var s=typeof t;return!!("number"==s?o(n)&&i(t,n.length):"string"==s&&t in n)&&r(n[t],e)}},function(e,t,n){"use strict";var r=i(n(39)),o=i(n(65));function i(e){return e&&e.__esModule?e:{default:e}}var a=r.default.markers.removeMarks,s="yoastmark";function u(e,t,n){var r=e.dom,i=e.getContent();i=a(i),(0,o.default)(n,function(e){i=e.applyWithReplace(i)}),e.setContent(i),function(e){var t=e.getContent();t=t.replace(new RegExp("<yoastmark.+?>","g"),"").replace(new RegExp("</yoastmark>","g"),""),e.setContent(t)}(e);var u=r.select(s);(0,o.default)(u,function(e){e.setAttribute("data-mce-bogus","1")})}function l(e){return window.test=e,u.bind(null,e)}e.exports={tinyMCEDecorator:l,editorHasMarks:function(e){return-1!==e.getContent({format:"raw"}).indexOf("<"+s)},editorRemoveMarks:function(e){l(e)(null,[])}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=i(n(121)),o=i(n(19));function i(e){return e&&e.__esModule?e:{default:e}}t.default=function(){return!(0,r.default)(window.wp)&&!(0,r.default)(wp.data)&&!(0,r.default)(wp.data.select("core/edit-post"))&&!(0,r.default)(wp.data.select("core/editor"))&&(0,o.default)(wp.data.select("core/editor").getEditedPostAttribute)}},function(e,t,n){var r=n(514),o=n(517)(function(e,t,n){r(e,t,n)});e.exports=o},,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return[{name:"date",label:(0,r.__)("Date","wordpress-seo"),value:""},{name:"id",label:(0,r.__)("ID","wordpress-seo"),value:""},{name:"page",label:(0,r.__)("Page","wordpress-seo"),value:""},{name:"searchphrase",label:(0,r.__)("Search phrase","wordpress-seo"),value:""},{name:"sitedesc",label:(0,r.__)("Tagline","wordpress-seo"),value:""},{name:"sitename",label:(0,r.__)("Site title","wordpress-seo"),value:""},{name:"category",label:(0,r.__)("Category","wordpress-seo"),value:""},{name:"focuskw",label:(0,r.__)("Focus keyphrase","wordpress-seo"),value:""},{name:"title",label:(0,r.__)("Title","wordpress-seo"),value:""},{name:"parent_title",label:(0,r.__)("Parent title","wordpress-seo"),value:""},{name:"excerpt",label:(0,r.__)("Excerpt","wordpress-seo"),value:""},{name:"primary_category",label:(0,r.__)("Primary category","wordpress-seo"),value:""},{name:"sep",label:(0,r.__)("Separator","wordpress-seo"),value:""},{name:"excerpt_only",label:(0,r.__)("Excerpt only","wordpress-seo"),value:""},{name:"category_description",label:(0,r.__)("Category description","wordpress-seo"),value:""},{name:"tag_description",label:(0,r.__)("Tag description","wordpress-seo"),value:""},{name:"term_description",label:(0,r.__)("Term description","wordpress-seo"),value:""},{name:"currentyear",label:(0,r.__)("Current year","wordpress-seo"),value:""}]};var r=n(5)},function(e,t,n){var r=n(196),o=n(148),i=n(149);e.exports=function(e){return i(o(e,void 0,r),e+"")}},function(e,t,n){"use strict";var r=Object.keys;e.exports=function(e,t){var n,o,i,a;if(e===t)return!0;if(n=r(e),o=r(t),n.length!==o.length)return!1;for(i=0;i0&&void 0!==arguments[0]?arguments[0]:{mode:o.DEFAULT_MODE,data:{title:"",slug:"",description:""},wordsToHighlight:[],replacementVariables:(0,i.default)(),uniqueRefreshValue:""},t=arguments[1];switch(t.type){case a.SWITCH_MODE:return r({},e,{mode:t.mode});case a.UPDATE_DATA:return r({},e,{data:r({},e.data,t.data)});case a.UPDATE_REPLACEMENT_VARIABLE:var n=!0,u=e.replacementVariables.map(function(e){return e.name===t.name?(n=!1,{name:t.name,label:t.label||e.label,value:t.value}):e});return n&&(u=(0,s.pushNewReplaceVar)(u,t)),r({},e,{replacementVariables:u});case a.REMOVE_REPLACEMENT_VARIABLE:return r({},e,{replacementVariables:e.replacementVariables.filter(function(e){return e.name!==t.name})});case a.REFRESH:return r({},e,{uniqueRefreshValue:t.time});case a.UPDATE_WORDS_TO_HIGHLIGHT:return r({},e,{wordsToHighlight:t.wordsToHighlight})}return e}},function(e,t,n){var r=n(31),o=n(242),i=n(327),a=n(29),s=n(62),u=n(330),l=n(280),c=n(160),f=l(function(e,t){var n={};if(null==e)return n;var l=!1;t=r(t,function(t){return t=a(t,e),l||(l=t.length>1),t}),s(e,c(e),n),l&&(n=o(n,7,u));for(var f=t.length;f--;)i(n,t[f]);return n});e.exports=f},function(e,t,n){var r=n(62),o=n(32);e.exports=function(e,t){return e&&r(t,o(t),e)}},function(e,t,n){var r=n(62),o=n(97);e.exports=function(e,t){return e&&r(t,o(t),e)}},function(e,t,n){var r=n(62),o=n(102);e.exports=function(e,t){return r(e,o(e),t)}},function(e,t,n){var r=n(62),o=n(216);e.exports=function(e,t){return r(e,o(e),t)}},function(e,t){var n=Object.prototype.hasOwnProperty;e.exports=function(e){var t=e.length,r=new e.constructor(t);return t&&"string"==typeof e[0]&&n.call(e,"index")&&(r.index=e.index,r.input=e.input),r}},function(e,t,n){var r=n(147),o=n(320),i=n(321),a=n(322),s=n(246),u="[object Boolean]",l="[object Date]",c="[object Map]",f="[object Number]",p="[object RegExp]",d="[object Set]",y="[object String]",h="[object Symbol]",v="[object ArrayBuffer]",m="[object DataView]",g="[object Float32Array]",b="[object Float64Array]",_="[object Int8Array]",w="[object Int16Array]",E="[object Int32Array]",O="[object Uint8Array]",S="[object Uint8ClampedArray]",x="[object Uint16Array]",k="[object Uint32Array]";e.exports=function(e,t,n){var P=e.constructor;switch(t){case v:return r(e);case u:case l:return new P(+e);case m:return o(e,n);case g:case b:case _:case w:case E:case O:case S:case x:case k:return s(e,n);case c:return new P;case f:case y:return new P(e);case p:return i(e);case d:return new P;case h:return a(e)}}},function(e,t,n){var r=n(147);e.exports=function(e,t){var n=t?r(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}},function(e,t){var n=/\w*$/;e.exports=function(e){var t=new e.constructor(e.source,n.exec(e));return t.lastIndex=e.lastIndex,t}},function(e,t,n){var r=n(10),o=r?r.prototype:void 0,i=o?o.valueOf:void 0;e.exports=function(e){return i?Object(i.call(e)):{}}},function(e,t,n){var r=n(324),o=n(66),i=n(92),a=i&&i.isMap,s=a?o(a):r;e.exports=s},function(e,t,n){var r=n(53),o=n(7),i="[object Map]";e.exports=function(e){return o(e)&&r(e)==i}},function(e,t,n){var r=n(326),o=n(66),i=n(92),a=i&&i.isSet,s=a?o(a):r;e.exports=s},function(e,t,n){var r=n(53),o=n(7),i="[object Set]";e.exports=function(e){return o(e)&&r(e)==i}},function(e,t,n){var r=n(29),o=n(328),i=n(329),a=n(20);e.exports=function(e,t){return t=r(t,e),null==(e=i(e,t))||delete e[a(o(t))]}},function(e,t){e.exports=function(e){var t=null==e?0:e.length;return t?e[t-1]:void 0}},function(e,t,n){var r=n(35),o=n(249);e.exports=function(e,t){return t.length<2?e:r(e,o(t,0,-1))}},function(e,t,n){var r=n(250);e.exports=function(e){return r(e)?void 0:e}},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){e.exports=window.yoast.analysisReport},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.updateAnalysisData=function(e){return{type:r,data:e}};var r=t.UPDATE_SNIPPET_DATA="SNIPPET_EDITOR_UPDATE_ANALYSIS_DATA"},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});var r=t.SET_SETTINGS="SET_SETTINGS";t.setSettings=function(e){return{type:r,settings:e}}},function(e,t,n){var r=n(206),o=n(27),i=n(256),a=n(97),s=Object.prototype,u=s.hasOwnProperty,l=r(function(e,t){e=Object(e);var n=-1,r=t.length,l=r>2?t[2]:void 0;for(l&&i(t[0],t[1],l)&&(r=1);++n0?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 f.Paper("",{}),[])}},{key:"render",value:function(){var e=this.state.mappedResults,t=e.errorsResults,n=e.improvementsResults,r=e.goodResults,o=e.considerationsResults,i=e.problemsResults;return wp.element.createElement(u.Fragment,null,wp.element.createElement(a.LanguageNotice,{changeLanguageLink:this.props.changeLanguageLink,language:this.props.language,showLanguageNotice:this.props.showLanguageNotice,canChangeLanguage:this.props.canChangeLanguage}),wp.element.createElement(s.ContentAnalysis,{errorsResults:t,problemsResults:i,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}();y.propTypes={results:i.default.array,language:i.default.string,changeLanguageLink:i.default.string,showLanguageNotice:i.default.bool.isRequired,canChangeLanguage:i.default.bool,marksButtonClassName:i.default.string,marksButtonStatus:i.default.string,setActiveMarker:i.default.func.isRequired,setMarkerPauseStatus:i.default.func.isRequired,activeMarker:i.default.string,keywordKey:i.default.string},y.defaultProps={results:null,language:"",changeLanguageLink:"#",canChangeLanguage:!1,marksButtonStatus:"enabled",marksButtonClassName:"",activeMarker:null,keywordKey:""},t.default=(0,l.compose)([(0,c.withSelect)(function(e){return{activeMarker:(0,e("yoast-seo/editor").getActiveMarker)()}}),(0,c.withDispatch)(function(e){var t=e("yoast-seo/editor");return{setActiveMarker:t.setActiveMarker,setMarkerPauseStatus:t.setMarkerPauseStatus}})])(y)},function(e,t){e.exports=window.wp.compose},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n0&&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,i.default)({mixedString:e.replace("","{{strong}}").replace("","{{/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(f,{id:this.props.upsellButton["aria-describedby"]},this.props.upsellButtonLabel))}}]),t}();d.propTypes={benefits:a.default.array,infoParagraphs:a.default.array,upsellButton:a.default.object,upsellButtonText:a.default.string.isRequired,upsellButtonLabel:a.default.string,upsellButtonHasCaret:a.default.bool},d.defaultProps={infoParagraphs:[],benefits:[],upsellButton:{href:"",className:"button button-primary"},upsellButtonLabel:"",upsellButtonHasCaret:!0},t.default=d},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n-1}},function(e,t){e.exports=function(e,t,n){for(var r=-1,o=null==e?0:e.length;++r0?r.text(e.screenReaderText):n.closest("li").append(""+e.screenReaderText+"")}}},function(e,t,n){"use strict";e.exports={update:function(e){jQuery(".adminbar-seo-score").attr("class","wpseo-score-icon adminbar-seo-score "+e.className).find(".adminbar-seo-score-text").text(e.screenReaderText)}}},function(e,t,n){var r=n(159),o=n(27);e.exports=function(e,t,n){(void 0===n||o(e[t],n))&&(void 0!==n||t in e)||r(e,t,n)}},function(e,t,n){var r=n(22),o=n(7);e.exports=function(e){return o(e)&&r(e)}},function(e,t){e.exports=function(e,t){if("__proto__"!=t)return e[t]}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=(0,o.default)();return(0,r.default)(e,"contentLocale","en_US")};var r=i(n(18)),o=i(n(103));function i(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=document.getElementById(r);t||(t=function(){var e=document.createElement("div");return e.id=r,e.style.position="absolute",e.style.left="-9999em",e.style.top=0,e.style.height=0,e.style.overflow="hidden",e.style.fontFamily="arial, sans-serif",e.style.fontSize="18px",e.style.fontWeight="400",document.body.appendChild(e),e}());return t.innerHTML=e,t.offsetWidth};var r="yoast-measurement-element"},,,,,,,,,,,,,,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n0);return n}},{key:"handleEditorChange",value:function(e){this._data.title!==e.title&&this._store.dispatch((0,s.updateReplacementVariable)("title",e.title)),this._data.excerpt!==e.excerpt&&(this._store.dispatch((0,s.updateReplacementVariable)("excerpt",e.excerpt)),this._store.dispatch((0,s.updateReplacementVariable)("excerpt_only",e.excerpt_only))),this._data.slug!==e.slug&&this._store.dispatch((0,s.updateData)({slug:e.slug})),this._data.snippetPreviewImageURL!==e.snippetPreviewImageURL&&this._store.dispatch((0,s.updateData)({snippetPreviewImageURL:e.snippetPreviewImageURL}))}},{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,u.excerptFromContent)(this.getPostAttribute("content"))}},{key:"reapplyMarkers",value:function(){var e=this._wpData.select("yoast-seo/editor"),t=e.getActiveMarker,n=e.getMarkerPauseStatus,r=t(),o=n();r&&!o&&(0,l.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=this._wpData.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,i.default)(this.refreshYoastSEO,500),this._wpData.subscribe(this.subscriber)}},{key:"subscribeToYoastSEO",value:function(){var e=this;this.yoastSubscriber=function(){e.areNewAnalysisResultsAvailable()&&e.onNewAnalysisResultsAvailable()},this._wpData.subscribe(this.yoastSubscriber)}},{key:"getData",value:function(){return this._data}}]),e}();e.exports=f}).call(this,n(17))},function(e,t,n){var r=n(197),o=n(309);e.exports=function(e,t){return r(o(e,t),1)}},function(e,t){e.exports=window.wp.richText},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(55),o=h(n(466)),i=h(n(467)),a=h(n(468)),s=h(n(469)),u=h(n(470)),l=h(n(471)),c=h(n(474)),f=h(n(475)),p=h(n(476)),d=h(n(312)),y=h(n(477));function h(e){return e&&e.__esModule?e:{default:e}}t.default={analysis:r.analysis,activeMarker:o.default,analysisData:i.default,isCornerstone:a.default,focusKeyword:s.default,marksButtonStatus:u.default,preferences:l.default,primaryTaxonomies:c.default,isMarkerPaused:f.default,settings:p.default,snippetEditor:d.default,warning:y.default}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(333),o=null;t.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:o,t=arguments[1];switch(t.type){case r.SET_ACTIVE_MARKER:return t.activeMarker;default:return e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:i,t=arguments[1];switch(t.type){case o.UPDATE_SNIPPET_DATA:return r({},e,{snippet:t.data})}return e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(217),o=!1;t.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:o,t=arguments[1];switch(t.type){case r.TOGGLE_CORNERSTONE_CONTENT:return!e;case r.SET_CORNERSTONE_CONTENT:return t.isCornerstone;default:return e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(202),o="";t.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:o,t=arguments[1];switch(t.type){case r.SET_FOCUS_KEYWORD:return t.keyword;default:return e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(203),o=null;t.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:o,t=arguments[1];switch(t.type){case r.SET_MARKER_STATUS:return function(e,t){return t.marksButtonStatus}(0,t);default:return e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=u(n(25)),o=u(n(254)),i=u(n(204)),a=u(n(472)),s=u(n(473));function u(e){return e&&e.__esModule?e:{default:e}}t.default=function(){return arguments.length>0&&void 0!==arguments[0]?arguments[0]:{isContentAnalysisActive:(0,o.default)(),isKeywordAnalysisActive:(0,i.default)(),isWordFormRecognitionActive:(0,r.default)(window.wpseoPremiumMetaboxData)&&(0,s.default)(),isCornerstoneActive:(0,a.default)()&&(0,r.default)(window.wpseoTermScraperL10n),shouldUpsell:(0,r.default)(window.wpseoPremiumMetaboxData)}}},function(e,t,n){"use strict";var r=n(103),o=n(25);e.exports=function(){var e=r();return!o(e)&&"1"===e.cornerstoneActive}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(103),o=n(25);t.default=function(){var e=r();return!o(e)&&"1"===e.wordFormRecognitionActive}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:i,t=arguments[1];switch(t.type){case o.SET_PRIMARY_TAXONOMY:return r({},e,function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}({},t.taxonomy,t.termId));default:return e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(255),o=!1;t.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:o,t=arguments[1];switch(t.type){case r.SET_MARKER_PAUSE_STATUS:return function(e,t){return t.isMarkerPaused}(0,t);default:return e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments[1];if(t.type===r.SET_SETTINGS)return t.settings;return e};var r=n(336)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:i,t=arguments[1];switch(t.type){case o.SET_WARNING_MESSAGE:return r({},e,{message:t.message});default:return e}};var o=n(478),i={message:[]}},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,n){var r=n(0);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";var r=Object.assign||function(e){for(var t=1;t2&&void 0!==arguments[2]?arguments[2]:{tinyMceId:l.tmceId};!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._initialData={},this._previousData={},this._settings=r,this.updateReplacementData=this.updateReplacementData.bind(this),this.refreshYoastSEO=this.refreshYoastSEO.bind(this)}return o(e,[{key:"initialize",value:function(e){this._initialData=this.getInitialData(e),(0,u.fillReplacementVariables)(this._initialData,this._store),this.subscribeToElements(),this.subscribeToStore(),this.subscribeToSnippetPreviewImage()}},{key:"subscribeToSnippetPreviewImage",value:function(){var e=this;if(!(0,a.isUndefined)(wp.media)&&!(0,a.isUndefined)(wp.media.featuredImage)){d("#postimagediv").on("click","#remove-post-thumbnail",function(){e.featuredImageIsSet=!1,e.setImageInSnippetPreview(e.getContentImage())});var t=wp.media.featuredImage.frame();t.on("select",function(){var n=t.state().get("selection").first().attributes.url;n&&(e.featuredImageIsSet=!0,e.setImageInSnippetPreview(n))}),c.default.addEventHandler(this._settings.tinyMceId,["init"],function(){var t=e.getFeaturedImage()||e.getContentImage()||null;e.setImageInSnippetPreview(t)}),c.default.addEventHandler(this._settings.tinyMceId,["change"],(0,a.debounce)(function(){e.featuredImageIsSet||e.setImageInSnippetPreview(e.getContentImage())},1e3))}}},{key:"getFeaturedImage",value:function(){var e=d("#set-post-thumbnail img").attr("src");return e?(this.featuredImageIsSet=!0,e):(this.featuredImageIsSet=!1,null)}},{key:"setImageInSnippetPreview",value:function(e){this._store.dispatch((0,s.updateData)({snippetPreviewImageURL:e}))}},{key:"getContentImage",value:function(){if(this.featuredImageIsSet)return"";var e=this.getContent(),t=i.default.string.imageInText(e),n="";if(0===t.length)return n;do{var r=t.shift(),o=(r=d(r)).prop("src");o&&(n=o)}while(""===n&&t.length>0);return n}},{key:"getTitle",value:function(){var e=document.getElementById("title");return e&&e.value||""}},{key:"getExcerpt",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t=document.getElementById("excerpt"),n=t&&t.value||"";return""!==n||!1===e?n:(0,u.excerptFromContent)(this.getContent())}},{key:"getSlug",value:function(){var e="",t=document.getElementById("new-post-slug");return t?e=t.value:null!==document.getElementById("editable-post-name-full")&&(e=document.getElementById("editable-post-name-full").textContent),e}},{key:"getContent",value:function(){var e=this._settings.tinyMceId;return p(c.default.getContentTinyMce(e))}},{key:"subscribeToElements",value:function(){this.subscribeToInputElement("title","title"),this.subscribeToInputElement("excerpt","excerpt"),this.subscribeToInputElement("excerpt","excerpt_only")}},{key:"subscribeToInputElement",value:function(e,t){var n=this,r=document.getElementById(e);r&&r.addEventListener("input",function(e){n.updateReplacementData(e,t)})}},{key:"updateReplacementData",value:function(e,t){var n=e.target.value;"excerpt"===t&&""===n&&(n=this.getExcerpt()),this._initialData[t]=n,this._store.dispatch((0,s.updateReplacementVariable)(t,n))}},{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:"refreshYoastSEO",value:function(){var e=this.getData();!this.isShallowEqual(this._previousData,e)&&(this.handleEditorChange(e),this._previousData=e,window.YoastSEO&&window.YoastSEO.app&&window.YoastSEO.app.refresh())}},{key:"handleEditorChange",value:function(e){this._previousData.excerpt!==e.excerpt&&(this._store.dispatch((0,s.updateReplacementVariable)("excerpt",e.excerpt)),this._store.dispatch((0,s.updateReplacementVariable)("excerpt_only",e.excerpt_only))),this._previousData.snippetPreviewImageURL!==e.snippetPreviewImageURL&&this.setImageInSnippetPreview(e.snippetPreviewImageURL)}},{key:"subscribeToStore",value:function(){this.subscriber=(0,a.debounce)(this.refreshYoastSEO,500),this._store.subscribe(this.subscriber)}},{key:"getInitialData",value:function(e){return e=(0,u.mapCustomFields)(e,this._store),e=(0,u.mapCustomTaxonomies)(e,this._store),r({},e,{title:this.getTitle(),excerpt:this.getExcerpt(),excerpt_only:this.getExcerpt(!1),slug:this.getSlug(),content:this.getContent()})}},{key:"getData",value:function(){return r({},this._store.getState().snippetEditor.data,{content:this.getContent(),excerpt:this.getExcerpt(),excerpt_only:this.getExcerpt(!1)})}}]),e}();e.exports=y},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n"+(0,o.__)("Rank better with synonyms & related keyphrases","wordpress-seo")+"",(0,o.sprintf)((0,o.__)("%1$sNo more dead links%2$s: easy redirect manager","wordpress-seo"),"",""),""+(0,o.__)("Superfast internal linking suggestions","wordpress-seo")+"",(0,o.sprintf)((0,o.__)("%1$sSocial media preview%2$s: Facebook & Twitter","wordpress-seo"),"",""),""+(0,o.__)("24/7 email support","wordpress-seo")+"",""+(0,o.__)("No ads!","wordpress-seo")+""],a=(0,o.sprintf)((0,o.__)("Other benefits of %s for you:","wordpress-seo"),"Yoast SEO Premium");return wp.element.createElement(s.default,{infoParagraphs:[n,a],benefits:i,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:a.default.string.isRequired,buyLink:a.default.string.isRequired},t.default=c},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});u(n(0));var r=u(n(125)),o=n(28),i=n(5),a=u(n(347)),s=u(n(2));function u(e){return e&&e.__esModule?e:{default:e}}var l=(0,o.makeOutboundLink)(),c=function(e){var t=(0,i.sprintf)((0,i.__)("Great news: you can, with %s!","wordpress-seo"),"{{link}}Yoast SEO Premium{{/link}}"),n=[(0,i.sprintf)((0,i.__)("%1$sNo more dead links%2$s: easy redirect manager","wordpress-seo"),"",""),""+(0,i.__)("Superfast internal linking suggestions","wordpress-seo")+"",(0,i.sprintf)((0,i.__)("%1$sSocial media preview%2$s: Facebook & Twitter","wordpress-seo"),"",""),""+(0,i.__)("24/7 email support","wordpress-seo")+"",""+(0,i.__)("No ads!","wordpress-seo")+""],o=(0,r.default)({mixedString:t,components:{link:wp.element.createElement(l,{href:e.link})}}),s=(0,i.sprintf)((0,i.__)("Other benefits of %s for you:","wordpress-seo"),"Yoast SEO Premium");return wp.element.createElement(a.default,{infoParagraphs:[o,s],benefits:n,upsellButtonText:(0,i.sprintf)((0,i.__)("Get %s","wordpress-seo"),"Yoast SEO Premium"),upsellButton:{href:e.buyLink,className:"yoast-button-upsell",rel:null},upsellButtonLabel:(0,i.__)("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});l(n(0));var r=l(n(2)),o=l(n(11)),i=n(5),a=n(28),s=n(119),u=n(26);function l(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),f=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,a.getDirectionalStyle)("border-left","border-right"),s.colors.$color_pink_dark,c,function(e){return"vertical"===e.alignment&&"16px"}),p=(0,o.default)(u.SvgIcon).withConfig({displayName:"AnalysisUpsell__Caret",componentId:"sc-1qakqs0-2"})(["margin:",";transform:",";"],(0,a.getDirectionalStyle)("0 0 0 4px","0 4px 0 0"),(0,a.getDirectionalStyle)("rotate(0deg)","rotate(180deg)")),d=(0,a.makeOutboundLink)(u.UpsellLinkButton),y=function(e){var t=e.alignment,n=e.url;return wp.element.createElement(f,{alignment:t},wp.element.createElement(c,null,(0,i.sprintf)((0,i.__)("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(d,{href:n},(0,i.sprintf)((0,i.__)("Go %s!","wordpress-seo"),"Premium"),wp.element.createElement(p,{icon:"arrow-right",size:"8px",color:s.colors.$color_black}))))};y.propTypes={alignment:r.default.oneOf(["horizontal","vertical"]),url:r.default.string.isRequired},y.defaultProps={alignment:"vertical"},t.default=y},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(11)),o=n(26),i=n(28);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,i.getDirectionalStyle)("right","left"),(0,i.getDirectionalStyle)("0 0 16px 16px","0 16px 16px 0"))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});o(n(0));var r=o(n(2));function o(e){return e&&e.__esModule?e:{default:e}}t.default=function(e){var t=function(t){t.renderPriority;var n=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}(t,["renderPriority"]);return wp.element.createElement(e,n)};return t.propTypes={renderPriority:r.default.number},t}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t=this.preloadThreshold?(this._pollTimeExceeded(),this.loaded=!0,this.refresh()):(e+=50,setTimeout(this._pollLoadingPlugins.bind(this,e),50))}},{key:"_allReady",value:function(){return p(this.plugins,function(e,t){return e&&"ready"===t.status},!0)}},{key:"_pollTimeExceeded",value:function(){i(this.plugins,function(e,t){f(e.options)||"ready"===e.options.status||(console.error("Error: Plugin "+t+". did not finish loading in time."),delete this.plugins[t])})}},{key:"_stripIllegalModifications",value:function(e){var t=this;return i(e,function(n,r){!1===t._validateOrigin(n.origin)&&delete e[r]}),e}},{key:"_validateOrigin",value:function(e){return"ready"===this.plugins[e].status}},{key:"_validateUniqueness",value:function(e){return f(this.plugins[e])}}]),e}();t.default=d},function(e,t,n){var r=n(8),o=n(7),i="[object Number]";e.exports=function(e){return"number"==typeof e||o(e)&&r(e)==i}},function(e,t,n){var r=n(507),o=n(100),i=n(115),a=n(508),s=n(3);e.exports=function(e,t,n){var u=s(e)?r:a,l=arguments.length<3;return u(e,i(t,4),n,l,o)}},function(e,t){e.exports=function(e,t,n,r){var o=-1,i=null==e?0:e.length;for(r&&i&&(n=e[++o]);++o=l){var v=t?null:s(e);if(v)return u(v);d=!1,f=a,h=new r}else h=t?[]:y;e:for(;++c0&&void 0!==arguments[0]?arguments[0]:{},t={locale:(0,s.default)(),contentAnalysisActive:(0,c.default)(),keywordAnalysisActive:(0,f.default)(),defaultQueryParams:(0,u.default)(),logLevel:(0,r.default)(window,["wpseoAnalysisWorkerL10n","log_level"],"ERROR"),enabledFeatures:(0,r.default)(window,["wpseoAnalysisWorkerL10n","enabled_features"],[])};t=(0,i.default)(t,e);var n=(0,l.default)();(0,o.default)(n)||(0,o.default)(n.domain)||(t.translations=n);return t};var r=p(n(18)),o=p(n(25)),i=p(n(259)),a=n(39),s=p(n(362)),u=p(n(518)),l=p(n(282)),c=p(n(254)),f=p(n(204));function p(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){var r=n(61),o=n(359),i=n(132),a=n(515),s=n(6),u=n(97),l=n(361);e.exports=function e(t,n,c,f,p){t!==n&&i(n,function(i,u){if(s(i))p||(p=new r),a(t,n,u,c,e,f,p);else{var d=f?f(l(t,u),i,u+"",t,n,p):void 0;void 0===d&&(d=i),o(t,u,d)}},u)}},function(e,t,n){var r=n(359),o=n(245),i=n(246),a=n(215),s=n(247),u=n(41),l=n(3),c=n(360),f=n(44),p=n(19),d=n(6),y=n(250),h=n(51),v=n(361),m=n(516);e.exports=function(e,t,n,g,b,_,w){var E=v(e,n),O=v(t,n),S=w.get(O);if(S)r(e,n,S);else{var x=_?_(E,O,n+"",e,t,w):void 0,k=void 0===x;if(k){var P=l(O),j=!P&&f(O),T=!P&&!j&&h(O);x=O,P||j||T?l(E)?x=E:c(E)?x=a(E):j?(k=!1,x=o(O,!0)):T?(k=!1,x=i(O,!0)):x=[]:y(O)||u(O)?(x=E,u(E)?x=m(E):d(E)&&!p(E)||(x=s(O))):k=!1}k&&(w.set(O,x),b(x,O,g,_,w),w.delete(O)),r(e,n,x)}}},function(e,t,n){var r=n(62),o=n(97);e.exports=function(e){return r(e,o(e))}},function(e,t,n){var r=n(206),o=n(256);e.exports=function(e){return r(function(t,n){var r=-1,i=n.length,a=i>1?n[i-1]:void 0,s=i>2?n[2]:void 0;for(a=e.length>3&&"function"==typeof a?(i--,a):void 0,s&&o(n[0],n[1],s)&&(a=i<3?void 0:a,i=1),t=Object(t);++r