(window.yoastWebpackJsonp=window.yoastWebpackJsonp||[]).push([[6],[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),p=l(o),f=l(i),d=l(a),h=l(s),y=u;(r&&"[object DataView]"!=y(new r(new ArrayBuffer(1)))||o&&"[object Map]"!=y(new o)||i&&"[object Promise]"!=y(i.resolve())||a&&"[object Set]"!=y(new a)||s&&"[object WeakMap]"!=y(new s))&&(y=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 p:return"[object Map]";case f:return"[object Promise]";case d:return"[object Set]";case h:return"[object WeakMap]"}return t}),e.exports=y},,,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),p=n.n(c),f=n(169),d=n.n(f);var h=null,y={notify:function(){}};var m=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=y}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=h,e=h},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,f=o.renderCountProp,h=void 0===f?void 0:f,y=o.shouldHandleStateChanges,w=void 0===y||y,x=o.storeKey,E=void 0===x?"store":x,O=o.withRef,k=void 0!==O&&O,S=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(o,["getDisplayName","methodName","renderCountProp","shouldHandleStateChanges","storeKey","withRef"]),P=E+"Subscription",j=v++,T=((t={})[E]=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=g({},S,{getDisplayName:u,methodName:c,renderCountProp:h,shouldHandleStateChanges:w,storeKey:E,withRef:k,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[E]||t[E],r.propsMode=Boolean(e[E]),r.setWrappedInstance=r.setWrappedInstance.bind(r),d()(r.store,'Could not find "'+E+'" in either the context or props of "'+o+'". Either wrap the root component in a , or explicitly pass "'+E+'" 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()(k,"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 m(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(!(k||h||this.propsMode&&this.subscription))return e;var t=g({},e);return k&&(t.ref=this.setWrappedInstance),h&&(t[h]=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,p()(a,t)}}var x=Object.prototype.hasOwnProperty;function E(e,t){return e===t?0!==e||0!==t||1/e==1/t:e!=e&&t!=t}function O(e,t){if(E(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?L: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 F(e,t){return e===t}var U=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?D: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,p=i.areStatesEqual,f=void 0===p?F:p,d=i.areOwnPropsEqual,h=void 0===d?O:d,y=i.areStatePropsEqual,m=void 0===y?O:y,g=i.areMergedPropsEqual,v=void 0===g?O:g,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"),x=B(r,u,"mergeProps");return n(c,N({methodName:"connect",getDisplayName:function(e){return"Connect("+e+")"},shouldHandleStateChanges:Boolean(e),initMapStateToProps:_,initMapDispatchToProps:w,initMergeProps:x,pure:l,areStatesEqual:f,areOwnPropsEqual:h,areStatePropsEqual:m,areMergedPropsEqual:v},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 U})},,,,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),p=!n&&!c&&a(e),f=!n&&!c&&!p&&u(e),d=n||c||p||f,h=d?r(e.length,String):[],y=h.length;for(var m in e)!t&&!l.call(e,m)||d&&("length"==m||p&&("offset"==m||"parent"==m)||f&&("buffer"==m||"byteLength"==m||"byteOffset"==m)||s(m,y))||h.push(m);return h}},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,p,f,d,h,y=[],m={};for(f=0;f "+u);if("componentClose"===p.type)throw new Error("Missing opening component token: `"+p.value+"`");if("componentOpen"===p.type){n=t[p.value],s=f;break}y.push(t[p.value])}else y.push(p.value);return n&&(c=function(e,t){var n,r,o=t[e],i=0;for(r=e+1;rf))return!1;var h=c.get(e);if(h&&c.get(t))return h==t;var y=-1,m=!0,g=n&s?new r:void 0;for(c.set(e,t),c.set(t,e);++y1),t}),s(e,c(e),n),l&&(n=o(n,7,u));for(var p=t.length;p--;)i(n,t[p]);return n});e.exports=p},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,p,f,d,h,y=0,m=!1,g=!1,v=!0;if("function"!=typeof e)throw new TypeError(a);function b(t){var n=l,r=c;return l=c=void 0,y=t,f=e.apply(r,n)}function _(e){var n=e-h;return void 0===h||n>=t||n<0||g&&e-y>=p}function w(){var e=o();if(_(e))return x(e);d=setTimeout(w,function(e){var n=t-(e-h);return g?u(n,p-(e-y)):n}(e))}function x(e){return d=void 0,v&&l?b(e):(l=c=void 0,f)}function E(){var e=o(),n=_(e);if(l=arguments,c=this,h=e,n){if(void 0===d)return function(e){return y=e,d=setTimeout(w,t),m?b(e):f}(h);if(g)return d=setTimeout(w,t),b(h)}return void 0===d&&(d=setTimeout(w,t)),f}return t=i(t)||0,r(n)&&(m=!!n.leading,p=(g="maxWait"in n)?s(i(n.maxWait)||0,t):p,v="trailing"in n?!!n.trailing:v),E.cancel=function(){void 0!==d&&clearTimeout(d),y=0,l=h=c=d=void 0},E.flush=function(){return void 0===d?f:x(o())},E}},,,,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=[],p=c,f=!1;function d(){p===c&&(p=c.slice())}function h(){return l}function y(e){if("function"!=typeof e)throw new Error("Expected listener to be a function.");var t=!0;return d(),p.push(e),function(){if(t){t=!1,d();var n=p.indexOf(e);p.splice(n,1)}}}function m(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(f)throw new Error("Reducers may not dispatch actions.");try{f=!0,l=u(l,e)}finally{f=!1}for(var t=c=p,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 p(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=p(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 h(e){return{name:"cf_"+d(e),label:(0,s.firstToUpperCase)(e+" (custom field)")}}function y(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]",p="[object Date]",f="[object Map]",d="[object Number]",h="[object RegExp]",y="[object Set]",m="[object String]",g="[object Symbol]",v="[object ArrayBuffer]",b="[object DataView]",_="[object Float32Array]",w="[object Float64Array]",x="[object Int8Array]",E="[object Int16Array]",O="[object Int32Array]",k="[object Uint8Array]",S="[object Uint8ClampedArray]",P="[object Uint16Array]",j="[object Uint32Array]";e.exports=function(e,t,n,T){var A=e.constructor;switch(t){case v:return r(e);case c:case p:return new A(+e);case b:return o(e,T);case _:case w:case x:case E:case O:case k:case S:case P:case j:return l(e,T);case f:return i(e,T,n);case d:case m:return new A(e);case h:return a(e);case y:return s(e,T,n);case g: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 p(){a(l)||l.dispatch((0,o.setMarkerStatus)("disabled"))}function f(){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"],p);var n=["show"];(new r.default).isPageBuilderActive()||n.push("init"),c(t,n,f),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:p,enableMarkerButtons:f,wpTextViewOnInitCheck:function(){d()&&(p(),t()&&tinyMCE.on("AddEditor",function(){f()}))},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);++ra.length?(this.options.missing_key_callback&&this.options.missing_key_callback(l,e),s=[n,r],!0===this.options.debug&&console.log(s[f(y)(o)]),s[f()(o)]):(s=a[u])||(s=[n,r])[f()(o)]}});var h=function(){function e(e){return Object.prototype.toString.call(e).slice(8,-1).toLowerCase()}function t(e,t){for(var n=[];t>0;n[--t]=e);return n.join("")}var n=function(){return n.cache.hasOwnProperty(arguments[0])||(n.cache[arguments[0]]=n.parse(arguments[0])),n.format.call(null,n.cache[arguments[0]],arguments)};return n.format=function(n,r){var o,i,a,s,u,l,c,p=1,f=n.length,d="",y=[];for(i=0;i=0?"+"+o:o,l=s[4]?"0"==s[4]?"0":s[4].charAt(1):" ",c=s[6]-String(o).length,u=s[6]?t(l,c):"",y.push(s[5]?o+u:u+o)}return y.join("")},n.cache={},n.parse=function(e){for(var t=e,n=[],r=[],o=0;t;){if(null!==(n=/^[^\x25]+/.exec(t)))r.push(n[0]);else if(null!==(n=/^\x25{2}/.exec(t)))r.push("%");else{if(null===(n=/^\x25(?:([1-9]\d*)\$|\(([^\)]+)\))?(\+)?(0|'[^$])?(-)?(\d+)?(?:\.(\d+))?([b-fosuxX])/.exec(t)))throw"[sprintf] huh?";if(n[2]){o|=1;var i=[],a=n[2],s=[];if(null===(s=/^([a-z_][a-z_\d]*)/i.exec(a)))throw"[sprintf] huh?";for(i.push(s[1]);""!==(a=a.substring(s[0].length));)if(null!==(s=/^\.([a-z_][a-z_\d]*)/i.exec(a)))i.push(s[1]);else{if(null===(s=/^\[(\d+)\]/.exec(a)))throw"[sprintf] huh?";i.push(s[1])}n[2]=i}else o|=2;if(3===o)throw"[sprintf] mixing positional and named placeholders is not (yet) supported";r.push(n)}t=t.substring(n[0].length)}return r},n}();p.parse_plural=function(e,t){return e=e.replace(/n/g,t),p.parse_expression(e)},p.sprintf=function(e,t){return"[object Array]"=={}.toString.call(t)?function(e,t){return t.unshift(e),h.apply(null,t)}(e,[].slice.call(t)):h.apply(this,[].slice.call(arguments))},p.prototype.sprintf=function(){return p.sprintf.apply(this,arguments)},p.PF={},p.PF.parse=function(e){var t=p.PF.extractPluralExpr(e);return p.PF.parser.parse.call(p.PF.parser,t)},p.PF.compile=function(e){var t=p.PF.parse(e);return function(e){return function(e){return!0===e?1:e||0}(p.PF.interpreter(t)(e))}},p.PF.interpreter=function(e){return function(t){switch(e.type){case"GROUP":return p.PF.interpreter(e.expr)(t);case"TERNARY":return p.PF.interpreter(e.expr)(t)?p.PF.interpreter(e.truthy)(t):p.PF.interpreter(e.falsey)(t);case"OR":return p.PF.interpreter(e.left)(t)||p.PF.interpreter(e.right)(t);case"AND":return p.PF.interpreter(e.left)(t)&&p.PF.interpreter(e.right)(t);case"LT":return p.PF.interpreter(e.left)(t)p.PF.interpreter(e.right)(t);case"LTE":return p.PF.interpreter(e.left)(t)<=p.PF.interpreter(e.right)(t);case"GTE":return p.PF.interpreter(e.left)(t)>=p.PF.interpreter(e.right)(t);case"EQ":return p.PF.interpreter(e.left)(t)==p.PF.interpreter(e.right)(t);case"NEQ":return p.PF.interpreter(e.left)(t)!=p.PF.interpreter(e.right)(t);case"MOD":return p.PF.interpreter(e.left)(t)%p.PF.interpreter(e.right)(t);case"VAR":return t;case"NUM":return e.val;default:throw new Error("Invalid Token found.")}}},p.PF.extractPluralExpr=function(e){e=e.replace(/^\s\s*/,"").replace(/\s\s*$/,""),/;\s*$/.test(e)||(e=e.concat(";"));var t,n=/nplurals\=(\d+);/,r=e.match(n);if(!(r.length>1))throw new Error("nplurals not found in plural_forms string: "+e);if(r[1],!((t=(e=e.replace(n,"")).match(/plural\=(.*);/))&&t.length>1))throw new Error("`plural` expression not found: "+e);return t[1]},p.PF.parser=function(){var e={trace:function(){},yy:{},symbols_:{error:2,expressions:3,e:4,EOF:5,"?":6,":":7,"||":8,"&&":9,"<":10,"<=":11,">":12,">=":13,"!=":14,"==":15,"%":16,"(":17,")":18,n:19,NUMBER:20,$accept:0,$end:1},terminals_:{2:"error",5:"EOF",6:"?",7:":",8:"||",9:"&&",10:"<",11:"<=",12:">",13:">=",14:"!=",15:"==",16:"%",17:"(",18:")",19:"n",20:"NUMBER"},productions_:[0,[3,2],[4,5],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,1],[4,1]],performAction:function(e,t,n,r,o,i,a){var s=i.length-1;switch(o){case 1:return{type:"GROUP",expr:i[s-1]};case 2:this.$={type:"TERNARY",expr:i[s-4],truthy:i[s-2],falsey:i[s]};break;case 3:this.$={type:"OR",left:i[s-2],right:i[s]};break;case 4:this.$={type:"AND",left:i[s-2],right:i[s]};break;case 5:this.$={type:"LT",left:i[s-2],right:i[s]};break;case 6:this.$={type:"LTE",left:i[s-2],right:i[s]};break;case 7:this.$={type:"GT",left:i[s-2],right:i[s]};break;case 8:this.$={type:"GTE",left:i[s-2],right:i[s]};break;case 9:this.$={type:"NEQ",left:i[s-2],right:i[s]};break;case 10:this.$={type:"EQ",left:i[s-2],right:i[s]};break;case 11:this.$={type:"MOD",left:i[s-2],right:i[s]};break;case 12:this.$={type:"GROUP",expr:i[s-1]};break;case 13:this.$={type:"VAR"};break;case 14:this.$={type:"NUM",val:Number(e)}}},table:[{3:1,4:2,17:[1,3],19:[1,4],20:[1,5]},{1:[3]},{5:[1,6],6:[1,7],8:[1,8],9:[1,9],10:[1,10],11:[1,11],12:[1,12],13:[1,13],14:[1,14],15:[1,15],16:[1,16]},{4:17,17:[1,3],19:[1,4],20:[1,5]},{5:[2,13],6:[2,13],7:[2,13],8:[2,13],9:[2,13],10:[2,13],11:[2,13],12:[2,13],13:[2,13],14:[2,13],15:[2,13],16:[2,13],18:[2,13]},{5:[2,14],6:[2,14],7:[2,14],8:[2,14],9:[2,14],10:[2,14],11:[2,14],12:[2,14],13:[2,14],14:[2,14],15:[2,14],16:[2,14],18:[2,14]},{1:[2,1]},{4:18,17:[1,3],19:[1,4],20:[1,5]},{4:19,17:[1,3],19:[1,4],20:[1,5]},{4:20,17:[1,3],19:[1,4],20:[1,5]},{4:21,17:[1,3],19:[1,4],20:[1,5]},{4:22,17:[1,3],19:[1,4],20:[1,5]},{4:23,17:[1,3],19:[1,4],20:[1,5]},{4:24,17:[1,3],19:[1,4],20:[1,5]},{4:25,17:[1,3],19:[1,4],20:[1,5]},{4:26,17:[1,3],19:[1,4],20:[1,5]},{4:27,17:[1,3],19:[1,4],20:[1,5]},{6:[1,7],8:[1,8],9:[1,9],10:[1,10],11:[1,11],12:[1,12],13:[1,13],14:[1,14],15:[1,15],16:[1,16],18:[1,28]},{6:[1,7],7:[1,29],8:[1,8],9:[1,9],10:[1,10],11:[1,11],12:[1,12],13:[1,13],14:[1,14],15:[1,15],16:[1,16]},{5:[2,3],6:[2,3],7:[2,3],8:[2,3],9:[1,9],10:[1,10],11:[1,11],12:[1,12],13:[1,13],14:[1,14],15:[1,15],16:[1,16],18:[2,3]},{5:[2,4],6:[2,4],7:[2,4],8:[2,4],9:[2,4],10:[1,10],11:[1,11],12:[1,12],13:[1,13],14:[1,14],15:[1,15],16:[1,16],18:[2,4]},{5:[2,5],6:[2,5],7:[2,5],8:[2,5],9:[2,5],10:[2,5],11:[2,5],12:[2,5],13:[2,5],14:[2,5],15:[2,5],16:[1,16],18:[2,5]},{5:[2,6],6:[2,6],7:[2,6],8:[2,6],9:[2,6],10:[2,6],11:[2,6],12:[2,6],13:[2,6],14:[2,6],15:[2,6],16:[1,16],18:[2,6]},{5:[2,7],6:[2,7],7:[2,7],8:[2,7],9:[2,7],10:[2,7],11:[2,7],12:[2,7],13:[2,7],14:[2,7],15:[2,7],16:[1,16],18:[2,7]},{5:[2,8],6:[2,8],7:[2,8],8:[2,8],9:[2,8],10:[2,8],11:[2,8],12:[2,8],13:[2,8],14:[2,8],15:[2,8],16:[1,16],18:[2,8]},{5:[2,9],6:[2,9],7:[2,9],8:[2,9],9:[2,9],10:[2,9],11:[2,9],12:[2,9],13:[2,9],14:[2,9],15:[2,9],16:[1,16],18:[2,9]},{5:[2,10],6:[2,10],7:[2,10],8:[2,10],9:[2,10],10:[2,10],11:[2,10],12:[2,10],13:[2,10],14:[2,10],15:[2,10],16:[1,16],18:[2,10]},{5:[2,11],6:[2,11],7:[2,11],8:[2,11],9:[2,11],10:[2,11],11:[2,11],12:[2,11],13:[2,11],14:[2,11],15:[2,11],16:[2,11],18:[2,11]},{5:[2,12],6:[2,12],7:[2,12],8:[2,12],9:[2,12],10:[2,12],11:[2,12],12:[2,12],13:[2,12],14:[2,12],15:[2,12],16:[2,12],18:[2,12]},{4:30,17:[1,3],19:[1,4],20:[1,5]},{5:[2,2],6:[1,7],7:[2,2],8:[1,8],9:[1,9],10:[1,10],11:[1,11],12:[1,12],13:[1,13],14:[1,14],15:[1,15],16:[1,16],18:[2,2]}],defaultActions:{6:[2,1]},parseError:function(e,t){throw new Error(e)},parse:function(e){var t=this,n=[0],r=[null],o=[],i=this.table,a="",s=0,u=0,l=0;this.lexer.setInput(e),this.lexer.yy=this.yy,this.yy.lexer=this.lexer,void 0===this.lexer.yylloc&&(this.lexer.yylloc={});var c=this.lexer.yylloc;function p(e){n.length=n.length-2*e,r.length=r.length-e,o.length=o.length-e}function f(){var e;return"number"!=typeof(e=t.lexer.lex()||1)&&(e=t.symbols_[e]||e),e}o.push(c),"function"==typeof this.yy.parseError&&(this.parseError=this.yy.parseError);for(var d,h,y,m,g,v,b,_,w,x={};;){if(y=n[n.length-1],this.defaultActions[y]?m=this.defaultActions[y]:(null==d&&(d=f()),m=i[y]&&i[y][d]),void 0===m||!m.length||!m[0]){if(!l){for(v in w=[],i[y])this.terminals_[v]&&v>2&&w.push("'"+this.terminals_[v]+"'");var E="";E=this.lexer.showPosition?"Parse error on line "+(s+1)+":\n"+this.lexer.showPosition()+"\nExpecting "+w.join(", ")+", got '"+this.terminals_[d]+"'":"Parse error on line "+(s+1)+": Unexpected "+(1==d?"end of input":"'"+(this.terminals_[d]||d)+"'"),this.parseError(E,{text:this.lexer.match,token:this.terminals_[d]||d,line:this.lexer.yylineno,loc:c,expected:w})}if(3==l){if(1==d)throw new Error(E||"Parsing halted.");u=this.lexer.yyleng,a=this.lexer.yytext,s=this.lexer.yylineno,c=this.lexer.yylloc,d=f()}for(;!(2..toString()in i[y]);){if(0==y)throw new Error(E||"Parsing halted.");p(1),y=n[n.length-1]}h=d,d=2,m=i[y=n[n.length-1]]&&i[y][2],l=3}if(m[0]instanceof Array&&m.length>1)throw new Error("Parse Error: multiple actions possible at state: "+y+", token: "+d);switch(m[0]){case 1:n.push(d),r.push(this.lexer.yytext),o.push(this.lexer.yylloc),n.push(m[1]),d=null,h?(d=h,h=null):(u=this.lexer.yyleng,a=this.lexer.yytext,s=this.lexer.yylineno,c=this.lexer.yylloc,l>0&&l--);break;case 2:if(b=this.productions_[m[1]][1],x.$=r[r.length-b],x._$={first_line:o[o.length-(b||1)].first_line,last_line:o[o.length-1].last_line,first_column:o[o.length-(b||1)].first_column,last_column:o[o.length-1].last_column},void 0!==(g=this.performAction.call(x,a,u,s,this.yy,m[1],r,o)))return g;b&&(n=n.slice(0,-1*b*2),r=r.slice(0,-1*b),o=o.slice(0,-1*b)),n.push(this.productions_[m[1]][0]),r.push(x.$),o.push(x._$),_=i[n[n.length-2]][n[n.length-1]],n.push(_);break;case 3:return!0}}return!0}},t=function(){var e={EOF:1,parseError:function(e,t){if(!this.yy.parseError)throw new Error(e);this.yy.parseError(e,t)},setInput:function(e){return this._input=e,this._more=this._less=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this},input:function(){var e=this._input[0];return this.yytext+=e,this.yyleng++,this.match+=e,this.matched+=e,e.match(/\n/)&&this.yylineno++,this._input=this._input.slice(1),e},unput:function(e){return this._input=e+this._input,this},more:function(){return this._more=!0,this},pastInput:function(){var e=this.matched.substr(0,this.matched.length-this.match.length);return(e.length>20?"...":"")+e.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var e=this.match;return e.length<20&&(e+=this._input.substr(0,20-e.length)),(e.substr(0,20)+(e.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var e=this.pastInput(),t=new Array(e.length+1).join("-");return e+this.upcomingInput()+"\n"+t+"^"},next:function(){if(this.done)return this.EOF;var e,t;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var n=this._currentRules(),r=0;r=/,/^/,/^!=/,/^==/,/^%/,/^\(/,/^\)/,/^$/,/^./],conditions:{INITIAL:{rules:[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17],inclusive:!0}}};return e}();return e.lexer=t,e}(),void 0!==e&&e.exports&&(t=e.exports=p),t.Jed=p}()},,,,,,,,,,,function(e,t,n){"use strict";var r={childContextTypes:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,mixins:!0,propTypes:!0,type:!0},o={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},i=Object.defineProperty,a=Object.getOwnPropertyNames,s=Object.getOwnPropertySymbols,u=Object.getOwnPropertyDescriptor,l=Object.getPrototypeOf,c=l&&l(Object);e.exports=function e(t,n,p){if("string"!=typeof n){if(c){var f=l(n);f&&f!==c&&e(t,f,p)}var d=a(n);s&&(d=d.concat(s(n)));for(var h=0;h",f=t.END_MARK="",d=[],h={"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 m(){var e=d.shift();e&&((0,u.dispatch)("core/annotations").__experimentalAddAnnotation(e),g())}function g(){(0,o.default)(window.requestIdleCallback)?window.requestIdleCallback(m,{timeout:1e3}):setTimeout(m,150)}function v(e){for(var t=e.indexOf(p),n=null,r=[];t>=0;){if((n=(e=e.replace(p,"")).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 _(e,t){var n=t.getOriginal().replace(/(<([^>]+)>)/gi,""),r=t.getMarked().replace(/(<(?!\/?yoastmark)[^>]+>)/gi,""),o=b(e,n);if(0===o.length)return[];var i=[];return v(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=y[t]||h;return n.hasOwnProperty(e)?n[e]:[]}function x(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 E(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,p="@@iterator";function f(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+f(e,0):t),1;var h=0,y=""===t?u:t+l;if(Array.isArray(e))for(var m=0;m0&&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(f,this.props.upsellButton,this.props.upsellButtonText,this.props.upsellButtonHasCaret&&wp.element.createElement("span",{"aria-hidden":"true",className:"yoast-button-upsell__caret"})),wp.element.createElement(p,{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=y(n(599)),i=y(n(600)),a=y(n(601)),s=y(n(602)),u=y(n(603)),l=y(n(604)),c=y(n(607)),p=y(n(608)),f=y(n(609)),d=y(n(408)),h=y(n(610));function y(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:p.default,settings:f.default,snippetEditor:d.default,warning:h.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),f(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)")),p=a.utils.makeOutboundLink(a.UpsellLinkButton),f=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(p,{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}))))};f.propTypes={alignment:r.default.oneOf(["horizontal","vertical"]),url:r.default.string.isRequired},f.defaultProps={alignment:"vertical"},t.default=f},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(y,{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}();m.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}})])(m)},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+S:""}},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&&(f=u,d=!1,t=new r(t));e:for(;++p=this.preloadThreshold?(this._pollTimeExceeded(),this.loaded=!0,this.refresh()):(e+=50,setTimeout(this._pollLoadingPlugins.bind(this,e),50))}},{key:"_allReady",value:function(){return f(this.plugins,function(e,t){return e&&"ready"===t.status},!0)}},{key:"_pollTimeExceeded",value:function(){i(this.plugins,function(e,t){p(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 p(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,p=o,f=e.length,d=!0,h=[],y=h;if(n)d=!1,p=i;else if(f>=l){var m=t?null:s(e);if(m)return u(m);d=!1,p=a,y=new r}else y=t?[]:h;e:for(;++c0&&void 0!==arguments[0]?arguments[0]:{},t={locale:(0,s.default)(),contentAnalysisActive:(0,c.default)(),keywordAnalysisActive:(0,p.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=f(n(22)),o=f(n(21)),i=f(n(349)),a=n(58),s=f(n(462)),u=f(n(656)),l=f(n(373)),c=f(n(336)),p=f(n(281));function f(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,p){t!==n&&i(n,function(i,u){if(s(i))p||(p=new r),a(t,n,u,l,e,c,p);else{var f=c?c(t[u],i,u+"",t,n,p):void 0;void 0===f&&(f=i),o(t,u,f)}},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),p=n(51),f=n(27),d=n(7),h=n(235),y=n(65),m=n(655);e.exports=function(e,t,n,g,v,b,_){var w=e[n],x=t[n],E=_.get(x);if(E)r(e,n,E);else{var O=b?b(w,x,n+"",e,t,_):void 0,k=void 0===O;if(k){var S=l(x),P=!S&&p(x),j=!S&&!P&&y(x);O=x,S||P||j?l(w)?O=w:c(w)?O=a(w):P?(k=!1,O=o(x,!0)):j?(k=!1,O=i(x,!0)):O=[]:h(x)||u(x)?(O=w,u(w)?O=m(w):(!d(w)||g&&f(w))&&(O=s(x))):k=!1}k&&(_.set(x,O),v(O,x,g,b,_),_.delete(x)),r(e,n,O)}}},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 p=i[""];p.results.forEach(function(e){e.getMarker=function(){return function(){return n(c,e.marks)}}}),p.results=s(p.results),u.dispatch((0,r.setSeoResultsForKeyword)(c.getKeyword(),p.results)),u.dispatch((0,r.setOverallSeoScore)(p.score,c.getKeyword())),u.dispatch((0,o.refreshSnippetEditor)()),l.saveScores(p.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",{class:"misc-pub-section yoast yoast-seo-score "+e+"-score",id:e+"-score"}),s=t("",{class:r,html:n(e,i)}),u=t("").attr("class",o+" na");a.append(u).append(s),t("#misc-publishing-actions").append(a)}String.prototype.ucfirst=function(){return this.charAt(0).toUpperCase()+this.substr(1)},e.exports={initialize:function(){"1"===wpseoPostScraperL10n.contentAnalysisActive&&i("content","na"),"1"===wpseoPostScraperL10n.keywordAnalysisActive&&i("keyword","na")},updateScore:function(e,i){var a=t("#"+e+"-score"),s=o+" "+i;a.children(".image").attr("class",s);var u=n(e,i);a.children("."+r).html(u)}}}(jQuery)},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";var r=n(58),o=U(n(21)),i=U(n(194)),a=n(10),s=U(n(372)),u=n(165),l=U(n(591)),c=U(n(930)),p=U(n(282)),f=U(n(494)),d=U(n(644)),h=U(n(648)),y=U(n(758)),m=n(459),g=n(460),v=n(652),b=n(657),_=U(b),w=U(n(658)),x=U(n(932)),E=U(n(286)),O=U(n(373)),k=U(n(281)),S=U(n(336)),P=U(n(660)),j=U(n(661)),T=U(n(662)),A=n(663),M=U(n(463)),R=n(279),C=n(280),I=n(57),L=n(209),D=n(298),N=n(57),B=n(664),F=U(n(437));function U(e){return e&&e.__esModule?e:{default:e}}(0,L.setYoastComponentsL10n)(),(0,L.setWordPressSeoL10n)(),function(e){if("undefined"!=typeof wpseoPostScraperL10n){var t=void 0,n=void 0,L=void 0,U=void 0,Y=new j.default,$=void 0,V=void 0;jQuery(document).on("ajaxComplete",function(e,t,r){if("/admin-ajax.php"===r.url.substr(0-"/admin-ajax.php".length)&&"string"==typeof r.data&&-1!==r.data.indexOf("action=sample-permalink")){U.leavePostNameUntouched=!0;var o={slug:function(e){return""===e.responseText?n.val():jQuery("
"+e.responseText+"
").find("#editable-post-name-full").text()}(t)};$.dispatch((0,I.updateData)(o))}});var z=void 0;jQuery(document).ready(function(){var n={onRefreshRequest:function(){},snippetEditorBaseUrl:wpseoPostScraperL10n.base_url,snippetEditorDate:wpseoPostScraperL10n.metaDescriptionDate,replaceVars:wpseoReplaceVarsL10n.replace_vars,recommendedReplaceVars:wpseoReplaceVarsL10n.recommended_replace_vars};V=new l.default(n),$=V.getStore();var a=V.getData();if(t=e("#wpseo_meta"),p.default.setStore($),p.default.wpTextViewOnInitCheck(),function(){var e=new f.default;e.isClassicEditorHidden()&&p.default.disableMarkerButtons(),e.vcActive?p.default.disableMarkerButtons():e.listen({classicEditorHidden:function(){p.default.disableMarkerButtons()},classicEditorShown:function(){p.default.isTextViewActive()||p.default.enableMarkerButtons()}})}(),0!==t.length){U=function(e){var t=new x.default({data:e,store:$});return t.leavePostNameUntouched=!1,t}(a),y.default.initialize();var m=K($);L=new r.App(m),V.initializeAnnotations(),window.YoastSEO={},window.YoastSEO.app=L,window.YoastSEO.store=$,window.YoastSEO.analysis={},window.YoastSEO.analysis.worker=(0,v.createAnalysisWorker)(),window.YoastSEO.analysis.collectData=function(){return(0,w.default)(V,YoastSEO.store,Y,YoastSEO.app.pluggable)},window.YoastSEO.analysis.applyMarks=function(e,t){return(0,T.default)(YoastSEO.store)(e,t)},YoastSEO.app.refresh=(0,i.default)(function(){return(0,_.default)(YoastSEO.analysis.worker,YoastSEO.analysis.collectData,YoastSEO.analysis.applyMarks,YoastSEO.store,U)},A.refreshDelay),YoastSEO.app.registerCustomDataCallback=Y.register,YoastSEO.app.pluggable=new d.default(YoastSEO.app.refresh),YoastSEO.app.registerPlugin=YoastSEO.app.pluggable._registerPlugin,YoastSEO.app.pluginReady=YoastSEO.app.pluggable._ready,YoastSEO.app.pluginReloaded=YoastSEO.app.pluggable._reloaded,YoastSEO.app.registerModification=YoastSEO.app.pluggable._registerModification,YoastSEO.app.registerAssessment=function(e,t,n){if(!(0,o.default)(YoastSEO.app.seoAssessor))return YoastSEO.app.pluggable._registerAssessment(YoastSEO.app.defaultSeoAssessor,e,t,n)&&YoastSEO.app.pluggable._registerAssessment(YoastSEO.app.cornerStoneSeoAssessor,e,t,n)},YoastSEO.app.changeAssessorOptions=function(e){YoastSEO.analysis.worker.initialize(e).catch(M.default),YoastSEO.app.refresh()},V.initializeUsedKeywords(YoastSEO.app.refresh,"get_focus_keyword_usage"),$.subscribe(function(e,t){var n=z||"";z=e.getState().analysisData.snippet,!(0,s.default)(n,z)&&t()}.bind(null,$,YoastSEO.app.refresh));var g=new YoastReplaceVarPlugin(L,$),E=new YoastShortcodePlugin({registerPlugin:YoastSEO.app.registerPlugin,registerModification:YoastSEO.app.registerModification,pluginReady:YoastSEO.app.pluginReady,pluginReloaded:YoastSEO.app.pluginReloaded});wpseoPostScraperL10n.markdownEnabled&&new c.default(YoastSEO.app.registerPlugin,YoastSEO.app.registerModification).register(),!function(e,t){window.YoastSEO.wp={},window.YoastSEO.wp.replaceVarsPlugin=e,window.YoastSEO.wp.shortcodePlugin=t,window.YoastSEO.wp._tinyMCEHelper=p.default}(g,E),W(),YoastSEO._registerReactComponent=B.registerReactComponent,YoastSEO.analysis.worker.initialize((0,v.getAnalysisConfiguration)()).then(function(){jQuery(window).trigger("YoastSEO:ready")}).catch(M.default),YoastSEO.analyzerArgs=m,U.bindElementEvents((0,i.default)(function(){return(0,_.default)(YoastSEO.analysis.worker,YoastSEO.analysis.collectData,YoastSEO.analysis.applyMarks,YoastSEO.store,U)},A.refreshDelay)),H(L);var O=L.initAssessorPresenters.bind(L);L.initAssessorPresenters=function(){O(),H(L)},a.setRefresh&&a.setRefresh(L.refresh);var k=P.default.getDataFromCollector(U),S=P.default.getTemplatesFromL10n(wpseoPostScraperL10n);k=P.default.getDataWithTemplates(k,S),$.dispatch((0,I.updateData)(k)),$.dispatch((0,D.setCornerstoneContent)("1"===document.getElementById("yoast_wpseo_is_cornerstone").value));var j=$.getState().focusKeyword;(0,h.default)(YoastSEO.analysis.worker.runResearch,YoastSEO.store,j);var R=(0,i.default)(function(){L.refresh()},50),C=null;if($.subscribe(function(){var t=$.getState().focusKeyword;j!==t&&(j=t,(0,h.default)(YoastSEO.analysis.worker.runResearch,YoastSEO.store,j),e("#yoast_wpseo_focuskw").val(j),R());var n=P.default.getDataFromStore($),r=P.default.getDataWithoutTemplates(n,S);k.title!==n.title&&U.setDataFromSnippet(r.title,"snippet_title"),k.slug!==n.slug&&U.setDataFromSnippet(r.slug,"snippet_cite"),k.description!==n.description&&U.setDataFromSnippet(r.description,"snippet_meta");var o=$.getState();C!==o.isCornerstone&&(C=o.isCornerstone,document.getElementById("yoast_wpseo_is_cornerstone").value=o.isCornerstone,L.changeAssessorOptions({useCornerstone:o.isCornerstone})),k.title=n.title,k.slug=n.slug,k.description=n.description}),(0,F.default)()){var N=Q();G(N,$),(0,u.subscribe)(function(){var e=Q();e!==N&&G(N=e,$)})}(0,F.default)()||(0,B.renderClassicEditorMetabox)($),(0,b.initializationDone)(),YoastSEO.app.refresh()}})}function q(e){("undefined"==typeof tinyMCE||(0,F.default)()||"1"!==wpseoPostScraperL10n.show_markers)&&e.dispatch((0,C.setMarkerStatus)("hidden"))}function K(t){q(t);var r={elementTarget:[p.default.tmceId,"yoast_wpseo_focuskw_text_input","yoast_wpseo_metadesc","excerpt","editable-post-name","editable-post-name-full"],targets:function(){var e={};return(0,k.default)()&&(e.output="does-not-really-exist-but-it-needs-something"),(0,S.default)()&&(e.contentOutput="also-does-not-really-exist-but-it-needs-something"),e}(),callbacks:{getData:U.getData.bind(U)},locale:wpseoPostScraperL10n.contentLocale,marker:(0,T.default)(t),contentAnalysisActive:(0,S.default)(),keywordAnalysisActive:(0,k.default)(),hasSnippetPreview:!1,debouncedRefresh:!1};(0,k.default)()&&(t.dispatch((0,R.setFocusKeyword)(e("#yoast_wpseo_focuskw").val())),r.callbacks.saveScores=U.saveScores.bind(U),r.callbacks.updatedKeywordsResults=function(e){var n=t.getState().focusKeyword;t.dispatch((0,a.setSeoResultsForKeyword)(n,e)),t.dispatch((0,N.refreshSnippetEditor)())}),(0,S.default)()&&(r.callbacks.saveContentScore=U.saveContentScore.bind(U),r.callbacks.updatedContentResults=function(e){t.dispatch((0,a.setReadabilityResults)(e)),t.dispatch((0,N.refreshSnippetEditor)())}),n=e("#title");var i=(0,O.default)();return(0,o.default)(i)||(0,o.default)(i.domain)||(r.translations=i),r}function W(){(0,k.default)()&&function(t){var n=e("#yoast_wpseo_linkdex").val(),r=(0,E.default)(n);(0,m.update)(r),(0,g.update)(r),t.updateScore("keyword",r.className)}(y.default),(0,S.default)()&&function(t){var n=e("#yoast_wpseo_content_score").val(),r=(0,E.default)(n);(0,g.update)(r),t.updateScore("content",r.className)}(y.default)}function H(e){(0,o.default)(e.seoAssessorPresenter)||(e.seoAssessorPresenter.render=function(){}),(0,o.default)(e.contentAssessorPresenter)||(e.contentAssessorPresenter.render=function(){},e.contentAssessorPresenter.renderIndividualRatings=function(){})}function G(e,t){"visual"!==e?t.dispatch((0,C.setMarkerStatus)("disabled")):t.dispatch((0,C.setMarkerStatus)("enabled"))}function Q(){return(0,u.select)("core/edit-post").getEditorMode()}}(jQuery)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n[^\n]+(\n(?!def)[^\n]+)*\n*)+/,list:/^( *)(bull) [\s\S]+?(?:hr|def|\n{2,}(?! )(?!\1bull )\n*|\s*$)/,html:/^ *(?:comment *(?:\n|\s*$)|closed *(?:\n{2,}|\s*$)|closing *(?:\n{2,}|\s*$))/,def:/^ *\[([^\]]+)\]: *]+)>?(?: +["(]([^\n]+)[")])? *(?:\n+|$)/,table:l,paragraph:/^((?:[^\n]+\n?(?!hr|heading|lheading|blockquote|tag|def))+)\n*/,text:/^[^\n]+/};function n(e){this.tokens=[],this.tokens.links={},this.options=e||p.defaults,this.rules=t.normal,this.options.gfm&&(this.options.tables?this.rules=t.tables:this.rules=t.gfm)}t.bullet=/(?:[*+-]|\d+\.)/,t.item=/^( *)(bull) [^\n]*(?:\n(?!\1bull )[^\n]*)*/,t.item=u(t.item,"gm")(/bull/g,t.bullet)(),t.list=u(t.list)(/bull/g,t.bullet)("hr","\\n+(?=\\1?(?:[-*_] *){3,}(?:\\n+|$))")("def","\\n+(?="+t.def.source+")")(),t.blockquote=u(t.blockquote)("def",t.def)(),t._tag="(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:/|[^\\w\\s@]*@)\\b",t.html=u(t.html)("comment",//)("closed",/<(tag)[\s\S]+?<\/\1>/)("closing",/])*?>/)(/tag/g,t._tag)(),t.paragraph=u(t.paragraph)("hr",t.hr)("heading",t.heading)("lheading",t.lheading)("blockquote",t.blockquote)("tag","<"+t._tag)("def",t.def)(),t.normal=c({},t),t.gfm=c({},t.normal,{fences:/^ *(`{3,}|~{3,})[ \.]*(\S+)? *\n([\s\S]*?)\s*\1 *(?:\n+|$)/,paragraph:/^/,heading:/^ *(#{1,6}) +([^\n]+?) *#* *(?:\n+|$)/}),t.gfm.paragraph=u(t.paragraph)("(?!","(?!"+t.gfm.fences.source.replace("\\1","\\2")+"|"+t.list.source.replace("\\1","\\3")+"|")(),t.tables=c({},t.gfm,{nptable:/^ *(\S.*\|.*)\n *([-:]+ *\|[-| :]*)\n((?:.*\|.*(?:\n|$))*)\n*/,table:/^ *\|(.+)\n *\|( *[-:]+[-| :]*)\n((?: *\|.*(?:\n|$))*)\n*/}),n.rules=t,n.lex=function(e,t){return new n(t).lex(e)},n.prototype.lex=function(e){return e=e.replace(/\r\n|\r/g,"\n").replace(/\t/g," ").replace(/\u00a0/g," ").replace(/\u2424/g,"\n"),this.token(e,!0)},n.prototype.token=function(e,n,r){var o,i,a,s,u,l,c,p,f;for(e=e.replace(/^ +$/gm,"");e;)if((a=this.rules.newline.exec(e))&&(e=e.substring(a[0].length),a[0].length>1&&this.tokens.push({type:"space"})),a=this.rules.code.exec(e))e=e.substring(a[0].length),a=a[0].replace(/^ {4}/gm,""),this.tokens.push({type:"code",text:this.options.pedantic?a:a.replace(/\n+$/,"")});else if(a=this.rules.fences.exec(e))e=e.substring(a[0].length),this.tokens.push({type:"code",lang:a[2],text:a[3]||""});else if(a=this.rules.heading.exec(e))e=e.substring(a[0].length),this.tokens.push({type:"heading",depth:a[1].length,text:a[2]});else if(n&&(a=this.rules.nptable.exec(e))){for(e=e.substring(a[0].length),l={type:"table",header:a[1].replace(/^ *| *\| *$/g,"").split(/ *\| */),align:a[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:a[3].replace(/\n$/,"").split("\n")},p=0;p ?/gm,""),this.token(a,n,!0),this.tokens.push({type:"blockquote_end"});else if(a=this.rules.list.exec(e)){for(e=e.substring(a[0].length),s=a[2],this.tokens.push({type:"list_start",ordered:s.length>1}),o=!1,f=(a=a[0].match(this.rules.item)).length,p=0;p1&&u.length>1||(e=a.slice(p+1).join("\n")+e,p=f-1)),i=o||/\n\n(?!\s*$)/.test(l),p!==f-1&&(o="\n"===l.charAt(l.length-1),i||(i=o)),this.tokens.push({type:i?"loose_item_start":"list_item_start"}),this.token(l,!1,r),this.tokens.push({type:"list_item_end"});this.tokens.push({type:"list_end"})}else if(a=this.rules.html.exec(e))e=e.substring(a[0].length),this.tokens.push({type:this.options.sanitize?"paragraph":"html",pre:!this.options.sanitizer&&("pre"===a[1]||"script"===a[1]||"style"===a[1]),text:a[0]});else if(!r&&n&&(a=this.rules.def.exec(e)))e=e.substring(a[0].length),this.tokens.links[a[1].toLowerCase()]={href:a[2],title:a[3]};else if(n&&(a=this.rules.table.exec(e))){for(e=e.substring(a[0].length),l={type:"table",header:a[1].replace(/^ *| *\| *$/g,"").split(/ *\| */),align:a[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:a[3].replace(/(?: *\| *)?\n$/,"").split("\n")},p=0;p])/,autolink:/^<([^ >]+(@|:\/)[^ >]+)>/,url:l,tag:/^|^<\/?\w+(?:"[^"]*"|'[^']*'|[^'">])*?>/,link:/^!?\[(inside)\]\(href\)/,reflink:/^!?\[(inside)\]\s*\[([^\]]*)\]/,nolink:/^!?\[((?:\[[^\]]*\]|[^\[\]])*)\]/,strong:/^__([\s\S]+?)__(?!_)|^\*\*([\s\S]+?)\*\*(?!\*)/,em:/^\b_((?:[^_]|__)+?)_\b|^\*((?:\*\*|[\s\S])+?)\*(?!\*)/,code:/^(`+)\s*([\s\S]*?[^`])\s*\1(?!`)/,br:/^ {2,}\n(?!\s*$)/,del:l,text:/^[\s\S]+?(?=[\\/g,">").replace(/"/g,""").replace(/'/g,"'")}function u(e,t){return e=e.source,t=t||"",function n(r,o){return r?(o=(o=o.source||o).replace(/(^|[^\[])\^/g,"$1"),e=e.replace(r,o),n):new RegExp(e,t)}}function l(){}function c(e){for(var t,n,r=1;rAn error occured:

"+s(e.message+"",!0)+"
";throw e}}r._inside=/(?:\[[^\]]*\]|[^\[\]]|\](?=[^\[]*\]))*/,r._href=/\s*?(?:\s+['"]([\s\S]*?)['"])?\s*/,r.link=u(r.link)("inside",r._inside)("href",r._href)(),r.reflink=u(r.reflink)("inside",r._inside)(),r.normal=c({},r),r.pedantic=c({},r.normal,{strong:/^__(?=\S)([\s\S]*?\S)__(?!_)|^\*\*(?=\S)([\s\S]*?\S)\*\*(?!\*)/,em:/^_(?=\S)([\s\S]*?\S)_(?!_)|^\*(?=\S)([\s\S]*?\S)\*(?!\*)/}),r.gfm=c({},r.normal,{escape:u(r.escape)("])","~|])")(),url:/^(https?:\/\/[^\s<]+[^<.,:;"')\]\s])/,del:/^~~(?=\S)([\s\S]*?\S)~~/,text:u(r.text)("]|","~]|")("|","|https?://|")()}),r.breaks=c({},r.gfm,{br:u(r.br)("{2,}","*")(),text:u(r.gfm.text)("{2,}","*")()}),o.rules=r,o.output=function(e,t,n){return new o(t,n).output(e)},o.prototype.output=function(e){for(var t,n,r,o,i="";e;)if(o=this.rules.escape.exec(e))e=e.substring(o[0].length),i+=o[1];else if(o=this.rules.autolink.exec(e))e=e.substring(o[0].length),"@"===o[2]?(n=":"===o[1].charAt(6)?this.mangle(o[1].substring(7)):this.mangle(o[1]),r=this.mangle("mailto:")+n):r=n=s(o[1]),i+=this.renderer.link(r,null,n);else if(this.inLink||!(o=this.rules.url.exec(e))){if(o=this.rules.tag.exec(e))!this.inLink&&/^/i.test(o[0])&&(this.inLink=!1),e=e.substring(o[0].length),i+=this.options.sanitize?this.options.sanitizer?this.options.sanitizer(o[0]):s(o[0]):o[0];else if(o=this.rules.link.exec(e))e=e.substring(o[0].length),this.inLink=!0,i+=this.outputLink(o,{href:o[2],title:o[3]}),this.inLink=!1;else if((o=this.rules.reflink.exec(e))||(o=this.rules.nolink.exec(e))){if(e=e.substring(o[0].length),t=(o[2]||o[1]).replace(/\s+/g," "),!(t=this.links[t.toLowerCase()])||!t.href){i+=o[0].charAt(0),e=o[0].substring(1)+e;continue}this.inLink=!0,i+=this.outputLink(o,t),this.inLink=!1}else if(o=this.rules.strong.exec(e))e=e.substring(o[0].length),i+=this.renderer.strong(this.output(o[2]||o[1]));else if(o=this.rules.em.exec(e))e=e.substring(o[0].length),i+=this.renderer.em(this.output(o[2]||o[1]));else if(o=this.rules.code.exec(e))e=e.substring(o[0].length),i+=this.renderer.codespan(s(o[2],!0));else if(o=this.rules.br.exec(e))e=e.substring(o[0].length),i+=this.renderer.br();else if(o=this.rules.del.exec(e))e=e.substring(o[0].length),i+=this.renderer.del(this.output(o[1]));else if(o=this.rules.text.exec(e))e=e.substring(o[0].length),i+=this.renderer.text(s(this.smartypants(o[0])));else if(e)throw new Error("Infinite loop on byte: "+e.charCodeAt(0))}else e=e.substring(o[0].length),r=n=s(o[1]),i+=this.renderer.link(r,null,n);return i},o.prototype.outputLink=function(e,t){var n=s(t.href),r=t.title?s(t.title):null;return"!"!==e[0].charAt(0)?this.renderer.link(n,r,this.output(e[1])):this.renderer.image(n,r,s(e[1]))},o.prototype.smartypants=function(e){return this.options.smartypants?e.replace(/---/g,"—").replace(/--/g,"–").replace(/(^|[-\u2014/(\[{"\s])'/g,"$1‘").replace(/'/g,"’").replace(/(^|[-\u2014/(\[{\u2018\s])"/g,"$1“").replace(/"/g,"”").replace(/\.{3}/g,"…"):e},o.prototype.mangle=function(e){if(!this.options.mangle)return e;for(var t,n="",r=e.length,o=0;o.5&&(t="x"+t.toString(16)),n+="&#"+t+";";return n},i.prototype.code=function(e,t,n){if(this.options.highlight){var r=this.options.highlight(e,t);null!=r&&r!==e&&(n=!0,e=r)}return t?'
'+(n?e:s(e,!0))+"\n
\n":"
"+(n?e:s(e,!0))+"\n
"},i.prototype.blockquote=function(e){return"
\n"+e+"
\n"},i.prototype.html=function(e){return e},i.prototype.heading=function(e,t,n){return"'+e+"\n"},i.prototype.hr=function(){return this.options.xhtml?"
\n":"
\n"},i.prototype.list=function(e,t){var n=t?"ol":"ul";return"<"+n+">\n"+e+"\n"},i.prototype.listitem=function(e){return"
  • "+e+"
  • \n"},i.prototype.paragraph=function(e){return"

    "+e+"

    \n"},i.prototype.table=function(e,t){return"\n\n"+e+"\n\n"+t+"\n
    \n"},i.prototype.tablerow=function(e){return"\n"+e+"\n"},i.prototype.tablecell=function(e,t){var n=t.header?"th":"td";return(t.align?"<"+n+' style="text-align:'+t.align+'">':"<"+n+">")+e+"\n"},i.prototype.strong=function(e){return""+e+""},i.prototype.em=function(e){return""+e+""},i.prototype.codespan=function(e){return""+e+""},i.prototype.br=function(){return this.options.xhtml?"
    ":"
    "},i.prototype.del=function(e){return""+e+""},i.prototype.link=function(e,t,n){if(this.options.sanitize){try{var r=decodeURIComponent(function(e){return e.replace(/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/g,function(e,t){return"colon"===(t=t.toLowerCase())?":":"#"===t.charAt(0)?"x"===t.charAt(1)?String.fromCharCode(parseInt(t.substring(2),16)):String.fromCharCode(+t.substring(1)):""})}(e)).replace(/[^\w:]/g,"").toLowerCase()}catch(e){return""}if(0===r.indexOf("javascript:")||0===r.indexOf("vbscript:")||0===r.indexOf("data:"))return""}var o='
    "},i.prototype.image=function(e,t,n){var r=''+n+'":">"},i.prototype.text=function(e){return e},a.parse=function(e,t,n){return new a(t,n).parse(e)},a.prototype.parse=function(e){this.inline=new o(e.links,this.options,this.renderer),this.tokens=e.reverse();for(var t="";this.next();)t+=this.tok();return t},a.prototype.next=function(){return this.token=this.tokens.pop()},a.prototype.peek=function(){return this.tokens[this.tokens.length-1]||0},a.prototype.parseText=function(){for(var e=this.token.text;"text"===this.peek().type;)e+="\n"+this.next().text;return this.inline.output(e)},a.prototype.tok=function(){switch(this.token.type){case"space":return"";case"hr":return this.renderer.hr();case"heading":return this.renderer.heading(this.inline.output(this.token.text),this.token.depth,this.token.text);case"code":return this.renderer.code(this.token.text,this.token.lang,this.token.escaped);case"table":var e,t,n,r,o="",i="";for(n="",e=0;e label");return r.length?e=this.getCategoryName(r):e},_.prototype.getSearchUrl=function(){return wpseoPostScraperL10n.search_url},_.prototype.getPostUrl=function(){return wpseoPostScraperL10n.post_edit_url},_.prototype.getPermalink=function(){var e=this.getUrl();return wpseoPostScraperL10n.base_url+e},_.prototype.getCategoryName=function(e){var t=e.clone();return t.children().remove(),g.trim(t.text())},_.prototype.setDataFromSnippet=function(e,t){switch(t){case"snippet_meta":document.getElementById("yoast_wpseo_metadesc").value=e;break;case"snippet_cite":if(this.leavePostNameUntouched)return void(this.leavePostNameUntouched=!1);null!==document.getElementById("post_name")&&(document.getElementById("post_name").value=e),null!==document.getElementById("editable-post-name")&&null!==document.getElementById("editable-post-name-full")&&(document.getElementById("editable-post-name").textContent=e,document.getElementById("editable-post-name-full").textContent=e);break;case"snippet_title":document.getElementById("yoast_wpseo_title").value=e}},_.prototype.saveSnippetData=function(e){this.setDataFromSnippet(e.title,"snippet_title"),this.setDataFromSnippet(e.urlPath,"snippet_cite"),this.setDataFromSnippet(e.metaDesc,"snippet_meta")},_.prototype.bindElementEvents=function(e){this.inputElementEventBinder(e),this.changeElementEventBinder(e)},_.prototype.changeElementEventBinder=function(e){for(var t=["#yoast-wpseo-primary-category",'.categorychecklist input[name="post_category[]"]'],n=0;n