(window.yoastWebpackJsonp=window.yoastWebpackJsonp||[]).push([[7],[function(e,t){e.exports=React},function(e,t,n){e.exports=n(121)()},,function(e,t){var n=Array.isArray;e.exports=n},function(e,t){e.exports=window.yoast.styledComponents},function(e,t,n){var r=n(49),o="object"==typeof self&&self&&self.Object===Object&&self,i=r||o||Function("return this")();e.exports=i},function(e,t,n){e.exports=n(347)()},function(e,t){e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},function(e,t){e.exports=window.wp.i18n},,function(e,t){e.exports=window.yoast.components},function(e,t,n){var r=n(14),o=n(69),i=n(70),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(84),o=n(87);e.exports=function(e,t){var n=o(e,t);return r(n)?n:void 0}},function(e,t){e.exports=function(e){return null!=e&&"object"==typeof e}},function(e,t,n){var r=n(5).Symbol;e.exports=r},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(12)(Object,"create");e.exports=r},function(e,t,n){var r=n(24);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(98);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(11),o=n(13),i="[object Symbol]";e.exports=function(e){return"symbol"==typeof e||o(e)&&r(e)==i}},function(e,t,n){var r=n(19),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){e.exports=function(e){return void 0===e}},function(e,t,n){var r=n(39);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(92),o=n(93),i=n(94),a=n(95),s=n(96);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(10),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){var n=9007199254740991;e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=n}},,,function(e,t,n){var r=n(71);e.exports=function(e){return null==e?"":r(e)}},function(e,t){var n=9007199254740991,r=/^(?:0|[1-9]\d*)$/;e.exports=function(e,t){return!!(t=null==t?n:t)&&("number"==typeof e||r.test(e))&&e>-1&&e%1==0&&e-1}},function(e,t,n){var r=n(17);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(18);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(18);e.exports=function(e){return r(this,e).get(e)}},function(e,t,n){var r=n(18);e.exports=function(e){return r(this,e).has(e)}},function(e,t,n){var r=n(18);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){e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach(function(e){n[++t]=e}),n}},function(e,t,n){var r=n(187),o=n(35),i=n(188),a=n(152),s=n(153),u=n(11),l=n(55),c=l(r),f=l(o),p=l(i),d=l(a),y=l(s),h=u;(r&&"[object DataView]"!=h(new r(new ArrayBuffer(1)))||o&&"[object Map]"!=h(new o)||i&&"[object Promise]"!=h(i.resolve())||a&&"[object Set]"!=h(new a)||s&&"[object WeakMap]"!=h(new s))&&(h=function(e){var t=u(e),n="[object Object]"==t?e.constructor:void 0,r=n?l(n):"";if(r)switch(r){case c:return"[object DataView]";case f:return"[object Map]";case p:return"[object Promise]";case d:return"[object Set]";case y:return"[object WeakMap]"}return t}),e.exports=h},,,function(e,t,n){"use strict";n.r(t);var r=n(0),o=n(1),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(310),f=n.n(c),p=n(169),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,x=o.withRef,S=void 0!==x&&x,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=b++,T=((t={})[O]=s,t[P]=a,t),A=((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:S,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()(S,"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(g)):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(!(S||y||this.propsMode&&this.subscription))return e;var t=m({},e);return S&&(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=A,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 x(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?A: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?x:d,h=i.areStatePropsEqual,v=void 0===h?x:h,m=i.areMergedPropsEqual,b=void 0===m?x:m,g=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:b},g))}}();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,n){var r=n(176),o=n(50),i=n(3),a=n(51),s=n(64),u=n(65),l=Object.prototype.hasOwnProperty;e.exports=function(e,t){var n=i(e),c=!n&&o(e),f=!n&&!c&&a(e),p=!n&&!c&&!f&&u(e),d=n||c||f||p,y=d?r(e.length,String):[],h=y.length;for(var v in e)!t&&!l.call(e,v)||d&&("length"==v||f&&("offset"==v||"parent"==v)||p&&("buffer"==v||"byteLength"==v||"byteOffset"==v)||s(v,h))||y.push(v);return y}},function(e,t,n){var r=n(217),o=n(13);e.exports=function e(t,n,i,a,s){return t===n||(null==t||null==n||!o(t)&&!o(n)?t!=t&&n!=n:r(t,n,i,a,e,s))}},function(e,t,n){var r=n(113),o=n(24),i=Object.prototype.hasOwnProperty;e.exports=function(e,t,n){var a=e[t];i.call(e,t)&&o(a,n)&&(void 0!==n||t in e)||r(e,t,n)}},function(e,t,n){var r=n(136);e.exports=function(e,t,n){"__proto__"==t&&r?r(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}},function(e,t,n){var r=n(117)(Object.getPrototypeOf,Object);e.exports=r},function(e,t,n){var r=n(131);e.exports=function(e){var t=new e.constructor(e.byteLength);return new r(t).set(new r(e)),t}},function(e,t,n){var r=n(158),o=n(128),i=n(328),a=n(3);e.exports=function(e,t){return(a(e)?r:o)(e,i(t))}},function(e,t){e.exports=function(e,t){return function(n){return e(t(n))}}},function(e,t,n){var r=n(72),o=n(3);e.exports=function(e,t,n){var i=t(e);return o(e)?i:r(i,n(e))}},function(e,t){e.exports=function(){return[]}},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(0)),i=s(n(341)),a=s(n(344));function s(e){return e&&e.__esModule?e:{default:e}}var u=void 0;function l(e,t){var n,a,s,c,f,p,d,y,h=[],v={};for(p=0;p "+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;rp))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);++h1),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(72),o=n(114),i=n(73),a=n(119),s=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)r(t,i(e)),e=o(e);return t}:a;e.exports=s},function(e,t,n){var r=n(163),o=Math.max;e.exports=function(e,t,n){return t=o(void 0===t?e.length-1:t,0),function(){for(var i=arguments,a=-1,s=o(i.length-t,0),u=Array(s);++a0&&i(c)?n>1?e(c,n-1,i,a,s):r(s,c):a||(s[s.length]=c)}return s}},function(e,t,n){var r=n(7),o=n(428),i=n(201),a="Expected a function",s=Math.max,u=Math.min;e.exports=function(e,t,n){var l,c,f,p,d,y,h=0,v=!1,m=!1,b=!0;if("function"!=typeof e)throw new TypeError(a);function g(t){var n=l,r=c;return l=c=void 0,h=t,p=e.apply(r,n)}function _(e){var n=e-y;return void 0===y||n>=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,b&&l?g(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?g(e):p}(y);if(m)return d=setTimeout(w,t),g(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,b="trailing"in n?!!n.trailing:b),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";n.r(t);var r=n(67),o=n(156),i=n.n(o),a={INIT:"@@redux/INIT"};function s(e,t,n){var o;if("function"==typeof t&&void 0===n&&(n=t,t=void 0),void 0!==n){if("function"!=typeof n)throw new Error("Expected the enhancer to be a function.");return n(s)(e,t)}if("function"!=typeof e)throw new Error("Expected the reducer to be a function.");var u=e,l=t,c=[],f=c,p=!1;function d(){f===c&&(f=c.slice())}function y(){return l}function h(e){if("function"!=typeof e)throw new Error("Expected listener to be a function.");var t=!0;return d(),f.push(e),function(){if(t){t=!1,d();var n=f.indexOf(e);f.splice(n,1)}}}function v(e){if(!Object(r.a)(e))throw new Error("Actions must be plain objects. Use custom middleware for async actions.");if(void 0===e.type)throw new Error('Actions may not have an undefined "type" property. Have you misspelled a constant?');if(p)throw new Error("Reducers may not dispatch actions.");try{p=!0,l=u(l,e)}finally{p=!1}for(var t=c=f,n=0;n0&&void 0!==arguments[0]?arguments[0]:{},t=arguments[1];if(s)throw s;for(var r=!1,o={},a=0;ao?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);++r1&&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(175),o=n(28);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(25);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--:++a0){if(++t>=n)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}},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";(function(e){var n="object"==typeof e&&e&&e.Object===Object&&e;t.a=n}).call(this,n(15))},,,,,,,,,,,function(e,t,n){var r=n(11),o=n(3),i=n(13),a="[object String]";e.exports=function(e){return"string"==typeof e||!o(e)&&i(e)&&r(e)==a}},,function(e,t,n){var r=n(259),o=n(28);e.exports=function(e){return null==e?[]:r(e,o(e))}},function(e,t,n){var r=n(30);e.exports=function(e,t){return r(t,function(t){return e[t]})}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.nonReplaceVars=void 0;var r=Object.assign||function(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:156;if((e=(e=(0,u.stripTags)(e)).trim()).length<=t)return e;return(e=e.substring(0,t)).substring(0,e.lastIndexOf(" "))};var o=l(n(116)),i=l(n(160)),a=n(57),s=n(296),u=n(409);function l(e){return e&&e.__esModule?e:{default:e}}var c=t.nonReplaceVars=["slug","content"];function f(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 p(e){return e=f(e),(0,s.firstToUpperCase)(e)}function d(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"_";return e.replace(/\s/g,t)}function y(e){return{name:"cf_"+d(e),label:(0,s.firstToUpperCase)(e+" (custom field)")}}function h(e){var t=d(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(33),o=n(28);e.exports=function(e,t){return e&&r(t,o(t),e)}},function(e,t,n){var r=n(33),o=n(77);e.exports=function(e,t){return e&&r(t,o(t),e)}},function(e,t,n){var r=n(33),o=n(73);e.exports=function(e,t){return r(e,o(e),t)}},function(e,t,n){var r=n(33),o=n(161);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=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(115),o=n(267),i=n(268),a=n(270),s=n(271),u=n(273),l=n(233),c="[object Boolean]",f="[object Date]",p="[object Map]",d="[object Number]",y="[object RegExp]",h="[object Set]",v="[object String]",m="[object Symbol]",b="[object ArrayBuffer]",g="[object DataView]",_="[object Float32Array]",w="[object Float64Array]",E="[object Int8Array]",O="[object Int16Array]",x="[object Int32Array]",S="[object Uint8Array]",k="[object Uint8ClampedArray]",P="[object Uint16Array]",j="[object Uint32Array]";e.exports=function(e,t,n,T){var A=e.constructor;switch(t){case b:return r(e);case c:case f:return new A(+e);case g:return o(e,T);case _:case w:case E:case O:case x:case S:case k:case P:case j:return l(e,T);case p:return i(e,T,n);case d:case v:return new A(e);case y:return a(e);case h:return s(e,T,n);case m:return u(e)}}},function(e,t,n){var r=n(115);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,n){var r=n(269),o=n(146),i=n(132),a=1;e.exports=function(e,t,n){var s=t?n(i(e),a):i(e);return o(s,r,new e.constructor)}},function(e,t){e.exports=function(e,t){return e.set(t[0],t[1]),e}},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(272),o=n(146),i=n(102),a=1;e.exports=function(e,t,n){var s=t?n(i(e),a):i(e);return o(s,r,new e.constructor)}},function(e,t){e.exports=function(e,t){return e.add(t),e}},function(e,t,n){var r=n(14),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(26),o=n(275),i=n(276),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(39),o=n(203);e.exports=function(e,t){return t.length<2?e:r(e,o(t,0,-1))}},function(e,t,n){var r=n(235);e.exports=function(e){return r(e)?void 0:e}},function(e,t,n){var r=n(14),o=n(50),i=n(3),a=r?r.isConcatSpreadable:void 0;e.exports=function(e){return i(e)||o(e)||!!(a&&e&&e[a])}},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(139),o=n(21);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(494)),o=n(280);var i=n(116),a=n(21),s=n(339).editorHasMarks,u=n(339).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(204),o=n(338);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",p=t.END_MARK="",d=[],y={"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"}]},h={singleH1:{"core/heading":[{key:"content",filter:function(e){return 1===e.level}}]}};function v(){var e=d.shift();e&&((0,u.dispatch)("core/annotations").__experimentalAddAnnotation(e),m())}function m(){(0,o.default)(window.requestIdleCallback)?window.requestIdleCallback(v,{timeout:1e3}):setTimeout(v,150)}function b(e){for(var t=e.indexOf(f),n=null,r=[];t>=0;){if((n=(e=e.replace(f,"")).indexOf(p))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 _(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 b(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 w(e){var t=(0,u.select)("yoast-seo/editor").getActiveMarker(),n=h[t]||y;return n.hasOwnProperty(e)?n[e]:[]}function E(e,t,n){var o=e.key,i=t.attributes,u=i[o];if(e.filter&&!e.filter(i))return[];var l=(0,s.create)({html:u,multilineTag:e.multilineTag,multilineWrapperTag:e.multilineWrapperTag}).text;return(0,a.default)(n,function(e){var n=_(l,e);return n?n.map(function(e){return r({},e,{block:t.clientId,richTextIdentifier:o})}):[]})}function O(e){d=e.map(function(e){return{blockClientId:e.block,source:c,richTextIdentifier:e.richTextIdentifier,range:{start:e.startOffset,end:e.endOffset}}})}},function(e,t,n){"use strict";var r=n(139),o=n(21);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(24),o=n(25),i=n(64),a=n(7);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(58)),o=i(n(116));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}),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;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=n(0),o="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,i=n(240),a=n(342),s=n(343),u=".",l=":",c="function"==typeof Symbol&&Symbol.iterator,f="@@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 d(e,t,n,r){var i,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?u+p(e,0):t),1;var y=0,h=""===t?u:t+l;if(Array.isArray(e))for(var v=0;v0&&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=Object.assign||function(e){for(var t=1;t0&&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){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.stripTags=function(e){return(e=e||"").replace(/|$)/g,"").replace(/<(script|style)[^>]*>[\s\S]*?(<\/\1>|$)/gi,"").replace(/<\/?[a-z][\s\S]*?(>|$)/gi,"")}},,,,,,,,,,,,,,,,,,,function(e,t,n){var r=n(5);e.exports=function(){return r.Date.now()}},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){"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(163),o=n(435),i=n(204),a=n(436),s=i(function(e){return e.push(void 0,a),r(o,void 0,e)});e.exports=s},function(e,t,n){var r=n(33),o=n(283),i=n(77),a=o(function(e,t,n,o){r(t,i(t),e,o)});e.exports=a},function(e,t,n){var r=n(24),o=Object.prototype,i=o.hasOwnProperty;e.exports=function(e,t,n,a){return void 0===e||r(e,o[n])&&!i.call(a,n)?t:e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=i(n(21)),o=i(n(27));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){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(106),o=function(e){return e&&e.__esModule?e:{default:e}}(n(617)),i=n(298);t.default=(0,r.connect)(function(e){return{isCornerstone:e.isCornerstone}},function(e){return{onChange:function(){e((0,i.toggleCornerstoneContent)())}}})(o.default)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(106),o=n(10);t.default=(0,r.connect)(function(e){return{message:e.warning.message}})(o.YoastWarning)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;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 c.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(s.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(a.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}();d.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},d.defaultProps={results:null,language:"",changeLanguageLink:"#",canChangeLanguage:!1,marksButtonStatus:"enabled",marksButtonClassName:"",activeMarker:null,keywordKey:""},t.default=(0,u.compose)([(0,l.withSelect)(function(e){return{activeMarker:(0,e("yoast-seo/editor").getActiveMarker)()}}),(0,l.withDispatch)(function(e){var t=e("yoast-seo/editor");return{setActiveMarker:t.setActiveMarker,setMarkerPauseStatus:t.setMarkerPauseStatus}})])(d)},function(e,t){e.exports=window.wp.compose},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(10),o=function(e){return e&&e.__esModule?e:{default:e}}(n(4));var i=r.utils.makeOutboundLink(o.default.a.withConfig({displayName:"HelpLink"})(["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=function(){function e(e,t){for(var n=0;n=48&&i<=57||i>=65&&i<=90||i>=97&&i<=122?n+=t.charAt(r):i<128?n+=o[i]:i<2048?n+=o[192|i>>6]+o[128|63&i]:i<55296||i>=57344?n+=o[224|i>>12]+o[128|i>>6&63]+o[128|63&i]:(r+=1,i=65536+((1023&i)<<10|1023&t.charCodeAt(r)),n+=o[240|i>>18]+o[128|i>>12&63]+o[128|i>>6&63]+o[128|63&i])}return n},isBuffer:function(e){return null!==e&&void 0!==e&&!!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e))},isRegExp:function(e){return"[object RegExp]"===Object.prototype.toString.call(e)},merge:function e(t,n,o){if(!n)return t;if("object"!=typeof n){if(Array.isArray(t))t.push(n);else{if("object"!=typeof t)return[t,n];(o.plainObjects||o.allowPrototypes||!r.call(Object.prototype,n))&&(t[n]=!0)}return t}if("object"!=typeof t)return[t].concat(n);var a=t;return Array.isArray(t)&&!Array.isArray(n)&&(a=i(t,o)),Array.isArray(t)&&Array.isArray(n)?(n.forEach(function(n,i){r.call(t,i)?t[i]&&"object"==typeof t[i]?t[i]=e(t[i],n,o):t.push(n):t[i]=n}),t):Object.keys(n).reduce(function(t,i){var a=n[i];return r.call(t,i)?t[i]=e(t[i],a,o):t[i]=a,t},a)}}},function(e,t,n){"use strict";var r=String.prototype.replace,o=/%20/g;e.exports={default:"RFC3986",formatters:{RFC1738:function(e){return r.call(e,o,"+")},RFC3986:function(e){return e}},RFC1738:"RFC1738",RFC3986:"RFC3986"}},function(e,t,n){var r=n(181);e.exports=function(e,t){return!(null==e||!e.length)&&r(e,t,0)>-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(113),o=n(24);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){"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(22)),o=i(n(139));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(){var e=[];(0,a.default)().recalibrationBetaActive&&(e=(0,o.default)({mixedString:(0,r.__)("We're sorry! Unfortunately, the recalibrated analysis beta doesn't work as intended with your current setup {{bold}}yet{{/bold}}. Please deactivate the recalibration beta under \"SEO - General - Features\" and please try again later. We value your input! If you can't access the feature page, please contact your administrator. ","wordpress-seo"),components:{bold:wp.element.createElement("b",null)}}),window.YoastSEO.store.dispatch((0,i.setWarningMessage)(e)))};s(n(0));var r=n(8),o=s(n(120)),i=n(433),a=s(n(139));function s(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(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&&void 0!==arguments[0])||arguments[0],t=this.getPostAttribute("excerpt");return""!==t||!1===e?t:(0,s.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,u.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=l},function(e,t,n){var r=n(193),o=n(405);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(10),o=h(n(599)),i=h(n(600)),a=h(n(601)),s=h(n(602)),u=h(n(603)),l=h(n(604)),c=h(n(607)),f=h(n(608)),p=h(n(609)),d=h(n(408)),y=h(n(610));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(429),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(298),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(279),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(280),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(21)),o=u(n(336)),i=u(n(281)),a=u(n(605)),s=u(n(606));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(139),o=n(21);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(139),o=n(21);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(337),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(432)},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(433),i={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.displayName="YoastIconKader",o.defaultProps={viewBox:"0 0 425 456.27"},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:""};!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,s.fillReplacementVariables)(this._initialData,this._store),this.subscribeToElements(),this.subscribeToStore()}},{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,s.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""===e&&(e=u.tmceId),p(l.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,a.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,a.updateReplacementVariable)("excerpt",e.excerpt)),this._store.dispatch((0,a.updateReplacementVariable)("excerpt_only",e.excerpt_only)))}},{key:"subscribeToStore",value:function(){this.subscriber=(0,c.default)(this.refreshYoastSEO,500),this._store.subscribe(this.subscriber)}},{key:"getInitialData",value:function(e){return e=(0,s.mapCustomFields)(e,this._store),e=(0,s.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=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"+(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 links suggestions","wordpress-seo")+"",(0,o.sprintf)((0,o.__)("%1$sSocial media preview%2$s: Facebook & Twitter","wordpress-seo"),"",""),""+(0,o.__)("24/7 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 updates and upgrades 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(120)),o=n(10),i=n(8),a=u(n(345)),s=u(n(1));function u(e){return e&&e.__esModule?e:{default:e}}var l=(0,o.utils.makeOutboundLink)(),c=function(e){var t=(0,i.sprintf)((0,i.__)("Great news: you can, with %1$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 links suggestions","wordpress-seo")+"",(0,i.sprintf)((0,i.__)("%1$sSocial media preview%2$s: Facebook & Twitter","wordpress-seo"),"",""),""+(0,i.__)("24/7 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 updates and upgrades 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});s(n(0));var r=s(n(1)),o=s(n(4)),i=n(8),a=n(10);function s(e){return e&&e.__esModule?e:{default:e}}var u=o.default.p.withConfig({displayName:"AnalysisUpsell__TextContainer"})(["color:",";margin:0;padding-right:8px;"],a.colors.$color_upsell_text),l=o.default.div.withConfig({displayName:"AnalysisUpsell__Container"})(["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.getRtlStyle)("border-left","border-right"),a.colors.$color_pink_dark,u,function(e){return"vertical"===e.alignment&&"16px"}),c=(0,o.default)(a.SvgIcon).withConfig({displayName:"AnalysisUpsell__Caret"})(["margin:",";transform:",";"],(0,a.getRtlStyle)("0 0 0 4px","0 4px 0 0"),(0,a.getRtlStyle)("rotate(0deg)","rotate(180deg)")),f=a.utils.makeOutboundLink(a.UpsellLinkButton),p=function(e){var t=e.alignment,n=e.url;return wp.element.createElement(l,{alignment:t},wp.element.createElement(u,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(f,{href:n},(0,i.sprintf)((0,i.__)("Go %s!","wordpress-seo"),"Premium"),wp.element.createElement(c,{icon:"arrow-right",size:"8px",color:a.colors.$color_black}))))};p.propTypes={alignment:r.default.oneOf(["horizontal","vertical"]),url:r.default.string.isRequired},p.defaultProps={alignment:"vertical"},t.default=p},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});o(n(0));var r=o(n(1));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;t0&&e.updateReplacementVariable(e.props.primaryTaxonomyId)})}))}},{key:"getSelectedTerms",value:function(e,t){return e.filter(function(e){return t.includes(e.id)})}},{key:"updateSelectedTerms",value:function(e,t){var n=this.getSelectedTerms(e,t);this.setState({selectedTerms:n})}},{key:"onChange",value:function(e){var t=this.props.taxonomy.name;this.updateReplacementVariable(e),this.props.setPrimaryTaxonomyId(t,e),this.input.value=-1===e?"":e}},{key:"updateReplacementVariable",value:function(e){if("category"===this.props.taxonomy.name){var t=this.state.selectedTerms.find(function(t){return t.id===e});this.props.updateReplacementVariable("primary_"+this.props.taxonomy.name,t?t.name:"")}}},{key:"render",value:function(){var e=this.props,t=e.primaryTaxonomyId,n=e.taxonomy;if(this.state.selectedTerms.length<2)return null;var r="yoast-primary-"+n.name+"-picker";return wp.element.createElement(h,{className:"components-base-control__field"},wp.element.createElement("label",{htmlFor:r,className:"components-base-control__label"},(0,u.sprintf)((0,u.__)("Select the primary %s","wordpress-seo"),n.singularLabel.toLowerCase())),wp.element.createElement(d.default,{value:t,onChange:this.onChange,id:r,terms:this.state.selectedTerms}))}}]),t}();v.propTypes={selectedTermIds:i.default.arrayOf(i.default.number),primaryTaxonomyId:i.default.number,setPrimaryTaxonomyId:i.default.func,updateReplacementVariable:i.default.func,receiveEntityRecords:i.default.func,taxonomy:i.default.shape({name:i.default.string,fieldId:i.default.string,restBase:i.default.string,singularLabel:i.default.string})},t.default=(0,s.compose)([(0,a.withSelect)(function(e,t){var n=e("core/editor"),r=e("yoast-seo/editor"),o=t.taxonomy;return{selectedTermIds:n.getEditedPostAttribute(o.restBase)||[],primaryTaxonomyId:r.getPrimaryTaxonomyId(o.name)}}),(0,a.withDispatch)(function(e){var t=e("yoast-seo/editor");return{setPrimaryTaxonomyId:t.setPrimaryTaxonomyId,updateReplacementVariable:t.updateReplacementVariable}})])(v)},function(e,t){e.exports=window.wp.apiFetch},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isURL=function(e){return i.test(e)},t.getProtocol=function(e){var t=/^([^\s:]+:)/.exec(e);if(t)return t[1]},t.isValidProtocol=function(e){if(!e)return!1;return/^[a-z\-.\+]+[0-9]*:(?:\/\/)?\/?$/i.test(e)},t.getAuthority=function(e){var t=/^[^\/\s:]+:(?:\/\/)?\/?([^\/\s#?]+)[\/#?]{0,1}\S*$/.exec(e);if(t)return t[1]},t.isValidAuthority=function(e){if(!e)return!1;return/^[^\s#?]+$/.test(e)},t.getPath=function(e){var t=/^[^\/\s:]+:(?:\/\/)?[^\/\s#?]+[\/]([^\s#?]+)[#?]{0,1}\S*$/.exec(e);if(t)return t[1]},t.isValidPath=function(e){if(!e)return!1;return/^[^\s#?]+$/.test(e)},t.getQueryString=function(e){var t=/^\S+?\?([^\s#]+)/.exec(e);if(t)return t[1]},t.isValidQueryString=function(e){if(!e)return!1;return/^[^\s#?\/]+$/.test(e)},t.getFragment=function(e){var t=/^\S+(#[^\s\?]*)/.exec(e);if(t)return t[1]},t.isValidFragment=function(e){if(!e)return!1;return/^#[^\s#?\/]*$/.test(e)},t.addQueryArgs=function(e,t){var n=e.indexOf("?"),i=-1!==n?(0,o.parse)(e.substr(n+1)):{};return(-1!==n?e.substr(0,n):e)+"?"+(0,o.stringify)((0,r.default)({},i,t))},t.getQueryArg=u,t.hasQueryArg=function(e,t){return void 0!==u(e,t)},t.removeQueryArgs=function(e){for(var t=e.indexOf("?"),n=-1!==t?(0,o.parse)(e.substr(t+1)):{},r=-1!==t?e.substr(0,t):e,i=arguments.length,a=new Array(i>1?i-1:0),s=1;s0?P+k:""}},function(e,t,n){"use strict";var r=n(454),o=Object.prototype.hasOwnProperty,i={allowDots:!1,allowPrototypes:!1,arrayLimit:20,decoder:r.decode,delimiter:"&",depth:5,parameterLimit:1e3,plainObjects:!1,strictNullHandling:!1},a=function(e,t,n){if(e){var r=n.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e,i=/(\[[^[\]]*])/g,a=/(\[[^[\]]*])/.exec(r),s=a?r.slice(0,a.index):r,u=[];if(s){if(!n.plainObjects&&o.call(Object.prototype,s)&&!n.allowPrototypes)return;u.push(s)}for(var l=0;null!==(a=i.exec(r))&&l=0;--o){var i,a=e[o];if("[]"===a)i=(i=[]).concat(r);else{i=n.plainObjects?Object.create(null):{};var s="["===a.charAt(0)&&"]"===a.charAt(a.length-1)?a.slice(1,-1):a,u=parseInt(s,10);!isNaN(u)&&a!==s&&String(u)===s&&u>=0&&n.parseArrays&&u<=n.arrayLimit?(i=[])[u]=r:i[s]=r}r=i}return r}(u,t,n)}};e.exports=function(e,t){var n=t?r.assign({},t):{};if(null!==n.decoder&&void 0!==n.decoder&&"function"!=typeof n.decoder)throw new TypeError("Decoder has to be a function.");if(n.ignoreQueryPrefix=!0===n.ignoreQueryPrefix,n.delimiter="string"==typeof n.delimiter||r.isRegExp(n.delimiter)?n.delimiter:i.delimiter,n.depth="number"==typeof n.depth?n.depth:i.depth,n.arrayLimit="number"==typeof n.arrayLimit?n.arrayLimit:i.arrayLimit,n.parseArrays=!1!==n.parseArrays,n.decoder="function"==typeof n.decoder?n.decoder:i.decoder,n.allowDots="boolean"==typeof n.allowDots?n.allowDots:i.allowDots,n.plainObjects="boolean"==typeof n.plainObjects?n.plainObjects:i.plainObjects,n.allowPrototypes="boolean"==typeof n.allowPrototypes?n.allowPrototypes:i.allowPrototypes,n.parameterLimit="number"==typeof n.parameterLimit?n.parameterLimit:i.parameterLimit,n.strictNullHandling="boolean"==typeof n.strictNullHandling?n.strictNullHandling:i.strictNullHandling,""===e||null===e||void 0===e)return n.plainObjects?Object.create(null):{};for(var s="string"==typeof e?function(e,t){for(var n={},r=t.ignoreQueryPrefix?e.replace(/^\?/,""):e,a=t.parameterLimit===1/0?void 0:t.parameterLimit,s=r.split(t.delimiter,a),u=0;u=l&&(p=u,d=!1,t=new r(t));e:for(;++f=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(11),o=n(13),i="[object Number]";e.exports=function(e){return"number"==typeof e||o(e)&&r(e)==i}},function(e,t,n){var r=n(146),o=n(128),i=n(143),a=n(647),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,o){return o(e,function(e,o,i){n=r?(r=!1,e):t(n,e,o,i)}),n}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){e("morphology",new r.Paper("",{keyword:n})).then(function(e){var n=e.result.keyphraseForms;t.dispatch((0,o.updateWordsToHighlight)((0,a.default)((0,i.default)(n))))}).catch(function(){t.dispatch((0,o.updateWordsToHighlight)([]))})};var r=n(58),o=n(57),i=s(n(192)),a=s(n(649));function s(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){var r=n(650);e.exports=function(e){return e&&e.length?r(e):[]}},function(e,t,n){var r=n(150),o=n(456),i=n(457),a=n(151),s=n(651),u=n(102),l=200;e.exports=function(e,t,n){var c=-1,f=o,p=e.length,d=!0,y=[],h=y;if(n)d=!1,f=i;else if(p>=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")};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(22)),o=p(n(21)),i=p(n(349)),a=n(58),s=p(n(462)),u=p(n(656)),l=p(n(373)),c=p(n(336)),f=p(n(281));function p(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){var r=n(66),o=n(461),i=n(175),a=n(654),s=n(7),u=n(77);e.exports=function e(t,n,l,c,f){t!==n&&i(n,function(i,u){if(s(i))f||(f=new r),a(t,n,u,l,e,c,f);else{var p=c?c(t[u],i,u+"",t,n,f):void 0;void 0===p&&(p=i),o(t,u,p)}},u)}},function(e,t,n){var r=n(461),o=n(232),i=n(233),a=n(190),s=n(234),u=n(50),l=n(3),c=n(458),f=n(51),p=n(27),d=n(7),y=n(235),h=n(65),v=n(655);e.exports=function(e,t,n,m,b,g,_){var w=e[n],E=t[n],O=_.get(E);if(O)r(e,n,O);else{var x=g?g(w,E,n+"",e,t,_):void 0,S=void 0===x;if(S){var k=l(E),P=!k&&f(E),j=!k&&!P&&h(E);x=E,k||P||j?l(w)?x=w:c(w)?x=a(w):P?(S=!1,x=o(E,!0)):j?(S=!1,x=i(E,!0)):x=[]:y(E)||u(E)?(x=w,u(w)?x=v(w):(!d(w)||m&&p(w))&&(x=s(E))):S=!1}S&&(_.set(E,x),b(x,E,m,g,_),_.delete(E)),r(e,n,x)}}},function(e,t,n){var r=n(33),o=n(77);e.exports=function(e){return r(e,o(e))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return(0,r.default)(window,["wpseoAdminL10n","default_query_params"],{})};var r=function(e){return e&&e.__esModule?e:{default:e}}(n(22))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.sortResultsByIdentifier=s,t.default=function(e,t,n,u,l){var c=t();if(!a)return;e.analyze(c).then(function(e){var t=e.result,i=t.seo,a=t.readability;if(i){var f=i[""];f.results.forEach(function(e){e.getMarker=function(){return function(){return n(c,e.marks)}}}),f.results=s(f.results),u.dispatch((0,r.setSeoResultsForKeyword)(c.getKeyword(),f.results)),u.dispatch((0,r.setOverallSeoScore)(f.score,c.getKeyword())),u.dispatch((0,o.refreshSnippetEditor)()),l.saveScores(f.score,c.getKeyword())}a&&(a.results.forEach(function(e){e.getMarker=function(){return function(){return n(c,e.marks)}}}),a.results=s(a.results),u.dispatch((0,r.setReadabilityResults)(a.results)),u.dispatch((0,r.setOverallReadabilityScore)(a.score)),u.dispatch((0,o.refreshSnippetEditor)()),l.saveContentScore(a.score))}).catch(i.default)},t.initializationDone=function(){a=!0};var r=n(350),o=n(57),i=function(e){return e&&e.__esModule?e:{default:e}}(n(463));var a=!1;function s(e){return e.sort(function(e,t){return e._identifier.localeCompare(t._identifier)})}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n,u){var l=(0,r.default)(t.getState());(0,o.default)(l,n.getData());var c={text:e.getData().getData().content,keyword:l.focusKeyword,synonyms:l.synonyms,description:l.analysisData.snippet.description||l.snippetEditor.data.description,title:l.analysisData.snippet.title||l.snippetEditor.data.title,url:l.snippetEditor.data.slug,permalink:l.settings.snippetEditor.baseUrl+l.snippetEditor.data.slug};u.loaded&&(c.title=u._applyModifications("data_page_title",c.title),c.title=u._applyModifications("title",c.title),c.description=u._applyModifications("data_meta_desc",c.description),c.text=u._applyModifications("content",c.text));return c.titleWidth=(0,i.default)(c.title),c.locale=(0,a.default)(),s.Paper.parse(c)};var r=u(n(659)),o=u(n(349)),i=u(n(464)),a=u(n(462)),s=n(58);function u(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){var r=n(229),o=1,i=4;e.exports=function(e){return r(e,o|i)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t