103 lines
174 KiB
JavaScript
103 lines
174 KiB
JavaScript
!function(e){var t={};function r(n){if(t[n])return t[n].exports;var a=t[n]={i:n,l:!1,exports:{}};return e[n].call(a.exports,a,a.exports,r),a.l=!0,a.exports}r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var a in e)r.d(n,a,function(t){return e[t]}.bind(null,a));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=261)}({0:function(e,t){e.exports=window.wp.element},1:function(e,t){e.exports=window.yoast.propTypes},10:function(e,t){e.exports=window.yoast.uiLibrary},11:function(e,t){function r(){return e.exports=r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},e.exports.__esModule=!0,e.exports.default=e.exports,r.apply(this,arguments)}e.exports=r,e.exports.__esModule=!0,e.exports.default=e.exports},121:function(e,t,r){"use strict";r.d(t,"a",(function(){return i}));var n=r(3),a=r(73);function i(){let[e]=Object(n.useState)(a.a);return Object(n.useEffect)(()=>()=>e.dispose(),[e]),e}},129:function(e,t,r){"use strict";r.d(t,"a",(function(){return i}));var n=r(3);let a={serverHandoffComplete:!1};function i(){let[e,t]=Object(n.useState)(a.serverHandoffComplete);return Object(n.useEffect)(()=>{!0!==e&&t(!0)},[e]),Object(n.useEffect)(()=>{!1===a.serverHandoffComplete&&(a.serverHandoffComplete=!0)},[]),e}},144:function(e,t){e.exports=window.yoast.redux},149:function(e,t,r){"use strict";var n=Array.isArray,a=Object.keys,i=Object.prototype.hasOwnProperty,s="undefined"!=typeof Element;e.exports=function(e,t){try{return function e(t,r){if(t===r)return!0;if(t&&r&&"object"==typeof t&&"object"==typeof r){var o,c,l,u=n(t),p=n(r);if(u&&p){if((c=t.length)!=r.length)return!1;for(o=c;0!=o--;)if(!e(t[o],r[o]))return!1;return!0}if(u!=p)return!1;var d=t instanceof Date,f=r instanceof Date;if(d!=f)return!1;if(d&&f)return t.getTime()==r.getTime();var m=t instanceof RegExp,b=r instanceof RegExp;if(m!=b)return!1;if(m&&b)return t.toString()==r.toString();var h=a(t);if((c=h.length)!==a(r).length)return!1;for(o=c;0!=o--;)if(!i.call(r,h[o]))return!1;if(s&&t instanceof Element&&r instanceof Element)return t===r;for(o=c;0!=o--;)if(!("_owner"===(l=h[o])&&t.$$typeof||e(t[l],r[l])))return!1;return!0}return t!=t&&r!=r}(e,t)}catch(e){if(e.message&&e.message.match(/stack|recursion/i)||-2146828260===e.number)return console.warn("Warning: react-fast-compare does not handle circular references.",e.name,e.message),!1;throw e}}},165:function(e,t,r){"use strict";function n(e){this._maxSize=e,this.clear()}n.prototype.clear=function(){this._size=0,this._values=Object.create(null)},n.prototype.get=function(e){return this._values[e]},n.prototype.set=function(e,t){return this._size>=this._maxSize&&this.clear(),e in this._values||this._size++,this._values[e]=t};var a=/[^.^\]^[]+|(?=\[\]|\.\.)/g,i=/^\d+$/,s=/^\d/,o=/[~`!#$%\^&*+=\-\[\]\\';,/{}|\\":<>\?]/g,c=/^\s*(['"]?)(.*?)(\1)\s*$/,l=new n(512),u=new n(512),p=new n(512);function d(e){return l.get(e)||l.set(e,f(e).map((function(e){return e.replace(c,"$2")})))}function f(e){return e.match(a)||[""]}function m(e){return"string"==typeof e&&e&&-1!==["'",'"'].indexOf(e.charAt(0))}function b(e){return!m(e)&&(function(e){return e.match(s)&&!e.match(i)}(e)||function(e){return o.test(e)}(e))}e.exports={Cache:n,split:f,normalizePath:d,setter:function(e){var t=d(e);return u.get(e)||u.set(e,(function(e,r){for(var n=0,a=t.length,i=e;n<a-1;){var s=t[n];if("__proto__"===s||"constructor"===s||"prototype"===s)return e;i=i[t[n++]]}i[t[n]]=r}))},getter:function(e,t){var r=d(e);return p.get(e)||p.set(e,(function(e){for(var n=0,a=r.length;n<a;){if(null==e&&t)return;e=e[r[n++]]}return e}))},join:function(e){return e.reduce((function(e,t){return e+(m(t)||i.test(t)?"["+t+"]":(e?".":"")+t)}),"")},forEach:function(e,t,r){!function(e,t,r){var n,a,i,s,o=e.length;for(a=0;a<o;a++)(n=e[a])&&(b(n)&&(n='"'+n+'"'),i=!(s=m(n))&&/^\d+$/.test(n),t.call(r,n,s,i,a,e))}(Array.isArray(e)?e:f(e),t,r)}}},177:function(e,t){e.exports=window.lodash.has},187:function(e,t,r){"use strict";var n=r(3);const a=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.707-9.293a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z",clipRule:"evenodd"}))}));t.a=a},19:function(e,t,r){"use strict";r.d(t,"b",(function(){return a})),r.d(t,"a",(function(){return i}));var n=r(0);function a(e){return e.charAt(0).toUpperCase()+e.slice(1)}function i(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return Object(n.createInterpolateElement)(e,{a:Object(n.createElement)("a",{id:r,href:t,target:"_blank",rel:"noopener noreferrer"})})}},2:function(e,t){e.exports=window.wp.i18n},202:function(e,t,r){"use strict";r.d(t,"a",(function(){return o}));var n=function(e,t){return e===t};function a(e,t){var r,a,i="object"==typeof t?t:{equalityCheck:t},s=i.equalityCheck,o=void 0===s?n:s,c=i.maxSize,l=void 0===c?1:c,u=i.resultEqualityCheck,p=function(e){return function(t,r){if(null===t||null===r||t.length!==r.length)return!1;for(var n=t.length,a=0;a<n;a++)if(!e(t[a],r[a]))return!1;return!0}}(o),d=1===l?(r=p,{get:function(e){return a&&r(a.key,e)?a.value:"NOT_FOUND"},put:function(e,t){a={key:e,value:t}},getEntries:function(){return a?[a]:[]},clear:function(){a=void 0}}):function(e,t){var r=[];function n(e){var n=r.findIndex((function(r){return t(e,r.key)}));if(n>-1){var a=r[n];return n>0&&(r.splice(n,1),r.unshift(a)),a.value}return"NOT_FOUND"}return{get:n,put:function(t,a){"NOT_FOUND"===n(t)&&(r.unshift({key:t,value:a}),r.length>e&&r.pop())},getEntries:function(){return r},clear:function(){r=[]}}}(l,p);function f(){var t=d.get(arguments);if("NOT_FOUND"===t){if(t=e.apply(null,arguments),u){var r=d.getEntries(),n=r.find((function(e){return u(e.value,t)}));n&&(t=n.value)}d.put(arguments,t)}return t}return f.clearCache=function(){return d.clear()},f}function i(e){var t=Array.isArray(e[0])?e[0]:e;if(!t.every((function(e){return"function"==typeof e}))){var r=t.map((function(e){return"function"==typeof e?"function "+(e.name||"unnamed")+"()":typeof e})).join(", ");throw new Error("createSelector expects all input-selectors to be functions, but received the following types: ["+r+"]")}return t}function s(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];var a=function(){for(var t=arguments.length,n=new Array(t),a=0;a<t;a++)n[a]=arguments[a];var s,o=0,c={memoizeOptions:void 0},l=n.pop();if("object"==typeof l&&(c=l,l=n.pop()),"function"!=typeof l)throw new Error("createSelector expects an output function after the inputs, but received: ["+typeof l+"]");var u=c,p=u.memoizeOptions,d=void 0===p?r:p,f=Array.isArray(d)?d:[d],m=i(n),b=e.apply(void 0,[function(){return o++,l.apply(null,arguments)}].concat(f)),h=e((function(){for(var e=[],t=m.length,r=0;r<t;r++)e.push(m[r].apply(null,arguments));return s=b.apply(null,e)}));return Object.assign(h,{resultFunc:l,memoizedResultFunc:b,dependencies:m,lastResult:function(){return s},recomputations:function(){return o},resetRecomputations:function(){return o=0}}),h};return a}var o=s(a)},204:function(e,t){e.exports=window.lodash.mapValues},207:function(e,t){var r,n,a=e.exports={};function i(){throw new Error("setTimeout has not been defined")}function s(){throw new Error("clearTimeout has not been defined")}function o(e){if(r===setTimeout)return setTimeout(e,0);if((r===i||!r)&&setTimeout)return r=setTimeout,setTimeout(e,0);try{return r(e,0)}catch(t){try{return r.call(null,e,0)}catch(t){return r.call(this,e,0)}}}!function(){try{r="function"==typeof setTimeout?setTimeout:i}catch(e){r=i}try{n="function"==typeof clearTimeout?clearTimeout:s}catch(e){n=s}}();var c,l=[],u=!1,p=-1;function d(){u&&c&&(u=!1,c.length?l=c.concat(l):p=-1,l.length&&f())}function f(){if(!u){var e=o(d);u=!0;for(var t=l.length;t;){for(c=l,l=[];++p<t;)c&&c[p].run();p=-1,t=l.length}c=null,u=!1,function(e){if(n===clearTimeout)return clearTimeout(e);if((n===s||!n)&&clearTimeout)return n=clearTimeout,clearTimeout(e);try{n(e)}catch(t){try{return n.call(null,e)}catch(t){return n.call(this,e)}}}(e)}}function m(e,t){this.fun=e,this.array=t}function b(){}a.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)t[r-1]=arguments[r];l.push(new m(e,t)),1!==l.length||u||o(f)},m.prototype.run=function(){this.fun.apply(null,this.array)},a.title="browser",a.browser=!0,a.env={},a.argv=[],a.version="",a.versions={},a.on=b,a.addListener=b,a.once=b,a.off=b,a.removeListener=b,a.removeAllListeners=b,a.emit=b,a.prependListener=b,a.prependOnceListener=b,a.listeners=function(e){return[]},a.binding=function(e){throw new Error("process.binding is not supported")},a.cwd=function(){return"/"},a.chdir=function(e){throw new Error("process.chdir is not supported")},a.umask=function(){return 0}},21:function(e,t,r){var n;!function(){"use strict";var r={}.hasOwnProperty;function a(){for(var e=[],t=0;t<arguments.length;t++){var n=arguments[t];if(n){var i=typeof n;if("string"===i||"number"===i)e.push(n);else if(Array.isArray(n)&&n.length){var s=a.apply(null,n);s&&e.push(s)}else if("object"===i)for(var o in n)r.call(n,o)&&n[o]&&e.push(o)}}return e.join(" ")}e.exports?(a.default=a,e.exports=a):void 0===(n=function(){return a}.apply(t,[]))||(e.exports=n)}()},213:function(e,t){e.exports=window.lodash.isPlainObject},214:function(e,t){e.exports=window.lodash.clone},215:function(e,t){e.exports=window.lodash.toPath},216:function(e,t,r){"use strict";var n=r(251),a={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},i={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},s={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},o={};function c(e){return n.isMemo(e)?s:o[e.$$typeof]||a}o[n.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0};var l=Object.defineProperty,u=Object.getOwnPropertyNames,p=Object.getOwnPropertySymbols,d=Object.getOwnPropertyDescriptor,f=Object.getPrototypeOf,m=Object.prototype;e.exports=function e(t,r,n){if("string"!=typeof r){if(m){var a=f(r);a&&a!==m&&e(t,a,n)}var s=u(r);p&&(s=s.concat(p(r)));for(var o=c(t),b=c(r),h=0;h<s.length;++h){var y=s[h];if(!(i[y]||n&&n[y]||b&&b[y]||o&&o[y])){var v=d(r,y);try{l(t,y,v)}catch(e){}}}return t}return t}},217:function(e,t){e.exports=window.lodash.snakeCase},218:function(e,t,r){"use strict";function n(e){return function(t){var r=t.dispatch,n=t.getState;return function(t){return function(a){return"function"==typeof a?a(r,n,e):t(a)}}}}var a=n();a.withExtraArgument=n,t.a=a},219:function(e,t,r){"use strict";var n=r(3);const a=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M19 7l-.867 12.142A2 2 0 0116.138 21H7.862a2 2 0 01-1.995-1.858L5 7m5 4v6m4-6v6m1-10V4a1 1 0 00-1-1h-4a1 1 0 00-1 1v3M4 7h16"}))}));t.a=a},220:function(e,t,r){"use strict";var n=r(3);const a=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{fillRule:"evenodd",d:"M10 3a1 1 0 011 1v5h5a1 1 0 110 2h-5v5a1 1 0 11-2 0v-5H4a1 1 0 110-2h5V4a1 1 0 011-1z",clipRule:"evenodd"}))}));t.a=a},230:function(e,t){e.exports=window.lodash.cloneDeep},231:function(e,t){e.exports=window.lodash.camelCase},232:function(e,t){e.exports=window.lodash.mapKeys},233:function(e,t){function r(e,t){var r=e.length,n=new Array(r),a={},i=r,s=function(e){for(var t=new Map,r=0,n=e.length;r<n;r++){var a=e[r];t.has(a[0])||t.set(a[0],new Set),t.has(a[1])||t.set(a[1],new Set),t.get(a[0]).add(a[1])}return t}(t),o=function(e){for(var t=new Map,r=0,n=e.length;r<n;r++)t.set(e[r],r);return t}(e);for(t.forEach((function(e){if(!o.has(e[0])||!o.has(e[1]))throw new Error("Unknown node. There is an unknown node in the supplied edges.")}));i--;)a[i]||c(e[i],i,new Set);return n;function c(e,t,i){if(i.has(e)){var l;try{l=", node was:"+JSON.stringify(e)}catch(e){l=""}throw new Error("Cyclic dependency"+l)}if(!o.has(e))throw new Error("Found unknown node. Make sure to provided all involved nodes. Unknown node: "+JSON.stringify(e));if(!a[t]){a[t]=!0;var u=s.get(e)||new Set;if(t=(u=Array.from(u)).length){i.add(e);do{var p=u[--t];c(p,o.get(p),i)}while(t);i.delete(e)}n[--r]=e}}}e.exports=function(e){return r(function(e){for(var t=new Set,r=0,n=e.length;r<n;r++){var a=e[r];t.add(a[0]),t.add(a[1])}return Array.from(t)}(e),e)},e.exports.array=r},24:function(e,t,r){"use strict";r.d(t,"a",(function(){return o})),r.d(t,"b",(function(){return c})),r.d(t,"c",(function(){return f})),r.d(t,"d",(function(){return d})),r.d(t,"e",(function(){return l}));var n,a,i=r(3),s=r(29),o=((a=o||{})[a.None=0]="None",a[a.RenderStrategy=1]="RenderStrategy",a[a.Static=2]="Static",a),c=((n=c||{})[n.Unmount=0]="Unmount",n[n.Hidden=1]="Hidden",n);function l({ourProps:e,theirProps:t,slot:r,defaultTag:n,features:a,visible:i=!0,name:o}){let c=p(t,e);if(i)return u(c,r,n,o);let l=null!=a?a:0;if(2&l){let{static:e=!1,...t}=c;if(e)return u(t,r,n,o)}if(1&l){let{unmount:e=!0,...t}=c;return Object(s.a)(e?0:1,{0:()=>null,1:()=>u({...t,hidden:!0,style:{display:"none"}},r,n,o)})}return u(c,r,n,o)}function u(e,t={},r,n){let{as:a=r,children:s,refName:o="ref",...c}=m(e,["unmount","static"]),l=void 0!==e.ref?{[o]:e.ref}:{},u="function"==typeof s?s(t):s;c.className&&"function"==typeof c.className&&(c.className=c.className(t));let d={};if(a===i.Fragment&&Object.keys(f(c)).length>0){if(!Object(i.isValidElement)(u)||Array.isArray(u)&&u.length>1)throw new Error(['Passing props on "Fragment"!',"",`The current component <${n} /> is rendering a "Fragment".`,"However we need to passthrough the following props:",Object.keys(c).map(e=>" - "+e).join("\n"),"","You can apply a few solutions:",['Add an `as="..."` prop, to ensure that we render an actual element instead of a "Fragment".',"Render a single element as the child so that we can forward the props onto that element."].map(e=>" - "+e).join("\n")].join("\n"));return Object(i.cloneElement)(u,Object.assign({},p(u.props,f(m(c,["ref"]))),d,l))}return Object(i.createElement)(a,Object.assign({},m(c,["ref"]),a!==i.Fragment&&l,a!==i.Fragment&&d),u)}function p(...e){if(0===e.length)return{};if(1===e.length)return e[0];let t={},r={};for(let n of e)for(let e in n)e.startsWith("on")&&"function"==typeof n[e]?(null!=r[e]||(r[e]=[]),r[e].push(n[e])):t[e]=n[e];if(t.disabled||t["aria-disabled"])return Object.assign(t,Object.fromEntries(Object.keys(r).map(e=>[e,void 0])));for(let e in r)Object.assign(t,{[e](t,...n){let a=r[e];for(let e of a){if(t.defaultPrevented)return;e(t,...n)}}});return t}function d(e){var t;return Object.assign(Object(i.forwardRef)(e),{displayName:null!=(t=e.displayName)?t:e.name})}function f(e){let t=Object.assign({},e);for(let e in t)void 0===t[e]&&delete t[e];return t}function m(e,t=[]){let r=Object.assign({},e);for(let e of t)e in r&&delete r[e];return r}},245:function(e,t,r){"use strict";var n=r(3);const a=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M4 16l4.586-4.586a2 2 0 012.828 0L16 16m-2-2l1.586-1.586a2 2 0 012.828 0L20 14m-6-6h.01M6 20h12a2 2 0 002-2V6a2 2 0 00-2-2H6a2 2 0 00-2 2v12a2 2 0 002 2z"}))}));t.a=a},251:function(e,t,r){"use strict";e.exports=r(252)},252:function(e,t,r){"use strict";var n="function"==typeof Symbol&&Symbol.for,a=n?Symbol.for("react.element"):60103,i=n?Symbol.for("react.portal"):60106,s=n?Symbol.for("react.fragment"):60107,o=n?Symbol.for("react.strict_mode"):60108,c=n?Symbol.for("react.profiler"):60114,l=n?Symbol.for("react.provider"):60109,u=n?Symbol.for("react.context"):60110,p=n?Symbol.for("react.async_mode"):60111,d=n?Symbol.for("react.concurrent_mode"):60111,f=n?Symbol.for("react.forward_ref"):60112,m=n?Symbol.for("react.suspense"):60113,b=n?Symbol.for("react.suspense_list"):60120,h=n?Symbol.for("react.memo"):60115,y=n?Symbol.for("react.lazy"):60116,v=n?Symbol.for("react.block"):60121,O=n?Symbol.for("react.fundamental"):60117,g=n?Symbol.for("react.responder"):60118,j=n?Symbol.for("react.scope"):60119;function w(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case a:switch(e=e.type){case p:case d:case s:case c:case o:case m:return e;default:switch(e=e&&e.$$typeof){case u:case f:case y:case h:case l:return e;default:return t}}case i:return t}}}function _(e){return w(e)===d}t.AsyncMode=p,t.ConcurrentMode=d,t.ContextConsumer=u,t.ContextProvider=l,t.Element=a,t.ForwardRef=f,t.Fragment=s,t.Lazy=y,t.Memo=h,t.Portal=i,t.Profiler=c,t.StrictMode=o,t.Suspense=m,t.isAsyncMode=function(e){return _(e)||w(e)===p},t.isConcurrentMode=_,t.isContextConsumer=function(e){return w(e)===u},t.isContextProvider=function(e){return w(e)===l},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===a},t.isForwardRef=function(e){return w(e)===f},t.isFragment=function(e){return w(e)===s},t.isLazy=function(e){return w(e)===y},t.isMemo=function(e){return w(e)===h},t.isPortal=function(e){return w(e)===i},t.isProfiler=function(e){return w(e)===c},t.isStrictMode=function(e){return w(e)===o},t.isSuspense=function(e){return w(e)===m},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===s||e===d||e===c||e===o||e===m||e===b||"object"==typeof e&&null!==e&&(e.$$typeof===y||e.$$typeof===h||e.$$typeof===l||e.$$typeof===u||e.$$typeof===f||e.$$typeof===O||e.$$typeof===g||e.$$typeof===j||e.$$typeof===v)},t.typeOf=w},261:function(e,t,r){"use strict";r.r(t);var n=r(0),a=r(64),i=r.n(a),s=r(6),o=r(2),c=r(10),l=r(3),u=r(149),p=r.n(u),d=function(e){return function(e){return!!e&&"object"==typeof e}(e)&&!function(e){var t=Object.prototype.toString.call(e);return"[object RegExp]"===t||"[object Date]"===t||function(e){return e.$$typeof===f}(e)}(e)},f="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function m(e,t){return!1!==t.clone&&t.isMergeableObject(e)?h((r=e,Array.isArray(r)?[]:{}),e,t):e;var r}function b(e,t,r){return e.concat(t).map((function(e){return m(e,r)}))}function h(e,t,r){(r=r||{}).arrayMerge=r.arrayMerge||b,r.isMergeableObject=r.isMergeableObject||d;var n=Array.isArray(t);return n===Array.isArray(e)?n?r.arrayMerge(e,t,r):function(e,t,r){var n={};return r.isMergeableObject(e)&&Object.keys(e).forEach((function(t){n[t]=m(e[t],r)})),Object.keys(t).forEach((function(a){r.isMergeableObject(t[a])&&e[a]?n[a]=h(e[a],t[a],r):n[a]=m(t[a],r)})),n}(e,t,r):m(t,r)}h.all=function(e,t){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce((function(e,r){return h(e,r,t)}),{})};var y=h,v=r(213),O=r.n(v),g=r(214),j=r.n(g),w=r(215),_=r.n(w),E=(r(216),r(230)),S=r.n(E);function x(){return(x=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function T(e,t){if(null==e)return{};var r,n,a={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(a[r]=e[r]);return a}function k(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var $=function(e){return Array.isArray(e)&&0===e.length},R=function(e){return"function"==typeof e},P=function(e){return null!==e&&"object"==typeof e},A=function(e){return String(Math.floor(Number(e)))===e},N=function(e){return"[object String]"===Object.prototype.toString.call(e)},I=function(e){return 0===l.Children.count(e)},M=function(e){return P(e)&&R(e.then)};function C(e,t,r,n){void 0===n&&(n=0);for(var a=_()(t);e&&n<a.length;)e=e[a[n++]];return void 0===e?r:e}function L(e,t,r){for(var n=j()(e),a=n,i=0,s=_()(t);i<s.length-1;i++){var o=s[i],c=C(e,s.slice(0,i+1));if(c&&(P(c)||Array.isArray(c)))a=a[o]=j()(c);else{var l=s[i+1];a=a[o]=A(l)&&Number(l)>=0?[]:{}}}return(0===i?e:a)[s[i]]===r?e:(void 0===r?delete a[s[i]]:a[s[i]]=r,0===i&&void 0===r&&delete n[s[i]],n)}function F(e,t,r,n){void 0===r&&(r=new WeakMap),void 0===n&&(n={});for(var a=0,i=Object.keys(e);a<i.length;a++){var s=i[a],o=e[s];P(o)?r.get(o)||(r.set(o,!0),n[s]=Array.isArray(o)?[]:{},F(o,t,r,n[s])):n[s]=t}return n}var V=Object(l.createContext)(void 0);V.displayName="FormikContext";var D=V.Provider;V.Consumer;function U(){var e=Object(l.useContext)(V);return e}function q(e,t){switch(t.type){case"SET_VALUES":return x({},e,{values:t.payload});case"SET_TOUCHED":return x({},e,{touched:t.payload});case"SET_ERRORS":return p()(e.errors,t.payload)?e:x({},e,{errors:t.payload});case"SET_STATUS":return x({},e,{status:t.payload});case"SET_ISSUBMITTING":return x({},e,{isSubmitting:t.payload});case"SET_ISVALIDATING":return x({},e,{isValidating:t.payload});case"SET_FIELD_VALUE":return x({},e,{values:L(e.values,t.payload.field,t.payload.value)});case"SET_FIELD_TOUCHED":return x({},e,{touched:L(e.touched,t.payload.field,t.payload.value)});case"SET_FIELD_ERROR":return x({},e,{errors:L(e.errors,t.payload.field,t.payload.value)});case"RESET_FORM":return x({},e,t.payload);case"SET_FORMIK_STATE":return t.payload(e);case"SUBMIT_ATTEMPT":return x({},e,{touched:F(e.values,!0),isSubmitting:!0,submitCount:e.submitCount+1});case"SUBMIT_FAILURE":case"SUBMIT_SUCCESS":return x({},e,{isSubmitting:!1});default:return e}}var B={},z={};function H(e){var t=function(e){var t=e.validateOnChange,r=void 0===t||t,n=e.validateOnBlur,a=void 0===n||n,i=e.validateOnMount,s=void 0!==i&&i,o=e.isInitialValid,c=e.enableReinitialize,u=void 0!==c&&c,d=e.onSubmit,f=T(e,["validateOnChange","validateOnBlur","validateOnMount","isInitialValid","enableReinitialize","onSubmit"]),m=x({validateOnChange:r,validateOnBlur:a,validateOnMount:s,onSubmit:d},f),b=Object(l.useRef)(m.initialValues),h=Object(l.useRef)(m.initialErrors||B),v=Object(l.useRef)(m.initialTouched||z),g=Object(l.useRef)(m.initialStatus),j=Object(l.useRef)(!1),w=Object(l.useRef)({});Object(l.useEffect)((function(){return j.current=!0,function(){j.current=!1}}),[]);var _=Object(l.useReducer)(q,{values:m.initialValues,errors:m.initialErrors||B,touched:m.initialTouched||z,status:m.initialStatus,isSubmitting:!1,isValidating:!1,submitCount:0}),E=_[0],S=_[1],k=Object(l.useCallback)((function(e,t){return new Promise((function(r,n){var a=m.validate(e,t);null==a?r(B):M(a)?a.then((function(e){r(e||B)}),(function(e){n(e)})):r(a)}))}),[m.validate]),$=Object(l.useCallback)((function(e,t){var r=m.validationSchema,n=R(r)?r(t):r,a=t&&n.validateAt?n.validateAt(t,e):function(e,t,r,n){void 0===r&&(r=!1),void 0===n&&(n={});var a=function e(t){var r=Array.isArray(t)?[]:{};for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){var a=String(n);!0===Array.isArray(t[a])?r[a]=t[a].map((function(t){return!0===Array.isArray(t)||O()(t)?e(t):""!==t?t:void 0})):O()(t[a])?r[a]=e(t[a]):r[a]=""!==t[a]?t[a]:void 0}return r}(e);return t[r?"validateSync":"validate"](a,{abortEarly:!1,context:n})}(e,n);return new Promise((function(e,t){a.then((function(){e(B)}),(function(r){"ValidationError"===r.name?e(function(e){var t={};if(e.inner){if(0===e.inner.length)return L(t,e.path,e.message);var r=e.inner,n=Array.isArray(r),a=0;for(r=n?r:r[Symbol.iterator]();;){var i;if(n){if(a>=r.length)break;i=r[a++]}else{if((a=r.next()).done)break;i=a.value}var s=i;C(t,s.path)||(t=L(t,s.path,s.message))}}return t}(r)):t(r)}))}))}),[m.validationSchema]),A=Object(l.useCallback)((function(e,t){return new Promise((function(r){return r(w.current[e].validate(t))}))}),[]),I=Object(l.useCallback)((function(e){var t=Object.keys(w.current).filter((function(e){return R(w.current[e].validate)})),r=t.length>0?t.map((function(t){return A(t,C(e,t))})):[Promise.resolve("DO_NOT_DELETE_YOU_WILL_BE_FIRED")];return Promise.all(r).then((function(e){return e.reduce((function(e,r,n){return"DO_NOT_DELETE_YOU_WILL_BE_FIRED"===r||r&&(e=L(e,t[n],r)),e}),{})}))}),[A]),F=Object(l.useCallback)((function(e){return Promise.all([I(e),m.validationSchema?$(e):{},m.validate?k(e):{}]).then((function(e){var t=e[0],r=e[1],n=e[2];return y.all([t,r,n],{arrayMerge:Y})}))}),[m.validate,m.validationSchema,I,k,$]),V=K((function(e){return void 0===e&&(e=E.values),S({type:"SET_ISVALIDATING",payload:!0}),F(e).then((function(e){return j.current&&(S({type:"SET_ISVALIDATING",payload:!1}),S({type:"SET_ERRORS",payload:e})),e}))}));Object(l.useEffect)((function(){s&&!0===j.current&&p()(b.current,m.initialValues)&&V(b.current)}),[s,V]);var D=Object(l.useCallback)((function(e){var t=e&&e.values?e.values:b.current,r=e&&e.errors?e.errors:h.current?h.current:m.initialErrors||{},n=e&&e.touched?e.touched:v.current?v.current:m.initialTouched||{},a=e&&e.status?e.status:g.current?g.current:m.initialStatus;b.current=t,h.current=r,v.current=n,g.current=a;var i=function(){S({type:"RESET_FORM",payload:{isSubmitting:!!e&&!!e.isSubmitting,errors:r,touched:n,status:a,values:t,isValidating:!!e&&!!e.isValidating,submitCount:e&&e.submitCount&&"number"==typeof e.submitCount?e.submitCount:0}})};if(m.onReset){var s=m.onReset(E.values,ue);M(s)?s.then(i):i()}else i()}),[m.initialErrors,m.initialStatus,m.initialTouched]);Object(l.useEffect)((function(){!0!==j.current||p()(b.current,m.initialValues)||(u&&(b.current=m.initialValues,D()),s&&V(b.current))}),[u,m.initialValues,D,s,V]),Object(l.useEffect)((function(){u&&!0===j.current&&!p()(h.current,m.initialErrors)&&(h.current=m.initialErrors||B,S({type:"SET_ERRORS",payload:m.initialErrors||B}))}),[u,m.initialErrors]),Object(l.useEffect)((function(){u&&!0===j.current&&!p()(v.current,m.initialTouched)&&(v.current=m.initialTouched||z,S({type:"SET_TOUCHED",payload:m.initialTouched||z}))}),[u,m.initialTouched]),Object(l.useEffect)((function(){u&&!0===j.current&&!p()(g.current,m.initialStatus)&&(g.current=m.initialStatus,S({type:"SET_STATUS",payload:m.initialStatus}))}),[u,m.initialStatus,m.initialTouched]);var U=K((function(e){if(w.current[e]&&R(w.current[e].validate)){var t=C(E.values,e),r=w.current[e].validate(t);return M(r)?(S({type:"SET_ISVALIDATING",payload:!0}),r.then((function(e){return e})).then((function(t){S({type:"SET_FIELD_ERROR",payload:{field:e,value:t}}),S({type:"SET_ISVALIDATING",payload:!1})}))):(S({type:"SET_FIELD_ERROR",payload:{field:e,value:r}}),Promise.resolve(r))}return m.validationSchema?(S({type:"SET_ISVALIDATING",payload:!0}),$(E.values,e).then((function(e){return e})).then((function(t){S({type:"SET_FIELD_ERROR",payload:{field:e,value:t[e]}}),S({type:"SET_ISVALIDATING",payload:!1})}))):Promise.resolve()})),H=Object(l.useCallback)((function(e,t){var r=t.validate;w.current[e]={validate:r}}),[]),W=Object(l.useCallback)((function(e){delete w.current[e]}),[]),G=K((function(e,t){return S({type:"SET_TOUCHED",payload:e}),(void 0===t?a:t)?V(E.values):Promise.resolve()})),X=Object(l.useCallback)((function(e){S({type:"SET_ERRORS",payload:e})}),[]),J=K((function(e,t){var n=R(e)?e(E.values):e;return S({type:"SET_VALUES",payload:n}),(void 0===t?r:t)?V(n):Promise.resolve()})),Q=Object(l.useCallback)((function(e,t){S({type:"SET_FIELD_ERROR",payload:{field:e,value:t}})}),[]),Z=K((function(e,t,n){return S({type:"SET_FIELD_VALUE",payload:{field:e,value:t}}),(void 0===n?r:n)?V(L(E.values,e,t)):Promise.resolve()})),ee=Object(l.useCallback)((function(e,t){var r,n=t,a=e;if(!N(e)){e.persist&&e.persist();var i=e.target?e.target:e.currentTarget,s=i.type,o=i.name,c=i.id,l=i.value,u=i.checked,p=(i.outerHTML,i.options),d=i.multiple;n=t||o||c,a=/number|range/.test(s)?(r=parseFloat(l),isNaN(r)?"":r):/checkbox/.test(s)?function(e,t,r){if("boolean"==typeof e)return Boolean(t);var n=[],a=!1,i=-1;if(Array.isArray(e))n=e,a=(i=e.indexOf(r))>=0;else if(!r||"true"==r||"false"==r)return Boolean(t);return t&&r&&!a?n.concat(r):a?n.slice(0,i).concat(n.slice(i+1)):n}(C(E.values,n),u,l):p&&d?function(e){return Array.from(e).filter((function(e){return e.selected})).map((function(e){return e.value}))}(p):l}n&&Z(n,a)}),[Z,E.values]),te=K((function(e){if(N(e))return function(t){return ee(t,e)};ee(e)})),re=K((function(e,t,r){return void 0===t&&(t=!0),S({type:"SET_FIELD_TOUCHED",payload:{field:e,value:t}}),(void 0===r?a:r)?V(E.values):Promise.resolve()})),ne=Object(l.useCallback)((function(e,t){e.persist&&e.persist();var r=e.target,n=r.name,a=r.id,i=(r.outerHTML,t||n||a);re(i,!0)}),[re]),ae=K((function(e){if(N(e))return function(t){return ne(t,e)};ne(e)})),ie=Object(l.useCallback)((function(e){R(e)?S({type:"SET_FORMIK_STATE",payload:e}):S({type:"SET_FORMIK_STATE",payload:function(){return e}})}),[]),se=Object(l.useCallback)((function(e){S({type:"SET_STATUS",payload:e})}),[]),oe=Object(l.useCallback)((function(e){S({type:"SET_ISSUBMITTING",payload:e})}),[]),ce=K((function(){return S({type:"SUBMIT_ATTEMPT"}),V().then((function(e){var t=e instanceof Error;if(!t&&0===Object.keys(e).length){var r;try{if(void 0===(r=pe()))return}catch(e){throw e}return Promise.resolve(r).then((function(e){return j.current&&S({type:"SUBMIT_SUCCESS"}),e})).catch((function(e){if(j.current)throw S({type:"SUBMIT_FAILURE"}),e}))}if(j.current&&(S({type:"SUBMIT_FAILURE"}),t))throw e}))})),le=K((function(e){e&&e.preventDefault&&R(e.preventDefault)&&e.preventDefault(),e&&e.stopPropagation&&R(e.stopPropagation)&&e.stopPropagation(),ce().catch((function(e){console.warn("Warning: An unhandled error was caught from submitForm()",e)}))})),ue={resetForm:D,validateForm:V,validateField:U,setErrors:X,setFieldError:Q,setFieldTouched:re,setFieldValue:Z,setStatus:se,setSubmitting:oe,setTouched:G,setValues:J,setFormikState:ie,submitForm:ce},pe=K((function(){return d(E.values,ue)})),de=K((function(e){e&&e.preventDefault&&R(e.preventDefault)&&e.preventDefault(),e&&e.stopPropagation&&R(e.stopPropagation)&&e.stopPropagation(),D()})),fe=Object(l.useCallback)((function(e){return{value:C(E.values,e),error:C(E.errors,e),touched:!!C(E.touched,e),initialValue:C(b.current,e),initialTouched:!!C(v.current,e),initialError:C(h.current,e)}}),[E.errors,E.touched,E.values]),me=Object(l.useCallback)((function(e){return{setValue:function(t,r){return Z(e,t,r)},setTouched:function(t,r){return re(e,t,r)},setError:function(t){return Q(e,t)}}}),[Z,re,Q]),be=Object(l.useCallback)((function(e){var t=P(e),r=t?e.name:e,n=C(E.values,r),a={name:r,value:n,onChange:te,onBlur:ae};if(t){var i=e.type,s=e.value,o=e.as,c=e.multiple;"checkbox"===i?void 0===s?a.checked=!!n:(a.checked=!(!Array.isArray(n)||!~n.indexOf(s)),a.value=s):"radio"===i?(a.checked=n===s,a.value=s):"select"===o&&c&&(a.value=a.value||[],a.multiple=!0)}return a}),[ae,te,E.values]),he=Object(l.useMemo)((function(){return!p()(b.current,E.values)}),[b.current,E.values]),ye=Object(l.useMemo)((function(){return void 0!==o?he?E.errors&&0===Object.keys(E.errors).length:!1!==o&&R(o)?o(m):o:E.errors&&0===Object.keys(E.errors).length}),[o,he,E.errors,m]);return x({},E,{initialValues:b.current,initialErrors:h.current,initialTouched:v.current,initialStatus:g.current,handleBlur:ae,handleChange:te,handleReset:de,handleSubmit:le,resetForm:D,setErrors:X,setFormikState:ie,setFieldTouched:re,setFieldValue:Z,setFieldError:Q,setStatus:se,setSubmitting:oe,setTouched:G,setValues:J,submitForm:ce,validateForm:V,validateField:U,isValid:ye,dirty:he,unregisterField:W,registerField:H,getFieldProps:be,getFieldMeta:fe,getFieldHelpers:me,validateOnBlur:a,validateOnChange:r,validateOnMount:s})}(e),r=e.component,n=e.children,a=e.render,i=e.innerRef;return Object(l.useImperativeHandle)(i,(function(){return t})),Object(l.createElement)(D,{value:t},r?Object(l.createElement)(r,t):a?a(t):n?R(n)?n(t):I(n)?null:l.Children.only(n):null)}function Y(e,t,r){var n=e.slice();return t.forEach((function(t,a){if(void 0===n[a]){var i=!1!==r.clone&&r.isMergeableObject(t);n[a]=i?y(Array.isArray(t)?[]:{},t,r):t}else r.isMergeableObject(t)?n[a]=y(e[a],t,r):-1===e.indexOf(t)&&n.push(t)})),n}var W="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement?l.useLayoutEffect:l.useEffect;function K(e){var t=Object(l.useRef)(e);return W((function(){t.current=e})),Object(l.useCallback)((function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];return t.current.apply(void 0,r)}),[])}function G(e){var t=U(),r=t.getFieldProps,n=t.getFieldMeta,a=t.getFieldHelpers,i=t.registerField,s=t.unregisterField,o=P(e)?e:{name:e},c=o.name,u=o.validate;return Object(l.useEffect)((function(){return c&&i(c,{validate:u}),function(){c&&s(c)}}),[i,s,c,u]),[r(o),n(c),a(c)]}function X(e){var t=e.validate,r=e.name,n=e.render,a=e.children,i=e.as,s=e.component,o=T(e,["validate","name","render","children","as","component"]),c=T(U(),["validate","validationSchema"]),u=c.registerField,p=c.unregisterField;Object(l.useEffect)((function(){return u(r,{validate:t}),function(){p(r)}}),[u,p,r,t]);var d=c.getFieldProps(x({name:r},o)),f=c.getFieldMeta(r),m={field:d,form:c};if(n)return n(x({},m,{meta:f}));if(R(a))return a(x({},m,{meta:f}));if(s){if("string"==typeof s){var b=o.innerRef,h=T(o,["innerRef"]);return Object(l.createElement)(s,x({ref:b},d,h),a)}return Object(l.createElement)(s,x({field:d,form:c},o),a)}var y=i||"input";if("string"==typeof y){var v=o.innerRef,O=T(o,["innerRef"]);return Object(l.createElement)(y,x({ref:v},d,O),a)}return Object(l.createElement)(y,x({},d,o),a)}var J=Object(l.forwardRef)((function(e,t){var r=e.action,n=T(e,["action"]),a=null!=r?r:"#",i=U(),s=i.handleReset,o=i.handleSubmit;return Object(l.createElement)("form",Object.assign({onSubmit:o,ref:t,onReset:s,action:a},n))}));J.displayName="Form";var Q=function(e,t,r){var n=Z(e);return n.splice(t,0,r),n},Z=function(e){if(e){if(Array.isArray(e))return[].concat(e);var t=Object.keys(e).map((function(e){return parseInt(e)})).reduce((function(e,t){return t>e?t:e}),0);return Array.from(x({},e,{length:t+1}))}return[]};(function(e){function t(t){var r;return(r=e.call(this,t)||this).updateArrayField=function(e,t,n){var a=r.props,i=a.name;(0,a.formik.setFormikState)((function(r){var a="function"==typeof n?n:e,s="function"==typeof t?t:e,o=L(r.values,i,e(C(r.values,i))),c=n?a(C(r.errors,i)):void 0,l=t?s(C(r.touched,i)):void 0;return $(c)&&(c=void 0),$(l)&&(l=void 0),x({},r,{values:o,errors:n?L(r.errors,i,c):r.errors,touched:t?L(r.touched,i,l):r.touched})}))},r.push=function(e){return r.updateArrayField((function(t){return[].concat(Z(t),[S()(e)])}),!1,!1)},r.handlePush=function(e){return function(){return r.push(e)}},r.swap=function(e,t){return r.updateArrayField((function(r){return function(e,t,r){var n=Z(e),a=n[t];return n[t]=n[r],n[r]=a,n}(r,e,t)}),!0,!0)},r.handleSwap=function(e,t){return function(){return r.swap(e,t)}},r.move=function(e,t){return r.updateArrayField((function(r){return function(e,t,r){var n=Z(e),a=n[t];return n.splice(t,1),n.splice(r,0,a),n}(r,e,t)}),!0,!0)},r.handleMove=function(e,t){return function(){return r.move(e,t)}},r.insert=function(e,t){return r.updateArrayField((function(r){return Q(r,e,t)}),(function(t){return Q(t,e,null)}),(function(t){return Q(t,e,null)}))},r.handleInsert=function(e,t){return function(){return r.insert(e,t)}},r.replace=function(e,t){return r.updateArrayField((function(r){return function(e,t,r){var n=Z(e);return n[t]=r,n}(r,e,t)}),!1,!1)},r.handleReplace=function(e,t){return function(){return r.replace(e,t)}},r.unshift=function(e){var t=-1;return r.updateArrayField((function(r){var n=r?[e].concat(r):[e];return t<0&&(t=n.length),n}),(function(e){var r=e?[null].concat(e):[null];return t<0&&(t=r.length),r}),(function(e){var r=e?[null].concat(e):[null];return t<0&&(t=r.length),r})),t},r.handleUnshift=function(e){return function(){return r.unshift(e)}},r.handleRemove=function(e){return function(){return r.remove(e)}},r.handlePop=function(){return function(){return r.pop()}},r.remove=r.remove.bind(k(r)),r.pop=r.pop.bind(k(r)),r}var r,n;n=e,(r=t).prototype=Object.create(n.prototype),r.prototype.constructor=r,r.__proto__=n;var a=t.prototype;return a.componentDidUpdate=function(e){this.props.validateOnChange&&this.props.formik.validateOnChange&&!p()(C(e.formik.values,e.name),C(this.props.formik.values,this.props.name))&&this.props.formik.validateForm(this.props.formik.values)},a.remove=function(e){var t;return this.updateArrayField((function(r){var n=r?Z(r):[];return t||(t=n[e]),R(n.splice)&&n.splice(e,1),n}),!0,!0),t},a.pop=function(){var e;return this.updateArrayField((function(t){var r=t;return e||(e=r&&r.pop&&r.pop()),r}),!0,!0),e},a.render=function(){var e={push:this.push,pop:this.pop,swap:this.swap,move:this.move,insert:this.insert,replace:this.replace,unshift:this.unshift,remove:this.remove,handlePush:this.handlePush,handlePop:this.handlePop,handleSwap:this.handleSwap,handleMove:this.handleMove,handleInsert:this.handleInsert,handleReplace:this.handleReplace,handleUnshift:this.handleUnshift,handleRemove:this.handleRemove},t=this.props,r=t.component,n=t.render,a=t.children,i=t.name,s=x({},e,{form:T(t.formik,["validate","validationSchema"]),name:i});return r?Object(l.createElement)(r,s):n?n(s):a?"function"==typeof a?a(s):I(a)?null:l.Children.only(a):null},t}(l.Component)).defaultProps={validateOnChange:!0},l.Component,l.Component;var ee=r(4);function te(){return(te=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}var re,ne=re||(re={});ne.Pop="POP",ne.Push="PUSH",ne.Replace="REPLACE";function ae(e){e.preventDefault(),e.returnValue=""}function ie(){var e=[];return{get length(){return e.length},push:function(t){return e.push(t),function(){e=e.filter((function(e){return e!==t}))}},call:function(t){e.forEach((function(e){return e&&e(t)}))}}}function se(e){var t=e.pathname;t=void 0===t?"/":t;var r=e.search;return r=void 0===r?"":r,e=void 0===(e=e.hash)?"":e,r&&"?"!==r&&(t+="?"===r.charAt(0)?r:"?"+r),e&&"#"!==e&&(t+="#"===e.charAt(0)?e:"#"+e),t}function oe(e){var t={};if(e){var r=e.indexOf("#");0<=r&&(t.hash=e.substr(r),e=e.substr(0,r)),0<=(r=e.indexOf("?"))&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}const ce=Object(l.createContext)(null),le=Object(l.createContext)(null),ue=Object(l.createContext)({outlet:null,matches:[]});function pe(e,t){if(!e)throw new Error(t)}const de=/^:\w+$/,fe=e=>"*"===e;function me(e,t){let r=e.split("/"),n=r.length;return r.some(fe)&&(n+=-2),t&&(n+=2),r.filter(e=>!fe(e)).reduce((e,t)=>e+(de.test(t)?3:""===t?1:10),n)}function be(e,t){let{routesMeta:r}=e,n={},a="/",i=[];for(let e=0;e<r.length;++e){let s=r[e],o=e===r.length-1,c="/"===a?t:t.slice(a.length)||"/",l=he({path:s.relativePath,caseSensitive:s.caseSensitive,end:o},c);if(!l)return null;Object.assign(n,l.params);let u=s.route;i.push({params:n,pathname:Oe([a,l.pathname]),pathnameBase:ge(Oe([a,l.pathnameBase])),route:u}),"/"!==l.pathnameBase&&(a=Oe([a,l.pathnameBase]))}return i}function he(e,t){"string"==typeof e&&(e={path:e,caseSensitive:!1,end:!0});let[r,n]=function(e,t,r){void 0===t&&(t=!1),void 0===r&&(r=!0);let n=[],a="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^$?{}|()[\]]/g,"\\$&").replace(/:(\w+)/g,(e,t)=>(n.push(t),"([^\\/]+)"));return e.endsWith("*")?(n.push("*"),a+="*"===e||"/*"===e?"(.*)$":"(?:\\/(.+)|\\/*)$"):a+=r?"\\/*$":"(?:(?=[.~-]|%[0-9A-F]{2})|\\b|\\/|$)",[new RegExp(a,t?void 0:"i"),n]}(e.path,e.caseSensitive,e.end),a=t.match(r);if(!a)return null;let i=a[0],s=i.replace(/(.)\/+$/,"$1"),o=a.slice(1);return{params:n.reduce((e,t,r)=>{if("*"===t){let e=o[r]||"";s=i.slice(0,i.length-e.length).replace(/(.)\/+$/,"$1")}return e[t]=function(e,t){try{return decodeURIComponent(e)}catch(t){return e}}(o[r]||""),e},{}),pathname:i,pathnameBase:s,pattern:e}}function ye(e,t,r){let n,a="string"==typeof e?oe(e):e,i=""===e||""===a.pathname?"/":a.pathname;if(null==i)n=r;else{let e=t.length-1;if(i.startsWith("..")){let t=i.split("/");for(;".."===t[0];)t.shift(),e-=1;a.pathname=t.join("/")}n=e>=0?t[e]:"/"}let s=function(e,t){void 0===t&&(t="/");let{pathname:r,search:n="",hash:a=""}="string"==typeof e?oe(e):e;return{pathname:r?r.startsWith("/")?r:function(e,t){let r=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(e=>{".."===e?r.length>1&&r.pop():"."!==e&&r.push(e)}),r.length>1?r.join("/"):"/"}(r,t):t,search:je(n),hash:we(a)}}(a,n);return i&&"/"!==i&&i.endsWith("/")&&!s.pathname.endsWith("/")&&(s.pathname+="/"),s}function ve(e,t){if("/"===t)return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let r=e.charAt(t.length);return r&&"/"!==r?null:e.slice(t.length)||"/"}const Oe=e=>e.join("/").replace(/\/\/+/g,"/"),ge=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),je=e=>e&&"?"!==e?e.startsWith("?")?e:"?"+e:"",we=e=>e&&"#"!==e?e.startsWith("#")?e:"#"+e:"";function _e(){return null!=Object(l.useContext)(le)}function Ee(){return _e()||pe(!1),Object(l.useContext)(le).location}function Se(){_e()||pe(!1);let{basename:e,navigator:t}=Object(l.useContext)(ce),{matches:r}=Object(l.useContext)(ue),{pathname:n}=Ee(),a=JSON.stringify(r.map(e=>e.pathnameBase)),i=Object(l.useRef)(!1);return Object(l.useEffect)(()=>{i.current=!0}),Object(l.useCallback)((function(r,s){if(void 0===s&&(s={}),!i.current)return;if("number"==typeof r)return void t.go(r);let o=ye(r,JSON.parse(a),n);"/"!==e&&(o.pathname=Oe([e,o.pathname])),(s.replace?t.replace:t.push)(o,s.state)}),[e,t,a,n])}function xe(e){let{matches:t}=Object(l.useContext)(ue),{pathname:r}=Ee(),n=JSON.stringify(t.map(e=>e.pathnameBase));return Object(l.useMemo)(()=>ye(e,JSON.parse(n),r),[e,n,r])}function Te(e){let{to:t,replace:r,state:n}=e;_e()||pe(!1);let a=Se();return Object(l.useEffect)(()=>{a(t,{replace:r,state:n})}),null}function ke(e){pe(!1)}function $e(e){let{basename:t="/",children:r=null,location:n,navigationType:a=re.Pop,navigator:i,static:s=!1}=e;_e()&&pe(!1);let o=ge(t),c=Object(l.useMemo)(()=>({basename:o,navigator:i,static:s}),[o,i,s]);"string"==typeof n&&(n=oe(n));let{pathname:u="/",search:p="",hash:d="",state:f=null,key:m="default"}=n,b=Object(l.useMemo)(()=>{let e=ve(u,o);return null==e?null:{pathname:e,search:p,hash:d,state:f,key:m}},[o,u,p,d,f,m]);return null==b?null:Object(l.createElement)(ce.Provider,{value:c},Object(l.createElement)(le.Provider,{children:r,value:{location:b,navigationType:a}}))}function Re(e){let{children:t,location:r}=e;return function(e,t){_e()||pe(!1);let{matches:r}=Object(l.useContext)(ue),n=r[r.length-1],a=n?n.params:{},i=(n&&n.pathname,n?n.pathnameBase:"/");n&&n.route;let s,o=Ee();if(t){var c;let e="string"==typeof t?oe(t):t;"/"===i||(null==(c=e.pathname)?void 0:c.startsWith(i))||pe(!1),s=e}else s=o;let u=s.pathname||"/",p=function(e,t,r){void 0===r&&(r="/");let n=ve(("string"==typeof t?oe(t):t).pathname||"/",r);if(null==n)return null;let a=function e(t,r,n,a){return void 0===r&&(r=[]),void 0===n&&(n=[]),void 0===a&&(a=""),t.forEach((t,i)=>{let s={relativePath:t.path||"",caseSensitive:!0===t.caseSensitive,childrenIndex:i,route:t};s.relativePath.startsWith("/")&&(s.relativePath.startsWith(a)||pe(!1),s.relativePath=s.relativePath.slice(a.length));let o=Oe([a,s.relativePath]),c=n.concat(s);t.children&&t.children.length>0&&(!0===t.index&&pe(!1),e(t.children,r,c,o)),(null!=t.path||t.index)&&r.push({path:o,score:me(o,t.index),routesMeta:c})}),r}(e);!function(e){e.sort((e,t)=>e.score!==t.score?t.score-e.score:function(e,t){return e.length===t.length&&e.slice(0,-1).every((e,r)=>e===t[r])?e[e.length-1]-t[t.length-1]:0}(e.routesMeta.map(e=>e.childrenIndex),t.routesMeta.map(e=>e.childrenIndex)))}(a);let i=null;for(let e=0;null==i&&e<a.length;++e)i=be(a[e],n);return i}(e,{pathname:"/"===i?u:u.slice(i.length)||"/"});return function(e,t){return void 0===t&&(t=[]),null==e?null:e.reduceRight((r,n,a)=>Object(l.createElement)(ue.Provider,{children:void 0!==n.route.element?n.route.element:r,value:{outlet:r,matches:t.concat(e.slice(0,a+1))}}),null)}(p&&p.map(e=>Object.assign({},e,{params:Object.assign({},a,e.params),pathname:Oe([i,e.pathname]),pathnameBase:"/"===e.pathnameBase?i:Oe([i,e.pathnameBase])})),r)}(function e(t){let r=[];return l.Children.forEach(t,t=>{if(!Object(l.isValidElement)(t))return;if(t.type===l.Fragment)return void r.push.apply(r,e(t.props.children));t.type!==ke&&pe(!1);let n={caseSensitive:t.props.caseSensitive,element:t.props.element,index:t.props.index,path:t.props.path};t.props.children&&(n.children=e(t.props.children)),r.push(n)}),r}(t),r)}function Pe(){return(Pe=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}const Ae=["onClick","reloadDocument","replace","state","target","to"];function Ne(e){let{basename:t,children:r,window:n}=e,a=Object(l.useRef)();null==a.current&&(a.current=function(e){function t(){var e=oe(o.location.hash.substr(1)),t=e.pathname,r=e.search;e=e.hash;var n=c.state||{};return[n.idx,{pathname:void 0===t?"/":t,search:void 0===r?"":r,hash:void 0===e?"":e,state:n.usr||null,key:n.key||"default"}]}function r(){if(l)m.call(l),l=null;else{var e=re.Pop,r=t(),n=r[0];if(r=r[1],m.length){if(null!=n){var a=p-n;a&&(l={action:e,location:r,retry:function(){s(-1*a)}},s(a))}}else i(e)}}function n(e){var t=document.querySelector("base"),r="";return t&&t.getAttribute("href")&&(r=-1===(r=(t=o.location.href).indexOf("#"))?t:t.slice(0,r)),r+"#"+("string"==typeof e?e:se(e))}function a(e,t){return void 0===t&&(t=null),te({pathname:d.pathname,hash:"",search:""},"string"==typeof e?oe(e):e,{state:t,key:Math.random().toString(36).substr(2,8)})}function i(e){u=e,e=t(),p=e[0],d=e[1],f.call({action:u,location:d})}function s(e){c.go(e)}void 0===e&&(e={});var o=void 0===(e=e.window)?document.defaultView:e,c=o.history,l=null;o.addEventListener("popstate",r),o.addEventListener("hashchange",(function(){se(t()[1])!==se(d)&&r()}));var u=re.Pop,p=(e=t())[0],d=e[1],f=ie(),m=ie();return null==p&&(p=0,c.replaceState(te({},c.state,{idx:p}),"")),{get action(){return u},get location(){return d},createHref:n,push:function e(t,r){var s=re.Push,l=a(t,r);if(!m.length||(m.call({action:s,location:l,retry:function(){e(t,r)}}),0)){var u=[{usr:l.state,key:l.key,idx:p+1},n(l)];l=u[0],u=u[1];try{c.pushState(l,"",u)}catch(e){o.location.assign(u)}i(s)}},replace:function e(t,r){var s=re.Replace,o=a(t,r);m.length&&(m.call({action:s,location:o,retry:function(){e(t,r)}}),1)||(o=[{usr:o.state,key:o.key,idx:p},n(o)],c.replaceState(o[0],"",o[1]),i(s))},go:s,back:function(){s(-1)},forward:function(){s(1)},listen:function(e){return f.push(e)},block:function(e){var t=m.push(e);return 1===m.length&&o.addEventListener("beforeunload",ae),function(){t(),m.length||o.removeEventListener("beforeunload",ae)}}}}({window:n}));let i=a.current,[s,o]=Object(l.useState)({action:i.action,location:i.location});return Object(l.useLayoutEffect)(()=>i.listen(o),[i]),Object(l.createElement)($e,{basename:t,children:r,location:s.location,navigationType:s.action,navigator:i})}const Ie=Object(l.forwardRef)((function(e,t){let{onClick:r,reloadDocument:n,replace:a=!1,state:i,target:s,to:o}=e,c=function(e,t){if(null==e)return{};var r,n,a={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(a[r]=e[r]);return a}(e,Ae),u=function(e){_e()||pe(!1);let{basename:t,navigator:r}=Object(l.useContext)(ce),{hash:n,pathname:a,search:i}=xe(e),s=a;if("/"!==t){let r=function(e){return""===e||""===e.pathname?"/":"string"==typeof e?oe(e).pathname:e.pathname}(e),n=null!=r&&r.endsWith("/");s="/"===a?t+(n?"/":""):Oe([t,a])}return r.createHref({pathname:s,search:i,hash:n})}(o),p=function(e,t){let{target:r,replace:n,state:a}=void 0===t?{}:t,i=Se(),s=Ee(),o=xe(e);return Object(l.useCallback)(t=>{if(!(0!==t.button||r&&"_self"!==r||function(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}(t))){t.preventDefault();let r=!!n||se(s)===se(o);i(e,{replace:r,state:a})}},[s,i,o,n,a,r,e])}(o,{replace:a,state:i,target:s});return Object(l.createElement)("a",Pe({},c,{href:u,onClick:function(e){r&&r(e),e.defaultPrevented||n||p(e)},ref:t,target:s}))}));var Me=r(8),Ce=l.forwardRef((function(e,t){return l.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),l.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9.75 17L9 20l-1 1h8l-1-1-.75-3M3 13h18M5 17h14a2 2 0 002-2V5a2 2 0 00-2-2H5a2 2 0 00-2 2v10a2 2 0 002 2z"}))})),Le=l.forwardRef((function(e,t){return l.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),l.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M19 20H5a2 2 0 01-2-2V6a2 2 0 012-2h10a2 2 0 012 2v1m2 13a2 2 0 01-2-2V7m2 13a2 2 0 002-2V9a2 2 0 00-2-2h-2m-4-3H9M7 16h6M7 8h6v4H7V8z"}))})),Fe=l.forwardRef((function(e,t){return l.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),l.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M7 21a4 4 0 01-4-4V5a2 2 0 012-2h4a2 2 0 012 2v12a4 4 0 01-4 4zm0 0h12a2 2 0 002-2v-4a2 2 0 00-2-2h-2.343M11 7.343l1.657-1.657a2 2 0 012.828 0l2.829 2.829a2 2 0 010 2.828l-8.486 8.485M7 17h.01"}))})),Ve=l.forwardRef((function(e,t){return l.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),l.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 6V4m0 2a2 2 0 100 4m0-4a2 2 0 110 4m-6 8a2 2 0 100-4m0 4a2 2 0 110-4m0 4v2m0-6V4m6 6v10m6-2a2 2 0 100-4m0 4a2 2 0 110-4m0 4v2m0-6V4"}))})),De=r(1),Ue=r.n(De);const qe=e=>{let{id:t,as:r="fieldset",children:a,title:i,description:s=null}=e;return Object(n.createElement)(r,{id:t,className:"lg:yst-grid lg:yst-grid-cols-3 lg:yst-gap-12"},Object(n.createElement)("div",{className:"lg:yst-col-span-1"},Object(n.createElement)("div",{className:"max-w-screen-sm"},Object(n.createElement)(c.Title,{as:"fieldset"===r?"legend":"h4",size:"4"},i),s&&Object(n.createElement)("p",{className:"yst-mt-2"},s))),Object(n.createElement)("div",{className:"yst-mt-8 lg:yst-mt-0 lg:yst-col-span-2 yst-space-y-8"},a))};qe.propTypes={id:Ue.a.string,as:Ue.a.elementType,children:Ue.a.node.isRequired,title:Ue.a.node.isRequired,description:Ue.a.node};var Be=qe;const ze=e=>{let{children:t,title:r,description:a=null}=e;const{isSubmitting:i}=U();return Object(n.createElement)("div",{className:"yst-rounded-lg yst-bg-white yst-shadow"},Object(n.createElement)(J,{className:"yst-flex yst-flex-col yst-h-full yst-min-h-[75vh]"},Object(n.createElement)("header",{className:"yst-border-b yst-border-gray-200"},Object(n.createElement)("div",{className:"yst-max-w-screen-sm yst-p-8"},Object(n.createElement)(c.Title,null,r),a&&Object(n.createElement)("p",{className:"yst-text-tiny yst-mt-3"},a))),Object(n.createElement)("div",{className:"yst-flex-grow yst-p-8 yst-max-w-5xl"},t),Object(n.createElement)("footer",{className:"yst-rounded-b-lg yst-p-8 yst-bg-gray-50"},Object(n.createElement)(c.Button,{id:"button-submit-settings",type:"submit",isLoading:i,disabled:i},Object(o.__)("Save changes","wordpress-seo")))))};ze.propTypes={children:Ue.a.node.isRequired,title:Ue.a.node.isRequired,description:Ue.a.node};var He=ze,Ye=r(11),We=r.n(Ye);const Ke=e=>{const[t,,{setTouched:r,setValue:a}]=G({...e,type:"checkbox"}),i=Object(n.useCallback)(e=>{r(!0,!1),a(!e)},[e.name]);return Object(n.createElement)(c.ToggleField,We()({},t,e,{checked:Object(ee.isUndefined)(e.checked)?!t.checked:!e.checked,onChange:i}))};Ke.propTypes={name:Ue.a.string.isRequired,checked:Ue.a.bool};var Ge=Ke,Xe=r(245),Je=r(21),Qe=r.n(Je),Ze=r(78),et=r(202);const tt={_client:null,get client(){if(this._client)return this._client;const e=Object(ee.get)(window,"wp.api.collections.Media",null);return e&&(this._client=new e),this._client}}.client;var rt,nt;try{rt=Map}catch(e){}try{nt=Set}catch(e){}function at(e){return function e(t,r,n){if(!t||"object"!=typeof t||"function"==typeof t)return t;if(t.nodeType&&"cloneNode"in t)return t.cloneNode(!0);if(t instanceof Date)return new Date(t.getTime());if(t instanceof RegExp)return new RegExp(t);if(Array.isArray(t))return t.map(at);if(rt&&t instanceof rt)return new Map(Array.from(t.entries()));if(nt&&t instanceof nt)return new Set(Array.from(t.values()));if(t instanceof Object){r.push(t);var a=Object.create(t);for(var i in n.push(a),t){var s=r.findIndex((function(e){return e===t[i]}));a[i]=s>-1?n[s]:e(t[i],r,n)}return a}return t}(e,[],[])}const it=Object.prototype.toString,st=Error.prototype.toString,ot=RegExp.prototype.toString,ct="undefined"!=typeof Symbol?Symbol.prototype.toString:()=>"",lt=/^Symbol\((.*)\)(.*)$/;function ut(e,t=!1){if(null==e||!0===e||!1===e)return""+e;const r=typeof e;if("number"===r)return function(e){return e!=+e?"NaN":0===e&&1/e<0?"-0":""+e}(e);if("string"===r)return t?`"${e}"`:e;if("function"===r)return"[Function "+(e.name||"anonymous")+"]";if("symbol"===r)return ct.call(e).replace(lt,"Symbol($1)");const n=it.call(e).slice(8,-1);return"Date"===n?isNaN(e.getTime())?""+e:e.toISOString(e):"Error"===n||e instanceof Error?"["+st.call(e)+"]":"RegExp"===n?ot.call(e):null}function pt(e,t){let r=ut(e,t);return null!==r?r:JSON.stringify(e,(function(e,r){let n=ut(this[e],t);return null!==n?n:r}),2)}let dt={default:"${path} is invalid",required:"${path} is a required field",oneOf:"${path} must be one of the following values: ${values}",notOneOf:"${path} must not be one of the following values: ${values}",notType:({path:e,type:t,value:r,originalValue:n})=>{let a=null!=n&&n!==r,i=`${e} must be a \`${t}\` type, but the final value was: \`${pt(r,!0)}\``+(a?` (cast from the value \`${pt(n,!0)}\`).`:".");return null===r&&(i+='\n If "null" is intended as an empty value be sure to mark the schema as `.nullable()`'),i},defined:"${path} must be defined"},ft={min:"${path} must be greater than or equal to ${min}",max:"${path} must be less than or equal to ${max}",lessThan:"${path} must be less than ${less}",moreThan:"${path} must be greater than ${more}",positive:"${path} must be a positive number",negative:"${path} must be a negative number",integer:"${path} must be an integer"},mt={min:"${path} field must be later than ${min}",max:"${path} field must be at earlier than ${max}"},bt={noUnknown:"${path} field has unspecified keys: ${unknown}"};Object.assign(Object.create(null),{mixed:dt,string:{length:"${path} must be exactly ${length} characters",min:"${path} must be at least ${min} characters",max:"${path} must be at most ${max} characters",matches:'${path} must match the following: "${regex}"',email:"${path} must be a valid email",url:"${path} must be a valid URL",uuid:"${path} must be a valid UUID",trim:"${path} must be a trimmed string",lowercase:"${path} must be a lowercase string",uppercase:"${path} must be a upper case string"},number:ft,date:mt,object:bt,array:{min:"${path} field must have at least ${min} items",max:"${path} field must have less than or equal to ${max} items",length:"${path} must have ${length} items"},boolean:{isValue:"${path} field must be ${value}"}});var ht=r(177),yt=r.n(ht),vt=e=>e&&e.__isYupSchema__;function Ot(e){return null==e?[]:[].concat(e)}function gt(){return(gt=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}let jt=/\$\{\s*(\w+)\s*\}/g;class wt extends Error{static formatError(e,t){const r=t.label||t.path||"this";return r!==t.path&&(t=gt({},t,{path:r})),"string"==typeof e?e.replace(jt,(e,r)=>pt(t[r])):"function"==typeof e?e(t):e}static isError(e){return e&&"ValidationError"===e.name}constructor(e,t,r,n){super(),this.value=void 0,this.path=void 0,this.type=void 0,this.errors=void 0,this.params=void 0,this.inner=void 0,this.name="ValidationError",this.value=t,this.path=r,this.type=n,this.errors=[],this.inner=[],Ot(e).forEach(e=>{wt.isError(e)?(this.errors.push(...e.errors),this.inner=this.inner.concat(e.inner.length?e.inner:e)):this.errors.push(e)}),this.message=this.errors.length>1?this.errors.length+" errors occurred":this.errors[0],Error.captureStackTrace&&Error.captureStackTrace(this,wt)}}function _t(e,t){let{endEarly:r,tests:n,args:a,value:i,errors:s,sort:o,path:c}=e,l=(e=>{let t=!1;return(...r)=>{t||(t=!0,e(...r))}})(t),u=n.length;const p=[];if(s=s||[],!u)return s.length?l(new wt(s,i,c)):l(null,i);for(let e=0;e<n.length;e++)(0,n[e])(a,(function(e){if(e){if(!wt.isError(e))return l(e,i);if(r)return e.value=i,l(e,i);p.push(e)}if(--u<=0){if(p.length&&(o&&p.sort(o),s.length&&p.push(...s),s=p),s.length)return void l(new wt(s,i,c),i);l(null,i)}}))}var Et=r(204),St=r.n(Et),xt=r(165);class Tt{constructor(e,t={}){if(this.key=void 0,this.isContext=void 0,this.isValue=void 0,this.isSibling=void 0,this.path=void 0,this.getter=void 0,this.map=void 0,"string"!=typeof e)throw new TypeError("ref must be a string, got: "+e);if(this.key=e.trim(),""===e)throw new TypeError("ref must be a non-empty string");this.isContext="$"===this.key[0],this.isValue="."===this.key[0],this.isSibling=!this.isContext&&!this.isValue;let r=this.isContext?"$":this.isValue?".":"";this.path=this.key.slice(r.length),this.getter=this.path&&Object(xt.getter)(this.path,!0),this.map=t.map}getValue(e,t,r){let n=this.isContext?r:this.isValue?e:t;return this.getter&&(n=this.getter(n||{})),this.map&&(n=this.map(n)),n}cast(e,t){return this.getValue(e,null==t?void 0:t.parent,null==t?void 0:t.context)}resolve(){return this}describe(){return{type:"ref",key:this.key}}toString(){return`Ref(${this.key})`}static isRef(e){return e&&e.__isYupRef}}function kt(){return(kt=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function $t(e){function t(t,r){let{value:n,path:a="",label:i,options:s,originalValue:o,sync:c}=t,l=function(e,t){if(null==e)return{};var r,n,a={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(a[r]=e[r]);return a}(t,["value","path","label","options","originalValue","sync"]);const{name:u,test:p,params:d,message:f}=e;let{parent:m,context:b}=s;function h(e){return Tt.isRef(e)?e.getValue(n,m,b):e}function y(e={}){const t=St()(kt({value:n,originalValue:o,label:i,path:e.path||a},d,e.params),h),r=new wt(wt.formatError(e.message||f,t),n,t.path,e.type||u);return r.params=t,r}let v,O=kt({path:a,parent:m,type:u,createError:y,resolve:h,options:s,originalValue:o},l);if(c){try{var g;if(v=p.call(O,n,O),"function"==typeof(null==(g=v)?void 0:g.then))throw new Error(`Validation test of type: "${O.type}" returned a Promise during a synchronous validate. This test will finish after the validate call has returned`)}catch(e){return void r(e)}wt.isError(v)?r(v):v?r(null,v):r(y())}else try{Promise.resolve(p.call(O,n,O)).then(e=>{wt.isError(e)?r(e):e?r(null,e):r(y())}).catch(r)}catch(e){r(e)}}return t.OPTIONS=e,t}function Rt(e,t,r,n=r){let a,i,s;return t?(Object(xt.forEach)(t,(o,c,l)=>{let u=c?(e=>e.substr(0,e.length-1).substr(1))(o):o;if((e=e.resolve({context:n,parent:a,value:r})).innerType){let n=l?parseInt(u,10):0;if(r&&n>=r.length)throw new Error(`Yup.reach cannot resolve an array item at index: ${o}, in the path: ${t}. because there is no value at that index. `);a=r,r=r&&r[n],e=e.innerType}if(!l){if(!e.fields||!e.fields[u])throw new Error(`The schema does not contain the path: ${t}. (failed at: ${s} which is a type: "${e._type}")`);a=r,r=r&&r[u],e=e.fields[u]}i=u,s=c?"["+o+"]":"."+o}),{schema:e,parent:a,parentPath:i}):{parent:a,parentPath:t,schema:e}}Tt.prototype.__isYupRef=!0;class Pt{constructor(){this.list=void 0,this.refs=void 0,this.list=new Set,this.refs=new Map}get size(){return this.list.size+this.refs.size}describe(){const e=[];for(const t of this.list)e.push(t);for(const[,t]of this.refs)e.push(t.describe());return e}toArray(){return Array.from(this.list).concat(Array.from(this.refs.values()))}resolveAll(e){return this.toArray().reduce((t,r)=>t.concat(Tt.isRef(r)?e(r):r),[])}add(e){Tt.isRef(e)?this.refs.set(e.key,e):this.list.add(e)}delete(e){Tt.isRef(e)?this.refs.delete(e.key):this.list.delete(e)}clone(){const e=new Pt;return e.list=new Set(this.list),e.refs=new Map(this.refs),e}merge(e,t){const r=this.clone();return e.list.forEach(e=>r.add(e)),e.refs.forEach(e=>r.add(e)),t.list.forEach(e=>r.delete(e)),t.refs.forEach(e=>r.delete(e)),r}}function At(){return(At=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}class Nt{constructor(e){this.deps=[],this.tests=void 0,this.transforms=void 0,this.conditions=[],this._mutate=void 0,this._typeError=void 0,this._whitelist=new Pt,this._blacklist=new Pt,this.exclusiveTests=Object.create(null),this.spec=void 0,this.tests=[],this.transforms=[],this.withMutation(()=>{this.typeError(dt.notType)}),this.type=(null==e?void 0:e.type)||"mixed",this.spec=At({strip:!1,strict:!1,abortEarly:!0,recursive:!0,nullable:!1,presence:"optional"},null==e?void 0:e.spec)}get _type(){return this.type}_typeCheck(e){return!0}clone(e){if(this._mutate)return e&&Object.assign(this.spec,e),this;const t=Object.create(Object.getPrototypeOf(this));return t.type=this.type,t._typeError=this._typeError,t._whitelistError=this._whitelistError,t._blacklistError=this._blacklistError,t._whitelist=this._whitelist.clone(),t._blacklist=this._blacklist.clone(),t.exclusiveTests=At({},this.exclusiveTests),t.deps=[...this.deps],t.conditions=[...this.conditions],t.tests=[...this.tests],t.transforms=[...this.transforms],t.spec=at(At({},this.spec,e)),t}label(e){let t=this.clone();return t.spec.label=e,t}meta(...e){if(0===e.length)return this.spec.meta;let t=this.clone();return t.spec.meta=Object.assign(t.spec.meta||{},e[0]),t}withMutation(e){let t=this._mutate;this._mutate=!0;let r=e(this);return this._mutate=t,r}concat(e){if(!e||e===this)return this;if(e.type!==this.type&&"mixed"!==this.type)throw new TypeError(`You cannot \`concat()\` schema's of different types: ${this.type} and ${e.type}`);let t=e.clone();const r=At({},this.spec,t.spec);return t.spec=r,t._typeError||(t._typeError=this._typeError),t._whitelistError||(t._whitelistError=this._whitelistError),t._blacklistError||(t._blacklistError=this._blacklistError),t._whitelist=this._whitelist.merge(e._whitelist,e._blacklist),t._blacklist=this._blacklist.merge(e._blacklist,e._whitelist),t.tests=this.tests,t.exclusiveTests=this.exclusiveTests,t.withMutation(t=>{e.tests.forEach(e=>{t.test(e.OPTIONS)})}),t.transforms=[...this.transforms,...t.transforms],t}isType(e){return!(!this.spec.nullable||null!==e)||this._typeCheck(e)}resolve(e){let t=this;if(t.conditions.length){let r=t.conditions;t=t.clone(),t.conditions=[],t=r.reduce((t,r)=>r.resolve(t,e),t),t=t.resolve(e)}return t}cast(e,t={}){let r=this.resolve(At({value:e},t)),n=r._cast(e,t);if(void 0!==e&&!1!==t.assert&&!0!==r.isType(n)){let a=pt(e),i=pt(n);throw new TypeError(`The value of ${t.path||"field"} could not be cast to a value that satisfies the schema type: "${r._type}". \n\nattempted value: ${a} \n`+(i!==a?"result of cast: "+i:""))}return n}_cast(e,t){let r=void 0===e?e:this.transforms.reduce((t,r)=>r.call(this,t,e,this),e);return void 0===r&&(r=this.getDefault()),r}_validate(e,t={},r){let{sync:n,path:a,from:i=[],originalValue:s=e,strict:o=this.spec.strict,abortEarly:c=this.spec.abortEarly}=t,l=e;o||(l=this._cast(l,At({assert:!1},t)));let u={value:l,path:a,options:t,originalValue:s,schema:this,label:this.spec.label,sync:n,from:i},p=[];this._typeError&&p.push(this._typeError);let d=[];this._whitelistError&&d.push(this._whitelistError),this._blacklistError&&d.push(this._blacklistError),_t({args:u,value:l,path:a,sync:n,tests:p,endEarly:c},e=>{e?r(e,l):_t({tests:this.tests.concat(d),args:u,path:a,sync:n,value:l,endEarly:c},r)})}validate(e,t,r){let n=this.resolve(At({},t,{value:e}));return"function"==typeof r?n._validate(e,t,r):new Promise((r,a)=>n._validate(e,t,(e,t)=>{e?a(e):r(t)}))}validateSync(e,t){let r;return this.resolve(At({},t,{value:e}))._validate(e,At({},t,{sync:!0}),(e,t)=>{if(e)throw e;r=t}),r}isValid(e,t){return this.validate(e,t).then(()=>!0,e=>{if(wt.isError(e))return!1;throw e})}isValidSync(e,t){try{return this.validateSync(e,t),!0}catch(e){if(wt.isError(e))return!1;throw e}}_getDefault(){let e=this.spec.default;return null==e?e:"function"==typeof e?e.call(this):at(e)}getDefault(e){return this.resolve(e||{})._getDefault()}default(e){return 0===arguments.length?this._getDefault():this.clone({default:e})}strict(e=!0){let t=this.clone();return t.spec.strict=e,t}_isPresent(e){return null!=e}defined(e=dt.defined){return this.test({message:e,name:"defined",exclusive:!0,test:e=>void 0!==e})}required(e=dt.required){return this.clone({presence:"required"}).withMutation(t=>t.test({message:e,name:"required",exclusive:!0,test(e){return this.schema._isPresent(e)}}))}notRequired(){let e=this.clone({presence:"optional"});return e.tests=e.tests.filter(e=>"required"!==e.OPTIONS.name),e}nullable(e=!0){return this.clone({nullable:!1!==e})}transform(e){let t=this.clone();return t.transforms.push(e),t}test(...e){let t;if(t=1===e.length?"function"==typeof e[0]?{test:e[0]}:e[0]:2===e.length?{name:e[0],test:e[1]}:{name:e[0],message:e[1],test:e[2]},void 0===t.message&&(t.message=dt.default),"function"!=typeof t.test)throw new TypeError("`test` is a required parameters");let r=this.clone(),n=$t(t),a=t.exclusive||t.name&&!0===r.exclusiveTests[t.name];if(t.exclusive&&!t.name)throw new TypeError("Exclusive tests must provide a unique `name` identifying the test");return t.name&&(r.exclusiveTests[t.name]=!!t.exclusive),r.tests=r.tests.filter(e=>{if(e.OPTIONS.name===t.name){if(a)return!1;if(e.OPTIONS.test===n.OPTIONS.test)return!1}return!0}),r.tests.push(n),r}when(e,t){Array.isArray(e)||"string"==typeof e||(t=e,e=".");let r=this.clone(),n=Ot(e).map(e=>new Tt(e));return n.forEach(e=>{e.isSibling&&r.deps.push(e.key)}),r.conditions.push(new class{constructor(e,t){if(this.fn=void 0,this.refs=e,this.refs=e,"function"==typeof t)return void(this.fn=t);if(!yt()(t,"is"))throw new TypeError("`is:` is required for `when()` conditions");if(!t.then&&!t.otherwise)throw new TypeError("either `then:` or `otherwise:` is required for `when()` conditions");let{is:r,then:n,otherwise:a}=t,i="function"==typeof r?r:(...e)=>e.every(e=>e===r);this.fn=function(...e){let t=e.pop(),r=e.pop(),s=i(...e)?n:a;if(s)return"function"==typeof s?s(r):r.concat(s.resolve(t))}}resolve(e,t){let r=this.refs.map(e=>e.getValue(null==t?void 0:t.value,null==t?void 0:t.parent,null==t?void 0:t.context)),n=this.fn.apply(e,r.concat(e,t));if(void 0===n||n===e)return e;if(!vt(n))throw new TypeError("conditions must return a schema object");return n.resolve(t)}}(n,t)),r}typeError(e){let t=this.clone();return t._typeError=$t({message:e,name:"typeError",test(e){return!(void 0!==e&&!this.schema.isType(e))||this.createError({params:{type:this.schema._type}})}}),t}oneOf(e,t=dt.oneOf){let r=this.clone();return e.forEach(e=>{r._whitelist.add(e),r._blacklist.delete(e)}),r._whitelistError=$t({message:t,name:"oneOf",test(e){if(void 0===e)return!0;let t=this.schema._whitelist,r=t.resolveAll(this.resolve);return!!r.includes(e)||this.createError({params:{values:t.toArray().join(", "),resolved:r}})}}),r}notOneOf(e,t=dt.notOneOf){let r=this.clone();return e.forEach(e=>{r._blacklist.add(e),r._whitelist.delete(e)}),r._blacklistError=$t({message:t,name:"notOneOf",test(e){let t=this.schema._blacklist,r=t.resolveAll(this.resolve);return!r.includes(e)||this.createError({params:{values:t.toArray().join(", "),resolved:r}})}}),r}strip(e=!0){let t=this.clone();return t.spec.strip=e,t}describe(){const e=this.clone(),{label:t,meta:r}=e.spec;return{meta:r,label:t,type:e.type,oneOf:e._whitelist.describe(),notOneOf:e._blacklist.describe(),tests:e.tests.map(e=>({name:e.OPTIONS.name,params:e.OPTIONS.params})).filter((e,t,r)=>r.findIndex(t=>t.name===e.name)===t)}}}Nt.prototype.__isYupSchema__=!0;for(const e of["validate","validateSync"])Nt.prototype[e+"At"]=function(t,r,n={}){const{parent:a,parentPath:i,schema:s}=Rt(this,t,r,n.context);return s[e](a&&a[i],At({},n,{parent:a,path:t}))};for(const e of["equals","is"])Nt.prototype[e]=Nt.prototype.oneOf;for(const e of["not","nope"])Nt.prototype[e]=Nt.prototype.notOneOf;Nt.prototype.optional=Nt.prototype.notRequired;Nt.prototype;var It=e=>null==e;function Mt(){return new Ct}({}).toString();class Ct extends Nt{constructor(){super({type:"number"}),this.withMutation(()=>{this.transform((function(e){let t=e;if("string"==typeof t){if(t=t.replace(/\s/g,""),""===t)return NaN;t=+t}return this.isType(t)?t:parseFloat(t)}))})}_typeCheck(e){return e instanceof Number&&(e=e.valueOf()),"number"==typeof e&&!(e=>e!=+e)(e)}min(e,t=ft.min){return this.test({message:t,name:"min",exclusive:!0,params:{min:e},test(t){return It(t)||t>=this.resolve(e)}})}max(e,t=ft.max){return this.test({message:t,name:"max",exclusive:!0,params:{max:e},test(t){return It(t)||t<=this.resolve(e)}})}lessThan(e,t=ft.lessThan){return this.test({message:t,name:"max",exclusive:!0,params:{less:e},test(t){return It(t)||t<this.resolve(e)}})}moreThan(e,t=ft.moreThan){return this.test({message:t,name:"min",exclusive:!0,params:{more:e},test(t){return It(t)||t>this.resolve(e)}})}positive(e=ft.positive){return this.moreThan(0,e)}negative(e=ft.negative){return this.lessThan(0,e)}integer(e=ft.integer){return this.test({name:"integer",message:e,test:e=>It(e)||Number.isInteger(e)})}truncate(){return this.transform(e=>It(e)?e:0|e)}round(e){var t;let r=["ceil","floor","round","trunc"];if("trunc"===(e=(null==(t=e)?void 0:t.toLowerCase())||"round"))return this.truncate();if(-1===r.indexOf(e.toLowerCase()))throw new TypeError("Only valid options for round() are: "+r.join(", "));return this.transform(t=>It(t)?t:Math[e](t))}}Mt.prototype=Ct.prototype;var Lt=/^(\d{4}|[+\-]\d{6})(?:-?(\d{2})(?:-?(\d{2}))?)?(?:[ T]?(\d{2}):?(\d{2})(?::?(\d{2})(?:[,\.](\d{1,}))?)?(?:(Z)|([+\-])(\d{2})(?::?(\d{2}))?)?)?$/;let Ft=new Date("");function Vt(){return new Dt}class Dt extends Nt{constructor(){super({type:"date"}),this.withMutation(()=>{this.transform((function(e){return this.isType(e)?e:(e=function(e){var t,r,n=[1,4,5,6,7,10,11],a=0;if(r=Lt.exec(e)){for(var i,s=0;i=n[s];++s)r[i]=+r[i]||0;r[2]=(+r[2]||1)-1,r[3]=+r[3]||1,r[7]=r[7]?String(r[7]).substr(0,3):0,void 0!==r[8]&&""!==r[8]||void 0!==r[9]&&""!==r[9]?("Z"!==r[8]&&void 0!==r[9]&&(a=60*r[10]+r[11],"+"===r[9]&&(a=0-a)),t=Date.UTC(r[1],r[2],r[3],r[4],r[5]+a,r[6],r[7])):t=+new Date(r[1],r[2],r[3],r[4],r[5],r[6],r[7])}else t=Date.parse?Date.parse(e):NaN;return t}(e),isNaN(e)?Ft:new Date(e))}))})}_typeCheck(e){return t=e,"[object Date]"===Object.prototype.toString.call(t)&&!isNaN(e.getTime());var t}prepareParam(e,t){let r;if(Tt.isRef(e))r=e;else{let n=this.cast(e);if(!this._typeCheck(n))throw new TypeError(`\`${t}\` must be a Date or a value that can be \`cast()\` to a Date`);r=n}return r}min(e,t=mt.min){let r=this.prepareParam(e,"min");return this.test({message:t,name:"min",exclusive:!0,params:{min:e},test(e){return It(e)||e>=this.resolve(r)}})}max(e,t=mt.max){let r=this.prepareParam(e,"max");return this.test({message:t,name:"max",exclusive:!0,params:{max:e},test(e){return It(e)||e<=this.resolve(r)}})}}Dt.INVALID_DATE=Ft,Vt.prototype=Dt.prototype,Vt.INVALID_DATE=Ft;var Ut=r(217),qt=r.n(Ut),Bt=r(231),zt=r.n(Bt),Ht=r(232),Yt=r.n(Ht),Wt=r(233),Kt=r.n(Wt);function Gt(e,t){let r=1/0;return e.some((e,n)=>{var a;if(-1!==(null==(a=t.path)?void 0:a.indexOf(e)))return r=n,!0}),r}function Xt(e){return(t,r)=>Gt(e,t)-Gt(e,r)}function Jt(){return(Jt=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}let Qt=e=>"[object Object]"===Object.prototype.toString.call(e);const Zt=Xt([]);class er extends Nt{constructor(e){super({type:"object"}),this.fields=Object.create(null),this._sortErrors=Zt,this._nodes=[],this._excludedEdges=[],this.withMutation(()=>{this.transform((function(e){if("string"==typeof e)try{e=JSON.parse(e)}catch(t){e=null}return this.isType(e)?e:null})),e&&this.shape(e)})}_typeCheck(e){return Qt(e)||"function"==typeof e}_cast(e,t={}){var r;let n=super._cast(e,t);if(void 0===n)return this.getDefault();if(!this._typeCheck(n))return n;let a=this.fields,i=null!=(r=t.stripUnknown)?r:this.spec.noUnknown,s=this._nodes.concat(Object.keys(n).filter(e=>-1===this._nodes.indexOf(e))),o={},c=Jt({},t,{parent:o,__validating:t.__validating||!1}),l=!1;for(const e of s){let r=a[e],s=yt()(n,e);if(r){let a,i=n[e];c.path=(t.path?t.path+".":"")+e,r=r.resolve({value:i,context:t.context,parent:o});let s="spec"in r?r.spec:void 0,u=null==s?void 0:s.strict;if(null==s?void 0:s.strip){l=l||e in n;continue}a=t.__validating&&u?n[e]:r.cast(n[e],c),void 0!==a&&(o[e]=a)}else s&&!i&&(o[e]=n[e]);o[e]!==n[e]&&(l=!0)}return l?o:n}_validate(e,t={},r){let n=[],{sync:a,from:i=[],originalValue:s=e,abortEarly:o=this.spec.abortEarly,recursive:c=this.spec.recursive}=t;i=[{schema:this,value:s},...i],t.__validating=!0,t.originalValue=s,t.from=i,super._validate(e,t,(e,l)=>{if(e){if(!wt.isError(e)||o)return void r(e,l);n.push(e)}if(!c||!Qt(l))return void r(n[0]||null,l);s=s||l;let u=this._nodes.map(e=>(r,n)=>{let a=-1===e.indexOf(".")?(t.path?t.path+".":"")+e:`${t.path||""}["${e}"]`,o=this.fields[e];o&&"validate"in o?o.validate(l[e],Jt({},t,{path:a,from:i,strict:!0,parent:l,originalValue:s[e]}),n):n(null)});_t({sync:a,tests:u,value:l,errors:n,endEarly:o,sort:this._sortErrors,path:t.path},r)})}clone(e){const t=super.clone(e);return t.fields=Jt({},this.fields),t._nodes=this._nodes,t._excludedEdges=this._excludedEdges,t._sortErrors=this._sortErrors,t}concat(e){let t=super.concat(e),r=t.fields;for(let[e,t]of Object.entries(this.fields)){const n=r[e];void 0===n?r[e]=t:n instanceof Nt&&t instanceof Nt&&(r[e]=t.concat(n))}return t.withMutation(()=>t.shape(r,this._excludedEdges))}getDefaultFromShape(){let e={};return this._nodes.forEach(t=>{const r=this.fields[t];e[t]="default"in r?r.getDefault():void 0}),e}_getDefault(){return"default"in this.spec?super._getDefault():this._nodes.length?this.getDefaultFromShape():void 0}shape(e,t=[]){let r=this.clone(),n=Object.assign(r.fields,e);return r.fields=n,r._sortErrors=Xt(Object.keys(n)),t.length&&(Array.isArray(t[0])||(t=[t]),r._excludedEdges=[...r._excludedEdges,...t]),r._nodes=function(e,t=[]){let r=[],n=new Set,a=new Set(t.map(([e,t])=>`${e}-${t}`));function i(e,t){let i=Object(xt.split)(e)[0];n.add(i),a.has(`${t}-${i}`)||r.push([t,i])}for(const t in e)if(yt()(e,t)){let r=e[t];n.add(t),Tt.isRef(r)&&r.isSibling?i(r.path,t):vt(r)&&"deps"in r&&r.deps.forEach(e=>i(e,t))}return Kt.a.array(Array.from(n),r).reverse()}(n,r._excludedEdges),r}pick(e){const t={};for(const r of e)this.fields[r]&&(t[r]=this.fields[r]);return this.clone().withMutation(e=>(e.fields={},e.shape(t)))}omit(e){const t=this.clone(),r=t.fields;t.fields={};for(const t of e)delete r[t];return t.withMutation(()=>t.shape(r))}from(e,t,r){let n=Object(xt.getter)(e,!0);return this.transform(a=>{if(null==a)return a;let i=a;return yt()(a,e)&&(i=Jt({},a),r||delete i[e],i[t]=n(a)),i})}noUnknown(e=!0,t=bt.noUnknown){"string"==typeof e&&(t=e,e=!0);let r=this.test({name:"noUnknown",exclusive:!0,message:t,test(t){if(null==t)return!0;const r=function(e,t){let r=Object.keys(e.fields);return Object.keys(t).filter(e=>-1===r.indexOf(e))}(this.schema,t);return!e||0===r.length||this.createError({params:{unknown:r.join(", ")}})}});return r.spec.noUnknown=e,r}unknown(e=!0,t=bt.noUnknown){return this.noUnknown(!e,t)}transformKeys(e){return this.transform(t=>t&&Yt()(t,(t,r)=>e(r)))}camelCase(){return this.transformKeys(zt.a)}snakeCase(){return this.transformKeys(qt.a)}constantCase(){return this.transformKeys(e=>qt()(e).toUpperCase())}describe(){let e=super.describe();return e.fields=St()(this.fields,e=>e.describe()),e}}function tr(e){return new er(e)}tr.prototype=er.prototype;const rr="@yoast/settings";!function(e,t,r){if(!e||!vt(e.prototype))throw new TypeError("You must provide a yup schema constructor function");e.prototype[t]=r}(Mt,"isMediaTypeImage",(function(){return this.test("isMediaTypeImage",Object(o.__)("The selected media type is not valid. Supported types are: JPG, PNG, WEBP and GIF.","wordpress-seo"),e=>{if(!e)return!0;const t=Object(s.select)(rr).selectMediaById(e);return"image"===(null==t?void 0:t.type)})}));const nr=e=>{const t=Object(ee.get)(e,"wpseo_titles",{});return tr().shape({wpseo_social:tr().shape({og_default_image_id:Mt().isMediaTypeImage()}),wpseo_titles:tr().shape({open_graph_frontpage_image_id:Mt().isMediaTypeImage(),...Object(ee.reduce)(t,(e,t,r)=>Object(ee.includes)(r,"social-image-id")?{...e,[r]:Mt().isMediaTypeImage()}:e,{})})})},ar=e=>{let{name:t,label:r,route:n,hasArchive:a}=e;return{["title-"+t]:{route:"/post-type/"+n,routeLabel:r,fieldId:"field-wpseo_titles-title-"+t,fieldLabel:Object(o.__)("SEO title","wordpress-seo")},["metadesc-"+t]:{route:"/post-type/"+n,routeLabel:r,fieldId:"field-wpseo_titles-metadesc-"+t,fieldLabel:Object(o.__)("Meta description","wordpress-seo")},["noindex-"+t]:{route:"/post-type/"+n,routeLabel:r,fieldId:"field-wpseo_titles-noindex-"+t,fieldLabel:Object(o.sprintf)(// translators: %1$s expands to the post type plural, e.g. Posts.
|
||
Object(o.__)("Show %1$s in search results","wordpress-seo"),r)},["display-metabox-pt-"+t]:{route:"/post-type/"+n,routeLabel:r,fieldId:"field-wpseo_titles-display-metabox-pt-"+t,fieldLabel:Object(o.sprintf)(
|
||
/* translators: %1$s expands to Yoast SEO. %2$s expands to the post type plural, e.g. Posts. */
|
||
Object(o.__)("Enable %1$s for %2$s","wordpress-seo"),"Yoast SEO",r)},["schema-page-type-"+t]:{route:"/post-type/"+n,routeLabel:r,fieldId:"field-wpseo_titles-schema-page-type-"+t,fieldLabel:Object(o.__)("Page type","wordpress-seo")},["schema-article-type-"+t]:{route:"/post-type/"+n,routeLabel:r,fieldId:"field-wpseo_titles-schema-article-type-"+t,fieldLabel:Object(o.__)("Article type","wordpress-seo")},..."attachment"!==t&&{["social-title-"+t]:{route:"/post-type/"+n,routeLabel:r,fieldId:"field-wpseo_titles-social-title-"+t,fieldLabel:Object(o.__)("Social title","wordpress-seo")},["social-description-"+t]:{route:"/post-type/"+n,routeLabel:r,fieldId:"field-wpseo_titles-social-description-"+t,fieldLabel:Object(o.__)("Social description","wordpress-seo")},["social-image-url-"+t]:{route:"/post-type/"+n,routeLabel:r,fieldId:`button-wpseo_titles-social-image-${t}-preview`,fieldLabel:Object(o.__)("Social image","wordpress-seo")},["social-image-id-"+t]:{route:"/post-type/"+n,routeLabel:r,fieldId:`button-wpseo_titles-social-image-${t}-preview`,fieldLabel:Object(o.__)("Social image","wordpress-seo")}},...a&&{["title-ptarchive-"+t]:{route:"/post-type/"+n,routeLabel:r,fieldId:"field-wpseo_titles-title-ptarchive-"+t,fieldLabel:Object(o.__)("Archive SEO title","wordpress-seo")},["metadesc-ptarchive-"+t]:{route:"/post-type/"+n,routeLabel:r,fieldId:"field-wpseo_titles-metadesc-ptarchive-"+t,fieldLabel:Object(o.__)("Archive meta description","wordpress-seo")},["bctitle-ptarchive-"+t]:{route:"/post-type/"+n,routeLabel:r,fieldId:"field-wpseo_titles-bctitle-ptarchive-"+t,fieldLabel:Object(o.__)("Archive breadcrumbs title","wordpress-seo")},["noindex-ptarchive-"+t]:{route:"/post-type/"+n,routeLabel:r,fieldId:"field-wpseo_titles-noindex-ptarchive-"+t,fieldLabel:Object(o.sprintf)(// translators: %1$s expands to the post type plural, e.g. Posts.
|
||
Object(o.__)("Show the archive for %1$s in search results","wordpress-seo"),r)},["social-title-ptarchive-"+t]:{route:"/post-type/"+n,routeLabel:r,fieldId:"field-wpseo_titles-social-title-ptarchive-"+t,fieldLabel:Object(o.__)("Archive social title","wordpress-seo")},["social-description-ptarchive-"+t]:{route:"/post-type/"+n,routeLabel:r,fieldId:"field-wpseo_titles-social-description-ptarchive-"+t,fieldLabel:Object(o.__)("Archive social description","wordpress-seo")},["social-image-url-ptarchive-"+t]:{route:"/post-type/"+n,routeLabel:r,fieldId:`button-wpseo_titles-social-image-ptarchive-${t}-preview`,fieldLabel:Object(o.__)("Archive social image","wordpress-seo")},["social-image-id-ptarchive-"+t]:{route:"/post-type/"+n,routeLabel:r,fieldId:`button-wpseo_titles-social-image-ptarchive-${t}-preview`,fieldLabel:Object(o.__)("Archive social image","wordpress-seo")}}}},ir=e=>{let{name:t,label:r,route:n}=e;return{["title-tax-"+t]:{route:"/taxonomy/"+n,routeLabel:r,fieldId:"field-wpseo_titles-title-tax-"+t,fieldLabel:Object(o.__)("SEO title","wordpress-seo")},["metadesc-tax-"+t]:{route:"/taxonomy/"+n,routeLabel:r,fieldId:"field-wpseo_titles-metadesc-tax-"+t,fieldLabel:Object(o.__)("Meta description","wordpress-seo")},["display-metabox-tax-"+t]:{route:"/taxonomy/"+n,routeLabel:r,fieldId:"field-wpseo_titles-display-metabox-tax-"+t,fieldLabel:Object(o.sprintf)(
|
||
/* translators: %1$s expands to Yoast SEO. %2$s expands to the taxonomy plural, e.g. Categories. */
|
||
Object(o.__)("Enable %1$s for %2$s","wordpress-seo"),"Yoast SEO",r)},["display-metabox-tax-"+t]:{route:"/taxonomy/"+n,routeLabel:r,fieldId:"field-wpseo_titles-display-metabox-tax-"+t,fieldLabel:Object(o.sprintf)(
|
||
/* translators: %1$s expands to Yoast SEO. %2$s expands to the taxonomy plural, e.g. Categories. */
|
||
Object(o.__)("Enable %1$s for %2$s","wordpress-seo"),"Yoast SEO",r)},["noindex-tax-"+t]:{route:"/taxonomy/"+n,routeLabel:r,fieldId:"field-wpseo_titles-noindex-tax-"+t,fieldLabel:Object(o.sprintf)(// translators: %1$s expands to the taxonomy plural, e.g. Categories.
|
||
Object(o.__)("Show %1$s in search results","wordpress-seo"),r)},["social-title-tax-"+t]:{route:"/taxonomy/"+n,routeLabel:r,fieldId:"field-wpseo_titles-social-title-tax-"+t,fieldLabel:Object(o.__)("Social title","wordpress-seo")},["social-description-tax-"+t]:{route:"/taxonomy/"+n,routeLabel:r,fieldId:"field-wpseo_titles-social-description-tax-"+t,fieldLabel:Object(o.__)("Social description","wordpress-seo")},["social-image-url-tax-"+t]:{route:"/taxonomy/"+n,routeLabel:r,fieldId:`button-wpseo_titles-social-image-tax-${t}-preview`,fieldLabel:Object(o.__)("Social image","wordpress-seo")},["social-image-id-tax-"+t]:{route:"/taxonomy/"+n,routeLabel:r,fieldId:`button-wpseo_titles-social-image-tax-${t}-preview`,fieldLabel:Object(o.__)("Social image","wordpress-seo")}}},sr=(e,t,r)=>({wpseo:{},wpseo_titles:{open_graph_frontpage_image_id:{route:"/homepage",routeLabel:Object(o.__)("Homepage","wordpress-seo"),fieldId:"button-wpseo_titles-open_graph_frontpage_image-preview",fieldLabel:Object(o.__)("Social image","wordpress-seo")},open_graph_frontpage_image:{route:"/homepage",routeLabel:Object(o.__)("Homepage","wordpress-seo"),fieldId:"button-wpseo_titles-open_graph_frontpage_image-preview",fieldLabel:Object(o.__)("Social image","wordpress-seo")},...Object(ee.reduce)(t,(e,t)=>({...e,...ar(t)}),{}),...Object(ee.reduce)(r,(e,t)=>({...e,...ir(t)}),{})},wpseo_social:{og_default_image_id:{route:"/site-defaults",routeLabel:Object(o.__)("Site defaults","wordpress-seo"),fieldId:"button-wpseo_social-og_default_image-preview",fieldLabel:Object(o.__)("Site image","wordpress-seo")},og_default_image_url:{route:"/site-defaults",routeLabel:Object(o.__)("Site defaults","wordpress-seo"),fieldId:"button-wpseo_social-og_default_image-preview",fieldLabel:Object(o.__)("Site image","wordpress-seo")}}}),or=()=>Object(ee.get)(window,"wpseoScriptData.linkParams",{}),cr=Object(Ze.createSlice)({name:"linkParams",initialState:or(),reducers:{}}),lr={selectLinkParam:function(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return Object(ee.get)(e,"linkParams."+t,r)},selectLinkParams:e=>Object(ee.get)(e,"linkParams",{})};lr.selectLink=Object(et.a)([lr.selectLinkParams,(e,t)=>t],(e,t)=>function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};try{const r=new URL(e);return Object(ee.forEach)(t,(e,t)=>r.searchParams.append(t,e)),r.toString()}catch(t){return e}}(t,e));const ur=cr.actions;cr.reducer;const pr=Object(Ze.createSlice)({name:"notifications",initialState:{},reducers:{addNotification:{reducer:(e,t)=>{let{payload:r}=t;e[r.id]={id:r.id,variant:r.variant,size:r.size,title:r.title,description:r.description}},prepare:e=>{let{id:t,variant:r="info",size:n="default",title:a,description:i}=e;return{payload:{id:t||Object(Ze.nanoid)(),variant:r,size:n,title:a,description:i}}}},removeNotification:(e,t)=>{let{payload:r}=t;return Object(ee.omit)(e,r)}}}),dr={selectNotifications:e=>Object(ee.get)(e,"notifications",{}),selectNotification:(e,t)=>Object(ee.get)(e,"notifications."+t,null)},fr=pr.actions;var mr=pr.reducer;const br=()=>Object(ee.get)(window,"wpseoScriptData.postTypes",{}),hr=Object(Ze.createSlice)({name:"postTypes",initialState:br(),reducers:{}}),yr={selectPostType:function(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return Object(ee.get)(e,"postTypes."+t,r)},selectPostTypes:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;const r=Object(ee.get)(e,"postTypes",{});return t?Object(ee.pick)(r,t):r}},vr=hr.actions;var Or=hr.reducer;const gr=()=>Object(ee.get)(window,"wpseoScriptData.preferences",{}),jr=Object(Ze.createSlice)({name:"preferences",initialState:gr(),reducers:{}}),wr={selectPreference:function(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return Object(ee.get)(e,"preferences."+t,r)},selectPreferences:e=>Object(ee.get)(e,"preferences",{})},_r=jr.actions;var Er=jr.reducer;const Sr=()=>({recommended:Object(ee.get)(window,"wpseoScriptData.replacementVariables.recommended",{}),shared:Object(ee.get)(window,"wpseoScriptData.replacementVariables.shared",[]),specific:Object(ee.get)(window,"wpseoScriptData.replacementVariables.specific",{}),variables:Object(ee.get)(window,"wpseoScriptData.replacementVariables.variables",[])}),xr=Object(Ze.createSlice)({name:"replacementVariables",initialState:Sr(),reducers:{}}),Tr={selectRecommendedReplacementVariables:e=>Object(ee.get)(e,"replacementVariables.recommended",{}),selectSharedReplacementVariables:e=>Object(ee.get)(e,"replacementVariables.shared",[]),selectSpecificReplacementVariables:e=>Object(ee.get)(e,"replacementVariables.specific",{}),selectReplacementVariables:e=>Object(ee.get)(e,"replacementVariables.variables",[])};Tr.selectSpecificReplacementVariablesFor=Object(et.a)([Tr.selectSharedReplacementVariables,Tr.selectSpecificReplacementVariables,(e,t)=>t,(e,t,r)=>r],(e,t,r,n)=>[...e,...Object(ee.get)(t,r,Object(ee.get)(t,n,[]))]),Tr.selectReplacementVariablesFor=Object(et.a)([Tr.selectReplacementVariables,Tr.selectSpecificReplacementVariablesFor],(e,t)=>Object(ee.filter)(e,e=>{let{name:r}=e;return Object(ee.includes)(t,r)})),Tr.selectRecommendedReplacementVariablesFor=Object(et.a)([Tr.selectRecommendedReplacementVariables,(e,t)=>t,(e,t,r)=>r],(e,t,r)=>Object(ee.get)(e,t,Object(ee.get)(e,r,[])));const kr=xr.actions;var $r=xr.reducer;const Rr=(e,t)=>{
|
||
// translators: %1$s expands to the schema type, e.g. "Web Page" or "Blog Post".
|
||
const r=Object(o.__)("%1$s (default)","wordpress-seo");return e.map(e=>{let{label:n,value:a}=e;return{value:a,label:a===t?Object(o.sprintf)(r,n):n}})},Pr=()=>({articleTypes:Object(ee.get)(window,"wpseoScriptData.schema.articleTypes",{}),articleTypeDefaults:Object(ee.get)(window,"wpseoScriptData.schema.articleTypeDefaults",{}),pageTypes:Object(ee.get)(window,"wpseoScriptData.schema.pageTypes",{}),pageTypeDefaults:Object(ee.get)(window,"wpseoScriptData.schema.pageTypeDefaults",{})}),Ar=Object(Ze.createSlice)({name:"schema",initialState:Pr(),reducers:{}}),Nr={selectSchema:e=>Object(ee.get)(e,"schema",{}),selectArticleTypes:e=>Object(ee.get)(e,"schema.articleTypes",{}),selectArticleTypeDefaults:e=>Object(ee.get)(e,"schema.articleTypeDefaults",{}),selectPageTypes:e=>Object(ee.get)(e,"schema.pageTypes",{}),selectPageTypeDefaults:e=>Object(ee.get)(e,"schema.pageTypeDefaults",{})};Nr.selectArticleTypeValues=Object(et.a)(Nr.selectArticleTypes,e=>Object(ee.values)(e)),Nr.selectArticleTypeDefault=Object(et.a)([Nr.selectArticleTypeDefaults,(e,t)=>t],(e,t)=>Object(ee.get)(e,t,"None")),Nr.selectArticleTypeValuesFor=Object(et.a)([Nr.selectArticleTypeValues,Nr.selectArticleTypeDefault],(e,t)=>Rr(e,t)),Nr.selectPageTypeValues=Object(et.a)(Nr.selectPageTypes,e=>Object(ee.values)(e)),Nr.selectPageTypeDefault=Object(et.a)([Nr.selectPageTypeDefaults,(e,t)=>t],(e,t)=>Object(ee.get)(e,t,"WebPage")),Nr.selectPageTypeValuesFor=Object(et.a)([Nr.selectPageTypeValues,Nr.selectPageTypeDefault],(e,t)=>Rr(e,t));const Ir=Ar.actions;var Mr=Ar.reducer;const Cr=()=>Object(ee.reduce)(Object(ee.get)(window,"wpseoScriptData.taxonomies",{}),(e,t,r)=>{let{postTypes:n,...a}=t;return{...e,[r]:{...a,postTypes:Object(ee.values)(n)}}},{}),Lr=Object(Ze.createSlice)({name:"taxonomies",initialState:Cr(),reducers:{}}),Fr={selectTaxonomy:function(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return Object(ee.get)(e,"taxonomies."+t,r)},selectAllTaxonomies:e=>Object(ee.get)(e,"taxonomies",{})};Fr.selectTaxonomies=Object(et.a)(Fr.selectAllTaxonomies,e=>Object(ee.omit)(e,["post_format"]));const Vr=Lr.actions;var Dr=Lr.reducer;const Ur=Object(Ze.createEntityAdapter)(),qr=e=>{var t;return{id:null==e?void 0:e.id,title:(null==e||null===(t=e.title)||void 0===t?void 0:t.rendered)||(null==e?void 0:e.title),slug:(null==e?void 0:e.slug)||(null==e?void 0:e.name),alt:(null==e?void 0:e.alt_text)||(null==e?void 0:e.alt),url:(null==e?void 0:e.source_url)||(null==e?void 0:e.url),type:(null==e?void 0:e.media_type)||(null==e?void 0:e.type),mime:(null==e?void 0:e.mime_type)||(null==e?void 0:e.mime),author:null==e?void 0:e.author}},Br=Object(Ze.createSlice)({name:"media",initialState:Ur.getInitialState({status:"idle",error:""}),reducers:{addOneMedia:{reducer:Ur.addOne,prepare:e=>({payload:qr(e)})},addManyMedia:{reducer:Ur.addMany,prepare:e=>({payload:Object(ee.map)(e,qr)})}},extraReducers:e=>{e.addCase("fetchMedia/request",e=>{e.status="loading"}),e.addCase("fetchMedia/success",(e,t)=>{e.status="success",Ur.addMany(e,Object(ee.map)(t.payload,qr))}),e.addCase("fetchMedia/error",(e,t)=>{e.status="error",e.error=t.payload})}}),zr=Ur.getSelectors(e=>e.media),Hr={selectMediaIds:zr.selectIds,selectMediaById:zr.selectById},Yr={...Br.actions,fetchMedia:function*(e){yield{type:"fetchMedia/request"};try{return{type:"fetchMedia/success",payload:yield{type:"fetchMedia",payload:{data:{per_page:100,include:e}}}}}catch(e){return{type:"fetchMedia/error",payload:e}}}};var Wr=Br.reducer;const Kr=Object(Ze.createSlice)({name:"search",initialState:(()=>{Object(ee.get)(window,"wpseoScriptData.settings",{});const e=Object(ee.get)(window,"wpseoScriptData.postTypes",{}),t=Object(ee.get)(window,"wpseoScriptData.taxonomies",{});return{query:"",index:sr(0,e,t)}})(),reducers:{}}),Gr={selectSearchIndex:e=>Object(ee.get)(e,"search.index",{})},Xr=Kr.actions;var Jr=Kr.reducer;const Qr=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];for(var r=arguments.length,n=new Array(r>2?r-2:0),a=2;a<r;a++)n[a-2]=arguments[a];return Object(s.useSelect)(t=>{var r,a;return null===(r=(a=t(rr))[e])||void 0===r?void 0:r.call(a,...n)},t)},Zr=e=>{let{initialState:t}=e;return Object(s.createReduxStore)(rr,{actions:{...ur,...fr,...vr,..._r,...kr,...Ir,...Vr,...Yr,...Xr},selectors:{...lr,...dr,...yr,...wr,...Tr,...Nr,...Fr,...Hr,...Gr},initialState:Object(ee.merge)({},{linkParams:or(),notifications:{},postTypes:br(),preferences:gr(),replacementVariables:Sr(),schema:Pr(),taxonomies:Cr()},t),reducer:Object(s.combineReducers)({notifications:mr,postTypes:Or,preferences:Er,replacementVariables:$r,schema:Mr,taxonomies:Dr,media:Wr,search:Jr}),controls:{fetchMedia:async e=>{let{payload:t}=e;return tt.fetch(t)}}})};const en={variant:{square:"yst-h-48 yst-w-48",landscape:"yst-h-48 yst-w-96",portrait:"yst-h-96 yst-w-48"}},tn=e=>{let{label:t="",description:r="",icon:a=Xe.a,disabled:i=!1,libraryType:l="image",variant:u="landscape",id:p,mediaUrlName:d,mediaIdName:f,previewLabel:m="",selectLabel:b=Object(o.__)("Select image","wordpress-seo"),replaceLabel:h=Object(o.__)("Replace image","wordpress-seo"),removeLabel:y=Object(o.__)("Remove image","wordpress-seo"),className:v=""}=e;const{values:O,setFieldValue:g,setFieldTouched:j,errors:w}=U(),[_,E]=Object(n.useState)(null),S=Object(n.useMemo)(()=>Object(ee.get)(window,"wp.media",null),[]),x=Object(n.useMemo)(()=>Object(ee.get)(O,f,""),[O,f]),T=Object(n.useMemo)(()=>Object(ee.get)(O,d,""),[O,d]),k=Qr("selectMediaById",[x],x),{fetchMedia:$,addOneMedia:R}=Object(s.useDispatch)(rr),P=Object(n.useMemo)(()=>Object(ee.get)(w,f,""),[w,f]),{ids:A,describedBy:N}=Object(c.useDescribedBy)(`field-${p}-id`,{description:r,error:P}),I=Object(n.useCallback)(()=>null==_?void 0:_.open(),[_]),M=Object(n.useCallback)(()=>{j(d,!0,!1),g(d,"",!1),j(f,!0,!1),g(f,"")},[j,g,d,f]),C=Object(n.useCallback)(()=>{var e,t,r;const n=(null===(e=_.state())||void 0===e||null===(t=e.get("selection"))||void 0===t||null===(r=t.first())||void 0===r?void 0:r.toJSON())||{};j(d,!0,!1),g(d,n.url,!1),j(f,!0,!1),g(f,n.id),R(n)},[_,j,g,d,f]);return Object(n.useEffect)(()=>{S&&E(S({title:t,multiple:!1,library:{type:l}}))},[S,t,l,E]),Object(n.useEffect)(()=>(null==_||_.on("select",C),()=>null==_?void 0:_.off("select",C)),[_,C]),Object(n.useEffect)(()=>{x&&!k&&$([x])},[]),Object(n.createElement)("fieldset",{id:p,className:Qe()("yst-w-96",i&&"yst-opacity-50")},Object(n.createElement)(X,{type:"hidden",name:f,id:`field-${p}-id`,"aria-describedby":N}),Object(n.createElement)(X,{type:"hidden",name:d,id:`field-${p}-url`,"aria-describedby":N}),t&&Object(n.createElement)(c.Label,{as:"legend",className:"yst-mb-2"},t),Object(n.createElement)("button",{type:"button",id:`button-${p}-preview`,onClick:I,className:Qe()("yst-overflow-hidden yst-flex yst-justify-center yst-items-center yst-rounded-md yst-mb-4 yst-border-gray-300 focus:yst-outline-none focus:yst-ring-2 focus:yst-ring-offset-2 focus:yst-ring-primary-500",T?"yst-bg-gray-50 yst-border":"yst-border-2 yst-border-dashed",i&&"yst-cursor-not-allowed",en.variant[u],v),disabled:i},T?Object(n.createElement)(n.Fragment,null,Object(n.createElement)("span",{className:"yst-sr-only"},h),Object(n.createElement)("img",{src:T,alt:(null==k?void 0:k.alt)||"",className:"yst-object-cover yst-object-center yst-min-h-full yst-min-w-full"})):Object(n.createElement)("div",{className:"yst-w-48"},Object(n.createElement)("span",{className:"yst-sr-only"},b),Object(n.createElement)(a,{className:"yst-mx-auto yst-h-12 yst-w-12 yst-text-gray-400 yst-stroke-1"}),m&&Object(n.createElement)("p",{className:"yst-text-xs yst-text-gray-500 yst-text-center yst-mt-1 yst-px-8"},m))),Object(n.createElement)("div",{className:"yst-flex yst-gap-4"},T?Object(n.createElement)(c.Button,{id:`button-${p}-replace`,variant:"secondary",onClick:I,disabled:i},h):Object(n.createElement)(c.Button,{id:`button-${p}-select`,variant:"secondary",onClick:I,disabled:i},b),T&&Object(n.createElement)(c.Link,{id:`button-${p}-remove`,as:"button",type:"button",variant:"error",onClick:M,className:i?"yst-cursor-not-allowed":"",disabled:i},y)),P&&Object(n.createElement)("p",{id:A.error,className:"yst-mt-2 yst-text-sm yst-text-red-600"},P),r&&Object(n.createElement)("p",{id:A.description,className:"yst-mt-2"},r))};tn.propTypes={label:Ue.a.string,description:Ue.a.node,icon:Ue.a.elementType,disabled:Ue.a.bool,libraryType:Ue.a.string,variant:Ue.a.oneOf(Object(ee.keys)(en.variant)),id:Ue.a.string.isRequired,mediaUrlName:Ue.a.string.isRequired,mediaIdName:Ue.a.string.isRequired,previewLabel:Ue.a.node,selectLabel:Ue.a.string,replaceLabel:Ue.a.string,removeLabel:Ue.a.string,className:Ue.a.string};var rn=tn,nn=r(28);const an=e=>{let{className:t="",...r}=e;const[a,i]=Object(n.useState)(null),[s,,{setTouched:o,setValue:c}]=G(r),l=Object(n.useCallback)(e=>{o(!0,!1),c(e)},[r.name]),u=Object(n.useCallback)(()=>null==a?void 0:a.focus(),[a]),p=Object(n.useMemo)(()=>{var e;return(null!==(e=s.value)&&void 0!==e&&e.match(/%%\w+%%$/)?s.value+" ":s.value)||""},[s.value]);return Object(n.createElement)("div",{className:t},Object(n.createElement)(nn.ReplacementVariableEditor,We()({},s,r,{content:p,onChange:l,editorRef:i,onFocus:u})))};an.propTypes={name:Ue.a.string.isRequired,className:Ue.a.string};var sn=an;const on=e=>{let{as:t,transformValue:r=ee.identity,...a}=e;const[i,,{setTouched:s,setValue:o}]=G(a),c=Object(n.useCallback)(e=>{s(!0,!1),o(r(e))},[a.name]);return Object(n.createElement)(t,We()({},i,a,{onChange:c}))};on.propTypes={as:Ue.a.elementType.isRequired,name:Ue.a.string.isRequired,transformValue:Ue.a.func};var cn=on;(e=>{let{name:t,...r}=e;const{isTouched:a,error:i}=(e=>{let{name:t}=e;const{touched:r,errors:a}=U();return{isTouched:Object(n.useMemo)(()=>Object(ee.get)(r,t,!1),[r]),error:Object(n.useMemo)(()=>Object(ee.get)(a,t,""),[a])}})({name:t});return Object(n.createElement)(X,We()({},r,{name:t,error:a&&i}))}).propTypes={name:Ue.a.string.isRequired};const ln=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return Object(ee.reduce)(e,(e,r,n)=>Object(ee.isObject)(r)?{...e,...ln(r,n)}:{...e,[`${t}.${n}`]:r},{})},un=e=>{let{id:t,onDismiss:r,...a}=e;const{errors:i}=U(),s=Qr("selectSearchIndex"),o=Object(n.useMemo)(()=>ln(i),[i]);return Object(n.createElement)(c.Notifications.Notification,We()({key:t,id:t,onDismiss:r},a),Object(n.createElement)("ul",{className:"yst-list-disc yst-mt-1 yst-ml-4 yst-space-y-2"},Object(ee.map)(o,(e,t)=>Object(n.createElement)("li",{key:t},Object(n.createElement)(Ie,{to:`${Object(ee.get)(s,t+".route","404")}#${Object(ee.get)(s,t+".fieldId","")}`},`${Object(ee.get)(s,t+".routeLabel","")} - ${Object(ee.get)(s,t+".fieldLabel","")}`),": ",e))))};un.propTypes={id:Ue.a.string.isRequired,onDismiss:Ue.a.func};var pn=()=>{(()=>{const{submitCount:e,isValid:t,errors:r}=U(),{addNotification:a,removeNotification:i}=Object(s.useDispatch)(rr),[c,l]=Object(n.useState)(0),u=Qr("selectNotification",[],"validation-errors");Object(n.useEffect)(()=>{t&&u&&i("validation-errors")},[t,u]),Object(n.useEffect)(()=>{!t&&e>c&&a({id:"validation-errors",variant:"error",size:"large",title:Object(o.__)("Oh no! It seems your form contains invalid data. Please review the following fields:","wordpress-seo")}),e>c&&l(e)},[e,r,t])})();const{removeNotification:e}=Object(s.useDispatch)(rr),t=Qr("selectNotifications"),r=Object(n.useMemo)(()=>Object(ee.map)(t,t=>({...t,onDismiss:e,autoDismiss:"success"===t.variant?5e3:null,dismissScreenReaderLabel:Object(o.__)("Dismiss","wordpress-seo")})),[t]);return Object(n.createElement)(c.Notifications,{notifications:r,position:"bottom-left"},r.map(e=>"validation-errors"===e.id?Object(n.createElement)(un,We()({key:e.id},e)):Object(n.createElement)(c.Notifications.Notification,We()({key:e.id},e))))};const dn=e=>{let{isEnabled:t,text:
|
||
/* translators: %1$s expands to an opening emphasis tag. %2$s expands to a closing emphasis tag. */
|
||
r=Object(o.__)("The %1$sSocial image%2$s, %1$sSocial title%2$s and %1$sSocial description%2$s require Open Graph data, which is currently disabled in the ‘Social sharing’ section in %3$sSite preferences%4$s.","wordpress-seo")}=e;const a=Object(n.useMemo)(()=>Object(n.createInterpolateElement)(Object(o.sprintf)(r,"<em>","</em>","<link>","</link>"),{em:Object(n.createElement)("em",null),link:Object(n.createElement)(Ie,{to:"/site-preferences#section-social-sharing"})}),[]);return t?null:Object(n.createElement)(c.Alert,{variant:"info",className:"yst-mb-6"},a)};dn.propTypes={isEnabled:Ue.a.bool.isRequired,text:Ue.a.string};var fn=dn;const mn=c.SidebarNavigation.SubmenuItem,bn=e=>{let{to:t,idSuffix:r="",...a}=e;const i=Object(n.useMemo)(()=>Object(ee.replace)(Object(ee.replace)("link-"+t,"/","-"),"--","-"),[t]);return Object(n.createElement)(mn,We()({as:Ie,pathProp:"to",id:`${i}${r&&"-"+r}`,to:t},a))};bn.propTypes={to:Ue.a.string.isRequired,idSuffix:Ue.a.string},c.SidebarNavigation.SubmenuItem=bn;var hn,yn=c.SidebarNavigation;function vn(){return(vn=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function On(e){return l.createElement("svg",vn({xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",viewBox:"0 0 293.51 88"},e),hn||(hn=l.createElement("path",{fill:"#a4286a",d:"M199.67 66.74h93.84v4.32h-93.84zM61.45 19.71c-14.36 0-20.1 9.64-20.1 20.37 0 11.16 5.66 20.8 20.1 20.8s20.08-10.1 20-20.14c.02-12.24-6.18-21.03-20-21.03zm-8.7 21c.35-14.36 11.38-14.35 15.07-9.2 3.36 4.68 4.05 20.71-6.37 20.6-4.79-.11-8.56-3.32-8.7-11.42zM178 50.92V30.11h7.43v-9H178V10.17h-11.54v10.91h-5.83v9h5.83v19.66a18.81 18.81 0 0016 19.15l3.43-9.23a8.68 8.68 0 01-7.89-8.74zm-58-3.3V32c0-.57 0-1.11-.09-1.63-1-12.63-18.94-12.61-32.84-7.76l4 8.09c9.05-4.3 14.47-3.19 16.36-1.07l.14.16c1 1.3.73 3.36.73 5-11.83 0-24.41 1.57-24.41 14.54 0 9.86 12.35 16.21 25.26 6.81l1.92 4.62h11.06c-.97-5.44-2.13-10.09-2.13-13.14zm-11.57-.08c-9.1 10.18-17.43.59-8.9-3.59 2.51-.85 5.92-.89 8.9-.89zm29.21-16.4c0-3.85 6.17-5.65 15.9-1.21l3.36-8.17c-13.09-4-31-4.32-31.09 9.38 0 6.56 4.16 10.1 10.22 12.35 4.2 1.56 10.26 2.37 10.24 5.71 0 4.37-9.42 5-18-.84l-3.46 8.86c11.67 5.81 33.36 6 33.25-8.58-.06-14.39-20.42-11.92-20.42-17.5zM36.49 0L19.84 46.26l-8-25H0l13.28 34.13a12.45 12.45 0 010 9c-1.48 3.81-4 7.07-10 7.88v10.14c11.73 0 18.06-7.21 23.72-23L49.18 0zm164.26 51.08h3.06l.69 5.09a10.32 10.32 0 006 1.53 9.57 9.57 0 005.3-1.5 6.22 6.22 0 003-5.54q0-3.82-3.93-6.78c-.81-.61-1.7-1.23-2.69-1.84s-2-1.3-3.07-2.06a17.37 17.37 0 01-2.86-2.53 10.38 10.38 0 01-2.93-7.2 9.93 9.93 0 013.69-8 13.53 13.53 0 018.94-3q6.19 0 9.57 2.24l-1.21 6.91h-2.79l-.74-4.72a8.84 8.84 0 00-5.28-1.35c-3 0-5.09 1.05-6.25 3.14a6.46 6.46 0 00-.73 3.11 8.18 8.18 0 00.48 3 8.23 8.23 0 001.44 2.31 17.23 17.23 0 004 3.32l4 2.58q5.63 3.78 5.62 9.12a10.73 10.73 0 01-3.88 8.63 14.74 14.74 0 01-9.83 3.21 24.91 24.91 0 01-9.15-1.55 6.27 6.27 0 01-1.53-.77zm26.92 6.78l3.93-.77 4.22-34-3.51-.6.32-2.66h24.44l-.18 8.17h-2.8l-1.26-5-11.63-.37-1.9 15 11.79-.19-.32 4.12-11.77-.44-2.18 16 14.52-.63 3.12-5.49 2.74.81-2.34 8.34h-27.45zm47.54 2.79a11.64 11.64 0 01-5.28-1.23 12.42 12.42 0 01-4.24-3.51Q261.9 51 261.9 42.46q0-9.89 5.3-16.5t13.23-6.7a11.19 11.19 0 019.71 5.17q3.38 5 3.37 12.76 0 9.91-5 16.58-5.24 6.89-13.3 6.88zm1-3.16A8.64 8.64 0 00281 56q4.53-3 6.4-10.42a30.76 30.76 0 00.82-7.33q0-11.59-5-14.73a7.3 7.3 0 00-3.94-1 8.68 8.68 0 00-4.6 1.4q-4.62 2.79-6.54 9.65a24.51 24.51 0 00-.87 6.67q.01 17.25 8.94 17.25z"})))}var gn=r(19);const jn=e=>{const[{value:t,...r},,{setTouched:a,setValue:i}]=G(e),s=Object(n.useMemo)(()=>Object(ee.reduce)((null==t?void 0:t.split(","))||[],(e,t)=>{const r=Object(ee.trim)(t);return r?[...e,r]:e},[]),[t]),o=Object(n.useCallback)(e=>{a(!0,!1),i([...s,e].join(","))},[a,i,s]),l=Object(n.useCallback)(e=>{a(!0,!1),i([...s.slice(0,e),...s.slice(e+1)].join(","))},[a,i,s]);return Object(n.createElement)(c.TagField,We()({},r,e,{tags:s,onAddTag:o,onRemoveTag:l}))};jn.propTypes={name:Ue.a.string.isRequired};var wn=jn;const En=e=>{let{name:t,label:r,singularLabel:a,hasArchive:i,hasSchemaArticleType:s}=e;const l=Qr("selectReplacementVariablesFor",[t],t,"custom_post_type"),u=Qr("selectRecommendedReplacementVariablesFor",[t],t,"custom_post_type"),p=Qr("selectReplacementVariablesFor",[t],t+"_archive","custom-post-type_archive"),d=Qr("selectRecommendedReplacementVariablesFor",[t],t+"_archive","custom-post-type_archive"),f=Qr("selectPreference",[],"isPremium"),m=Qr("selectLink",[],"https://yoa.st/4cr"),b=Qr("selectArticleTypeValuesFor",[t],t),h=Qr("selectPageTypeValuesFor",[t],t),y=Qr("selectPreference",[],"isWooCommerceActive"),v=Qr("selectPreference",[],"hasWooCommerceShopPage"),O=Qr("selectPreference",[],"editWooCommerceShopPageUrl"),g=Qr("selectPreference",[],"wooCommerceShopPageSettingUrl"),j=Object(n.useMemo)(()=>Object(n.createInterpolateElement)(Object(o.sprintf)(
|
||
/**
|
||
* translators: %1$s expands to an opening strong tag.
|
||
* %2$s expands to a closing strong tag.
|
||
* %3$s expands to the recommended image size.
|
||
*/
|
||
Object(o.__)("Recommended size for this image is %1$s%3$s%2$s","wordpress-seo"),"<strong>","</strong>","1200x675px"),{strong:Object(n.createElement)("strong",{className:"yst-font-semibold"})}),[]),w=Object(n.useMemo)(()=>y&&"product"===t,[t,y]),_=Object(n.useMemo)(()=>v?Object(gn.a)(Object(o.sprintf)(
|
||
/* translators: %1$s expands to an opening tag. %2$s expands to a closing tag. */
|
||
Object(o.__)("You can edit the SEO metadata for this custom type on the %1$sShop page%2$s.","wordpress-seo"),"<a>","</a>"),O,"link-edit-woocommerce-shop-page"):Object(gn.a)(Object(o.sprintf)(
|
||
/* translators: %1$s expands to an opening tag. %2$s expands to a closing tag. */
|
||
Object(o.__)("You haven't set a Shop page in your WooCommerce settings. %1$sPlease do this first%2$s.","wordpress-seo"),"<a>","</a>"),g,"link-woocommerce-shop-page-setting"),[v,g,O]),E=Object(n.useMemo)(()=>Object(n.createInterpolateElement)(Object(o.sprintf)(// translators: %1$s and %2$s are replaced by opening and closing <a> tags. %3$s and %4$s are replaced by opening and closing <em> tags.
|
||
Object(o.__)("You can add multiple custom fields and separate them by using %3$sEnter%4$s or %3$scomma%4$s. %1$sRead more about our custom field analysis%2$s.","wordpress-seo"),"<a>","</a>","<em>","</em>"),{a:Object(n.createElement)("a",{id:"link-custom-fields-page-analysis-"+t,href:m,target:"_blank",rel:"noopener noreferrer"}),em:Object(n.createElement)("em",null)}),[]),{values:S}=U(),{opengraph:x}=S.wpseo_social,{"breadcrumbs-enable":T}=S.wpseo_titles;return Object(n.createElement)(He,{title:r},Object(n.createElement)(Be,{title:Object(o.__)("Search appearance","wordpress-seo"),description:Object(o.sprintf)(// translators: %1$s expands to the post type plural, e.g. Posts. %2$s expands to the post type singular, e.g. Post.
|
||
Object(o.__)("Choose how your %1$s should look in search engines. You can always customize this per individual %2$s.","wordpress-seo"),r,a)},Object(n.createElement)(Ge,{name:"wpseo_titles.noindex-"+t,"data-id":"input-wpseo_titles-noindex-"+t,label:Object(o.sprintf)(// translators: %1$s expands to the post type plural, e.g. Posts.
|
||
Object(o.__)("Show %1$s in search results","wordpress-seo"),r),description:Object(o.sprintf)(// translators: %1$s expands to the post type plural, e.g. Posts.
|
||
Object(o.__)("Disabling this means that %1$s will not be indexed by search engines and will be excluded from XML sitemaps.","wordpress-seo"),r)}),Object(n.createElement)("hr",{className:"yst-my-8"}),Object(n.createElement)(sn,{type:"title",name:"wpseo_titles.title-"+t,fieldId:"input-wpseo_titles-title-"+t,label:Object(o.__)("SEO title","wordpress-seo"),replacementVariables:l,recommendedReplacementVariables:u}),Object(n.createElement)(sn,{type:"description",name:"wpseo_titles.metadesc-"+t,fieldId:"input-wpseo_titles-metadesc-"+t,label:Object(o.__)("Meta description","wordpress-seo"),replacementVariables:l,recommendedReplacementVariables:u,className:"yst-replacevar--description"})),Object(n.createElement)("hr",{className:"yst-my-8"}),Object(n.createElement)(Be,{title:Object(n.createElement)("div",{className:"yst-flex yst-items-center yst-gap-1.5"},Object(n.createElement)("span",null,Object(o.__)("Social appearance","wordpress-seo")),Object(n.createElement)(c.Badge,{variant:"upsell"},"Premium")),description:Object(o.sprintf)(// translators: %1$s expands to the post type plural, e.g. Posts. %2$s expands to the post type singular, e.g. Post.
|
||
Object(o.__)("Choose how your %1$s should look on social media by default. You can always customize this per individual %2$s.","wordpress-seo"),r,a)},Object(n.createElement)(fn,{isEnabled:x}),Object(n.createElement)(rn,{id:"wpseo_titles-social-image-"+t,label:Object(o.__)("Social image","wordpress-seo"),previewLabel:j,mediaUrlName:"wpseo_titles.social-image-url-"+t,mediaIdName:"wpseo_titles.social-image-id-"+t,disabled:!x}),Object(n.createElement)(sn,{type:"title",name:"wpseo_titles.social-title-"+t,fieldId:"input-wpseo_titles-social-title-"+t,label:Object(o.__)("Social title","wordpress-seo"),replacementVariables:l,recommendedReplacementVariables:u,className:Qe()(!x&&"yst-opacity-50"),isDisabled:!x}),Object(n.createElement)(sn,{type:"description",name:"wpseo_titles.social-description-"+t,fieldId:"input-wpseo_titles-social-description-"+t,label:Object(o.__)("Social description","wordpress-seo"),replacementVariables:l,recommendedReplacementVariables:u,className:Qe()("yst-replacevar--description",!x&&"yst-opacity-50"),isDisabled:!x})),Object(n.createElement)("hr",{className:"yst-my-8"}),Object(n.createElement)(Be,{title:Object(o.__)("Schema","wordpress-seo"),description:Object(o.sprintf)(// translators: %1$s expands to the post type plural, e.g. Posts. %2$s expands to the post type singular, e.g. Post.
|
||
Object(o.__)("Choose how your %1$s should be described by default in your site's Schema.org markup. You can change these setting per individual %2$s.","wordpress-seo"),r,a)},Object(n.createElement)(cn,{as:c.SelectField,type:"select",name:"wpseo_titles.schema-page-type-"+t,id:"input-wpseo_titles-schema-page-type-"+t,label:Object(o.__)("Page type","wordpress-seo"),options:h}),s&&Object(n.createElement)(cn,{as:c.SelectField,type:"select",name:"wpseo_titles.schema-article-type-"+t,id:"input-wpseo_titles-schema-article-type-"+t,label:Object(o.__)("Article type","wordpress-seo"),options:b})),Object(n.createElement)("hr",{className:"yst-my-8"}),Object(n.createElement)(Be,{title:Object(o.__)("Additional settings","wordpress-seo")},Object(n.createElement)(cn,{as:c.ToggleField,type:"checkbox",name:"wpseo_titles.display-metabox-pt-"+t,"data-id":"input-wpseo_titles-display-metabox-pt-"+t,label:Object(o.sprintf)(
|
||
/* translators: %1$s expands to Yoast SEO. %2$s expands to the post type plural, e.g. Posts. */
|
||
Object(o.__)("Enable %1$s for %2$s","wordpress-seo"),"Yoast SEO",r),description:Object(o.sprintf)(
|
||
/* translators: %1$s expands to the post type plural, e.g. Posts. */
|
||
Object(o.__)("This enables SEO metadata editing and our SEO - and Readability analysis for individual %1$s.","wordpress-seo"),r)}),f&&Object(n.createElement)(wn,{name:"wpseo_titles.page-analyse-extra-"+t,id:"input-wpseo_titles-page-analyse-extra-"+t,label:Object(o.__)("Add custom fields to page analysis","wordpress-seo"),labelSuffix:Object(n.createElement)(c.Badge,{className:"yst-ml-1.5",size:"small",variant:"upsell"},"Premium"),description:E})),i&&Object(n.createElement)(n.Fragment,null,Object(n.createElement)("hr",{className:"yst-my-16"}),Object(n.createElement)("div",{className:"yst-mb-8"},Object(n.createElement)(c.Title,{as:"h2",className:"yst-mb-2"},Object(o.sprintf)(
|
||
/* translators: %1$s expands to the post type plural, e.g. Posts. */
|
||
Object(o.__)("%1$s archive","wordpress-seo"),r)),Object(n.createElement)("p",{className:"yst-text-tiny"},w&&_,!w&&Object(o.sprintf)(
|
||
/* translators: %1$s expands to the post type plural, e.g. Posts. */
|
||
Object(o.__)("These settings are specifically for optimizing your %1$s archive.","wordpress-seo"),r))),!w&&Object(n.createElement)(n.Fragment,null,Object(n.createElement)("hr",{className:"yst-my-8"}),Object(n.createElement)(Be,{title:Object(o.__)("Search appearance","wordpress-seo"),description:Object(o.sprintf)(// translators: %1$s expands to the post type plural, e.g. Posts.
|
||
Object(o.__)("Choose how your %1$s archive should look in search engines.","wordpress-seo"),r)},Object(n.createElement)(Ge,{name:"wpseo_titles.noindex-ptarchive-"+t,"data-id":"input-wpseo_titles-noindex-ptarchive-"+t,label:Object(o.sprintf)(// translators: %1$s expands to the post type plural, e.g. Posts.
|
||
Object(o.__)("Show the archive for %1$s in search results","wordpress-seo"),r),description:Object(o.sprintf)(// translators: %1$s expands to the post type plural, e.g. Posts.
|
||
Object(o.__)("Disabling this means that the archive for %1$s will not be indexed by search engines and will be excluded from XML sitemaps.","wordpress-seo"),r)}),Object(n.createElement)(sn,{type:"title",name:"wpseo_titles.title-ptarchive-"+t,fieldId:"input-wpseo_titles-title-ptarchive-"+t,label:Object(o.__)("SEO title","wordpress-seo"),replacementVariables:p,recommendedReplacementVariables:d}),Object(n.createElement)(sn,{type:"description",name:"wpseo_titles.metadesc-ptarchive-"+t,fieldId:"input-wpseo_titles-metadesc-ptarchive-"+t,label:Object(o.__)("Meta description","wordpress-seo"),replacementVariables:p,recommendedReplacementVariables:d,className:"yst-replacevar--description"})),Object(n.createElement)("hr",{className:"yst-my-8"}),Object(n.createElement)(Be,{title:Object(n.createElement)("div",{className:"yst-flex yst-items-center yst-gap-1.5"},Object(n.createElement)("span",null,Object(o.__)("Social appearance","wordpress-seo")),Object(n.createElement)(c.Badge,{variant:"upsell"},"Premium")),description:Object(o.sprintf)(// translators: %1$s expands to the post type plural, e.g. Posts.
|
||
Object(o.__)("Choose how your %1$s archive should look on social media.","wordpress-seo"),r,a)},Object(n.createElement)(rn,{id:"wpseo_titles-social-image-ptarchive-"+t,label:Object(o.__)("Social image","wordpress-seo"),previewLabel:j,mediaUrlName:"wpseo_titles.social-image-url-ptarchive-"+t,mediaIdName:"wpseo_titles.social-image-id-ptarchive-"+t}),Object(n.createElement)(sn,{type:"title",name:"wpseo_titles.social-title-ptarchive-"+t,fieldId:"input-wpseo_titles-social-title-ptarchive-"+t,label:Object(o.__)("Social title","wordpress-seo"),replacementVariables:p,recommendedReplacementVariables:d}),Object(n.createElement)(sn,{type:"description",name:"wpseo_titles.social-description-ptarchive-"+t,fieldId:"input-wpseo_titles-social-description-ptarchive-"+t,label:Object(o.__)("Social description","wordpress-seo"),replacementVariables:p,recommendedReplacementVariables:d,className:"yst-replacevar--description"})),Object(n.createElement)("hr",{className:"yst-my-8"}),T&&Object(n.createElement)(Be,{title:Object(o.__)("Additional settings","wordpress-seo")},Object(n.createElement)(X,{as:c.TextField,type:"text",name:"wpseo_titles.bctitle-ptarchive-"+t,id:"input-wpseo_titles-bctitle-ptarchive-"+t,label:Object(o.__)("Breadcrumbs title","wordpress-seo")})))))};En.propTypes={name:Ue.a.string.isRequired,label:Ue.a.string.isRequired,singularLabel:Ue.a.string.isRequired,hasArchive:Ue.a.bool.isRequired};var Sn=En;const xn=e=>{let{name:t,label:r,singularLabel:a,postTypes:i}=e;const s=Qr("selectPostTypes",[i],i),l=Qr("selectReplacementVariablesFor",[t],t,"term-in-custom-taxonomy"),u=Qr("selectRecommendedReplacementVariablesFor",[t],t,"term-in-custom-taxonomy"),p=Object(n.useMemo)(()=>Object(n.createInterpolateElement)(Object(o.sprintf)(
|
||
/**
|
||
* translators: %1$s expands to an opening strong tag.
|
||
* %2$s expands to a closing strong tag.
|
||
* %3$s expands to the recommended image size.
|
||
*/
|
||
Object(o.__)("Recommended size for this image is %1$s%3$s%2$s","wordpress-seo"),"<strong>","</strong>","1200x675px"),{strong:Object(n.createElement)("strong",{className:"yst-font-semibold"})}),[]),d=Object(n.useMemo)(()=>Object(n.createInterpolateElement)(Object(o.sprintf)(
|
||
/* translators: %s expands to <code>/category/</code> */
|
||
Object(o.__)("Category URLs in WordPress contain a prefix, usually %s. This enables that prefix, for categories only.","wordpress-seo"),"<code />"),{code:Object(n.createElement)("code",null,"/category/")}),[]),{values:f}=U(),{opengraph:m}=f.wpseo_social;return Object(n.createElement)(He,{title:Object(n.createElement)("div",{className:"yst-flex yst-items-center yst-gap-1.5"},Object(n.createElement)("span",null,r),Object(ee.map)(s,e=>{let{name:t,label:r}=e;return Object(n.createElement)(c.Badge,{key:t,variant:"plain"},r)}))},Object(n.createElement)(Be,{title:Object(o.__)("Search appearance","wordpress-seo"),description:Object(o.sprintf)(// translators: %1$s expands to the post type plural, e.g. Categories. %2$s expands to the post type singular, e.g. Category.
|
||
Object(o.__)("Choose how your %1$s should look in search engines. You can always customize this per individual %2$s.","wordpress-seo"),r,a)},Object(n.createElement)(Ge,{name:"wpseo_titles.noindex-tax-"+t,"data-id":"input-wpseo_titles-noindex-tax-"+t,label:Object(o.sprintf)(// translators: %1$s expands to the taxonomy plural, e.g. Categories.
|
||
Object(o.__)("Show %1$s in search results","wordpress-seo"),r),description:Object(o.sprintf)(// translators: %1$s expands to the taxonomy plural, e.g. Categories.
|
||
Object(o.__)("Disabling this means that %1$s will not be indexed by search engines and will be excluded from XML sitemaps.","wordpress-seo"),r)}),Object(n.createElement)("hr",{className:"yst-my-8"}),Object(n.createElement)(sn,{type:"title",name:"wpseo_titles.title-tax-"+t,fieldId:"input-wpseo_titles-title-tax-"+t,label:Object(o.__)("SEO title","wordpress-seo"),replacementVariables:l,recommendedReplacementVariables:u}),Object(n.createElement)(sn,{type:"description",name:"wpseo_titles.metadesc-tax-"+t,fieldId:"input-wpseo_titles-metadesc-tax-"+t,label:Object(o.__)("Meta description","wordpress-seo"),replacementVariables:l,recommendedReplacementVariables:u,className:"yst-replacevar--description"})),Object(n.createElement)("hr",{className:"yst-my-8"}),Object(n.createElement)(Be,{title:Object(n.createElement)("div",{className:"yst-flex yst-items-center yst-gap-1.5"},Object(n.createElement)("span",null,Object(o.__)("Social appearance","wordpress-seo")),Object(n.createElement)(c.Badge,{variant:"upsell"},"Premium")),description:Object(o.sprintf)(// translators: %1$s expands to the taxonomy plural, e.g. Categories. %2$s expands to the taxonomy singular, e.g. Category.
|
||
Object(o.__)("Choose how your %1$s should look on social media by default. You can always customize this per individual %2$s.","wordpress-seo"),r,a)},Object(n.createElement)(fn,{isEnabled:m}),Object(n.createElement)(rn,{id:"wpseo_titles-social-image-tax-"+t,label:Object(o.__)("Social image","wordpress-seo"),previewLabel:p,mediaUrlName:"wpseo_titles.social-image-url-tax-"+t,mediaIdName:"wpseo_titles.social-image-id-tax-"+t,disabled:!m}),Object(n.createElement)(sn,{type:"title",name:"wpseo_titles.social-title-tax-"+t,fieldId:"input-wpseo_titles-social-title-tax-"+t,label:Object(o.__)("Social title","wordpress-seo"),replacementVariables:l,recommendedReplacementVariables:u,className:Qe()(!m&&"yst-opacity-50"),isDisabled:!m}),Object(n.createElement)(sn,{type:"description",name:"wpseo_titles.social-description-tax-"+t,fieldId:"input-wpseo_titles-social-description-tax-"+t,label:Object(o.__)("Social description","wordpress-seo"),replacementVariables:l,recommendedReplacementVariables:u,className:Qe()("yst-replacevar--description",!m&&"yst-opacity-50"),isDisabled:!m})),Object(n.createElement)("hr",{className:"yst-my-8"}),Object(n.createElement)(Be,{title:Object(o.__)("Additional settings","wordpress-seo")},Object(n.createElement)(cn,{as:c.ToggleField,type:"checkbox",name:"wpseo_titles.display-metabox-tax-"+t,"data-id":"input-wpseo_titles-display-metabox-tax-"+t,label:Object(o.sprintf)(
|
||
/* translators: %1$s expands to Yoast SEO. %2$s expands to the taxonomy plural, e.g. Categories. */
|
||
Object(o.__)("Enable %1$s for %2$s","wordpress-seo"),"Yoast SEO",r),description:Object(o.sprintf)(
|
||
/* translators: %1$s expands to the taxonomy plural, e.g. Categories. */
|
||
Object(o.__)("This enables SEO metadata editing and our SEO - and Readability analysis for individual %1$s.","wordpress-seo"),r)}),"category"===t&&Object(n.createElement)(Ge,{name:"wpseo_titles.stripcategorybase","data-id":"input-wpseo_titles-stripcategorybase",label:Object(o.__)("Keep the categories prefix in the slug","wordpress-seo"),description:d})))};xn.propTypes={name:Ue.a.string.isRequired,label:Ue.a.string.isRequired,singularLabel:Ue.a.string.isRequired,postTypes:Ue.a.arrayOf(Ue.a.string).isRequired};var Tn=xn;r(271);const kn=()=>{const e=Qr("selectReplacementVariablesFor",[],"homepage","page"),t=Qr("selectRecommendedReplacementVariablesFor",[],"homepage","page"),r=Object(n.useMemo)(()=>Object(n.createInterpolateElement)(Object(o.sprintf)(
|
||
/**
|
||
* translators: %1$s expands to an opening strong tag.
|
||
* %2$s expands to a closing strong tag.
|
||
* %3$s expands to the recommended image size.
|
||
*/
|
||
Object(o.__)("Recommended size for this image is %1$s%3$s%2$s","wordpress-seo"),"<strong>","</strong>","1200x675px"),{strong:Object(n.createElement)("strong",{className:"yst-font-semibold"})}),[]),{values:a}=U(),{opengraph:i}=a.wpseo_social;return Object(n.createElement)(n.Fragment,null,Object(n.createElement)(Be,{title:Object(o.__)("Search appearance","wordpress-seo"),description:Object(o.__)("Choose how your Homepage should look in search engines.","wordpress-seo")},Object(n.createElement)(sn,{type:"title",name:"wpseo_titles.title-home-wpseo",fieldId:"input-wpseo_titles-title-home-wpseo",label:Object(o.__)("SEO title","wordpress-seo"),replacementVariables:e,recommendedReplacementVariables:t}),Object(n.createElement)(sn,{type:"description",name:"wpseo_titles.metadesc-home-wpseo",fieldId:"input-wpseo_titles-metadesc-home-wpseo",label:Object(o.__)("Meta description","wordpress-seo"),replacementVariables:e,recommendedReplacementVariables:t,className:"yst-replacevar--description"})),Object(n.createElement)("hr",{className:"yst-my-8"}),Object(n.createElement)(Be,{title:Object(o.__)("Social appearance","wordpress-seo"),description:Object(o.__)("Choose how your Homepage should look on social media.","wordpress-seo")},Object(n.createElement)(fn,{isEnabled:i
|
||
/* translators: %1$s expands to an opening emphasis tag. %2$s expands to a closing emphasis tag. */,text:Object(o.__)("The %1$sSocial image%2$s, %1$sSocial title%2$s and %1$sSocial description%2$s require Open Graph data, which is currently disabled in the ‘Social sharing’ section in %3$sSite preferences%4$s.","wordpress-seo")}),Object(n.createElement)(rn,{id:"wpseo_titles-open_graph_frontpage_image",label:Object(o.__)("Social image","wordpress-seo"),previewLabel:r,mediaUrlName:"wpseo_titles.open_graph_frontpage_image",mediaIdName:"wpseo_titles.open_graph_frontpage_image_id",disabled:!i}),Object(n.createElement)(sn,{type:"title",name:"wpseo_titles.open_graph_frontpage_title",fieldId:"input-wpseo_titles-open_graph_frontpage_title",label:Object(o.__)("Social title","wordpress-seo"),replacementVariables:e,recommendedReplacementVariables:t,className:Qe()(!i&&"yst-opacity-50"),isDisabled:!i}),Object(n.createElement)(sn,{type:"description",name:"wpseo_titles.open_graph_frontpage_desc",fieldId:"input-wpseo_titles-open_graph_frontpage_desc",label:Object(o.__)("Social description","wordpress-seo"),replacementVariables:e,recommendedReplacementVariables:t,className:Qe()("yst-replacevar--description",!i&&"yst-opacity-50"),isDisabled:!i})))},$n=()=>{const e=Qr("selectPreference",[],"homepagePageEditUrl"),t=Qr("selectPreference",[],"homepagePostsEditUrl"),r=Object(n.useMemo)(()=>Object(gn.a)(Object(o.sprintf)(
|
||
/* translators: %1$s expands to an opening tag. %2$s expands to a closing tag. */
|
||
Object(o.__)("You can determine the title and description for the homepage by %1$sediting the homepage itself%2$s.","wordpress-seo"),"<a>","</a>"),e,"link-homepage-page-edit")),a=Object(n.useMemo)(()=>Object(gn.a)(Object(o.sprintf)(
|
||
/* translators: %1$s expands to an opening tag. %2$s expands to a closing tag. */
|
||
Object(o.__)("You can determine the title and description for the posts page by %1$sediting the posts page itself%2$s.","wordpress-seo"),"<a>","</a>"),t,"link-homepage-posts-page-edit"));return Object(n.createElement)("div",{className:"yst-max-w-screen-sm"},Object(n.createElement)(c.Alert,null,Object(n.createElement)("p",null,r),t&&Object(n.createElement)("p",{className:"yst-pt-2"},a)))};var Rn=()=>{const e=Qr("selectPreference",[],"homepageIsLatestPosts");return Object(n.createElement)(He,{title:Object(o.__)("Homepage","wordpress-seo"),description:Object(o.__)("Choose how your Homepage should look in search engines and on social media. Note that this is what people probably will see when they search for your brand name.","wordpress-seo")},e&&Object(n.createElement)(kn,null),!e&&Object(n.createElement)($n,null))};const Pn=e=>{let{children:t}=e;return Object(n.createElement)(c.Table.Cell,{className:"yst-whitespace-nowrap yst-font-medium yst-text-gray-800"},t)};Pn.propTypes={children:Ue.a.node.isRequired};var An=()=>Object(n.createElement)(He,{title:Object(o.__)("RSS","wordpress-seo")},Object(n.createElement)(Be,{title:Object(o.__)("RSS feed","wordpress-seo"),description:Object(o.__)("Automatically add content to your RSS. This enables you to add links back to your blog and your blog posts, helping search engines identify you as the original source of the content.","wordpress-seo")},Object(n.createElement)(X,{as:c.TextareaField,type:"textarea",rows:4,name:"wpseo_titles.rssbefore",id:"input-wpseo_titles-rssbefore",label:Object(o.__)("Content to put before each post in the feed","wordpress-seo")}),Object(n.createElement)(X,{as:c.TextareaField,type:"textarea",rows:4,name:"wpseo_titles.rssafter",id:"input-wpseo_titles-rssafter",label:Object(o.__)("Content to put after each post in the feed","wordpress-seo")})),Object(n.createElement)("hr",{className:"yst-my-8"}),Object(n.createElement)(Be,{as:"section",title:Object(o.__)("Available variables","wordpress-seo"),description:Object(o.__)("You can use the following variables within the content, they will be replaced by the value on the right.","wordpress-seo")},Object(n.createElement)("div",{className:"yst-overflow-hidden yst-border yst-border-gray-200 yst-shadow-sm yst-rounded-lg"},Object(n.createElement)(c.Table,null,Object(n.createElement)(c.Table.Head,null,Object(n.createElement)(c.Table.Row,null,Object(n.createElement)(c.Table.Header,null,Object(o.__)("Variable","wordpress-seo")),Object(n.createElement)(c.Table.Header,null,Object(o.__)("Description","wordpress-seo")))),Object(n.createElement)(c.Table.Body,null,Object(n.createElement)(c.Table.Row,null,Object(n.createElement)(Pn,null,"%%AUTHORLINK%%"),Object(n.createElement)(c.Table.Cell,null,Object(o.__)("A link to the archive for the post author, with the authors name as anchor text.","wordpress-seo"))),Object(n.createElement)(c.Table.Row,null,Object(n.createElement)(Pn,null,"%%POSTLINK%%"),Object(n.createElement)(c.Table.Cell,null,Object(o.__)("A link to the post, with the title as anchor text.","wordpress-seo"))),Object(n.createElement)(c.Table.Row,null,Object(n.createElement)(Pn,null,"%%BLOGLINK%%"),Object(n.createElement)(c.Table.Cell,null,Object(o.__)("A link to your site, with your site's name as anchor text.","wordpress-seo"))),Object(n.createElement)(c.Table.Row,null,Object(n.createElement)(Pn,null,"%%BLOGDESCLINK%%"),Object(n.createElement)(c.Table.Cell,null,Object(o.__)("A link to your site, with your site's name and description as anchor text.","wordpress-seo")))))))),Nn=r(187);const In=e=>{let{id:t,name:r,value:a,label:i,screenReaderLabel:s="",className:o="",...l}=e;const u=Object(c.useSvgAria)();return Object(n.createElement)("div",{className:Qe()("yst-radio","yst-radio--inline-block",o)},Object(n.createElement)("input",We()({type:"radio",id:t,name:r,value:a,className:"yst-radio__input","aria-label":s},l)),Object(n.createElement)("span",{className:"yst-radio__content"},Object(n.createElement)("label",{htmlFor:t,className:"yst-label yst-radio__label",dangerouslySetInnerHTML:{__html:i}}),Object(n.createElement)(Nn.a,We()({className:"yst-radio__check"},u))))};In.propTypes={name:Ue.a.string.isRequired,id:Ue.a.string.isRequired,value:Ue.a.string.isRequired,label:Ue.a.string.isRequired,screenReaderLabel:Ue.a.string,className:Ue.a.string};var Mn=()=>{const e=Object(n.useMemo)(()=>Object(ee.get)(window,"wpseoScriptData.separators",{}),[]),t=Object(n.useMemo)(()=>Object(n.createInterpolateElement)(Object(o.sprintf)(
|
||
/* translators: %1$s expands to an opening emphasis tag. %2$s expands to a closing emphasis tag. */
|
||
Object(o.__)("You can use %1$sSite title%2$s, %1$sTagline%2$s and %1$sSeparator%2$s as variables when configuring the search appearance of your content.","wordpress-seo"),"<em>","</em>"),{em:Object(n.createElement)("em",null)}),[]),r=Object(n.useMemo)(()=>Object(n.createInterpolateElement)(Object(o.sprintf)(
|
||
/**
|
||
* translators: %1$s expands to an opening strong tag.
|
||
* %2$s expands to a closing strong tag.
|
||
* %3$s expands to the recommended image size.
|
||
*/
|
||
Object(o.__)("Recommended size for this image is %1$s%3$s%2$s","wordpress-seo"),"<strong>","</strong>","1200x675px"),{strong:Object(n.createElement)("strong",{className:"yst-font-semibold"})}),[]),{values:a}=U(),{opengraph:i}=a.wpseo_social;return Object(n.createElement)(He,{title:Object(o.__)("Site defaults","wordpress-seo")},Object(n.createElement)("div",{className:"yst-max-w-screen-sm"},Object(n.createElement)(c.Alert,{variant:"info",id:"alert-site-defaults-variables"},t),Object(n.createElement)("hr",{className:"yst-my-8"}),Object(n.createElement)("fieldset",{className:"yst-mt-8 lg:yst-mt-0 lg:yst-col-span-2 yst-space-y-8"},Object(n.createElement)(X,{as:c.TextField,type:"text",name:"blogname",id:"input-blogname",label:Object(o.__)("Site title","wordpress-seo")}),Object(n.createElement)(X,{as:c.TextField,type:"text",name:"blogdescription",id:"input-blogdescription",label:Object(o.__)("Tagline","wordpress-seo")})),Object(n.createElement)("hr",{className:"yst-my-8"}),Object(n.createElement)(c.RadioGroup,{label:Object(o.__)("Title separator","wordpress-seo"),variant:"inline-block"},Object(ee.map)(e,(e,t)=>{let{label:r,aria_label:a}=e;return Object(n.createElement)(X,{key:t,as:In,type:"radio",name:"wpseo_titles.separator",id:"input-wpseo_titles-separator."+t,label:r,"aria-label":a,value:t})})),Object(n.createElement)("hr",{className:"yst-my-8"}),Object(n.createElement)(fn,{isEnabled:i,text:
|
||
/* translators: %1$s expands to an opening emphasis tag. %2$s expands to a closing emphasis tag. */
|
||
Object(o.__)("The %1$sSite image%2$s requires Open Graph data, which is currently disabled in the ‘Social sharing’ section in %3$sSite preferences%4$s.","wordpress-seo")}),Object(n.createElement)(rn,{id:"wpseo_social-og_default_image",label:Object(o.__)("Site image","wordpress-seo"),description:Object(o.__)("This image is used as a fallback for posts/pages that don't have any images set.","wordpress-seo"),previewLabel:r,mediaUrlName:"wpseo_social.og_default_image",mediaIdName:"wpseo_social.og_default_image_id",disabled:!i})))};const Cn=(e=>{const t=t=>{let{name:r,...a}=t;const i=Qr("selectPreference",[],"isNetworkAdmin"),s=Qr("selectPreference",[],"isMainSite"),l=Object(n.useMemo)(()=>Object(ee.get)(window,"wpseoScriptData.disabledSettings."+r,!1),[]),u=Object(n.useMemo)(()=>"wpseo.tracking"===r&&!i&&!s,[r,i,s]),p=Object(n.useMemo)(()=>u?Object(o.__)("Unavailable for sub-sites","wordpress-seo"):Object(o.__)("Network disabled","wordpress-seo"),[u]);return l||u?Object(n.createElement)(e,We()({name:r},a,{disabled:!0,labelSuffix:Object(n.createElement)(c.Badge,{variant:"plain",size:"small",className:"yst-ml-1.5"},p)})):Object(n.createElement)(e,We()({name:r},a))};return t.propTypes={name:Ue.a.string.isRequired},t})(c.ToggleField),Ln=e=>{let{link:t,content:r,id:a,...i}=e;const s=Qr("selectLink",[t],t);return Object(n.useMemo)(()=>Object(n.createInterpolateElement)(Object(o.sprintf)(r,"<a>","</a>"),{a:Object(n.createElement)("a",We()({id:a,href:s,target:"_blank",rel:"noopener noreferrer"},i))}),[s,r,a,i])};var Fn=()=>{const e=Qr("selectPreference",[],"isPremium"),t=Qr("selectPreference",[],"sitemapUrl"),r=Qr("selectLink",[],"https://yoa.st/2a-"),{values:a}=U(),{enable_xml_sitemap:i}=a.wpseo,s=Ln({link:"https://yoa.st/2ak",
|
||
/* translators: %1$s expands to an opening tag. %2$s expands to a closing tag. */
|
||
content:Object(o.__)("The SEO analysis offers suggestions to improve the SEO of your text. %1$sLearn how the SEO analysis can help you rank%2$s.","wordpress-seo"),id:"link-seo-analysis"}),l=Ln({link:"https://yoa.st/2ao",
|
||
/* translators: %1$s expands to an opening tag. %2$s expands to a closing tag. */
|
||
content:Object(o.__)("The readability analysis offers suggestions to improve the structure and style of your text. %1$sDiscover why readability is important for SEO%2$s.","wordpress-seo"),id:"link-readability-analysis"}),u=Ln({link:"https://yoa.st/4ew",
|
||
/* translators: %1$s expands to an opening tag. %2$s expands to a closing tag. */
|
||
content:Object(o.__)("Find relevant data about your content right in the Insights section in the Yoast SEO metabox. You’ll see what words you use most often and if they’re a match with your keywords! %1$sFind out how Insights can help you improve your content%2$s.","wordpress-seo"),id:"link-insights"}),p=Ln({link:"https://yoa.st/dashboard-help-cornerstone",
|
||
/* translators: %1$s expands to an opening tag. %2$s expands to a closing tag. */
|
||
content:Object(o.__)("The cornerstone content feature lets you to mark and filter cornerstone content on your website. %1$sFind out how cornerstone content can help you improve your site structure%2$s.","wordpress-seo"),id:"link-cornerstone-content"}),d=Ln({link:"https://yoa.st/2aj",
|
||
/* translators: %1$s expands to an opening tag. %2$s expands to a closing tag. */
|
||
content:Object(o.__)("The text link counter helps you improve your site structure. %1$sFind out how the text link counter can enhance your SEO%2$s.","wordpress-seo"),id:"link-text-link-counter"}),f=Ln({link:e?"https://yoa.st/17g":"https://yoa.st/4ev",
|
||
/* translators: %1$s expands to an opening tag. %2$s expands to a closing tag. */
|
||
content:Object(o.__)("The link suggestions metabox contains a list of posts on your blog with similar content that might be interesting to link to. %1$sRead more about how internal linking can improve your site structure%2$s.","wordpress-seo"),id:"link-suggestions-link"}),m=Ln({link:"https://yoa.st/help-slack-share",
|
||
/* translators: %1$s expands to an opening tag. %2$s expands to a closing tag. */
|
||
content:Object(o.__)("This adds an author byline and reading time estimate to the article’s snippet when shared on Slack. %1$sFind out how a rich snippet can improve visibility and click-through-rate%2$s.","wordpress-seo"),id:"link-slack-sharing"}),b=Object(n.useMemo)(()=>Object(n.createInterpolateElement)([Object(o.__)("Enable the XML sitemaps that Yoast SEO generates.","wordpress-seo"),!!i&&Object(o.sprintf)(
|
||
/* translators: %1$s expands to an opening tag. %2$s expands to a closing tag. */
|
||
Object(o.__)("%1$sSee the XML sitemap%2$s.","wordpress-seo"),"<sitemap>","</sitemap>"),Object(o.sprintf)(
|
||
/* translators: %1$s expands to an opening tag. %2$s expands to a closing tag. */
|
||
Object(o.__)("%1$sRead why XML Sitemaps are important for your site%2$s.","wordpress-seo"),"<a>","</a>")].filter(Boolean).join(" "),{a:Object(n.createElement)("a",{id:"link-xml-sitemaps",href:r,target:"_blank",rel:"noopener noreferrer"}),sitemap:Object(n.createElement)("a",{id:"link-xml-sitemaps",href:t,target:"_blank",rel:"noreferrer"})}),[r,t,i]),h=Ln({link:"https://yoa.st/usage-tracking-2",
|
||
/* translators: %1$s expands to an opening tag. %2$s expands to a closing tag. */
|
||
content:Object(o.__)("Usage tracking allows us to track some data about your site to improve our plugin. %1$sAllow us to track some data about your site to improve our plugin%2$s.","wordpress-seo"),id:"link-usage-tracking"}),y=Ln({link:"https://yoa.st/index-now-feature",
|
||
/* translators: %1$s expands to an opening tag. %2$s expands to a closing tag. */
|
||
content:Object(o.__)("Automatically ping search engines like Bing and Yandex whenever you publish, update or delete a post. %1$sFind out how IndexNow can help your site%2$s.","wordpress-seo"),id:"link-usage-tracking"}),v=Ln({link:"https://yoa.st/inclusive-language-analysis",
|
||
/* translators: %1$s expands to an opening tag. %2$s expands to a closing tag. */
|
||
content:Object(o.__)("The inclusive language analysis offers suggestions to write more inclusive copy. %1$sDiscover why inclusive language is important for SEO%2$s.","wordpress-seo"),id:"link-inclusive-language-analysis"});return Object(n.createElement)(He,{title:Object(o.__)("Site preferences","wordpress-seo"),description:Object(o.__)("Tell us which features you want to use.","wordpress-seo")},Object(n.createElement)(Be,{title:Object(o.__)("Copywriting","wordpress-seo")},Object(n.createElement)(cn,{as:Cn,type:"checkbox",name:"wpseo.keyword_analysis_active","data-id":"input-wpseo-keyword_analysis_active",label:Object(o.__)("SEO analysis","wordpress-seo"),description:s}),Object(n.createElement)(cn,{as:Cn,type:"checkbox",name:"wpseo.content_analysis_active","data-id":"input-wpseo-content_analysis_active",label:Object(o.__)("Readability analysis","wordpress-seo"),description:l}),Object(n.createElement)(cn,{as:Cn,type:"checkbox",name:"wpseo.inclusive_language_analysis_active","data-id":"input-wpseo-inclusive_language_analysis_active",label:Object(o.__)("Inclusive language analysis","wordpress-seo"),labelSuffix:Object(n.createElement)(n.Fragment,null,Object(n.createElement)(c.Badge,{className:"yst-ml-1.5",size:"small",variant:"upsell"},"Premium"),Object(n.createElement)(c.Badge,{className:"yst-ml-1.5",size:"small",variant:"info"},"Beta")),description:v}),Object(n.createElement)(cn,{as:Cn,type:"checkbox",name:"wpseo.enable_metabox_insights","data-id":"input-wpseo-enable_metabox_insights",label:Object(o.__)("Insights","wordpress-seo"),description:u})),Object(n.createElement)("hr",{className:"yst-my-8"}),Object(n.createElement)(Be,{title:Object(o.__)("Site structure","wordpress-seo")},Object(n.createElement)(cn,{as:Cn,type:"checkbox",name:"wpseo.enable_cornerstone_content","data-id":"input-wpseo-enable_cornerstone_content",label:Object(o.__)("Cornerstone content","wordpress-seo"),description:p}),Object(n.createElement)(cn,{as:Cn,type:"checkbox",name:"wpseo.enable_text_link_counter","data-id":"input-wpseo-enable_text_link_counter",label:Object(o.__)("Text link counter","wordpress-seo"),description:d}),e&&Object(n.createElement)(cn,{as:Cn,type:"checkbox",name:"wpseo.enable_link_suggestions","data-id":"input-wpseo-enable_link_suggestions",label:Object(o.__)("Link suggestions","wordpress-seo"),labelSuffix:Object(n.createElement)(c.Badge,{className:"yst-ml-1.5",size:"small",variant:"upsell"},"Premium"),description:f})),Object(n.createElement)("hr",{className:"yst-my-8"}),Object(n.createElement)(Be,{id:"section-social-sharing",title:Object(o.__)("Social sharing","wordpress-seo")},Object(n.createElement)(c.Alert,{id:"alert-social-sharing"},Object(o.__)("Facebook, Twitter and Pinterest all use Facebook's Open Graph data, so be sure to keep the 'Open Graph data' setting below enabled if you want to optimize your site for these social platforms.","wordpress-seo")),Object(n.createElement)(cn,{as:Cn,type:"checkbox",name:"wpseo_social.opengraph","data-id":"input-wpseo_social-opengraph",label:Object(o.__)("Open Graph data","wordpress-seo"),description:Object(o.__)("Allows for Facebook and other social media to display a preview with images and a text excerpt when a link to your site is shared.","wordpress-seo")}),Object(n.createElement)(cn,{as:Cn,type:"checkbox",name:"wpseo_social.twitter","data-id":"input-wpseo_social-twitter",label:Object(o.__)("Twitter card data","wordpress-seo"),description:Object(o.__)("Allows for Twitter to display a preview with images and a text excerpt when a link to your site is shared.","wordpress-seo")}),Object(n.createElement)(cn,{as:Cn,type:"checkbox",name:"wpseo.enable_enhanced_slack_sharing","data-id":"input-wpseo-enable_enhanced_slack_sharing",label:Object(o.__)("Slack sharing","wordpress-seo"),description:m})),Object(n.createElement)("hr",{className:"yst-my-8"}),Object(n.createElement)(Be,{title:Object(o.__)("Tools","wordpress-seo")},Object(n.createElement)(cn,{as:Cn,type:"checkbox",name:"wpseo.enable_admin_bar_menu","data-id":"input-wpseo-enable_admin_bar_menu",label:Object(o.__)("Admin bar menu","wordpress-seo"),description:Object(o.__)("The Yoast SEO admin bar menu contains useful links to third-party tools for analyzing pages and makes it easy to see if you have new notifications.","wordpress-seo")})),Object(n.createElement)("hr",{className:"yst-my-8"}),Object(n.createElement)(Be,{title:Object(o.__)("APIs","wordpress-seo")},Object(n.createElement)(cn,{as:Cn,type:"checkbox",name:"wpseo.enable_headless_rest_endpoints","data-id":"input-wpseo-enable_headless_rest_endpoints",label:Object(o.__)("REST API endpoint","wordpress-seo"),description:Object(o.__)("This Yoast SEO REST API endpoint gives you all the metadata you need for a specific URL. This will make it very easy for headless WordPress sites to use Yoast SEO for all their SEO meta output.","wordpress-seo")}),Object(n.createElement)(cn,{as:Cn,type:"checkbox",name:"wpseo.enable_xml_sitemap","data-id":"input-wpseo-enable_xml_sitemap",label:Object(o.__)("XML sitemaps","wordpress-seo"),description:b}),e&&Object(n.createElement)(cn,{as:Cn,type:"checkbox",name:"wpseo.enable_index_now","data-id":"input-wpseo-enable_index_now",label:Object(o.__)("IndexNow","wordpress-seo"),labelSuffix:Object(n.createElement)(c.Badge,{className:"yst-ml-1.5",size:"small",variant:"upsell"},"Premium"),description:y})),Object(n.createElement)("hr",{className:"yst-my-8"}),Object(n.createElement)(Be,{title:Object(o.__)("Security & privacy","wordpress-seo")},Object(n.createElement)(cn,{as:Cn,type:"checkbox",name:"wpseo.disableadvanced_meta","data-id":"input-wpseo-disableadvanced_meta",label:Object(o.__)("Restrict advanced settings for authors","wordpress-seo"),description:Object(o.__)("By default only editors and administrators can access the Advanced - and Schema section of the Yoast SEO metabox. Disabling this allows access to all users.","wordpress-seo")}),Object(n.createElement)(cn,{as:Cn,type:"checkbox",name:"wpseo.tracking","data-id":"input-wpseo-tracking",label:Object(o.__)("Usage tracking","wordpress-seo"),description:h})))};r(219),r(220);const Vn=e=>{var t;let{postTypes:r,taxonomies:a,taxonomyName:i,idSuffix:s=""}=e;const o=Object(n.useMemo)(()=>Object(ee.get)(a,i,{}),[a,i]),l=Object(n.useMemo)(()=>Object(ee.get)(r,Object(ee.head)(o.postTypes),null),[r,o]),u=Object(n.useMemo)(()=>{const e=Object(ee.map)(a,"label");return Object(ee.indexOf)(e,o.label)===Object(ee.lastIndexOf)(e,o.label)},[a,o]);return Object(n.createElement)(yn.SubmenuItem,{to:"/taxonomy/"+o.route,label:Object(n.createElement)("div",{className:"yst-flex yst-w-full yst-justify-between yst-items-center"},Object(n.createElement)("span",null,o.label),!u&&l&&Object(n.createElement)("div",{className:"yst-flex yst-flex-wrap yst-justify-end yst-gap-1.5"},Object(n.createElement)(c.Badge,{variant:"plain",size:"small",className:"yst-border yst-border-gray-300"},null===(t=r[Object(ee.head)(o.postTypes)])||void 0===t?void 0:t.label),o.postTypes.length>1&&Object(n.createElement)(c.Badge,{variant:"plain",size:"small",className:"yst-border yst-border-gray-300"},"+",o.postTypes.length-1))),idSuffix:s})};Vn.propTypes={postTypes:Ue.a.object.isRequired,taxonomies:Ue.a.object.isRequired,taxonomyName:Ue.a.string.isRequired,idSuffix:Ue.a.string};const Dn=e=>{let{postTypes:t,taxonomies:r,idSuffix:a=""}=e;return Object(n.createElement)(n.Fragment,null,Object(n.createElement)("figure",{className:"yst-w-44 yst-px-3 yst-mb-12"},Object(n.createElement)(On,null)),Object(n.createElement)(yn.MenuItem,{id:"menu-site-settings"+(a&&"-"+a),icon:Ce,label:Object(o.__)("Site settings","wordpress-seo")},Object(n.createElement)(yn.SubmenuItem,{to:"/site-defaults",label:Object(o.__)("Site defaults","wordpress-seo"),idSuffix:a}),Object(n.createElement)(yn.SubmenuItem,{to:"/site-preferences",label:Object(o.__)("Site preferences","wordpress-seo"),idSuffix:a})),Object(n.createElement)(yn.MenuItem,{id:"menu-content-settings"+(a&&"-"+a),icon:Le,label:Object(o.__)("Content settings","wordpress-seo")},Object(n.createElement)(yn.SubmenuItem,{to:"/homepage",label:Object(o.__)("Homepage","wordpress-seo"),idSuffix:a}),Object(ee.map)(t,e=>{let{name:t,route:r,label:i}=e;return Object(n.createElement)(yn.SubmenuItem,{key:"link-post-type-"+t,to:"/post-type/"+r,label:i,idSuffix:a})})),Object(n.createElement)(yn.MenuItem,{id:"menu-content-settings"+(a&&"-"+a),icon:Fe,label:Object(o.__)("Taxonomy settings","wordpress-seo")},Object(ee.map)(r,e=>{let{name:a}=e;return Object(n.createElement)(Vn,{key:"link-taxonomy-"+a,postTypes:t,taxonomies:r,taxonomyName:a})})),Object(n.createElement)(yn.MenuItem,{id:"menu-advanced-settings"+(a&&"-"+a),icon:Ve,label:Object(o.__)("Advanced settings","wordpress-seo")},Object(n.createElement)(yn.SubmenuItem,{to:"/rss",label:Object(o.__)("RSS","wordpress-seo"),idSuffix:a})))};Dn.propTypes={postTypes:Ue.a.object.isRequired,taxonomies:Ue.a.object.isRequired,idSuffix:Ue.a.string};var Un=()=>{const{pathname:e}=Ee(),t=Qr("selectPostTypes"),r=Qr("selectTaxonomies");return(()=>{const{hash:e,pathname:t}=Ee();Object(n.useEffect)(()=>{const t=document.getElementById(e.replace("#",""));if(t)window.scrollTo({top:t.getBoundingClientRect().top+window.scrollY-96,behavior:"smooth"}),setTimeout(()=>t.focus(),1e3);else{const e=document.getElementById("yoast-seo-settings");null==e||e.scrollIntoView({behavior:"smooth"})}},[t,e])})(),Object(n.createElement)(n.Fragment,null,Object(n.createElement)(pn,null),Object(n.createElement)(yn,{activePath:e},Object(n.createElement)(yn.Mobile,{openButtonScreenReaderText:Object(o.__)("Open sidebar","wordpress-seo"),closeButtonScreenReaderText:Object(o.__)("Close sidebar","wordpress-seo")},Object(n.createElement)(Dn,{idSuffix:"mobile",postTypes:t,taxonomies:r})),Object(n.createElement)("div",{className:"yst-flex md:yst-gap-4 yst-p-4 md:yst-p-8"},Object(n.createElement)("aside",{className:"yst-hidden md:yst-block yst-flex-shrink-0 yst-w-56 lg:yst-w-64"},Object(n.createElement)(yn.Sidebar,null,Object(n.createElement)(Dn,{postTypes:t,taxonomies:r}))),Object(n.createElement)("main",{className:"yst-flex-grow"},Object(n.createElement)(Re,null,Object(n.createElement)(ke,{path:"homepage",element:Object(n.createElement)(Rn,null)}),Object(n.createElement)(ke,{path:"rss",element:Object(n.createElement)(An,null)}),Object(n.createElement)(ke,{path:"site-defaults",element:Object(n.createElement)(Mn,null)}),Object(n.createElement)(ke,{path:"site-preferences",element:Object(n.createElement)(Fn,null)}),Object(n.createElement)(ke,{path:"post-type"},Object(ee.map)(t,e=>Object(n.createElement)(ke,{key:"route-post-type-"+e.name,path:e.route,element:Object(n.createElement)(Sn,e)}))),Object(n.createElement)(ke,{path:"taxonomy"},Object(ee.map)(r,e=>Object(n.createElement)(ke,{key:"route-taxonomy-"+e.name,path:e.route,element:Object(n.createElement)(Tn,e)}))),Object(n.createElement)(ke,{path:"*",element:Object(n.createElement)(Te,{to:"/site-preferences",replace:!0})}))))))};const qn=async e=>{const{endpoint:t,nonce:r}=Object(ee.get)(window,"wpseoScriptData",{}),{addNotification:n}=Object(s.dispatch)(rr),a=new FormData;a.set("option_page","wpseo_settings"),a.set("_wp_http_referer","admin.php?page=wpseo_settings_saved"),a.set("action","update"),a.set("_wpnonce",r),Object(ee.forEach)(e,(e,t)=>{Object(ee.isObject)(e)?Object(ee.forEach)(e,(e,r)=>{Object(ee.isArray)(e)?Object(ee.forEach)(e,(e,n)=>a.set(`${t}[${r}][${n}]`,e)):a.set(`${t}[${r}]`,e)}):a.set(t,e)});try{return await fetch(t,{method:"POST",body:new URLSearchParams(a)}),n({id:"submit-success",variant:"success",title:Object(o.__)("Great! Your settings were saved successfully.","wordpress-seo")}),!0}catch(e){return n({id:"submit-error",variant:"error",title:Object(o.__)("Oops! Something went wrong while saving.","wordpress-seo")}),console.error(e.message),!1}};i()(()=>{const e=document.getElementById("yoast-seo-settings");if(!e)return;const t=document.createElement("div"),r=t.attachShadow({mode:"open"});document.body.appendChild(t);const a=Object(ee.get)(window,"wpseoScriptData.settings",{});(function(){let{initialState:e={}}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};Object(s.register)(Zr({initialState:e}))})(),(async e=>{const t=Object(ee.get)(e,"wpseo_titles",{}),r=Object(ee.filter)([Object(ee.get)(e,"wpseo_social.og_default_image_id",0),Object(ee.get)(e,"wpseo_titles.open_graph_frontpage_image_id",0),...Object(ee.reduce)(t,(e,t,r)=>Object(ee.includes)(r,"social-image-id")?[...e,t]:e,[])],Boolean),n=Object(ee.chunk)(r,100),{fetchMedia:a}=Object(s.dispatch)(rr);Object(ee.forEach)(n,a)})(a);const i=Object(s.select)(rr).selectPreference("isRtl",!1);Object(n.render)(Object(n.createElement)(c.Root,{context:{isRtl:i}},Object(n.createElement)(Me.StyleSheetManager,{target:r},Object(n.createElement)(Ne,null,Object(n.createElement)(H,{initialValues:a,validationSchema:nr(a),onSubmit:qn},Object(n.createElement)(Un,null))))),e)})},271:function(e,t,r){"use strict";r.d(t,"a",(function(){return M}));var n=r(3),a=r.n(n),i=r(24),s=r(50),o=r(29),c=r(93),l=r(31);function u(){let e=Object(n.useRef)(!1);return Object(l.a)(()=>(e.current=!0,()=>{e.current=!1}),[]),e}var p=r(57),d=r(129),f=r(82),m=r(73);function b(e,...t){e&&t.length>0&&e.classList.add(...t)}function h(e,...t){e&&t.length>0&&e.classList.remove(...t)}var y,v=((y=v||{}).Ended="ended",y.Cancelled="cancelled",y);var O=r(121),g=r(30);function j(e=""){return e.split(" ").filter(e=>e.trim().length>1)}let w=Object(n.createContext)(null);w.displayName="TransitionContext";var _,E=((_=E||{}).Visible="visible",_.Hidden="hidden",_);let S=Object(n.createContext)(null);function x(e){return"children"in e?x(e.children):e.current.filter(({state:e})=>"visible"===e).length>0}function T(e){let t=Object(p.a)(e),r=Object(n.useRef)([]),a=u(),s=Object(g.a)((e,n=i.b.Hidden)=>{let s=r.current.findIndex(({id:t})=>t===e);-1!==s&&(Object(o.a)(n,{[i.b.Unmount](){r.current.splice(s,1)},[i.b.Hidden](){r.current[s].state="hidden"}}),function(e){"function"==typeof queueMicrotask?queueMicrotask(e):Promise.resolve().then(e).catch(e=>setTimeout(()=>{throw e}))}(()=>{var e;!x(r)&&a.current&&(null==(e=t.current)||e.call(t))}))}),c=Object(g.a)(e=>{let t=r.current.find(({id:t})=>t===e);return t?"visible"!==t.state&&(t.state="visible"):r.current.push({id:e,state:"visible"}),()=>s(e,i.b.Unmount)});return Object(n.useMemo)(()=>({children:r,register:c,unregister:s}),[c,s,r])}function k(){}S.displayName="NestingContext";let $=["beforeEnter","afterEnter","beforeLeave","afterLeave"];function R(e){var t;let r={};for(let n of $)r[n]=null!=(t=e[n])?t:k;return r}let P=i.a.RenderStrategy,A=Object(i.d)((function(e,t){let{beforeEnter:r,afterEnter:y,beforeLeave:_,afterLeave:E,enter:k,enterFrom:$,enterTo:A,entered:N,leave:I,leaveFrom:M,leaveTo:C,...L}=e,F=Object(n.useRef)(null),V=Object(f.a)(F,t),[D,U]=Object(n.useState)("visible"),q=L.unmount?i.b.Unmount:i.b.Hidden,{show:B,appear:z,initial:H}=function(){let e=Object(n.useContext)(w);if(null===e)throw new Error("A <Transition.Child /> is used but it is missing a parent <Transition /> or <Transition.Root />.");return e}(),{register:Y,unregister:W}=function(){let e=Object(n.useContext)(S);if(null===e)throw new Error("A <Transition.Child /> is used but it is missing a parent <Transition /> or <Transition.Root />.");return e}(),K=Object(n.useRef)(null),G=Object(c.a)();Object(n.useEffect)(()=>{if(G)return Y(G)},[Y,G]),Object(n.useEffect)(()=>{if(q===i.b.Hidden&&G){if(B&&"visible"!==D)return void U("visible");Object(o.a)(D,{hidden:()=>W(G),visible:()=>Y(G)})}},[D,G,Y,W,B,q]);let X=Object(p.a)({enter:j(k),enterFrom:j($),enterTo:j(A),entered:j(N),leave:j(I),leaveFrom:j(M),leaveTo:j(C)}),J=function(e){let t=Object(n.useRef)(R(e));return Object(n.useEffect)(()=>{t.current=R(e)},[e]),t}({beforeEnter:r,afterEnter:y,beforeLeave:_,afterLeave:E}),Q=Object(d.a)();Object(n.useEffect)(()=>{if(Q&&"visible"===D&&null===F.current)throw new Error("Did you forget to passthrough the `ref` to the actual DOM node?")},[F,D,Q]);let Z=H&&!z,ee=!Q||Z||K.current===B?"idle":B?"enter":"leave",te=Object(n.useRef)(!1),re=T(()=>{te.current||(U("hidden"),W(G))});(function({container:e,direction:t,classes:r,events:n,onStart:a,onStop:i}){let s=u(),c=Object(O.a)(),d=Object(p.a)(t),f=Object(g.a)(()=>Object(o.a)(d.current,{enter:()=>n.current.beforeEnter(),leave:()=>n.current.beforeLeave(),idle:()=>{}})),y=Object(g.a)(()=>Object(o.a)(d.current,{enter:()=>n.current.afterEnter(),leave:()=>n.current.afterLeave(),idle:()=>{}}));Object(l.a)(()=>{let t=Object(m.a)();c.add(t.dispose);let n=e.current;if(n&&"idle"!==d.current&&s.current)return t.dispose(),f(),a.current(d.current),t.add(function(e,t,r,n){let a=r?"enter":"leave",i=Object(m.a)(),s=void 0!==n?function(e){let t={called:!1};return(...r)=>{if(!t.called)return t.called=!0,e(...r)}}(n):()=>{},c=Object(o.a)(a,{enter:()=>t.enter,leave:()=>t.leave}),l=Object(o.a)(a,{enter:()=>t.enterTo,leave:()=>t.leaveTo}),u=Object(o.a)(a,{enter:()=>t.enterFrom,leave:()=>t.leaveFrom});return h(e,...t.enter,...t.enterTo,...t.enterFrom,...t.leave,...t.leaveFrom,...t.leaveTo,...t.entered),b(e,...c,...u),i.nextFrame(()=>{h(e,...u),b(e,...l),function(e,t){let r=Object(m.a)();if(!e)return r.dispose;let{transitionDuration:n,transitionDelay:a}=getComputedStyle(e),[i,s]=[n,a].map(e=>{let[t=0]=e.split(",").filter(Boolean).map(e=>e.includes("ms")?parseFloat(e):1e3*parseFloat(e)).sort((e,t)=>t-e);return t});if(i+s!==0){let n=[];n.push(r.addEventListener(e,"transitionrun",a=>{a.target===a.currentTarget&&(n.splice(0).forEach(e=>e()),n.push(r.addEventListener(e,"transitionend",e=>{e.target===e.currentTarget&&(t("ended"),n.splice(0).forEach(e=>e()))}),r.addEventListener(e,"transitioncancel",e=>{e.target===e.currentTarget&&(t("cancelled"),n.splice(0).forEach(e=>e()))})))}))}else t("ended");r.add(()=>t("cancelled")),r.dispose}(e,r=>("ended"===r&&(h(e,...c),b(e,...t.entered)),s(r)))}),i.dispose}(n,r.current,"enter"===d.current,e=>{t.dispose(),Object(o.a)(e,{[v.Ended](){y(),i.current(d.current)},[v.Cancelled]:()=>{}})})),t.dispose},[t])})({container:F,classes:X,events:J,direction:ee,onStart:Object(p.a)(()=>{te.current=!0}),onStop:Object(p.a)(e=>{te.current=!1,"leave"===e&&!x(re)&&(U("hidden"),W(G))})}),Object(n.useEffect)(()=>{!Z||(q===i.b.Hidden?K.current=null:K.current=B)},[B,Z,D]);let ne=L,ae={ref:V};return a.a.createElement(S.Provider,{value:re},a.a.createElement(s.a,{value:Object(o.a)(D,{visible:s.b.Open,hidden:s.b.Closed})},Object(i.e)({ourProps:ae,theirProps:ne,defaultTag:"div",features:P,visible:"visible"===D,name:"Transition.Child"})))})),N=Object(i.d)((function(e,t){let{show:r,appear:c=!1,unmount:u,...p}=e,m=Object(n.useRef)(null),b=Object(f.a)(m,t);Object(d.a)();let h=Object(s.c)();if(void 0===r&&null!==h&&(r=Object(o.a)(h,{[s.b.Open]:!0,[s.b.Closed]:!1})),![!0,!1].includes(r))throw new Error("A <Transition /> is used but it is missing a `show={true | false}` prop.");let[y,v]=Object(n.useState)(r?"visible":"hidden"),O=T(()=>{v("hidden")}),[g,j]=Object(n.useState)(!0),_=Object(n.useRef)([r]);Object(l.a)(()=>{!1!==g&&_.current[_.current.length-1]!==r&&(_.current.push(r),j(!1))},[_,r]);let E=Object(n.useMemo)(()=>({show:r,appear:c,initial:g}),[r,c,g]);Object(n.useEffect)(()=>{if(r)v("visible");else if(x(O)){let e=m.current;if(!e)return;let t=e.getBoundingClientRect();0===t.x&&0===t.y&&0===t.width&&0===t.height&&v("hidden")}else v("hidden")},[r,O]);let k={unmount:u};return a.a.createElement(S.Provider,{value:O},a.a.createElement(w.Provider,{value:E},Object(i.e)({ourProps:{...k,as:n.Fragment,children:a.a.createElement(A,{ref:b,...k,...p})},theirProps:{},defaultTag:n.Fragment,features:P,visible:"visible"===y,name:"Transition"})))})),I=Object(i.d)((function(e,t){let r=null!==Object(n.useContext)(w),i=null!==Object(s.c)();return a.a.createElement(a.a.Fragment,null,!r&&i?a.a.createElement(N,{ref:t,...e}):a.a.createElement(A,{ref:t,...e}))})),M=Object.assign(N,{Child:I,Root:N})},28:function(e,t){e.exports=window.yoast.replacementVariableEditor},29:function(e,t,r){"use strict";function n(e,t,...r){if(e in t){let n=t[e];return"function"==typeof n?n(...r):n}let a=new Error(`Tried to handle "${e}" but there is no handler defined. Only defined handlers are: ${Object.keys(t).map(e=>`"${e}"`).join(", ")}.`);throw Error.captureStackTrace&&Error.captureStackTrace(a,n),a}r.d(t,"a",(function(){return n}))},3:function(e,t){e.exports=window.React},30:function(e,t,r){"use strict";r.d(t,"a",(function(){return s}));var n=r(3),a=r.n(n),i=r(57);let s=function(e){let t=Object(i.a)(e);return a.a.useCallback((...e)=>t.current(...e),[t])}},31:function(e,t,r){"use strict";r.d(t,"a",(function(){return a}));var n=r(3);let a="undefined"!=typeof window?n.useLayoutEffect:n.useEffect},4:function(e,t){e.exports=window.lodash},50:function(e,t,r){"use strict";r.d(t,"a",(function(){return l})),r.d(t,"b",(function(){return o})),r.d(t,"c",(function(){return c}));var n=r(3),a=r.n(n);let i=Object(n.createContext)(null);i.displayName="OpenClosedContext";var s,o=((s=o||{})[s.Open=0]="Open",s[s.Closed=1]="Closed",s);function c(){return Object(n.useContext)(i)}function l({value:e,children:t}){return a.a.createElement(i.Provider,{value:e},t)}},57:function(e,t,r){"use strict";r.d(t,"a",(function(){return i}));var n=r(3),a=r(31);function i(e){let t=Object(n.useRef)(e);return Object(a.a)(()=>{t.current=e},[e]),t}},6:function(e,t){e.exports=window.wp.data},64:function(e,t){e.exports=window.wp.domReady},73:function(e,t,r){"use strict";function n(){let e=[],t=[],r={enqueue(e){t.push(e)},addEventListener:(e,t,n,a)=>(e.addEventListener(t,n,a),r.add(()=>e.removeEventListener(t,n,a))),requestAnimationFrame(...e){let t=requestAnimationFrame(...e);return r.add(()=>cancelAnimationFrame(t))},nextFrame:(...e)=>r.requestAnimationFrame(()=>r.requestAnimationFrame(...e)),setTimeout(...e){let t=setTimeout(...e);return r.add(()=>clearTimeout(t))},add:t=>(e.push(t),()=>{let r=e.indexOf(t);if(r>=0){let[t]=e.splice(r,1);t()}}),dispose(){for(let t of e.splice(0))t()},async workQueue(){for(let e of t.splice(0))await e()}};return r}r.d(t,"a",(function(){return n}))},74:function(e,t,r){"use strict";function n(e){for(var t=arguments.length,r=Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];throw Error("[Immer] minified error nr: "+e+(r.length?" "+r.map((function(e){return"'"+e+"'"})).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function a(e){return!!e&&!!e[H]}function i(e){return!!e&&(function(e){if(!e||"object"!=typeof e)return!1;var t=Object.getPrototypeOf(e);if(null===t)return!0;var r=Object.hasOwnProperty.call(t,"constructor")&&t.constructor;return r===Object||"function"==typeof r&&Function.toString.call(r)===Y}(e)||Array.isArray(e)||!!e[z]||!!e.constructor[z]||p(e)||d(e))}function s(e,t,r){void 0===r&&(r=!1),0===o(e)?(r?Object.keys:W)(e).forEach((function(n){r&&"symbol"==typeof n||t(n,e[n],e)})):e.forEach((function(r,n){return t(n,r,e)}))}function o(e){var t=e[H];return t?t.i>3?t.i-4:t.i:Array.isArray(e)?1:p(e)?2:d(e)?3:0}function c(e,t){return 2===o(e)?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function l(e,t,r){var n=o(e);2===n?e.set(t,r):3===n?(e.delete(t),e.add(r)):e[t]=r}function u(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}function p(e){return D&&e instanceof Map}function d(e){return U&&e instanceof Set}function f(e){return e.o||e.t}function m(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var t=K(e);delete t[H];for(var r=W(t),n=0;n<r.length;n++){var a=r[n],i=t[a];!1===i.writable&&(i.writable=!0,i.configurable=!0),(i.get||i.set)&&(t[a]={configurable:!0,writable:!0,enumerable:i.enumerable,value:e[a]})}return Object.create(Object.getPrototypeOf(e),t)}function b(e,t){return void 0===t&&(t=!1),y(e)||a(e)||!i(e)||(o(e)>1&&(e.set=e.add=e.clear=e.delete=h),Object.freeze(e),t&&s(e,(function(e,t){return b(t,!0)}),!0)),e}function h(){n(2)}function y(e){return null==e||"object"!=typeof e||Object.isFrozen(e)}function v(e){var t=G[e];return t||n(18,e),t}function O(){return F}function g(e,t){t&&(v("Patches"),e.u=[],e.s=[],e.v=t)}function j(e){w(e),e.p.forEach(E),e.p=null}function w(e){e===F&&(F=e.l)}function _(e){return F={p:[],l:F,h:e,m:!0,_:0}}function E(e){var t=e[H];0===t.i||1===t.i?t.j():t.O=!0}function S(e,t){t._=t.p.length;var r=t.p[0],a=void 0!==e&&e!==r;return t.h.g||v("ES5").S(t,e,a),a?(r[H].P&&(j(t),n(4)),i(e)&&(e=x(t,e),t.l||k(t,e)),t.u&&v("Patches").M(r[H].t,e,t.u,t.s)):e=x(t,r,[]),j(t),t.u&&t.v(t.u,t.s),e!==B?e:void 0}function x(e,t,r){if(y(t))return t;var n=t[H];if(!n)return s(t,(function(a,i){return T(e,n,t,a,i,r)}),!0),t;if(n.A!==e)return t;if(!n.P)return k(e,n.t,!0),n.t;if(!n.I){n.I=!0,n.A._--;var a=4===n.i||5===n.i?n.o=m(n.k):n.o;s(3===n.i?new Set(a):a,(function(t,i){return T(e,n,a,t,i,r)})),k(e,a,!1),r&&e.u&&v("Patches").R(n,r,e.u,e.s)}return n.o}function T(e,t,r,n,s,o){if(a(s)){var u=x(e,s,o&&t&&3!==t.i&&!c(t.D,n)?o.concat(n):void 0);if(l(r,n,u),!a(u))return;e.m=!1}if(i(s)&&!y(s)){if(!e.h.F&&e._<1)return;x(e,s),t&&t.A.l||k(e,s)}}function k(e,t,r){void 0===r&&(r=!1),e.h.F&&e.m&&b(t,r)}function $(e,t){var r=e[H];return(r?f(r):e)[t]}function R(e,t){if(t in e)for(var r=Object.getPrototypeOf(e);r;){var n=Object.getOwnPropertyDescriptor(r,t);if(n)return n;r=Object.getPrototypeOf(r)}}function P(e){e.P||(e.P=!0,e.l&&P(e.l))}function A(e){e.o||(e.o=m(e.t))}function N(e,t,r){var n=p(t)?v("MapSet").N(t,r):d(t)?v("MapSet").T(t,r):e.g?function(e,t){var r=Array.isArray(e),n={i:r?1:0,A:t?t.A:O(),P:!1,I:!1,D:{},l:t,t:e,k:null,o:null,j:null,C:!1},a=n,i=X;r&&(a=[n],i=J);var s=Proxy.revocable(a,i),o=s.revoke,c=s.proxy;return n.k=c,n.j=o,c}(t,r):v("ES5").J(t,r);return(r?r.A:O()).p.push(n),n}function I(e){return a(e)||n(22,e),function e(t){if(!i(t))return t;var r,n=t[H],a=o(t);if(n){if(!n.P&&(n.i<4||!v("ES5").K(n)))return n.t;n.I=!0,r=M(t,a),n.I=!1}else r=M(t,a);return s(r,(function(t,a){n&&function(e,t){return 2===o(e)?e.get(t):e[t]}(n.t,t)===a||l(r,t,e(a))})),3===a?new Set(r):r}(e)}function M(e,t){switch(t){case 2:return new Map(e);case 3:return Array.from(e)}return m(e)}function C(){function e(e,t){var r=i[e];return r?r.enumerable=t:i[e]=r={configurable:!0,enumerable:t,get:function(){var t=this[H];return X.get(t,e)},set:function(t){var r=this[H];X.set(r,e,t)}},r}function t(e){for(var t=e.length-1;t>=0;t--){var a=e[t][H];if(!a.P)switch(a.i){case 5:n(a)&&P(a);break;case 4:r(a)&&P(a)}}}function r(e){for(var t=e.t,r=e.k,n=W(r),a=n.length-1;a>=0;a--){var i=n[a];if(i!==H){var s=t[i];if(void 0===s&&!c(t,i))return!0;var o=r[i],l=o&&o[H];if(l?l.t!==s:!u(o,s))return!0}}var p=!!t[H];return n.length!==W(t).length+(p?0:1)}function n(e){var t=e.k;if(t.length!==e.t.length)return!0;var r=Object.getOwnPropertyDescriptor(t,t.length-1);if(r&&!r.get)return!0;for(var n=0;n<t.length;n++)if(!t.hasOwnProperty(n))return!0;return!1}var i={};!function(e,t){G[e]||(G[e]=t)}("ES5",{J:function(t,r){var n=Array.isArray(t),a=function(t,r){if(t){for(var n=Array(r.length),a=0;a<r.length;a++)Object.defineProperty(n,""+a,e(a,!0));return n}var i=K(r);delete i[H];for(var s=W(i),o=0;o<s.length;o++){var c=s[o];i[c]=e(c,t||!!i[c].enumerable)}return Object.create(Object.getPrototypeOf(r),i)}(n,t),i={i:n?5:4,A:r?r.A:O(),P:!1,I:!1,D:{},l:r,t:t,k:a,o:null,O:!1,C:!1};return Object.defineProperty(a,H,{value:i,writable:!0}),a},S:function(e,r,i){i?a(r)&&r[H].A===e&&t(e.p):(e.u&&function e(t){if(t&&"object"==typeof t){var r=t[H];if(r){var a=r.t,i=r.k,o=r.D,l=r.i;if(4===l)s(i,(function(t){t!==H&&(void 0!==a[t]||c(a,t)?o[t]||e(i[t]):(o[t]=!0,P(r)))})),s(a,(function(e){void 0!==i[e]||c(i,e)||(o[e]=!1,P(r))}));else if(5===l){if(n(r)&&(P(r),o.length=!0),i.length<a.length)for(var u=i.length;u<a.length;u++)o[u]=!1;else for(var p=a.length;p<i.length;p++)o[p]=!0;for(var d=Math.min(i.length,a.length),f=0;f<d;f++)i.hasOwnProperty(f)||(o[f]=!0),void 0===o[f]&&e(i[f])}}}}(e.p[0]),t(e.p))},K:function(e){return 4===e.i?r(e):n(e)}})}r.d(t,"a",(function(){return I})),r.d(t,"c",(function(){return C})),r.d(t,"d",(function(){return a})),r.d(t,"e",(function(){return i}));var L,F,V="undefined"!=typeof Symbol&&"symbol"==typeof Symbol("x"),D="undefined"!=typeof Map,U="undefined"!=typeof Set,q="undefined"!=typeof Proxy&&void 0!==Proxy.revocable&&"undefined"!=typeof Reflect,B=V?Symbol.for("immer-nothing"):((L={})["immer-nothing"]=!0,L),z=V?Symbol.for("immer-draftable"):"__$immer_draftable",H=V?Symbol.for("immer-state"):"__$immer_state",Y=("undefined"!=typeof Symbol&&Symbol.iterator,""+Object.prototype.constructor),W="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:void 0!==Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames,K=Object.getOwnPropertyDescriptors||function(e){var t={};return W(e).forEach((function(r){t[r]=Object.getOwnPropertyDescriptor(e,r)})),t},G={},X={get:function(e,t){if(t===H)return e;var r=f(e);if(!c(r,t))return function(e,t,r){var n,a=R(t,r);return a?"value"in a?a.value:null===(n=a.get)||void 0===n?void 0:n.call(e.k):void 0}(e,r,t);var n=r[t];return e.I||!i(n)?n:n===$(e.t,t)?(A(e),e.o[t]=N(e.A.h,n,e)):n},has:function(e,t){return t in f(e)},ownKeys:function(e){return Reflect.ownKeys(f(e))},set:function(e,t,r){var n=R(f(e),t);if(null==n?void 0:n.set)return n.set.call(e.k,r),!0;if(!e.P){var a=$(f(e),t),i=null==a?void 0:a[H];if(i&&i.t===r)return e.o[t]=r,e.D[t]=!1,!0;if(u(r,a)&&(void 0!==r||c(e.t,t)))return!0;A(e),P(e)}return e.o[t]===r&&"number"!=typeof r&&(void 0!==r||t in e.o)||(e.o[t]=r,e.D[t]=!0,!0)},deleteProperty:function(e,t){return void 0!==$(e.t,t)||t in e.t?(e.D[t]=!1,A(e),P(e)):delete e.D[t],e.o&&delete e.o[t],!0},getOwnPropertyDescriptor:function(e,t){var r=f(e),n=Reflect.getOwnPropertyDescriptor(r,t);return n?{writable:!0,configurable:1!==e.i||"length"!==t,enumerable:n.enumerable,value:r[t]}:n},defineProperty:function(){n(11)},getPrototypeOf:function(e){return Object.getPrototypeOf(e.t)},setPrototypeOf:function(){n(12)}},J={};s(X,(function(e,t){J[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}})),J.deleteProperty=function(e,t){return J.set.call(this,e,t,void 0)},J.set=function(e,t,r){return X.set.call(this,e[0],t,r,e[0])};var Q=new(function(){function e(e){var t=this;this.g=q,this.F=!0,this.produce=function(e,r,a){if("function"==typeof e&&"function"!=typeof r){var s=r;r=e;var o=t;return function(e){var t=this;void 0===e&&(e=s);for(var n=arguments.length,a=Array(n>1?n-1:0),i=1;i<n;i++)a[i-1]=arguments[i];return o.produce(e,(function(e){var n;return(n=r).call.apply(n,[t,e].concat(a))}))}}var c;if("function"!=typeof r&&n(6),void 0!==a&&"function"!=typeof a&&n(7),i(e)){var l=_(t),u=N(t,e,void 0),p=!0;try{c=r(u),p=!1}finally{p?j(l):w(l)}return"undefined"!=typeof Promise&&c instanceof Promise?c.then((function(e){return g(l,a),S(e,l)}),(function(e){throw j(l),e})):(g(l,a),S(c,l))}if(!e||"object"!=typeof e){if(void 0===(c=r(e))&&(c=e),c===B&&(c=void 0),t.F&&b(c,!0),a){var d=[],f=[];v("Patches").M(e,c,d,f),a(d,f)}return c}n(21,e)},this.produceWithPatches=function(e,r){if("function"==typeof e)return function(r){for(var n=arguments.length,a=Array(n>1?n-1:0),i=1;i<n;i++)a[i-1]=arguments[i];return t.produceWithPatches(r,(function(t){return e.apply(void 0,[t].concat(a))}))};var n,a,i=t.produce(e,r,(function(e,t){n=e,a=t}));return"undefined"!=typeof Promise&&i instanceof Promise?i.then((function(e){return[e,n,a]})):[i,n,a]},"boolean"==typeof(null==e?void 0:e.useProxies)&&this.setUseProxies(e.useProxies),"boolean"==typeof(null==e?void 0:e.autoFreeze)&&this.setAutoFreeze(e.autoFreeze)}var t=e.prototype;return t.createDraft=function(e){i(e)||n(8),a(e)&&(e=I(e));var t=_(this),r=N(this,e,void 0);return r[H].C=!0,w(t),r},t.finishDraft=function(e,t){var r=(e&&e[H]).A;return g(r,t),S(void 0,r)},t.setAutoFreeze=function(e){this.F=e},t.setUseProxies=function(e){e&&!q&&n(20),this.g=e},t.applyPatches=function(e,t){var r;for(r=t.length-1;r>=0;r--){var n=t[r];if(0===n.path.length&&"replace"===n.op){e=n.value;break}}r>-1&&(t=t.slice(r+1));var i=v("Patches").$;return a(e)?i(e,t):this.produce(e,(function(e){return i(e,t)}))},e}()),Z=Q.produce;Q.produceWithPatches.bind(Q),Q.setAutoFreeze.bind(Q),Q.setUseProxies.bind(Q),Q.applyPatches.bind(Q),Q.createDraft.bind(Q),Q.finishDraft.bind(Q),t.b=Z},78:function(e,t,r){"use strict";(function(e){r.d(t,"createEntityAdapter",(function(){return S})),r.d(t,"createSlice",(function(){return O})),r.d(t,"nanoid",(function(){return x}));var n,a=r(74),i=(r(144),r(202)),s=(r(218),n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function __(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)}),o=function(e,t){for(var r=0,n=t.length,a=e.length;r<n;r++,a++)e[a]=t[r];return e},c=Object.defineProperty,l=(Object.defineProperties,Object.getOwnPropertyDescriptors,Object.getOwnPropertySymbols),u=Object.prototype.hasOwnProperty,p=Object.prototype.propertyIsEnumerable,d=function(e,t,r){return t in e?c(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r},f=function(e,t){for(var r in t||(t={}))u.call(t,r)&&d(e,r,t[r]);if(l)for(var n=0,a=l(t);n<a.length;n++)r=a[n],p.call(t,r)&&d(e,r,t[r]);return e},m=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=i.a.apply(void 0,e),n=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return r.apply(void 0,o([Object(a.d)(e)?Object(a.a)(e):e],t))};return n};function b(e){return Object(a.e)(e)?Object(a.b)(e,(function(){})):e}function h(e,t){function r(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];if(t){var a=t.apply(void 0,r);if(!a)throw new Error("prepareAction did not return an object");return f(f({type:e,payload:a.payload},"meta"in a&&{meta:a.meta}),"error"in a&&{error:a.error})}return{type:e,payload:r[0]}}return r.toString=function(){return""+e},r.type=e,r.match=function(t){return t.type===e},r}function y(e){return["type","payload","error","meta"].indexOf(e)>-1}function v(e){var t,r={},n=[],a={addCase:function(e,t){var n="string"==typeof e?e:e.type;if(n in r)throw new Error("addCase cannot be called with two reducers for the same action type");return r[n]=t,a},addMatcher:function(e,t){return n.push({matcher:e,reducer:t}),a},addDefaultCase:function(e){return t=e,a}};return e(a),[r,n,t]}function O(e){var t=e.name;if(!t)throw new Error("`name` is a required option for createSlice");var r,n="function"==typeof e.initialState?e.initialState:b(e.initialState),i=e.reducers||{},s=Object.keys(i),c={},l={},u={};function p(){var t="function"==typeof e.extraReducers?v(e.extraReducers):[e.extraReducers],r=t[0],i=void 0===r?{}:r,s=t[1],c=void 0===s?[]:s,u=t[2],p=void 0===u?void 0:u,d=f(f({},i),l);return function(e,t,r,n){void 0===r&&(r=[]);var i,s="function"==typeof t?v(t):[t,r,n],c=s[0],l=s[1],u=s[2];if("function"==typeof e)i=function(){return b(e())};else{var p=b(e);i=function(){return p}}function d(e,t){void 0===e&&(e=i());var r=o([c[t.type]],l.filter((function(e){return(0,e.matcher)(t)})).map((function(e){return e.reducer})));return 0===r.filter((function(e){return!!e})).length&&(r=[u]),r.reduce((function(e,r){if(r){var n;if(Object(a.d)(e))return void 0===(n=r(e,t))?e:n;if(Object(a.e)(e))return Object(a.b)(e,(function(e){return r(e,t)}));if(void 0===(n=r(e,t))){if(null===e)return e;throw Error("A case reducer on a non-draftable value must not return undefined")}return n}return e}),e)}return d.getInitialState=i,d}(n,d,c,p)}return s.forEach((function(e){var r,n,a=i[e],s=t+"/"+e;"reducer"in a?(r=a.reducer,n=a.prepare):r=a,c[e]=r,l[s]=r,u[e]=n?h(s,n):h(s)})),{name:t,reducer:function(e,t){return r||(r=p()),r(e,t)},actions:u,caseReducers:c,getInitialState:function(){return r||(r=p()),r.getInitialState()}}}function g(e){return function(t,r){function n(e){return function(e){if("object"!=typeof e||null===e)return!1;var t=Object.getPrototypeOf(e);if(null===t)return!0;for(var r=t;null!==Object.getPrototypeOf(r);)r=Object.getPrototypeOf(r);return t===r}(t=e)&&"string"==typeof t.type&&Object.keys(t).every(y);var t}var i=function(t){n(r)?e(r.payload,t):e(r,t)};return Object(a.d)(t)?(i(t),t):Object(a.b)(t,i)}}function j(e,t){return t(e)}function w(e){return Array.isArray(e)||(e=Object.values(e)),e}function _(e,t,r){for(var n=[],a=[],i=0,s=e=w(e);i<s.length;i++){var o=s[i],c=j(o,t);c in r.entities?a.push({id:c,changes:o}):n.push(o)}return[n,a]}function E(e){function t(t,r){var n=j(t,e);n in r.entities||(r.ids.push(n),r.entities[n]=t)}function r(e,r){for(var n=0,a=e=w(e);n<a.length;n++)t(a[n],r)}function n(t,r){var n=j(t,e);n in r.entities||r.ids.push(n),r.entities[n]=t}function a(e,t){var r=!1;e.forEach((function(e){e in t.entities&&(delete t.entities[e],r=!0)})),r&&(t.ids=t.ids.filter((function(e){return e in t.entities})))}function i(t,r){var n={},a={};t.forEach((function(e){e.id in r.entities&&(a[e.id]={id:e.id,changes:f(f({},a[e.id]?a[e.id].changes:null),e.changes)})})),(t=Object.values(a)).length>0&&t.filter((function(t){return function(t,r,n){var a=n.entities[r.id],i=Object.assign({},a,r.changes),s=j(i,e),o=s!==r.id;return o&&(t[r.id]=s,delete n.entities[r.id]),n.entities[s]=i,o}(n,t,r)})).length>0&&(r.ids=r.ids.map((function(e){return n[e]||e})))}function s(t,n){var a=_(t,e,n),s=a[0];i(a[1],n),r(s,n)}return{removeAll:(o=function(e){Object.assign(e,{ids:[],entities:{}})},c=g((function(e,t){return o(t)})),function(e){return c(e,void 0)}),addOne:g(t),addMany:g(r),setOne:g(n),setMany:g((function(e,t){for(var r=0,a=e=w(e);r<a.length;r++)n(a[r],t)})),setAll:g((function(e,t){e=w(e),t.ids=[],t.entities={},r(e,t)})),updateOne:g((function(e,t){return i([e],t)})),updateMany:g(i),upsertOne:g((function(e,t){return s([e],t)})),upsertMany:g(s),removeOne:g((function(e,t){return a([e],t)})),removeMany:g(a)};var o,c}function S(e){void 0===e&&(e={});var t=f({sortComparer:!1,selectId:function(e){return e.id}},e),r=t.selectId,n=t.sortComparer,a={getInitialState:function(e){return void 0===e&&(e={}),Object.assign({ids:[],entities:{}},e)}},i={getSelectors:function(e){var t=function(e){return e.ids},r=function(e){return e.entities},n=m(t,r,(function(e,t){return e.map((function(e){return t[e]}))})),a=function(e,t){return t},i=function(e,t){return e[t]},s=m(t,(function(e){return e.length}));if(!e)return{selectIds:t,selectEntities:r,selectAll:n,selectTotal:s,selectById:m(r,a,i)};var o=m(e,r);return{selectIds:m(e,t),selectEntities:o,selectAll:m(e,n),selectTotal:m(e,s),selectById:m(o,a,i)}}},s=n?function(e,t){var r=E(e);function n(t,r){var n=(t=w(t)).filter((function(t){return!(j(t,e)in r.entities)}));0!==n.length&&o(n,r)}function a(e,t){0!==(e=w(e)).length&&o(e,t)}function i(t,r){for(var n=!1,a=0,i=t;a<i.length;a++){var s=i[a],o=r.entities[s.id];if(o){n=!0,Object.assign(o,s.changes);var l=e(o);s.id!==l&&(delete r.entities[s.id],r.entities[l]=o)}}n&&c(r)}function s(t,r){var a=_(t,e,r),s=a[0];i(a[1],r),n(s,r)}function o(t,r){t.forEach((function(t){r.entities[e(t)]=t})),c(r)}function c(r){var n=Object.values(r.entities);n.sort(t);var a=n.map(e);(function(e,t){if(e.length!==t.length)return!1;for(var r=0;r<e.length&&r<t.length;r++)if(e[r]!==t[r])return!1;return!0})(r.ids,a)||(r.ids=a)}return{removeOne:r.removeOne,removeMany:r.removeMany,removeAll:r.removeAll,addOne:g((function(e,t){return n([e],t)})),updateOne:g((function(e,t){return i([e],t)})),upsertOne:g((function(e,t){return s([e],t)})),setOne:g((function(e,t){return a([e],t)})),setMany:g(a),setAll:g((function(e,t){e=w(e),t.entities={},t.ids=[],n(e,t)})),addMany:g(n),updateMany:g(i),upsertMany:g(s)}}(r,n):E(r);return f(f(f({selectId:r,sortComparer:n},a),i),s)}"undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__,"undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION__&&window.__REDUX_DEVTOOLS_EXTENSION__,function(e){function t(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];var a=e.apply(this,r)||this;return Object.setPrototypeOf(a,t.prototype),a}s(t,e),Object.defineProperty(t,Symbol.species,{get:function(){return t},enumerable:!1,configurable:!0}),t.prototype.concat=function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return e.prototype.concat.apply(this,t)},t.prototype.prepend=function(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];return 1===e.length&&Array.isArray(e[0])?new(t.bind.apply(t,o([void 0],e[0].concat(this)))):new(t.bind.apply(t,o([void 0],e.concat(this))))}}(Array);var x=function(e){void 0===e&&(e=21);for(var t="",r=e;r--;)t+="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW"[64*Math.random()|0];return t};Object.assign;var T="listenerMiddleware";h(T+"/add"),h(T+"/removeAll"),h(T+"/remove"),Object(a.c)()}).call(this,r(207))},8:function(e,t){e.exports=window.yoast.styledComponents},82:function(e,t,r){"use strict";r.d(t,"a",(function(){return s}));var n=r(3),a=r(30);let i=Symbol();function s(...e){let t=Object(n.useRef)(e);Object(n.useEffect)(()=>{t.current=e},[e]);let r=Object(a.a)(e=>{for(let r of t.current)null!=r&&("function"==typeof r?r(e):r.current=e)});return e.every(e=>null==e||(null==e?void 0:e[i]))?void 0:r}},93:function(e,t,r){"use strict";r.d(t,"a",(function(){return u}));var n,a=r(3),i=r.n(a),s=r(31),o=r(129);let c=0;function l(){return++c}let u=null!=(n=i.a.useId)?n:function(){let e=Object(o.a)(),[t,r]=i.a.useState(e?l:null);return Object(s.a)(()=>{null===t&&r(l())},[t]),null!=t?""+t:void 0}}}); |