(window.yoastWebpackJsonp=window.yoastWebpackJsonp||[]).push([[9],{10:function(t,e){t.exports=window.yoast.components},100:function(t,e,n){var r=n(18);t.exports=function(t){return r(this,t).has(t)}},101:function(t,e,n){var r=n(18);t.exports=function(t,e){var n=r(this,t),o=n.size;return n.set(t,e),this.size+=n.size==o?0:1,this}},102:function(t,e){t.exports=function(t){var e=-1,n=Array(t.size);return t.forEach(function(t){n[++e]=t}),n}},103:function(t,e,n){var r=n(187),o=n(35),i=n(188),a=n(152),u=n(153),c=n(11),s=n(55),f=s(r),p=s(o),l=s(i),d=s(a),v=s(u),h=c;(r&&"[object DataView]"!=h(new r(new ArrayBuffer(1)))||o&&"[object Map]"!=h(new o)||i&&"[object Promise]"!=h(i.resolve())||a&&"[object Set]"!=h(new a)||u&&"[object WeakMap]"!=h(new u))&&(h=function(t){var e=c(t),n="[object Object]"==e?t.constructor:void 0,r=n?s(n):"";if(r)switch(r){case f:return"[object DataView]";case p:return"[object Map]";case l:return"[object Promise]";case d:return"[object Set]";case v:return"[object WeakMap]"}return e}),t.exports=h},11:function(t,e,n){var r=n(14),o=n(69),i=n(70),a="[object Null]",u="[object Undefined]",c=r?r.toStringTag:void 0;t.exports=function(t){return null==t?void 0===t?u:a:c&&c in Object(t)?o(t):i(t)}},110:function(t,e,n){var r=n(176),o=n(50),i=n(3),a=n(51),u=n(64),c=n(65),s=Object.prototype.hasOwnProperty;t.exports=function(t,e){var n=i(t),f=!n&&o(t),p=!n&&!f&&a(t),l=!n&&!f&&!p&&c(t),d=n||f||p||l,v=d?r(t.length,String):[],h=v.length;for(var y in t)!e&&!s.call(t,y)||d&&("length"==y||p&&("offset"==y||"parent"==y)||l&&("buffer"==y||"byteLength"==y||"byteOffset"==y)||u(y,h))||v.push(y);return v}},111:function(t,e,n){var r=n(217),o=n(13);t.exports=function t(e,n,i,a,u){return e===n||(null==e||null==n||!o(e)&&!o(n)?e!=e&&n!=n:r(e,n,i,a,t,u))}},112:function(t,e,n){var r=n(113),o=n(24),i=Object.prototype.hasOwnProperty;t.exports=function(t,e,n){var a=t[e];i.call(t,e)&&o(a,n)&&(void 0!==n||e in t)||r(t,e,n)}},113:function(t,e,n){var r=n(136);t.exports=function(t,e,n){"__proto__"==e&&r?r(t,e,{configurable:!0,enumerable:!0,value:n,writable:!0}):t[e]=n}},116:function(t,e,n){var r=n(158),o=n(128),i=n(328),a=n(3);t.exports=function(t,e){return(a(t)?r:o)(t,i(e))}},117:function(t,e){t.exports=function(t,e){return function(n){return t(e(n))}}},118:function(t,e,n){var r=n(72),o=n(3);t.exports=function(t,e,n){var i=e(t);return o(t)?i:r(i,n(t))}},119:function(t,e){t.exports=function(){return[]}},12:function(t,e,n){var r=n(84),o=n(87);t.exports=function(t,e){var n=o(t,e);return r(n)?n:void 0}},128:function(t,e,n){var r=n(210),o=n(212)(r);t.exports=o},129:function(t,e,n){var r=n(53),o=n(180),i=Object.prototype.hasOwnProperty;t.exports=function(t){if(!r(t))return o(t);var e=[];for(var n in Object(t))i.call(t,n)&&"constructor"!=n&&e.push(n);return e}},13:function(t,e){t.exports=function(t){return null!=t&&"object"==typeof t}},130:function(t,e,n){var r=n(150),o=n(220),i=n(151),a=1,u=2;t.exports=function(t,e,n,c,s,f){var p=n&a,l=t.length,d=e.length;if(l!=d&&!(p&&d>l))return!1;var v=f.get(t);if(v&&f.get(e))return v==e;var h=-1,y=!0,b=n&u?new r:void 0;for(f.set(t,e),f.set(e,t);++ho?0:o+e),(n=n>o?o:n)<0&&(n+=o),o=e>n?0:n-e>>>0,e>>>=0;for(var i=Array(o);++r0){if(++e>=n)return arguments[0]}else e=0;return t.apply(void 0,arguments)}}},24:function(t,e){t.exports=function(t,e){return t===e||t!=t&&e!=e}},25:function(t,e,n){var r=n(27),o=n(60);t.exports=function(t){return null!=t&&o(t.length)&&!r(t)}},257:function(t,e,n){var r=n(331);t.exports=function(t){var e=r(t),n=e%1;return e==e?n?e-n:e:0}},26:function(t,e,n){var r=n(3),o=n(40),i=n(79),a=n(63);t.exports=function(t,e){return r(t)?t:o(t,e)?[t]:i(a(t))}},27:function(t,e,n){var r=n(11),o=n(7),i="[object AsyncFunction]",a="[object Function]",u="[object GeneratorFunction]",c="[object Proxy]";t.exports=function(t){if(!o(t))return!1;var e=r(t);return e==a||e==u||e==i||e==c}},28:function(t,e,n){var r=n(110),o=n(129),i=n(25);t.exports=function(t){return i(t)?r(t):o(t)}},283:function(t,e,n){var r=n(204),o=n(338);t.exports=function(t){return r(function(e,n){var r=-1,i=n.length,a=i>1?n[i-1]:void 0,u=i>2?n[2]:void 0;for(a=t.length>3&&"function"==typeof a?(i--,a):void 0,u&&o(n[0],n[1],u)&&(a=i<3?void 0:a,i=1),e=Object(e);++r2&&void 0!==arguments[2]?arguments[2]:"",o="string"==typeof e?(0,r.decodeHTML)(e):e;return{type:a,name:t,value:o,label:n}},e.updateWordsToHighlight=function(t){return{type:s,wordsToHighlight:t}},e.removeReplacementVariable=function(t){return{type:u,name:t}},e.refreshSnippetEditor=function(){return{type:c,time:(new Date).getMilliseconds()}};var r=n(10),o=e.SWITCH_MODE="SNIPPET_EDITOR_SWITCH_MODE",i=e.UPDATE_DATA="SNIPPET_EDITOR_UPDATE_DATA",a=e.UPDATE_REPLACEMENT_VARIABLE="SNIPPET_EDITOR_UPDATE_REPLACEMENT_VARIABLE",u=e.REMOVE_REPLACEMENT_VARIABLE="SNIPPET_EDITOR_REMOVE_REPLACEMENT_VARIABLE",c=e.REFRESH="SNIPPET_EDITOR_REFRESH",s=e.UPDATE_WORDS_TO_HIGHLIGHT="SNIPPET_EDITOR_UPDATE_WORDS_TO_HIGHLIGHT"},60:function(t,e){var n=9007199254740991;t.exports=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=n}},63:function(t,e,n){var r=n(71);t.exports=function(t){return null==t?"":r(t)}},64:function(t,e){var n=9007199254740991,r=/^(?:0|[1-9]\d*)$/;t.exports=function(t,e){return!!(e=null==e?n:e)&&("number"==typeof t||r.test(t))&&t>-1&&t%1==0&&t=o?t:r(t,e,n)}},666:function(t,e,n){var r=n(667),o=n(467),i=n(668);t.exports=function(t){return o(t)?i(t):r(t)}},667:function(t,e){t.exports=function(t){return t.split("")}},668:function(t,e){var n="[\\ud800-\\udfff]",r="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",o="\\ud83c[\\udffb-\\udfff]",i="[^\\ud800-\\udfff]",a="(?:\\ud83c[\\udde6-\\uddff]){2}",u="[\\ud800-\\udbff][\\udc00-\\udfff]",c="(?:"+r+"|"+o+")"+"?",s="[\\ufe0e\\ufe0f]?"+c+("(?:\\u200d(?:"+[i,a,u].join("|")+")[\\ufe0e\\ufe0f]?"+c+")*"),f="(?:"+[i+r+"?",r,a,u,n].join("|")+")",p=RegExp(o+"(?="+o+")|"+f+s,"g");t.exports=function(t){return t.match(p)||[]}},669:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.isGutenbergDataAvailable=void 0;var r=i(n(21)),o=i(n(27));function i(t){return t&&t.__esModule?t:{default:t}}e.isGutenbergDataAvailable=function(){return!(0,r.default)(window.wp)&&!(0,r.default)(wp.data)&&!(0,r.default)(wp.data.select("core/editor"))&&(0,o.default)(wp.data.select("core/editor").getEditedPostAttribute)}},69:function(t,e,n){var r=n(14),o=Object.prototype,i=o.hasOwnProperty,a=o.toString,u=r?r.toStringTag:void 0;t.exports=function(t){var e=i.call(t,u),n=t[u];try{t[u]=void 0;var r=!0}catch(t){}var o=a.call(t);return r&&(e?t[u]=n:delete t[u]),o}},7:function(t,e){t.exports=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}},70:function(t,e){var n=Object.prototype.toString;t.exports=function(t){return n.call(t)}},71:function(t,e,n){var r=n(14),o=n(30),i=n(3),a=n(19),u=1/0,c=r?r.prototype:void 0,s=c?c.toString:void 0;t.exports=function t(e){if("string"==typeof e)return e;if(i(e))return o(e,t)+"";if(a(e))return s?s.call(e):"";var n=e+"";return"0"==n&&1/e==-u?"-0":n}},72:function(t,e){t.exports=function(t,e){for(var n=-1,r=e.length,o=t.length;++n #list-table").each(this.bindFieldEvents.bind(this))},f.prototype.subscribeToGutenberg=function(){var t=this;if((0,s.isGutenbergDataAvailable)()){var e={0:""},n=null,r=window.wp.data;r.subscribe(function(){var o=r.select("core/editor").getEditedPostAttribute("parent");if(void 0!==o&&n!==o)return n=o,o<1?(t._currentParentPageTitle="",void t.declareReloaded()):(0,a.default)(e[o])?void wp.api.loadPromise.done(function(){var t=this;new wp.api.models.Page({id:o}).fetch().then(function(n){t._currentParentPageTitle=n.title.rendered,e[o]=t._currentParentPageTitle,t.declareReloaded()}).fail(function(){t._currentParentPageTitle="",t.declareReloaded()})}):(t._currentParentPageTitle=e[o],void t.declareReloaded())})}},f.prototype.addReplacement=function(t){e[t.placeholder]=t},f.prototype.removeReplacement=function(t){delete e[t.getPlaceholder()]},f.prototype.registerModifications=function(){var e=this.replaceVariables.bind(this);(0,r.default)(t,function(t){this._app.registerModification(t,e,"replaceVariablePlugin",10)}.bind(this))},f.prototype.replaceVariables=function(t){return(0,a.default)(t)||(t=this.parentReplace(t),t=this.replaceCustomTaxonomy(t),t=this.replaceByStore(t),t=this.replacePlaceholders(t)),t},f.prototype.replaceByStore=function(t){var e=this._store.getState().snippetEditor.replacementVariables;return(0,r.default)(e,function(e){""!==e.value&&(t=t.replace("%%"+e.name+"%%",e.value))}),t},f.prototype.getReplacementSource=function(t){return"app"===t.source?this._app.rawData:"direct"===t.source?"direct":wpseoReplaceVarsL10n.replace_vars},f.prototype.getReplacement=function(t){var e=this.getReplacementSource(t.options);return!1===t.inScope(wpseoReplaceVarsL10n.scope)?"":"direct"===e?t.replacement:e[t.replacement]||""},f.prototype.replacePlaceholders=function(t){return(0,r.default)(e,function(e){t=t.replace(new RegExp(e.getPlaceholder(!0),"g"),this.getReplacement(e))}.bind(this)),t},f.prototype.declareReloaded=function(){this._app.pluginReloaded("replaceVariablePlugin"),this._store.dispatch((0,c.refreshSnippetEditor)())},f.prototype.getCategoryName=function(t){var e=t.parent("label").clone();return e.children().remove(),e.text().trim()},f.prototype.parseTaxonomies=function(t,e){(0,a.default)(n[e])&&(n[e]={});var o=[];(0,r.default)(t,function(t){var r=(t=jQuery(t)).val(),i=this.getCategoryName(t),a=t.prop("checked");n[e][r]={label:i,checked:a},a&&-1===o.indexOf(i)&&o.push(i)}.bind(this)),"category"!==e&&(e="ct_"+e),this._store.dispatch((0,c.updateReplacementVariable)(e,o.join(", ")))},f.prototype.getAvailableTaxonomies=function(t){var e=jQuery(t).find("input[type=checkbox]"),n=jQuery(t).attr("id").replace("taxonomy-","");e.length>0&&this.parseTaxonomies(e,n),this.declareReloaded()},f.prototype.bindTaxonomyEvents=function(t,e){(e=jQuery(e)).on("wpListAddEnd",".categorychecklist",this.getAvailableTaxonomies.bind(this,e)),e.on("change","input[type=checkbox]",this.getAvailableTaxonomies.bind(this,e)),this.getAvailableTaxonomies(e)},f.prototype.replaceCustomTaxonomy=function(t){return(0,r.default)(n,function(e,n){var r="%%ct_"+n+"%%";"category"===n&&(r="%%"+n+"%%"),t=t.replace(r,this.getTaxonomyReplaceVar(n))}.bind(this)),t},f.prototype.getTaxonomyReplaceVar=function(t){var e=[],o=n[t];return!0===(0,a.default)(o)?"":((0,r.default)(o,function(t){!1!==t.checked&&e.push(t.label)}),jQuery.unique(e).join(", "))},f.prototype.parseFields=function(t){jQuery(t).each(function(t,e){var n=jQuery("#"+e.id+"-key").val(),r=jQuery("#"+e.id+"-value").val(),o="cf_"+this.sanitizeCustomFieldNames(n),i=n+" (custom field)";this._store.dispatch((0,c.updateReplacementVariable)(o,r,i)),this.addReplacement(new u.default("%%"+o+"%%",r,{source:"direct"}))}.bind(this))},f.prototype.removeFields=function(t){jQuery(t).each(function(t,e){var n=jQuery("#"+e.id+"-key").val();this.removeReplacement("%%cf_"+this.sanitizeCustomFieldNames(n)+"%%")}.bind(this))},f.prototype.sanitizeCustomFieldNames=function(t){return t.replace(/\s/g,"_")},f.prototype.getAvailableFields=function(t){this.removeCustomFields();var e=jQuery(t).find("#the-list > tr:visible[id]");e.length>0&&this.parseFields(e),this.declareReloaded()},f.prototype.bindFieldEvents=function(t,e){var n=(e=jQuery(e)).find("#the-list");n.on("wpListDelEnd.wpseoCustomFields",this.getAvailableFields.bind(this,e)),n.on("wpListAddEnd.wpseoCustomFields",this.getAvailableFields.bind(this,e)),n.on("input.wpseoCustomFields",".textarea",this.getAvailableFields.bind(this,e)),n.on("click.wpseoCustomFields",".button + .updatemeta",this.getAvailableFields.bind(this,e)),this.getAvailableFields(e)},f.prototype.removeCustomFields=function(){var t=(0,o.default)(e,function(t,e){return e.indexOf("%%cf_")>-1});(0,r.default)(t,function(t){this._store.dispatch((0,c.removeReplacementVariable)((0,i.default)(t.placeholder,"%%"))),this.removeReplacement(t)}.bind(this))},f.prototype.parentReplace=function(t){var e=jQuery("#parent_id, #parent").eq(0);return this.hasParentTitle(e)&&(t=t.replace(/%%parent_title%%/,this.getParentTitleReplacement(e))),(0,s.isGutenbergDataAvailable)()&&!(0,a.default)(this._currentParentPageTitle)&&(t=t.replace(/%%parent_title%%/,this._currentParentPageTitle)),t},f.prototype.hasParentTitle=function(t){return!(0,a.default)(t)&&!(0,a.default)(t.prop("options"))},f.prototype.getParentTitleReplacement=function(t){var e=t.find("option:selected").text();return e===wpseoReplaceVarsL10n.no_parent_text?"":e},f.ReplaceVar=u.default,window.YoastReplaceVarPlugin=f}()},939:function(t,e,n){var r=n(71),o=n(665),i=n(940),a=n(941),u=n(666),c=n(63),s=/^\s+|\s+$/g;t.exports=function(t,e,n){if((t=c(t))&&(n||void 0===e))return t.replace(s,"");if(!t||!(e=r(e)))return t;var f=u(t),p=u(e),l=a(f,p),d=i(f,p)+1;return o(f,l,d).join("")}},94:function(t,e,n){var r=n(17);t.exports=function(t){var e=this.__data__,n=r(e,t);return n<0?void 0:e[n][1]}},940:function(t,e,n){var r=n(181);t.exports=function(t,e){for(var n=t.length;n--&&r(e,t[n],0)>-1;);return n}},941:function(t,e,n){var r=n(181);t.exports=function(t,e){for(var n=-1,o=t.length;++n-1;);return n}},942:function(t,e,n){"use strict";var r=n(288),o=n(943),i=n(434);!function(){var e={source:"wpseoReplaceVarsL10n",scope:[],aliases:[]},n=function(t,n,r){this.placeholder=t,this.replacement=n,this.options=i(r,e)};n.prototype.getPlaceholder=function(t){return(t=t||!1)&&this.hasAlias()?this.placeholder+"|"+this.getAliases().join("|"):this.placeholder},n.prototype.setSource=function(t){this.options.source=t},n.prototype.hasScope=function(){return!r(this.options.scope)},n.prototype.addScope=function(t){this.hasScope()||(this.options.scope=[]),this.options.scope.push(t)},n.prototype.inScope=function(t){return!this.hasScope()||o(this.options.scope,t)>-1},n.prototype.hasAlias=function(){return!r(this.options.aliases)},n.prototype.addAlias=function(t){this.hasAlias()||(this.options.aliases=[]),this.options.aliases.push(t)},n.prototype.getAliases=function(){return this.options.aliases},t.exports=n}()},943:function(t,e,n){var r=n(181),o=n(257),i=Math.max;t.exports=function(t,e,n){var a=null==t?0:t.length;if(!a)return-1;var u=null==n?0:o(n);return u<0&&(u=i(a+u,0)),r(t,e,u)}},95:function(t,e,n){var r=n(17);t.exports=function(t){return r(this.__data__,t)>-1}},96:function(t,e,n){var r=n(17);t.exports=function(t,e){var n=this.__data__,o=r(n,t);return o<0?(++this.size,n.push([t,e])):n[o][1]=e,this}},97:function(t,e,n){var r=n(18);t.exports=function(t){var e=r(this,t).delete(t);return this.size-=e?1:0,e}},98:function(t,e){t.exports=function(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t}},99:function(t,e,n){var r=n(18);t.exports=function(t){return r(this,t).get(t)}}},[[938,0]]]);