!function(e){var t={};function r(s){if(t[s])return t[s].exports;var a=t[s]={i:s,l:!1,exports:{}};return e[s].call(a.exports,a,a.exports,r),a.l=!0,a.exports}r.m=e,r.c=t,r.d=function(e,t,s){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:s})},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 s=Object.create(null);if(r.r(s),Object.defineProperty(s,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var a in e)r.d(s,a,function(t){return e[t]}.bind(null,a));return s},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=282)}([function(e,t){e.exports=window.wp.element},function(e,t){e.exports=window.wp.i18n},function(e,t){e.exports=window.yoast.propTypes},function(e,t){e.exports=window.React},function(e,t){e.exports=window.lodash},function(e,t){e.exports=window.wp.data},,function(e,t){e.exports=window.yoast.uiLibrary},,,function(e,t,r){"use strict";r.d(t,"a",(function(){return s})),r.d(t,"b",(function(){return a})),r.d(t,"c",(function(){return n}));const s={request:"request",success:"success",error:"error"},a={idle:"idle",loading:"loading",success:"success",error:"error"},n={showPlay:"showPlay",askPermission:"askPermission",isPlaying:"isPlaying"}},function(e,t){e.exports=window.yoast.styledComponents},function(e,t){function r(){return e.exports=r=Object.assign||function(e){for(var t=1;tt.current(...e),[t])}},function(e,t,r){"use strict";r.d(t,"a",(function(){return o})),r.d(t,"e",(function(){return l})),r.d(t,"k",(function(){return c})),r.d(t,"i",(function(){return d})),r.d(t,"j",(function(){return u})),r.d(t,"b",(function(){return p})),r.d(t,"f",(function(){return b})),r.d(t,"n",(function(){return f})),r.d(t,"l",(function(){return h})),r.d(t,"m",(function(){return y})),r.d(t,"c",(function(){return _})),r.d(t,"g",(function(){return O})),r.d(t,"q",(function(){return j})),r.d(t,"o",(function(){return g})),r.d(t,"p",(function(){return v})),r.d(t,"d",(function(){return k})),r.d(t,"h",(function(){return T})),r.d(t,"u",(function(){return L})),r.d(t,"r",(function(){return P})),r.d(t,"s",(function(){return R})),r.d(t,"t",(function(){return I}));var s=r(13),a=r(15),n=r(4);const o="linkParams",i=Object(s.createSlice)({name:o,initialState:{},reducers:{setLinkParams:(e,t)=>{let{payload:r}=t;return r}}}),l=i.getInitialState,c={selectLinkParam:function(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return Object(n.get)(e,`${o}.${t}`,r)},selectLinkParams:e=>Object(n.get)(e,o,{})};c.selectLink=Object(s.createSelector)([c.selectLinkParams,(e,t)=>t],(e,t)=>Object(a.addQueryArgs)(t,e));const d=i.actions,u=i.reducer,p="notifications",m=Object(s.createSlice)({name:p,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:a="default",title:n,description:o}=e;return{payload:{id:t||Object(s.nanoid)(),variant:r,size:a,title:n||"",description:o}}}},removeNotification:(e,t)=>{let{payload:r}=t;return Object(n.omit)(e,r)}}}),b=m.getInitialState,f={selectNotifications:e=>Object(n.get)(e,p,{}),selectNotification:(e,t)=>Object(n.get)(e,[p,t],null)},h=m.actions,y=m.reducer,_="pluginUrl",w=Object(s.createSlice)({name:_,initialState:"",reducers:{setPluginUrl:(e,t)=>{let{payload:r}=t;return r}}}),O=w.getInitialState,j={selectPluginUrl:e=>Object(n.get)(e,_,"")};j.selectImageLink=Object(s.createSelector)([j.selectPluginUrl,function(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"images";return r},(e,t)=>t],(e,t,r)=>[Object(n.trimEnd)(e,"/"),Object(n.trim)(t,"/"),Object(n.trimStart)(r,"/")].join("/"));const g=w.actions,v=w.reducer;var E=r(25),x=r.n(E),S=r(10);const k="wistiaEmbedPermission",F=Object(s.createSlice)({name:k,initialState:{value:!1,status:S.b.idle,error:{}},reducers:{setWistiaEmbedPermissionValue:(e,t)=>{let{payload:r}=t;e.value=Boolean(r)}},extraReducers:e=>{e.addCase(`${k}/${S.a.request}`,e=>{e.status=S.b.loading}),e.addCase(`${k}/${S.a.success}`,(e,t)=>{let{payload:r}=t;e.status=S.b.success,e.value=Boolean(r.value)}),e.addCase(`${k}/${S.a.error}`,(e,t)=>{var r,s;let{payload:a}=t;console.error(`${null===(r=a.error)||void 0===r?void 0:r.code}: ${null===(s=a.error)||void 0===s?void 0:s.message}`),e.status=S.b.error,e.value=Boolean(a.value),e.error=a.error})}}),T=F.getInitialState,L={selectWistiaEmbedPermission:e=>Object(n.get)(e,k,{value:!1,status:S.b.idle}),selectWistiaEmbedPermissionValue:e=>Object(n.get)(e,[k,"value"],!1),selectWistiaEmbedPermissionStatus:e=>Object(n.get)(e,[k,"status"],S.b.idle),selectWistiaEmbedPermissionError:e=>Object(n.get)(e,[k,"error"],{})},P={...F.actions,setWistiaEmbedPermission:function*(e){yield{type:`${k}/${S.a.request}`};try{return yield{type:k,payload:e},{type:`${k}/${S.a.success}`,payload:{value:e}}}catch(t){return{type:`${k}/${S.a.error}`,payload:{error:t,value:e}}}}},R={[k]:async e=>{let{payload:t=!0}=e;return x()({path:"/yoast/v1/wistia_embed_permission",method:"POST",data:{value:t}})}},I=F.reducer},function(e,t){e.exports=window.wp.apiFetch},function(e,t,r){"use strict";r.d(t,"a",(function(){return l})),r.d(t,"b",(function(){return c})),r.d(t,"c",(function(){return b})),r.d(t,"d",(function(){return m})),r.d(t,"e",(function(){return d}));var s,a,n=r(3),o=r(155),i=r(35),l=((a=l||{})[a.None=0]="None",a[a.RenderStrategy=1]="RenderStrategy",a[a.Static=2]="Static",a),c=((s=c||{})[s.Unmount=0]="Unmount",s[s.Hidden=1]="Hidden",s);function d({ourProps:e,theirProps:t,slot:r,defaultTag:s,features:a,visible:n=!0,name:o}){let l=p(t,e);if(n)return u(l,r,s,o);let c=null!=a?a:0;if(2&c){let{static:e=!1,...t}=l;if(e)return u(t,r,s,o)}if(1&c){let{unmount:e=!0,...t}=l;return Object(i.a)(e?0:1,{0:()=>null,1:()=>u({...t,hidden:!0,style:{display:"none"}},r,s,o)})}return u(l,r,s,o)}function u(e,t={},r,s){var a;let{as:i=r,children:l,refName:c="ref",...d}=f(e,["unmount","static"]),u=void 0!==e.ref?{[c]:e.ref}:{},m="function"==typeof l?l(t):l;d.className&&"function"==typeof d.className&&(d.className=d.className(t));let h={};if(t){let e=!1,r=[];for(let[s,a]of Object.entries(t))"boolean"==typeof a&&(e=!0),!0===a&&r.push(s);e&&(h["data-headlessui-state"]=r.join(" "))}if(i===n.Fragment&&Object.keys(b(d)).length>0){if(!Object(n.isValidElement)(m)||Array.isArray(m)&&m.length>1)throw new Error(['Passing props on "Fragment"!',"",`The current component <${s} /> is rendering a "Fragment".`,"However we need to passthrough the following props:",Object.keys(d).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"));let e=Object(o.a)(null==(a=m.props)?void 0:a.className,d.className),t=e?{className:e}:{};return Object(n.cloneElement)(m,Object.assign({},p(m.props,b(f(d,["ref"]))),h,u,function(...e){return{ref:e.every(e=>null==e)?void 0:t=>{for(let r of e)null!=r&&("function"==typeof r?r(t):r.current=t)}}}(m.ref,u.ref),t))}return Object(n.createElement)(i,Object.assign({},f(d,["ref"]),i!==n.Fragment&&u,i!==n.Fragment&&h),m)}function p(...e){if(0===e.length)return{};if(1===e.length)return e[0];let t={},r={};for(let s of e)for(let e in s)e.startsWith("on")&&"function"==typeof s[e]?(null!=r[e]||(r[e]=[]),r[e].push(s[e])):t[e]=s[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,...s){let a=r[e];for(let e of a){if((t instanceof Event||(null==t?void 0:t.nativeEvent)instanceof Event)&&t.defaultPrevented)return;e(t,...s)}}});return t}function m(e){var t;return Object.assign(Object(n.forwardRef)(e),{displayName:null!=(t=e.displayName)?t:e.name})}function b(e){let t=Object.assign({},e);for(let e in t)void 0===t[e]&&delete t[e];return t}function f(e,t=[]){let r=Object.assign({},e);for(let e of t)e in r&&delete r[e];return r}},function(e,t,r){"use strict";r.d(t,"b",(function(){return a})),r.d(t,"a",(function(){return n}));var s=r(0);function a(e){return e.charAt(0).toUpperCase()+e.slice(1)}function n(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return Object(s.createInterpolateElement)(e,{a:Object(s.createElement)("a",{id:r,href:t,target:"_blank",rel:"noopener noreferrer"})})}},,,,function(e,t,r){var s;!function(){"use strict";var r={}.hasOwnProperty;function a(){for(var e=[],t=0;t{a.a.isServer?Object(s.useEffect)(e,t):Object(s.useLayoutEffect)(e,t)}},,function(e,t,r){"use strict";function s(e,t,...r){if(e in t){let s=t[e];return"function"==typeof s?s(...r):s}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,s),a}r.d(t,"a",(function(){return s}))},function(e,t,r){"use strict";r.d(t,"a",(function(){return a})),r.d(t,"b",(function(){return n}));var s,a=((s=a||{})[s.First=0]="First",s[s.Previous=1]="Previous",s[s.Next=2]="Next",s[s.Last=3]="Last",s[s.Specific=4]="Specific",s[s.Nothing=5]="Nothing",s);function n(e,t){let r=t.resolveItems();if(r.length<=0)return null;let s=t.resolveActiveIndex(),a=null!=s?s:-1,n=(()=>{switch(e.focus){case 0:return r.findIndex(e=>!t.resolveDisabled(e));case 1:{let e=r.slice().reverse().findIndex((e,r,s)=>!(-1!==a&&s.length-r-1>=a||t.resolveDisabled(e)));return-1===e?e:r.length-1-e}case 2:return r.findIndex((e,r)=>!(r<=a||t.resolveDisabled(e)));case 3:{let e=r.slice().reverse().findIndex(e=>!t.resolveDisabled(e));return-1===e?e:r.length-1-e}case 4:return r.findIndex(r=>t.resolveId(r)===e.id);case 5:return null;default:!function(e){throw new Error("Unexpected object: "+e)}(e)}})();return-1===n?s:n}},function(e,t,r){"use strict";r.d(t,"a",(function(){return a}));var s,a=((s=a||{}).Space=" ",s.Enter="Enter",s.Escape="Escape",s.Backspace="Backspace",s.Delete="Delete",s.ArrowLeft="ArrowLeft",s.ArrowUp="ArrowUp",s.ArrowRight="ArrowRight",s.ArrowDown="ArrowDown",s.Home="Home",s.End="End",s.PageUp="PageUp",s.PageDown="PageDown",s.Tab="Tab",s)},,,,,,,,,,,function(e,t,r){"use strict";r.d(t,"a",(function(){return c})),r.d(t,"b",(function(){return i})),r.d(t,"c",(function(){return l}));var s=r(3),a=r.n(s);let n=Object(s.createContext)(null);n.displayName="OpenClosedContext";var o,i=((o=i||{})[o.Open=0]="Open",o[o.Closed=1]="Closed",o);function l(){return Object(s.useContext)(n)}function c({value:e,children:t}){return a.a.createElement(n.Provider,{value:e},t)}},,function(e,t,r){"use strict";r.d(t,"a",(function(){return n}));var s=r(3),a=r(33);function n(e){let t=Object(s.useRef)(e);return Object(a.a)(()=>{t.current=e},[e]),t}},,function(e,t){e.exports=window.wp.domReady},,,,,,,function(e,t,r){"use strict";function s(){let e=[],t=[],r={enqueue(e){t.push(e)},addEventListener:(e,t,s,a)=>(e.addEventListener(t,s,a),r.add(()=>e.removeEventListener(t,s,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))},microTask(...e){let t={current:!0};return function(e){"function"==typeof queueMicrotask?queueMicrotask(e):Promise.resolve().then(e).catch(e=>setTimeout(()=>{throw e}))}(()=>{t.current&&e[0]()}),r.add(()=>{t.current=!1})},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 s}))},,,,function(e,t,r){"use strict";r.d(t,"a",(function(){return n}));var s=Object.defineProperty,a=(e,t,r)=>(((e,t,r)=>{t in e?s(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r})(e,"symbol"!=typeof t?t+"":t,r),r);let n=new class{constructor(){a(this,"current",this.detect()),a(this,"handoffState","pending"),a(this,"currentId",0)}set(e){this.current!==e&&(this.handoffState="pending",this.currentId=0,this.current=e)}reset(){this.set(this.detect())}nextId(){return++this.currentId}get isServer(){return"server"===this.current}get isClient(){return"client"===this.current}detect(){return"undefined"==typeof window||"undefined"==typeof document?"server":"client"}handoff(){"pending"===this.handoffState&&(this.handoffState="complete")}get isHandoffComplete(){return"complete"===this.handoffState}}},,,,,,,,function(e,t,r){"use strict";r.d(t,"a",(function(){return o}));var s=r(3),a=r(23);let n=Symbol();function o(...e){let t=Object(s.useRef)(e);Object(s.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[n]))?void 0:r}},,,,,,,,,,function(e,t,r){"use strict";r.d(t,"a",(function(){return n}));var s=r(3),a=r(59);function n(){let[e]=Object(s.useState)(a.a);return Object(s.useEffect)(()=>()=>e.dispose(),[e]),e}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a=Object.assign||function(e){for(var t=1;t1?t-1:0),s=1;se.height),d(m,this.animationStateClasses.animatingToHeightZero,0===j.height),d(m,this.animationStateClasses.animatingToHeightAuto,"auto"===j.height),d(m,this.animationStateClasses.animatingToHeightSpecific,j.height>0),m)),E=this.getStaticStateClasses(j.height);this.setState({animationStateClasses:v,height:O,overflow:"hidden",shouldUseTransitions:!g}),clearTimeout(this.timeoutID),clearTimeout(this.animationClassesTimeoutID),g?(j.shouldUseTransitions=!0,b(this.animationFrameIDs),this.animationFrameIDs=(r=function(){a.setState(j),y(p,{newHeight:j.height})},(s=[])[0]=requestAnimationFrame((function(){s[1]=requestAnimationFrame((function(){r()}))})),s),this.animationClassesTimeoutID=setTimeout((function(){a.setState({animationStateClasses:E,shouldUseTransitions:!1}),a.hideContent(j.height),y(u,{newHeight:j.height})}),w)):(y(p,{newHeight:O}),this.timeoutID=setTimeout((function(){j.animationStateClasses=E,j.shouldUseTransitions=!1,a.setState(j),"auto"!==c&&a.hideContent(O),y(u,{newHeight:O})}),w))}}},{key:"componentWillUnmount",value:function(){b(this.animationFrameIDs),clearTimeout(this.timeoutID),clearTimeout(this.animationClassesTimeoutID),this.timeoutID=null,this.animationClassesTimeoutID=null,this.animationStateClasses=null}},{key:"showContent",value:function(e){0===e&&(this.contentElement.style.display="")}},{key:"hideContent",value:function(e){0===e&&(this.contentElement.style.display="none")}},{key:"getStaticStateClasses",value:function(e){var t;return(0,l.default)((d(t={},this.animationStateClasses.static,!0),d(t,this.animationStateClasses.staticHeightZero,0===e),d(t,this.animationStateClasses.staticHeightSpecific,e>0),d(t,this.animationStateClasses.staticHeightAuto,"auto"===e),t))}},{key:"render",value:function(){var e,t=this,r=this.props,s=r.animateOpacity,n=r.applyInlineTransitions,i=r.children,c=r.className,u=r.contentClassName,b=r.delay,f=r.duration,h=r.easing,y=r.id,_=r.style,w=this.state,O=w.height,j=w.overflow,g=w.animationStateClasses,v=w.shouldUseTransitions,E=a({},_,{height:O,overflow:j||_.overflow});v&&n&&(E.transition="height "+f+"ms "+h+" "+b+"ms",_.transition&&(E.transition=_.transition+", "+E.transition),E.WebkitTransition=E.transition);var x={};s&&(x.transition="opacity "+f+"ms "+h+" "+b+"ms",x.WebkitTransition=x.transition,0===O&&(x.opacity=0));var S=(0,l.default)((d(e={},g,!0),d(e,c,c),e)),k=void 0!==this.props["aria-hidden"]?this.props["aria-hidden"]:0===O;return o.default.createElement("div",a({},m.apply(void 0,[this.props].concat(p)),{"aria-hidden":k,className:S,id:y,style:E}),o.default.createElement("div",{className:u,style:x,ref:function(e){return t.contentElement=e}},i))}}]),t}(o.default.Component);_.propTypes={"aria-hidden":i.default.bool,animateOpacity:i.default.bool,animationStateClasses:i.default.object,applyInlineTransitions:i.default.bool,children:i.default.any.isRequired,className:i.default.string,contentClassName:i.default.string,delay:i.default.number,duration:i.default.number,easing:i.default.string,height:function(e,t,r){var a=e[t];return"number"==typeof a&&a>=0||h(a)||"auto"===a?null:new TypeError('value "'+a+'" of type "'+(void 0===a?"undefined":s(a))+'" is invalid type for '+t+" in "+r+'. It needs to be a positive number, string "auto" or percentage string (e.g. "15%").')},id:i.default.string,onAnimationEnd:i.default.func,onAnimationStart:i.default.func,style:i.default.object},_.defaultProps={animateOpacity:!1,animationStateClasses:u,applyInlineTransitions:!0,duration:250,delay:0,easing:"ease",style:{}},t.default=_},,,,,function(e,t,r){"use strict";r.d(t,"a",(function(){return l}));var s=r(0),a=r(7),n=r(2),o=r.n(n);const i={variant:{lg:{grid:"yst-grid lg:yst-grid-cols-3 lg:yst-gap-12",col1:"yst-col-span-1",col2:"lg:yst-mt-0 lg:yst-col-span-2"},xl:{grid:"yst-grid xl:yst-grid-cols-3 xl:yst-gap-12",col1:"yst-col-span-1",col2:"xl:yst-mt-0 xl:yst-col-span-2"},"2xl":{grid:"yst-grid 2xl:yst-grid-cols-3 2xl:yst-gap-12",col1:"yst-col-span-1",col2:"2xl:yst-mt-0 2xl:yst-col-span-2"}}},l=e=>{let{id:t,children:r,title:n,description:o=null,variant:l="2xl"}=e;return Object(s.createElement)("section",{id:t,className:i.variant[l].grid},Object(s.createElement)("div",{className:i.variant[l].col1},Object(s.createElement)("div",{className:"yst-max-w-screen-sm"},Object(s.createElement)(a.Title,{as:"h2",size:"4"},n),o&&Object(s.createElement)("p",{className:"yst-mt-2"},o))),Object(s.createElement)("fieldset",{className:"yst-min-w-0 yst-mt-8 "+i.variant[l].col2},Object(s.createElement)("legend",{className:"yst-sr-only"},n),Object(s.createElement)("div",{className:"yst-space-y-8"},r)))};l.propTypes={id:o.a.string,children:o.a.node.isRequired,title:o.a.node.isRequired,description:o.a.node,variant:o.a.oneOf(Object.keys(i.variant))}},,function(e,t,r){"use strict";r.d(t,"a",(function(){return l})),r.d(t,"b",(function(){return p})),r.d(t,"c",(function(){return _})),r.d(t,"d",(function(){return V})),r.d(t,"e",(function(){return B})),r.d(t,"f",(function(){return q}));var s=r(0),a=r(1),n=r(7),o=r(2),i=r.n(o);const l=e=>{let{link:t}=e;const r=Object(s.useMemo)(()=>Object(s.createInterpolateElement)(Object(a.sprintf)( /* translators: %1$s expands to "Yoast SEO" academy, which is a clickable link. */ Object(a.__)("Want to learn SEO from Team Yoast? Check out our %1$s!","wordpress-seo"),""),{link:Object(s.createElement)("a",{href:t,target:"_blank",rel:"noopener"},"Yoast SEO academy")}),[]);return Object(s.createElement)(n.Paper,{as:"div",className:"yst-p-6 yst-space-y-3"},Object(s.createElement)(n.Title,{as:"h2",size:"4",className:"yst-text-base yst-text-primary-500"},Object(a.__)("Learn SEO","wordpress-seo")),Object(s.createElement)("p",null,r,Object(s.createElement)("br",null),Object(a.__)("We have both free and premium online courses to learn everything you need to know about SEO.","wordpress-seo")),Object(s.createElement)(n.Link,{href:t,className:"yst-block",target:"_blank",rel:"noopener"},Object(a.sprintf)( /* translators: %1$s expands to "Yoast SEO academy". */ Object(a.__)("Check out %1$s","wordpress-seo"),"Yoast SEO academy")))};l.propTypes={link:i.a.string.isRequired};var c=r(132),d=r(3),u=d.forwardRef((function(e,t){return d.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),d.createElement("path",{fillRule:"evenodd",d:"M12.293 5.293a1 1 0 011.414 0l4 4a1 1 0 010 1.414l-4 4a1 1 0 01-1.414-1.414L14.586 11H3a1 1 0 110-2h11.586l-2.293-2.293a1 1 0 010-1.414z",clipRule:"evenodd"}))}));const p=e=>{let{learnMoreLink:t,upsellLink:r,thumbnail:o,wistiaEmbedPermission:i}=e;const{onClose:l,initialFocus:d}=Object(n.useModalContext)();return Object(s.createElement)("div",{className:"yst-flex yst-flex-col yst-items-center yst-p-10"},Object(s.createElement)("div",{className:"yst-relative yst-w-full"},Object(s.createElement)(q,{videoId:"vmrahpfjxp",thumbnail:o,wistiaEmbedPermission:i}),Object(s.createElement)(n.Badge,{className:"yst-absolute yst-top-0 yst-right-2 yst-mt-2 yst-ml-2",variant:"info"},"Beta")),Object(s.createElement)("div",{className:"yst-mt-6 yst-text-xs yst-font-medium"},Object(s.createElement)("span",{className:"yst-uppercase yst-text-slate-500"},Object(a.sprintf)( /* translators: %1$s expands to Yoast SEO Premium. */ Object(a.__)("New to %1$s","wordpress-seo"),"Yoast SEO Premium"))," ",Object(s.createElement)("span",{className:"yst-uppercase yst-text-slate-700"},"21.0")),Object(s.createElement)("div",{className:"yst-mt-4 yst-mx-1.5 yst-text-center"},Object(s.createElement)("h3",{className:"yst-text-slate-900 yst-text-lg yst-font-medium"},Object(a.__)("Generate titles & descriptions with Yoast AI!","wordpress-seo")),Object(s.createElement)("div",{className:"yst-mt-2 yst-text-slate-600 yst-text-sm"},Object(s.createInterpolateElement)(Object(a.sprintf)( /* translators: %1$s and %2$s are anchor tag; %3$s is the arrow icon. */ Object(a.__)("Speed up your workflow with generative AI. Get high-quality title and description suggestions for your search and social appearance. %1$sLearn more%2$s%3$s","wordpress-seo"),"","",""),{a:Object(s.createElement)(_,{href:t,className:"yst-inline-flex yst-items-center yst-gap-1 yst-no-underline yst-font-medium",variant:"primary"}),ArrowNarrowRightIcon:Object(s.createElement)(u,{className:"yst-w-4 yst-h-4 rtl:yst-rotate-180"})}))),Object(s.createElement)("div",{className:"yst-w-full yst-flex yst-mt-10"},Object(s.createElement)(n.Button,{as:"a",className:"yst-grow",size:"large",variant:"upsell",href:r,target:"_blank",ref:d},Object(s.createElement)(c.a,{className:"yst--ml-1 yst-mr-2 yst-h-5 yst-w-5"}),Object(a.__)("Unlock with Premium","wordpress-seo"),Object(s.createElement)("span",{className:"yst-sr-only"},Object(a.__)("(Opens in a new browser tab)","wordpress-seo")))),Object(s.createElement)(n.Button,{as:"a",className:"yst-mt-4",variant:"tertiary",onClick:l},Object(a.__)("Close","wordpress-seo")))};var m;function b(){return(b=Object.assign||function(e){for(var t=1;t{let{href:t,children:r,...o}=e;return Object(s.createElement)(n.Link,y()({target:"_blank",rel:"noopener noreferrer"},o,{href:t}),r,Object(s.createElement)("span",{className:"yst-sr-only"},Object(a.__)("(Opens in a new browser tab)","wordpress-seo")))};_.propTypes={href:i.a.string.isRequired,children:i.a.node},_.defaultProps={children:null};var w,O,j,g,v,E,x,S,k,F,T,L,P,R,I=r(199);function N(){return(N=Object.assign||function(e){for(var t=1;t{let{link:t,linkProps:r}=e;const o=Object(s.useMemo)(()=>Object(s.createInterpolateElement)(Object(a.sprintf)( /* translators: %1$s and %2$s expand to opening and closing tags. */ Object(a.__)("Be more efficient in creating titles and meta descriptions with the help of AI. %1$sGet 24/7 support%2$s and boost your website’s visibility.","wordpress-seo"),"",""),{strong:Object(s.createElement)("strong",null)}),[]),i=Object(s.createInterpolateElement)(Object(a.sprintf)( /* translators: %1$s and %2$s expand to a span wrap to avoid linebreaks. %3$s expands to "Yoast SEO Premium". */ Object(a.__)("%1$sGet%2$s %3$s","wordpress-seo"),"","","Yoast SEO Premium"),{nowrap:Object(s.createElement)("span",{className:"yst-whitespace-nowrap"})});return Object(s.createElement)("div",{className:"yst-p-6 yst-rounded-lg yst-text-white yst-bg-primary-500 yst-shadow"},Object(s.createElement)("figure",{className:"yst-logo-square yst-w-16 yst-h-16 yst-mt-[-2.6rem] yst-mx-auto yst-overflow-hidden yst-border yst-border-white yst-rounded-xl yst-rounded-br-none"},Object(s.createElement)(D,null)),Object(s.createElement)(n.Title,{as:"h2",className:"yst-mt-6 yst-text-base yst-font-extrabold yst-text-white"},i),Object(s.createElement)("p",{className:"yst-mt-2"},o),Object(s.createElement)(n.Button,y()({as:"a",variant:"upsell",href:t,target:"_blank",rel:"noopener",className:"yst-flex yst-justify-center yst-gap-2 yst-mt-4 focus:yst-ring-offset-primary-500"},r),Object(s.createElement)("span",null,i),Object(s.createElement)(I.a,{className:"yst-w-4 yst-h-4 yst-icon-rtl"})),Object(s.createElement)("a",{className:"yst-block yst-mt-4 yst-no-underline",href:"https://www.g2.com/products/yoast-yoast/reviews",target:"_blank",rel:"noopener noreferrer"},Object(s.createElement)("span",{className:"yst-font-medium yst-text-white hover:yst-underline"},Object(a.__)("Read reviews from real users","wordpress-seo")),Object(s.createElement)("span",{className:"yst-flex yst-gap-2 yst-mt-2 yst-items-center"},Object(s.createElement)(f,{className:"yst-w-5 yst-h-5"}),Object(s.createElement)("span",{className:"yst-flex yst-gap-1"},Object(s.createElement)(C,{className:"yst-w-5 yst-h-5"}),Object(s.createElement)(C,{className:"yst-w-5 yst-h-5"}),Object(s.createElement)(C,{className:"yst-w-5 yst-h-5"}),Object(s.createElement)(C,{className:"yst-w-5 yst-h-5"}),Object(s.createElement)(M,{className:"yst-w-5 yst-h-5"})),Object(s.createElement)("span",{className:"yst-text-sm yst-font-semibold yst-text-white"},"4.6 / 5"))))};V.propTypes={link:i.a.string.isRequired,linkProps:i.a.object},V.defaultProps={linkProps:{}};const B=e=>{let{children:t}=e;return Object(s.createElement)("div",{className:"xl:yst-max-w-3xl xl:yst-fixed xl:yst-right-8 xl:yst-w-[16rem]"},Object(s.createElement)("div",{className:"yst-grid yst-grid-cols-1 sm:yst-grid-cols-2 min-[783px]:yst-grid-cols-1 lg:yst-grid-cols-2 xl:yst-grid-cols-1 yst-gap-4"},t))};B.propTypes={children:i.a.node.isRequired};var U=r(97),z=r(10);const q=e=>{let{videoId:t,thumbnail:r,wistiaEmbedPermission:o}=e;const[i,l]=Object(s.useState)(o.value?z.c.isPlaying:z.c.showPlay),c=Object(s.useCallback)(()=>l(z.c.isPlaying),[l]),d=Object(s.useCallback)(()=>{o.value?c():l(z.c.askPermission)},[o.value,c,l]),u=Object(s.useCallback)(()=>l(z.c.showPlay),[l]),p=Object(s.useCallback)(()=>{o.set(!0),c()},[o.set,c]);return Object(s.createElement)(s.Fragment,null,o.value&&Object(s.createElement)(U.Helmet,null,Object(s.createElement)("script",{src:"https://fast.wistia.com/assets/external/E-v1.js",async:!0})),Object(s.createElement)("div",{className:"yst-relative yst-w-full yst-h-0 yst-pt-[56.25%] yst-overflow-hidden yst-rounded-md yst-drop-shadow-md yst-bg-white"},i===z.c.showPlay&&Object(s.createElement)("button",{className:"yst-absolute yst-inset-0 yst-button yst-p-0 yst-border-none yst-bg-white yst-transition-opacity yst-duration-1000 yst-opacity-100",onClick:d},Object(s.createElement)("img",y()({className:"yst-w-full yst-h-auto",alt:"",loading:"lazy",decoding:"async"},r))),i===z.c.askPermission&&Object(s.createElement)("div",{className:"yst-absolute yst-inset-0 yst-flex yst-flex-col yst-items-center yst-justify-center yst-bg-white"},Object(s.createElement)("p",{className:"yst-max-w-xs yst-mx-auto yst-text-center"},o.status===z.b.loading&&Object(s.createElement)(n.Spinner,null),o.status!==z.b.loading&&Object(a.sprintf)( /* translators: %1$s expands to Yoast SEO. %2$s expands to Wistia. */ Object(a.__)("To see this video, you need to allow %1$s to load embedded videos from %2$s.","wordpress-seo"),"Yoast SEO","Wistia")),Object(s.createElement)("div",{className:"yst-flex yst-mt-6 yst-gap-x-4"},Object(s.createElement)(n.Button,{type:"button",variant:"secondary",onClick:u,disabled:o.status===z.b.loading},Object(a.__)("Deny","wordpress-seo")),Object(s.createElement)(n.Button,{type:"button",variant:"primary",onClick:p,disabled:o.status===z.b.loading},Object(a.__)("Allow","wordpress-seo")))),o.value&&i===z.c.isPlaying&&Object(s.createElement)("div",{className:"yst-absolute yst-w-full yst-h-full yst-top-0 yst-left-0"},null===t&&Object(s.createElement)(n.Spinner,{className:"yst-h-full yst-mx-auto"}),null!==t&&Object(s.createElement)("div",{className:`wistia_embed wistia_async_${t} videoFoam=true`}))))};q.propTypes={videoId:i.a.string.isRequired,thumbnail:i.a.shape({src:i.a.string.isRequired,width:i.a.string,height:i.a.string}).isRequired,wistiaEmbedPermission:i.a.shape({value:i.a.bool.isRequired,status:i.a.string.isRequired,set:i.a.func.isRequired}).isRequired}},,,function(e,t,r){"use strict";r.d(t,"a",(function(){return c}));var s,a=r(3),n=r.n(a),o=r(33),i=r(138),l=r(63);let c=null!=(s=n.a.useId)?s:function(){let e=Object(i.a)(),[t,r]=n.a.useState(e?()=>l.a.nextId():null);return Object(o.a)(()=>{null===t&&r(l.a.nextId())},[t]),null!=t?""+t:void 0}},,,,,function(e,t){e.exports=window.yoast.reactHelmet},,,,,,,function(e,t,r){"use strict";r.d(t,"a",(function(){return p})),r.d(t,"b",(function(){return m})),r.d(t,"c",(function(){return b})),r(59);var s=r(35),a=r(119);let n=["[contentEditable=true]","[tabindex]","a[href]","area[href]","button:not([disabled])","iframe","input:not([disabled])","select:not([disabled])","textarea:not([disabled])"].map(e=>e+":not([tabindex='-1'])").join(",");var o,i,l,c=((l=c||{})[l.First=1]="First",l[l.Previous=2]="Previous",l[l.Next=4]="Next",l[l.Last=8]="Last",l[l.WrapAround=16]="WrapAround",l[l.NoScroll=32]="NoScroll",l),d=((i=d||{})[i.Error=0]="Error",i[i.Overflow=1]="Overflow",i[i.Success=2]="Success",i[i.Underflow=3]="Underflow",i),u=((o=u||{})[o.Previous=-1]="Previous",o[o.Next=1]="Next",o),p=(e=>(e[e.Strict=0]="Strict",e[e.Loose=1]="Loose",e))(p||{});function m(e,t=0){var r;return e!==(null==(r=Object(a.a)(e))?void 0:r.body)&&Object(s.a)(t,{0:()=>e.matches(n),1(){let t=e;for(;null!==t;){if(t.matches(n))return!0;t=t.parentElement}return!1}})}function b(e,t=(e=>e)){return e.slice().sort((e,r)=>{let s=t(e),a=t(r);if(null===s||null===a)return 0;let n=s.compareDocumentPosition(a);return n&Node.DOCUMENT_POSITION_FOLLOWING?-1:n&Node.DOCUMENT_POSITION_PRECEDING?1:0})}["textarea","input"].join(",")},,,,,,,,,function(e,t){e.exports=window.yoast.replacementVariableEditor},,,,,,function(e,t,r){"use strict";r.d(t,"a",(function(){return a}));var s=r(63);function a(e){return s.a.isServer?null:e instanceof Node?e.ownerDocument:null!=e&&e.hasOwnProperty("current")&&e.current instanceof Node?e.current.ownerDocument:document}},,,,,,,function(e,t,r){"use strict";r.d(t,"a",(function(){return o}));var s=r(3),a=r(33),n=r(50);function o(e,t){let[r,o]=Object(s.useState)(e),i=Object(n.a)(e);return Object(a.a)(()=>o(i.current),[i,o,...t]),r}},,,,,,function(e,t,r){"use strict";var s=r(3);const a=s.forwardRef((function(e,t){return s.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),s.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M8 11V7a4 4 0 118 0m-4 8v2m-6 4h12a2 2 0 002-2v-6a2 2 0 00-2-2H6a2 2 0 00-2 2v6a2 2 0 002 2z"}))}));t.a=a},,,,,,function(e,t,r){"use strict";r.d(t,"a",(function(){return n}));var s=r(3),a=r(63);function n(){let[e,t]=Object(s.useState)(a.a.isHandoffComplete);return e&&!1===a.a.isHandoffComplete&&t(!1),Object(s.useEffect)(()=>{!0!==e&&t(!0)},[e]),Object(s.useEffect)(()=>a.a.handoff(),[]),e}},,,,,,,,,,,,,,function(e,t,r){"use strict";r.d(t,"a",(function(){return n})),r.d(t,"b",(function(){return o}));var s,a=r(26),n=((s=n||{})[s.None=1]="None",s[s.Focusable=2]="Focusable",s[s.Hidden=4]="Hidden",s);let o=Object(a.d)((function(e,t){let{features:r=1,...s}=e,n={ref:t,"aria-hidden":2==(2&r)||void 0,style:{position:"fixed",top:1,left:1,width:1,height:0,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0",...4==(4&r)&&2!=(2&r)&&{display:"none"}}};return Object(a.e)({ourProps:n,theirProps:s,slot:{},defaultTag:"div",name:"Hidden"})}))},,,function(e,t,r){"use strict";function s(...e){return e.filter(Boolean).join(" ")}r.d(t,"a",(function(){return s}))},,,function(e,t,r){"use strict";var s=Array.isArray,a=Object.keys,n=Object.prototype.hasOwnProperty,o="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 i,l,c,d=s(t),u=s(r);if(d&&u){if((l=t.length)!=r.length)return!1;for(i=l;0!=i--;)if(!e(t[i],r[i]))return!1;return!0}if(d!=u)return!1;var p=t instanceof Date,m=r instanceof Date;if(p!=m)return!1;if(p&&m)return t.getTime()==r.getTime();var b=t instanceof RegExp,f=r instanceof RegExp;if(b!=f)return!1;if(b&&f)return t.toString()==r.toString();var h=a(t);if((l=h.length)!==a(r).length)return!1;for(i=l;0!=i--;)if(!n.call(r,h[i]))return!1;if(o&&t instanceof Element&&r instanceof Element)return t===r;for(i=l;0!=i--;)if(!("_owner"===(c=h[i])&&t.$$typeof||e(t[c],r[c])))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}}},,,,,,,,,,,,,,function(e,t,r){"use strict";r.d(t,"a",(function(){return s}));const s=()=>{const e=document.getElementById("wpcontent"),t=document.getElementById("adminmenuwrap");e&&t&&(e.style.minHeight=t.offsetHeight+"px")}},,,,function(e,t,r){"use strict";function s(e){this._maxSize=e,this.clear()}s.prototype.clear=function(){this._size=0,this._values=Object.create(null)},s.prototype.get=function(e){return this._values[e]},s.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,n=/^\d+$/,o=/^\d/,i=/[~`!#$%\^&*+=\-\[\]\\';,/{}|\\":<>\?]/g,l=/^\s*(['"]?)(.*?)(\1)\s*$/,c=new s(512),d=new s(512),u=new s(512);function p(e){return c.get(e)||c.set(e,m(e).map((function(e){return e.replace(l,"$2")})))}function m(e){return e.match(a)||[""]}function b(e){return"string"==typeof e&&e&&-1!==["'",'"'].indexOf(e.charAt(0))}function f(e){return!b(e)&&(function(e){return e.match(o)&&!e.match(n)}(e)||function(e){return i.test(e)}(e))}e.exports={Cache:s,split:m,normalizePath:p,setter:function(e){var t=p(e);return d.get(e)||d.set(e,(function(e,r){for(var s=0,a=t.length,n=e;s(i||o(e),null==t?void 0:t(e)))]}},function(e,t,r){"use strict";function s(e={},t=null,r=[]){for(let[s,o]of Object.entries(e))n(r,a(t,s),o);return r}function a(e,t){return e?e+"["+t+"]":t}function n(e,t,r){if(Array.isArray(r))for(let[s,o]of r.entries())n(e,a(t,s.toString()),o);else r instanceof Date?e.push([t,r.toISOString()]):"boolean"==typeof r?e.push([t,r?"1":"0"]):"string"==typeof r?e.push([t,r]):"number"==typeof r?e.push([t,""+r]):null==r?e.push([t,""]):s(r,t,e)}r.d(t,"a",(function(){return s}))},function(e,t,r){"use strict";function s(e){let t=e.parentElement,r=null;for(;t&&!(t instanceof HTMLFieldSetElement);)t instanceof HTMLLegendElement&&(r=t),t=t.parentElement;let s=""===(null==t?void 0:t.getAttribute("disabled"));return(!s||!function(e){if(!e)return!1;let t=e.previousElementSibling;for(;null!==t;){if(t instanceof HTMLLegendElement)return!1;t=t.previousElementSibling}return!0}(r))&&s}r.d(t,"a",(function(){return s}))},function(e,t,r){"use strict";r.d(t,"a",(function(){return o}));var s=r(3),a=r(33);function n(e){var t;if(e.type)return e.type;let r=null!=(t=e.as)?t:"button";return"string"==typeof r&&"button"===r.toLowerCase()?"button":void 0}function o(e,t){let[r,o]=Object(s.useState)(()=>n(e));return Object(a.a)(()=>{o(n(e))},[e.type,e.as]),Object(a.a)(()=>{r||!t.current||t.current instanceof HTMLButtonElement&&!t.current.hasAttribute("type")&&o("button")},[r,t]),r}},function(e,t,r){"use strict";r.d(t,"a",(function(){return n}));var s=r(3);function a(e){return[e.screenX,e.screenY]}function n(){let e=Object(s.useRef)([-1,-1]);return{wasMoved(t){let r=a(t);return(e.current[0]!==r[0]||e.current[1]!==r[1])&&(e.current=r,!0)},update(t){e.current=a(t)}}}},,function(e,t,r){"use strict";r.d(t,"a",(function(){return i}));var s=r(3),a=r(104),n=r(50);function o(e,t,r){let a=Object(n.a)(t);Object(s.useEffect)(()=>{function t(e){a.current(e)}return document.addEventListener(e,t,r),()=>document.removeEventListener(e,t,r)},[e,r])}function i(e,t,r=!0){let n=Object(s.useRef)(!1);function i(r,s){if(!n.current||r.defaultPrevented)return;let o=function e(t){return"function"==typeof t?e(t()):Array.isArray(t)||t instanceof Set?t:[t]}(e),i=s(r);if(null!==i&&i.getRootNode().contains(i)){for(let e of o){if(null===e)continue;let t=e instanceof HTMLElement?e:e.current;if(null!=t&&t.contains(i)||r.composed&&r.composedPath().includes(t))return}return!Object(a.b)(i,a.a.Loose)&&-1!==i.tabIndex&&r.preventDefault(),t(r,i)}}Object(s.useEffect)(()=>{requestAnimationFrame(()=>{n.current=r})},[r]);let l=Object(s.useRef)(null);o("mousedown",e=>{var t,r;n.current&&(l.current=(null==(r=null==(t=e.composedPath)?void 0:t.call(e))?void 0:r[0])||e.target)},!0),o("click",e=>{!l.current||(i(e,()=>l.current),l.current=null)},!0),o("blur",e=>i(e,()=>window.document.activeElement instanceof HTMLIFrameElement?window.document.activeElement:null),!0)}},,,,,function(e,t){e.exports=window.lodash.has},,,,,,,function(e,t,r){"use strict";var s=r(3);const a=s.forwardRef((function(e,t){return s.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),s.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M17 8l4 4m0 0l-4 4m4-4H3"}))}));t.a=a},function(e,t,r){var s;!function(){"use strict";var r={}.hasOwnProperty;function a(){for(var e=[],t=0;t0&&r[1]||""},e.getSecondMatch=function(e,t){var r=t.match(e);return r&&r.length>1&&r[2]||""},e.matchAndReturnConst=function(e,t,r){if(e.test(t))return r},e.getWindowsVersionName=function(e){switch(e){case"NT":return"NT";case"XP":return"XP";case"NT 5.0":return"2000";case"NT 5.1":return"XP";case"NT 5.2":return"2003";case"NT 6.0":return"Vista";case"NT 6.1":return"7";case"NT 6.2":return"8";case"NT 6.3":return"8.1";case"NT 10.0":return"10";default:return}},e.getMacOSVersionName=function(e){var t=e.split(".").splice(0,2).map((function(e){return parseInt(e,10)||0}));if(t.push(0),10===t[0])switch(t[1]){case 5:return"Leopard";case 6:return"Snow Leopard";case 7:return"Lion";case 8:return"Mountain Lion";case 9:return"Mavericks";case 10:return"Yosemite";case 11:return"El Capitan";case 12:return"Sierra";case 13:return"High Sierra";case 14:return"Mojave";case 15:return"Catalina";default:return}},e.getAndroidVersionName=function(e){var t=e.split(".").splice(0,2).map((function(e){return parseInt(e,10)||0}));if(t.push(0),!(1===t[0]&&t[1]<5))return 1===t[0]&&t[1]<6?"Cupcake":1===t[0]&&t[1]>=6?"Donut":2===t[0]&&t[1]<2?"Eclair":2===t[0]&&2===t[1]?"Froyo":2===t[0]&&t[1]>2?"Gingerbread":3===t[0]?"Honeycomb":4===t[0]&&t[1]<1?"Ice Cream Sandwich":4===t[0]&&t[1]<4?"Jelly Bean":4===t[0]&&t[1]>=4?"KitKat":5===t[0]?"Lollipop":6===t[0]?"Marshmallow":7===t[0]?"Nougat":8===t[0]?"Oreo":9===t[0]?"Pie":void 0},e.getVersionPrecision=function(e){return e.split(".").length},e.compareVersions=function(t,r,s){void 0===s&&(s=!1);var a=e.getVersionPrecision(t),n=e.getVersionPrecision(r),o=Math.max(a,n),i=0,l=e.map([t,r],(function(t){var r=o-e.getVersionPrecision(t),s=t+new Array(r+1).join(".0");return e.map(s.split("."),(function(e){return new Array(20-e.length).join("0")+e})).reverse()}));for(s&&(i=o-Math.min(a,n)),o-=1;o>=i;){if(l[0][o]>l[1][o])return 1;if(l[0][o]===l[1][o]){if(o===i)return 0;o-=1}else if(l[0][o]1?a-1:0),o=1;o0){var o=Object.keys(r),l=i.default.find(o,(function(e){return t.isOS(e)}));if(l){var c=this.satisfies(r[l]);if(void 0!==c)return c}var d=i.default.find(o,(function(e){return t.isPlatform(e)}));if(d){var u=this.satisfies(r[d]);if(void 0!==u)return u}}if(n>0){var p=Object.keys(a),m=i.default.find(p,(function(e){return t.isBrowser(e,!0)}));if(void 0!==m)return this.compareVersion(a[m])}},t.isBrowser=function(e,t){void 0===t&&(t=!1);var r=this.getBrowserName().toLowerCase(),s=e.toLowerCase(),a=i.default.getBrowserTypeByAlias(s);return t&&a&&(s=a.toLowerCase()),s===r},t.compareVersion=function(e){var t=[0],r=e,s=!1,a=this.getBrowserVersion();if("string"==typeof a)return">"===e[0]||"<"===e[0]?(r=e.substr(1),"="===e[1]?(s=!0,r=e.substr(2)):t=[],">"===e[0]?t.push(1):t.push(-1)):"="===e[0]?r=e.substr(1):"~"===e[0]&&(s=!0,r=e.substr(1)),t.indexOf(i.default.compareVersions(a,r,s))>-1},t.isOS=function(e){return this.getOSName(!0)===String(e).toLowerCase()},t.isPlatform=function(e){return this.getPlatformType(!0)===String(e).toLowerCase()},t.isEngine=function(e){return this.getEngineName(!0)===String(e).toLowerCase()},t.is=function(e,t){return void 0===t&&(t=!1),this.isBrowser(e,t)||this.isOS(e)||this.isPlatform(e)},t.some=function(e){var t=this;return void 0===e&&(e=[]),e.some((function(e){return t.is(e)}))},e}();t.default=c,e.exports=t.default},92:function(e,t,r){"use strict";t.__esModule=!0,t.default=void 0;var s,a=(s=r(17))&&s.__esModule?s:{default:s},n=/version\/(\d+(\.?_?\d+)+)/i,o=[{test:[/googlebot/i],describe:function(e){var t={name:"Googlebot"},r=a.default.getFirstMatch(/googlebot\/(\d+(\.\d+))/i,e)||a.default.getFirstMatch(n,e);return r&&(t.version=r),t}},{test:[/opera/i],describe:function(e){var t={name:"Opera"},r=a.default.getFirstMatch(n,e)||a.default.getFirstMatch(/(?:opera)[\s/](\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/opr\/|opios/i],describe:function(e){var t={name:"Opera"},r=a.default.getFirstMatch(/(?:opr|opios)[\s/](\S+)/i,e)||a.default.getFirstMatch(n,e);return r&&(t.version=r),t}},{test:[/SamsungBrowser/i],describe:function(e){var t={name:"Samsung Internet for Android"},r=a.default.getFirstMatch(n,e)||a.default.getFirstMatch(/(?:SamsungBrowser)[\s/](\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/Whale/i],describe:function(e){var t={name:"NAVER Whale Browser"},r=a.default.getFirstMatch(n,e)||a.default.getFirstMatch(/(?:whale)[\s/](\d+(?:\.\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/MZBrowser/i],describe:function(e){var t={name:"MZ Browser"},r=a.default.getFirstMatch(/(?:MZBrowser)[\s/](\d+(?:\.\d+)+)/i,e)||a.default.getFirstMatch(n,e);return r&&(t.version=r),t}},{test:[/focus/i],describe:function(e){var t={name:"Focus"},r=a.default.getFirstMatch(/(?:focus)[\s/](\d+(?:\.\d+)+)/i,e)||a.default.getFirstMatch(n,e);return r&&(t.version=r),t}},{test:[/swing/i],describe:function(e){var t={name:"Swing"},r=a.default.getFirstMatch(/(?:swing)[\s/](\d+(?:\.\d+)+)/i,e)||a.default.getFirstMatch(n,e);return r&&(t.version=r),t}},{test:[/coast/i],describe:function(e){var t={name:"Opera Coast"},r=a.default.getFirstMatch(n,e)||a.default.getFirstMatch(/(?:coast)[\s/](\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/opt\/\d+(?:.?_?\d+)+/i],describe:function(e){var t={name:"Opera Touch"},r=a.default.getFirstMatch(/(?:opt)[\s/](\d+(\.?_?\d+)+)/i,e)||a.default.getFirstMatch(n,e);return r&&(t.version=r),t}},{test:[/yabrowser/i],describe:function(e){var t={name:"Yandex Browser"},r=a.default.getFirstMatch(/(?:yabrowser)[\s/](\d+(\.?_?\d+)+)/i,e)||a.default.getFirstMatch(n,e);return r&&(t.version=r),t}},{test:[/ucbrowser/i],describe:function(e){var t={name:"UC Browser"},r=a.default.getFirstMatch(n,e)||a.default.getFirstMatch(/(?:ucbrowser)[\s/](\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/Maxthon|mxios/i],describe:function(e){var t={name:"Maxthon"},r=a.default.getFirstMatch(n,e)||a.default.getFirstMatch(/(?:Maxthon|mxios)[\s/](\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/epiphany/i],describe:function(e){var t={name:"Epiphany"},r=a.default.getFirstMatch(n,e)||a.default.getFirstMatch(/(?:epiphany)[\s/](\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/puffin/i],describe:function(e){var t={name:"Puffin"},r=a.default.getFirstMatch(n,e)||a.default.getFirstMatch(/(?:puffin)[\s/](\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/sleipnir/i],describe:function(e){var t={name:"Sleipnir"},r=a.default.getFirstMatch(n,e)||a.default.getFirstMatch(/(?:sleipnir)[\s/](\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/k-meleon/i],describe:function(e){var t={name:"K-Meleon"},r=a.default.getFirstMatch(n,e)||a.default.getFirstMatch(/(?:k-meleon)[\s/](\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/micromessenger/i],describe:function(e){var t={name:"WeChat"},r=a.default.getFirstMatch(/(?:micromessenger)[\s/](\d+(\.?_?\d+)+)/i,e)||a.default.getFirstMatch(n,e);return r&&(t.version=r),t}},{test:[/qqbrowser/i],describe:function(e){var t={name:/qqbrowserlite/i.test(e)?"QQ Browser Lite":"QQ Browser"},r=a.default.getFirstMatch(/(?:qqbrowserlite|qqbrowser)[/](\d+(\.?_?\d+)+)/i,e)||a.default.getFirstMatch(n,e);return r&&(t.version=r),t}},{test:[/msie|trident/i],describe:function(e){var t={name:"Internet Explorer"},r=a.default.getFirstMatch(/(?:msie |rv:)(\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/\sedg\//i],describe:function(e){var t={name:"Microsoft Edge"},r=a.default.getFirstMatch(/\sedg\/(\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/edg([ea]|ios)/i],describe:function(e){var t={name:"Microsoft Edge"},r=a.default.getSecondMatch(/edg([ea]|ios)\/(\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/vivaldi/i],describe:function(e){var t={name:"Vivaldi"},r=a.default.getFirstMatch(/vivaldi\/(\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/seamonkey/i],describe:function(e){var t={name:"SeaMonkey"},r=a.default.getFirstMatch(/seamonkey\/(\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/sailfish/i],describe:function(e){var t={name:"Sailfish"},r=a.default.getFirstMatch(/sailfish\s?browser\/(\d+(\.\d+)?)/i,e);return r&&(t.version=r),t}},{test:[/silk/i],describe:function(e){var t={name:"Amazon Silk"},r=a.default.getFirstMatch(/silk\/(\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/phantom/i],describe:function(e){var t={name:"PhantomJS"},r=a.default.getFirstMatch(/phantomjs\/(\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/slimerjs/i],describe:function(e){var t={name:"SlimerJS"},r=a.default.getFirstMatch(/slimerjs\/(\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/blackberry|\bbb\d+/i,/rim\stablet/i],describe:function(e){var t={name:"BlackBerry"},r=a.default.getFirstMatch(n,e)||a.default.getFirstMatch(/blackberry[\d]+\/(\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/(web|hpw)[o0]s/i],describe:function(e){var t={name:"WebOS Browser"},r=a.default.getFirstMatch(n,e)||a.default.getFirstMatch(/w(?:eb)?[o0]sbrowser\/(\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/bada/i],describe:function(e){var t={name:"Bada"},r=a.default.getFirstMatch(/dolfin\/(\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/tizen/i],describe:function(e){var t={name:"Tizen"},r=a.default.getFirstMatch(/(?:tizen\s?)?browser\/(\d+(\.?_?\d+)+)/i,e)||a.default.getFirstMatch(n,e);return r&&(t.version=r),t}},{test:[/qupzilla/i],describe:function(e){var t={name:"QupZilla"},r=a.default.getFirstMatch(/(?:qupzilla)[\s/](\d+(\.?_?\d+)+)/i,e)||a.default.getFirstMatch(n,e);return r&&(t.version=r),t}},{test:[/firefox|iceweasel|fxios/i],describe:function(e){var t={name:"Firefox"},r=a.default.getFirstMatch(/(?:firefox|iceweasel|fxios)[\s/](\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/electron/i],describe:function(e){var t={name:"Electron"},r=a.default.getFirstMatch(/(?:electron)\/(\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/MiuiBrowser/i],describe:function(e){var t={name:"Miui"},r=a.default.getFirstMatch(/(?:MiuiBrowser)[\s/](\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/chromium/i],describe:function(e){var t={name:"Chromium"},r=a.default.getFirstMatch(/(?:chromium)[\s/](\d+(\.?_?\d+)+)/i,e)||a.default.getFirstMatch(n,e);return r&&(t.version=r),t}},{test:[/chrome|crios|crmo/i],describe:function(e){var t={name:"Chrome"},r=a.default.getFirstMatch(/(?:chrome|crios|crmo)\/(\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/GSA/i],describe:function(e){var t={name:"Google Search"},r=a.default.getFirstMatch(/(?:GSA)\/(\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:function(e){var t=!e.test(/like android/i),r=e.test(/android/i);return t&&r},describe:function(e){var t={name:"Android Browser"},r=a.default.getFirstMatch(n,e);return r&&(t.version=r),t}},{test:[/playstation 4/i],describe:function(e){var t={name:"PlayStation 4"},r=a.default.getFirstMatch(n,e);return r&&(t.version=r),t}},{test:[/safari|applewebkit/i],describe:function(e){var t={name:"Safari"},r=a.default.getFirstMatch(n,e);return r&&(t.version=r),t}},{test:[/.*/i],describe:function(e){var t=-1!==e.search("\\(")?/^(.*)\/(.*)[ \t]\((.*)/:/^(.*)\/(.*) /;return{name:a.default.getFirstMatch(t,e),version:a.default.getSecondMatch(t,e)}}}];t.default=o,e.exports=t.default},93:function(e,t,r){"use strict";t.__esModule=!0,t.default=void 0;var s,a=(s=r(17))&&s.__esModule?s:{default:s},n=r(18),o=[{test:[/Roku\/DVP/],describe:function(e){var t=a.default.getFirstMatch(/Roku\/DVP-(\d+\.\d+)/i,e);return{name:n.OS_MAP.Roku,version:t}}},{test:[/windows phone/i],describe:function(e){var t=a.default.getFirstMatch(/windows phone (?:os)?\s?(\d+(\.\d+)*)/i,e);return{name:n.OS_MAP.WindowsPhone,version:t}}},{test:[/windows /i],describe:function(e){var t=a.default.getFirstMatch(/Windows ((NT|XP)( \d\d?.\d)?)/i,e),r=a.default.getWindowsVersionName(t);return{name:n.OS_MAP.Windows,version:t,versionName:r}}},{test:[/Macintosh(.*?) FxiOS(.*?)\//],describe:function(e){var t={name:n.OS_MAP.iOS},r=a.default.getSecondMatch(/(Version\/)(\d[\d.]+)/,e);return r&&(t.version=r),t}},{test:[/macintosh/i],describe:function(e){var t=a.default.getFirstMatch(/mac os x (\d+(\.?_?\d+)+)/i,e).replace(/[_\s]/g,"."),r=a.default.getMacOSVersionName(t),s={name:n.OS_MAP.MacOS,version:t};return r&&(s.versionName=r),s}},{test:[/(ipod|iphone|ipad)/i],describe:function(e){var t=a.default.getFirstMatch(/os (\d+([_\s]\d+)*) like mac os x/i,e).replace(/[_\s]/g,".");return{name:n.OS_MAP.iOS,version:t}}},{test:function(e){var t=!e.test(/like android/i),r=e.test(/android/i);return t&&r},describe:function(e){var t=a.default.getFirstMatch(/android[\s/-](\d+(\.\d+)*)/i,e),r=a.default.getAndroidVersionName(t),s={name:n.OS_MAP.Android,version:t};return r&&(s.versionName=r),s}},{test:[/(web|hpw)[o0]s/i],describe:function(e){var t=a.default.getFirstMatch(/(?:web|hpw)[o0]s\/(\d+(\.\d+)*)/i,e),r={name:n.OS_MAP.WebOS};return t&&t.length&&(r.version=t),r}},{test:[/blackberry|\bbb\d+/i,/rim\stablet/i],describe:function(e){var t=a.default.getFirstMatch(/rim\stablet\sos\s(\d+(\.\d+)*)/i,e)||a.default.getFirstMatch(/blackberry\d+\/(\d+([_\s]\d+)*)/i,e)||a.default.getFirstMatch(/\bbb(\d+)/i,e);return{name:n.OS_MAP.BlackBerry,version:t}}},{test:[/bada/i],describe:function(e){var t=a.default.getFirstMatch(/bada\/(\d+(\.\d+)*)/i,e);return{name:n.OS_MAP.Bada,version:t}}},{test:[/tizen/i],describe:function(e){var t=a.default.getFirstMatch(/tizen[/\s](\d+(\.\d+)*)/i,e);return{name:n.OS_MAP.Tizen,version:t}}},{test:[/linux/i],describe:function(){return{name:n.OS_MAP.Linux}}},{test:[/CrOS/],describe:function(){return{name:n.OS_MAP.ChromeOS}}},{test:[/PlayStation 4/],describe:function(e){var t=a.default.getFirstMatch(/PlayStation 4[/\s](\d+(\.\d+)*)/i,e);return{name:n.OS_MAP.PlayStation4,version:t}}}];t.default=o,e.exports=t.default},94:function(e,t,r){"use strict";t.__esModule=!0,t.default=void 0;var s,a=(s=r(17))&&s.__esModule?s:{default:s},n=r(18),o=[{test:[/googlebot/i],describe:function(){return{type:"bot",vendor:"Google"}}},{test:[/huawei/i],describe:function(e){var t=a.default.getFirstMatch(/(can-l01)/i,e)&&"Nova",r={type:n.PLATFORMS_MAP.mobile,vendor:"Huawei"};return t&&(r.model=t),r}},{test:[/nexus\s*(?:7|8|9|10).*/i],describe:function(){return{type:n.PLATFORMS_MAP.tablet,vendor:"Nexus"}}},{test:[/ipad/i],describe:function(){return{type:n.PLATFORMS_MAP.tablet,vendor:"Apple",model:"iPad"}}},{test:[/Macintosh(.*?) FxiOS(.*?)\//],describe:function(){return{type:n.PLATFORMS_MAP.tablet,vendor:"Apple",model:"iPad"}}},{test:[/kftt build/i],describe:function(){return{type:n.PLATFORMS_MAP.tablet,vendor:"Amazon",model:"Kindle Fire HD 7"}}},{test:[/silk/i],describe:function(){return{type:n.PLATFORMS_MAP.tablet,vendor:"Amazon"}}},{test:[/tablet(?! pc)/i],describe:function(){return{type:n.PLATFORMS_MAP.tablet}}},{test:function(e){var t=e.test(/ipod|iphone/i),r=e.test(/like (ipod|iphone)/i);return t&&!r},describe:function(e){var t=a.default.getFirstMatch(/(ipod|iphone)/i,e);return{type:n.PLATFORMS_MAP.mobile,vendor:"Apple",model:t}}},{test:[/nexus\s*[0-6].*/i,/galaxy nexus/i],describe:function(){return{type:n.PLATFORMS_MAP.mobile,vendor:"Nexus"}}},{test:[/[^-]mobi/i],describe:function(){return{type:n.PLATFORMS_MAP.mobile}}},{test:function(e){return"blackberry"===e.getBrowserName(!0)},describe:function(){return{type:n.PLATFORMS_MAP.mobile,vendor:"BlackBerry"}}},{test:function(e){return"bada"===e.getBrowserName(!0)},describe:function(){return{type:n.PLATFORMS_MAP.mobile}}},{test:function(e){return"windows phone"===e.getBrowserName()},describe:function(){return{type:n.PLATFORMS_MAP.mobile,vendor:"Microsoft"}}},{test:function(e){var t=Number(String(e.getOSVersion()).split(".")[0]);return"android"===e.getOSName(!0)&&t>=3},describe:function(){return{type:n.PLATFORMS_MAP.tablet}}},{test:function(e){return"android"===e.getOSName(!0)},describe:function(){return{type:n.PLATFORMS_MAP.mobile}}},{test:function(e){return"macos"===e.getOSName(!0)},describe:function(){return{type:n.PLATFORMS_MAP.desktop,vendor:"Apple"}}},{test:function(e){return"windows"===e.getOSName(!0)},describe:function(){return{type:n.PLATFORMS_MAP.desktop}}},{test:function(e){return"linux"===e.getOSName(!0)},describe:function(){return{type:n.PLATFORMS_MAP.desktop}}},{test:function(e){return"playstation 4"===e.getOSName(!0)},describe:function(){return{type:n.PLATFORMS_MAP.tv}}},{test:function(e){return"roku"===e.getOSName(!0)},describe:function(){return{type:n.PLATFORMS_MAP.tv}}}];t.default=o,e.exports=t.default},95:function(e,t,r){"use strict";t.__esModule=!0,t.default=void 0;var s,a=(s=r(17))&&s.__esModule?s:{default:s},n=r(18),o=[{test:function(e){return"microsoft edge"===e.getBrowserName(!0)},describe:function(e){if(/\sedg\//i.test(e))return{name:n.ENGINE_MAP.Blink};var t=a.default.getFirstMatch(/edge\/(\d+(\.?_?\d+)+)/i,e);return{name:n.ENGINE_MAP.EdgeHTML,version:t}}},{test:[/trident/i],describe:function(e){var t={name:n.ENGINE_MAP.Trident},r=a.default.getFirstMatch(/trident\/(\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:function(e){return e.test(/presto/i)},describe:function(e){var t={name:n.ENGINE_MAP.Presto},r=a.default.getFirstMatch(/presto\/(\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:function(e){var t=e.test(/gecko/i),r=e.test(/like gecko/i);return t&&!r},describe:function(e){var t={name:n.ENGINE_MAP.Gecko},r=a.default.getFirstMatch(/gecko\/(\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/(apple)?webkit\/537\.36/i],describe:function(){return{name:n.ENGINE_MAP.Blink}}},{test:[/(apple)?webkit/i],describe:function(e){var t={name:n.ENGINE_MAP.WebKit},r=a.default.getFirstMatch(/webkit\/(\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}}];t.default=o,e.exports=t.default}})},function(e,t){e.exports=window.lodash.camelCase},function(e,t){e.exports=window.lodash.mapKeys},function(e,t){function r(e,t){var r=e.length,s=new Array(r),a={},n=r,o=function(e){for(var t=new Map,r=0,s=e.length;r>>((3&t)<<3)&255;return a}}},function(e,t){for(var r=[],s=0;s<256;++s)r[s]=(s+256).toString(16).substr(1);e.exports=function(e,t){var s=t||0,a=r;return[a[e[s++]],a[e[s++]],a[e[s++]],a[e[s++]],"-",a[e[s++]],a[e[s++]],"-",a[e[s++]],a[e[s++]],"-",a[e[s++]],a[e[s++]],"-",a[e[s++]],a[e[s++]],a[e[s++]],a[e[s++]],a[e[s++]],a[e[s++]]].join("")}},function(e,t,r){"use strict";var s=r(3),a=60103;if(t.Fragment=60107,"function"==typeof Symbol&&Symbol.for){var n=Symbol.for;a=n("react.element"),t.Fragment=n("react.fragment")}var o=s.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,i=Object.prototype.hasOwnProperty,l={key:!0,ref:!0,__self:!0,__source:!0};function c(e,t,r){var s,n={},c=null,d=null;for(s in void 0!==r&&(c=""+r),void 0!==t.key&&(c=""+t.key),void 0!==t.ref&&(d=t.ref),t)i.call(t,s)&&!l.hasOwnProperty(s)&&(n[s]=t[s]);if(e&&e.defaultProps)for(s in t=e.defaultProps)void 0===n[s]&&(n[s]=t[s]);return{$$typeof:a,type:e,key:c,ref:d,props:n,_owner:o.current}}t.jsx=c,t.jsxs=c},function(e,t,r){"use strict";var s=r(3);const a=s.forwardRef((function(e,t){return s.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),s.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M10 6H6a2 2 0 00-2 2v10a2 2 0 002 2h10a2 2 0 002-2v-4M14 4h6m0 0v6m0-6L10 14"}))}));t.a=a},,,,,,,,,function(e,t,r){"use strict";r.r(t);var s=r(0),a=r(18),n=r(5),o=r(52),i=r.n(o),l=r(7),c=r(3),d=r.n(c),u=r(158),p=r.n(u),m=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===b}(e)}(e)},b="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function f(e,t){return!1!==t.clone&&t.isMergeableObject(e)?y((r=e,Array.isArray(r)?[]:{}),e,t):e;var r}function h(e,t,r){return e.concat(t).map((function(e){return f(e,r)}))}function y(e,t,r){(r=r||{}).arrayMerge=r.arrayMerge||h,r.isMergeableObject=r.isMergeableObject||m;var s=Array.isArray(t);return s===Array.isArray(e)?s?r.arrayMerge(e,t,r):function(e,t,r){var s={};return r.isMergeableObject(e)&&Object.keys(e).forEach((function(t){s[t]=f(e[t],r)})),Object.keys(t).forEach((function(a){r.isMergeableObject(t[a])&&e[a]?s[a]=y(e[a],t[a],r):s[a]=f(t[a],r)})),s}(e,t,r):f(t,r)}y.all=function(e,t){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce((function(e,r){return y(e,r,t)}),{})};var _=y,w=r(228),O=r.n(w),j=r(229),g=r.n(j),v=r(230),E=r.n(v),x=r(231),S=r.n(x),k=r(241),F=r.n(k);function T(){return(T=Object.assign||function(e){for(var t=1;t=0||(a[r]=e[r]);return a}function P(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var R=function(e){return Array.isArray(e)&&0===e.length},I=function(e){return"function"==typeof e},N=function(e){return null!==e&&"object"==typeof e},M=function(e){return String(Math.floor(Number(e)))===e},A=function(e){return"[object String]"===Object.prototype.toString.call(e)},C=function(e){return 0===c.Children.count(e)},$=function(e){return N(e)&&I(e.then)};function D(e,t,r,s){void 0===s&&(s=0);for(var a=E()(t);e&&s=0?[]:{}}}return(0===n?e:a)[o[n]]===r?e:(void 0===r?delete a[o[n]]:a[o[n]]=r,0===n&&void 0===r&&delete s[o[n]],s)}function B(e,t,r,s){void 0===r&&(r=new WeakMap),void 0===s&&(s={});for(var a=0,n=Object.keys(e);a=r.length)break;n=r[a++]}else{if((a=r.next()).done)break;n=a.value}var o=n;D(t,o.path)||(t=V(t,o.path,o.message))}}return t}(r)):t(r)}))}))}),[b.validationSchema]),F=Object(c.useCallback)((function(e,t){return new Promise((function(r){return r(g.current[e].validate(t))}))}),[]),P=Object(c.useCallback)((function(e){var t=Object.keys(g.current).filter((function(e){return I(g.current[e].validate)})),r=t.length>0?t.map((function(t){return F(t,D(e,t))})):[Promise.resolve("DO_NOT_DELETE_YOU_WILL_BE_FIRED")];return Promise.all(r).then((function(e){return e.reduce((function(e,r,s){return"DO_NOT_DELETE_YOU_WILL_BE_FIRED"===r||r&&(e=V(e,t[s],r)),e}),{})}))}),[F]),R=Object(c.useCallback)((function(e){return Promise.all([P(e),b.validationSchema?k(e):{},b.validate?S(e):{}]).then((function(e){var t=e[0],r=e[1],s=e[2];return _.all([t,r,s],{arrayMerge:Q})}))}),[b.validate,b.validationSchema,P,S,k]),M=X((function(e){return void 0===e&&(e=E.values),x({type:"SET_ISVALIDATING",payload:!0}),R(e).then((function(e){return j.current&&(x({type:"SET_ISVALIDATING",payload:!1}),x({type:"SET_ERRORS",payload:e})),e}))}));Object(c.useEffect)((function(){o&&!0===j.current&&p()(f.current,b.initialValues)&&M(f.current)}),[o,M]);var C=Object(c.useCallback)((function(e){var t=e&&e.values?e.values:f.current,r=e&&e.errors?e.errors:h.current?h.current:b.initialErrors||{},s=e&&e.touched?e.touched:y.current?y.current:b.initialTouched||{},a=e&&e.status?e.status:w.current?w.current:b.initialStatus;f.current=t,h.current=r,y.current=s,w.current=a;var n=function(){x({type:"RESET_FORM",payload:{isSubmitting:!!e&&!!e.isSubmitting,errors:r,touched:s,status:a,values:t,isValidating:!!e&&!!e.isValidating,submitCount:e&&e.submitCount&&"number"==typeof e.submitCount?e.submitCount:0}})};if(b.onReset){var o=b.onReset(E.values,de);$(o)?o.then(n):n()}else n()}),[b.initialErrors,b.initialStatus,b.initialTouched]);Object(c.useEffect)((function(){!0!==j.current||p()(f.current,b.initialValues)||(d&&(f.current=b.initialValues,C()),o&&M(f.current))}),[d,b.initialValues,C,o,M]),Object(c.useEffect)((function(){d&&!0===j.current&&!p()(h.current,b.initialErrors)&&(h.current=b.initialErrors||G,x({type:"SET_ERRORS",payload:b.initialErrors||G}))}),[d,b.initialErrors]),Object(c.useEffect)((function(){d&&!0===j.current&&!p()(y.current,b.initialTouched)&&(y.current=b.initialTouched||Y,x({type:"SET_TOUCHED",payload:b.initialTouched||Y}))}),[d,b.initialTouched]),Object(c.useEffect)((function(){d&&!0===j.current&&!p()(w.current,b.initialStatus)&&(w.current=b.initialStatus,x({type:"SET_STATUS",payload:b.initialStatus}))}),[d,b.initialStatus,b.initialTouched]);var B=X((function(e){if(g.current[e]&&I(g.current[e].validate)){var t=D(E.values,e),r=g.current[e].validate(t);return $(r)?(x({type:"SET_ISVALIDATING",payload:!0}),r.then((function(e){return e})).then((function(t){x({type:"SET_FIELD_ERROR",payload:{field:e,value:t}}),x({type:"SET_ISVALIDATING",payload:!1})}))):(x({type:"SET_FIELD_ERROR",payload:{field:e,value:r}}),Promise.resolve(r))}return b.validationSchema?(x({type:"SET_ISVALIDATING",payload:!0}),k(E.values,e).then((function(e){return e})).then((function(t){x({type:"SET_FIELD_ERROR",payload:{field:e,value:t[e]}}),x({type:"SET_ISVALIDATING",payload:!1})}))):Promise.resolve()})),U=Object(c.useCallback)((function(e,t){var r=t.validate;g.current[e]={validate:r}}),[]),z=Object(c.useCallback)((function(e){delete g.current[e]}),[]),q=X((function(e,t){return x({type:"SET_TOUCHED",payload:e}),(void 0===t?a:t)?M(E.values):Promise.resolve()})),W=Object(c.useCallback)((function(e){x({type:"SET_ERRORS",payload:e})}),[]),K=X((function(e,t){var s=I(e)?e(E.values):e;return x({type:"SET_VALUES",payload:s}),(void 0===t?r:t)?M(s):Promise.resolve()})),J=Object(c.useCallback)((function(e,t){x({type:"SET_FIELD_ERROR",payload:{field:e,value:t}})}),[]),Z=X((function(e,t,s){return x({type:"SET_FIELD_VALUE",payload:{field:e,value:t}}),(void 0===s?r:s)?M(V(E.values,e,t)):Promise.resolve()})),ee=Object(c.useCallback)((function(e,t){var r,s=t,a=e;if(!A(e)){e.persist&&e.persist();var n=e.target?e.target:e.currentTarget,o=n.type,i=n.name,l=n.id,c=n.value,d=n.checked,u=(n.outerHTML,n.options),p=n.multiple;s=t||i||l,a=/number|range/.test(o)?(r=parseFloat(c),isNaN(r)?"":r):/checkbox/.test(o)?function(e,t,r){if("boolean"==typeof e)return Boolean(t);var s=[],a=!1,n=-1;if(Array.isArray(e))s=e,a=(n=e.indexOf(r))>=0;else if(!r||"true"==r||"false"==r)return Boolean(t);return t&&r&&!a?s.concat(r):a?s.slice(0,n).concat(s.slice(n+1)):s}(D(E.values,s),d,c):u&&p?function(e){return Array.from(e).filter((function(e){return e.selected})).map((function(e){return e.value}))}(u):c}s&&Z(s,a)}),[Z,E.values]),te=X((function(e){if(A(e))return function(t){return ee(t,e)};ee(e)})),re=X((function(e,t,r){return void 0===t&&(t=!0),x({type:"SET_FIELD_TOUCHED",payload:{field:e,value:t}}),(void 0===r?a:r)?M(E.values):Promise.resolve()})),se=Object(c.useCallback)((function(e,t){e.persist&&e.persist();var r=e.target,s=r.name,a=r.id,n=(r.outerHTML,t||s||a);re(n,!0)}),[re]),ae=X((function(e){if(A(e))return function(t){return se(t,e)};se(e)})),ne=Object(c.useCallback)((function(e){I(e)?x({type:"SET_FORMIK_STATE",payload:e}):x({type:"SET_FORMIK_STATE",payload:function(){return e}})}),[]),oe=Object(c.useCallback)((function(e){x({type:"SET_STATUS",payload:e})}),[]),ie=Object(c.useCallback)((function(e){x({type:"SET_ISSUBMITTING",payload:e})}),[]),le=X((function(){return x({type:"SUBMIT_ATTEMPT"}),M().then((function(e){var t=e instanceof Error;if(!t&&0===Object.keys(e).length){var r;try{if(void 0===(r=ue()))return}catch(e){throw e}return Promise.resolve(r).then((function(e){return j.current&&x({type:"SUBMIT_SUCCESS"}),e})).catch((function(e){if(j.current)throw x({type:"SUBMIT_FAILURE"}),e}))}if(j.current&&(x({type:"SUBMIT_FAILURE"}),t))throw e}))})),ce=X((function(e){e&&e.preventDefault&&I(e.preventDefault)&&e.preventDefault(),e&&e.stopPropagation&&I(e.stopPropagation)&&e.stopPropagation(),le().catch((function(e){console.warn("Warning: An unhandled error was caught from submitForm()",e)}))})),de={resetForm:C,validateForm:M,validateField:B,setErrors:W,setFieldError:J,setFieldTouched:re,setFieldValue:Z,setStatus:oe,setSubmitting:ie,setTouched:q,setValues:K,setFormikState:ne,submitForm:le},ue=X((function(){return u(E.values,de)})),pe=X((function(e){e&&e.preventDefault&&I(e.preventDefault)&&e.preventDefault(),e&&e.stopPropagation&&I(e.stopPropagation)&&e.stopPropagation(),C()})),me=Object(c.useCallback)((function(e){return{value:D(E.values,e),error:D(E.errors,e),touched:!!D(E.touched,e),initialValue:D(f.current,e),initialTouched:!!D(y.current,e),initialError:D(h.current,e)}}),[E.errors,E.touched,E.values]),be=Object(c.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 J(e,t)}}}),[Z,re,J]),fe=Object(c.useCallback)((function(e){var t=N(e),r=t?e.name:e,s=D(E.values,r),a={name:r,value:s,onChange:te,onBlur:ae};if(t){var n=e.type,o=e.value,i=e.as,l=e.multiple;"checkbox"===n?void 0===o?a.checked=!!s:(a.checked=!(!Array.isArray(s)||!~s.indexOf(o)),a.value=o):"radio"===n?(a.checked=s===o,a.value=o):"select"===i&&l&&(a.value=a.value||[],a.multiple=!0)}return a}),[ae,te,E.values]),he=Object(c.useMemo)((function(){return!p()(f.current,E.values)}),[f.current,E.values]),ye=Object(c.useMemo)((function(){return void 0!==i?he?E.errors&&0===Object.keys(E.errors).length:!1!==i&&I(i)?i(b):i:E.errors&&0===Object.keys(E.errors).length}),[i,he,E.errors,b]);return T({},E,{initialValues:f.current,initialErrors:h.current,initialTouched:y.current,initialStatus:w.current,handleBlur:ae,handleChange:te,handleReset:pe,handleSubmit:ce,resetForm:C,setErrors:W,setFormikState:ne,setFieldTouched:re,setFieldValue:Z,setFieldError:J,setStatus:oe,setSubmitting:ie,setTouched:q,setValues:K,submitForm:le,validateForm:M,validateField:B,isValid:ye,dirty:he,unregisterField:z,registerField:U,getFieldProps:fe,getFieldMeta:me,getFieldHelpers:be,validateOnBlur:a,validateOnChange:r,validateOnMount:o})}(e),r=e.component,s=e.children,a=e.render,n=e.innerRef;return Object(c.useImperativeHandle)(n,(function(){return t})),Object(c.createElement)(z,{value:t},r?Object(c.createElement)(r,t):a?a(t):s?I(s)?s(t):C(s)?null:c.Children.only(s):null)}function Q(e,t,r){var s=e.slice();return t.forEach((function(t,a){if(void 0===s[a]){var n=!1!==r.clone&&r.isMergeableObject(t);s[a]=n?_(Array.isArray(t)?[]:{},t,r):t}else r.isMergeableObject(t)?s[a]=_(e[a],t,r):-1===e.indexOf(t)&&s.push(t)})),s}var J="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement?c.useLayoutEffect:c.useEffect;function X(e){var t=Object(c.useRef)(e);return J((function(){t.current=e})),Object(c.useCallback)((function(){for(var e=arguments.length,r=new Array(e),s=0;se?t:e}),0);return Array.from(T({},e,{length:t+1}))}return[]},ne=function(e){function t(t){var r;return(r=e.call(this,t)||this).updateArrayField=function(e,t,s){var a=r.props,n=a.name;(0,a.formik.setFormikState)((function(r){var a="function"==typeof s?s:e,o="function"==typeof t?t:e,i=V(r.values,n,e(D(r.values,n))),l=s?a(D(r.errors,n)):void 0,c=t?o(D(r.touched,n)):void 0;return R(l)&&(l=void 0),R(c)&&(c=void 0),T({},r,{values:i,errors:s?V(r.errors,n,l):r.errors,touched:t?V(r.touched,n,c):r.touched})}))},r.push=function(e){return r.updateArrayField((function(t){return[].concat(ae(t),[F()(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 s=ae(e),a=s[t];return s[t]=s[r],s[r]=a,s}(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 s=ae(e),a=s[t];return s.splice(t,1),s.splice(r,0,a),s}(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 se(r,e,t)}),(function(t){return se(t,e,null)}),(function(t){return se(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 s=ae(e);return s[t]=r,s}(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 s=r?[e].concat(r):[e];return t<0&&(t=s.length),s}),(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(P(r)),r.pop=r.pop.bind(P(r)),r}var r,s;s=e,(r=t).prototype=Object.create(s.prototype),r.prototype.constructor=r,r.__proto__=s;var a=t.prototype;return a.componentDidUpdate=function(e){this.props.validateOnChange&&this.props.formik.validateOnChange&&!p()(D(e.formik.values,e.name),D(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 s=r?ae(r):[];return t||(t=s[e]),I(s.splice)&&s.splice(e,1),s}),!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,s=t.render,a=t.children,n=t.name,o=T({},e,{form:L(t.formik,["validate","validationSchema"]),name:n});return r?Object(c.createElement)(r,o):s?s(o):a?"function"==typeof a?a(o):C(a)?null:c.Children.only(a):null},t}(c.Component);ne.defaultProps={validateOnChange:!0};var oe=re(ne),ie=(c.Component,c.Component,r(4));function le(){return(le=Object.assign||function(e){for(var t=1;t"*"===e;function je(e,t){let r=e.split("/"),s=r.length;return r.some(Oe)&&(s+=-2),t&&(s+=2),r.filter(e=>!Oe(e)).reduce((e,t)=>e+(we.test(t)?3:""===t?1:10),s)}function ge(e,t){let{routesMeta:r}=e,s={},a="/",n=[];for(let e=0;e(s.push(t),"([^\\/]+)"));return e.endsWith("*")?(s.push("*"),a+="*"===e||"/*"===e?"(.*)$":"(?:\\/(.+)|\\/*)$"):a+=r?"\\/*$":"(?:(?=[.~-]|%[0-9A-F]{2})|\\b|\\/|$)",[new RegExp(a,t?void 0:"i"),s]}(e.path,e.caseSensitive,e.end),a=t.match(r);if(!a)return null;let n=a[0],o=n.replace(/(.)\/+$/,"$1"),i=a.slice(1);return{params:s.reduce((e,t,r)=>{if("*"===t){let e=i[r]||"";o=n.slice(0,n.length-e.length).replace(/(.)\/+$/,"$1")}return e[t]=function(e,t){try{return decodeURIComponent(e)}catch(t){return e}}(i[r]||""),e},{}),pathname:n,pathnameBase:o,pattern:e}}function Ee(e,t,r){let s,a="string"==typeof e?be(e):e,n=""===e||""===a.pathname?"/":a.pathname;if(null==n)s=r;else{let e=t.length-1;if(n.startsWith("..")){let t=n.split("/");for(;".."===t[0];)t.shift(),e-=1;a.pathname=t.join("/")}s=e>=0?t[e]:"/"}let o=function(e,t){void 0===t&&(t="/");let{pathname:r,search:s="",hash:a=""}="string"==typeof e?be(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:Fe(s),hash:Te(a)}}(a,s);return n&&"/"!==n&&n.endsWith("/")&&!o.pathname.endsWith("/")&&(o.pathname+="/"),o}function xe(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 Se=e=>e.join("/").replace(/\/\/+/g,"/"),ke=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),Fe=e=>e&&"?"!==e?e.startsWith("?")?e:"?"+e:"",Te=e=>e&&"#"!==e?e.startsWith("#")?e:"#"+e:"";function Le(){return null!=Object(c.useContext)(he)}function Pe(){return Le()||_e(!1),Object(c.useContext)(he).location}function Re(){Le()||_e(!1);let{basename:e,navigator:t}=Object(c.useContext)(fe),{matches:r}=Object(c.useContext)(ye),{pathname:s}=Pe(),a=JSON.stringify(r.map(e=>e.pathnameBase)),n=Object(c.useRef)(!1);return Object(c.useEffect)(()=>{n.current=!0}),Object(c.useCallback)((function(r,o){if(void 0===o&&(o={}),!n.current)return;if("number"==typeof r)return void t.go(r);let i=Ee(r,JSON.parse(a),s);"/"!==e&&(i.pathname=Se([e,i.pathname])),(o.replace?t.replace:t.push)(i,o.state)}),[e,t,a,s])}function Ie(e){let{matches:t}=Object(c.useContext)(ye),{pathname:r}=Pe(),s=JSON.stringify(t.map(e=>e.pathnameBase));return Object(c.useMemo)(()=>Ee(e,JSON.parse(s),r),[e,s,r])}function Ne(e){let{to:t,replace:r,state:s}=e;Le()||_e(!1);let a=Re();return Object(c.useEffect)(()=>{a(t,{replace:r,state:s})}),null}function Me(e){_e(!1)}function Ae(e){let{basename:t="/",children:r=null,location:s,navigationType:a=ce.Pop,navigator:n,static:o=!1}=e;Le()&&_e(!1);let i=ke(t),l=Object(c.useMemo)(()=>({basename:i,navigator:n,static:o}),[i,n,o]);"string"==typeof s&&(s=be(s));let{pathname:d="/",search:u="",hash:p="",state:m=null,key:b="default"}=s,f=Object(c.useMemo)(()=>{let e=xe(d,i);return null==e?null:{pathname:e,search:u,hash:p,state:m,key:b}},[i,d,u,p,m,b]);return null==f?null:Object(c.createElement)(fe.Provider,{value:l},Object(c.createElement)(he.Provider,{children:r,value:{location:f,navigationType:a}}))}function Ce(e){let{children:t,location:r}=e;return function(e,t){Le()||_e(!1);let{matches:r}=Object(c.useContext)(ye),s=r[r.length-1],a=s?s.params:{},n=(s&&s.pathname,s?s.pathnameBase:"/");s&&s.route;let o,i=Pe();if(t){var l;let e="string"==typeof t?be(t):t;"/"===n||(null==(l=e.pathname)?void 0:l.startsWith(n))||_e(!1),o=e}else o=i;let d=o.pathname||"/",u=function(e,t,r){void 0===r&&(r="/");let s=xe(("string"==typeof t?be(t):t).pathname||"/",r);if(null==s)return null;let a=function e(t,r,s,a){return void 0===r&&(r=[]),void 0===s&&(s=[]),void 0===a&&(a=""),t.forEach((t,n)=>{let o={relativePath:t.path||"",caseSensitive:!0===t.caseSensitive,childrenIndex:n,route:t};o.relativePath.startsWith("/")&&(o.relativePath.startsWith(a)||_e(!1),o.relativePath=o.relativePath.slice(a.length));let i=Se([a,o.relativePath]),l=s.concat(o);t.children&&t.children.length>0&&(!0===t.index&&_e(!1),e(t.children,r,l,i)),(null!=t.path||t.index)&&r.push({path:i,score:je(i,t.index),routesMeta:l})}),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 n=null;for(let e=0;null==n&&eObject(c.createElement)(ye.Provider,{children:void 0!==s.route.element?s.route.element:r,value:{outlet:r,matches:t.concat(e.slice(0,a+1))}}),null)}(u&&u.map(e=>Object.assign({},e,{params:Object.assign({},a,e.params),pathname:Se([n,e.pathname]),pathnameBase:"/"===e.pathnameBase?n:Se([n,e.pathnameBase])})),r)}(function e(t){let r=[];return c.Children.forEach(t,t=>{if(!Object(c.isValidElement)(t))return;if(t.type===c.Fragment)return void r.push.apply(r,e(t.props.children));t.type!==Me&&_e(!1);let s={caseSensitive:t.props.caseSensitive,element:t.props.element,index:t.props.index,path:t.props.path};t.props.children&&(s.children=e(t.props.children)),r.push(s)}),r}(t),r)}function $e(){return($e=Object.assign||function(e){for(var t=1;tn.listen(i),[n]),Object(c.createElement)(Ae,{basename:t,children:r,location:o.location,navigationType:o.action,navigator:n})}const Be=Object(c.forwardRef)((function(e,t){let{onClick:r,reloadDocument:s,replace:a=!1,state:n,target:o,to:i}=e,l=function(e,t){if(null==e)return{};var r,s,a={},n=Object.keys(e);for(s=0;s=0||(a[r]=e[r]);return a}(e,De),d=function(e){Le()||_e(!1);let{basename:t,navigator:r}=Object(c.useContext)(fe),{hash:s,pathname:a,search:n}=Ie(e),o=a;if("/"!==t){let r=function(e){return""===e||""===e.pathname?"/":"string"==typeof e?be(e).pathname:e.pathname}(e),s=null!=r&&r.endsWith("/");o="/"===a?t+(s?"/":""):Se([t,a])}return r.createHref({pathname:o,search:n,hash:s})}(i),u=function(e,t){let{target:r,replace:s,state:a}=void 0===t?{}:t,n=Re(),o=Pe(),i=Ie(e);return Object(c.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=!!s||me(o)===me(i);n(e,{replace:r,state:a})}},[o,n,i,s,a,r,e])}(i,{replace:a,state:n,target:o});return Object(c.createElement)("a",$e({},l,{href:d,onClick:function(e){r&&r(e),e.defaultPrevented||s||u(e)},ref:t,target:o}))}));var Ue=r(11),ze=r(172),qe=r(24),We=r(12),He=r.n(We),Ge=r(297),Ye=c.forwardRef((function(e,t){return c.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),c.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"}))})),Ke=c.forwardRef((function(e,t){return c.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),c.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"}))})),Qe=c.forwardRef((function(e,t){return c.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),c.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"}))})),Je=c.forwardRef((function(e,t){return c.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),c.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"}))})),Xe=r(199),Ze=c.forwardRef((function(e,t){return c.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),c.createElement("path",{fillRule:"evenodd",d:"M14.707 12.707a1 1 0 01-1.414 0L10 9.414l-3.293 3.293a1 1 0 01-1.414-1.414l4-4a1 1 0 011.414 0l4 4a1 1 0 010 1.414z",clipRule:"evenodd"}))})),et=c.forwardRef((function(e,t){return c.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),c.createElement("path",{fillRule:"evenodd",d:"M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z",clipRule:"evenodd"}))})),tt=r(1),rt=r(31),st=r.n(rt),at=r(2),nt=r.n(at),ot=r(87),it=e=>{let{name:t}=e;const r=pt("selectPreference",[],"isNetworkAdmin"),a=pt("selectPreference",[],"isMainSite"),n=Object(s.useMemo)(()=>"wpseo.tracking"===t&&!r&&!a,[t,r,a]),o=Object(s.useMemo)(()=>Object(ie.get)(window,"wpseoScriptData.disabledSettings."+t,""),[]),i=Object(s.useMemo)(()=>{if(n)return Object(tt.__)("Unavailable for sub-sites","wordpress-seo");switch(o){case"multisite":return Object(tt.__)("Unavailable for multisites","wordpress-seo");case"network":return Object(tt.__)("Network disabled","wordpress-seo");case"language":return Object(tt.__)("Only available for English sites","wordpress-seo");default:return""}},[o,n]);return{isDisabled:Object(s.useMemo)(()=>!Object(ie.isEmpty)(i),[i]),message:i,disabledSetting:o}};const lt="@yoast/settings";var ct=()=>Object(n.useDispatch)(lt),dt=r(242),ut=r.n(dt),pt=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];for(var r=arguments.length,s=new Array(r>2?r-2:0),a=2;a{var r,a;return null===(r=(a=t(lt))[e])||void 0===r?void 0:r.call(a,...s)},t)};const mt=e=>{let{id:t,children:r,title:a,description:n=null}=e;const o=pt("selectPreference",[],"isPremium");return Object(s.createElement)(ot.a,{id:t,title:a,description:n,variant:o?"xl":"2xl"},r)};mt.propTypes={id:nt.a.string,children:nt.a.node.isRequired,title:nt.a.node.isRequired,description:nt.a.node};var bt=mt,ft=c.forwardRef((function(e,t){return c.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),c.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 9v2m0 4h.01m-6.938 4h13.856c1.54 0 2.502-1.667 1.732-3L13.732 4c-.77-1.333-2.694-1.333-3.464 0L3.34 16c-.77 1.333.192 3 1.732 3z"}))})),ht=r(82),yt=r.n(ht);const _t=e=>{let{children:t}=e;const{isSubmitting:r,status:a,dirty:n,resetForm:o,initialValues:i}=W(),c=pt("selectIsMediaLoading"),d=Object(s.useMemo)(()=>Object(ie.includes)(Object(ie.values)(a),!0),[a]),u=Object(l.useSvgAria)(),[p,,,m,b]=Object(l.useToggleState)(!1),f=Object(s.useCallback)(()=>{b(),o({values:i})},[o,i,b]);return Object(s.createElement)(te,{className:"yst-flex yst-flex-col yst-h-full"},Object(s.createElement)("div",{className:"yst-flex-grow yst-p-8"},t),Object(s.createElement)("footer",{className:"yst-sticky yst-bottom-0 yst-z-10"},Object(s.createElement)(yt.a,{easing:"ease-in-out",duration:300,height:n?"auto":0,animateOpacity:!0},Object(s.createElement)("div",{className:"yst-bg-slate-50 yst-border-slate-200 yst-border-t yst-rounded-b-lg"},Object(s.createElement)("div",{className:"yst-flex yst-align-middle yst-space-x-3 yst-p-8"},Object(s.createElement)(l.Button,{id:"button-submit-settings",type:"submit",isLoading:r,disabled:r||c||d},Object(tt.__)("Save changes","wordpress-seo")),Object(s.createElement)(l.Button,{id:"button-undo-settings",type:"button",variant:"secondary",disabled:!n,onClick:m},Object(tt.__)("Discard changes","wordpress-seo")),Object(s.createElement)(l.Modal,{onClose:b,isOpen:p},Object(s.createElement)(l.Modal.Panel,{closeButtonScreenReaderText:Object(tt.__)("Close","wordpress-seo")},Object(s.createElement)("div",{className:"sm:yst-flex sm:yst-items-start"},Object(s.createElement)("div",{className:"yst-mx-auto yst-flex-shrink-0 yst-flex yst-items-center yst-justify-center yst-h-12 yst-w-12 yst-rounded-full yst-bg-red-100 sm:yst-mx-0 sm:yst-h-10 sm:yst-w-10"},Object(s.createElement)(ft,He()({className:"yst-h-6 yst-w-6 yst-text-red-600"},u))),Object(s.createElement)("div",{className:"yst-mt-3 yst-text-center sm:yst-mt-0 sm:yst-ml-4 sm:yst-text-left"},Object(s.createElement)(l.Modal.Title,{className:"yst-text-lg yst-leading-6 yst-font-medium yst-text-slate-900"},Object(tt.__)("Discard all changes","wordpress-seo")),Object(s.createElement)(l.Modal.Description,{className:"yst-text-sm yst-text-slate-500"},Object(tt.__)("You are about to discard all unsaved changes. All of your settings will be reset to the point where you last saved. Are you sure you want to do this?","wordpress-seo")))),Object(s.createElement)("div",{className:"yst-flex yst-flex-col sm:yst-flex-row-reverse yst-gap-3 yst-mt-6"},Object(s.createElement)(l.Button,{type:"button",variant:"error",onClick:f,className:"yst-block"},Object(tt.__)("Yes, discard changes","wordpress-seo")),Object(s.createElement)(l.Button,{type:"button",variant:"secondary",onClick:b,className:"yst-block"},Object(tt.__)("No, continue editing","wordpress-seo"))))))))))};_t.propTypes={children:nt.a.node.isRequired};var wt=_t;const Ot=e=>{const[t,,{setTouched:r,setValue:a}]=Z({...e,type:"checkbox"}),n=Object(s.useCallback)(e=>{r(!0,!1),a(!e)},[e.name]);return Object(s.createElement)(l.ToggleField,He()({},t,{checked:Object(ie.isUndefined)(e.checked)?!t.checked:!e.checked,onChange:n},e))};Ot.propTypes={name:nt.a.string.isRequired,checked:nt.a.bool};var jt=Ot,gt=r(261);const vt={variant:{square:"yst-h-48 yst-w-48",landscape:"yst-h-48 yst-w-96",portrait:"yst-h-96 yst-w-48"}},Et=e=>{let{label:t="",description:r="",icon:a=gt.a,disabled:n=!1,isDummy:o=!1,libraryType:i="image",variant:c="landscape",id:d,mediaUrlName:u,mediaIdName:p,fallbackMediaId:m="0",previewLabel:b="",selectLabel:f=Object(tt.__)("Select image","wordpress-seo"),replaceLabel:h=Object(tt.__)("Replace image","wordpress-seo"),removeLabel:y=Object(tt.__)("Remove image","wordpress-seo"),className:_=""}=e;const{values:w,setFieldValue:O,setFieldTouched:j,errors:g}=W(),[v,E]=Object(s.useState)(null),x=Object(s.useMemo)(()=>Object(ie.get)(window,"wp.media",null),[]),S=Object(s.useMemo)(()=>Object(ie.get)(w,p,""),[w,p]),k=pt("selectMediaById",[S],S),F=pt("selectIsMediaError"),T=pt("selectMediaById",[m],m),{fetchMedia:L,addOneMedia:P}=ct(),R=Object(s.useMemo)(()=>Object(ie.get)(g,p,""),[g,p]),I=Object(s.useMemo)(()=>n||o||F,[o,n,F]),{ids:N,describedBy:M}=Object(l.useDescribedBy)(`field-${d}-id`,{description:r,error:R}),A=Object(s.useMemo)(()=>S>0?k:m>0?T:null,[S,k,m,T]),C=Object(s.useMemo)(()=>Object(ie.join)(Object(ie.map)((null==k?void 0:k.sizes)||(null==T?void 0:T.sizes),e=>`${null==e?void 0:e.url} ${null==e?void 0:e.width}w`),", "),[k,T]),$=Object(s.useCallback)(()=>{o||null==v||v.open()},[o,v]),D=Object(s.useCallback)(()=>{o||(j(u,!0,!1),O(u,"",!1),j(p,!0,!1),O(p,""))},[o,j,O,u,p]),V=Object(s.useCallback)(()=>{var e,t,r;if(o)return;const s=(null===(e=v.state())||void 0===e||null===(t=e.get("selection"))||void 0===t||null===(r=t.first())||void 0===r?void 0:r.toJSON())||{};j(u,!0,!1),O(u,s.url,!1),j(p,!0,!1),O(p,s.id),P(s)},[o,v,j,O,u,p]);return Object(s.useEffect)(()=>{x&&E(x({title:t,multiple:!1,library:{type:i}}))},[x,t,i,E]),Object(s.useEffect)(()=>(null==v||v.on("select",V),()=>null==v?void 0:v.off("select",V)),[v,V]),Object(s.useEffect)(()=>{S&&!k&&L([S]),m&&!T&&L([m])},[]),Object(s.createElement)("fieldset",{id:d,className:"yst-min-w-0 yst-w-96 yst-max-w-full"},Object(s.createElement)(ee,{type:"hidden",name:p,id:`input-${d}-id`,"aria-describedby":M,disabled:I}),Object(s.createElement)(ee,{type:"hidden",name:u,id:`input-${d}-url`,"aria-describedby":M,disabled:I}),t&&Object(s.createElement)(l.Label,{as:"legend",className:st()("yst-mb-2",I&&"yst-opacity-50 yst-cursor-not-allowed")},t),Object(s.createElement)("button",{type:"button",id:`button-${d}-preview`,onClick:$,className:st()("yst-overflow-hidden yst-flex yst-justify-center yst-items-center yst-max-w-full yst-rounded-md yst-mb-4 yst-border-slate-300 focus:yst-outline-none focus:yst-ring-2 focus:yst-ring-offset-2 focus:yst-ring-primary-500",!o&&A?"yst-bg-slate-50 yst-border":"yst-border-2 yst-border-dashed",I&&"yst-opacity-50 yst-cursor-not-allowed",vt.variant[c],_),disabled:I},!o&&A?Object(s.createElement)(s.Fragment,null,Object(s.createElement)("span",{className:"yst-sr-only"},h),Object(s.createElement)("img",{src:null==A?void 0:A.url,alt:(null==A?void 0:A.alt)||"",srcSet:C,sizes:"landscape"===c?"24rem":"12rem",width:"landscape"===c?"24rem":"12rem",loading:"lazy",decoding:"async",className:"yst-object-cover yst-object-center yst-min-h-full yst-min-w-full"})):Object(s.createElement)("div",{className:"yst-w-48 yst-max-w-full"},Object(s.createElement)("span",{className:"yst-sr-only"},f),Object(s.createElement)(a,{className:"yst-mx-auto yst-h-12 yst-w-12 yst-text-slate-400 yst-stroke-1"}),b&&Object(s.createElement)("p",{className:"yst-text-xs yst-text-slate-600 yst-text-center yst-mt-1 yst-px-8"},b))),Object(s.createElement)("div",{className:"yst-flex yst-gap-1"},!o&&S>0?Object(s.createElement)(l.Button,{id:`button-${d}-replace`,variant:"secondary",onClick:$,disabled:I},h):Object(s.createElement)(l.Button,{id:`button-${d}-select`,variant:"secondary",onClick:$,disabled:I},f),!o&&S>0&&Object(s.createElement)(l.Link,{id:`button-${d}-remove`,as:"button",type:"button",variant:"error",onClick:D,className:st()("yst-px-3 yst-py-2 yst-rounded-md",I&&"yst-opacity-50 yst-cursor-not-allowed"),disabled:I},y)),R&&Object(s.createElement)("p",{id:N.error,className:"yst-mt-2 yst-text-sm yst-text-red-600"},R),F&&Object(s.createElement)("p",{className:"yst-mt-2 yst-text-sm yst-text-red-600"},Object(tt.__)("Failed to retrieve media.","wordpress-seo")),r&&Object(s.createElement)("p",{id:N.description,className:st()("yst-mt-2",I&&"yst-opacity-50 yst-cursor-not-allowed")},r))};Et.propTypes={label:nt.a.string,description:nt.a.node,icon:nt.a.elementType,disabled:nt.a.bool,isDummy:nt.a.bool,libraryType:nt.a.string,variant:nt.a.oneOf(Object(ie.keys)(vt.variant)),id:nt.a.string.isRequired,mediaUrlName:nt.a.string.isRequired,mediaIdName:nt.a.string.isRequired,fallbackMediaId:nt.a.string,previewLabel:nt.a.node,selectLabel:nt.a.string,replaceLabel:nt.a.string,removeLabel:nt.a.string,className:nt.a.string};var xt=Et,St=r(113);const kt=e=>{let{className:t="",disabled:r=!1,...a}=e;const[n,o]=Object(s.useState)(null),[i,,{setTouched:l,setValue:c}]=Z(a),d=Object(s.useCallback)(e=>{l(!0,!1),c(e)},[a.name]),u=Object(s.useCallback)(()=>null==n?void 0:n.focus(),[n]),p=Object(s.useMemo)(()=>{var e;return(null!==(e=i.value)&&void 0!==e&&e.match(/%%\w+%%$/)?i.value+" ":i.value)||""},[i.value]);return Object(s.createElement)("div",{className:t},Object(s.createElement)(St.ReplacementVariableEditor,He()({},i,{content:p,onChange:d,editorRef:o,onFocus:u,isDisabled:r},a)))};kt.propTypes={name:nt.a.string.isRequired,disabled:nt.a.bool,className:nt.a.string};var Ft=kt;const Tt=e=>{const[{value:t,...r},,{setTouched:a,setValue:n}]=Z(e),o=Object(s.useMemo)(()=>Object(ie.reduce)(Object(ie.isString)(t)&&(null==t?void 0:t.split(","))||[],(e,t)=>{const r=Object(ie.trim)(t);return r?[...e,r]:e},[]),[t]),i=Object(s.useCallback)(e=>{a(!0,!1),n([...o,e].join(","))},[a,n,o]),c=Object(s.useCallback)(e=>{a(!0,!1),n([...o.slice(0,e),...o.slice(e+1)].join(","))},[a,n,o]),d=Object(s.useCallback)(e=>{a(!0,!1),n(e.join(","))},[a,n]);return Object(s.createElement)(l.TagField,He()({},r,{tags:o,onAddTag:i,onRemoveTag:c,onSetTags:d},e))};Tt.propTypes={name:nt.a.string.isRequired};var Lt=Tt,Pt=c.forwardRef((function(e,t){return c.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),c.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M18 9v3m0 0v3m0-3h3m-3 0h-3m-2-5a4 4 0 11-8 0 4 4 0 018 0zM3 20a6 6 0 0112 0v1H3v-1z"}))})),Rt=r(25),It=r.n(Rt),Nt=r(15),Mt=r(10);let At;const Ct=e=>{let{children:t,className:r=""}=e;return Object(s.createElement)("div",{className:st()("yst-flex yst-items-center yst-justify-center yst-gap-2 yst-py-2 yst-px-3",r)},t)};Ct.propTypes={children:nt.a.node.isRequired,className:nt.a.string};const $t=e=>{let{name:t,id:r,className:a="",...n}=e;const o=pt("selectPreference",[],"siteRepresentsPerson",{}),i=pt("selectUsersWith",[o],o),{addManyUsers:c}=ct(),[{value:d,...u},,{setTouched:p,setValue:m}]=Z({type:"select",name:t,id:r,...n}),[b,f]=Object(s.useState)(Mt.b.idle),[h,y]=Object(s.useState)([]),_=pt("selectPreference",[],"canCreateUsers",!1),w=pt("selectPreference",[],"createUserUrl",""),O=Object(s.useMemo)(()=>{const e=Object(ie.values)(i);return Object(ie.find)(e,["id",d])},[d,i]),j=Object(s.useCallback)(Object(ie.debounce)(async e=>{try{var t,r;f(Mt.b.loading),At&&(null===(r=At)||void 0===r||r.abort()),At=new AbortController;const s=await It()({path:"/wp/v2/users?"+Object(Nt.buildQueryString)({search:e,per_page:20}),signal:null===(t=At)||void 0===t?void 0:t.signal});y(Object(ie.map)(s,"id")),c(s),f(Mt.b.success)}catch(e){if(e instanceof DOMException&&"AbortError"===e.name)return;y([]),f(Mt.b.error),console.error(e.message)}},200),[y,c,f]),g=Object(s.useCallback)(e=>{p(!0,!1),m(e)},[m]),v=Object(s.useCallback)(e=>j(e.target.value),[j]);return Object(s.useEffect)(()=>{j("")},[]),Object(s.createElement)(l.AutocompleteField,He()({},u,{name:t,id:r,value:O?d:0,onChange:g,placeholder:Object(tt.__)("Select a user...","wordpress-seo"),selectedLabel:null==O?void 0:O.name,onQueryChange:v,className:a},n),Object(s.createElement)(s.Fragment,null,(b===Mt.b.idle||b===Mt.b.success)&&Object(s.createElement)(s.Fragment,null,Object(ie.isEmpty)(h)?Object(s.createElement)(Ct,null,Object(tt.__)("No users found.","wordpress-seo")):Object(ie.map)(h,e=>{const t=null==i?void 0:i[e];return t?Object(s.createElement)(l.AutocompleteField.Option,{key:null==t?void 0:t.id,value:null==t?void 0:t.id},null==t?void 0:t.name):null}),_&&Object(s.createElement)("li",{className:"yst-sticky yst-inset-x-0 yst-bottom-0 yst-group"},Object(s.createElement)("a",{id:"link-create_user-"+r,href:w,target:"_blank",rel:"noreferrer",className:"yst-relative yst-w-full yst-flex yst-items-center yst-py-4 yst-px-3 yst-gap-2 yst-no-underline yst-text-sm yst-text-left yst-bg-white yst-text-slate-700 group-hover:yst-text-white group-hover:yst-bg-primary-500 yst-border-t yst-border-slate-200"},Object(s.createElement)(Pt,{className:"yst-w-5 yst-h-5 yst-text-slate-400 group-hover:yst-text-white"}),Object(s.createElement)("span",null,Object(tt.__)("Add new user...","wordpress-seo"))))),b===Mt.b.loading&&Object(s.createElement)(Ct,null,Object(s.createElement)(l.Spinner,{variant:"primary"}),Object(tt.__)("Searching users...","wordpress-seo")),b===Mt.b.error&&Object(s.createElement)(Ct,{className:"yst-text-red-600"},Object(tt.__)("Failed to retrieve users.","wordpress-seo"))))};$t.propTypes={name:nt.a.string.isRequired,id:nt.a.string.isRequired,className:nt.a.string};var Dt=$t,Vt=c.forwardRef((function(e,t){return c.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),c.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9 13h6m-3-3v6m5 5H7a2 2 0 01-2-2V5a2 2 0 012-2h5.586a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V19a2 2 0 01-2 2z"}))}));const Bt=e=>{let{children:t,className:r=""}=e;return Object(s.createElement)("div",{className:st()("yst-flex yst-items-center yst-justify-center yst-gap-2 yst-py-2 yst-px-3",r)},t)};Bt.propTypes={children:nt.a.node.isRequired,className:nt.a.string};const Ut=e=>{let{name:t,id:r,className:a="",...n}=e;const o=pt("selectPreference",[],"siteBasicsPolicies",{}),i=pt("selectPagesWith",[o],Object(ie.values)(o)),{fetchPages:c}=ct(),[{value:d,...u},,{setTouched:p,setValue:m}]=Z({type:"select",name:t,id:r,...n}),[b,f]=Object(s.useState)(Mt.b.idle),[h,y]=Object(s.useState)([]),_=pt("selectPreference",[],"canCreatePages",!1),w=pt("selectPreference",[],"createPageUrl",""),O=Object(s.useMemo)(()=>{const e=Object(ie.values)(i);return Object(ie.find)(e,["id",d])},[d,i]),j=Object(s.useCallback)(Object(ie.debounce)(async e=>{try{f(Mt.b.loading);const t=await c({search:e});y(Object(ie.map)(t.payload,"id")),f(Mt.b.success)}catch(e){if(e instanceof DOMException&&"AbortError"===e.name)return;y([]),f(Mt.b.error)}},200),[y,f,c]),g=Object(s.useCallback)(e=>{p(!0,!1),m(e)},[m,p]),v=Object(s.useCallback)(e=>j(e.target.value),[j]),E=Object(s.useMemo)(()=>Object(ie.isEmpty)(h)?Object(ie.map)(i,"id"):h,[h,i]),x=Object(s.useMemo)(()=>b===Mt.b.success&&Object(ie.isEmpty)(h),[h,b]);return Object(s.createElement)(l.AutocompleteField,He()({},u,{name:t,id:r,value:O?d:0,onChange:g,placeholder:Object(tt.__)("None","wordpress-seo"),selectedLabel:null==O?void 0:O.name,onQueryChange:v,className:st()(a,n.disabled&&"yst-autocomplete--disabled"),nullable:!0,clearButtonScreenReaderText:Object(tt.__)("Clear selection","wordpress-seo")},n),Object(s.createElement)(s.Fragment,null,(b===Mt.b.idle||b===Mt.b.success)&&Object(s.createElement)(s.Fragment,null,x?Object(s.createElement)(Bt,null,Object(tt.__)("No pages found.","wordpress-seo")):Object(ie.map)(E,e=>{const t=null==i?void 0:i[e];return t?Object(s.createElement)(l.AutocompleteField.Option,{key:null==t?void 0:t.id,value:null==t?void 0:t.id},null==t?void 0:t.name):null}),_&&Object(s.createElement)("li",{className:"yst-sticky yst-inset-x-0 yst-bottom-0 yst-group"},Object(s.createElement)("a",{id:"link-create_page-"+r,href:w,target:"_blank",rel:"noreferrer",className:"yst-relative yst-w-full yst-flex yst-items-center yst-py-4 yst-px-3 yst-gap-2 yst-no-underline yst-text-sm yst-text-left yst-bg-white yst-text-slate-700 group-hover:yst-text-white group-hover:yst-bg-primary-500 yst-border-t yst-border-slate-200"},Object(s.createElement)(Vt,{className:"yst-w-5 yst-h-5 yst-text-slate-400 group-hover:yst-text-white"}),Object(s.createElement)("span",null,Object(tt.__)("Add new page...","wordpress-seo"))))),b===Mt.b.loading&&Object(s.createElement)(Bt,null,Object(s.createElement)(l.Spinner,{variant:"primary"}),Object(tt.__)("Searching pages...","wordpress-seo")),b===Mt.b.error&&Object(s.createElement)(Bt,{className:"yst-text-red-600"},Object(tt.__)("Failed to retrieve pages.","wordpress-seo"))))};Ut.propTypes={name:nt.a.string.isRequired,id:nt.a.string.isRequired,className:nt.a.string,disabled:nt.a.bool};var zt=Ut;const qt=e=>{let{as:t,transformValue:r=ie.identity,...a}=e;const[n,,{setTouched:o,setValue:i}]=Z(a),l=Object(s.useCallback)(e=>{o(!0,!1),i(r(e))},[a.name]);return Object(s.createElement)(t,He()({},n,{onChange:l},a))};qt.propTypes={as:nt.a.elementType.isRequired,name:nt.a.string.isRequired,transformValue:nt.a.func};var Wt=qt,Ht=e=>{const t=t=>{let{name:r,...a}=t;const{isDisabled:n,message:o}=it({name:r});return n?Object(s.createElement)("div",null,Object(s.createElement)(l.Badge,{variant:"plain",size:"small",className:"yst-mb-2"},o),Object(s.createElement)(e,He()({name:r},a,{disabled:!0}))):Object(s.createElement)(e,He()({name:r},a))};return t.propTypes={name:nt.a.string.isRequired},t},Gt=e=>{const t=t=>{let{name:r,isDummy:a=!1,...n}=t;const o=pt("selectDefaultSettingValue",[r],r);return a?Object(s.createElement)(e,He()({name:r},n,{disabled:!0,value:o,onChange:ie.noop,checked:o,tags:[],onAddTag:ie.noop,onRemoveTag:ie.noop,content:o})):Object(s.createElement)(e,He()({name:r},n))};return t.propTypes={name:nt.a.string.isRequired,isDummy:nt.a.bool},t},Yt=e=>{const t=t=>{let{name:r,...a}=t;const{isTouched:n,error:o}=(e=>{let{name:t}=e;const{touched:r,errors:a}=W();return{isTouched:Object(s.useMemo)(()=>Object(ie.get)(r,t,!1),[r]),error:Object(s.useMemo)(()=>Object(ie.get)(a,t,""),[a])}})({name:r});return Object(s.createElement)(e,He()({name:r,validation:{variant:"error",message:n&&o}},a))};return t.propTypes={name:nt.a.string.isRequired},t},Kt=Yt(ee);const Qt=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return Object(ie.reduce)(e,(e,r,s)=>{const a=Object(ie.join)(Object(ie.filter)([t,s],Object(ie.flowRight)(Boolean,ie.toString)),".");return Object(ie.isObject)(r)||Object(ie.isArray)(r)?{...e,...Qt(r,a)}:{...e,[a]:r}},{})},Jt=e=>{let{id:t,onDismiss:r,...a}=e;const{errors:n}=W(),o=pt("selectSearchIndex"),i=Object(s.useMemo)(()=>Qt(n),[n]);return Object(s.createElement)(l.Notifications.Notification,He()({key:t,id:t,onDismiss:r},a),Object(s.createElement)("ul",{className:"yst-list-disc yst-mt-1 yst-ml-4 yst-space-y-2"},Object(ie.map)(i,(e,t)=>e&&Object(s.createElement)("li",{key:t},Object(s.createElement)(Be,{to:`${Object(ie.get)(o,t+".route","404")}#${Object(ie.get)(o,t+".fieldId","")}`},`${Object(ie.get)(o,t+".routeLabel","")} - ${Object(ie.get)(o,t+".fieldLabel","")}`),": ",e))))};Jt.propTypes={id:nt.a.string.isRequired,onDismiss:nt.a.func};var Xt=()=>{(()=>{const{isValid:e,errors:t,isSubmitting:r}=W(),{addNotification:a,removeNotification:n}=ct(),o=pt("selectNotification",[],"validation-errors");Object(s.useEffect)(()=>{e&&o&&n("validation-errors")},[e,o]),Object(s.useEffect)(()=>{r&&!e&&a({id:"validation-errors",variant:"error",size:"large",title:Object(tt.__)("Oh no! It seems your form contains invalid data. Please review the following fields:","wordpress-seo")})},[r,t,e])})(),(()=>{const{removeNotification:e}=ct(),t=pt("selectNotifications"),r=pt("selectPostTypes"),a=pt("selectTaxonomies");Object(s.useEffect)(()=>{const s=Object(ie.some)(r,["isNew",!0]),n=Object(ie.some)(a,["isNew",!0]);!t["new-content-type"]||s||n||e("new-content-type")},[r,a])})();const{removeNotification:e}=ct(),t=pt("selectNotifications"),r=Object(s.useMemo)(()=>Object(ie.map)(t,t=>({...t,onDismiss:e,autoDismiss:"success"===t.variant?5e3:null,dismissScreenReaderLabel:Object(tt.__)("Dismiss","wordpress-seo")})),[t]);return Object(s.createElement)(l.Notifications,{notifications:r,position:"bottom-left"},r.map(e=>"validation-errors"===e.id?Object(s.createElement)(Jt,He()({key:e.id},e)):Object(s.createElement)(l.Notifications.Notification,He()({key:e.id},e))))};const Zt=e=>{let{name:t,disabled:r=!1}=e;const a=pt("selectPreference",[],"isNewsSeoActive"),n=pt("selectLink",[],"https://yoa.st/get-news-settings"),{values:o}=W(),i=Object(s.useMemo)(()=>"NewsArticle"===Object(ie.get)(o,"wpseo_titles.schema-article-type-"+t,""),[t,o]);return a?null:Object(s.createElement)(yt.a,{easing:"ease-in-out",duration:300,height:i&&!r?"auto":0,animateOpacity:!0},Object(s.createElement)(l.Alert,{className:"yst-mt-8",variant:"info",role:"status"},Object(tt.sprintf)( /* translators: %s Expands to "Yoast News SEO" */ Object(tt.__)("Are you publishing news articles? %s helps you optimize your site for Google News.","wordpress-seo"),"Yoast News SEO")," ",Object(s.createElement)("a",{id:"link-get-news-seo",href:n,target:"_blank",rel:"noopener noreferrer"},Object(tt.sprintf)( /* translators: %s: Expands to "Yoast News SEO". */ Object(tt.__)("Get the %s plugin now!","wordpress-seo"),"Yoast News SEO"))))};Zt.propTypes={name:nt.a.string.isRequired,disabled:nt.a.bool};var er=Zt;const tr=e=>{let{isEnabled:t,text: /* translators: %1$s expands to an opening emphasis tag. %2$s expands to a closing emphasis tag. */ r=Object(tt.__)("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 features%4$s.","wordpress-seo")}=e;const a=Object(s.useMemo)(()=>Object(s.createInterpolateElement)(Object(tt.sprintf)(r,"","","",""),{em:Object(s.createElement)("em",null),link:Object(s.createElement)(Be,{to:"/site-features#section-social-sharing"})}),[]);return t?null:Object(s.createElement)(l.Alert,{variant:"info",className:"yst-mb-6"},a)};tr.propTypes={isEnabled:nt.a.bool.isRequired,text:nt.a.string};var rr=tr,sr=r(97),ar={border:0,clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",whiteSpace:"nowrap",padding:0,width:"1px",position:"absolute"},nr=function(e){var t=e.message,r=e["aria-live"];return d.a.createElement("div",{style:ar,role:"log","aria-live":r},t||"")};nr.propTypes={};var or=nr;function ir(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function lr(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var cr=function(e){function t(){var r,s;ir(this,t);for(var a=arguments.length,n=Array(a),o=0;o{let{children:t,title:r,description:a}=e;const n=function(){let{prefix:e="",postfix:t=""}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const r=pt("selectPreference",[],"documentTitle");return e+r+t}({prefix:r+" ‹ "}),o=Object(tt.sprintf)( /* translators: 1: Settings' section title, 2: Yoast SEO */ Object(tt.__)("%1$s Settings - %2$s","wordpress-seo"),r,"Yoast SEO");return Object(s.createElement)(mr,null,Object(s.createElement)(gr,{message:o,"aria-live":"polite"}),Object(s.createElement)(sr.Helmet,null,Object(s.createElement)("title",null,n)),Object(s.createElement)("header",{className:"yst-p-8 yst-border-b yst-border-slate-200"},Object(s.createElement)("div",{className:"yst-max-w-screen-sm"},Object(s.createElement)(l.Title,null,r),a&&Object(s.createElement)("p",{className:"yst-text-tiny yst-mt-3"},a))),t)};vr.propTypes={children:nt.a.node.isRequired,title:nt.a.string.isRequired,description:nt.a.node};var Er=vr,xr=r(304),Sr=c.forwardRef((function(e,t){return c.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),c.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z"}))})),kr=c.forwardRef((function(e,t){return c.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),c.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6 18L18 6M6 6l12 12"}))}));function Fr(){return(Fr=Object.assign?Object.assign.bind():function(e){for(var t=1;te.length)&&(t=e.length);for(var r=0,s=new Array(t);r'),1):!r||t.some((function(e){return r.includes(e)}))||t.includes("*"))){var t,r,s=function(t){var r;Nr(t,["input","textarea","select"])&&!Nr(t,null==l?void 0:l.enableOnFormTags)||(null===a.current||document.activeElement===a.current||a.current.contains(document.activeElement)?(null==(r=t.target)||!r.isContentEditable||null!=l&&l.enableOnContentEditable)&&Rr(e,null==l?void 0:l.splitKey).forEach((function(e){var r,s=Ir(e,null==l?void 0:l.combinationKey);if(function(e,t,r){var s=t.alt,a=t.meta,n=t.mod,o=t.shift,i=t.keys,l=e.altKey,c=e.ctrlKey,d=e.metaKey,u=e.shiftKey,p=e.key,m=e.code.toLowerCase().replace("key",""),b=p.toLowerCase();if(l!==s&&"alt"!==b)return!1;if(u!==o&&"shift"!==b)return!1;if(n){if(!d&&!c)return!1}else if(d!==a&&c!==a&&"meta"!==m&&"ctrl"!==m)return!1;return!(!i||1!==i.length||!i.includes(b)&&!i.includes(m))||(i?i.every((function(e){return r.has(e)})):!i)}(t,s,Dr)||null!=(r=s.keys)&&r.includes("*")){if(function(e,t,r){("function"==typeof r&&r(e,t)||!0===r)&&e.preventDefault()}(t,s,null==l?void 0:l.preventDefault),!function(e,t,r){return"function"==typeof r?r(e,t):!0===r||void 0===r}(t,s,null==l?void 0:l.enabled))return void Cr(t);i(t,s)}})):Cr(t))},n=function(e){void 0!==e.key&&(Dr.add(e.key.toLowerCase()),(void 0===(null==l?void 0:l.keydown)&&!0!==(null==l?void 0:l.keyup)||null!=l&&l.keydown)&&s(e))},o=function(e){void 0!==e.key&&("meta"!==e.key.toLowerCase()?Dr.delete(e.key.toLowerCase()):Dr.clear(),null!=l&&l.keyup&&s(e))};return(a.current||document).addEventListener("keyup",o),(a.current||document).addEventListener("keydown",n),u&&Rr(e,null==l?void 0:l.splitKey).forEach((function(e){return u.addHotkey(Ir(e,null==l?void 0:l.combinationKey))})),function(){(a.current||document).removeEventListener("keyup",o),(a.current||document).removeEventListener("keydown",n),u&&Rr(e,null==l?void 0:l.splitKey).forEach((function(e){return u.removeHotkey(Ir(e,null==l?void 0:l.combinationKey))}))}}}),[e,i,l,d]),a}var Br=new Set;"undefined"!=typeof window&&window.addEventListener("DOMContentLoaded",(function(){document.addEventListener("keydown",(function(e){var t;void 0!==e.key&&(t=e.key,(Array.isArray(t)?t:[t]).forEach((function(e){return Br.add(Ir(e))})))})),document.addEventListener("keyup",(function(e){var t;void 0!==e.key&&(t=e.key,(Array.isArray(t)?t:[t]).forEach((function(e){for(var t,r=Ir(e),s=function(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(r)return(r=r.call(e)).next.bind(r);if(Array.isArray(e)||(r=function(e,t){if(e){if("string"==typeof e)return Tr(e,void 0);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Tr(e,void 0):void 0}}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var s=0;return function(){return s>=e.length?{done:!0}:{done:!1,value:e[s++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(Br);!(t=s()).done;){var a,n=t.value;null!=(a=n.keys)&&a.every((function(e){var t;return null==(t=r.keys)?void 0:t.includes(e)}))&&Br.delete(n)}})))}))}));const Ur=(e,t)=>{try{return e.toLocaleLowerCase(t)}catch(t){return console.error(t.message),e}},zr=(e,t)=>{let{name:r,label:s,route:a,hasArchive:n}=e,{userLocale:o}=t;return{["title-"+r]:{route:"/post-type/"+a,routeLabel:s,fieldId:"input-wpseo_titles-title-"+r,fieldLabel:Object(tt.__)("SEO title","wordpress-seo"),keywords:[]},["metadesc-"+r]:{route:"/post-type/"+a,routeLabel:s,fieldId:"input-wpseo_titles-metadesc-"+r,fieldLabel:Object(tt.__)("Meta description","wordpress-seo"),keywords:[]},["noindex-"+r]:{route:"/post-type/"+a,routeLabel:s,fieldId:"input-wpseo_titles-noindex-"+r,fieldLabel:Object(tt.sprintf)(// translators: %1$s expands to the post type plural, e.g. Posts. Object(tt.__)("Show %1$s in search results","wordpress-seo"),Ur(s,o)),keywords:[]},["display-metabox-pt-"+r]:{route:"/post-type/"+a,routeLabel:s,fieldId:"input-wpseo_titles-display-metabox-pt-"+r,fieldLabel:Object(tt.__)("Enable SEO controls and assessments","wordpress-seo"),keywords:[]},["schema-page-type-"+r]:{route:"/post-type/"+a,routeLabel:s,fieldId:"input-wpseo_titles-schema-page-type-"+r,fieldLabel:Object(tt.__)("Page type","wordpress-seo"),keywords:[Object(tt.__)("Schema","wordpress-seo"),Object(tt.__)("Structured data","wordpress-seo")]},["schema-article-type-"+r]:{route:"/post-type/"+a,routeLabel:s,fieldId:"input-wpseo_titles-schema-article-type-"+r,fieldLabel:Object(tt.__)("Article type","wordpress-seo"),keywords:[Object(tt.__)("Schema","wordpress-seo"),Object(tt.__)("Structured data","wordpress-seo")]},["page-analyse-extra-"+r]:{route:"/post-type/"+a,routeLabel:s,fieldId:"input-wpseo_titles-page-analyse-extra-"+r,fieldLabel:Object(tt.__)("Add custom fields to page analysis","wordpress-seo"),keywords:[]},..."attachment"!==r&&{["social-title-"+r]:{route:"/post-type/"+a,routeLabel:s,fieldId:"input-wpseo_titles-social-title-"+r,fieldLabel:Object(tt.__)("Social title","wordpress-seo"),keywords:[]},["social-description-"+r]:{route:"/post-type/"+a,routeLabel:s,fieldId:"input-wpseo_titles-social-description-"+r,fieldLabel:Object(tt.__)("Social description","wordpress-seo"),keywords:[]},["social-image-id-"+r]:{route:"/post-type/"+a,routeLabel:s,fieldId:`button-wpseo_titles-social-image-${r}-preview`,fieldLabel:Object(tt.__)("Social image","wordpress-seo"),keywords:[]}},...n&&{["title-ptarchive-"+r]:{route:"/post-type/"+a,routeLabel:s,fieldId:"input-wpseo_titles-title-ptarchive-"+r,fieldLabel:Object(tt.__)("Archive SEO title","wordpress-seo"),keywords:[]},["metadesc-ptarchive-"+r]:{route:"/post-type/"+a,routeLabel:s,fieldId:"input-wpseo_titles-metadesc-ptarchive-"+r,fieldLabel:Object(tt.__)("Archive meta description","wordpress-seo"),keywords:[]},["bctitle-ptarchive-"+r]:{route:"/post-type/"+a,routeLabel:s,fieldId:"input-wpseo_titles-bctitle-ptarchive-"+r,fieldLabel:Object(tt.__)("Archive breadcrumbs title","wordpress-seo"),keywords:[]},["noindex-ptarchive-"+r]:{route:"/post-type/"+a,routeLabel:s,fieldId:"input-wpseo_titles-noindex-ptarchive-"+r,fieldLabel:Object(tt.sprintf)(// translators: %1$s expands to the post type plural, e.g. Posts. Object(tt.__)("Show the archive for %1$s in search results","wordpress-seo"),Ur(s,o)),keywords:[]},["social-title-ptarchive-"+r]:{route:"/post-type/"+a,routeLabel:s,fieldId:"input-wpseo_titles-social-title-ptarchive-"+r,fieldLabel:Object(tt.__)("Archive social title","wordpress-seo"),keywords:[]},["social-description-ptarchive-"+r]:{route:"/post-type/"+a,routeLabel:s,fieldId:"input-wpseo_titles-social-description-ptarchive-"+r,fieldLabel:Object(tt.__)("Archive social description","wordpress-seo"),keywords:[]},["social-image-id-ptarchive-"+r]:{route:"/post-type/"+a,routeLabel:s,fieldId:`button-wpseo_titles-social-image-ptarchive-${r}-preview`,fieldLabel:Object(tt.__)("Archive social image","wordpress-seo"),keywords:[]}}}},qr=(e,t)=>{let{name:r,label:s,route:a}=e,{userLocale:n}=t;return{["title-tax-"+r]:{route:"/taxonomy/"+a,routeLabel:s,fieldId:"input-wpseo_titles-title-tax-"+r,fieldLabel:Object(tt.__)("SEO title","wordpress-seo"),keywords:[]},["metadesc-tax-"+r]:{route:"/taxonomy/"+a,routeLabel:s,fieldId:"input-wpseo_titles-metadesc-tax-"+r,fieldLabel:Object(tt.__)("Meta description","wordpress-seo"),keywords:[]},["display-metabox-tax-"+r]:{route:"/taxonomy/"+a,routeLabel:s,fieldId:"input-wpseo_titles-display-metabox-tax-"+r,fieldLabel:Object(tt.sprintf)( /* translators: %1$s expands to "Yoast SEO". %2$s expands to the taxonomy plural, e.g. Categories. */ Object(tt.__)("Enable %1$s for %2$s","wordpress-seo"),"Yoast SEO",Ur(s,n)),keywords:[]},["display-metabox-tax-"+r]:{route:"/taxonomy/"+a,routeLabel:s,fieldId:"input-wpseo_titles-display-metabox-tax-"+r,fieldLabel:Object(tt.__)("Enable SEO controls and assessments","wordpress-seo"),keywords:[]},["noindex-tax-"+r]:{route:"/taxonomy/"+a,routeLabel:s,fieldId:"input-wpseo_titles-noindex-tax-"+r,fieldLabel:Object(tt.sprintf)(// translators: %1$s expands to the taxonomy plural, e.g. Categories. Object(tt.__)("Show %1$s in search results","wordpress-seo"),Ur(s,n)),keywords:[]},["social-title-tax-"+r]:{route:"/taxonomy/"+a,routeLabel:s,fieldId:"input-wpseo_titles-social-title-tax-"+r,fieldLabel:Object(tt.__)("Social title","wordpress-seo"),keywords:[]},["social-description-tax-"+r]:{route:"/taxonomy/"+a,routeLabel:s,fieldId:"input-wpseo_titles-social-description-tax-"+r,fieldLabel:Object(tt.__)("Social description","wordpress-seo"),keywords:[]},["social-image-id-tax-"+r]:{route:"/taxonomy/"+a,routeLabel:s,fieldId:`button-wpseo_titles-social-image-tax-${r}-preview`,fieldLabel:Object(tt.__)("Social image","wordpress-seo"),keywords:[]},..."category"===r&&{stripcategorybase:{route:"/taxonomy/"+a,routeLabel:s,fieldId:"input-wpseo_titles-stripcategorybase",fieldLabel:Object(tt.__)("Show the categories prefix in the slug","wordpress-seo"),keywords:[]}}}},Wr=function(e,t){let{userLocale:r}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return{blogdescription:{route:"/site-basics",routeLabel:Object(tt.__)("Site basics","wordpress-seo"),fieldId:"input-blogdescription",fieldLabel:Object(tt.__)("Tagline","wordpress-seo"),keywords:[]},wpseo:{keyword_analysis_active:{route:"/site-features",routeLabel:Object(tt.__)("Site features","wordpress-seo"),fieldId:"card-wpseo-keyword_analysis_active",fieldLabel:Object(tt.__)("SEO analysis","wordpress-seo"),keywords:[]},content_analysis_active:{route:"/site-features",routeLabel:Object(tt.__)("Site features","wordpress-seo"),fieldId:"card-wpseo-content_analysis_active",fieldLabel:Object(tt.__)("Readability analysis","wordpress-seo"),keywords:[]},inclusive_language_analysis_active:{route:"/site-features",routeLabel:Object(tt.__)("Site features","wordpress-seo"),fieldId:"card-wpseo-inclusive_language_analysis_active",fieldLabel:Object(tt.__)("Inclusive language analysis","wordpress-seo"),keywords:[]},enable_metabox_insights:{route:"/site-features",routeLabel:Object(tt.__)("Site features","wordpress-seo"),fieldId:"card-wpseo-enable_metabox_insights",fieldLabel:Object(tt.__)("Insights","wordpress-seo"),keywords:[]},enable_cornerstone_content:{route:"/site-features",routeLabel:Object(tt.__)("Site features","wordpress-seo"),fieldId:"card-wpseo-enable_cornerstone_content",fieldLabel:Object(tt.__)("Cornerstone content","wordpress-seo"),keywords:[]},enable_text_link_counter:{route:"/site-features",routeLabel:Object(tt.__)("Site features","wordpress-seo"),fieldId:"card-wpseo-enable_text_link_counter",fieldLabel:Object(tt.__)("Text link counter","wordpress-seo"),keywords:[]},enable_link_suggestions:{route:"/site-features",routeLabel:Object(tt.__)("Site features","wordpress-seo"),fieldId:"card-wpseo-enable_link_suggestions",fieldLabel:Object(tt.__)("Link suggestions","wordpress-seo"),keywords:[]},enable_enhanced_slack_sharing:{route:"/site-features",routeLabel:Object(tt.__)("Site features","wordpress-seo"),fieldId:"card-wpseo-enable_enhanced_slack_sharing",fieldLabel:Object(tt.__)("Slack sharing","wordpress-seo"),keywords:[Object(tt.__)("Share","wordpress-seo")]},enable_admin_bar_menu:{route:"/site-features",routeLabel:Object(tt.__)("Site features","wordpress-seo"),fieldId:"card-wpseo-enable_admin_bar_menu",fieldLabel:Object(tt.__)("Admin bar menu","wordpress-seo"),keywords:[]},enable_headless_rest_endpoints:{route:"/site-features",routeLabel:Object(tt.__)("Site features","wordpress-seo"),fieldId:"card-wpseo-enable_headless_rest_endpoints",fieldLabel:Object(tt.__)("REST API endpoint","wordpress-seo"),keywords:[]},enable_xml_sitemap:{route:"/site-features",routeLabel:Object(tt.__)("Site features","wordpress-seo"),fieldId:"card-wpseo-enable_xml_sitemap",fieldLabel:Object(tt.__)("XML sitemaps","wordpress-seo"),keywords:[]},enable_index_now:{route:"/site-features",routeLabel:Object(tt.__)("Site features","wordpress-seo"),fieldId:"card-wpseo-enable_index_now",fieldLabel:Object(tt.__)("IndexNow","wordpress-seo"),keywords:[Object(tt.__)("Index Now","wordpress-seo")]},enable_ai_generator:{route:"/site-features",routeLabel:Object(tt.__)("Site features","wordpress-seo"),fieldId:"card-wpseo-enable_ai_generator",fieldLabel:Object(tt.__)("AI title & description generator","wordpress-seo"),keywords:[Object(tt.__)("AI generator","wordpress-seo")]},disableadvanced_meta:{route:"/site-basics",routeLabel:Object(tt.__)("Site basics","wordpress-seo"),fieldId:"input-wpseo-disableadvanced_meta",fieldLabel:Object(tt.__)("Restrict advanced settings for authors","wordpress-seo"),keywords:[]},tracking:{route:"/site-basics",routeLabel:Object(tt.__)("Site basics","wordpress-seo"),fieldId:"input-wpseo-tracking",fieldLabel:Object(tt.__)("Usage tracking","wordpress-seo"),keywords:[]},publishing_principles_id:{route:"/site-basics",routeLabel:Object(tt.__)("Site basics","wordpress-seo"),fieldId:"input-wpseo_titles-publishing_principles_id",fieldLabel:Object(tt.__)("Publishing principles","wordpress-seo"),keywords:[Object(tt.__)("Publishing policies","wordpress-seo")]},ownership_funding_info_id:{route:"/site-basics",routeLabel:Object(tt.__)("Site basics","wordpress-seo"),fieldId:"input-wpseo_titles-ownership_funding_info_id",fieldLabel:Object(tt.__)("Ownership / Funding info","wordpress-seo"),keywords:[Object(tt.__)("Publishing policies","wordpress-seo")]},actionable_feedback_policy_id:{route:"/site-basics",routeLabel:Object(tt.__)("Site basics","wordpress-seo"),fieldId:"input-wpseo_titles-actionable_feedback_policy_id",fieldLabel:Object(tt.__)("Actionable feedback policy","wordpress-seo"),keywords:[Object(tt.__)("Publishing policies","wordpress-seo")]},corrections_policy_id:{route:"/site-basics",routeLabel:Object(tt.__)("Site basics","wordpress-seo"),fieldId:"input-wpseo_titles-corrections_policy_id",fieldLabel:Object(tt.__)("Corrections policy","wordpress-seo"),keywords:[Object(tt.__)("Publishing policies","wordpress-seo")]},ethics_policy_id:{route:"/site-basics",routeLabel:Object(tt.__)("Site basics","wordpress-seo"),fieldId:"input-wpseo_titles-ethics_policy_id",fieldLabel:Object(tt.__)("Ethics policy","wordpress-seo"),keywords:[Object(tt.__)("Publishing policies","wordpress-seo")]},diversity_policy_id:{route:"/site-basics",routeLabel:Object(tt.__)("Site basics","wordpress-seo"),fieldId:"input-wpseo_titles-diversity_policy_id",fieldLabel:Object(tt.__)("Diversity policy","wordpress-seo"),keywords:[Object(tt.__)("Publishing policies","wordpress-seo")]},diversity_staffing_report_id:{route:"/site-basics",routeLabel:Object(tt.__)("Site basics","wordpress-seo"),fieldId:"input-wpseo_titles-diversity_staffing_report_id",fieldLabel:Object(tt.__)("Diversity staffing report","wordpress-seo"),keywords:[Object(tt.__)("Publishing policies","wordpress-seo")]},baiduverify:{route:"/site-connections",routeLabel:Object(tt.__)("Site connections","wordpress-seo"),fieldId:"input-wpseo-baiduverify",fieldLabel:Object(tt.__)("Baidu","wordpress-seo"),keywords:[Object(tt.__)("Webmaster","wordpress-seo")]},googleverify:{route:"/site-connections",routeLabel:Object(tt.__)("Site connections","wordpress-seo"),fieldId:"input-wpseo-googleverify",fieldLabel:Object(tt.__)("Google","wordpress-seo"),keywords:[Object(tt.__)("Webmaster","wordpress-seo"),Object(tt.__)("Google search console","wordpress-seo"),"gsc"]},msverify:{route:"/site-connections",routeLabel:Object(tt.__)("Site connections","wordpress-seo"),fieldId:"input-wpseo-msverify",fieldLabel:Object(tt.__)("Bing","wordpress-seo"),keywords:[Object(tt.__)("Webmaster","wordpress-seo")]},yandexverify:{route:"/site-connections",routeLabel:Object(tt.__)("Site connections","wordpress-seo"),fieldId:"input-wpseo-yandexverify",fieldLabel:Object(tt.__)("Yandex","wordpress-seo"),keywords:[Object(tt.__)("Webmaster","wordpress-seo")]},remove_shortlinks:{route:"/crawl-optimization",routeLabel:Object(tt.__)("Crawl optimization","wordpress-seo"),fieldId:"input-wpseo-remove_shortlinks",fieldLabel:Object(tt.__)("Remove shortlinks","wordpress-seo"),keywords:[]},remove_rest_api_links:{route:"/crawl-optimization",routeLabel:Object(tt.__)("Crawl optimization","wordpress-seo"),fieldId:"input-wpseo-remove_rest_api_links",fieldLabel:Object(tt.__)("Remove REST API links","wordpress-seo"),keywords:[]},remove_rsd_wlw_links:{route:"/crawl-optimization",routeLabel:Object(tt.__)("Crawl optimization","wordpress-seo"),fieldId:"input-wpseo-remove_rsd_wlw_links",fieldLabel:Object(tt.__)("Remove RSD / WLW links","wordpress-seo"),keywords:[]},remove_oembed_links:{route:"/crawl-optimization",routeLabel:Object(tt.__)("Crawl optimization","wordpress-seo"),fieldId:"input-wpseo-remove_oembed_links",fieldLabel:Object(tt.__)("Remove oEmbed links","wordpress-seo"),keywords:[]},remove_generator:{route:"/crawl-optimization",routeLabel:Object(tt.__)("Crawl optimization","wordpress-seo"),fieldId:"input-wpseo-remove_generator",fieldLabel:Object(tt.__)("Remove generator tag","wordpress-seo"),keywords:[]},remove_pingback_header:{route:"/crawl-optimization",routeLabel:Object(tt.__)("Crawl optimization","wordpress-seo"),fieldId:"input-wpseo-remove_pingback_header",fieldLabel:Object(tt.__)("Pingback HTTP header","wordpress-seo"),keywords:[]},remove_powered_by_header:{route:"/crawl-optimization",routeLabel:Object(tt.__)("Crawl optimization","wordpress-seo"),fieldId:"input-wpseo-remove_powered_by_header",fieldLabel:Object(tt.__)("Remove powered by HTTP header","wordpress-seo"),keywords:[]},remove_feed_global:{route:"/crawl-optimization",routeLabel:Object(tt.__)("Crawl optimization","wordpress-seo"),fieldId:"input-wpseo-remove_feed_global",fieldLabel:Object(tt.__)("Remove global feed","wordpress-seo"),keywords:[]},remove_feed_global_comments:{route:"/crawl-optimization",routeLabel:Object(tt.__)("Crawl optimization","wordpress-seo"),fieldId:"input-wpseo-remove_feed_global_comments",fieldLabel:Object(tt.__)("Remove global comment feeds","wordpress-seo"),keywords:[]},remove_feed_post_comments:{route:"/crawl-optimization",routeLabel:Object(tt.__)("Crawl optimization","wordpress-seo"),fieldId:"input-wpseo-remove_feed_post_comments",fieldLabel:Object(tt.__)("Remove post comments feeds","wordpress-seo"),keywords:[]},remove_feed_authors:{route:"/crawl-optimization",routeLabel:Object(tt.__)("Crawl optimization","wordpress-seo"),fieldId:"input-wpseo-remove_feed_authors",fieldLabel:Object(tt.__)("Remove post authors feeds","wordpress-seo"),keywords:[]},remove_feed_post_types:{route:"/crawl-optimization",routeLabel:Object(tt.__)("Crawl optimization","wordpress-seo"),fieldId:"input-wpseo-remove_feed_post_types",fieldLabel:Object(tt.__)("Remove post type feeds","wordpress-seo"),keywords:[]},remove_feed_categories:{route:"/crawl-optimization",routeLabel:Object(tt.__)("Crawl optimization","wordpress-seo"),fieldId:"input-wpseo-remove_feed_categories",fieldLabel:Object(tt.__)("Remove category feeds","wordpress-seo"),keywords:[]},remove_feed_tags:{route:"/crawl-optimization",routeLabel:Object(tt.__)("Crawl optimization","wordpress-seo"),fieldId:"input-wpseo-remove_feed_tags",fieldLabel:Object(tt.__)("Remove tag feeds","wordpress-seo"),keywords:[]},remove_feed_custom_taxonomies:{route:"/crawl-optimization",routeLabel:Object(tt.__)("Crawl optimization","wordpress-seo"),fieldId:"input-wpseo-remove_feed_custom_taxonomies",fieldLabel:Object(tt.__)("Remove custom taxonomy feeds","wordpress-seo"),keywords:[]},remove_feed_search:{route:"/crawl-optimization",routeLabel:Object(tt.__)("Crawl optimization","wordpress-seo"),fieldId:"input-wpseo-remove_feed_search",fieldLabel:Object(tt.__)("Remove search results feeds","wordpress-seo"),keywords:[]},remove_atom_rdf_feeds:{route:"/crawl-optimization",routeLabel:Object(tt.__)("Crawl optimization","wordpress-seo"),fieldId:"input-wpseo-remove_atom_rdf_feeds",fieldLabel:Object(tt.__)("Remove Atom/RDF feeds","wordpress-seo"),keywords:[]},remove_emoji_scripts:{route:"/crawl-optimization",routeLabel:Object(tt.__)("Crawl optimization","wordpress-seo"),fieldId:"input-wpseo-remove_emoji_scripts",fieldLabel:Object(tt.__)("Remove emoji scripts","wordpress-seo"),keywords:[]},deny_wp_json_crawling:{route:"/crawl-optimization",routeLabel:Object(tt.__)("Crawl optimization","wordpress-seo"),fieldId:"input-wpseo-deny_wp_json_crawling",fieldLabel:Object(tt.__)("Remove WP-JSON API","wordpress-seo"),keywords:["robots"]},deny_adsbot_crawling:{route:"/crawl-optimization",routeLabel:Object(tt.__)("Crawl optimization","wordpress-seo"),fieldId:"input-wpseo-deny_adsbot_crawling",fieldLabel:Object(tt.__)("Prevent Google AdsBot from crawling","wordpress-seo"),keywords:["robots"]},search_cleanup:{route:"/crawl-optimization",routeLabel:Object(tt.__)("Crawl optimization","wordpress-seo"),fieldId:"input-wpseo-search_cleanup",fieldLabel:Object(tt.__)("Filter search terms","wordpress-seo"),keywords:[]},search_character_limit:{route:"/crawl-optimization",routeLabel:Object(tt.__)("Crawl optimization","wordpress-seo"),fieldId:"input-wpseo-search_character_limit",fieldLabel:Object(tt.__)("Max number of characters to allow in searches","wordpress-seo"),keywords:[]},search_cleanup_emoji:{route:"/crawl-optimization",routeLabel:Object(tt.__)("Crawl optimization","wordpress-seo"),fieldId:"input-wpseo-search_cleanup_emoji",fieldLabel:Object(tt.__)("Filter searches with emojis and other special characters","wordpress-seo"),keywords:[]},search_cleanup_patterns:{route:"/crawl-optimization",routeLabel:Object(tt.__)("Crawl optimization","wordpress-seo"),fieldId:"input-wpseo-search_cleanup_patterns",fieldLabel:Object(tt.__)("Filter searches with common spam patterns","wordpress-seo"),keywords:[]},redirect_search_pretty_urls:{route:"/crawl-optimization",routeLabel:Object(tt.__)("Crawl optimization","wordpress-seo"),fieldId:"input-wpseo-redirect_search_pretty_urls",fieldLabel:Object(tt.__)("Redirect pretty URLs to ‘raw’ formats","wordpress-seo"),keywords:[]},deny_search_crawling:{route:"/crawl-optimization",routeLabel:Object(tt.__)("Crawl optimization","wordpress-seo"),fieldId:"input-wpseo-deny_search_crawling",fieldLabel:Object(tt.__)("Prevent crawling of internal site search URLs","wordpress-seo"),keywords:["robots"]},clean_campaign_tracking_urls:{route:"/crawl-optimization",routeLabel:Object(tt.__)("Crawl optimization","wordpress-seo"),fieldId:"input-wpseo-clean_campaign_tracking_urls",fieldLabel:Object(tt.__)("Optimize Google Analytics utm tracking parameters","wordpress-seo"),keywords:[]},clean_permalinks:{route:"/crawl-optimization",routeLabel:Object(tt.__)("Crawl optimization","wordpress-seo"),fieldId:"input-wpseo-clean_permalinks",fieldLabel:Object(tt.__)("Remove unregistered URL parameters","wordpress-seo"),keywords:[]},clean_permalinks_extra_variables:{route:"/crawl-optimization",routeLabel:Object(tt.__)("Crawl optimization","wordpress-seo"),fieldId:"input-wpseo-clean_permalinks_extra_variables",fieldLabel:Object(tt.__)("Additional URL parameters to allow","wordpress-seo"),keywords:[]}},wpseo_titles:{website_name:{route:"/site-basics",routeLabel:Object(tt.__)("Site basics","wordpress-seo"),fieldId:"input-wpseo_titles-website_name",fieldLabel:Object(tt.__)("Website name","wordpress-seo"),keywords:[]},alternate_website_name:{route:"/site-basics",routeLabel:Object(tt.__)("Site basics","wordpress-seo"),fieldId:"input-wpseo_titles-alternate_website_name",fieldLabel:Object(tt.__)("Alternate website name","wordpress-seo"),keywords:[]},forcerewritetitles:{route:"/site-basics",routeLabel:Object(tt.__)("Site basics","wordpress-seo"),fieldId:"input-wpseo_titles-forcerewritetitle",fieldLabel:Object(tt.__)("Force rewrite titles","wordpress-seo"),keywords:[]},separator:{route:"/site-basics",routeLabel:Object(tt.__)("Site basics","wordpress-seo"),fieldId:"input-wpseo_titles-separator-sc-dash",fieldLabel:Object(tt.__)("Title separator","wordpress-seo"),keywords:[Object(tt.__)("Divider","wordpress-seo")]},company_or_person:{route:"/site-representation",routeLabel:Object(tt.__)("Site representation","wordpress-seo"),fieldId:"input-wpseo_titles-company_or_person-company",fieldLabel:Object(tt.__)("Organization/person","wordpress-seo"),keywords:[Object(tt.__)("Schema","wordpress-seo"),Object(tt.__)("Structured data","wordpress-seo")]},company_name:{route:"/site-representation",routeLabel:Object(tt.__)("Site representation","wordpress-seo"),fieldId:"input-wpseo_titles-company_name",fieldLabel:Object(tt.__)("Organization name","wordpress-seo"),keywords:[]},company_alternate_name:{route:"/site-representation",routeLabel:Object(tt.__)("Site representation","wordpress-seo"),fieldId:"input-wpseo_titles-company_alternate_name",fieldLabel:Object(tt.__)("Alternate organization name","wordpress-seo"),keywords:[]},company_logo_id:{route:"/site-representation",routeLabel:Object(tt.__)("Site representation","wordpress-seo"),fieldId:"button-wpseo_titles-company_logo-preview",fieldLabel:Object(tt.__)("Organization logo","wordpress-seo"),keywords:[Object(tt.__)("Image","wordpress-seo")]},company_or_person_user_id:{route:"/site-representation",routeLabel:Object(tt.__)("Site representation","wordpress-seo"),fieldId:"input-wpseo_titles-company_or_person_user_id",fieldLabel:Object(tt.__)("User","wordpress-seo"),keywords:[]},person_logo_id:{route:"/site-representation",routeLabel:Object(tt.__)("Site representation","wordpress-seo"),fieldId:"button-wpseo_titles-person_logo-preview",fieldLabel:Object(tt.__)("Personal logo or avatar","wordpress-seo"),keywords:[Object(tt.__)("Image","wordpress-seo")]},"title-home-wpseo":{route:"/homepage",routeLabel:Object(tt.__)("Homepage","wordpress-seo"),fieldId:"input-wpseo_titles-title-home-wpseo",fieldLabel:Object(tt.__)("SEO title","wordpress-seo"),keywords:[]},"metadesc-home-wpseo":{route:"/homepage",routeLabel:Object(tt.__)("Homepage","wordpress-seo"),fieldId:"input-wpseo_titles-metadesc-home-wpseo",fieldLabel:Object(tt.__)("Meta description","wordpress-seo"),keywords:[]},open_graph_frontpage_image_id:{route:"/homepage",routeLabel:Object(tt.__)("Homepage","wordpress-seo"),fieldId:"button-wpseo_titles-open_graph_frontpage_image-preview",fieldLabel:Object(tt.__)("Social image","wordpress-seo"),keywords:[]},open_graph_frontpage_title:{route:"/homepage",routeLabel:Object(tt.__)("Homepage","wordpress-seo"),fieldId:"input-wpseo_titles-open_graph_frontpage_title",fieldLabel:Object(tt.__)("Social title","wordpress-seo"),keywords:[]},open_graph_frontpage_desc:{route:"/homepage",routeLabel:Object(tt.__)("Homepage","wordpress-seo"),fieldId:"input-wpseo_titles-open_graph_frontpage_desc",fieldLabel:Object(tt.__)("Social description","wordpress-seo"),keywords:[]},"breadcrumbs-sep":{route:"/breadcrumbs",routeLabel:Object(tt.__)("Breadcrumbs","wordpress-seo"),fieldId:"input-wpseo_titles-breadcrumbs-sep",fieldLabel:Object(tt.__)("Separator between breadcrumbs","wordpress-seo"),keywords:[Object(tt.__)("Divider","wordpress-seo"),Object(tt.__)("Separator","wordpress-seo")]},"breadcrumbs-home":{route:"/breadcrumbs",routeLabel:Object(tt.__)("Breadcrumbs","wordpress-seo"),fieldId:"input-wpseo_titles-breadcrumbs-home",fieldLabel:Object(tt.__)("Anchor text for the homepage","wordpress-seo"),keywords:[]},"breadcrumbs-prefix":{route:"/breadcrumbs",routeLabel:Object(tt.__)("Breadcrumbs","wordpress-seo"),fieldId:"input-wpseo_titles-breadcrumbs-prefix",fieldLabel:Object(tt.__)("Prefix for the breadcrumb path","wordpress-seo"),keywords:[]},"breadcrumbs-archiveprefix":{route:"/breadcrumbs",routeLabel:Object(tt.__)("Breadcrumbs","wordpress-seo"),fieldId:"input-wpseo_titles-breadcrumbs-archiveprefix",fieldLabel:Object(tt.__)("Prefix for archive breadcrumbs","wordpress-seo"),keywords:[]},"breadcrumbs-searchprefix":{route:"/breadcrumbs",routeLabel:Object(tt.__)("Breadcrumbs","wordpress-seo"),fieldId:"input-wpseo_titles-breadcrumbs-searchprefix",fieldLabel:Object(tt.__)("Prefix for search page breadcrumbs","wordpress-seo"),keywords:[]},"breadcrumbs-404crumb":{route:"/breadcrumbs",routeLabel:Object(tt.__)("Breadcrumbs","wordpress-seo"),fieldId:"input-wpseo_titles-breadcrumbs-404crumb",fieldLabel:Object(tt.__)("Breadcrumb for 404 page","wordpress-seo"),keywords:[]},"breadcrumbs-display-blog-page":{route:"/breadcrumbs",routeLabel:Object(tt.__)("Breadcrumbs","wordpress-seo"),fieldId:"input-wpseo_titles-breadcrumbs-display-blog-page",fieldLabel:Object(tt.__)("Show blog page in breadcrumbs","wordpress-seo"),keywords:[]},"breadcrumbs-boldlast":{route:"/breadcrumbs",routeLabel:Object(tt.__)("Breadcrumbs","wordpress-seo"),fieldId:"input-wpseo_titles-breadcrumbs-boldlast",fieldLabel:Object(tt.__)("Bold the last page","wordpress-seo"),keywords:[]},"breadcrumbs-enable":{route:"/breadcrumbs",routeLabel:Object(tt.__)("Breadcrumbs","wordpress-seo"),fieldId:"input-wpseo_titles-breadcrumbs-enable",fieldLabel:Object(tt.__)("Enable breadcrumbs for your theme","wordpress-seo"),keywords:[]},...Object(ie.reduce)(e,(e,s)=>{const a=Object(ie.filter)(t,e=>Object(ie.includes)(e.postTypes,s.name));return Object(ie.isEmpty)(a)?e:{...e,[`post_types-${s.name}-maintax`]:{route:"/breadcrumbs",routeLabel:Object(tt.__)("Breadcrumbs","wordpress-seo"),fieldId:`input-wpseo_titles-post_types-${s.name}-maintax`, // translators: %1$s expands to the post type plural, e.g. posts. fieldLabel:Object(tt.sprintf)(Object(tt.__)("Breadcrumbs for %1$s","wordpress-seo"),Ur(s.label,r)),keywords:[]}}},{}),...Object(ie.reduce)(t,(e,t)=>({...e,[`taxonomy-${t.name}-ptparent`]:{route:"/breadcrumbs",routeLabel:Object(tt.__)("Breadcrumbs","wordpress-seo"),fieldId:`input-wpseo_titles-taxonomy-${t.name}-ptparent`, // translators: %1$s expands to the taxonomy plural, e.g. categories. fieldLabel:Object(tt.sprintf)(Object(tt.__)("Breadcrumbs for %1$s","wordpress-seo"),Ur(t.label,r)),keywords:[]}}),{}),"disable-author":{route:"/author-archives",routeLabel:Object(tt.__)("Author archives","wordpress-seo"),fieldId:"input-wpseo_titles-disable-author",fieldLabel:Object(tt.__)("Enable author archives","wordpress-seo"),keywords:[]},"noindex-author-wpseo":{route:"/author-archives",routeLabel:Object(tt.__)("Author archives","wordpress-seo"),fieldId:"input-wpseo_titles-noindex-author-wpseo",fieldLabel:Object(tt.__)("Show author archives in search results","wordpress-seo"),keywords:[]},"noindex-author-noposts-wpseo":{route:"/author-archives",routeLabel:Object(tt.__)("Author archives","wordpress-seo"),fieldId:"input-wpseo_titles-noindex-author-noposts-wpseo",fieldLabel:Object(tt.__)("Show archives for authors without posts in search results","wordpress-seo"),keywords:[]},"title-author-wpseo":{route:"/author-archives",routeLabel:Object(tt.__)("Author archives","wordpress-seo"),fieldId:"input-wpseo_titles-title-author-wpseo",fieldLabel:Object(tt.__)("SEO title","wordpress-seo"),keywords:[]},"metadesc-author-wpseo":{route:"/author-archives",routeLabel:Object(tt.__)("Author archives","wordpress-seo"),fieldId:"input-wpseo_titles-metadesc-author-wpseo",fieldLabel:Object(tt.__)("Meta description","wordpress-seo"),keywords:[]},"social-image-id-author-wpseo":{route:"/author-archives",routeLabel:Object(tt.__)("Author archives","wordpress-seo"),fieldId:"button-wpseo_titles-social-image-author-wpseo-preview",fieldLabel:Object(tt.__)("Social image","wordpress-seo"),keywords:[]},"social-title-author-wpseo":{route:"/author-archives",routeLabel:Object(tt.__)("Author archives","wordpress-seo"),fieldId:"input-wpseo_titles-social-title-author-wpseo",fieldLabel:Object(tt.__)("Social title","wordpress-seo"),keywords:[]},"social-description-author-wpseo":{route:"/author-archives",routeLabel:Object(tt.__)("Author archives","wordpress-seo"),fieldId:"input-wpseo_titles-social-description-author-wpseo",fieldLabel:Object(tt.__)("Social description","wordpress-seo"),keywords:[]},"disable-date":{route:"/date-archives",routeLabel:Object(tt.__)("Date archives","wordpress-seo"),fieldId:"input-wpseo_titles-disable-date",fieldLabel:Object(tt.__)("Enable date archives","wordpress-seo"),keywords:[]},"noindex-archive-wpseo":{route:"/date-archives",routeLabel:Object(tt.__)("Date archives","wordpress-seo"),fieldId:"input-wpseo_titles-noindex-archive-wpseo",fieldLabel:Object(tt.__)("Show date archives in search results","wordpress-seo"),keywords:[]},"title-archive-wpseo":{route:"/date-archives",routeLabel:Object(tt.__)("Date archives","wordpress-seo"),fieldId:"input-wpseo_titles-title-archive-wpseo",fieldLabel:Object(tt.__)("SEO title","wordpress-seo"),keywords:[]},"metadesc-archive-wpseo":{route:"/date-archives",routeLabel:Object(tt.__)("Date archives","wordpress-seo"),fieldId:"input-wpseo_titles-metadesc-archive-wpseo",fieldLabel:Object(tt.__)("Meta description","wordpress-seo"),keywords:[]},"social-image-id-archive-wpseo":{route:"/date-archives",routeLabel:Object(tt.__)("Date archives","wordpress-seo"),fieldId:"button-wpseo_titles-social-image-archive-wpseo-preview",fieldLabel:Object(tt.__)("Social image","wordpress-seo"),keywords:[]},"social-title-archive-wpseo":{route:"/date-archives",routeLabel:Object(tt.__)("Date archives","wordpress-seo"),fieldId:"input-wpseo_titles-social-title-archive-wpseo",fieldLabel:Object(tt.__)("Social title","wordpress-seo"),keywords:[]},"social-description-archive-wpseo":{route:"/date-archives",routeLabel:Object(tt.__)("Date archives","wordpress-seo"),fieldId:"input-wpseo_titles-social-description-archive-wpseo",fieldLabel:Object(tt.__)("Social description","wordpress-seo"),keywords:[]},"title-search-wpseo":{route:"/special-pages",routeLabel:Object(tt.__)("Special pages","wordpress-seo"),fieldId:"input-wpseo_titles-title-search-wpseo",fieldLabel:Object(tt.__)("Search pages title","wordpress-seo"),keywords:[]},"title-404-wpseo":{route:"/special-pages",routeLabel:Object(tt.__)("Special pages","wordpress-seo"),fieldId:"input-wpseo_titles-title-404-wpseo",fieldLabel:Object(tt.__)("404 pages title","wordpress-seo"),keywords:[]},"disable-attachment":{route:"/media-pages",routeLabel:Object(tt.__)("Media pages","wordpress-seo"),fieldId:"input-wpseo_titles-disable-attachment",fieldLabel:Object(tt.__)("Media pages","wordpress-seo"),keywords:[Object(tt.__)("Attachment","wordpress-seo"),Object(tt.__)("Image","wordpress-seo"),Object(tt.__)("Video","wordpress-seo"),Object(tt.__)("PDF","wordpress-seo"),Object(tt.__)("File","wordpress-seo")]},"noindex-attachment":{route:"/media-pages",routeLabel:Object(tt.__)("Media pages","wordpress-seo"),fieldId:"input-wpseo_titles-noindex-attachment",fieldLabel:Object(tt.__)("Show media pages in search results","wordpress-seo"),keywords:[Object(tt.__)("Image","wordpress-seo"),Object(tt.__)("Video","wordpress-seo"),Object(tt.__)("PDF","wordpress-seo"),Object(tt.__)("File","wordpress-seo")]},"title-attachment":{route:"/media-pages",routeLabel:Object(tt.__)("Media pages","wordpress-seo"),fieldId:"input-wpseo_titles-title-attachment",fieldLabel:Object(tt.__)("SEO title","wordpress-seo"),keywords:[Object(tt.__)("Image","wordpress-seo"),Object(tt.__)("Video","wordpress-seo"),Object(tt.__)("PDF","wordpress-seo"),Object(tt.__)("File","wordpress-seo")]},"metadesc-attachment":{route:"/media-pages",routeLabel:Object(tt.__)("Media pages","wordpress-seo"),fieldId:"input-wpseo_titles-metadesc-attachment",fieldLabel:Object(tt.__)("Meta description","wordpress-seo"),keywords:[Object(tt.__)("Image","wordpress-seo"),Object(tt.__)("Video","wordpress-seo"),Object(tt.__)("PDF","wordpress-seo"),Object(tt.__)("File","wordpress-seo")]},"schema-page-type-attachment":{route:"/media-pages",routeLabel:Object(tt.__)("Media pages","wordpress-seo"),fieldId:"input-wpseo_titles-schema-page-type-attachment",fieldLabel:Object(tt.__)("Page type","wordpress-seo"),keywords:[Object(tt.__)("Schema","wordpress-seo"),Object(tt.__)("Structured data","wordpress-seo"),Object(tt.__)("Image","wordpress-seo"),Object(tt.__)("Video","wordpress-seo"),Object(tt.__)("PDF","wordpress-seo"),Object(tt.__)("File","wordpress-seo")]},"schema-article-type-attachment":{route:"/media-pages",routeLabel:Object(tt.__)("Media pages","wordpress-seo"),fieldId:"input-wpseo_titles-schema-article-type-attachment",fieldLabel:Object(tt.__)("Article type","wordpress-seo"),keywords:[Object(tt.__)("Schema","wordpress-seo"),Object(tt.__)("Structured data","wordpress-seo"),Object(tt.__)("Image","wordpress-seo"),Object(tt.__)("Video","wordpress-seo"),Object(tt.__)("PDF","wordpress-seo"),Object(tt.__)("File","wordpress-seo")]},"display-metabox-pt-attachment":{route:"/media-pages",routeLabel:Object(tt.__)("Media pages","wordpress-seo"),fieldId:"input-wpseo_titles-display-metabox-pt-attachment",fieldLabel:Object(tt.__)("Enable SEO controls and assessments","wordpress-seo"),keywords:[Object(tt.__)("Image","wordpress-seo"),Object(tt.__)("Video","wordpress-seo"),Object(tt.__)("PDF","wordpress-seo"),Object(tt.__)("File","wordpress-seo")]},"disable-post_format":{route:"/format-archives",routeLabel:Object(tt.__)("Format archives","wordpress-seo"),fieldId:"input-wpseo_titles-disable-post_format",fieldLabel:Object(tt.__)("Enable format-based archives","wordpress-seo"),keywords:[]},"noindex-tax-post_format":{route:"/format-archives",routeLabel:Object(tt.__)("Format archives","wordpress-seo"),fieldId:"input-wpseo_titles-noindex-tax-post_format",fieldLabel:Object(tt.__)("Show format archives in search results","wordpress-seo"),keywords:[]},"title-tax-post_format":{route:"/format-archives",routeLabel:Object(tt.__)("Format archives","wordpress-seo"),fieldId:"input-wpseo_titles-title-tax-post_format",fieldLabel:Object(tt.__)("SEO title","wordpress-seo"),keywords:[]},"metadesc-tax-post_format":{route:"/format-archives",routeLabel:Object(tt.__)("Format archives","wordpress-seo"),fieldId:"input-wpseo_titles-metadesc-tax-post_format",fieldLabel:Object(tt.__)("Meta description","wordpress-seo"),keywords:[]},"social-image-id-tax-post_format":{route:"/format-archives",routeLabel:Object(tt.__)("Format archives","wordpress-seo"),fieldId:"button-wpseo_titles-social-image-tax-post_format-preview",fieldLabel:Object(tt.__)("Social image","wordpress-seo"),keywords:[]},"social-title-tax-post_format":{route:"/format-archives",routeLabel:Object(tt.__)("Format archives","wordpress-seo"),fieldId:"input-wpseo_titles-social-title-tax-post_format",fieldLabel:Object(tt.__)("Social title","wordpress-seo"),keywords:[]},"social-description-tax-post_format":{route:"/format-archives",routeLabel:Object(tt.__)("Format archives","wordpress-seo"),fieldId:"input-wpseo_titles-social-description-tax-post_format",fieldLabel:Object(tt.__)("Social description","wordpress-seo"),keywords:[]},rssbefore:{route:"/rss",routeLabel:"RSS",fieldId:"input-wpseo_titles-rssbefore",fieldLabel:Object(tt.__)("Content to put before each post in the feed","wordpress-seo"),keywords:[]},rssafter:{route:"/rss",routeLabel:"RSS",fieldId:"input-wpseo_titles-rssafter",fieldLabel:Object(tt.__)("Content to put after each post in the feed","wordpress-seo"),keywords:[]},...Object(ie.reduce)(Object(ie.omit)(e,["attachment"]),(e,t)=>({...e,...zr(t,{userLocale:r})}),{}),...Object(ie.reduce)(Object(ie.omit)(t,["post_format"]),(e,t)=>({...e,...qr(t,{userLocale:r})}),{})},wpseo_social:{opengraph:{route:"/site-features",routeLabel:Object(tt.__)("Site features","wordpress-seo"),fieldId:"card-wpseo_social-opengraph",fieldLabel:Object(tt.__)("Open Graph data","wordpress-seo"),keywords:[Object(tt.__)("Social","wordpress-seo"),Object(tt.__)("OpenGraph","wordpress-seo"),Object(tt.__)("Facebook","wordpress-seo"),Object(tt.__)("Share","wordpress-seo")]},twitter:{route:"/site-features",routeLabel:Object(tt.__)("Site features","wordpress-seo"),fieldId:"card-wpseo_social-twitter",fieldLabel:Object(tt.__)("Twitter card data","wordpress-seo"),keywords:[Object(tt.__)("Social","wordpress-seo"),Object(tt.__)("Share","wordpress-seo"),Object(tt.__)("Tweet","wordpress-seo")]},og_default_image_id:{route:"/site-basics",routeLabel:Object(tt.__)("Site basics","wordpress-seo"),fieldId:"button-wpseo_social-og_default_image-preview",fieldLabel:Object(tt.__)("Site image","wordpress-seo"),keywords:[]},pinterestverify:{route:"/site-connections",routeLabel:Object(tt.__)("Site connections","wordpress-seo"),fieldId:"input-wpseo_social-pinterestverify",fieldLabel:Object(tt.__)("Pinterest","wordpress-seo"),keywords:[Object(tt.__)("Webmaster","wordpress-seo")]},facebook_site:{route:"/site-representation",routeLabel:Object(tt.__)("Site representation","wordpress-seo"),fieldId:"input-wpseo_social-facebook_site",fieldLabel:Object(tt.__)("Organization Facebook","wordpress-seo"),keywords:[Object(tt.__)("Social","wordpress-seo"),Object(tt.__)("Open Graph","wordpress-seo"),Object(tt.__)("OpenGraph","wordpress-seo"),Object(tt.__)("Share","wordpress-seo")]},twitter_site:{route:"/site-representation",routeLabel:Object(tt.__)("Site representation","wordpress-seo"),fieldId:"input-wpseo_social-twitter_site",fieldLabel:Object(tt.__)("Organization Twitter","wordpress-seo"),keywords:[Object(tt.__)("Social","wordpress-seo"),Object(tt.__)("Share","wordpress-seo"),Object(tt.__)("Tweet","wordpress-seo")]},mastodon_url:{route:"/site-representation",routeLabel:Object(tt.__)("Site representation","wordpress-seo"),fieldId:"input-wpseo_social-mastodon_url",fieldLabel:Object(tt.__)("Organization Mastodon","wordpress-seo"),keywords:[Object(tt.__)("Social","wordpress-seo"),Object(tt.__)("Share","wordpress-seo")]},other_social_urls:{route:"/site-representation",routeLabel:Object(tt.__)("Site representation","wordpress-seo"),fieldId:"fieldset-wpseo_social-other_social_urls",fieldLabel:Object(tt.__)("Other social profiles","wordpress-seo"),keywords:[],...Object(ie.times)(25,e=>({route:"/site-representation",routeLabel:Object(tt.__)("Site representation","wordpress-seo"),fieldId:"input-wpseo_social-other_social_urls-"+e, // translators: %1$s exapnds to array index + 1. fieldLabel:Object(tt.sprintf)(Object(tt.__)("Other profile %1$s","wordpress-seo"),e+1)}))}}}},Hr=async e=>{const{endpoint:t,nonce:r}=Object(ie.get)(window,"wpseoScriptData",{}),s=new FormData;s.set("option_page","wpseo_page_settings"),s.set("_wp_http_referer","admin.php?page=wpseo_page_settings_saved"),s.set("action","update"),s.set("_wpnonce",r),Object(ie.forEach)(e,(e,t)=>{Object(ie.isObject)(e)?Object(ie.forEach)(e,(e,r)=>{Object(ie.isArray)(e)?Object(ie.forEach)(e,(e,a)=>s.set(`${t}[${r}][${a}]`,e)):s.set(`${t}[${r}]`,e)}):s.set(t,e)});try{const e=await fetch(t,{method:"POST",body:new URLSearchParams(s)}),r=await e.text();if(Object(ie.includes)(r,"{{ yoast-success: false }}"))throw new Error("Yoast options invalid.");if(!e.url.endsWith("settings-updated=true"))throw new Error("WordPress options save did not get to the end.")}catch(e){throw new Error(e.message)}},Gr=async(e,t)=>{let{resetForm:r}=t;const{addNotification:s}=Object(n.dispatch)(lt),{selectPreference:a}=Object(n.select)(lt),o=a("canManageOptions",!1);try{return await Promise.all([Hr(o?e:Object(ie.omit)(e,["blogdescription"]))]),s({variant:"success",title:Object(tt.__)("Great! Your settings were saved successfully.","wordpress-seo")}),r({values:e}),!0}catch(e){return s({id:"submit-error",variant:"error",title:Object(tt.__)("Oops! Something went wrong while saving.","wordpress-seo")}),console.error("Error while saving:",e.message),!1}};var Yr,Kr;try{Yr=Map}catch(e){}try{Kr=Set}catch(e){}function Qr(e){return function e(t,r,s){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(Qr);if(Yr&&t instanceof Yr)return new Map(Array.from(t.entries()));if(Kr&&t instanceof Kr)return new Set(Array.from(t.values()));if(t instanceof Object){r.push(t);var a=Object.create(t);for(var n in s.push(a),t){var o=r.findIndex((function(e){return e===t[n]}));a[n]=o>-1?s[o]:e(t[n],r,s)}return a}return t}(e,[],[])}const Jr=Object.prototype.toString,Xr=Error.prototype.toString,Zr=RegExp.prototype.toString,es="undefined"!=typeof Symbol?Symbol.prototype.toString:()=>"",ts=/^Symbol\((.*)\)(.*)$/;function rs(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 es.call(e).replace(ts,"Symbol($1)");const s=Jr.call(e).slice(8,-1);return"Date"===s?isNaN(e.getTime())?""+e:e.toISOString(e):"Error"===s||e instanceof Error?"["+Xr.call(e)+"]":"RegExp"===s?Zr.call(e):null}function ss(e,t){let r=rs(e,t);return null!==r?r:JSON.stringify(e,(function(e,r){let s=rs(this[e],t);return null!==s?s:r}),2)}let as={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:s})=>{let a=null!=s&&s!==r,n=`${e} must be a \`${t}\` type, but the final value was: \`${ss(r,!0)}\``+(a?` (cast from the value \`${ss(s,!0)}\`).`:".");return null===r&&(n+='\n If "null" is intended as an empty value be sure to mark the schema as `.nullable()`'),n},defined:"${path} must be defined"},ns={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"},os={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"},is={min:"${path} field must be later than ${min}",max:"${path} field must be at earlier than ${max}"},ls={noUnknown:"${path} field has unspecified keys: ${unknown}"},cs={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"};Object.assign(Object.create(null),{mixed:as,string:ns,number:os,date:is,object:ls,array:cs,boolean:{isValue:"${path} field must be ${value}"}});var ds=r(192),us=r.n(ds),ps=e=>e&&e.__isYupSchema__;function ms(e){return null==e?[]:[].concat(e)}function bs(){return(bs=Object.assign||function(e){for(var t=1;tss(t[r])):"function"==typeof e?e(t):e}static isError(e){return e&&"ValidationError"===e.name}constructor(e,t,r,s){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=s,this.errors=[],this.inner=[],ms(e).forEach(e=>{hs.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,hs)}}function ys(e,t){let{endEarly:r,tests:s,args:a,value:n,errors:o,sort:i,path:l}=e,c=(e=>{let t=!1;return(...r)=>{t||(t=!0,e(...r))}})(t),d=s.length;const u=[];if(o=o||[],!d)return o.length?c(new hs(o,n,l)):c(null,n);for(let e=0;e=0||(a[r]=e[r]);return a}(t,["value","path","label","options","originalValue","sync"]);const{name:d,test:u,params:p,message:m}=e;let{parent:b,context:f}=o;function h(e){return js.isRef(e)?e.getValue(s,b,f):e}function y(e={}){const t=ws()(gs({value:s,originalValue:i,label:n,path:e.path||a},p,e.params),h),r=new hs(hs.formatError(e.message||m,t),s,t.path,e.type||d);return r.params=t,r}let _,w=gs({path:a,parent:b,type:d,createError:y,resolve:h,options:o,originalValue:i},c);if(l){try{var O;if(_=u.call(w,s,w),"function"==typeof(null==(O=_)?void 0:O.then))throw new Error(`Validation test of type: "${w.type}" returned a Promise during a synchronous validate. This test will finish after the validate call has returned`)}catch(e){return void r(e)}hs.isError(_)?r(_):_?r(null,_):r(y())}else try{Promise.resolve(u.call(w,s,w)).then(e=>{hs.isError(e)?r(e):e?r(null,e):r(y())}).catch(r)}catch(e){r(e)}}return t.OPTIONS=e,t}function Es(e,t,r,s=r){let a,n,o;return t?(Object(Os.forEach)(t,(i,l,c)=>{let d=l?(e=>e.substr(0,e.length-1).substr(1))(i):i;if((e=e.resolve({context:s,parent:a,value:r})).innerType){let s=c?parseInt(d,10):0;if(r&&s>=r.length)throw new Error(`Yup.reach cannot resolve an array item at index: ${i}, in the path: ${t}. because there is no value at that index. `);a=r,r=r&&r[s],e=e.innerType}if(!c){if(!e.fields||!e.fields[d])throw new Error(`The schema does not contain the path: ${t}. (failed at: ${o} which is a type: "${e._type}")`);a=r,r=r&&r[d],e=e.fields[d]}n=d,o=l?"["+i+"]":"."+i}),{schema:e,parent:a,parentPath:n}):{parent:a,parentPath:t,schema:e}}js.prototype.__isYupRef=!0;class xs{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(js.isRef(r)?e(r):r),[])}add(e){js.isRef(e)?this.refs.set(e.key,e):this.list.add(e)}delete(e){js.isRef(e)?this.refs.delete(e.key):this.list.delete(e)}clone(){const e=new xs;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 Ss(){return(Ss=Object.assign||function(e){for(var t=1;t{this.typeError(as.notType)}),this.type=(null==e?void 0:e.type)||"mixed",this.spec=Ss({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=Ss({},this.exclusiveTests),t.deps=[...this.deps],t.conditions=[...this.conditions],t.tests=[...this.tests],t.transforms=[...this.transforms],t.spec=Qr(Ss({},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=Ss({},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(Ss({value:e},t)),s=r._cast(e,t);if(void 0!==e&&!1!==t.assert&&!0!==r.isType(s)){let a=ss(e),n=ss(s);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`+(n!==a?"result of cast: "+n:""))}return s}_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:s,path:a,from:n=[],originalValue:o=e,strict:i=this.spec.strict,abortEarly:l=this.spec.abortEarly}=t,c=e;i||(c=this._cast(c,Ss({assert:!1},t)));let d={value:c,path:a,options:t,originalValue:o,schema:this,label:this.spec.label,sync:s,from:n},u=[];this._typeError&&u.push(this._typeError);let p=[];this._whitelistError&&p.push(this._whitelistError),this._blacklistError&&p.push(this._blacklistError),ys({args:d,value:c,path:a,sync:s,tests:u,endEarly:l},e=>{e?r(e,c):ys({tests:this.tests.concat(p),args:d,path:a,sync:s,value:c,endEarly:l},r)})}validate(e,t,r){let s=this.resolve(Ss({},t,{value:e}));return"function"==typeof r?s._validate(e,t,r):new Promise((r,a)=>s._validate(e,t,(e,t)=>{e?a(e):r(t)}))}validateSync(e,t){let r;return this.resolve(Ss({},t,{value:e}))._validate(e,Ss({},t,{sync:!0}),(e,t)=>{if(e)throw e;r=t}),r}isValid(e,t){return this.validate(e,t).then(()=>!0,e=>{if(hs.isError(e))return!1;throw e})}isValidSync(e,t){try{return this.validateSync(e,t),!0}catch(e){if(hs.isError(e))return!1;throw e}}_getDefault(){let e=this.spec.default;return null==e?e:"function"==typeof e?e.call(this):Qr(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=as.defined){return this.test({message:e,name:"defined",exclusive:!0,test:e=>void 0!==e})}required(e=as.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=as.default),"function"!=typeof t.test)throw new TypeError("`test` is a required parameters");let r=this.clone(),s=vs(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===s.OPTIONS.test)return!1}return!0}),r.tests.push(s),r}when(e,t){Array.isArray(e)||"string"==typeof e||(t=e,e=".");let r=this.clone(),s=ms(e).map(e=>new js(e));return s.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(!us()(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:s,otherwise:a}=t,n="function"==typeof r?r:(...e)=>e.every(e=>e===r);this.fn=function(...e){let t=e.pop(),r=e.pop(),o=n(...e)?s:a;if(o)return"function"==typeof o?o(r):r.concat(o.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)),s=this.fn.apply(e,r.concat(e,t));if(void 0===s||s===e)return e;if(!ps(s))throw new TypeError("conditions must return a schema object");return s.resolve(t)}}(s,t)),r}typeError(e){let t=this.clone();return t._typeError=vs({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=as.oneOf){let r=this.clone();return e.forEach(e=>{r._whitelist.add(e),r._blacklist.delete(e)}),r._whitelistError=vs({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=as.notOneOf){let r=this.clone();return e.forEach(e=>{r._blacklist.add(e),r._whitelist.delete(e)}),r._blacklistError=vs({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)}}}ks.prototype.__isYupSchema__=!0;for(const e of["validate","validateSync"])ks.prototype[e+"At"]=function(t,r,s={}){const{parent:a,parentPath:n,schema:o}=Es(this,t,r,s.context);return o[e](a&&a[n],Ss({},s,{parent:a,path:t}))};for(const e of["equals","is"])ks.prototype[e]=ks.prototype.oneOf;for(const e of["not","nope"])ks.prototype[e]=ks.prototype.notOneOf;ks.prototype.optional=ks.prototype.notRequired;ks.prototype;var Fs=e=>null==e;let Ts=/^((([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+(\.([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+)*)|((\x22)((((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(([\x01-\x08\x0b\x0c\x0e-\x1f\x7f]|\x21|[\x23-\x5b]|[\x5d-\x7e]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(\\([\x01-\x09\x0b\x0c\x0d-\x7f]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]))))*(((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(\x22)))@((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))$/i,Ls=/^((https?|ftp):)?\/\/(((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:)*@)?(((\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5]))|((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.?)(:\d*)?)(\/((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)+(\/(([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)*)*)?)?(\?((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|[\uE000-\uF8FF]|\/|\?)*)?(\#((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|\/|\?)*)?$/i,Ps=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i,Rs=e=>Fs(e)||e===e.trim(),Is={}.toString();function Ns(){return new Ms}class Ms extends ks{constructor(){super({type:"string"}),this.withMutation(()=>{this.transform((function(e){if(this.isType(e))return e;if(Array.isArray(e))return e;const t=null!=e&&e.toString?e.toString():e;return t===Is?e:t}))})}_typeCheck(e){return e instanceof String&&(e=e.valueOf()),"string"==typeof e}_isPresent(e){return super._isPresent(e)&&!!e.length}length(e,t=ns.length){return this.test({message:t,name:"length",exclusive:!0,params:{length:e},test(t){return Fs(t)||t.length===this.resolve(e)}})}min(e,t=ns.min){return this.test({message:t,name:"min",exclusive:!0,params:{min:e},test(t){return Fs(t)||t.length>=this.resolve(e)}})}max(e,t=ns.max){return this.test({name:"max",exclusive:!0,message:t,params:{max:e},test(t){return Fs(t)||t.length<=this.resolve(e)}})}matches(e,t){let r,s,a=!1;return t&&("object"==typeof t?({excludeEmptyString:a=!1,message:r,name:s}=t):r=t),this.test({name:s||"matches",message:r||ns.matches,params:{regex:e},test:t=>Fs(t)||""===t&&a||-1!==t.search(e)})}email(e=ns.email){return this.matches(Ts,{name:"email",message:e,excludeEmptyString:!0})}url(e=ns.url){return this.matches(Ls,{name:"url",message:e,excludeEmptyString:!0})}uuid(e=ns.uuid){return this.matches(Ps,{name:"uuid",message:e,excludeEmptyString:!1})}ensure(){return this.default("").transform(e=>null===e?"":e)}trim(e=ns.trim){return this.transform(e=>null!=e?e.trim():e).test({message:e,name:"trim",test:Rs})}lowercase(e=ns.lowercase){return this.transform(e=>Fs(e)?e:e.toLowerCase()).test({message:e,name:"string_case",exclusive:!0,test:e=>Fs(e)||e===e.toLowerCase()})}uppercase(e=ns.uppercase){return this.transform(e=>Fs(e)?e:e.toUpperCase()).test({message:e,name:"string_case",exclusive:!0,test:e=>Fs(e)||e===e.toUpperCase()})}}function As(){return new Cs}Ns.prototype=Ms.prototype;class Cs extends ks{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=os.min){return this.test({message:t,name:"min",exclusive:!0,params:{min:e},test(t){return Fs(t)||t>=this.resolve(e)}})}max(e,t=os.max){return this.test({message:t,name:"max",exclusive:!0,params:{max:e},test(t){return Fs(t)||t<=this.resolve(e)}})}lessThan(e,t=os.lessThan){return this.test({message:t,name:"max",exclusive:!0,params:{less:e},test(t){return Fs(t)||tthis.resolve(e)}})}positive(e=os.positive){return this.moreThan(0,e)}negative(e=os.negative){return this.lessThan(0,e)}integer(e=os.integer){return this.test({name:"integer",message:e,test:e=>Fs(e)||Number.isInteger(e)})}truncate(){return this.transform(e=>Fs(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=>Fs(t)?t:Math[e](t))}}As.prototype=Cs.prototype;var $s=/^(\d{4}|[+\-]\d{6})(?:-?(\d{2})(?:-?(\d{2}))?)?(?:[ T]?(\d{2}):?(\d{2})(?::?(\d{2})(?:[,\.](\d{1,}))?)?(?:(Z)|([+\-])(\d{2})(?::?(\d{2}))?)?)?$/;let Ds=new Date("");function Vs(){return new Bs}class Bs extends ks{constructor(){super({type:"date"}),this.withMutation(()=>{this.transform((function(e){return this.isType(e)?e:(e=function(e){var t,r,s=[1,4,5,6,7,10,11],a=0;if(r=$s.exec(e)){for(var n,o=0;n=s[o];++o)r[n]=+r[n]||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)?Ds: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(js.isRef(e))r=e;else{let s=this.cast(e);if(!this._typeCheck(s))throw new TypeError(`\`${t}\` must be a Date or a value that can be \`cast()\` to a Date`);r=s}return r}min(e,t=is.min){let r=this.prepareParam(e,"min");return this.test({message:t,name:"min",exclusive:!0,params:{min:e},test(e){return Fs(e)||e>=this.resolve(r)}})}max(e,t=is.max){let r=this.prepareParam(e,"max");return this.test({message:t,name:"max",exclusive:!0,params:{max:e},test(e){return Fs(e)||e<=this.resolve(r)}})}}Bs.INVALID_DATE=Ds,Vs.prototype=Bs.prototype,Vs.INVALID_DATE=Ds;var Us=r(233),zs=r.n(Us),qs=r(243),Ws=r.n(qs),Hs=r(244),Gs=r.n(Hs),Ys=r(245),Ks=r.n(Ys);function Qs(e,t){let r=1/0;return e.some((e,s)=>{var a;if(-1!==(null==(a=t.path)?void 0:a.indexOf(e)))return r=s,!0}),r}function Js(e){return(t,r)=>Qs(e,t)-Qs(e,r)}function Xs(){return(Xs=Object.assign||function(e){for(var t=1;t"[object Object]"===Object.prototype.toString.call(e);const ea=Js([]);class ta extends ks{constructor(e){super({type:"object"}),this.fields=Object.create(null),this._sortErrors=ea,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 Zs(e)||"function"==typeof e}_cast(e,t={}){var r;let s=super._cast(e,t);if(void 0===s)return this.getDefault();if(!this._typeCheck(s))return s;let a=this.fields,n=null!=(r=t.stripUnknown)?r:this.spec.noUnknown,o=this._nodes.concat(Object.keys(s).filter(e=>-1===this._nodes.indexOf(e))),i={},l=Xs({},t,{parent:i,__validating:t.__validating||!1}),c=!1;for(const e of o){let r=a[e],o=us()(s,e);if(r){let a,n=s[e];l.path=(t.path?t.path+".":"")+e,r=r.resolve({value:n,context:t.context,parent:i});let o="spec"in r?r.spec:void 0,d=null==o?void 0:o.strict;if(null==o?void 0:o.strip){c=c||e in s;continue}a=t.__validating&&d?s[e]:r.cast(s[e],l),void 0!==a&&(i[e]=a)}else o&&!n&&(i[e]=s[e]);i[e]!==s[e]&&(c=!0)}return c?i:s}_validate(e,t={},r){let s=[],{sync:a,from:n=[],originalValue:o=e,abortEarly:i=this.spec.abortEarly,recursive:l=this.spec.recursive}=t;n=[{schema:this,value:o},...n],t.__validating=!0,t.originalValue=o,t.from=n,super._validate(e,t,(e,c)=>{if(e){if(!hs.isError(e)||i)return void r(e,c);s.push(e)}if(!l||!Zs(c))return void r(s[0]||null,c);o=o||c;let d=this._nodes.map(e=>(r,s)=>{let a=-1===e.indexOf(".")?(t.path?t.path+".":"")+e:`${t.path||""}["${e}"]`,i=this.fields[e];i&&"validate"in i?i.validate(c[e],Xs({},t,{path:a,from:n,strict:!0,parent:c,originalValue:o[e]}),s):s(null)});ys({sync:a,tests:d,value:c,errors:s,endEarly:i,sort:this._sortErrors,path:t.path},r)})}clone(e){const t=super.clone(e);return t.fields=Xs({},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 s=r[e];void 0===s?r[e]=t:s instanceof ks&&t instanceof ks&&(r[e]=t.concat(s))}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(),s=Object.assign(r.fields,e);return r.fields=s,r._sortErrors=Js(Object.keys(s)),t.length&&(Array.isArray(t[0])||(t=[t]),r._excludedEdges=[...r._excludedEdges,...t]),r._nodes=function(e,t=[]){let r=[],s=new Set,a=new Set(t.map(([e,t])=>`${e}-${t}`));function n(e,t){let n=Object(Os.split)(e)[0];s.add(n),a.has(`${t}-${n}`)||r.push([t,n])}for(const t in e)if(us()(e,t)){let r=e[t];s.add(t),js.isRef(r)&&r.isSibling?n(r.path,t):ps(r)&&"deps"in r&&r.deps.forEach(e=>n(e,t))}return Ks.a.array(Array.from(s),r).reverse()}(s,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 s=Object(Os.getter)(e,!0);return this.transform(a=>{if(null==a)return a;let n=a;return us()(a,e)&&(n=Xs({},a),r||delete n[e],n[t]=s(a)),n})}noUnknown(e=!0,t=ls.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=ls.noUnknown){return this.noUnknown(!e,t)}transformKeys(e){return this.transform(t=>t&&Gs()(t,(t,r)=>e(r)))}camelCase(){return this.transformKeys(Ws.a)}snakeCase(){return this.transformKeys(zs.a)}constantCase(){return this.transformKeys(e=>zs()(e).toUpperCase())}describe(){let e=super.describe();return e.fields=ws()(this.fields,e=>e.describe()),e}}function ra(e){return new ta(e)}function sa(){return(sa=Object.assign||function(e){for(var t=1;t{this.transform((function(e){if("string"==typeof e)try{e=JSON.parse(e)}catch(t){e=null}return this.isType(e)?e:null}))})}_typeCheck(e){return Array.isArray(e)}get _subType(){return this.innerType}_cast(e,t){const r=super._cast(e,t);if(!this._typeCheck(r)||!this.innerType)return r;let s=!1;const a=r.map((e,r)=>{const a=this.innerType.cast(e,sa({},t,{path:`${t.path||""}[${r}]`}));return a!==e&&(s=!0),a});return s?a:r}_validate(e,t={},r){var s,a;let n=[],o=t.sync,i=t.path,l=this.innerType,c=null!=(s=t.abortEarly)?s:this.spec.abortEarly,d=null!=(a=t.recursive)?a:this.spec.recursive,u=null!=t.originalValue?t.originalValue:e;super._validate(e,t,(e,s)=>{if(e){if(!hs.isError(e)||c)return void r(e,s);n.push(e)}if(!d||!l||!this._typeCheck(s))return void r(n[0]||null,s);u=u||s;let a=new Array(s.length);for(let e=0;el.validate(r,o,t)}ys({sync:o,path:i,value:s,errors:n,endEarly:c,tests:a},r)})}clone(e){const t=super.clone(e);return t.innerType=this.innerType,t}concat(e){let t=super.concat(e);return t.innerType=this.innerType,e.innerType&&(t.innerType=t.innerType?t.innerType.concat(e.innerType):e.innerType),t}of(e){let t=this.clone();if(!ps(e))throw new TypeError("`array.of()` sub-schema must be a valid yup schema not: "+ss(e));return t.innerType=e,t}length(e,t=cs.length){return this.test({message:t,name:"length",exclusive:!0,params:{length:e},test(t){return Fs(t)||t.length===this.resolve(e)}})}min(e,t){return t=t||cs.min,this.test({message:t,name:"min",exclusive:!0,params:{min:e},test(t){return Fs(t)||t.length>=this.resolve(e)}})}max(e,t){return t=t||cs.max,this.test({message:t,name:"max",exclusive:!0,params:{max:e},test(t){return Fs(t)||t.length<=this.resolve(e)}})}ensure(){return this.default(()=>[]).transform((e,t)=>this._typeCheck(e)?e:null==t?[]:[].concat(t))}compact(e){let t=e?(t,r,s)=>!e(t,r,s):e=>!!e;return this.transform(e=>null!=e?e.filter(t):e)}describe(){let e=super.describe();return this.innerType&&(e.innerType=this.innerType.describe()),e}nullable(e=!0){return super.nullable(e)}defined(){return super.defined()}required(e){return super.required(e)}}function oa(e,t,r){if(!e||!ps(e.prototype))throw new TypeError("You must provide a yup schema constructor function");if("string"!=typeof t)throw new TypeError("A Method name must be provided");if("function"!=typeof r)throw new TypeError("Method function must be provided");e.prototype[t]=r}aa.prototype=na.prototype;const ia=/^[A-Za-z0-9_-]+$/,la=/^[A-Fa-f0-9_-]+$/;oa(As,"isMediaTypeImage",(function(){return this.test("isMediaTypeImage",Object(tt.__)("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(n.select)(lt).selectMediaById(e);return!t||"image"===(null==t?void 0:t.type)})})),oa(Ns,"isValidTwitterUrlOrHandle",(function(){return this.test("isValidTwitterUrlOrHandle",Object(tt.__)("The profile is not valid. Please use only 1-25 letters, numbers and underscores or enter a valid Twitter URL.","wordpress-seo"),e=>!e||(/^[A-Za-z0-9_]{1,25}$/.test(e)||/^https?:\/\/(?:www\.)?twitter\.com\/(?[A-Za-z0-9_]{1,25})\/?$/.test(e)))}));const ca=(e,t)=>ra().shape({wpseo:ra().shape({baiduverify:Ns().matches(ia,Object(tt.__)("The verification code is not valid. Please use only letters, numbers, underscores and dashes.","wordpress-seo")),googleverify:Ns().matches(ia,Object(tt.__)("The verification code is not valid. Please use only letters, numbers, underscores and dashes.","wordpress-seo")),msverify:Ns().matches(la,Object(tt.__)("The verification code is not valid. Please use only the letters A to F, numbers, underscores and dashes.","wordpress-seo")),yandexverify:Ns().matches(la,Object(tt.__)("The verification code is not valid. Please use only the letters A to F, numbers, underscores and dashes.","wordpress-seo")),search_character_limit:As().required(Object(tt.__)("Please enter a number between 1 and 50.","wordpress-seo")).min(1,Object(tt.__)("The number you've entered is not between 1 and 50.","wordpress-seo")).max(50,Object(tt.__)("The number you've entered is not between 1 and 50.","wordpress-seo"))}),wpseo_social:ra().shape({og_default_image_id:As().isMediaTypeImage(),facebook_site:Ns().url(Object(tt.__)("The profile is not valid. Please enter a valid URL.","wordpress-seo")),mastodon_url:Ns().url(Object(tt.__)("The profile is not valid. Please enter a valid URL.","wordpress-seo")),twitter_site:Ns().isValidTwitterUrlOrHandle(),other_social_urls:aa().of(Ns().url(Object(tt.__)("The profile is not valid. Please enter a valid URL.","wordpress-seo"))),pinterestverify:Ns().matches(la,Object(tt.__)("The verification code is not valid. Please use only the letters A to F, numbers, underscores and dashes.","wordpress-seo"))}),wpseo_titles:ra().shape({open_graph_frontpage_image_id:As().isMediaTypeImage(),company_logo_id:As().isMediaTypeImage(),person_logo_id:As().isMediaTypeImage(),...Object(ie.reduce)(e,(e,t)=>{let{name:r,hasArchive:s}=t;return{...e,..."attachment"!==r&&{["social-image-id-"+r]:As().isMediaTypeImage()},...s&&{["social-image-id-ptarchive-"+r]:As().isMediaTypeImage()}}},{}),...Object(ie.reduce)(t,(e,t)=>{let{name:r}=t;return{...e,["social-image-id-tax-"+r]:As().isMediaTypeImage()}},{}),"social-image-id-author-wpseo":As().isMediaTypeImage(),"social-image-id-archive-wpseo":As().isMediaTypeImage(),"social-image-id-tax-post_format":As().isMediaTypeImage()})}),da=new RegExp(/^input-wpseo_titles-(post_types|taxonomy)-(?\S+)-(maintax|ptparent)$/is),ua={fieldId:"DUMMY_ITEM"},pa=e=>{let{fieldId:t,fieldLabel:r}=e;const{isPostTypeOrTaxonomyBreadcrumbSetting:a,postTypeOrTaxonomyName:n}=Object(s.useMemo)(()=>{var e;const r=da.exec(t);return{isPostTypeOrTaxonomyBreadcrumbSetting:Boolean(r),postTypeOrTaxonomyName:null==r||null===(e=r.groups)||void 0===e?void 0:e.name}},[t,da]);return a?Object(s.createElement)(s.Fragment,null,r,n&&Object(s.createElement)(l.Code,{className:"yst-ml-2 group-hover:yst-bg-primary-200 group-hover:yst-text-primary-800"},n)):r};pa.propTypes={fieldId:nt.a.string.isRequired,fieldLabel:nt.a.string.isRequired};const ma=e=>{let{title:t,children:r}=e;return Object(s.createElement)("div",{className:"yst-border-t yst-border-slate-100 yst-p-6 yst-py-12 yst-space-3 yst-text-center yst-text-sm"},Object(s.createElement)("span",{className:"yst-block yst-font-semibold yst-text-slate-900"},t),r)};ma.propTypes={title:nt.a.node.isRequired,children:nt.a.node.isRequired};const ba=e=>{let{buttonId:t="button-search",modalId:r="modal-search"}=e;const[a,,,n,o]=Object(l.useToggleState)(!1),[i,c]=Object(s.useState)(""),d=pt("selectPreference",[],"userLocale"),u=pt("selectQueryableSearchIndex"),[p,m]=Object(s.useState)([]),b=Object(l.useSvgAria)(),f=Re(),h=Object(s.useRef)(null),{platform:y,os:_}=Object(s.useMemo)(()=>{var e,t;return ut.a.parse(null===(e=window)||void 0===e||null===(t=e.navigator)||void 0===t?void 0:t.userAgent)},[]),{isMobileMenuOpen:w,setMobileMenuOpen:O}=Object(l.useNavigationContext)(),[j,g]=Object(s.useState)(""),v=Object(s.useMemo)(()=>{switch(d){case"ja":return 2;case"ko-KR":case"zh-CN":case"zh-HK":case"zh-TW":return 1;default:return 3}},[d]);Vr("meta+k",e=>{e.preventDefault(),"desktop"!==(null==y?void 0:y.type)||a||w||n()},{enableOnFormTags:!0,enableOnContentEditable:!0},[a,n,y,w]);const E=Object(s.useCallback)(e=>{let{route:t,fieldId:r}=e;r!==ua.fieldId&&(O(!1),o(),c(""),m([]),f(`${t}#${r}`))},[o,c,O]),x=Object(s.useCallback)(Object(ie.debounce)(e=>{const t=Object(ie.trim)(e);if(g(""),t.length{const s=Object(ie.reduce)(r,(e,r)=>Object(ie.includes)(null==t?void 0:t.keywords,r)?++e:e,0);return 0===s?e:[...e,{...t,hits:s}]},[]),a=s.sort((e,t)=>t.hits-e.hits),n=Object(ie.groupBy)(a,"route"),o=Object(ie.values)(n).sort((e,t)=>{const r=Object(ie.reduce)(e,(e,t)=>Object(ie.max)([e,t.hits]),0);return Object(ie.reduce)(t,(e,t)=>Object(ie.max)([e,t.hits]),0)-r});Object(ie.isEmpty)(s)?g(Object(tt.__)("No results found","wordpress-seo")):g(Object(tt.sprintf)( /* translators: %d expands to the number of results found. */ Object(tt._n)("%d result found, use up and down arrow keys to navigate","%d results found, use up and down arrow keys to navigate",s.length,"wordpress-seo"),s.length)),m(o)},100),[u,d,g]),S=Object(s.useCallback)(e=>{c(e.target.value),x(e.target.value)},[c,x]),k=Object(s.useCallback)(e=>{let{active:t}=e;return st()("yst-group yst-block yst-no-underline yst-text-sm yst-text-slate-800 yst-select-none yst-py-3 yst-px-4 hover:yst-bg-primary-600 hover:yst-text-white focus:yst-bg-primary-600 focus:yst-text-white",t&&"yst-text-white yst-bg-primary-600")},[]);return Object(s.createElement)(s.Fragment,null,Object(s.createElement)("button",{id:t,type:"button",className:"yst-w-full yst-flex yst-items-center yst-bg-white yst-text-sm yst-leading-6 yst-text-slate-500 yst-rounded-md yst-border yst-border-slate-300 yst-shadow-sm yst-py-1.5 yst-pl-2 yst-pr-3 focus:yst-outline-none focus:yst-ring-2 focus:yst-ring-offset-2 focus:yst-ring-primary-500",onClick:n},Object(s.createElement)(Sr,He()({className:"yst-flex-none yst-w-5 yst-h-5 yst-mr-3 yst-text-slate-400"},b)),Object(s.createElement)("span",{className:"yst-overflow-hidden yst-whitespace-nowrap yst-text-ellipsis"},i||Object(tt.__)("Quick search...","wordpress-seo")),"desktop"===(null==y?void 0:y.type)&&Object(s.createElement)("span",{className:"yst-ml-auto yst-flex-none yst-text-xs yst-font-semibold yst-text-slate-400"},"macOS"===(null==_?void 0:_.name)?Object(tt.__)("⌘K","wordpress-seo"):Object(tt.__)("CtrlK","wordpress-seo"))),Object(s.createElement)(l.Modal,{id:r,onClose:o,isOpen:a,initialFocus:h,position:"top-center","aria-label":Object(tt.__)("Search","wordpress-seo")},Object(s.createElement)(l.Modal.Panel,{hasCloseButton:!1},Object(s.createElement)(mr,null,j&&Object(s.createElement)(gr,{message:j,"aria-live":"polite"})),Object(s.createElement)(xr.a,{as:"div",className:"yst--m-6",onChange:E},Object(s.createElement)("div",{className:"yst-relative"},Object(s.createElement)(Sr,He()({className:"yst-pointer-events-none yst-absolute yst-top-3.5 yst-left-4 yst-h-5 yst-w-5 yst-text-slate-400"},b)),Object(s.createElement)(xr.a.Input,{ref:h,id:"input-search",placeholder:Object(tt.__)("Search...","wordpress-seo"),"aria-label":Object(tt.__)("Search","wordpress-seo"),value:i,onChange:S,className:"yst-h-12 yst-w-full yst-border-0 yst-rounded-lg sm:yst-text-sm yst-bg-transparent yst-px-11 yst-text-slate-800 yst-placeholder-slate-500 focus:yst-outline-none focus:yst-ring-inset focus:yst-ring-2 focus:yst-ring-primary-500 focus:yst-border-primary-500"}),Object(s.createElement)("div",{className:"yst-modal__close"},Object(s.createElement)("button",{type:"button",onClick:o,className:"yst-modal__close-button"},Object(s.createElement)("span",{className:"yst-sr-only"},Object(tt.__)("Close","wordpress-seo")),Object(s.createElement)(kr,He()({className:"yst-h-6 yst-w-6"},b))))),i.length>=v&&!Object(ie.isEmpty)(p)&&Object(s.createElement)(xr.a.Options,{static:!0,className:"yst-max-h-[calc(90vh-10rem)] yst-scroll-pt-11 yst-scroll-pb-2 yst-space-y-2 yst-overflow-y-auto yst-pb-2"},Object(ie.map)(p,(e,t)=>{var r;return Object(s.createElement)("div",{key:(null==e||null===(r=e[0])||void 0===r?void 0:r.route)||"group-"+t,role:"presentation"},Object(s.createElement)(l.Title,{id:`group-${t}-title`,as:"h4",size:"5",className:"yst-bg-slate-100 yst-font-semibold yst-py-3 yst-px-4",role:"presentation","aria-hidden":"true"},Object(ie.first)(e).routeLabel),Object(s.createElement)("div",{role:"presentation"},Object(ie.map)(e,e=>Object(s.createElement)(xr.a.Option,{key:e.fieldId,value:e,className:k},Object(s.createElement)(pa,e)))))})),i.length=v&&Object(ie.isEmpty)(p)&&Object(s.createElement)(s.Fragment,null,Object(s.createElement)(ma,{title:Object(tt.__)("No results found","wordpress-seo")},Object(s.createElement)("p",{className:"yst-text-slate-500"},Object(tt.__)("We couldn’t find anything with that term.","wordpress-seo"))),Object(s.createElement)(xr.a.Options,{className:"yst-visible-"},Object(s.createElement)(xr.a.Option,{value:ua})))))))};ba.propTypes={buttonId:nt.a.string,modalId:nt.a.string};var fa=ba;const ha=l.SidebarNavigation.SubmenuItem,ya=e=>{let{to:t,idSuffix:r="",...a}=e;const n=Object(s.useMemo)(()=>Object(ie.replace)(Object(ie.replace)("link-"+t,"/","-"),"--","-"),[t]);return Object(s.createElement)(ha,He()({as:Be,pathProp:"to",id:`${n}${r}`,to:t},a))};ya.propTypes={to:nt.a.string.isRequired,idSuffix:nt.a.string},l.SidebarNavigation.SubmenuItem=ya;var _a=l.SidebarNavigation,wa=r(89),Oa=()=>{const e=pt("selectPreference",[],"isPremium"),t=pt("selectLink",[],"https://yoa.st/jj"),r=pt("selectUpsellSettingsAsProps"),a=pt("selectLink",[],"https://yoa.st/3t6");return e?null:Object(s.createElement)(wa.e,null,Object(s.createElement)(wa.d,{link:t,linkProps:r}),Object(s.createElement)(wa.a,{link:a}))};const ja=e=>{let{error:t}=e;const r=Object(s.useCallback)(()=>{var e,t;return null===(e=window)||void 0===e||null===(t=e.location)||void 0===t?void 0:t.reload()},[]),a=pt("selectLink",[],"https://yoa.st/settings-error-support");return Object(s.createElement)("div",{role:"alert",className:"yst-max-w-screen-sm yst-p-8 yst-space-y-4"},Object(s.createElement)(l.Title,null,Object(tt.__)("Something went wrong. An unexpected error occurred.","wordpress-seo")),Object(s.createElement)("p",null,Object(tt.__)("We're very sorry, but it seems like the following error has interrupted our application:","wordpress-seo")),Object(s.createElement)(l.Alert,{variant:"error"},(null==t?void 0:t.message)||"Undefined error message."),Object(s.createElement)("p",null,Object(tt.__)("Unfortunately, this means that all your unsaved changes will be lost. You can try and refresh this page to resolve the problem. If this error still occurs, please get in touch with our support team, and we'll get you all the help you need!","wordpress-seo")),Object(s.createElement)("div",{className:"yst-flex yst-gap-2"},Object(s.createElement)(l.Button,{onClick:r},Object(tt.__)("Refresh this page","wordpress-seo")),Object(s.createElement)(l.Button,{variant:"secondary",as:"a",href:a,target:"_blank",rel:"noopener"},Object(tt.__)("Contact support","wordpress-seo"))))};ja.propTypes={error:nt.a.object.isRequired};var ga,va,Ea=ja;function xa(){return(xa=Object.assign||function(e){for(var t=1;t{let{name:t,label:r,singularLabel:a,hasArchive:n,hasSchemaArticleType:o,isNew:i}=e;const c=pt("selectReplacementVariablesFor",[t],t,"custom_post_type"),d=pt("selectUpsellSettingsAsProps"),u=pt("selectRecommendedReplacementVariablesFor",[t],t,"custom_post_type"),p=pt("selectReplacementVariablesFor",[t],t+"_archive","custom-post-type_archive"),m=pt("selectRecommendedReplacementVariablesFor",[t],t+"_archive","custom-post-type_archive"),b=pt("selectPreference",[],"isPremium"),f=pt("selectLink",[],"https://yoa.st/4cr"),h=pt("selectArticleTypeValuesFor",[t],t),y=pt("selectPageTypeValuesFor",[t],t),_=pt("selectPreference",[],"isWooCommerceActive"),w=pt("selectPreference",[],"hasWooCommerceShopPage"),O=pt("selectPreference",[],"editWooCommerceShopPageUrl"),j=pt("selectPreference",[],"wooCommerceShopPageSettingUrl"),g=pt("selectPreference",[],"userLocale"),v=pt("selectLink",[],"https://yoa.st/show-x"),E=pt("selectLink",[],"https://yoa.st/4e0"),x=pt("selectLink",[],"https://yoa.st/get-custom-fields"),S=pt("selectLink",[],"https://yoa.st/post-type-schema"),{updatePostTypeReviewStatus:k}=ct();Object(s.useEffect)(()=>{i&&k(t)},[t,k]);const F=Object(s.useMemo)(()=>Ur(r,g),[r,g]),T=Object(s.useMemo)(()=>Ur(a,g),[a,g]),L=Object(s.useMemo)(()=>Object(s.createInterpolateElement)(Object(tt.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(tt.__)("Recommended size for this image is %1$s%3$s%2$s","wordpress-seo"),"","","1200x675px"),{strong:Object(s.createElement)("strong",{className:"yst-font-semibold"})}),[]),P=Object(s.useMemo)(()=>_&&"product"===t,[t,_]),R=Object(s.useMemo)(()=>w?Object(ka.a)(Object(tt.sprintf)( /* translators: %1$s expands to an opening tag. %2$s expands to a closing tag. */ Object(tt.__)("You can edit the SEO metadata for this custom type on the %1$sShop page%2$s.","wordpress-seo"),"",""),O,"link-edit-woocommerce-shop-page"):Object(ka.a)(Object(tt.sprintf)( /* translators: %1$s expands to an opening tag. %2$s expands to a closing tag. */ Object(tt.__)("You haven't set a Shop page in your WooCommerce settings. %1$sPlease do this first%2$s.","wordpress-seo"),"",""),j,"link-woocommerce-shop-page-setting"),[w,j,O]),I=Object(s.useMemo)(()=>Object(s.createInterpolateElement)(Object(tt.sprintf)(// translators: %1$s and %2$s are replaced by opening and closing tags. Object(tt.__)("You can add multiple custom fields and separate them by using %1$senter%2$s or %1$scomma%2$s.","wordpress-seo"),"",""),{em:Object(s.createElement)("em",null)}),[]),N=Object(s.useMemo)(()=>Object(ka.a)(Object(tt.sprintf)( // translators: %1$s expands to the post type plural, e.g. posts. %2$s and %3$s expand to opening and closing anchor tag. %4$s expands to "Yoast SEO". Object(tt.__)("Determine how your %1$s should be described by default in %2$syour site's Schema.org markup%3$s. You can always change the settings for individual %1$s in the %4$s sidebar or metabox.","wordpress-seo"),F,"","","Yoast SEO"),S,"link-post-type-schema"),[F,S]),{values:M}=W(),{opengraph:A}=M.wpseo_social,{"breadcrumbs-enable":C}=M.wpseo_titles;return Object(s.createElement)(Er,{title:r,description:Object(tt.sprintf)( /* translators: %1$s expands to the post type plural, e.g. posts. */ Object(tt.__)("Determine how your %1$s should look in search engines and on social media.","wordpress-seo"),F)},Object(s.createElement)(wt,null,Object(s.createElement)("div",{className:"yst-max-w-5xl"},Object(s.createElement)(bt,{title:Object(tt.__)("Search appearance","wordpress-seo"),description:Object(tt.sprintf)( // translators: %1$s expands to the post type plural, e.g. posts. %2$s expands to "Yoast SEO". Object(tt.__)("Determine what your %1$s should look like in the search results by default. You can always customize the settings for individual %1$s in the %2$s sidebar or metabox.","wordpress-seo"),F,"Yoast SEO")},Object(s.createElement)(jt,{name:"wpseo_titles.noindex-"+t,id:"input-wpseo_titles-noindex-"+t,label:Object(tt.sprintf)(// translators: %1$s expands to the post type plural, e.g. posts. Object(tt.__)("Show %1$s in search results","wordpress-seo"),F),description:Object(s.createElement)(s.Fragment,null,Object(tt.sprintf)(// translators: %1$s expands to the post type plural, e.g. posts. Object(tt.__)("Disabling this means that %1$s will not be indexed by search engines and will be excluded from XML sitemaps.","wordpress-seo"),F)," ",Object(s.createElement)(l.Link,{href:v,target:"_blank",rel:"noopener"},Object(tt.__)("Read more about the search results settings","wordpress-seo")),"."),className:"yst-max-w-sm"}),Object(s.createElement)("hr",{className:"yst-my-8"}),Object(s.createElement)(Ft,{type:"title",name:"wpseo_titles.title-"+t,fieldId:"input-wpseo_titles-title-"+t,label:Object(tt.__)("SEO title","wordpress-seo"),replacementVariables:c,recommendedReplacementVariables:u}),Object(s.createElement)(Ft,{type:"description",name:"wpseo_titles.metadesc-"+t,fieldId:"input-wpseo_titles-metadesc-"+t,label:Object(tt.__)("Meta description","wordpress-seo"),replacementVariables:c,recommendedReplacementVariables:u,className:"yst-replacevar--description"})),Object(s.createElement)("hr",{className:"yst-my-8"}),Object(s.createElement)(bt,{title:Object(s.createElement)("div",{className:"yst-flex yst-items-center yst-gap-1.5"},Object(s.createElement)("span",null,Object(tt.__)("Social appearance","wordpress-seo")),b&&Object(s.createElement)(l.Badge,{variant:"upsell"},"Premium")),description:Object(tt.sprintf)( // translators: %1$s expands to the post type plural, e.g. posts. %2$s expands to "Yoast SEO". Object(tt.__)("Determine how your %1$s should look on social media by default. You can always customize the settings for individual %1$s in the %2$s sidebar or metabox.","wordpress-seo"),F,"Yoast SEO")},Object(s.createElement)(l.FeatureUpsell,He()({shouldUpsell:!b,variant:"card",cardLink:E,cardText:Object(tt.sprintf)( /* translators: %1$s expands to Premium. */ Object(tt.__)("Unlock with %1$s","wordpress-seo"),"Premium")},d),Object(s.createElement)(rr,{isEnabled:!b||A}),Object(s.createElement)(xt,{id:"wpseo_titles-social-image-"+t,label:Object(tt.__)("Social image","wordpress-seo"),previewLabel:L,mediaUrlName:"wpseo_titles.social-image-url-"+t,mediaIdName:"wpseo_titles.social-image-id-"+t,disabled:!A,isDummy:!b}),Object(s.createElement)(Ta,{type:"title",name:"wpseo_titles.social-title-"+t,fieldId:"input-wpseo_titles-social-title-"+t,label:Object(tt.__)("Social title","wordpress-seo"),replacementVariables:c,recommendedReplacementVariables:u,disabled:!A,isDummy:!b}),Object(s.createElement)(Ta,{type:"description",name:"wpseo_titles.social-description-"+t,fieldId:"input-wpseo_titles-social-description-"+t,label:Object(tt.__)("Social description","wordpress-seo"),replacementVariables:c,recommendedReplacementVariables:u,className:"yst-replacevar--description",disabled:!A,isDummy:!b}))),Object(s.createElement)("hr",{className:"yst-my-8"}),Object(s.createElement)(bt,{title:Object(tt.__)("Schema","wordpress-seo"),description:N},Object(s.createElement)(Wt,{as:l.SelectField,type:"select",name:"wpseo_titles.schema-page-type-"+t,id:"input-wpseo_titles-schema-page-type-"+t,label:Object(tt.__)("Page type","wordpress-seo"),options:y,className:"yst-max-w-sm"}),o&&Object(s.createElement)("div",null,Object(s.createElement)(Wt,{as:l.SelectField,type:"select",name:"wpseo_titles.schema-article-type-"+t,id:"input-wpseo_titles-schema-article-type-"+t,label:Object(tt.__)("Article type","wordpress-seo"),options:h,className:"yst-max-w-sm"}),Object(s.createElement)(er,{name:t}))),Object(s.createElement)("hr",{className:"yst-my-8"}),Object(s.createElement)(bt,{title:Object(tt.__)("Additional settings","wordpress-seo")},Object(s.createElement)(Wt,{as:l.ToggleField,type:"checkbox",name:"wpseo_titles.display-metabox-pt-"+t,id:"input-wpseo_titles-display-metabox-pt-"+t,label:Object(tt.__)("Enable SEO controls and assessments","wordpress-seo"),description:Object(tt.__)("Show or hide our tools and controls in the content editor.","wordpress-seo"),className:"yst-max-w-sm"}),Object(s.createElement)(l.FeatureUpsell,He()({shouldUpsell:!b,variant:"card",cardLink:x,cardText:Object(tt.sprintf)( /* translators: %1$s expands to Premium. */ Object(tt.__)("Unlock with %1$s","wordpress-seo"),"Premium")},d),Object(s.createElement)(Fa,{name:"wpseo_titles.page-analyse-extra-"+t,id:"input-wpseo_titles-page-analyse-extra-"+t,label:Object(tt.__)("Add custom fields to page analysis","wordpress-seo"),labelSuffix:b&&Object(s.createElement)(l.Badge,{className:"yst-ml-1.5",size:"small",variant:"upsell"},"Premium"),description:Object(s.createElement)(s.Fragment,null,I,Object(s.createElement)("br",null),Object(s.createElement)(l.Link,{id:"link-custom-fields-page-analysis-"+t,href:f,target:"_blank",rel:"noopener"},Object(tt.__)("Read more about our custom field analysis","wordpress-seo")),"."),isDummy:!b}))),n&&Object(s.createElement)(s.Fragment,null,Object(s.createElement)("hr",{className:"yst-my-16"}),Object(s.createElement)("div",{className:"yst-mb-8"},Object(s.createElement)(l.Title,{as:"h2",className:"yst-mb-2"},Object(tt.sprintf)(// translators: %1$s expands to the post type plural, e.g. Posts. Object(tt.__)("%1$s archive","wordpress-seo"),r)),Object(s.createElement)("p",{className:"yst-text-tiny"},P&&R,!P&&Object(tt.sprintf)(// translators: %1$s expands to the post type singular, e.g. post. Object(tt.__)("These settings are specifically for optimizing your %1$s archive.","wordpress-seo"),T))),!P&&Object(s.createElement)(s.Fragment,null,Object(s.createElement)("hr",{className:"yst-my-8"}),Object(s.createElement)(bt,{title:Object(tt.__)("Search appearance","wordpress-seo"),description:Object(tt.sprintf)(// translators: %1$s expands to the post type plural, e.g. posts. Object(tt.__)("Determine how your %1$s archive should look in search engines.","wordpress-seo"),F)},Object(s.createElement)(jt,{name:"wpseo_titles.noindex-ptarchive-"+t,id:"input-wpseo_titles-noindex-ptarchive-"+t,label:Object(tt.sprintf)(// translators: %1$s expands to the post type plural, e.g. posts. Object(tt.__)("Show the archive for %1$s in search results","wordpress-seo"),F),description:Object(tt.sprintf)(// translators: %1$s expands to the post type plural, e.g. posts. Object(tt.__)("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"),F),className:"yst-max-w-sm"}),Object(s.createElement)(Ft,{type:"title",name:"wpseo_titles.title-ptarchive-"+t,fieldId:"input-wpseo_titles-title-ptarchive-"+t,label:Object(tt.__)("SEO title","wordpress-seo"),replacementVariables:p,recommendedReplacementVariables:m}),Object(s.createElement)(Ft,{type:"description",name:"wpseo_titles.metadesc-ptarchive-"+t,fieldId:"input-wpseo_titles-metadesc-ptarchive-"+t,label:Object(tt.__)("Meta description","wordpress-seo"),replacementVariables:p,recommendedReplacementVariables:m,className:"yst-replacevar--description"})),Object(s.createElement)("hr",{className:"yst-my-8"}),Object(s.createElement)(bt,{title:Object(s.createElement)("div",{className:"yst-flex yst-items-center yst-gap-1.5"},Object(s.createElement)("span",null,Object(tt.__)("Social appearance","wordpress-seo")),b&&Object(s.createElement)(l.Badge,{variant:"upsell"},"Premium")),description:Object(tt.sprintf)(// translators: %1$s expands to the post type plural, e.g. posts. Object(tt.__)("Determine how your %1$s archive should look on social media.","wordpress-seo"),F)},Object(s.createElement)(l.FeatureUpsell,He()({shouldUpsell:!b,variant:"card",cardLink:E,cardText:Object(tt.sprintf)(// translators: %1$s expands to Premium. Object(tt.__)("Unlock with %1$s","wordpress-seo"),"Premium")},d),Object(s.createElement)(xt,{id:"wpseo_titles-social-image-ptarchive-"+t,label:Object(tt.__)("Social image","wordpress-seo"),previewLabel:L,mediaUrlName:"wpseo_titles.social-image-url-ptarchive-"+t,mediaIdName:"wpseo_titles.social-image-id-ptarchive-"+t,disabled:!A,isDummy:!b}),Object(s.createElement)(Ta,{type:"title",name:"wpseo_titles.social-title-ptarchive-"+t,fieldId:"input-wpseo_titles-social-title-ptarchive-"+t,label:Object(tt.__)("Social title","wordpress-seo"),replacementVariables:p,recommendedReplacementVariables:m,disabled:!A,isDummy:!b}),Object(s.createElement)(Ta,{type:"description",name:"wpseo_titles.social-description-ptarchive-"+t,fieldId:"input-wpseo_titles-social-description-ptarchive-"+t,label:Object(tt.__)("Social description","wordpress-seo"),replacementVariables:p,recommendedReplacementVariables:m,className:"yst-replacevar--description",disabled:!A,isDummy:!b}))),C&&Object(s.createElement)(s.Fragment,null,Object(s.createElement)("hr",{className:"yst-my-8"}),Object(s.createElement)(bt,{title:Object(tt.__)("Additional settings","wordpress-seo")},Object(s.createElement)(ee,{as:l.TextField,type:"text",name:"wpseo_titles.bctitle-ptarchive-"+t,id:"input-wpseo_titles-bctitle-ptarchive-"+t,label:Object(tt.__)("Breadcrumbs title","wordpress-seo")}))))))))};La.propTypes={name:nt.a.string.isRequired,label:nt.a.string.isRequired,singularLabel:nt.a.string.isRequired,hasArchive:nt.a.bool.isRequired,hasSchemaArticleType:nt.a.bool.isRequired,isNew:nt.a.bool.isRequired};var Pa=La;const Ra=Gt(Ft),Ia=e=>{let{name:t,label:r,postTypes:a,showUi:n,isNew:o}=e;const i=pt("selectPostTypes",[a],a),c=pt("selectUpsellSettingsAsProps"),d=pt("selectReplacementVariablesFor",[t],t,"term-in-custom-taxonomy"),u=pt("selectRecommendedReplacementVariablesFor",[t],t,"term-in-custom-taxonomy"),p=pt("selectLink",[],"https://yoa.st/show-x"),m=pt("selectPreference",[],"isPremium"),b=pt("selectPreference",[],"userLocale"),f=pt("selectPreference",[],"editTaxonomyUrl"),h=pt("selectLink",[],"https://yoa.st/4e0"),y=Object(s.useMemo)(()=>Ur(r,b),[r,b]),_=Object(s.useMemo)(()=>Object(ie.values)(i),[i]),w=Object(s.useMemo)(()=>Object(ie.initial)(_),[_]),O=Object(s.useMemo)(()=>Object(ie.last)(_),[_]),{updateTaxonomyReviewStatus:j}=ct();Object(s.useEffect)(()=>{o&&j(t)},[t,j]);const g=Object(s.useMemo)(()=>Object(s.createInterpolateElement)(Object(tt.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(tt.__)("Recommended size for this image is %1$s%3$s%2$s","wordpress-seo"),"","","1200x675px"),{strong:Object(s.createElement)("strong",{className:"yst-font-semibold"})}),[]),v=Object(s.useMemo)(()=>Object(s.createInterpolateElement)(Object(tt.sprintf)( /* translators: %s expands to /category/ */ Object(tt.__)("Category URLs in WordPress contain a prefix, usually %s. Show or hide that prefix in category URLs.","wordpress-seo"),""),{code:Object(s.createElement)(l.Code,null,"/category/")}),[]),E=Object(s.useMemo)(()=>Object(s.createInterpolateElement)(Object(tt.sprintf)( /** * translators: %1$s and %2$s expand to post type plurals in code blocks, e.g. Posts Pages and Custom Post Type. */ Object(tt.__)("This taxonomy is used for %1$s and %2$s.","wordpress-seo"),"",""),{code1:Object(s.createElement)(s.Fragment,null,Object(ie.map)(w,(e,t)=>Object(s.createElement)(s.Fragment,null,Object(s.createElement)(l.Code,{key:null==e?void 0:e.name},null==e?void 0:e.label),tObject(s.createInterpolateElement)(Object(tt.sprintf)( /** * translators: %1$s expands to the post type plural in code block, e.g. Posts. */ Object(tt.__)("This taxonomy is used for %2$s.","wordpress-seo"),r,""),{code:Object(s.createElement)(l.Code,null,null==O?void 0:O.label)}),[r,O]),{values:S}=W(),{opengraph:k}=S.wpseo_social,F=Object(s.useMemo)(()=>w.length>1?E:x,[w,E,x]),T=Object(s.useCallback)(()=>n&&Object(s.createElement)(Wt,{as:l.ToggleField,type:"checkbox",name:"wpseo_titles.display-metabox-tax-"+t,id:"input-wpseo_titles-display-metabox-tax-"+t,label:Object(tt.__)("Enable SEO controls and assessments","wordpress-seo"),description:Object(tt.__)("Show or hide our tools and controls in the content editor.","wordpress-seo"),className:"yst-max-w-sm"}),[n,t]),L=Object(s.useCallback)(()=>"category"===t&&Object(s.createElement)(jt,{name:"wpseo_titles.stripcategorybase",id:"input-wpseo_titles-stripcategorybase",label:Object(tt.__)("Show the categories prefix in the slug","wordpress-seo"),description:v,className:"yst-max-w-sm"}),[t,v]),P=Object(s.useMemo)(()=>Object(s.createInterpolateElement)(Object(tt.sprintf)( /** * translators: %1$s expands to the name of the taxonomy. */ Object(tt.__)("The name of this category is %1$s.","wordpress-seo"),""),{link:Object(s.createElement)(l.Link,{href:`${f}?taxonomy=${t}`},t)}),[t]);return Object(s.createElement)(Er,{title:r,description:Object(s.createElement)(s.Fragment,null,Object(tt.sprintf)( /* translators: %1$s expands to the taxonomy plural, e.g. categories. */ Object(tt.__)("Determine how your %1$s should look in search engines and on social media.","wordpress-seo"),y),Object(s.createElement)("br",null),Object(ie.isEmpty)(_)?P:F)},Object(s.createElement)(wt,null,Object(s.createElement)("div",{className:"yst-max-w-5xl"},Object(s.createElement)(bt,{title:Object(tt.__)("Search appearance","wordpress-seo"),description:Object(tt.sprintf)( // translators: %1$s expands to the post type plural, e.g. Posts. %2$s expands to "Yoast SEO". Object(tt.__)("Determine what your %1$s should look like in the search results by default. You can always customize the settings for individual %1$s in the %2$s metabox.","wordpress-seo"),y,"Yoast SEO")},Object(s.createElement)(jt,{name:"wpseo_titles.noindex-tax-"+t,id:"input-wpseo_titles-noindex-tax-"+t,label:Object(tt.sprintf)(// translators: %1$s expands to the taxonomy plural, e.g. Categories. Object(tt.__)("Show %1$s in search results","wordpress-seo"),y),description:Object(s.createElement)(s.Fragment,null,Object(tt.sprintf)(// translators: %1$s expands to the taxonomy plural, e.g. Categories. Object(tt.__)("Disabling this means that archive pages for %1$s will not be indexed by search engines and will be excluded from XML sitemaps.","wordpress-seo"),y)," ",Object(s.createElement)(l.Link,{href:p,target:"_blank",rel:"noopener"},Object(tt.__)("Read more about the search results settings","wordpress-seo")),"."),className:"yst-max-w-sm"}),Object(s.createElement)("hr",{className:"yst-my-8"}),Object(s.createElement)(Ft,{type:"title",name:"wpseo_titles.title-tax-"+t,fieldId:"input-wpseo_titles-title-tax-"+t,label:Object(tt.__)("SEO title","wordpress-seo"),replacementVariables:d,recommendedReplacementVariables:u}),Object(s.createElement)(Ft,{type:"description",name:"wpseo_titles.metadesc-tax-"+t,fieldId:"input-wpseo_titles-metadesc-tax-"+t,label:Object(tt.__)("Meta description","wordpress-seo"),replacementVariables:d,recommendedReplacementVariables:u,className:"yst-replacevar--description"})),Object(s.createElement)("hr",{className:"yst-my-8"}),Object(s.createElement)(bt,{title:Object(s.createElement)("div",{className:"yst-flex yst-items-center yst-gap-1.5"},Object(s.createElement)("span",null,Object(tt.__)("Social appearance","wordpress-seo")),m&&Object(s.createElement)(l.Badge,{variant:"upsell"},"Premium")),description:Object(tt.sprintf)( // translators: %1$s expands to the taxonomy plural, e.g. Categories. %2$s expand to Yoast SEO. Object(tt.__)("Determine how your %1$s should look on social media by default. You can always customize the settings for individual %1$s in the %2$s metabox.","wordpress-seo"),y,"Yoast SEO")},Object(s.createElement)(l.FeatureUpsell,He()({shouldUpsell:!m,variant:"card",cardLink:h,cardText:Object(tt.sprintf)( /* translators: %1$s expands to Premium. */ Object(tt.__)("Unlock with %1$s","wordpress-seo"),"Premium")},c),Object(s.createElement)(rr,{isEnabled:!m||k}),Object(s.createElement)(xt,{id:"wpseo_titles-social-image-tax-"+t,label:Object(tt.__)("Social image","wordpress-seo"),previewLabel:g,mediaUrlName:"wpseo_titles.social-image-url-tax-"+t,mediaIdName:"wpseo_titles.social-image-id-tax-"+t,disabled:!k,isDummy:!m}),Object(s.createElement)(Ra,{type:"title",name:"wpseo_titles.social-title-tax-"+t,fieldId:"input-wpseo_titles-social-title-tax-"+t,label:Object(tt.__)("Social title","wordpress-seo"),replacementVariables:d,recommendedReplacementVariables:u,disabled:!k,isDummy:!m}),Object(s.createElement)(Ra,{type:"description",name:"wpseo_titles.social-description-tax-"+t,fieldId:"input-wpseo_titles-social-description-tax-"+t,label:Object(tt.__)("Social description","wordpress-seo"),replacementVariables:d,recommendedReplacementVariables:u,className:"yst-replacevar--description",disabled:!k,isDummy:!m}))),(n||"category"===t)&&Object(s.createElement)(s.Fragment,null,Object(s.createElement)("hr",{className:"yst-my-8"}),Object(s.createElement)(bt,{title:Object(tt.__)("Additional settings","wordpress-seo")},T(),L())))))};Ia.propTypes={name:nt.a.string.isRequired,label:nt.a.string.isRequired,postTypes:nt.a.arrayOf(nt.a.string).isRequired,showUi:nt.a.bool.isRequired,isNew:nt.a.bool.isRequired};var Na=Ia;const Ma=Gt(Ft);var Aa=()=>{const e=Object(tt.__)("Author archives","wordpress-seo"),t=Object(tt.__)("Author archive","wordpress-seo"),r=pt("selectPreference",[],"userLocale"),a=Object(s.useMemo)(()=>Ur(e,r),[e,r]),n=Object(s.useMemo)(()=>Ur(t,r),[t,r]),o=pt("selectUpsellSettingsAsProps"),i=pt("selectReplacementVariablesFor",[],"author_archives","custom-post-type_archive"),c=pt("selectRecommendedReplacementVariablesFor",[],"author_archives","custom-post-type_archive"),d=pt("selectLink",[],"https://yoa.st/duplicate-content"),u=pt("selectLink",[],"https://yoa.st/show-x"),p=pt("selectPreference",[],"isPremium"),m=pt("selectExampleUrl",[],"/author/example/"),b=pt("selectLink",[],"https://yoa.st/4e0"),f=Object(s.useMemo)(()=>Object(s.createInterpolateElement)(Object(tt.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(tt.__)("Recommended size for this image is %1$s%3$s%2$s","wordpress-seo"),"","","1200x675px"),{strong:Object(s.createElement)("strong",{className:"yst-font-semibold"})}),[]),h=Object(s.useMemo)(()=>Object(s.createInterpolateElement)(Object(tt.sprintf)( /** * translators: %1$s expands to "author archive". * %2$s expands to an example URL, e.g. https://example.com/author/example/. * %3$s and %4$s expand to opening and closing tags. */ Object(tt.__)("If you're running a one author blog, the %1$s (e.g. %2$s) will be exactly the same as your homepage. This is what's called a %3$sduplicate content problem%4$s. If this is the case on your site, you can choose to either disable it (which makes it redirect to the homepage), or prevent it from showing up in search results.","wordpress-seo"),n,"","",""),{exampleUrl:Object(s.createElement)(l.Code,null,m),a:Object(s.createElement)("a",{href:d,target:"_blank",rel:"noopener"})}),[]),{values:y}=W(),{opengraph:_}=y.wpseo_social,{"disable-author":w,"noindex-author-wpseo":O,"noindex-author-noposts-wpseo":j}=y.wpseo_titles;return Object(s.createElement)(Er,{title:e,description:h},Object(s.createElement)(wt,null,Object(s.createElement)("div",{className:"yst-max-w-5xl"},Object(s.createElement)(jt,{name:"wpseo_titles.disable-author",id:"input-wpseo_titles-disable-author",label:Object(tt.sprintf)(// translators: %1$s expands to "author archives". Object(tt.__)("Enable %1$s","wordpress-seo"),a),description:Object(tt.sprintf)(// translators: %1$s expands to "author archive". Object(tt.__)("Disabling this will redirect the %1$s to your site's homepage.","wordpress-seo"),n),className:"yst-max-w-sm"}),Object(s.createElement)("hr",{className:"yst-my-8"}),Object(s.createElement)(bt,{title:Object(tt.__)("Search appearance","wordpress-seo"),description:Object(tt.sprintf)(// translators: %1$s expands to "author archives". Object(tt.__)("Determine how your %1$s should look in search engines.","wordpress-seo"),a)},Object(s.createElement)(jt,{name:"wpseo_titles.noindex-author-wpseo",id:"input-wpseo_titles-noindex-author-wpseo",label:Object(tt.sprintf)(// translators: %1$s expands to "author archives". Object(tt.__)("Show %1$s in search results","wordpress-seo"),a),description:Object(s.createElement)(s.Fragment,null,Object(tt.sprintf)(// translators: %1$s expands to "author archives". Object(tt.__)("Disabling this means that %1$s will not be indexed by search engines and will be excluded from XML sitemaps.","wordpress-seo"),a)," ",Object(s.createElement)(l.Link,{href:u,target:"_blank",rel:"noopener"},Object(tt.__)("Read more about the search results settings","wordpress-seo")),"."),disabled:w,checked:!w&&!O,className:"yst-max-w-sm"}),Object(s.createElement)(jt,{name:"wpseo_titles.noindex-author-noposts-wpseo",id:"input-wpseo_titles-noindex-author-noposts-wpseo",label:Object(tt.sprintf)(// translators: %1$s expands to "author archives". Object(tt.__)("Show %1$s without posts in search results","wordpress-seo"),a),description:Object(tt.sprintf)(// translators: %1$s expands to "author archives". Object(tt.__)("Disabling this means that %1$s without any posts will not be indexed by search engines and will be excluded from XML sitemaps.","wordpress-seo"),a),checked:!w&&!O&&!j,disabled:w||O,className:"yst-max-w-sm"}),Object(s.createElement)(Ft,{type:"title",name:"wpseo_titles.title-author-wpseo",fieldId:"input-wpseo_titles-title-author-wpseo",label:Object(tt.__)("SEO title","wordpress-seo"),replacementVariables:i,recommendedReplacementVariables:c,disabled:w}),Object(s.createElement)(Ft,{type:"description",name:"wpseo_titles.metadesc-author-wpseo",fieldId:"input-wpseo_titles-metadesc-author-wpseo",label:Object(tt.__)("Meta description","wordpress-seo"),replacementVariables:i,recommendedReplacementVariables:c,disabled:w,className:"yst-replacevar--description"})),Object(s.createElement)("hr",{className:"yst-my-8"}),Object(s.createElement)(bt,{title:Object(s.createElement)("div",{className:"yst-flex yst-items-center yst-gap-1.5"},Object(s.createElement)("span",null,Object(tt.__)("Social appearance","wordpress-seo")),p&&Object(s.createElement)(l.Badge,{variant:"upsell"},"Premium")),description:Object(tt.sprintf)(// translators: %1$s expands to "author archives". Object(tt.__)("Determine how your %1$s should look on social media.","wordpress-seo"),a)},Object(s.createElement)(l.FeatureUpsell,He()({shouldUpsell:!p,variant:"card",cardLink:b,cardText:Object(tt.sprintf)( /* translators: %1$s expands to Premium. */ Object(tt.__)("Unlock with %1$s","wordpress-seo"),"Premium")},o),Object(s.createElement)(rr,{isEnabled:!p||_}),Object(s.createElement)(xt,{id:"wpseo_titles-social-image-author-wpseo",label:Object(tt.__)("Social image","wordpress-seo"),previewLabel:f,mediaUrlName:"wpseo_titles.social-image-url-author-wpseo",mediaIdName:"wpseo_titles.social-image-id-author-wpseo",disabled:w||!_,isDummy:!p}),Object(s.createElement)(Ma,{type:"title",name:"wpseo_titles.social-title-author-wpseo",fieldId:"input-wpseo_titles-social-title-author-wpseo",label:Object(tt.__)("Social title","wordpress-seo"),replacementVariables:i,recommendedReplacementVariables:c,disabled:w||!_,isDummy:!p}),Object(s.createElement)(Ma,{type:"description",name:"wpseo_titles.social-description-author-wpseo",fieldId:"input-wpseo_titles-social-description-author-wpseo",label:Object(tt.__)("Social description","wordpress-seo"),replacementVariables:i,recommendedReplacementVariables:c,className:"yst-replacevar--description",disabled:w||!_,isDummy:!p}))))))},Ca=()=>{const e=pt("selectLink",[],"https://yoa.st/header-breadcrumbs"),t=pt("selectLink",[],"https://yoa.st/breadcrumbs"),r=pt("selectBreadcrumbsForPostTypes"),a=pt("selectBreadcrumbsForTaxonomies"),n=pt("selectHasPageForPosts");return Object(s.createElement)(Er,{title:Object(tt.__)("Breadcrumbs","wordpress-seo"),description:Object(ka.a)(Object(tt.sprintf)(// translators: %1$s and %2$s are replaced by opening and closing tags. Object(tt.__)("Configure the appearance and behavior of %1$syour breadcrumbs%2$s.","wordpress-seo"),"",""),e,"link-header-breadcrumbs")},Object(s.createElement)(wt,null,Object(s.createElement)("div",{className:"yst-max-w-5xl"},Object(s.createElement)(bt,{title:Object(tt.__)("Breadcrumb appearance","wordpress-seo"),description:Object(tt.__)("Choose the general appearance of your breadcrumbs.","wordpress-seo")},Object(s.createElement)(ee,{as:l.TextField,type:"text",name:"wpseo_titles.breadcrumbs-sep",id:"input-wpseo_titles-breadcrumbs-sep",label:Object(tt.__)("Separator between breadcrumbs","wordpress-seo"),placeholder:Object(tt.__)("Add separator","wordpress-seo")}),Object(s.createElement)(ee,{as:l.TextField,type:"text",name:"wpseo_titles.breadcrumbs-home",id:"input-wpseo_titles-breadcrumbs-home",label:Object(tt.__)("Anchor text for the Homepage","wordpress-seo"),placeholder:Object(tt.__)("Add anchor text","wordpress-seo")}),Object(s.createElement)(ee,{as:l.TextField,type:"text",name:"wpseo_titles.breadcrumbs-prefix",id:"input-wpseo_titles-breadcrumbs-prefix",label:Object(tt.__)("Prefix for the breadcrumb path","wordpress-seo"),placeholder:Object(tt.__)("Add prefix","wordpress-seo")}),Object(s.createElement)(ee,{as:l.TextField,type:"text",name:"wpseo_titles.breadcrumbs-archiveprefix",id:"input-wpseo_titles-breadcrumbs-archiveprefix",label:Object(tt.__)("Prefix for archive breadcrumbs","wordpress-seo"),placeholder:Object(tt.__)("Add prefix","wordpress-seo")}),Object(s.createElement)(ee,{as:l.TextField,type:"text",name:"wpseo_titles.breadcrumbs-searchprefix",id:"input-wpseo_titles-breadcrumbs-searchprefix",label:Object(tt.__)("Prefix for search page breadcrumbs","wordpress-seo"),placeholder:Object(tt.__)("Add prefix","wordpress-seo")}),Object(s.createElement)(ee,{as:l.TextField,type:"text",name:"wpseo_titles.breadcrumbs-404crumb",id:"input-wpseo_titles-breadcrumbs-404crumb",label:Object(tt.__)("Breadcrumb for 404 page","wordpress-seo"),placeholder:Object(tt.__)("Add separator","wordpress-seo")}),n&&Object(s.createElement)(Wt,{as:l.ToggleField,type:"checkbox",name:"wpseo_titles.breadcrumbs-display-blog-page",id:"input-wpseo_titles-breadcrumbs-display-blog-page",label:Object(tt.__)("Show blog page in breadcrumbs","wordpress-seo"),className:"yst-max-w-sm"}),Object(s.createElement)(Wt,{as:l.ToggleField,type:"checkbox",name:"wpseo_titles.breadcrumbs-boldlast",id:"input-wpseo_titles-breadcrumbs-boldlast",label:Object(tt.__)("Bold the last page","wordpress-seo"),className:"yst-max-w-sm"})),Object(s.createElement)("hr",{className:"yst-my-8"}),Object(s.createElement)(bt,{title:Object(tt.__)("Breadcrumbs for post types","wordpress-seo"),description:Object(tt.__)("Choose which Taxonomy you wish to show in the breadcrumbs for Post types.","wordpress-seo")},Object(ie.map)(r,(e,t)=>Object(s.createElement)(Wt,{key:t,as:l.SelectField,name:`wpseo_titles.post_types-${t}-maintax`,id:`input-wpseo_titles-post_types-${t}-maintax`,label:Object(s.createElement)(s.Fragment,null,e.label,Object(s.createElement)(l.Code,{className:"yst-ml-2"},t)),options:e.options,className:"yst-max-w-sm"}))),Object(s.createElement)("hr",{className:"yst-my-8"}),Object(s.createElement)(bt,{title:Object(tt.__)("Breadcrumbs for taxonomies","wordpress-seo"),description:Object(tt.__)("Choose which Post type you wish to show in the breadcrumbs for Taxonomies.","wordpress-seo")},Object(ie.map)(a,e=>Object(s.createElement)(Wt,{key:e.name,as:l.SelectField,name:`wpseo_titles.taxonomy-${e.name}-ptparent`,id:`input-wpseo_titles-taxonomy-${e.name}-ptparent`,label:Object(s.createElement)(s.Fragment,null,e.label,Object(s.createElement)(l.Code,{className:"yst-ml-2"},e.name)),options:e.options,className:"yst-max-w-sm"}))),Object(s.createElement)("hr",{className:"yst-my-8"}),Object(s.createElement)(bt,{title:Object(tt.__)("How to insert breadcrumbs in your theme","wordpress-seo")},Object(s.createElement)("p",null,Object(ka.a)(Object(tt.sprintf)(// translators: %1$s and %2$s are replaced by opening and closing tags. %3$s expands to "Yoast SEO". Object(tt.__)("Not sure how to implement the %3$s breadcrumbs on your site? Read %1$sour help article on breadcrumbs implementation%2$s.","wordpress-seo"),"","","Yoast SEO"),t,"link-breadcrumbs-help-article")),Object(s.createElement)("p",null,Object(tt.__)("You can always choose to enable/disable them for your theme below. This setting will not apply to breadcrumbs inserted through a widget, a block or a shortcode.","wordpress-seo")),Object(s.createElement)(Wt,{as:l.ToggleField,type:"checkbox",name:"wpseo_titles.breadcrumbs-enable",id:"input-wpseo_titles-breadcrumbs-enable",label:Object(tt.__)("Enable breadcrumbs for your theme","wordpress-seo"),className:"yst-max-w-sm"})))))};const $a=Yt(ee),Da=Ht(Wt);var Va=()=>{const e=pt("selectLink",[],"https://yoa.st/crawl-settings"),t=pt("selectLink",[],"https://yoa.st/permalink-cleanup"),r=Object(s.useMemo)(()=>Object(tt.sprintf)( /* translators: %1$s expands to an example within a code tag. */ Object(tt.__)("E.g., %1$s","wordpress-seo"),""),[]),a=Object(s.useMemo)(()=>Object(tt.sprintf)( /* translators: %1$s and %2$s both expand to an example within a code tag. */ Object(tt.__)("E.g., %1$s and %2$s","wordpress-seo"),"",""),[]),n=Object(s.useMemo)(()=>({page:Object(s.createInterpolateElement)(Object(tt.sprintf)( /* translators: %1$s and %2$s are replaced by opening and closing tags. */ Object(tt.__)("Make your site more efficient and more environmentally friendly by preventing search engines from crawling things they don’t need to, and by removing unused WordPress features. %1$sLearn more about crawl settings and how they could benefit your site%2$s.","wordpress-seo"),"",""),{a:Object(s.createElement)("a",{id:"link-crawl-settings-info",href:e,target:"_blank",rel:"noopener noreferrer"})}),removeUnwantedMetadata:Object(s.createInterpolateElement)(Object(tt.sprintf)( /* translators: %1$s expands to `` within a tag. */ Object(tt.__)("WordPress adds a lot of links and content to your site's %1$s and HTTP headers. For most websites you can safely disable all of these, which can help to save bytes, electricity, and trees.","wordpress-seo"),""),{code:Object(s.createElement)(l.Code,null,"")}),removeShortlinks:Object(s.createInterpolateElement)(r,{code:Object(s.createElement)(l.Code,{variant:"block"},'')}),removeRestApiLinks:Object(s.createInterpolateElement)(r,{code:Object(s.createElement)(l.Code,{variant:"block"},'')}),removeRsdWlwLinks:Object(s.createInterpolateElement)(a,{code1:Object(s.createElement)(l.Code,{variant:"block"},''),code2:Object(s.createElement)(l.Code,{variant:"block"},'')}),removeOembedLinks:Object(s.createInterpolateElement)(r,{code:Object(s.createElement)(l.Code,{variant:"block"},'')}),removeGenerator:Object(s.createInterpolateElement)(r,{code:Object(s.createElement)(l.Code,{variant:"block"},'')}),removePingbackHeader:Object(s.createInterpolateElement)(r,{code:Object(s.createElement)(l.Code,{variant:"block"},"X-Pingback: https://www.example.com/xmlrpc.php")}),removePoweredByHeader:Object(s.createInterpolateElement)(r,{code:Object(s.createElement)(l.Code,{variant:"block"},"X-Powered-By: PHP/7.4.1")}),removeFeedGlobal:Object(s.createInterpolateElement)(r,{code:Object(s.createElement)(l.Code,{variant:"block"},'')}),removeFeedGlobalComments:Object(s.createInterpolateElement)(r,{code:Object(s.createElement)(l.Code,{variant:"block"},'')}),removeFeedPostComments:Object(s.createInterpolateElement)(r,{code:Object(s.createElement)(l.Code,{variant:"block"},'')}),removeFeedAuthors:Object(s.createInterpolateElement)(r,{code:Object(s.createElement)(l.Code,{variant:"block"},'')}),removeFeedPostTypes:Object(s.createInterpolateElement)(r,{code:Object(s.createElement)(l.Code,{variant:"block"},'')}),removeFeedCategories:Object(s.createInterpolateElement)(r,{code:Object(s.createElement)(l.Code,{variant:"block"},'')}),removeFeedTags:Object(s.createInterpolateElement)(r,{code:Object(s.createElement)(l.Code,{variant:"block"},'')}),removeFeedCustomTaxonomies:Object(s.createInterpolateElement)(r,{code:Object(s.createElement)(l.Code,{variant:"block"},'')}),removeFeedSearch:Object(s.createInterpolateElement)(r,{code:Object(s.createElement)(l.Code,{variant:"block"},'')}),removeAtomRdfFeeds:Object(s.createInterpolateElement)(r,{code:Object(s.createElement)(l.Code,{variant:"block"},'')}),denyWpJsonCrawling:Object(s.createInterpolateElement)(a,{code1:Object(s.createElement)(l.Code,{variant:"block"},"https://www.example.com/wp-json/"),code2:Object(s.createElement)(l.Code,{variant:"block"},"https://www.example.com/?rest_route=/")}),redirectSearchPrettyUrls:Object(s.createInterpolateElement)(Object(tt.sprintf)( /* translators: %1$s, %2$s and %3$s expand to example parts of a URL, surrounded by tags. */ Object(tt.__)("Consolidates WordPress' multiple site search URL formats into the %1$s syntax. E.g., %2$s will redirect to %3$s","wordpress-seo"),"","",""),{code1:Object(s.createElement)(l.Code,null,"?s="),code2:Object(s.createElement)(l.Code,{variant:"block"},"https://www.example.com/search/cats"),code3:Object(s.createElement)(l.Code,{variant:"block"},"https://www.example.com/?s=cats")}),denySearchCrawling:Object(s.createInterpolateElement)(Object(tt.sprintf)( /* translators: %1$s, %2$s and %3$s expand to example parts of a URL, surrounded by tags. */ Object(tt.__)("Add a ‘disallow’ rule to your robots.txt file to prevent crawling of URLs like %1$s, %2$s and %3$s.","wordpress-seo"),"","",""),{code1:Object(s.createElement)(l.Code,null,"?s="),code2:Object(s.createElement)(l.Code,null,"/search/"),code3:Object(s.createElement)(l.Code,null,"/page/*/?s=")}),advancedUrlCleanup:Object(s.createInterpolateElement)(Object(tt.sprintf)( /* translators: %1$s expands to an example part of a URL, surrounded by a tag. */ Object(tt.__)("Users and search engines may often request your URLs whilst using query parameters, like %1$s. These can be helpful for tracking, filtering, and powering advanced functionality - but they come with a performance and SEO ‘cost’. Sites which don’t rely on URL parameters might benefit from using these options.","wordpress-seo"),""),{code:Object(s.createElement)(l.Code,null,"?color=red")}),cleanCampaignTrackingUrls:Object(s.createInterpolateElement)(Object(tt.sprintf)( /** * translators: * %1$s expands to `utm`. * %2$s expands to `#`. * %3$s expands to `301`. * %4$s and %5$s both expand to an example within a tag. */ Object(tt.__)("Replaces %1$s tracking parameters with the (more performant) %2$s equivalent, via a %3$s redirect. E.g., %4$s will be redirected to %5$s","wordpress-seo"),"","","","",""),{code1:Object(s.createElement)(l.Code,null,"utm"),code2:Object(s.createElement)(l.Code,null,"#"),code3:Object(s.createElement)(l.Code,null,"301"),code4:Object(s.createElement)(l.Code,{variant:"block"},"https://www.example.com/?utm_medium=organic"),code5:Object(s.createElement)(l.Code,{variant:"block"},"https://www.example.com/#utm_medium=organic")}),cleanPermalinks:Object(s.createInterpolateElement)(Object(tt.sprintf)( /** * translators: * %1$s expands to `301`. * %2$s and %3$s both expand to an example within a tag. */ Object(tt.__)("Removes unknown URL parameters via a %1$s redirect. E.g., %2$s will be redirected to %3$s","wordpress-seo"),"","","")+Object(tt.sprintf)( /** * translators: * %1$s through %7$s each expand to a parameter name within a tag. For example, gclid. */ Object(tt.__)("Note that the following commonly-used parameters will not be removed: %1$s, %2$s, %3$s, %4$s, %5$s, %6$s, and %7$s.","wordpress-seo"),"","","","","","",""),{code1:Object(s.createElement)(l.Code,null,"301"),code2:Object(s.createElement)(l.Code,{variant:"block"},"https://www.example.com/?unknown_parameter=yes"),code3:Object(s.createElement)(l.Code,{variant:"block"},"https://www.example.com"),code4:Object(s.createElement)(l.Code,null,"gclid"),code5:Object(s.createElement)(l.Code,null,"gtm_debug"),code6:Object(s.createElement)(l.Code,null,"utm_campaign"),code7:Object(s.createElement)(l.Code,null,"utm_content"),code8:Object(s.createElement)(l.Code,null,"utm_medium"),code9:Object(s.createElement)(l.Code,null,"utm_source"),code10:Object(s.createElement)(l.Code,null,"utm_term")}),cleanPermalinksExtraVariables:Object(s.createInterpolateElement)(Object(tt.sprintf)( /** * translators: * %1$s expands to `unknown_parameter`. * %2$s and %3$s both expand to an example within a tag. */ Object(tt.__)("Prevents specific URL parameters from being removed by the above feature. E.g., adding %1$s will prevent %2$s from being redirected to %3$s. You can add multiple parameters and separate them by using enter or a comma.","wordpress-seo"),"","",""),{code1:Object(s.createElement)(l.Code,null,"unknown_parameter"),code2:Object(s.createElement)(l.Code,null,"https://www.example.com/?unknown_parameter=yes"),code3:Object(s.createElement)(l.Code,null,"https://www.example.com")})}),[]),{values:o}=W(),{remove_feed_global_comments:i,remove_feed_post_comments:c,search_cleanup:d,search_cleanup_emoji:u,search_cleanup_patterns:p,clean_permalinks:m}=o.wpseo;return Object(s.createElement)(Er,{title:Object(tt.__)("Crawl optimization","wordpress-seo"),description:n.page},Object(s.createElement)(wt,null,Object(s.createElement)("div",{className:"yst-max-w-5xl"},Object(s.createElement)(bt,{title:Object(tt.__)("Remove unwanted metadata","wordpress-seo"),description:n.removeUnwantedMetadata},Object(s.createElement)(Da,{as:l.ToggleField,type:"checkbox",name:"wpseo.remove_shortlinks",id:"input-wpseo-remove_shortlinks",label:Object(tt.__)("Remove shortlinks","wordpress-seo"),className:"yst-max-w-2xl"},Object(tt.__)("Remove links to WordPress' internal 'shortlink' URLs for your posts.","wordpress-seo")," ",n.removeShortlinks),Object(s.createElement)(Da,{as:l.ToggleField,type:"checkbox",name:"wpseo.remove_rest_api_links",id:"input-wpseo-remove_rest_api_links",label:Object(tt.__)("Remove REST API links","wordpress-seo"),className:"yst-max-w-2xl"},Object(tt.__)("Remove links to the location of your site’s REST API endpoints.","wordpress-seo")," ",n.removeRestApiLinks),Object(s.createElement)(Da,{as:l.ToggleField,type:"checkbox",name:"wpseo.remove_rsd_wlw_links",id:"input-wpseo-remove_rsd_wlw_links",label:Object(tt.__)("Remove RSD / WLW links","wordpress-seo"),className:"yst-max-w-2xl"},Object(tt.__)("Remove links used by external systems for publishing content to your blog.","wordpress-seo")," ",n.removeRsdWlwLinks),Object(s.createElement)(Da,{as:l.ToggleField,type:"checkbox",name:"wpseo.remove_oembed_links",id:"input-wpseo-remove_oembed_links",label:Object(tt.__)("Remove oEmbed links","wordpress-seo"),className:"yst-max-w-2xl"},Object(tt.__)("Remove links used for embedding your content on other sites.","wordpress-seo")," ",n.removeOembedLinks),Object(s.createElement)(Da,{as:l.ToggleField,type:"checkbox",name:"wpseo.remove_generator",id:"input-wpseo-remove_generator",label:Object(tt.__)("Remove generator tag","wordpress-seo"),className:"yst-max-w-2xl"},Object(tt.__)("Remove information about the plugins and software used by your site.","wordpress-seo")," ",n.removeGenerator),Object(s.createElement)(Da,{as:l.ToggleField,type:"checkbox",name:"wpseo.remove_pingback_header",id:"input-wpseo-remove_pingback_header",label:Object(tt.__)("Pingback HTTP header","wordpress-seo"),className:"yst-max-w-2xl"},Object(tt.__)("Remove links which allow others sites to ‘ping’ yours when they link to you.","wordpress-seo")," ",n.removePingbackHeader),Object(s.createElement)(Da,{as:l.ToggleField,type:"checkbox",name:"wpseo.remove_powered_by_header",id:"input-wpseo-remove_powered_by_header",label:Object(tt.__)("Remove powered by HTTP header","wordpress-seo"),className:"yst-max-w-2xl"},Object(tt.__)("Remove information about the plugins and software used by your site.","wordpress-seo")," ",n.removePoweredByHeader)),Object(s.createElement)("hr",{className:"yst-my-8"}),Object(s.createElement)(bt,{title:Object(tt.__)("Disable unwanted content formats","wordpress-seo"),description:Object(tt.__)("WordPress outputs your content in many different formats, across many different URLs (like RSS feeds of your posts and categories). It’s generally good practice to disable the formats you’re not actively using.","wordpress-seo")},Object(s.createElement)(Da,{as:l.ToggleField,type:"checkbox",name:"wpseo.remove_feed_global",id:"input-wpseo-remove_feed_global",label:Object(tt.__)("Remove global feed","wordpress-seo"),className:"yst-max-w-2xl"},Object(tt.__)("Remove URLs which provide an overview of your recent posts.","wordpress-seo")," ",n.removeFeedGlobal),Object(s.createElement)(Da,{as:l.ToggleField,type:"checkbox",name:"wpseo.remove_feed_global_comments",id:"input-wpseo-remove_feed_global_comments",label:Object(tt.__)("Remove global comment feeds","wordpress-seo"),className:"yst-max-w-2xl"},Object(tt.__)("Remove URLs which provide an overview of recent comments on your site.","wordpress-seo")," ",n.removeFeedGlobalComments,Object(tt.__)("Also disables post comment feeds.","wordpress-seo")),Object(s.createElement)(Da,{as:l.ToggleField,type:"checkbox",name:"wpseo.remove_feed_post_comments",id:"input-wpseo-remove_feed_post_comments",label:Object(tt.__)("Remove post comments feeds","wordpress-seo"),disabled:i,checked:i||c,className:"yst-max-w-2xl"},Object(tt.__)("Remove URLs which provide information about recent comments on each post.","wordpress-seo")," ",n.removeFeedPostComments),Object(s.createElement)(Da,{as:l.ToggleField,type:"checkbox",name:"wpseo.remove_feed_authors",id:"input-wpseo-remove_feed_authors",label:Object(tt.__)("Remove post authors feeds","wordpress-seo"),className:"yst-max-w-2xl"},Object(tt.__)("Remove URLs which provide information about recent posts by specific authors.","wordpress-seo")," ",n.removeFeedAuthors),Object(s.createElement)(Da,{as:l.ToggleField,type:"checkbox",name:"wpseo.remove_feed_post_types",id:"input-wpseo-remove_feed_post_types",label:Object(tt.__)("Remove post type feeds","wordpress-seo"),className:"yst-max-w-2xl"},Object(tt.__)("Remove URLs which provide information about your recent posts, for each post type.","wordpress-seo")," ",n.removeFeedPostTypes),Object(s.createElement)(Da,{as:l.ToggleField,type:"checkbox",name:"wpseo.remove_feed_categories",id:"input-wpseo-remove_feed_categories",label:Object(tt.__)("Remove category feeds","wordpress-seo"),className:"yst-max-w-2xl"},Object(tt.__)("Remove URLs which provide information about your recent posts, for each category.","wordpress-seo")," ",n.removeFeedCategories),Object(s.createElement)(Da,{as:l.ToggleField,type:"checkbox",name:"wpseo.remove_feed_tags",id:"input-wpseo-remove_feed_tags",label:Object(tt.__)("Remove tag feeds","wordpress-seo"),className:"yst-max-w-2xl"},Object(tt.__)("Remove URLs which provide information about your recent posts, for each tag.","wordpress-seo")," ",n.removeFeedTags),Object(s.createElement)(Da,{as:l.ToggleField,type:"checkbox",name:"wpseo.remove_feed_custom_taxonomies",id:"input-wpseo-remove_feed_custom_taxonomies",label:Object(tt.__)("Remove custom taxonomy feeds","wordpress-seo"),className:"yst-max-w-2xl"},Object(tt.__)("Remove URLs which provide information about your recent posts, for each custom taxonomy.","wordpress-seo")," ",n.removeFeedCustomTaxonomies),Object(s.createElement)(Da,{as:l.ToggleField,type:"checkbox",name:"wpseo.remove_feed_search",id:"input-wpseo-remove_feed_search",label:Object(tt.__)("Remove search results feeds","wordpress-seo"),className:"yst-max-w-2xl"},Object(tt.__)("Remove URLs which provide information about your search results.","wordpress-seo")," ",n.removeFeedSearch),Object(s.createElement)(Da,{as:l.ToggleField,type:"checkbox",name:"wpseo.remove_atom_rdf_feeds",id:"input-wpseo-remove_atom_rdf_feeds",label:Object(tt.__)("Remove Atom / RDF feeds","wordpress-seo"),className:"yst-max-w-2xl"},Object(tt.__)("Remove URLs which provide alternative (legacy) formats of all of the above.","wordpress-seo")," ",n.removeAtomRdfFeeds)),Object(s.createElement)("hr",{className:"yst-my-8"}),Object(s.createElement)(bt,{title:Object(tt.__)("Remove unused resources","wordpress-seo"),description:Object(tt.__)("WordPress loads lots of resources, some of which your site might not need. If you’re not using these, removing them can speed up your pages and save resources.","wordpress-seo")},Object(s.createElement)(Da,{as:l.ToggleField,type:"checkbox",name:"wpseo.remove_emoji_scripts",id:"input-wpseo-remove_emoji_scripts",label:Object(tt.__)("Remove emoji scripts","wordpress-seo"),description:Object(tt.__)("Remove JavaScript used for converting emoji characters in older browsers.","wordpress-seo"),className:"yst-max-w-2xl"}),Object(s.createElement)(Da,{as:l.ToggleField,type:"checkbox",name:"wpseo.deny_wp_json_crawling",id:"input-wpseo-deny_wp_json_crawling",label:Object(tt.__)("Remove WP-JSON API","wordpress-seo"),className:"yst-max-w-2xl"},Object(tt.__)("Add a ‘disallow’ rule to your robots.txt file to prevent crawling of WordPress' JSON API endpoints.","wordpress-seo")," ",n.denyWpJsonCrawling)),Object(s.createElement)("hr",{className:"yst-my-8"}),Object(s.createElement)(bt,{title:Object(tt.__)("Block unwanted bots","wordpress-seo"),description:Object(tt.__)("Lots of web traffic comes from bots crawling the web. Some of these can be beneficial to your site or to your business, but some just waste resources. Blocking unwanted bots can save energy and help with site performance.","wordpress-seo")},Object(s.createElement)(Da,{as:l.ToggleField,type:"checkbox",name:"wpseo.deny_adsbot_crawling",id:"input-wpseo-deny_adsbot_crawling",label:Object(tt.__)("Prevent Google AdsBot from crawling","wordpress-seo"),description:Object(tt.__)("Add a 'disallow' rule to your robots.txt file to prevent crawling by Google's AdsBot. You should only enable this setting if you're not using Google Ads on your site.","wordpress-seo"),className:"yst-max-w-2xl"})),Object(s.createElement)("hr",{className:"yst-my-8"}),Object(s.createElement)(bt,{title:Object(tt.__)("Internal site search cleanup","wordpress-seo"),description:Object(tt.__)("Your internal site search can create lots of confusing URLs for search engines, and can even be used as a way for SEO spammers to attack your site. Most sites will benefit from experimenting with these protections and optimizations, even if you don’t have a search feature in your theme.","wordpress-seo")},Object(s.createElement)(Da,{as:l.ToggleField,type:"checkbox",name:"wpseo.search_cleanup",id:"input-wpseo-search_cleanup",label:Object(tt.__)("Filter search terms","wordpress-seo"),description:Object(tt.__)("Enables advanced settings for protecting your internal site search URLs.","wordpress-seo"),className:"yst-max-w-2xl"}),Object(s.createElement)($a,{as:l.TextField,type:"number",name:"wpseo.search_character_limit",id:"input-wpseo-search_character_limit",label:Object(tt.__)("Max number of characters to allow in searches","wordpress-seo"),description:Object(tt.__)("Limit the length of internal site search queries to reduce the impact of spam attacks and confusing URLs. Please enter a number between 1 and 50.","wordpress-seo"),disabled:!d}),Object(s.createElement)(Da,{as:l.ToggleField,type:"checkbox",name:"wpseo.search_cleanup_emoji",id:"input-wpseo-search_cleanup_emoji",label:Object(tt.__)("Filter searches with emojis and other special characters","wordpress-seo"),description:Object(tt.__)("Block internal site searches which contain complex and non-alphanumeric characters, as they may be part of a spam attack.","wordpress-seo"),disabled:!d,checked:d&&u,className:"yst-max-w-2xl"}),Object(s.createElement)(Da,{as:l.ToggleField,type:"checkbox",name:"wpseo.search_cleanup_patterns",id:"input-wpseo-search_cleanup_patterns",label:Object(tt.__)("Filter searches with common spam patterns","wordpress-seo"),description:Object(tt.__)("Block internal site searches which match the patterns of known spam attacks.","wordpress-seo"),disabled:!d,checked:d&&p,className:"yst-max-w-2xl"}),Object(s.createElement)(Da,{as:l.ToggleField,type:"checkbox",name:"wpseo.redirect_search_pretty_urls",id:"input-wpseo-redirect_search_pretty_urls",label:Object(tt.__)("Redirect pretty URLs to ‘raw’ formats","wordpress-seo"),description:n.redirectSearchPrettyUrls,className:"yst-max-w-2xl"}),Object(s.createElement)(Da,{as:l.ToggleField,type:"checkbox",name:"wpseo.deny_search_crawling",id:"input-wpseo-deny_search_crawling",label:Object(tt.__)("Prevent crawling of internal site search URLs","wordpress-seo"),description:n.denySearchCrawling,className:"yst-max-w-2xl"})),Object(s.createElement)("hr",{className:"yst-my-8"}),Object(s.createElement)(bt,{title:Object(tt.__)("Advanced: URL cleanup","wordpress-seo"),description:n.advancedUrlCleanup},Object(s.createElement)(l.Alert,{id:"alert-permalink-cleanup-settings",variant:"error"},Object(s.createInterpolateElement)(Object(tt.sprintf)(// translators: %1$s and %2$s are replaced by opening and closing tags. Object(tt.__)("Warning! These are expert features, so make sure you know what you're doing before using this setting. You might break your site. %1$sRead more about how your site can be affected%2$s.","wordpress-seo"),"",""),{a:Object(s.createElement)("a",{id:"link-permalink-cleanup-info",href:t,target:"_blank",rel:"noopener noreferrer"})})),Object(s.createElement)(Da,{as:l.ToggleField,type:"checkbox",name:"wpseo.clean_campaign_tracking_urls",id:"input-wpseo-clean_campaign_tracking_urls",label:Object(tt.__)("Optimize Google Analytics utm tracking parameters","wordpress-seo"),description:n.cleanCampaignTrackingUrls,className:"yst-max-w-2xl"}),Object(s.createElement)(Da,{as:l.ToggleField,type:"checkbox",name:"wpseo.clean_permalinks",id:"input-wpseo-clean_permalinks",label:Object(tt.__)("Remove unregistered URL parameters","wordpress-seo"),description:n.cleanPermalinks,className:"yst-max-w-2xl"}),Object(s.createElement)(Lt,{name:"wpseo.clean_permalinks_extra_variables",id:"input-wpseo-clean_permalinks_extra_variables",label:Object(tt.__)("Additional URL parameters to allow","wordpress-seo"),description:n.cleanPermalinksExtraVariables,disabled:!m})))))};const Ba=Gt(Ft);var Ua=()=>{const e=Object(tt.__)("Date archives","wordpress-seo"),t=pt("selectPreference",[],"userLocale"),r=Object(s.useMemo)(()=>Ur(e,t),[e,t]),a=pt("selectUpsellSettingsAsProps"),n=pt("selectReplacementVariablesFor",[],"date_archive","custom-post-type_archive"),o=pt("selectRecommendedReplacementVariablesFor",[],"date_archive","custom-post-type_archive"),i=pt("selectLink",[],"https://yoa.st/show-x"),c=pt("selectPreference",[],"isPremium"),d=pt("selectLink",[],"https://yoa.st/4e0"),u=pt("selectExampleUrl",[],"/2020/"),p=Object(s.useMemo)(()=>Object(s.createInterpolateElement)(Object(tt.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(tt.__)("Recommended size for this image is %1$s%3$s%2$s","wordpress-seo"),"","","1200x675px"),{strong:Object(s.createElement)("strong",{className:"yst-font-semibold"})}),[]),m=Object(s.useMemo)(()=>Object(s.createInterpolateElement)(Object(tt.sprintf)( /** * translators: %1$s expands to "Date archives". * %2$s expands to an example URL, e.g. https://example.com/author/example/. * %3$s expands to "date archives". */ Object(tt.__)("%1$s (e.g. %2$s) are based on publication dates. From an SEO perspective, the posts in these archives have no real relation to the other posts except for their publication dates, which doesn’t say much about the content. They could also lead to duplicate content issues. This is why we recommend you to disable %3$s.","wordpress-seo"),e,"",r),{exampleUrl:Object(s.createElement)(l.Code,null,u)})),{values:b}=W(),{opengraph:f}=b.wpseo_social,{"disable-date":h,"noindex-archive-wpseo":y}=b.wpseo_titles;return Object(s.createElement)(Er,{title:e,description:m},Object(s.createElement)(wt,null,Object(s.createElement)("div",{className:"yst-max-w-5xl"},Object(s.createElement)("fieldset",{className:"yst-min-width-0 yst-space-y-8"},Object(s.createElement)(jt,{name:"wpseo_titles.disable-date",id:"input-wpseo_titles-disable-date",label:Object(tt.sprintf)(// translators: %1$s expands to "date archives". Object(tt.__)("Enable %1$s","wordpress-seo"),r),description:Object(tt.sprintf)(// translators: %1$s expands to "Date archives". Object(tt.__)("%1$s can cause duplicate content issues. For most sites, we recommend that you disable this setting.","wordpress-seo"),e),className:"yst-max-w-sm"})),Object(s.createElement)("hr",{className:"yst-my-8"}),Object(s.createElement)(bt,{title:Object(tt.__)("Search appearance","wordpress-seo"),description:Object(tt.sprintf)(// translators: %1$s expands to "date archives". Object(tt.__)("Determine how your %1$s should look in search engines.","wordpress-seo"),r)},Object(s.createElement)(jt,{name:"wpseo_titles.noindex-archive-wpseo",id:"input-wpseo_titles-noindex-archive-wpseo",label:Object(tt.sprintf)(// translators: %1$s expands to "date archives". Object(tt.__)("Show %1$s in search results","wordpress-seo"),r),description:Object(s.createElement)(s.Fragment,null,Object(tt.sprintf)(// translators: %1$s expands to "date archives". Object(tt.__)("Disabling this means that %1$s will not be indexed by search engines and will be excluded from XML sitemaps. We recommend that you disable this setting.","wordpress-seo"),r)," ",Object(s.createElement)(l.Link,{href:i,target:"_blank",rel:"noopener"},Object(tt.__)("Read more about the search results settings","wordpress-seo")),"."),disabled:h,checked:!h&&!y,className:"yst-max-w-sm"}),Object(s.createElement)(Ft,{type:"title",name:"wpseo_titles.title-archive-wpseo",fieldId:"input-wpseo_titles-title-archive-wpseo",label:Object(tt.__)("SEO title","wordpress-seo"),replacementVariables:n,recommendedReplacementVariables:o,disabled:h}),Object(s.createElement)(Ft,{type:"description",name:"wpseo_titles.metadesc-archive-wpseo",fieldId:"input-wpseo_titles-metadesc-archive-wpseo",label:Object(tt.__)("Meta description","wordpress-seo"),replacementVariables:n,recommendedReplacementVariables:o,disabled:h,className:"yst-replacevar--description"})),Object(s.createElement)("hr",{className:"yst-my-8"}),Object(s.createElement)(bt,{title:Object(s.createElement)("div",{className:"yst-flex yst-items-center yst-gap-1.5"},Object(s.createElement)("span",null,Object(tt.__)("Social appearance","wordpress-seo")),c&&Object(s.createElement)(l.Badge,{variant:"upsell"},"Premium")),description:Object(tt.sprintf)(// translators: %1$s expands to "date archives". Object(tt.__)("Determine how your %1$s should look on social media by default.","wordpress-seo"),r)},Object(s.createElement)(l.FeatureUpsell,He()({shouldUpsell:!c,variant:"card",cardLink:d,cardText:Object(tt.sprintf)(// translators: %1$s expands to Premium. Object(tt.__)("Unlock with %1$s","wordpress-seo"),"Premium")},a),Object(s.createElement)(rr,{isEnabled:!c||f}),Object(s.createElement)(xt,{id:"wpseo_titles-social-image-archive-wpseo",label:Object(tt.__)("Social image","wordpress-seo"),previewLabel:p,mediaUrlName:"wpseo_titles.social-image-url-archive-wpseo",mediaIdName:"wpseo_titles.social-image-id-archive-wpseo",disabled:h||!f,isDummy:!c}),Object(s.createElement)(Ba,{type:"title",name:"wpseo_titles.social-title-archive-wpseo",fieldId:"input-wpseo_titles-social-title-archive-wpseo",label:Object(tt.__)("Social title","wordpress-seo"),replacementVariables:n,recommendedReplacementVariables:o,disabled:h||!f,isDummy:!c}),Object(s.createElement)(Ba,{type:"description",name:"wpseo_titles.social-description-archive-wpseo",fieldId:"input-wpseo_titles-social-description-archive-wpseo",label:Object(tt.__)("Social description","wordpress-seo"),replacementVariables:n,recommendedReplacementVariables:o,className:"yst-replacevar--description",disabled:h||!f,isDummy:!c}))))))};const za=Gt(Ft);var qa=()=>{const{name:e,label:t,singularLabel:r}=pt("selectTaxonomy",[],"post_format"),a=pt("selectPreference",[],"userLocale"),n=Object(s.useMemo)(()=>Ur(t,a),[t,a]),o=Object(s.useMemo)(()=>Ur(r,a),[r,a]),i=pt("selectUpsellSettingsAsProps"),c=pt("selectReplacementVariablesFor",[e],e,"term-in-custom-taxonomy"),d=pt("selectRecommendedReplacementVariablesFor",[e],e,"term-in-custom-taxonomy"),u=pt("selectLink",[],"https://yoa.st/show-x"),p=pt("selectPreference",[],"isPremium"),m=pt("selectLink",[],"https://yoa.st/4e0"),b=pt("selectExampleUrl",[],"/format/example/"),f=Object(s.useMemo)(()=>Object(s.createInterpolateElement)(Object(tt.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(tt.__)("Recommended size for this image is %1$s%3$s%2$s","wordpress-seo"),"","","1200x675px"),{strong:Object(s.createElement)("strong",{className:"yst-font-semibold"})}),[]),h=Object(s.useMemo)(()=>Object(s.createInterpolateElement)(Object(tt.sprintf)( /* translators: %1$s expands to an opening tag. %2$s expands to a closing tag. */ Object(tt.__)("(e.g., %1$s)","wordpress-seo"),""),{exampleUrl:Object(s.createElement)(l.Code,null,b)})),{values:y}=W(),{opengraph:_}=y.wpseo_social,{"disable-post_format":w,"noindex-tax-post_format":O}=y.wpseo_titles;return Object(s.createElement)(Er,{title:Object(tt.__)("Format archives","wordpress-seo"),description:h},Object(s.createElement)(wt,null,Object(s.createElement)("div",{className:"yst-max-w-5xl"},Object(s.createElement)(jt,{name:"wpseo_titles.disable-post_format",id:"input-wpseo_titles-disable-post_format",label:Object(tt.__)("Enable format-based archives","wordpress-seo"),description:Object(tt.__)("Format-based archives can cause duplicate content issues. For most sites, we recommend that you disable this setting.","wordpress-seo"),className:"yst-max-w-sm"}),Object(s.createElement)("hr",{className:"yst-my-8"}),Object(s.createElement)(bt,{title:Object(tt.__)("Search appearance","wordpress-seo"),description:Object(tt.sprintf)( // translators: %1$s expands to "formats". %2$s expands to "Yoast SEO". Object(tt.__)("Determine how your %1$s should look in search engines. You can always customize the settings for individual %1$s in the %2$s metabox.","wordpress-seo"),n,"Yoast SEO")},Object(s.createElement)(jt,{name:"wpseo_titles.noindex-tax-"+e,id:"input-wpseo_titles-noindex-tax-"+e,label:Object(tt.sprintf)(// translators: %1$s expands to "format". Object(tt.__)("Show %1$s archives in search results","wordpress-seo"),o),description:Object(s.createElement)(s.Fragment,null,Object(tt.sprintf)(// translators: %1$s expands to "formats". Object(tt.__)("Disabling this means that %1$s will not be indexed by search engines and will be excluded from XML sitemaps. We recommend that you disable this setting.","wordpress-seo"),n)," ",Object(s.createElement)(l.Link,{href:u,target:"_blank",rel:"noopener"},Object(tt.__)("Read more about the search results settings","wordpress-seo")),"."),disabled:w,checked:!w&&!O,className:"yst-max-w-sm"}),Object(s.createElement)(Ft,{type:"title",name:"wpseo_titles.title-tax-"+e,fieldId:"input-wpseo_titles-title-tax-"+e,label:Object(tt.__)("SEO title","wordpress-seo"),replacementVariables:c,recommendedReplacementVariables:d,disabled:w}),Object(s.createElement)(Ft,{type:"description",name:"wpseo_titles.metadesc-tax-"+e,fieldId:"input-wpseo_titles-metadesc-tax-"+e,label:Object(tt.__)("Meta description","wordpress-seo"),replacementVariables:c,recommendedReplacementVariables:d,disabled:w,className:"yst-replacevar--description"})),Object(s.createElement)("hr",{className:"yst-my-8"}),Object(s.createElement)(bt,{title:Object(s.createElement)("div",{className:"yst-flex yst-items-center yst-gap-1.5"},Object(s.createElement)("span",null,Object(tt.__)("Social appearance","wordpress-seo")),p&&Object(s.createElement)(l.Badge,{variant:"upsell"},"Premium")),description:Object(tt.sprintf)( // translators: %1$s expands to "formats". %2$s expands to "Yoast SEO". Object(tt.__)("Determine how your %1$s should look on social media by default. You can always customize the settings for individual %1$s in the %2$s metabox.","wordpress-seo"),n,"Yoast SEO")},Object(s.createElement)(l.FeatureUpsell,He()({shouldUpsell:!p,variant:"card",cardLink:m,cardText:Object(tt.sprintf)( /* translators: %1$s expands to Premium. */ Object(tt.__)("Unlock with %1$s","wordpress-seo"),"Premium")},i),Object(s.createElement)(rr,{isEnabled:!p||_}),Object(s.createElement)(xt,{id:"wpseo_titles-social-image-tax-"+e,label:Object(tt.__)("Social image","wordpress-seo"),previewLabel:f,mediaUrlName:"wpseo_titles.social-image-url-tax-"+e,mediaIdName:"wpseo_titles.social-image-id-tax-"+e,disabled:w||!_,isDummy:!p}),Object(s.createElement)(za,{type:"title",name:"wpseo_titles.social-title-tax-"+e,fieldId:"input-wpseo_titles-social-title-tax-"+e,label:Object(tt.__)("Social title","wordpress-seo"),replacementVariables:c,recommendedReplacementVariables:d,disabled:w||!_,isDummy:!p}),Object(s.createElement)(za,{type:"description",name:"wpseo_titles.social-description-tax-"+e,fieldId:"input-wpseo_titles-social-description-tax-"+e,label:Object(tt.__)("Social description","wordpress-seo"),replacementVariables:c,recommendedReplacementVariables:d,className:"yst-replacevar--description",disabled:w||!_,isDummy:!p}))))))};const Wa=()=>{const e=pt("selectReplacementVariablesFor",[],"homepage","page"),t=pt("selectRecommendedReplacementVariablesFor",[],"homepage","page"),r=Object(s.useMemo)(()=>Object(s.createInterpolateElement)(Object(tt.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(tt.__)("Recommended size for this image is %1$s%3$s%2$s","wordpress-seo"),"","","1200x675px"),{strong:Object(s.createElement)("strong",{className:"yst-font-semibold"})}),[]),{values:a}=W(),{opengraph:n}=a.wpseo_social;return Object(s.createElement)(s.Fragment,null,Object(s.createElement)(bt,{title:Object(tt.__)("Search appearance","wordpress-seo"),description:Object(tt.__)("Determine how your homepage should look in the search results.","wordpress-seo")},Object(s.createElement)(Ft,{type:"title",name:"wpseo_titles.title-home-wpseo",fieldId:"input-wpseo_titles-title-home-wpseo",label:Object(tt.__)("SEO title","wordpress-seo"),replacementVariables:e,recommendedReplacementVariables:t}),Object(s.createElement)(Ft,{type:"description",name:"wpseo_titles.metadesc-home-wpseo",fieldId:"input-wpseo_titles-metadesc-home-wpseo",label:Object(tt.__)("Meta description","wordpress-seo"),replacementVariables:e,recommendedReplacementVariables:t,className:"yst-replacevar--description"})),Object(s.createElement)("hr",{className:"yst-my-8"}),Object(s.createElement)(bt,{title:Object(tt.__)("Social appearance","wordpress-seo"),description:Object(tt.__)("Determine how your homepage should look on social media.","wordpress-seo")},Object(s.createElement)(rr,{isEnabled:n /* translators: %1$s expands to an opening emphasis tag. %2$s expands to a closing emphasis tag. */,text:Object(tt.__)("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 features%4$s.","wordpress-seo")}),Object(s.createElement)(xt,{id:"wpseo_titles-open_graph_frontpage_image",label:Object(tt.__)("Social image","wordpress-seo"),previewLabel:r,mediaUrlName:"wpseo_titles.open_graph_frontpage_image",mediaIdName:"wpseo_titles.open_graph_frontpage_image_id",disabled:!n}),Object(s.createElement)(Ft,{type:"title",name:"wpseo_titles.open_graph_frontpage_title",fieldId:"input-wpseo_titles-open_graph_frontpage_title",label:Object(tt.__)("Social title","wordpress-seo"),replacementVariables:e,recommendedReplacementVariables:t,disabled:!n}),Object(s.createElement)(Ft,{type:"description",name:"wpseo_titles.open_graph_frontpage_desc",fieldId:"input-wpseo_titles-open_graph_frontpage_desc",label:Object(tt.__)("Social description","wordpress-seo"),replacementVariables:e,recommendedReplacementVariables:t,className:"yst-replacevar--description",disabled:!n})))},Ha=()=>{const e=pt("selectPreference",[],"homepagePageEditUrl"),t=pt("selectPreference",[],"homepagePostsEditUrl"),r=Object(s.useMemo)(()=>Object(ka.a)(Object(tt.sprintf)( /* translators: %1$s expands to an opening tag. %2$s expands to a closing tag. */ Object(tt.__)("You can determine the title and description for the homepage by %1$sediting the homepage itself%2$s.","wordpress-seo"),"",""),e,"link-homepage-page-edit")),a=Object(s.useMemo)(()=>Object(ka.a)(Object(tt.sprintf)( /* translators: %1$s expands to an opening tag. %2$s expands to a closing tag. */ Object(tt.__)("You can determine the title and description for the blog page by %1$sediting the blog page itself%2$s.","wordpress-seo"),"",""),t,"link-homepage-posts-page-edit"));return Object(s.createElement)("div",{className:"yst-max-w-screen-sm"},Object(s.createElement)(l.Alert,null,Object(s.createElement)("p",null,r),t&&Object(s.createElement)("p",{className:"yst-pt-2"},a)))};var Ga=()=>{const e=pt("selectPreference",[],"homepageIsLatestPosts");return Object(s.createElement)(Er,{title:Object(tt.__)("Homepage","wordpress-seo"),description:Object(tt.__)("Determine how your homepage should look in the search results and on social media. This is what people probably will see when they search for your brand name.","wordpress-seo")},Object(s.createElement)(wt,null,Object(s.createElement)("div",{className:"yst-max-w-5xl"},e&&Object(s.createElement)(Wa,null),!e&&Object(s.createElement)(Ha,null))))},Ya=()=>{const{name:e,label:t,hasSchemaArticleType:r}=pt("selectPostType",[],"attachment"),a=pt("selectPreference",[],"userLocale"),n=Object(s.useMemo)(()=>Ur(t,a),[t,a]),o=pt("selectReplacementVariablesFor",[e],e,"custom_post_type"),i=pt("selectRecommendedReplacementVariablesFor",[e],e,"custom_post_type"),c=pt("selectArticleTypeValuesFor",[e],e),d=pt("selectPageTypeValuesFor",[e],e),u=pt("selectLink",[],"https://yoa.st/media-pages-thin-content"),p=pt("selectLink",[],"https://yoa.st/show-x"),{values:m}=W(),{"disable-attachment":b,"noindex-attachment":f}=m.wpseo_titles,h=Object(s.useMemo)(()=>Object(s.createInterpolateElement)(Object(tt.sprintf)( /** * translators: %1$s and %2$s are replaced by opening and closing tags. * %3$s expands to "media". * %4$s expand to "Yoast SEO". * %5$s expand to "WordPress". */ Object(tt.__)("When you upload media (e.g. an image or video), %5$s automatically creates a %3$s page (attachment URL) for it. These pages are quite empty and could cause %1$sthin content problems and lead to excess pages on your site%2$s. Therefore, %4$s disables them by default (and redirects the attachment URL to the media itself).","wordpress-seo"),"","",n,"Yoast SEO","WordPress"),{a:Object(s.createElement)("a",{href:u,target:"_blank",rel:"noopener noreferrer"})}));return Object(s.createElement)(Er,{title:Object(tt.sprintf)(// translators: %1$s expands to "Media". Object(tt.__)("%1$s pages","wordpress-seo"),t),description:h},Object(s.createElement)(wt,null,Object(s.createElement)("div",{className:"yst-max-w-5xl"},Object(s.createElement)("fieldset",{className:"yst-min-width-0 yst-space-y-8"},Object(s.createElement)(jt,{name:"wpseo_titles.disable-"+e,id:"input-wpseo_titles-disable-"+e,label:Object(tt.sprintf)(// translators: %1$s expands to "media". Object(tt.__)("Enable %1$s pages","wordpress-seo"),n),description:Object(tt.sprintf)(// translators: %1$s expands to "media". Object(tt.__)("We recommend keeping %1$s pages disabled. This will cause all attachment URLs to be redirected to the media itself.","wordpress-seo"),n),className:"yst-max-w-sm"})),Object(s.createElement)("hr",{className:"yst-my-8"}),Object(s.createElement)(bt,{title:Object(tt.__)("Search appearance","wordpress-seo"),description:Object(tt.sprintf)( // translators: %1$s expands to "media". %3$s expands to "Yoast SEO". Object(tt.__)("Determine how your %1$s pages should look in search engines. You can always customize the settings for individual %1$s pages in the %2$s metabox.","wordpress-seo"),n,"Yoast SEO")},Object(s.createElement)(jt,{name:"wpseo_titles.noindex-"+e,id:"input-wpseo_titles-noindex-"+e,label:Object(tt.sprintf)(// translators: %1$s expands to "media". Object(tt.__)("Show %1$s pages in search results","wordpress-seo"),n),description:Object(s.createElement)(s.Fragment,null,Object(tt.sprintf)(// translators: %1$s expands to "media". Object(tt.__)("Disabling this means that %1$s pages created by WordPress will not be indexed by search engines and will be excluded from XML sitemaps.","wordpress-seo"),n),Object(s.createElement)("br",null),Object(s.createElement)(l.Link,{href:p,target:"_blank",rel:"noopener"},Object(tt.__)("Read more about the search results settings","wordpress-seo")),"."),disabled:b,checked:!b&&!f,className:"yst-max-w-sm"}),Object(s.createElement)(Ft,{type:"title",name:"wpseo_titles.title-"+e,fieldId:"input-wpseo_titles-title-"+e,label:Object(tt.__)("SEO title","wordpress-seo"),replacementVariables:o,recommendedReplacementVariables:i,disabled:b}),Object(s.createElement)(Ft,{type:"description",name:"wpseo_titles.metadesc-"+e,fieldId:"input-wpseo_titles-metadesc-"+e,label:Object(tt.__)("Meta description","wordpress-seo"),replacementVariables:o,recommendedReplacementVariables:i,disabled:b,className:"yst-replacevar--description"})),Object(s.createElement)("hr",{className:"yst-my-8"}),Object(s.createElement)(bt,{title:Object(tt.__)("Schema","wordpress-seo"),description:Object(tt.sprintf)( // translators: %1$s expands to "media". %3$s expands to "Yoast SEO". Object(tt.__)("Determine how your %1$s pages should be described by default in your site's Schema.org markup. You can always customize the settings for individual %1$s pages in the %2$s metabox.","wordpress-seo"),n,"Yoast SEO")},Object(s.createElement)(Wt,{as:l.SelectField,type:"select",name:"wpseo_titles.schema-page-type-"+e,id:"input-wpseo_titles-schema-page-type-"+e,label:Object(tt.__)("Page type","wordpress-seo"),options:d,disabled:b,className:"yst-max-w-sm"}),r&&Object(s.createElement)("div",null,Object(s.createElement)(Wt,{as:l.SelectField,type:"select",name:"wpseo_titles.schema-article-type-"+e,id:"input-wpseo_titles-schema-article-type-"+e,label:Object(tt.__)("Article type","wordpress-seo"),options:c,disabled:b,className:"yst-max-w-sm"}),Object(s.createElement)(er,{name:e,disabled:b}))),Object(s.createElement)("hr",{className:"yst-my-8"}),Object(s.createElement)(bt,{title:Object(tt.__)("Additional settings","wordpress-seo")},Object(s.createElement)(Wt,{as:l.ToggleField,type:"checkbox",name:"wpseo_titles.display-metabox-pt-"+e,id:"input-wpseo_titles-display-metabox-pt-"+e,label:Object(tt.__)("Enable SEO controls and assessments","wordpress-seo"),description:Object(tt.__)("Show or hide our tools and controls in the attachment editor.","wordpress-seo"),disabled:b,className:"yst-max-w-sm"})))))};const Ka=e=>{let{children:t}=e;return Object(s.createElement)(l.Table.Cell,{className:"yst-font-medium"},Object(s.createElement)("span",{className:"yst-text-slate-900"},t))};Ka.propTypes={children:nt.a.node.isRequired};var Qa=()=>Object(s.createElement)(Er,{title:Object(tt.__)("RSS","wordpress-seo")},Object(s.createElement)(wt,null,Object(s.createElement)("div",{className:"yst-max-w-5xl"},Object(s.createElement)(bt,{title:Object(tt.__)("RSS feed","wordpress-seo"),description:Object(tt.__)("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(s.createElement)(ee,{as:l.TextareaField,type:"textarea",rows:4,name:"wpseo_titles.rssbefore",id:"input-wpseo_titles-rssbefore",label:Object(tt.__)("Content to put before each post in the feed","wordpress-seo")}),Object(s.createElement)(ee,{as:l.TextareaField,type:"textarea",rows:4,name:"wpseo_titles.rssafter",id:"input-wpseo_titles-rssafter",label:Object(tt.__)("Content to put after each post in the feed","wordpress-seo")})),Object(s.createElement)("hr",{className:"yst-my-8"}),Object(s.createElement)(bt,{as:"section",title:Object(tt.__)("Available variables","wordpress-seo"),description:Object(tt.__)("You can use the following variables within the content, they will be replaced by the value on the right.","wordpress-seo")},Object(s.createElement)(l.Table,null,Object(s.createElement)(l.Table.Head,null,Object(s.createElement)(l.Table.Row,null,Object(s.createElement)(l.Table.Header,{scope:"col"},Object(tt.__)("Variable","wordpress-seo")),Object(s.createElement)(l.Table.Header,{scope:"col"},Object(tt.__)("Description","wordpress-seo")))),Object(s.createElement)(l.Table.Body,null,Object(s.createElement)(l.Table.Row,null,Object(s.createElement)(Ka,null,"%%AUTHORLINK%%"),Object(s.createElement)(l.Table.Cell,null,Object(tt.__)("A link to the archive for the post author, with the author's name as anchor text.","wordpress-seo"))),Object(s.createElement)(l.Table.Row,null,Object(s.createElement)(Ka,null,"%%POSTLINK%%"),Object(s.createElement)(l.Table.Cell,null,Object(tt.__)("A link to the post, with the title as anchor text.","wordpress-seo"))),Object(s.createElement)(l.Table.Row,null,Object(s.createElement)(Ka,null,"%%BLOGLINK%%"),Object(s.createElement)(l.Table.Cell,null,Object(tt.__)("A link to your site, with your site's name as anchor text.","wordpress-seo"))),Object(s.createElement)(l.Table.Row,null,Object(s.createElement)(Ka,null,"%%BLOGDESCLINK%%"),Object(s.createElement)(l.Table.Cell,null,Object(tt.__)("A link to your site, with your site's name and description as anchor text.","wordpress-seo")))))))));const Ja=Ht(l.ToggleField),Xa=(e=>{const t=t=>{let{name:r,isDummy:a=!1,...n}=t;const o=pt("selectDefaultSettingValue",[r],r);return a?Object(s.createElement)(e,He()({name:r},n,{disabled:!0,value:o,onChange:ie.noop})):Object(s.createElement)(e,He()({name:r},n))};return t.propTypes={name:nt.a.string.isRequired,isDummy:nt.a.bool},t})(zt);var Za=()=>{const e=Object(s.useMemo)(()=>Object(ie.get)(window,"wpseoScriptData.separators",{}),[]),t=pt("selectPreference",[],"generalSettingsUrl"),r=pt("selectPreference",[],"canManageOptions",!1),a=pt("selectPreference",[],"showForceRewriteTitlesSetting",!1),n=pt("selectLink",[],"https://yoa.st/site-basics-replacement-variables"),o=pt("selectLink",[],"https://yoa.st/usage-tracking-2"),i=pt("selectLink",[],"https://yoa.st/site-policies-learn-more"),c=pt("selectPreference",[],"siteTitle",""),d=pt("selectLink",[],"https://yoa.st/site-policies-upsell"),u=pt("selectPreference",[],"isPremium"),p=pt("selectUpsellSettingsAsProps"),{fetchPages:m}=ct(),b=Object(s.useMemo)(()=>Object(s.createInterpolateElement)(Object(tt.sprintf)( /* translators: %1$s expands to an opening tag. %2$s expands to a closing tag. */ Object(tt.__)("Usage tracking allows us to track some data about your site to improve our plugin. %1$sLearn more about which data we track and why%2$s.","wordpress-seo"),"",""),{a:Object(s.createElement)("a",{id:"link-usage-tracking",href:o,target:"_blank",rel:"noopener"})}),[]),f=Object(s.useMemo)(()=>Object(s.createInterpolateElement)(Object(tt.sprintf)( /* translators: %1$s expands to an opening tag. %2$s expands to a closing tag. */ Object(tt.__)("Select the pages on your website which contain information about your organizational and publishing policies. Some of these might not apply to your site, and you can select the same page for multiple policies. %1$sLearn more about why setting your site policies is important%2$s.","wordpress-seo"),"",""),{a:Object(s.createElement)("a",{id:"link-site-policies",href:i,target:"_blank",rel:"noopener"})}),[i]),h=Object(s.useMemo)(()=>Object(s.createInterpolateElement)(Object(tt.sprintf)( /* translators: %1$s and %2$s expand to an opening and closing emphasis tag. %3$s and %4$s expand to an opening and closing anchor tag. */ Object(tt.__)("Set the basic info for your website. You can use %1$stagline%2$s and %1$sseparator%2$s as %3$sreplacement variables%4$s when configuring the search appearance of your content.","wordpress-seo"),"","","",""),{em:Object(s.createElement)("em",null),a:Object(s.createElement)("a",{id:"site-basics-replacement-variables",href:n,target:"_blank",rel:"noopener"})}),[]),y=Object(s.useMemo)(()=>Object(s.createInterpolateElement)(Object(tt.sprintf)( /* translators: %1$s expands to an opening emphasis tag. %2$s expands to a closing emphasis tag. */ Object(tt.__)("We're sorry, you're not allowed to edit the %1$swebsite name%2$s and %1$stagline%2$s.","wordpress-seo"),"",""),{em:Object(s.createElement)("em",null)}),[]),_=Object(s.useMemo)(()=>Object(s.createInterpolateElement)(Object(tt.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(tt.__)("Recommended size for this image is %1$s%3$s%2$s","wordpress-seo"),"","","1200x675px"),{strong:Object(s.createElement)("strong",{className:"yst-font-semibold"})}),[]),w=Object(s.useMemo)(()=>Object(s.createInterpolateElement)(Object(tt.sprintf)( /** * translators: %1$s expands to an opening anchor tag. * %2$s expands to a closing anchor tag. */ Object(tt.__)("This field updates the %1$stagline in your WordPress settings%2$s.","wordpress-seo"),"",""),{a:Object(s.createElement)("a",{href:t+"#blogdescription",target:"_blank",rel:"noopener noreferrer"})}),[]),O=Object(s.useMemo)(()=>Object(s.createInterpolateElement)(Object(tt.sprintf)( /** * translators: %1$s expands to an opening italics tag. * %2$s expands to a closing italics tag. */ Object(tt.__)("Select a page which describes the editorial principles of your organization. %1$sWhat%2$s do you write about, %1$swho%2$s do you write for, and %1$swhy%2$s?","wordpress-seo"),"",""),{i:Object(s.createElement)("i",null)}),[]),j=Object(s.useMemo)(()=>Object(s.createInterpolateElement)(Object(tt.sprintf)( /** * translators: %1$s expands to an opening italics tag. * %2$s expands to a closing italics tag. */ Object(tt.__)("Select a page which describes the ownership structure of your organization. It should include information about %1$sfunding%2$s and %1$sgrants%2$s.","wordpress-seo"),"",""),{i:Object(s.createElement)("i",null)}),[]),g=Object(s.useMemo)(()=>Object(s.createInterpolateElement)(Object(tt.sprintf)( /** * translators: %1$s expands to an opening italics tag. * %2$s expands to a closing italics tag. */ Object(tt.__)("Select a page which describes how your organization collects and responds to %1$sfeedback%2$s, engages with the %1$spublic%2$s, and prioritizes %1$stransparency%2$s.","wordpress-seo"),"",""),{i:Object(s.createElement)("i",null)}),[]),v=Object(s.useMemo)(()=>Object(s.createInterpolateElement)(Object(tt.sprintf)( /** * translators: %1$s expands to an opening italics tag. * %2$s expands to a closing italics tag. */ Object(tt.__)("Select a page which outlines your procedure for addressing %1$serrors%2$s (e.g., publishing retractions or corrections).","wordpress-seo"),"",""),{i:Object(s.createElement)("i",null)}),[]),E=Object(s.useMemo)(()=>Object(s.createInterpolateElement)(Object(tt.sprintf)( /** * translators: %1$s expands to an opening italics tag. * %2$s expands to a closing italics tag. */ Object(tt.__)("Select a page which describes the personal, organizational, and corporate %1$sstandards%2$s of %1$sbehavior%2$s expected by your organization.","wordpress-seo"),"",""),{i:Object(s.createElement)("i",null)}),[]),x=Object(s.useMemo)(()=>Object(s.createInterpolateElement)(Object(tt.sprintf)( /** * translators: %1$s expands to an opening italics tag. * %2$s expands to a closing italics tag. */ Object(tt.__)("Select a page which provides information on your diversity policies for %1$seditorial%2$s content.","wordpress-seo"),"",""),{i:Object(s.createElement)("i",null)}),[]),S=Object(s.useMemo)(()=>Object(s.createInterpolateElement)(Object(tt.sprintf)( /** * translators: %1$s expands to an opening italics tag. * %2$s expands to a closing italics tag. */ Object(tt.__)("Select a page which provides information about your diversity policies for %1$sstaffing%2$s, %1$shiring%2$s and %1$semployment%2$s.","wordpress-seo"),"",""),{i:Object(s.createElement)("i",null)}),[]),{values:k}=W(),{opengraph:F}=k.wpseo_social;return Object(s.useEffect)(()=>{m()},[m]),Object(s.createElement)(Er,{title:Object(tt.__)("Site basics","wordpress-seo"),description:Object(tt.__)("Configure the basics for your website.","wordpress-seo")},Object(s.createElement)(wt,null,Object(s.createElement)("div",{className:"yst-max-w-5xl"},Object(s.createElement)(bt,{title:Object(tt.__)("Site info","wordpress-seo"),description:h},!r&&Object(s.createElement)(l.Alert,{variant:"warning",id:"alert-site-defaults-variables",className:"yst-mb-8"},y),Object(s.createElement)("div",{className:"lg:yst-mt-0 lg:yst-col-span-2 yst-space-y-8"},Object(s.createElement)(Kt,{as:l.TextField,name:"wpseo_titles.website_name",id:"input-wpseo_titles-website_name",label:Object(tt.__)("Website name","wordpress-seo"),placeholder:c}),Object(s.createElement)(Kt,{as:l.TextField,name:"wpseo_titles.alternate_website_name",id:"input-wpseo_titles-alternate_website_name",label:Object(tt.__)("Alternate website name","wordpress-seo"),description:Object(tt.__)("Use the alternate website name for acronyms, or a shorter version of your website's name.","wordpress-seo")}),Object(s.createElement)(ee,{as:l.TextField,type:"text",name:"blogdescription",id:"input-blogdescription",label:Object(tt.__)("Tagline","wordpress-seo"),description:r&&w,readOnly:!r})),Object(s.createElement)(l.RadioGroup,{label:Object(tt.__)("Title separator","wordpress-seo"),variant:"inline-block"},Object(ie.map)(e,(e,t)=>{let{label:r,aria_label:a}=e;return Object(s.createElement)(ee,{key:t,as:l.Radio,type:"radio",variant:"inline-block",name:"wpseo_titles.separator",id:"input-wpseo_titles-separator-"+t,label:r,isLabelDangerousHtml:!0,"aria-label":a,value:t})})),Object(s.createElement)(rr,{isEnabled:F,text: /* translators: %1$s expands to an opening emphasis tag. %2$s expands to a closing emphasis tag. */ Object(tt.__)("The %1$sSite image%2$s requires Open Graph data, which is currently disabled in the ‘Social sharing’ section in %3$sSite features%4$s.","wordpress-seo")}),Object(s.createElement)(xt,{id:"wpseo_social-og_default_image",label:Object(tt.__)("Site image","wordpress-seo"),description:Object(tt.__)("This image is used as a fallback for posts/pages that don't have any images set.","wordpress-seo"),previewLabel:_,mediaUrlName:"wpseo_social.og_default_image",mediaIdName:"wpseo_social.og_default_image_id",disabled:!F})),Object(s.createElement)("hr",{className:"yst-my-8"}),Object(s.createElement)(bt,{title:Object(tt.__)("Site preferences","wordpress-seo")},a&&Object(s.createElement)(Wt,{as:l.ToggleField,type:"checkbox",name:"wpseo_titles.forcerewritetitle",id:"input-wpseo_titles-forcerewritetitle",label:Object(tt.__)("Force rewrite titles","wordpress-seo"),description:Object(tt.sprintf)( /* translators: %1$s expands to "Yoast SEO" */ Object(tt.__)("%1$s has auto-detected whether it needs to force rewrite the titles for your pages, if you think it's wrong and you know what you're doing, you can change the setting here.","wordpress-seo"),"Yoast SEO"),className:"yst-max-w-sm"}),Object(s.createElement)(Wt,{as:l.ToggleField,type:"checkbox",name:"wpseo.disableadvanced_meta",id:"input-wpseo-disableadvanced_meta",label:Object(tt.__)("Restrict advanced settings for authors","wordpress-seo"),description:Object(tt.sprintf)( /* translators: %1$s expands to "Yoast SEO" */ Object(tt.__)("By default only editors and administrators can access the Advanced and Schema section of the %1$s sidebar or metabox. Disabling this allows access to all users.","wordpress-seo"),"Yoast SEO"),className:"yst-max-w-sm"}),Object(s.createElement)(Wt,{as:Ja,type:"checkbox",name:"wpseo.tracking",id:"input-wpseo-tracking",label:Object(tt.__)("Usage tracking","wordpress-seo"),description:b,className:"yst-max-w-sm"})),Object(s.createElement)("hr",{className:"yst-my-8"}),Object(s.createElement)(bt,{title:Object(tt.__)("Site policies","wordpress-seo"),description:f},Object(s.createElement)(l.FeatureUpsell,He()({shouldUpsell:!u,variant:"card",cardLink:d,cardText:Object(tt.sprintf)( /* translators: %1$s expands to Premium. */ Object(tt.__)("Unlock with %1$s","wordpress-seo"),"Premium")},p),Object(s.createElement)(Xa,{name:"wpseo_titles.publishing_principles_id",id:"input-wpseo_titles-publishing_principles_id",label:Object(tt.__)("Publishing principles","wordpress-seo"),className:"yst-max-w-sm",description:O,isDummy:!u}),Object(s.createElement)(Xa,{name:"wpseo_titles.ownership_funding_info_id",id:"input-wpseo_titles-ownership_funding_info_id",label:Object(tt.__)("Ownership / Funding info","wordpress-seo"),className:"yst-max-w-sm",description:j,isDummy:!u}),Object(s.createElement)(Xa,{name:"wpseo_titles.actionable_feedback_policy_id",id:"input-wpseo_titles-actionable_feedback_policy_id",label:Object(tt.__)("Actionable feedback policy","wordpress-seo"),className:"yst-max-w-sm",description:g,isDummy:!u}),Object(s.createElement)(Xa,{name:"wpseo_titles.corrections_policy_id",id:"input-wpseo_titles-corrections_policy_id",label:Object(tt.__)("Corrections policy","wordpress-seo"),className:"yst-max-w-sm",description:v,isDummy:!u}),Object(s.createElement)(Xa,{name:"wpseo_titles.ethics_policy_id",id:"input-wpseo_titles-ethics_policy_id",label:Object(tt.__)("Ethics policy","wordpress-seo"),className:"yst-max-w-sm",description:E,isDummy:!u}),Object(s.createElement)(Xa,{name:"wpseo_titles.diversity_policy_id",id:"input-wpseo_titles-diversity_policy_id",label:Object(tt.__)("Diversity policy","wordpress-seo"),className:"yst-max-w-sm",description:x,isDummy:!u}),Object(s.createElement)(Xa,{name:"wpseo_titles.diversity_staffing_report_id",id:"input-wpseo_titles-diversity_staffing_report_id",label:Object(tt.__)("Diversity staffing report","wordpress-seo"),className:"yst-max-w-sm",description:S,isDummy:!u}))))))},en=r(132),tn=r(273);const rn=e=>{let{name:t,cardId:r,inputId:a,children:n,imageSrc:o,imageAlt:i,isPremiumFeature:c=!1,isPremiumLink:d="",isBetaFeature:u=!1,isNewFeature:p=!1,hasPremiumBadge:m=!1,title:b}=e;const f=pt("selectPreference",[],"isPremium"),h=pt("selectPluginUrl",[o],o),{isDisabled:y,message:_,disabledSetting:w}=it({name:t}),{values:O}=W(),j=pt("selectLink",[d],d),g=pt("selectUpsellSettingsAsProps"),v=Object(l.useSvgAria)(),E=Object(s.useMemo)(()=>Object(ie.get)(O,t,!1),[O,t]),x=Object(s.useMemo)(()=>!f&&c,[f,c]),S=Object(s.useMemo)(()=>y||!x&&!E,[y,x,E]),k=Object(s.useMemo)(()=>y||f&&c&&m||u||p&&!f,[y,f,c,u,p]);return Object(s.createElement)(l.Card,{id:r},Object(s.createElement)(l.Card.Header,{className:"yst-h-auto yst-p-0"},Object(s.createElement)("img",{className:st()("yst-w-full yst-transition yst-duration-200",S&&"yst-opacity-50 yst-filter yst-grayscale"),src:h,alt:null!=i?i:"",width:500,height:250,loading:"lazy",decoding:"async"}),k&&Object(s.createElement)("div",{className:"yst-absolute yst-top-2 yst-right-2 yst-flex yst-gap-1.5"},y&&Object(s.createElement)(l.Badge,{size:"small",variant:"plain"},_),f&&c&&m&&Object(s.createElement)(l.Badge,{size:"small",variant:"upsell"},"Premium"),u&&Object(s.createElement)(l.Badge,{size:"small",variant:"info"},"Beta"),p&&!f&&Object(s.createElement)(l.Badge,{size:"small",variant:"info"},"New"))),Object(s.createElement)(l.Card.Content,{className:"yst-flex yst-flex-col yst-gap-3"},Object(s.createElement)(l.Title,{as:"h3"},b),n),Object(s.createElement)(l.Card.Footer,null,!x&&Object(s.createElement)(Wt,{as:l.ToggleField,type:"checkbox",name:t,id:a,"aria-label":`${Object(tt.__)("Enable feature","wordpress-seo")} ${b}`,label:Object(tt.__)("Enable feature","wordpress-seo"),disabled:y,checked:"language"!==w&&E}),x&&Object(s.createElement)(l.Button,He()({as:"a",className:"yst-gap-2 yst-w-full yst-px-2",variant:"upsell",href:j,target:"_blank",rel:"noopener"},g),Object(s.createElement)(en.a,He()({className:"yst-w-5 yst-h-5 yst--ml-1 yst-shrink-0"},v)),Object(tt.sprintf)( /* translators: %1$s expands to Premium. */ Object(tt.__)("Unlock with %1$s","wordpress-seo"),"Premium"))))};rn.propTypes={name:nt.a.string.isRequired,cardId:nt.a.string.isRequired,inputId:nt.a.string.isRequired,children:nt.a.node.isRequired,imageSrc:nt.a.string.isRequired,imageAlt:nt.a.string,isPremiumFeature:nt.a.bool,isBetaFeature:nt.a.bool,isNewFeature:nt.a.bool,isPremiumLink:nt.a.string,hasPremiumBadge:nt.a.bool,title:nt.a.string.isRequired};const sn=e=>{let{id:t,link:r,ariaLabel:a,...n}=e;const o=pt("selectLink",[r],r);return Object(s.createElement)(l.Link,He()({id:t,href:o,variant:"primary",className:"yst-flex yst-items-center yst-gap-1 yst-no-underline yst-font-medium",target:"_blank",rel:"noopener","aria-label":`Learn more about ${a} (Opens in a new browser tab)`},n),Object(tt.__)("Learn more","wordpress-seo"),Object(s.createElement)(Xe.a,{className:"yst-w-4 yst-h-4 yst-icon-rtl"}))};sn.propTypes={id:nt.a.string.isRequired,link:nt.a.string.isRequired,ariaLabel:nt.a.string.isRequired};var an=()=>{const e=pt("selectPreference",[],"isPremium"),t=pt("selectPreference",[],"sitemapUrl"),{values:r,initialValues:a}=W(),{enable_xml_sitemap:n}=r.wpseo,{enable_xml_sitemap:o}=a.wpseo,i=Object(s.useMemo)(()=>e?"yst-grid yst-gap-6 yst-grid-cols-1 sm:yst-grid-cols-2 min-[783px]:yst-grid-cols-1 lg:yst-grid-cols-2 xl:yst-grid-cols-3 2xl:yst-grid-cols-4":"yst-grid yst-gap-6 yst-grid-cols-1 sm:yst-grid-cols-2 min-[783px]:yst-grid-cols-1 lg:yst-grid-cols-2 2xl:yst-grid-cols-3 min-[1800px]:yst-grid-cols-4",[e]);return Object(s.createElement)(Er,{title:Object(tt.__)("Site features","wordpress-seo"),description:Object(tt.__)("Tell us which features you want to use.","wordpress-seo")},Object(s.createElement)(wt,null,Object(s.createElement)("div",{className:"yst-max-w-6xl"},Object(s.createElement)("fieldset",{className:"yst-min-w-0"},Object(s.createElement)("legend",{className:"yst-sr-only"},Object(tt.__)("Writing","wordpress-seo")),Object(s.createElement)("div",{className:"yst-max-w-screen-sm yst-mb-8"},Object(s.createElement)(l.Title,{as:"h2",size:"2"},Object(tt.__)("Writing","wordpress-seo"))),Object(s.createElement)("div",{className:i},Object(s.createElement)(rn,{name:"wpseo.keyword_analysis_active",cardId:"card-wpseo-keyword_analysis_active",inputId:"input-wpseo-keyword_analysis_active",imageSrc:"/images/seo_analysis.png",title:Object(tt.__)("SEO analysis","wordpress-seo")},Object(s.createElement)("p",null,Object(tt.__)("The SEO analysis offers suggestions to improve the findability of your text and makes sure that your content meets best practices.","wordpress-seo")),Object(s.createElement)(sn,{id:"link-seo-analysis",link:"https://yoa.st/2ak",ariaLabel:Object(tt.__)("SEO analysis","wordpress-seo")})),Object(s.createElement)(rn,{name:"wpseo.content_analysis_active",cardId:"card-wpseo-content_analysis_active",inputId:"input-wpseo-content_analysis_active",imageSrc:"/images/readability_analysis.png",title:Object(tt.__)("Readability analysis","wordpress-seo")},Object(s.createElement)("p",null,Object(tt.__)("The readability analysis offers suggestions to improve the structure and style of your text.","wordpress-seo")),Object(s.createElement)(sn,{id:"link-readability-analysis",link:"https://yoa.st/2ao",ariaLabel:Object(tt.__)("Readability analysis","wordpress-seo")})),Object(s.createElement)(rn,{name:"wpseo.inclusive_language_analysis_active",cardId:"card-wpseo-inclusive_language_analysis_active",inputId:"input-wpseo-inclusive_language_analysis_active",imageSrc:"/images/inclusive_language_analysis.png",title:Object(tt.__)("Inclusive language analysis","wordpress-seo")},Object(s.createElement)("p",null,Object(tt.__)("The inclusive language analysis offers suggestions to write more inclusive copy, so more people will be able to relate to your content.","wordpress-seo")),Object(s.createElement)(sn,{id:"link-inclusive-language-analysis",link:"https://yoa.st/inclusive-language-feature-learn-more",ariaLabel:Object(tt.__)("Inclusive language analysis","wordpress-seo")})),Object(s.createElement)(rn,{name:"wpseo.enable_ai_generator",cardId:"card-wpseo-enable_ai_generator",inputId:"input-wpseo-enable_ai_generator",imageSrc:"/images/ai-generator.png",isPremiumFeature:!0,hasPremiumBadge:!1,isBetaFeature:!0,isPremiumLink:"https://yoa.st/get-ai-generator",title:Object(tt.__)("AI title & description generator","wordpress-seo")},Object(s.createElement)("p",null,Object(tt.__)("Use the power of Yoast AI to automatically generate compelling titles and descriptions for your posts and pages.","wordpress-seo")),Object(s.createElement)(sn,{id:"link-ai-generator",link:"https://yoa.st/ai-generator-feature",ariaLabel:Object(tt.__)("AI title & description generator","wordpress-seo")})),Object(s.createElement)(rn,{name:"wpseo.enable_metabox_insights",cardId:"card-wpseo-enable_metabox_insights",inputId:"input-wpseo-enable_metabox_insights",imageSrc:"/images/insights.png",title:Object(tt.__)("Insights","wordpress-seo")},Object(s.createElement)("p",null,Object(tt.__)("Get more insights into what you are writing. What words do you use most often? How much time does it take to read your text? Is your text easy to read?","wordpress-seo")),Object(s.createElement)(sn,{id:"link-insights",link:"https://yoa.st/4ew",ariaLabel:Object(tt.__)("Insights","wordpress-seo")})))),Object(s.createElement)("hr",{className:"yst-my-8"}),Object(s.createElement)("fieldset",{className:"yst-min-w-0"},Object(s.createElement)("legend",{className:"yst-sr-only"},Object(tt.__)("Site structure","wordpress-seo")),Object(s.createElement)("div",{className:"yst-max-w-screen-sm yst-mb-8"},Object(s.createElement)(l.Title,{as:"h2",size:"2"},Object(tt.__)("Site structure","wordpress-seo"))),Object(s.createElement)("div",{className:i},Object(s.createElement)(rn,{name:"wpseo.enable_cornerstone_content",cardId:"card-wpseo-enable_cornerstone_content",inputId:"input-wpseo-enable_cornerstone_content",imageSrc:"/images/cornerstone_content.png",title:Object(tt.__)("Cornerstone content","wordpress-seo")},Object(s.createElement)("p",null,Object(tt.__)("Mark and filter your cornerstone content to make sure your most important articles get the attention they deserve. To help you write excellent copy, we’ll assess your text more strictly.","wordpress-seo")),Object(s.createElement)(sn,{id:"link-cornerstone-content",link:"https://yoa.st/dashboard-help-cornerstone",ariaLabel:Object(tt.__)("Cornerstone content","wordpress-seo")})),Object(s.createElement)(rn,{name:"wpseo.enable_text_link_counter",cardId:"card-wpseo-enable_text_link_counter",inputId:"input-wpseo-enable_text_link_counter",imageSrc:"/images/text_link_counter.png",title:Object(tt.__)("Text link counter","wordpress-seo")},Object(s.createElement)("p",null,Object(tt.__)("Count the number of internal links from and to your posts to improve your site structure.","wordpress-seo")),Object(s.createElement)(sn,{id:"link-text-link-counter",link:"https://yoa.st/2aj",ariaLabel:Object(tt.__)("Text link counter","wordpress-seo")})),Object(s.createElement)(rn,{name:"wpseo.enable_link_suggestions",cardId:"card-wpseo-enable_link_suggestions",inputId:"input-wpseo-enable_link_suggestions",imageSrc:"/images/link_suggestions.png",isPremiumFeature:!0,hasPremiumBadge:!0,isPremiumLink:"https://yoa.st/get-link-suggestions",title:Object(tt.__)("Link suggestions","wordpress-seo")},Object(s.createElement)("p",null,Object(tt.__)("Get recommendations for relevant posts to link to and set up a great internal linking structure by connecting related content.","wordpress-seo")),Object(s.createElement)(sn,{id:"link-suggestions-link",link:e?"https://yoa.st/17g":"https://yoa.st/4ev",ariaLabel:Object(tt.__)("Link suggestions","wordpress-seo")})))),Object(s.createElement)("hr",{className:"yst-my-8"}),Object(s.createElement)("fieldset",{id:"section-social-sharing",className:"yst-min-w-0"},Object(s.createElement)("legend",{className:"yst-sr-only"},Object(tt.__)("Social sharing","wordpress-seo")),Object(s.createElement)("div",{className:"yst-max-w-screen-sm yst-mb-8"},Object(s.createElement)(l.Title,{as:"h2",size:"2",className:"yst-mb-2"},Object(tt.__)("Social sharing","wordpress-seo"))),Object(s.createElement)("div",{className:i},Object(s.createElement)(rn,{name:"wpseo_social.opengraph",cardId:"card-wpseo_social-opengraph",inputId:"input-wpseo_social-opengraph",imageSrc:"/images/open_graph.png",title:Object(tt.__)("Open Graph data","wordpress-seo")},Object(s.createElement)("p",null,Object(tt.__)("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. Keep this feature enabled to optimize your site for social media.","wordpress-seo")),Object(s.createElement)(sn,{id:"link-open-graph-data",link:"https://yoa.st/site-features-open-graph-data",ariaLabel:Object(tt.__)("Open Graph data","wordpress-seo")})),Object(s.createElement)(rn,{name:"wpseo_social.twitter",cardId:"card-wpseo_social-twitter",inputId:"input-wpseo_social-twitter",imageSrc:"/images/twitter_card.png",title:Object(tt.__)("Twitter card data","wordpress-seo")},Object(s.createElement)("p",null,Object(tt.__)("Allows for Twitter to display a preview with images and a text excerpt when a link to your site is shared.","wordpress-seo")),Object(s.createElement)(sn,{id:"link-twitter-card-data",link:"https://yoa.st/site-features-twitter-card-data",ariaLabel:Object(tt.__)("Twitter card data","wordpress-seo")})),Object(s.createElement)(rn,{name:"wpseo.enable_enhanced_slack_sharing",cardId:"card-wpseo-enable_enhanced_slack_sharing",inputId:"input-wpseo-enable_enhanced_slack_sharing",imageSrc:"/images/slack_sharing.png",title:Object(tt.__)("Slack sharing","wordpress-seo")},Object(s.createElement)("p",null,Object(tt.__)("This adds an author byline and reading time estimate to the article’s snippet when shared on Slack.","wordpress-seo")),Object(s.createElement)(sn,{id:"link-slack-sharing",link:"https://yoa.st/help-slack-share",ariaLabel:Object(tt.__)("Slack sharing","wordpress-seo")})))),Object(s.createElement)("hr",{className:"yst-my-8"}),Object(s.createElement)("fieldset",{className:"yst-min-w-0"},Object(s.createElement)("legend",{className:"yst-sr-only"},Object(tt.__)("Tools","wordpress-seo")),Object(s.createElement)("div",{className:"yst-max-w-screen-sm yst-mb-8"},Object(s.createElement)(l.Title,{as:"h2",size:"2"},Object(tt.__)("Tools","wordpress-seo"))),Object(s.createElement)("div",{className:i},Object(s.createElement)(rn,{name:"wpseo.enable_admin_bar_menu",cardId:"card-wpseo-enable_admin_bar_menu",inputId:"input-wpseo-enable_admin_bar_menu",imageSrc:"/images/admin_bar.png",title:Object(tt.__)("Admin bar menu","wordpress-seo")},Object(s.createElement)("p",null,Object(tt.sprintf)(// translators: %1$s expands to Yoast. Object(tt.__)("The %1$s icon in the top admin bar provides quick access to third-party tools for analyzing pages and makes it easy to see if you have new notifications.","wordpress-seo"),"Yoast")),Object(s.createElement)(sn,{id:"link-admin-bar",link:"https://yoa.st/site-features-admin-bar",ariaLabel:Object(tt.__)("Admin bar menu","wordpress-seo")})))),Object(s.createElement)("hr",{className:"yst-my-8"}),Object(s.createElement)("fieldset",{className:"yst-min-w-0"},Object(s.createElement)("legend",{className:"yst-sr-only"},Object(tt.__)("APIs","wordpress-seo")),Object(s.createElement)("div",{className:"yst-max-w-screen-sm yst-mb-8"},Object(s.createElement)(l.Title,{as:"h2",size:"2"},Object(tt.__)("APIs","wordpress-seo"))),Object(s.createElement)("div",{className:i},Object(s.createElement)(rn,{name:"wpseo.enable_headless_rest_endpoints",cardId:"card-wpseo-enable_headless_rest_endpoints",inputId:"input-wpseo-enable_headless_rest_endpoints",imageSrc:"/images/rest_api.png",title:Object(tt.__)("REST API endpoint","wordpress-seo")},Object(s.createElement)("p",null,Object(tt.__)("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(s.createElement)(sn,{id:"link-rest-api-endpoint",link:"https://yoa.st/site-features-rest-api-endpoint",ariaLabel:Object(tt.__)("REST API endpoint","wordpress-seo")})),Object(s.createElement)(rn,{name:"wpseo.enable_xml_sitemap",cardId:"card-wpseo-enable_xml_sitemap",inputId:"input-wpseo-enable_xml_sitemap",imageSrc:"/images/xml_sitemaps.png",title:Object(tt.__)("XML sitemaps","wordpress-seo")},Object(s.createElement)("p",null,Object(tt.sprintf)(// translators: %1$s expands to "Yoast SEO". Object(tt.__)("Enable the %1$s XML sitemaps. A sitemap is a file that lists a website's essential pages to make sure search engines can find and crawl them.","wordpress-seo"),"Yoast SEO")),o&&n&&Object(s.createElement)(l.Button,{as:"a",id:"link-xml-sitemaps",href:t,variant:"secondary",target:"_blank",rel:"noopener",className:"yst-self-start"},Object(tt.__)("View the XML sitemap","wordpress-seo"),Object(s.createElement)(tn.a,{className:"yst--mr-1 yst-ml-1 yst-h-5 yst-w-5 yst-text-slate-400"})),Object(s.createElement)(sn,{id:"link-xml-sitemaps-learn-more",link:"https://yoa.st/2a-",ariaLabel:Object(tt.__)("XML sitemaps","wordpress-seo")})),Object(s.createElement)(rn,{name:"wpseo.enable_index_now",cardId:"card-wpseo-enable_index_now",inputId:"input-wpseo-enable_index_now",imageSrc:"/images/indexnow.png",isPremiumFeature:!0,hasPremiumBadge:!0,isPremiumLink:"https://yoa.st/get-indexnow",title:Object(tt.__)("IndexNow","wordpress-seo")},Object(s.createElement)("p",null,Object(tt.__)("Automatically ping search engines like Bing and Yandex whenever you publish, update or delete a post.","wordpress-seo")),Object(s.createElement)(sn,{id:"link-index-now",link:"https://yoa.st/index-now-feature",ariaLabel:Object(tt.__)("IndexNow","wordpress-seo")})))))))},nn=r(258),on=r(259);const ln=Gt(Kt);var cn=()=>{const{values:e}=W(),{website_name:t,company_or_person:r,company_or_person_user_id:a,company_name:n,company_logo_id:o}=e.wpseo_titles,{other_social_urls:i}=e.wpseo_social,c=pt("selectUserById",[a],a),d=pt("selectLink",[],"https://yoa.st/1-p"),u=pt("selectLink",[],"https://yoa.st/3r3"),p=pt("selectLink",[],"https://yoa.st/site-representation-organization-person"),m=pt("selectPreference",[],"editUserUrl"),b=pt("selectPreference",[],"isLocalSeoActive"),f=pt("selectPreference",[],"companyOrPersonMessage"),h=pt("selectFallback",[],"siteLogoId"),y=pt("selectCanEditUser",[null==c?void 0:c.id],null==c?void 0:c.id),_=pt("selectPreference",[],"isPremium"),w=pt("selectUpsellSettingsAsProps"),O=pt("selectLink",[],"https://yoa.st/get-mastodon-integration"),j=pt("selectLink",[],"https://yoa.st/site-representation-mastodon"),g=Object(s.useCallback)(async e=>{var t;await e.push(""),null===(t=document.getElementById("input-wpseo_social-other_social_urls-"+i.length))||void 0===t||t.focus()},[i]);return Object(s.createElement)(Er,{title:Object(tt.__)("Site representation","wordpress-seo"),description:Object(ka.a)(Object(tt.sprintf)(// translators: %1$s and %2$s are replaced by opening and closing tags. Object(tt.__)("This info is intended to appear in %1$sGoogle's Knowledge Graph%2$s.","wordpress-seo"),"",""),d,"link-google-knowledge-graph")},Object(s.createElement)(wt,null,Object(s.createElement)("div",{className:"yst-max-w-5xl"},Object(s.createElement)(bt,{title:Object(tt.__)("Organization/person","wordpress-seo"),description:Object(ka.a)(Object(tt.sprintf)(// translators: %1$s and %2$s are replaced by opening and closing tags. Object(tt.__)("Choose whether your site represents an organization or a person. %1$sLearn more about the differences and choosing between Organization and Person%2$s.","wordpress-seo"),"",""),p,"link-site-representation-organization-person")},b&&Object(s.createElement)(l.Alert,{id:"alert-local-seo-company-or-person",variant:"info"},f),Object(s.createElement)(l.RadioGroup,{disabled:b},Object(s.createElement)(ee,{as:l.Radio,type:"radio",name:"wpseo_titles.company_or_person",id:"input-wpseo_titles-company_or_person-company",label:Object(tt.__)("Organization","wordpress-seo"),value:"company",disabled:b}),Object(s.createElement)(ee,{as:l.Radio,type:"radio",name:"wpseo_titles.company_or_person",id:"input-wpseo_titles-company_or_person-person",label:Object(tt.__)("Person","wordpress-seo"),value:"person",disabled:b}))),Object(s.createElement)("section",{className:"yst-space-y-8"}),Object(s.createElement)("hr",{className:"yst-my-8"}),Object(s.createElement)("div",{className:"yst-relative"},Object(s.createElement)(yt.a,{easing:"ease-out",duration:300,delay:300,height:"company"===r?"auto":0,animateOpacity:!0},Object(s.createElement)(bt,{title:Object(tt.__)("Organization","wordpress-seo"),description:Object(tt.__)("Please tell us more about your organization. This information will help Google to understand your website, and improve your chance of getting rich results.","wordpress-seo")},(!n||o<1)&&Object(s.createElement)(l.Alert,{id:"alert-organization-name-logo",variant:"info"},Object(ka.a)(Object(tt.sprintf)(// translators: %1$s and %2$s are replaced by opening and closing tags. Object(tt.__)("An organization name and logo need to be set for structured data to work properly. Since you haven’t set these yet, we are using the site name and logo as default values. %1$sLearn more about the importance of structured data%2$s.","wordpress-seo"),"",""),u,"link-structured-data")),Object(s.createElement)(ee,{as:l.TextField,name:"wpseo_titles.company_name",id:"input-wpseo_titles-company_name",label:Object(tt.__)("Organization name","wordpress-seo"),placeholder:t}),Object(s.createElement)(ee,{as:l.TextField,name:"wpseo_titles.company_alternate_name",id:"input-wpseo_titles-company_alternate_name",label:Object(tt.__)("Alternate organization name","wordpress-seo"),description:Object(tt.__)("Use the alternate organization name for acronyms, or a shorter version of your organization's name.","wordpress-seo")}),Object(s.createElement)(xt,{id:"wpseo_titles-company_logo",label:Object(tt.__)("Organization logo","wordpress-seo"),variant:"square",previewLabel:Object(s.createInterpolateElement)(Object(tt.sprintf)(// translators: %1$s expands to an opening strong tag. Object(tt.__)("Recommended size for this image is %1$s%3$s%2$s","wordpress-seo"),"","","696x696px"),{strong:Object(s.createElement)("strong",{className:"yst-font-semibold"})}),mediaUrlName:"wpseo_titles.company_logo",mediaIdName:"wpseo_titles.company_logo_id",fallbackMediaId:h})),Object(s.createElement)("hr",{className:"yst-my-8"}),Object(s.createElement)(bt,{id:"fieldset-wpseo_social-other_social_urls",title:Object(tt.__)("Other profiles","wordpress-seo"),description:Object(tt.__)("Tell us if you have any other profiles on the web that belong to your organization. This can be any number of profiles, like YouTube, LinkedIn, Pinterest, or even Wikipedia.","wordpress-seo")},Object(s.createElement)(Kt,{as:l.TextField,name:"wpseo_social.facebook_site",id:"input-wpseo_social-facebook_site",label:Object(tt.__)("Facebook","wordpress-seo"),placeholder:Object(tt.__)("E.g. https://facebook.com/yoast","wordpress-seo")}),Object(s.createElement)(Kt,{as:l.TextField,name:"wpseo_social.twitter_site",id:"input-wpseo_social-twitter_site",label:Object(tt.__)("Twitter","wordpress-seo"),placeholder:Object(tt.__)("E.g. https://twitter.com/yoast","wordpress-seo")}),Object(s.createElement)(l.FeatureUpsell,He()({shouldUpsell:!_,variant:"card",cardLink:O,cardText:Object(tt.sprintf)( /* translators: %1$s expands to Premium. */ Object(tt.__)("Unlock with %1$s","wordpress-seo"),"Premium")},w),Object(s.createElement)(ln,{as:l.TextField,name:"wpseo_social.mastodon_url",id:"input-wpseo_social-mastodon_url",label:Object(tt.__)("Mastodon","wordpress-seo"),placeholder:Object(tt.__)("E.g. https://mastodon.social/@yoast","wordpress-seo"),labelSuffix:_&&Object(s.createElement)(l.Badge,{className:"yst-ml-1.5",size:"small",variant:"upsell"},"Premium"),isDummy:!_,description:Object(s.createElement)(s.Fragment,null,Object(tt.__)("Get your site verified in your Mastodon profile.","wordpress-seo")," ",Object(s.createElement)(l.Link,{id:"link-wpseo_social-mastodon_url",href:j,target:"_blank",rel:"noopener"},Object(tt.__)("Read more about how to get your site verified.","wordpress-seo")))})),Object(s.createElement)(oe,{name:"wpseo_social.other_social_urls"},e=>Object(s.createElement)(s.Fragment,null,i.map((t,r)=>Object(s.createElement)(Ge.a,{key:"wpseo_social.other_social_urls."+r,as:s.Fragment,appear:!0,show:!0,enter:"yst-transition yst-ease-out yst-duration-300",enterFrom:"yst-transform yst-opacity-0",enterTo:"yst-transform yst-opacity-100",leave:"yst-transition yst-ease-out yst-duration-300",leaveFrom:"yst-transform yst-opacity-100",leaveTo:"yst-transform yst-opacity-0"},Object(s.createElement)("div",{className:"yst-w-full yst-flex yst-items-start yst-gap-2"},Object(s.createElement)(Kt,{as:l.TextField,name:"wpseo_social.other_social_urls."+r,id:"input-wpseo_social-other_social_urls-"+r,label:Object(tt.sprintf)(Object(tt.__)("Other profile %1$s","wordpress-seo"),r+1),placeholder:Object(tt.__)("E.g. https://example.com/yoast","wordpress-seo"),className:"yst-grow"}),Object(s.createElement)(l.Button,{variant:"secondary",onClick:e.remove.bind(null,r),className:"yst-mt-7 yst-p-2.5","aria-label":Object(tt.sprintf)(Object(tt.__)("Remove Other profile %1$s","wordpress-seo"),r+1)},Object(s.createElement)(nn.a,{className:"yst-h-5 yst-w-5"}))))),Object(s.createElement)(l.Button,{id:"button-add-social-profile",variant:"secondary",onClick:()=>g(e)},Object(s.createElement)(on.a,{className:"yst--ml-1 yst-mr-1 yst-h-5 yst-w-5 yst-text-slate-400"}),Object(tt.__)("Add another profile","wordpress-seo")))))),Object(s.createElement)(yt.a,{easing:"ease-out",duration:300,delay:300,height:"person"===r?"auto":0,animateOpacity:!0},Object(s.createElement)(bt,{title:Object(tt.__)("Personal info","wordpress-seo"),description:Object(tt.__)("Please tell us more about the person this site represents.","wordpress-seo")},Object(s.createElement)(Dt,{name:"wpseo_titles.company_or_person_user_id",id:"input-wpseo_titles-company_or_person_user_id",label:Object(tt.__)("Select a user","wordpress-seo"),className:"yst-max-w-sm"}),!Object(ie.isEmpty)(c)&&Object(s.createElement)(l.Alert,{id:"alert-person-user-profile"},y&&Object(s.createInterpolateElement)(Object(tt.sprintf)(// translators: %1$s and %2$s are replaced by opening and closing tags. Object(tt.__)("You have selected the user %1$s%5$s%2$s as the person this site represents. Their user profile information will now be used in search results. %3$sUpdate their profile to make sure the information is correct%4$s.","wordpress-seo"),"","","","",null==c?void 0:c.name),{strong:Object(s.createElement)("strong",{className:"yst-font-medium"}),a:Object(s.createElement)("a",{id:"link-person-user-profile",href:`${m}?user_id=${null==c?void 0:c.id}`,target:"_blank",rel:"noopener noreferrer"})}),!y&&Object(s.createInterpolateElement)(Object(tt.sprintf)(// translators: %1$s and %2$s are replaced by opening and closing tags. Object(tt.__)("You have selected the user %1$s%3$s%2$s as the person this site represents. Their user profile information will now be used in search results. We're sorry, you're not allowed to edit this user's profile. Please contact your admin or %1$s%3$s%2$s to check and/or update the profile.","wordpress-seo"),"","",null==c?void 0:c.name),{strong:Object(s.createElement)("strong",{className:"yst-font-medium"})})),Object(s.createElement)(xt,{id:"wpseo_titles-person_logo",label:Object(tt.__)("Personal logo or avatar","wordpress-seo"),variant:"square",previewLabel:Object(s.createInterpolateElement)(Object(tt.sprintf)(// translators: %1$s expands to an opening strong tag. Object(tt.__)("Recommended size for this image is %1$s%3$s%2$s","wordpress-seo"),"","","696x696px"),{strong:Object(s.createElement)("strong",{className:"yst-font-semibold"})}),mediaUrlName:"wpseo_titles.person_logo",mediaIdName:"wpseo_titles.person_logo_id",fallbackMediaId:h,disabled:!a})))))))},dn=()=>{const e=pt("selectReplacementVariablesFor",[],"search","search"),t=pt("selectRecommendedReplacementVariablesFor",[],"search","search"),r=pt("selectReplacementVariablesFor",[],"404","404"),a=pt("selectRecommendedReplacementVariablesFor",[],"404","404");return Object(s.createElement)(Er,{title:Object(tt.__)("Special pages","wordpress-seo")},Object(s.createElement)(wt,null,Object(s.createElement)("div",{className:"yst-max-w-5xl"},Object(s.createElement)(bt,{title:Object(tt.__)("Internal search pages","wordpress-seo"),description:Object(tt.__)("Determine how the title of your internal search pages should look in the browser.","wordpress-seo")},Object(s.createElement)(Ft,{type:"title",name:"wpseo_titles.title-search-wpseo",fieldId:"input-wpseo_titles-title-search-wpseo",label:Object(tt.__)("Page title","wordpress-seo"),replacementVariables:e,recommendedReplacementVariables:t})),Object(s.createElement)("hr",{className:"yst-my-8"}),Object(s.createElement)(bt,{title:Object(tt.__)("404 error pages","wordpress-seo"),description:Object(tt.__)("Determine how the title of your 404 error pages should look in the browser.","wordpress-seo")},Object(s.createElement)(Ft,{type:"title",name:"wpseo_titles.title-404-wpseo",fieldId:"input-wpseo_titles-title-404-wpseo",label:Object(tt.__)("Page title","wordpress-seo"),replacementVariables:r,recommendedReplacementVariables:a})))))};const un=/content=(['"])?(?[^'"> ]+)(?:\1|[ />])/,pn=e=>{var t;const r=e.target.value.match(un);return null!=r&&null!==(t=r.groups)&&void 0!==t&&t.content?r.groups.content:e.target.value},mn=Yt(Wt);var bn=()=>{const e=pt("selectPreference",[],"siteUrl");return Object(s.createElement)(Er,{title:Object(tt.__)("Site connections","wordpress-seo"),description:Object(tt.__)("Verify your site with different tools. This will add a verification meta tag to your homepage. You can find instructions on how to verify your site for each platform by following the link in the description.","wordpress-seo")},Object(s.createElement)(wt,null,Object(s.createElement)("div",{className:"yst-max-w-5xl"},Object(s.createElement)("fieldset",{className:"yst-min-width-0 yst-max-w-screen-sm yst-space-y-8"},Object(s.createElement)(mn,{as:l.TextField,type:"text",name:"wpseo.baiduverify",id:"input-wpseo-baiduverify",label:Object(tt.__)("Baidu","wordpress-seo"),description:Object(ka.a)(Object(tt.sprintf)(// translators: %1$s and %2$s are replaced by opening and closing tags, respectively. Object(tt.__)("Get your verification code in %1$sBaidu Webmaster tools%2$s.","wordpress-seo"),"",""),"https://ziyuan.baidu.com/site","link-baidu-webmaster-tools"),placeholder:Object(tt.__)("Add verification code","wordpress-seo"),transformValue:pn}),Object(s.createElement)(mn,{as:l.TextField,type:"text",name:"wpseo.msverify",id:"input-wpseo-msverify",label:Object(tt.__)("Bing","wordpress-seo"),description:Object(ka.a)(Object(tt.sprintf)(// translators: %1$s and %2$s are replaced by opening and closing tags, respectively. Object(tt.__)("Get your verification code in %1$sBing Webmaster tools%2$s.","wordpress-seo"),"",""),"https://www.bing.com/toolbox/webmaster/#/Dashboard/?url="+e,"link-bing-webmaster-tools"),placeholder:Object(tt.__)("Add verification code","wordpress-seo"),transformValue:pn}),Object(s.createElement)(mn,{as:l.TextField,type:"text",name:"wpseo.googleverify",id:"input-wpseo-googleverify",label:Object(tt.__)("Google","wordpress-seo"),description:Object(ka.a)(Object(tt.sprintf)(// translators: %1$s and %2$s are replaced by opening and closing tags, respectively. Object(tt.__)("Get your verification code in %1$sGoogle Search console%2$s.","wordpress-seo"),"",""),Object(Nt.addQueryArgs)("https://search.google.com/search-console/users",{hl:"en",tid:"alternate",siteUrl:e}),"link-google-search-console"),placeholder:Object(tt.__)("Add verification code","wordpress-seo"),transformValue:pn}),Object(s.createElement)(mn,{as:l.TextField,type:"text",name:"wpseo_social.pinterestverify",id:"input-wpseo_social-pinterestverify",label:Object(tt.__)("Pinterest","wordpress-seo"),description:Object(ka.a)(Object(tt.sprintf)(// translators: %1$s and %2$s are replaced by opening and closing tags, respectively. Object(tt.__)("Claim your site over at %1$sPinterest%2$s.","wordpress-seo"),"",""),"https://www.pinterest.com/settings/claim","link-pinterest"),placeholder:Object(tt.__)("Add verification code","wordpress-seo"),transformValue:pn}),Object(s.createElement)(mn,{as:l.TextField,type:"text",name:"wpseo.yandexverify",id:"input-wpseo-yandexverify",label:Object(tt.__)("Yandex","wordpress-seo"),description:Object(ka.a)(Object(tt.sprintf)(// translators: %1$s and %2$s are replaced by opening and closing tags, respectively. Object(tt.__)("Get your verification code in %1$sYandex Webmaster tools%2$s.","wordpress-seo"),"",""),"https://webmaster.yandex.com/sites/add/","link-yandex-webmaster-tools"),placeholder:Object(tt.__)("Add verification code","wordpress-seo"),transformValue:pn})))))};const fn=e=>{let{postTypes:t,taxonomies:r,idSuffix:a=""}=e;const n=Object(l.useSvgAria)(),o=pt("selectPreference",[],"isPremium"),i=Object(s.useCallback)(e=>{let{show:t,toggle:r,ariaProps:a}=e;const o=Object(s.useMemo)(()=>t?Ze:et,[t]);return Object(s.createElement)("div",{className:"yst-relative"},Object(s.createElement)("hr",{className:"yst-absolute yst-inset-x-0 yst-top-1/2 yst-bg-slate-200"}),Object(s.createElement)("button",He()({className:"yst-relative yst-flex yst-items-center yst-gap-1.5 yst-px-2.5 yst-py-1 yst-mx-auto yst-text-xs yst-font-medium yst-text-slate-700 yst-bg-slate-50 yst-rounded-full yst-border yst-border-slate-300 hover:yst-bg-white hover:yst-text-slate-800 focus:yst-outline-none focus:yst-ring-2 focus:yst-ring-primary-500 focus:yst-ring-offset-2",onClick:r},a),t?Object(tt.__)("Show less","wordpress-seo"):Object(tt.__)("Show more","wordpress-seo"),Object(s.createElement)(o,He()({className:"yst-h-4 yst-w-4 yst-flex-shrink-0 yst-text-slate-400 group-hover:yst-text-slate-500 yst-stroke-3"},n))))},[]);return Object(s.createElement)(s.Fragment,null,Object(s.createElement)("header",{className:"yst-px-3 yst-mb-6 yst-space-y-6"},Object(s.createElement)(Be,{id:"link-yoast-logo"+a,to:"/",className:"yst-inline-block yst-rounded-md focus:yst-ring-primary-500","aria-label":"Yoast SEO"+(o?" Premium":"")},Object(s.createElement)(Sa,He()({className:"yst-w-40"},n))),Object(s.createElement)(fa,{buttonId:"button-search"+a})),Object(s.createElement)("div",{className:"yst-px-0.5 yst-space-y-6"},Object(s.createElement)(_a.MenuItem,{id:"menu-general"+a,icon:Ye,label:Object(tt.__)("General","wordpress-seo")},Object(s.createElement)(_a.SubmenuItem,{to:"/site-features",label:Object(tt.__)("Site features","wordpress-seo"),idSuffix:a}),Object(s.createElement)(_a.SubmenuItem,{to:"/site-basics",label:Object(tt.__)("Site basics","wordpress-seo"),idSuffix:a}),Object(s.createElement)(_a.SubmenuItem,{to:"/site-representation",label:Object(tt.__)("Site representation","wordpress-seo"),idSuffix:a}),Object(s.createElement)(_a.SubmenuItem,{to:"/site-connections",label:Object(tt.__)("Site connections","wordpress-seo"),idSuffix:a})),Object(s.createElement)(_a.MenuItem,{id:"menu-content-types"+a,icon:Ke,label:Object(tt.__)("Content types","wordpress-seo")},Object(s.createElement)(l.ChildrenLimiter,{limit:5,renderButton:i},Object(s.createElement)(_a.SubmenuItem,{to:"/homepage",label:Object(tt.__)("Homepage","wordpress-seo"),idSuffix:a}),Object(ie.map)(t,e=>{let{name:t,route:r,label:n,isNew:o}=e;return Object(s.createElement)(_a.SubmenuItem,{key:"link-post-type-"+t,to:"/post-type/"+r,label:Object(s.createElement)("span",{className:"yst-inline-flex yst-items-center yst-gap-1.5"},n,o&&Object(s.createElement)(l.Badge,{variant:"info"},Object(tt.__)("New","wordpress-seo"))),idSuffix:a})}))),Object(s.createElement)(_a.MenuItem,{id:"menu-categories-and-tags"+a,icon:Qe,label:Object(tt.__)("Categories & tags","wordpress-seo")},Object(s.createElement)(l.ChildrenLimiter,{limit:5,renderButton:i},Object(ie.map)(r,e=>Object(s.createElement)(_a.SubmenuItem,{key:"link-taxonomy-"+e.name,to:"/taxonomy/"+e.route,label:Object(s.createElement)("span",{className:"yst-inline-flex yst-items-center yst-gap-1.5"},e.label,e.isNew&&Object(s.createElement)(l.Badge,{variant:"info"},Object(tt.__)("New","wordpress-seo"))),idSuffix:a})))),Object(s.createElement)(_a.MenuItem,{id:"menu-advanced"+a,icon:Je,label:Object(tt.__)("Advanced","wordpress-seo"),defaultOpen:!1},Object(s.createElement)(_a.SubmenuItem,{to:"/crawl-optimization",label:Object(tt.__)("Crawl optimization","wordpress-seo"),idSuffix:a}),Object(s.createElement)(_a.SubmenuItem,{to:"/breadcrumbs",label:Object(tt.__)("Breadcrumbs","wordpress-seo"),idSuffix:a}),Object(s.createElement)(_a.SubmenuItem,{to:"/author-archives",label:Object(tt.__)("Author archives","wordpress-seo"),idSuffix:a}),Object(s.createElement)(_a.SubmenuItem,{to:"/date-archives",label:Object(tt.__)("Date archives","wordpress-seo"),idSuffix:a}),Object(s.createElement)(_a.SubmenuItem,{to:"/format-archives",label:Object(tt.__)("Format archives","wordpress-seo"),idSuffix:a}),Object(s.createElement)(_a.SubmenuItem,{to:"/special-pages",label:Object(tt.__)("Special pages","wordpress-seo"),idSuffix:a}),Object(s.createElement)(_a.SubmenuItem,{to:"/media-pages",label:Object(tt.__)("Media pages","wordpress-seo"),idSuffix:a}),Object(s.createElement)(_a.SubmenuItem,{to:"/rss",label:Object(tt.__)("RSS","wordpress-seo"),idSuffix:a}))))};fn.propTypes={postTypes:nt.a.object.isRequired,taxonomies:nt.a.object.isRequired,idSuffix:nt.a.string};const hn=()=>{const e=pt("selectLink",[],"https://yoa.st/17h"),t=pt("selectUpsellSettingsAsProps");return Object(s.createElement)(l.Paper,{as:"div",className:"yst-p-6 xl:yst-max-w-3xl"},Object(s.createElement)(l.Title,{as:"h2",size:"4",className:"yst-text-xl yst-text-primary-500"},Object(tt.sprintf)( /* translators: %s expands to "Yoast SEO" Premium */ Object(tt.__)("Upgrade to %s","wordpress-seo"),"Yoast SEO Premium")),Object(s.createElement)("ul",{className:"yst-grid yst-grid-cols-1 sm:yst-grid-cols-2 yst-gap-x-6 yst-list-disc yst-pl-[1em] yst-list-outside yst-text-slate-800 yst-mt-6"},Object(s.createElement)("li",null,Object(s.createElement)("span",{className:"yst-font-semibold"},Object(tt.__)("Use AI","wordpress-seo")),": ",Object(tt.__)("Quickly create titles & meta descriptions","wordpress-seo")),Object(s.createElement)("li",null,Object(s.createElement)("span",{className:"yst-font-semibold"},Object(tt.__)("No more dead links","wordpress-seo")),": ",Object(tt.__)("Easy redirect manager","wordpress-seo")),Object(s.createElement)("li",null,Object(s.createElement)("span",{className:"yst-font-semibold"},Object(tt.__)("Superfast internal linking suggestions","wordpress-seo"))),Object(s.createElement)("li",null,Object(s.createElement)("span",{className:"yst-font-semibold"},Object(tt.__)("Social media preview","wordpress-seo")),": ",Object(tt.__)("Facebook & Twitter","wordpress-seo")),Object(s.createElement)("li",null,Object(s.createElement)("span",{className:"yst-font-semibold"},Object(tt.__)("Multiple keyphrases","wordpress-seo")),": ",Object(tt.__)("Increase your SEO reach","wordpress-seo")),Object(s.createElement)("li",null,Object(s.createElement)("span",{className:"yst-font-semibold"},Object(tt.__)("SEO Workouts","wordpress-seo")),": ",Object(tt.__)("Get guided in routine SEO tasks","wordpress-seo")),Object(s.createElement)("li",null,Object(s.createElement)("span",{className:"yst-font-semibold"},Object(tt.__)("24/7 email support","wordpress-seo"))),Object(s.createElement)("li",null,Object(s.createElement)("span",{className:"yst-font-semibold"},Object(tt.__)("No ads!","wordpress-seo")))),Object(s.createElement)(l.Button,He()({as:"a",variant:"upsell",size:"large",href:e,className:"yst-gap-2 yst-mt-4",target:"_blank",rel:"noopener"},t),Object(tt.sprintf)( /* translators: %s expands to "Yoast SEO" Premium */ Object(tt.__)("Get %s","wordpress-seo"),"Yoast SEO Premium"),Object(s.createElement)(Xe.a,{className:"yst-w-4 yst-h-4 yst-icon-rtl"})))};var yn=()=>{const{pathname:e}=Pe(),t=pt("selectPostTypes"),r=pt("selectTaxonomies"),a=pt("selectPreference",[],"isPremium");(()=>{const{hash:e,pathname:t,key:r}=Pe();Object(s.useEffect)(()=>{const t=e.replace("#",""),r=document.getElementById(t)||document.querySelector(`[data-id="${t}"]`);if(r)r.scrollIntoView({behavior:"smooth"}),setTimeout(()=>r.focus(),800);else{const e=document.getElementById("yoast-seo-settings");null==e||e.scrollIntoView({behavior:"smooth"})}},[t,e,r])})();const{dirty:n}=W();return Object(l.useBeforeUnload)(n,Object(tt.__)("There are unsaved changes on this page. Leaving means that those changes will be lost. Are you sure you want to leave this page?","wordpress-seo")),Object(s.createElement)(s.Fragment,null,Object(s.createElement)(Xt,null),Object(s.createElement)(_a,{activePath:e},Object(s.createElement)(_a.Mobile,{openButtonId:"button-open-settings-navigation-mobile",closeButtonId:"button-close-settings-navigation-mobile",openButtonScreenReaderText:Object(tt.__)("Open settings navigation","wordpress-seo"),closeButtonScreenReaderText:Object(tt.__)("Close settings navigation","wordpress-seo"),"aria-label":Object(tt.__)("Settings navigation","wordpress-seo")},Object(s.createElement)(fn,{idSuffix:"-mobile",postTypes:t,taxonomies:r})),Object(s.createElement)("div",{className:"yst-p-4 min-[783px]:yst-p-8 yst-flex yst-gap-4"},Object(s.createElement)("aside",{className:"yst-sidebar yst-sidebar-nav yst-shrink-0 yst-hidden min-[783px]:yst-block yst-pb-6 yst-bottom-0 yst-w-56"},Object(s.createElement)(_a.Sidebar,null,Object(s.createElement)(fn,{postTypes:t,taxonomies:r}))),Object(s.createElement)("div",{className:st()("yst-flex yst-grow yst-flex-wrap",!a&&"xl:yst-pr-[17.5rem]")},Object(s.createElement)("div",{className:"yst-grow yst-space-y-6 yst-mb-8 xl:yst-mb-0"},Object(s.createElement)(l.Paper,{as:"main"},Object(s.createElement)(l.ErrorBoundary,{FallbackComponent:Ea},Object(s.createElement)(Ge.a,{key:e,appear:!0,show:!0,enter:"yst-transition-opacity yst-delay-100 yst-duration-300",enterFrom:"yst-opacity-0",enterTo:"yst-opacity-100"},Object(s.createElement)(Ce,null,Object(s.createElement)(Me,{path:"author-archives",element:Object(s.createElement)(Aa,null)}),Object(s.createElement)(Me,{path:"breadcrumbs",element:Object(s.createElement)(Ca,null)}),Object(s.createElement)(Me,{path:"crawl-optimization",element:Object(s.createElement)(Va,null)}),Object(s.createElement)(Me,{path:"date-archives",element:Object(s.createElement)(Ua,null)}),Object(s.createElement)(Me,{path:"homepage",element:Object(s.createElement)(Ga,null)}),Object(s.createElement)(Me,{path:"format-archives",element:Object(s.createElement)(qa,null)}),Object(s.createElement)(Me,{path:"media-pages",element:Object(s.createElement)(Ya,null)}),Object(s.createElement)(Me,{path:"rss",element:Object(s.createElement)(Qa,null)}),Object(s.createElement)(Me,{path:"site-basics",element:Object(s.createElement)(Za,null)}),Object(s.createElement)(Me,{path:"site-connections",element:Object(s.createElement)(bn,null)}),Object(s.createElement)(Me,{path:"site-representation",element:Object(s.createElement)(cn,null)}),Object(s.createElement)(Me,{path:"site-features",element:Object(s.createElement)(an,null)}),Object(s.createElement)(Me,{path:"special-pages",element:Object(s.createElement)(dn,null)}),Object(s.createElement)(Me,{path:"post-type"},Object(ie.map)(t,e=>Object(s.createElement)(Me,{key:"route-post-type-"+e.name,path:e.route,element:Object(s.createElement)(Pa,e)}))),Object(s.createElement)(Me,{path:"taxonomy"},Object(ie.map)(r,e=>Object(s.createElement)(Me,{key:"route-taxonomy-"+e.name,path:e.route,element:Object(s.createElement)(Na,e)}))),Object(s.createElement)(Me,{path:"*",element:Object(s.createElement)(Ne,{to:"/site-features",replace:!0})}))))),!a&&Object(s.createElement)(hn,null)),Object(s.createElement)(Oa,null)))))},wn=r(13);const On=()=>Object(ie.get)(window,"wpseoScriptData.postTypes",{}),jn=Object(wn.createSlice)({name:"postTypes",initialState:On(),reducers:{},extraReducers:e=>{e.addCase("updatePostTypeReviewStatus/result",(e,t)=>{let{payload:r}=t;e[r].isNew=!1})}}),gn={selectPostType:function(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return Object(ie.get)(e,"postTypes."+t,r)},selectAllPostTypes:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;const r=Object(ie.get)(e,"postTypes",{});return t?Object(ie.pick)(r,t):r}};gn.selectPostTypes=Object(wn.createSelector)(gn.selectAllPostTypes,e=>Object(ie.omit)(e,["attachment"]));const vn={updatePostTypeReviewStatus:async e=>{let{payload:t}=e;return It()({path:"/yoast/v1/new-content-type-visibility/dismiss-post-type",method:"POST",data:{post_type_name:t}})}},En={...jn.actions,updatePostTypeReviewStatus:function*(e){try{yield{type:"updatePostTypeReviewStatus",payload:e}}catch(t){console.error(`Error: Failed to remove "New" badge for ${e}, ${t}`)}return{type:"updatePostTypeReviewStatus/result",payload:e}}};var xn=jn.reducer;const Sn=()=>{var e;return{...Object(ie.get)(window,"wpseoScriptData.preferences",{}),documentTitle:Object(ie.defaultTo)(null===(e=document)||void 0===e?void 0:e.title,"")}},kn=Object(wn.createSlice)({name:"preferences",initialState:Sn(),reducers:{}}),Fn={selectPreference:function(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return Object(ie.get)(e,"preferences."+t,r)},selectPreferences:e=>Object(ie.get)(e,"preferences",{})};Fn.selectHasPageForPosts=Object(wn.createSelector)([e=>Fn.selectPreference(e,"homepageIsLatestPosts"),e=>Fn.selectPreference(e,"homepagePostsEditUrl")],(e,t)=>!e&&!Object(ie.isEmpty)(t)),Fn.selectCanEditUser=Object(wn.createSelector)([e=>Fn.selectPreference(e,"currentUserId",-1),e=>Fn.selectPreference(e,"canEditUsers",!1),(e,t)=>t],(e,t,r)=>e===r||t),Fn.selectExampleUrl=Object(wn.createSelector)([e=>Fn.selectPreference(e,"siteUrl","https://example.com"),(e,t)=>t],(e,t)=>e+t),Fn.selectPluginUrl=Object(wn.createSelector)([e=>Fn.selectPreference(e,"pluginUrl","https://example.com"),(e,t)=>t],(e,t)=>e+t),Fn.selectUpsellSettingsAsProps=Object(wn.createSelector)([e=>Fn.selectPreference(e,"upsellSettings",{}),function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"premiumCtbId";return t}],(e,t)=>({"data-action":null==e?void 0:e.actionId,"data-ctb-id":null==e?void 0:e[t]}));const Tn=kn.actions;var Ln=kn.reducer;const Pn=()=>Object(ie.reduce)(Object(ie.get)(window,"wpseoScriptData.taxonomies",{}),(e,t,r)=>{let{postTypes:s,...a}=t;return{...e,[r]:{...a,postTypes:Object(ie.values)(s)}}},{}),Rn=Object(wn.createSlice)({name:"taxonomies",initialState:Pn(),reducers:{},extraReducers:e=>{e.addCase("updateTaxonomyReviewStatus/result",(e,t)=>{let{payload:r}=t;e[r].isNew=!1})}}),In={selectTaxonomy:function(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return Object(ie.get)(e,"taxonomies."+t,r)},selectAllTaxonomies:e=>Object(ie.get)(e,"taxonomies",{})};In.selectTaxonomies=Object(wn.createSelector)(In.selectAllTaxonomies,e=>Object(ie.omit)(e,["post_format"]));const Nn={updateTaxonomyReviewStatus:async e=>{let{payload:t}=e;return It()({path:"/yoast/v1/new-content-type-visibility/dismiss-taxonomy",method:"POST",data:{taxonomy_name:t}})}},Mn={...Rn.actions,updateTaxonomyReviewStatus:function*(e){try{yield{type:"updateTaxonomyReviewStatus",payload:e}}catch(t){console.error(`Error: Failed to remove "New" badge for ${e}, ${t}`)}return{type:"updateTaxonomyReviewStatus/result",payload:e}}};var An=Rn.reducer;const Cn={selectBreadcrumbsForPostTypes:Object(wn.createSelector)([In.selectAllTaxonomies,gn.selectAllPostTypes],(e,t)=>{const r={value:0,label:Object(tt.__)("None","wordpress-seo")},s={};return Object(ie.forEach)(t,(t,a)=>{const n=Object(ie.filter)(e,e=>Object(ie.includes)(e.postTypes,a));Object(ie.isEmpty)(n)||(s[a]={...t,options:[r,...Object(ie.map)(n,e=>{let{name:t,label:r}=e;return{value:t,label:r}})]})}),s}),selectBreadcrumbsForTaxonomies:Object(wn.createSelector)([In.selectAllTaxonomies,gn.selectAllPostTypes,Fn.selectHasPageForPosts],(e,t,r)=>{let s=[{value:0,label:Object(tt.__)("None","wordpress-seo")}];r&&s.push({value:"post",label:Object(tt.__)("Blog","wordpress-seo")});const a=Object(ie.filter)(t,e=>{let{hasArchive:t}=e;return t});return s=s.concat(Object(ie.map)(a,e=>{let{name:t,label:r}=e;return{value:t,label:r}})),Object(ie.mapValues)(e,e=>({name:e.name,label:e.label,options:s}))})},$n=()=>({...Object(ie.get)(window,"wpseoScriptData.defaultSettingValues",{})}),Dn=Object(wn.createSlice)({name:"defaultSettingValues",initialState:$n(),reducers:{}}),Vn={selectDefaultSettingValue:function(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return Object(ie.get)(e,"defaultSettingValues."+t,r)},selectDefaultSettingValues:e=>Object(ie.get)(e,"defaultSettingValues",{})},Bn=Dn.actions;var Un=Dn.reducer;const zn=()=>Object(ie.get)(window,"wpseoScriptData.fallbacks",{}),qn=Object(wn.createSlice)({name:"fallbacks",initialState:zn(),reducers:{}}),Wn={selectFallback:function(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return Object(ie.get)(e,"fallbacks."+t,r)},selectFallbacks:e=>Object(ie.get)(e,"fallbacks",{})},Hn=qn.actions;var Gn=qn.reducer;const Yn=Object(wn.createEntityAdapter)(),Kn=()=>Yn.getInitialState({status:Mt.b.idle,error:""}),Qn=e=>{var t,r;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,sizes:Object(ie.mapValues)((null==e?void 0:e.sizes)||(null==e||null===(r=e.media_details)||void 0===r?void 0:r.sizes),e=>({url:(null==e?void 0:e.url)||(null==e?void 0:e.source_url),width:null==e?void 0:e.width,height:null==e?void 0:e.height}),{})}},Jn=Object(wn.createSlice)({name:"media",initialState:Kn(),reducers:{addOneMedia:{reducer:Yn.addOne,prepare:e=>({payload:Qn(e)})},addManyMedia:{reducer:Yn.addMany,prepare:e=>({payload:Object(ie.map)(e,Qn)})}},extraReducers:e=>{e.addCase("fetchMedia/"+Mt.a.request,e=>{e.status=Mt.b.loading}),e.addCase("fetchMedia/"+Mt.a.success,(e,t)=>{e.status=Mt.b.success,Yn.addMany(e,Object(ie.map)(t.payload,Qn))}),e.addCase("fetchMedia/"+Mt.a.error,(e,t)=>{e.status=Mt.b.error,e.error=t.payload})}}),Xn=Yn.getSelectors(e=>e.media),Zn={selectMediaIds:Xn.selectIds,selectMediaById:Xn.selectById,selectIsMediaLoading:e=>Object(ie.get)(e,"media.status",Mt.b.idle)===Mt.b.loading,selectIsMediaError:e=>Object(ie.get)(e,"media.status",Mt.b.idle)===Mt.b.error},eo={...Jn.actions,fetchMedia:function*(e){yield{type:"fetchMedia/"+Mt.a.request};try{const t=yield{type:"fetchMedia",payload:{per_page:100,include:e}};return{type:"fetchMedia/"+Mt.a.success,payload:t}}catch(e){return{type:"fetchMedia/"+Mt.a.error,payload:e}}}},to={fetchMedia:async e=>{let{payload:t}=e;return It()({path:"/wp/v2/media?"+Object(Nt.buildQueryString)(t)})}};var ro=Jn.reducer,so=r(203);const ao=Object(wn.createEntityAdapter)();let no;const oo=e=>{var t;return{id:null==e?void 0:e.id,name:Object(so.decodeEntities)(Object(ie.trim)(null==e?void 0:e.title.rendered))||(null==e?void 0:e.slug)||e.id,slug:null==e?void 0:e.slug,protected:null==e||null===(t=e.content)||void 0===t?void 0:t.protected}},io=Object(wn.createSlice)({name:"pages",initialState:ao.getInitialState({status:Mt.b.idle,error:""}),reducers:{addOnePage:{reducer:ao.addOne,prepare:e=>({payload:oo(e)})},addManyPages:{reducer:ao.addMany,prepare:e=>({payload:Object(ie.map)(e,oo)})}},extraReducers:e=>{e.addCase("fetchPages/"+Mt.a.request,e=>{e.status=Mt.b.loading}),e.addCase("fetchPages/"+Mt.a.success,(e,t)=>{e.status=Mt.b.success,ao.addMany(e,Object(ie.map)(t.payload,oo))}),e.addCase("fetchPages/"+Mt.a.error,(e,t)=>{e.status=Mt.b.error,e.error=t.payload})}}),lo=io.getInitialState,co=ao.getSelectors(e=>e.pages),uo={selectPageIds:co.selectIds,selectPageById:co.selectById,selectPages:co.selectEntities};uo.selectPagesWith=Object(wn.createSelector)([uo.selectPages,function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return t}],(e,t)=>{const r={};t.forEach(t=>{null!=t&&t.id&&!e[t.id]&&(r[t.id]={...t})});const s=Object(ie.pickBy)(e,e=>!e.protected);return{...r,...s}});const po={...io.actions,fetchPages:function*(e){yield{type:"fetchPages/"+Mt.a.request};try{const t=yield{type:"fetchPages",payload:{...e}};return{type:"fetchPages/"+Mt.a.success,payload:t}}catch(e){return{type:"fetchPages/"+Mt.a.error,payload:e}}}},mo={fetchPages:async e=>{var t;let{payload:r}=e;return null===(t=no)||void 0===t||t.abort(),no=new AbortController,It()({path:"/wp/v2/pages?"+Object(Nt.buildQueryString)(r),signal:no.signal})}};var bo=io.reducer;const fo=()=>({recommended:Object(ie.get)(window,"wpseoScriptData.replacementVariables.recommended",{}),shared:Object(ie.get)(window,"wpseoScriptData.replacementVariables.shared",[]),specific:Object(ie.get)(window,"wpseoScriptData.replacementVariables.specific",{}),variables:Object(ie.get)(window,"wpseoScriptData.replacementVariables.variables",[])}),ho=Object(wn.createSlice)({name:"replacementVariables",initialState:fo(),reducers:{}}),yo={selectRecommendedReplacementVariables:e=>Object(ie.get)(e,"replacementVariables.recommended",{}),selectSharedReplacementVariables:e=>Object(ie.get)(e,"replacementVariables.shared",[]),selectSpecificReplacementVariables:e=>Object(ie.get)(e,"replacementVariables.specific",{}),selectReplacementVariables:e=>Object(ie.get)(e,"replacementVariables.variables",[])};yo.selectSpecificReplacementVariablesFor=Object(wn.createSelector)([yo.selectSharedReplacementVariables,yo.selectSpecificReplacementVariables,(e,t)=>t,(e,t,r)=>r],(e,t,r,s)=>[...e,...Object(ie.get)(t,r,Object(ie.get)(t,s,[]))]),yo.selectReplacementVariablesFor=Object(wn.createSelector)([yo.selectReplacementVariables,yo.selectSpecificReplacementVariablesFor],(e,t)=>Object(ie.filter)(e,e=>{let{name:r}=e;return Object(ie.includes)(t,r)})),yo.selectRecommendedReplacementVariablesFor=Object(wn.createSelector)([yo.selectRecommendedReplacementVariables,(e,t)=>t,(e,t,r)=>r],(e,t,r)=>Object(ie.get)(e,t,Object(ie.get)(e,r,[])));const _o=ho.actions;var wo=ho.reducer;const Oo=(e,t)=>{ // translators: %1$s expands to the schema type, e.g. "Web Page" or "Blog Post". const r=Object(tt.__)("%1$s (default)","wordpress-seo");return e.map(e=>{let{label:s,value:a}=e;return{value:a,label:a===t?Object(tt.sprintf)(r,s):s}})},jo=()=>({articleTypes:Object(ie.get)(window,"wpseoScriptData.schema.articleTypes",{}),articleTypeDefaults:Object(ie.get)(window,"wpseoScriptData.schema.articleTypeDefaults",{}),pageTypes:Object(ie.get)(window,"wpseoScriptData.schema.pageTypes",{}),pageTypeDefaults:Object(ie.get)(window,"wpseoScriptData.schema.pageTypeDefaults",{})}),go=Object(wn.createSlice)({name:"schema",initialState:jo(),reducers:{}}),vo={selectSchema:e=>Object(ie.get)(e,"schema",{}),selectArticleTypes:e=>Object(ie.get)(e,"schema.articleTypes",{}),selectArticleTypeDefaults:e=>Object(ie.get)(e,"schema.articleTypeDefaults",{}),selectPageTypes:e=>Object(ie.get)(e,"schema.pageTypes",{}),selectPageTypeDefaults:e=>Object(ie.get)(e,"schema.pageTypeDefaults",{})};vo.selectArticleTypeValues=Object(wn.createSelector)(vo.selectArticleTypes,e=>Object(ie.values)(e)),vo.selectArticleTypeDefault=Object(wn.createSelector)([vo.selectArticleTypeDefaults,(e,t)=>t],(e,t)=>Object(ie.get)(e,t,"None")),vo.selectArticleTypeValuesFor=Object(wn.createSelector)([vo.selectArticleTypeValues,vo.selectArticleTypeDefault],(e,t)=>Oo(e,t)),vo.selectPageTypeValues=Object(wn.createSelector)(vo.selectPageTypes,e=>Object(ie.values)(e)),vo.selectPageTypeDefault=Object(wn.createSelector)([vo.selectPageTypeDefaults,(e,t)=>t],(e,t)=>Object(ie.get)(e,t,"WebPage")),vo.selectPageTypeValuesFor=Object(wn.createSelector)([vo.selectPageTypeValues,vo.selectPageTypeDefault],(e,t)=>Oo(e,t));const Eo=go.actions;var xo=go.reducer;const So=(e,t)=>{let{userLocale:r}=t;return Ur(Object(ie.join)([...Object(ie.isArray)(null==e?void 0:e.keywords)?e.keywords:[],null==e?void 0:e.routeLabel,null==e?void 0:e.fieldLabel]," "),r)},ko=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",{userLocale:r}=arguments.length>2?arguments[2]:void 0;return Object(ie.reduce)(e,(e,s,a)=>{const n=Object(ie.join)(Object(ie.filter)([t,a],Boolean),".");return"other_social_urls"===a?{...e,[n]:{route:null==s?void 0:s.route,routeLabel:null==s?void 0:s.routeLabel,fieldId:null==s?void 0:s.fieldId,fieldLabel:null==s?void 0:s.fieldLabel,keywords:So(s,{userLocale:r})}}:null!=s&&s.route?{...e,[n]:{...s,keywords:So(s,{userLocale:r})}}:{...e,...ko(s,n,{userLocale:r})}},{})},Fo=()=>{const e=Object(ie.get)(window,"wpseoScriptData.postTypes",{}),t=Object(ie.get)(window,"wpseoScriptData.taxonomies",{}),r=Object(ie.get)(window,"wpseoScriptData.preferences.userLocale",{});return{index:Wr(e,t,{userLocale:r})}},To=Object(wn.createSlice)({name:"search",initialState:Fo(),reducers:{}}),Lo={selectSearchIndex:e=>Object(ie.get)(e,"search.index",{})};Lo.selectQueryableSearchIndex=Object(wn.createSelector)([Lo.selectSearchIndex,e=>Fn.selectPreference(e,"userLocale")],(e,t)=>ko(e,"",{userLocale:t}));const Po=To.actions;var Ro=To.reducer;const Io=Object(wn.createEntityAdapter)(),No=()=>Io.getInitialState({status:Mt.b.idle,error:""}),Mo=e=>({id:null==e?void 0:e.id,name:Object(ie.trim)(null==e?void 0:e.name)||(null==e?void 0:e.slug)||(null==e?void 0:e.id),slug:null==e?void 0:e.slug}),Ao=Object(wn.createSlice)({name:"users",initialState:No(),reducers:{addOneUser:{reducer:Io.addOne,prepare:e=>({payload:Mo(e)})},addManyUsers:{reducer:Io.addMany,prepare:e=>({payload:Object(ie.map)(e,Mo)})}},extraReducers:e=>{e.addCase("fetchUsers/"+Mt.a.request,e=>{e.status=Mt.b.loading}),e.addCase("fetchUsers/"+Mt.a.success,(e,t)=>{e.status=Mt.b.success,Io.addMany(e,Object(ie.map)(t.payload,Mo))}),e.addCase("fetchUsers/"+Mt.a.error,(e,t)=>{e.status=Mt.b.error,e.error=t.payload})}}),Co=Io.getSelectors(e=>e.users),$o={selectUserIds:Co.selectIds,selectUserById:Co.selectById,selectUsers:Co.selectEntities};$o.selectUsersWith=Object(wn.createSelector)([$o.selectUsers,function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return t}],(e,t)=>null!=t&&t.id&&!e[t.id]?{...e,[t.id]:{...t}}:e);const Do={...Ao.actions,fetchUsers:function*(e){yield{type:"fetchUsers/"+Mt.a.request};try{const t=yield{type:"fetchUsers",payload:{...e}};return{type:"fetchUsers/"+Mt.a.success,payload:t}}catch(e){return{type:"fetchUsers/"+Mt.a.error,payload:e}}}},Vo={fetchUsers:async e=>{let{payload:t}=e;return It()({path:"/wp/v2/users?"+Object(Nt.buildQueryString)(t)})}};var Bo=Ao.reducer;const Uo=e=>{let{initialState:t}=e;return Object(n.createReduxStore)(lt,{actions:{...Bn,...Hn,...qe.i,...eo,...qe.l,...po,...En,...Tn,..._o,...Eo,...Po,...Mn,...Do},selectors:{...Cn,...Vn,...Wn,...qe.k,...Zn,...qe.n,...uo,...gn,...Fn,...yo,...vo,...Lo,...In,...$o},initialState:Object(ie.merge)({},{defaultSettingValues:$n(),fallbacks:zn(),[qe.a]:Object(qe.e)(),media:Kn(),[qe.b]:Object(qe.f)(),pages:lo(),postTypes:On(),preferences:Sn(),replacementVariables:fo(),schema:jo(),search:Fo(),taxonomies:Pn(),users:No()},t),reducer:Object(n.combineReducers)({defaultSettingValues:Un,fallbacks:Gn,[qe.a]:qe.j,media:ro,[qe.b]:qe.m,pages:bo,postTypes:xn,preferences:Ln,replacementVariables:wo,schema:xo,search:Ro,taxonomies:An,users:Bo}),controls:{...to,...Vo,...vn,...Nn,...mo}})};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 o=Object(ie.get)(window,"wpseoScriptData.settings",{}),i=Object(ie.get)(window,"wpseoScriptData.fallbacks",{}),c=Object(ie.get)(window,"wpseoScriptData.postTypes",{}),d=Object(ie.get)(window,"wpseoScriptData.taxonomies",{});(function(){let{initialState:e={}}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};Object(n.register)(Uo({initialState:e}))})({initialState:{notifications:Object(ie.get)(window,"wpseoScriptData.showNewContentTypeNotification",!1)?{"new-content-type":{id:"new-content-type",variant:"info",size:"large",title:Object(tt.__)("New type of content added to your site!","wordpress-seo"),description:Object(tt.__)("Please see the “New” badges and review the Search appearance settings.","wordpress-seo")}}:{},[qe.a]:Object(ie.get)(window,"wpseoScriptData.linkParams",{})}}),(async e=>{let{settings:t,fallbacks:r}=e;const s=Object(ie.get)(t,"wpseo_titles",{}),a=Object(ie.filter)([Object(ie.get)(t,"wpseo_social.og_default_image_id","0"),Object(ie.get)(t,"wpseo_titles.open_graph_frontpage_image_id","0"),Object(ie.get)(t,"wpseo_titles.company_logo_id","0"),Object(ie.get)(t,"wpseo_titles.person_logo_id","0"),Object(ie.get)(r,"siteLogoId","0"),...Object(ie.reduce)(s,(e,t,r)=>Object(ie.includes)(r,"social-image-id")?[...e,t]:e,[])],Boolean),o=Object(ie.chunk)(a,100),{fetchMedia:i}=Object(n.dispatch)(lt);Object(ie.forEach)(o,i)})({settings:o,fallbacks:i}),(async e=>{let{settings:t}=e;const r=Object(ie.get)(t,"wpseo_titles.company_or_person_user_id"),{fetchUsers:s}=Object(n.dispatch)(lt);r&&s({include:[r]})})({settings:o}),document.querySelector('[href="#wpbody-content"]').addEventListener("click",e=>{var t,r;e.preventDefault(),window.outerWidth>782?null===(r=document.getElementById("link-yoast-logo"))||void 0===r||r.focus():null===(t=document.getElementById("button-open-settings-navigation-mobile"))||void 0===t||t.focus()}),document.querySelector('[href="#wp-toolbar"]').addEventListener("click",e=>{var t;e.preventDefault(),null===(t=document.querySelector("#wp-admin-bar-wp-logo a"))||void 0===t||t.focus()}),Object(ze.a)();const u=Object(n.select)(lt).selectPreference("isRtl",!1);Object(s.render)(Object(s.createElement)(l.Root,{context:{isRtl:u}},Object(s.createElement)(Ue.StyleSheetManager,{target:r},Object(s.createElement)(a.SlotFillProvider,null,Object(s.createElement)(Ve,null,Object(s.createElement)(K,{initialValues:o,validationSchema:ca(c,d),onSubmit:Gr},Object(s.createElement)(yn,null)))))),e)})},,,,,,,,,,,,,,,function(e,t,r){"use strict";r.d(t,"a",(function(){return N}));var s=r(3),a=r.n(s),n=r(26),o=r(48),i=r(35),l=r(33);function c(){let e=Object(s.useRef)(!1);return Object(l.a)(()=>(e.current=!0,()=>{e.current=!1}),[]),e}var d=r(50),u=r(138),p=r(71),m=r(59);function b(e,...t){e&&t.length>0&&e.classList.add(...t)}function f(e,...t){e&&t.length>0&&e.classList.remove(...t)}var h=r(81),y=r(23),_=r(155),w=r(63);function O(e=""){return e.split(" ").filter(e=>e.trim().length>1)}let j=Object(s.createContext)(null);j.displayName="TransitionContext";var g,v=((g=v||{}).Visible="visible",g.Hidden="hidden",g);let E=Object(s.createContext)(null);function x(e){return"children"in e?x(e.children):e.current.filter(({el:e})=>null!==e.current).filter(({state:e})=>"visible"===e).length>0}function S(e,t){let r=Object(d.a)(e),a=Object(s.useRef)([]),o=c(),l=Object(h.a)(),u=Object(y.a)((e,t=n.b.Hidden)=>{let s=a.current.findIndex(({el:t})=>t===e);-1!==s&&(Object(i.a)(t,{[n.b.Unmount](){a.current.splice(s,1)},[n.b.Hidden](){a.current[s].state="hidden"}}),l.microTask(()=>{var e;!x(a)&&o.current&&(null==(e=r.current)||e.call(r))}))}),p=Object(y.a)(e=>{let t=a.current.find(({el:t})=>t===e);return t?"visible"!==t.state&&(t.state="visible"):a.current.push({el:e,state:"visible"}),()=>u(e,n.b.Unmount)}),m=Object(s.useRef)([]),b=Object(s.useRef)(Promise.resolve()),f=Object(s.useRef)({enter:[],leave:[],idle:[]}),_=Object(y.a)((e,r,s)=>{m.current.splice(0),t&&(t.chains.current[r]=t.chains.current[r].filter(([t])=>t!==e)),null==t||t.chains.current[r].push([e,new Promise(e=>{m.current.push(e)})]),null==t||t.chains.current[r].push([e,new Promise(e=>{Promise.all(f.current[r].map(([e,t])=>t)).then(()=>e())})]),"enter"===r?b.current=b.current.then(()=>null==t?void 0:t.wait.current).then(()=>s(r)):s(r)}),w=Object(y.a)((e,t,r)=>{Promise.all(f.current[t].splice(0).map(([e,t])=>t)).then(()=>{var e;null==(e=m.current.shift())||e()}).then(()=>r(t))});return Object(s.useMemo)(()=>({children:a,register:p,unregister:u,onStart:_,onStop:w,wait:b,chains:f}),[p,u,a,_,w,f,b])}function k(){}E.displayName="NestingContext";let F=["beforeEnter","afterEnter","beforeLeave","afterLeave"];function T(e){var t;let r={};for(let s of F)r[s]=null!=(t=e[s])?t:k;return r}let L=n.a.RenderStrategy,P=Object(n.d)((function(e,t){let{beforeEnter:r,afterEnter:g,beforeLeave:v,afterLeave:k,enter:F,enterFrom:P,enterTo:R,entered:I,leave:N,leaveFrom:M,leaveTo:A,...C}=e,$=Object(s.useRef)(null),D=Object(p.a)($,t),V=C.unmount?n.b.Unmount:n.b.Hidden,{show:B,appear:U,initial:z}=function(){let e=Object(s.useContext)(j);if(null===e)throw new Error("A is used but it is missing a parent or .");return e}(),[q,W]=Object(s.useState)(B?"visible":"hidden"),H=function(){let e=Object(s.useContext)(E);if(null===e)throw new Error("A is used but it is missing a parent or .");return e}(),{register:G,unregister:Y}=H,K=Object(s.useRef)(null);Object(s.useEffect)(()=>G($),[G,$]),Object(s.useEffect)(()=>{if(V===n.b.Hidden&&$.current)return B&&"visible"!==q?void W("visible"):Object(i.a)(q,{hidden:()=>Y($),visible:()=>G($)})},[q,$,G,Y,B,V]);let Q=Object(d.a)({enter:O(F),enterFrom:O(P),enterTo:O(R),entered:O(I),leave:O(N),leaveFrom:O(M),leaveTo:O(A)}),J=function(e){let t=Object(s.useRef)(T(e));return Object(s.useEffect)(()=>{t.current=T(e)},[e]),t}({beforeEnter:r,afterEnter:g,beforeLeave:v,afterLeave:k}),X=Object(u.a)();Object(s.useEffect)(()=>{if(X&&"visible"===q&&null===$.current)throw new Error("Did you forget to passthrough the `ref` to the actual DOM node?")},[$,q,X]);let Z=z&&!U,ee=!X||Z||K.current===B?"idle":B?"enter":"leave",te=Object(y.a)(e=>Object(i.a)(e,{enter:()=>J.current.beforeEnter(),leave:()=>J.current.beforeLeave(),idle:()=>{}})),re=Object(y.a)(e=>Object(i.a)(e,{enter:()=>J.current.afterEnter(),leave:()=>J.current.afterLeave(),idle:()=>{}})),se=S(()=>{W("hidden"),Y($)},H);(function({container:e,direction:t,classes:r,onStart:s,onStop:a}){let n=c(),o=Object(h.a)(),u=Object(d.a)(t);Object(l.a)(()=>{let t=Object(m.a)();o.add(t.dispose);let l=e.current;if(l&&"idle"!==u.current&&n.current)return t.dispose(),s.current(u.current),t.add(function(e,t,r,s){let a=r?"enter":"leave",n=Object(m.a)(),o=void 0!==s?function(e){let t={called:!1};return(...r)=>{if(!t.called)return t.called=!0,e(...r)}}(s):()=>{};"enter"===a&&(e.removeAttribute("hidden"),e.style.display="");let l=Object(i.a)(a,{enter:()=>t.enter,leave:()=>t.leave}),c=Object(i.a)(a,{enter:()=>t.enterTo,leave:()=>t.leaveTo}),d=Object(i.a)(a,{enter:()=>t.enterFrom,leave:()=>t.leaveFrom});return f(e,...t.enter,...t.enterTo,...t.enterFrom,...t.leave,...t.leaveFrom,...t.leaveTo,...t.entered),b(e,...l,...d),n.nextFrame(()=>{f(e,...d),b(e,...c),function(e,t){let r=Object(m.a)();if(!e)return r.dispose;let{transitionDuration:s,transitionDelay:a}=getComputedStyle(e),[n,o]=[s,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(n+o!==0){let s=r.addEventListener(e,"transitionend",e=>{e.target===e.currentTarget&&(t(),s())})}else t();r.add(()=>t()),r.dispose}(e,()=>(f(e,...l),b(e,...t.entered),o()))}),n.dispose}(l,r.current,"enter"===u.current,()=>{t.dispose(),a.current(u.current)})),t.dispose},[t])})({container:$,classes:Q,direction:ee,onStart:Object(d.a)(e=>{se.onStart($,e,te)}),onStop:Object(d.a)(e=>{se.onStop($,e,re),"leave"===e&&!x(se)&&(W("hidden"),Y($))})}),Object(s.useEffect)(()=>{!Z||(V===n.b.Hidden?K.current=null:K.current=B)},[B,Z,q]);let ae=C,ne={ref:D};return U&&B&&w.a.isServer&&(ae={...ae,className:Object(_.a)(C.className,...Q.current.enter,...Q.current.enterFrom)}),a.a.createElement(E.Provider,{value:se},a.a.createElement(o.a,{value:Object(i.a)(q,{visible:o.b.Open,hidden:o.b.Closed})},Object(n.e)({ourProps:ne,theirProps:ae,defaultTag:"div",features:L,visible:"visible"===q,name:"Transition.Child"})))})),R=Object(n.d)((function(e,t){let{show:r,appear:c=!1,unmount:d,...m}=e,b=Object(s.useRef)(null),f=Object(p.a)(b,t);Object(u.a)();let h=Object(o.c)();if(void 0===r&&null!==h&&(r=Object(i.a)(h,{[o.b.Open]:!0,[o.b.Closed]:!1})),![!0,!1].includes(r))throw new Error("A is used but it is missing a `show={true | false}` prop.");let[y,_]=Object(s.useState)(r?"visible":"hidden"),w=S(()=>{_("hidden")}),[O,g]=Object(s.useState)(!0),v=Object(s.useRef)([r]);Object(l.a)(()=>{!1!==O&&v.current[v.current.length-1]!==r&&(v.current.push(r),g(!1))},[v,r]);let k=Object(s.useMemo)(()=>({show:r,appear:c,initial:O}),[r,c,O]);Object(s.useEffect)(()=>{if(r)_("visible");else if(x(w)){let e=b.current;if(!e)return;let t=e.getBoundingClientRect();0===t.x&&0===t.y&&0===t.width&&0===t.height&&_("hidden")}else _("hidden")},[r,w]);let F={unmount:d};return a.a.createElement(E.Provider,{value:w},a.a.createElement(j.Provider,{value:k},Object(n.e)({ourProps:{...F,as:s.Fragment,children:a.a.createElement(P,{ref:f,...F,...m})},theirProps:{},defaultTag:s.Fragment,features:L,visible:"visible"===y,name:"Transition"})))})),I=Object(n.d)((function(e,t){let r=null!==Object(s.useContext)(j),n=null!==Object(o.c)();return a.a.createElement(a.a.Fragment,null,!r&&n?a.a.createElement(R,{ref:t,...e}):a.a.createElement(P,{ref:t,...e}))})),N=Object.assign(R,{Child:I,Root:R})},,,,,,,function(e,t,r){"use strict";r.d(t,"a",(function(){return K}));var s=r(3),a=r.n(s),n=r(126),o=r(81),i=r(23),l=r(92),c=r(33),d=r(50),u=r(187),p=r(184),m=r(71),b=r(119),f=r(36),h=r(59),y=r(26),_=r(183),w=r(35),O=r(182),j=r(104),g=r(152),v=r(48),E=r(37),x=r(181);function S(e,t){let r=Object(s.useRef)([]),a=Object(i.a)(e);Object(s.useEffect)(()=>{let e=[...r.current];for(let[s,n]of t.entries())if(r.current[s]!==n){let s=a(t,e);return r.current=t,s}},[a,...t])}var k,F,T=r(185),L=((F=L||{})[F.Open=0]="Open",F[F.Closed=1]="Closed",F),P=(e=>(e[e.Single=0]="Single",e[e.Multi=1]="Multi",e))(P||{}),R=(e=>(e[e.Pointer=0]="Pointer",e[e.Other=1]="Other",e))(R||{}),I=((k=I||{})[k.OpenCombobox=0]="OpenCombobox",k[k.CloseCombobox=1]="CloseCombobox",k[k.GoToOption=2]="GoToOption",k[k.RegisterOption=3]="RegisterOption",k[k.UnregisterOption=4]="UnregisterOption",k[k.RegisterLabel=5]="RegisterLabel",k);function N(e,t=(e=>e)){let r=null!==e.activeOptionIndex?e.options[e.activeOptionIndex]:null,s=Object(j.c)(t(e.options.slice()),e=>e.dataRef.current.domRef.current),a=r?s.indexOf(r):null;return-1===a&&(a=null),{options:s,activeOptionIndex:a}}let M={1:e=>e.dataRef.current.disabled||1===e.comboboxState?e:{...e,activeOptionIndex:null,comboboxState:1},0(e){if(e.dataRef.current.disabled||0===e.comboboxState)return e;let t=e.activeOptionIndex,{isSelected:r}=e.dataRef.current,s=e.options.findIndex(e=>r(e.dataRef.current.value));return-1!==s&&(t=s),{...e,comboboxState:0,activeOptionIndex:t}},2(e,t){var r;if(e.dataRef.current.disabled||e.dataRef.current.optionsRef.current&&!e.dataRef.current.optionsPropsRef.current.static&&1===e.comboboxState)return e;let s=N(e);if(null===s.activeOptionIndex){let e=s.options.findIndex(e=>!e.dataRef.current.disabled);-1!==e&&(s.activeOptionIndex=e)}let a=Object(f.b)(t,{resolveItems:()=>s.options,resolveActiveIndex:()=>s.activeOptionIndex,resolveId:e=>e.id,resolveDisabled:e=>e.dataRef.current.disabled});return{...e,...s,activeOptionIndex:a,activationTrigger:null!=(r=t.trigger)?r:1}},3:(e,t)=>{let r={id:t.id,dataRef:t.dataRef},s=N(e,e=>[...e,r]);null===e.activeOptionIndex&&e.dataRef.current.isSelected(t.dataRef.current.value)&&(s.activeOptionIndex=s.options.indexOf(r));let a={...e,...s,activationTrigger:1};return e.dataRef.current.__demoMode&&void 0===e.dataRef.current.value&&(a.activeOptionIndex=0),a},4:(e,t)=>{let r=N(e,e=>{let r=e.findIndex(e=>e.id===t.id);return-1!==r&&e.splice(r,1),e});return{...e,...r,activationTrigger:1}},5:(e,t)=>({...e,labelId:t.id})},A=Object(s.createContext)(null);function C(e){let t=Object(s.useContext)(A);if(null===t){let t=new Error(`<${e} /> is missing a parent component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,C),t}return t}A.displayName="ComboboxActionsContext";let $=Object(s.createContext)(null);function D(e){let t=Object(s.useContext)($);if(null===t){let t=new Error(`<${e} /> is missing a parent component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,D),t}return t}function V(e,t){return Object(w.a)(t.type,M,e,t)}$.displayName="ComboboxDataContext";let B=s.Fragment,U=Object(y.d)((function(e,t){let{value:r,defaultValue:n,onChange:l,name:d,by:p=((e,t)=>e===t),disabled:m=!1,__demoMode:b=!1,nullable:h=!1,multiple:_=!1,...j}=e,[E=(_?[]:void 0),S]=Object(x.a)(r,l,n),[k,F]=Object(s.useReducer)(V,{dataRef:Object(s.createRef)(),comboboxState:b?0:1,options:[],activeOptionIndex:null,activationTrigger:1,labelId:null}),T=Object(s.useRef)(!1),L=Object(s.useRef)({static:!1,hold:!1}),P=Object(s.useRef)(null),R=Object(s.useRef)(null),I=Object(s.useRef)(null),N=Object(s.useRef)(null),M=Object(i.a)("string"==typeof p?(e,t)=>{let r=p;return(null==e?void 0:e[r])===(null==t?void 0:t[r])}:p),C=Object(s.useCallback)(e=>Object(w.a)(D.mode,{1:()=>E.some(t=>M(t,e)),0:()=>M(E,e)}),[E]),D=Object(s.useMemo)(()=>({...k,optionsPropsRef:L,labelRef:P,inputRef:R,buttonRef:I,optionsRef:N,value:E,defaultValue:n,disabled:m,mode:_?1:0,get activeOptionIndex(){if(T.current&&null===k.activeOptionIndex&&k.options.length>0){let e=k.options.findIndex(e=>!e.dataRef.current.disabled);if(-1!==e)return e}return k.activeOptionIndex},compare:M,isSelected:C,nullable:h,__demoMode:b}),[E,n,m,_,h,b,k]);Object(c.a)(()=>{k.dataRef.current=D},[D]),Object(u.a)([D.buttonRef,D.inputRef,D.optionsRef],()=>J.closeCombobox(),0===D.comboboxState);let U=Object(s.useMemo)(()=>({open:0===D.comboboxState,disabled:m,activeIndex:D.activeOptionIndex,activeOption:null===D.activeOptionIndex?null:D.options[D.activeOptionIndex].dataRef.current.value,value:E}),[D,m,E]),z=Object(i.a)(e=>{let t=D.options.find(t=>t.id===e);!t||Q(t.dataRef.current.value)}),q=Object(i.a)(()=>{if(null!==D.activeOptionIndex){let{dataRef:e,id:t}=D.options[D.activeOptionIndex];Q(e.current.value),J.goToOption(f.a.Specific,t)}}),W=Object(i.a)(()=>{F({type:0}),T.current=!0}),H=Object(i.a)(()=>{F({type:1}),T.current=!1}),G=Object(i.a)((e,t,r)=>(T.current=!1,e===f.a.Specific?F({type:2,focus:f.a.Specific,id:t,trigger:r}):F({type:2,focus:e,trigger:r}))),Y=Object(i.a)((e,t)=>(F({type:3,id:e,dataRef:t}),()=>F({type:4,id:e}))),K=Object(i.a)(e=>(F({type:5,id:e}),()=>F({type:5,id:null}))),Q=Object(i.a)(e=>Object(w.a)(D.mode,{0:()=>null==S?void 0:S(e),1(){let t=D.value.slice(),r=t.findIndex(t=>M(t,e));return-1===r?t.push(e):t.splice(r,1),null==S?void 0:S(t)}})),J=Object(s.useMemo)(()=>({onChange:Q,registerOption:Y,registerLabel:K,goToOption:G,closeCombobox:H,openCombobox:W,selectActiveOption:q,selectOption:z}),[]),X=null===t?{}:{ref:t},Z=Object(s.useRef)(null),ee=Object(o.a)();return Object(s.useEffect)(()=>{!Z.current||void 0!==n&&ee.addEventListener(Z.current,"reset",()=>{Q(n)})},[Z,Q]),a.a.createElement(A.Provider,{value:J},a.a.createElement($.Provider,{value:D},a.a.createElement(v.a,{value:Object(w.a)(D.comboboxState,{0:v.b.Open,1:v.b.Closed})},null!=d&&null!=E&&Object(O.a)({[d]:E}).map(([e,t],r)=>a.a.createElement(g.b,{features:g.a.Hidden,ref:0===r?e=>{var t;Z.current=null!=(t=null==e?void 0:e.closest("form"))?t:null}:void 0,...Object(y.c)({key:e,as:"input",type:"hidden",hidden:!0,readOnly:!0,name:e,value:t})})),Object(y.e)({ourProps:X,theirProps:j,slot:U,defaultTag:B,name:"Combobox"}))))})),z=Object(y.d)((function(e,t){var r,a,c,d;let u=Object(l.a)(),{id:p="headlessui-combobox-input-"+u,onChange:b,displayValue:h,type:_="text",...O}=e,j=D("Combobox.Input"),g=C("Combobox.Input"),v=Object(m.a)(j.inputRef,t),x=Object(s.useRef)(!1),k=Object(o.a)();var F;S(([e,t],[r,s])=>{x.current||!j.inputRef.current||(0===s&&1===t||e!==r)&&(j.inputRef.current.value=e)},["function"==typeof h&&void 0!==j.value?null!=(F=h(j.value))?F:"":"string"==typeof j.value?j.value:"",j.comboboxState]),S(([e],[t])=>{if(0===e&&1===t){let e=j.inputRef.current;if(!e)return;let t=e.value,{selectionStart:r,selectionEnd:s,selectionDirection:a}=e;e.value="",e.value=t,null!==a?e.setSelectionRange(r,s,a):e.setSelectionRange(r,s)}},[j.comboboxState]);let T=Object(s.useRef)(!1),L=Object(i.a)(()=>{T.current=!0}),P=Object(i.a)(()=>{setTimeout(()=>{T.current=!1})}),R=Object(i.a)(e=>{switch(x.current=!0,e.key){case E.a.Backspace:case E.a.Delete:if(0!==j.mode||!j.nullable)return;let t=e.currentTarget;k.requestAnimationFrame(()=>{""===t.value&&(g.onChange(null),j.optionsRef.current&&(j.optionsRef.current.scrollTop=0),g.goToOption(f.a.Nothing))});break;case E.a.Enter:if(x.current=!1,0!==j.comboboxState||T.current)return;if(e.preventDefault(),e.stopPropagation(),null===j.activeOptionIndex)return void g.closeCombobox();g.selectActiveOption(),0===j.mode&&g.closeCombobox();break;case E.a.ArrowDown:return x.current=!1,e.preventDefault(),e.stopPropagation(),Object(w.a)(j.comboboxState,{0:()=>{g.goToOption(f.a.Next)},1:()=>{g.openCombobox()}});case E.a.ArrowUp:return x.current=!1,e.preventDefault(),e.stopPropagation(),Object(w.a)(j.comboboxState,{0:()=>{g.goToOption(f.a.Previous)},1:()=>{g.openCombobox(),k.nextFrame(()=>{j.value||g.goToOption(f.a.Last)})}});case E.a.Home:if(e.shiftKey)break;return x.current=!1,e.preventDefault(),e.stopPropagation(),g.goToOption(f.a.First);case E.a.PageUp:return x.current=!1,e.preventDefault(),e.stopPropagation(),g.goToOption(f.a.First);case E.a.End:if(e.shiftKey)break;return x.current=!1,e.preventDefault(),e.stopPropagation(),g.goToOption(f.a.Last);case E.a.PageDown:return x.current=!1,e.preventDefault(),e.stopPropagation(),g.goToOption(f.a.Last);case E.a.Escape:return x.current=!1,0!==j.comboboxState?void 0:(e.preventDefault(),j.optionsRef.current&&!j.optionsPropsRef.current.static&&e.stopPropagation(),g.closeCombobox());case E.a.Tab:if(x.current=!1,0!==j.comboboxState)return;0===j.mode&&g.selectActiveOption(),g.closeCombobox()}}),I=Object(i.a)(e=>{g.openCombobox(),null==b||b(e)}),N=Object(i.a)(()=>{x.current=!1}),M=Object(n.a)(()=>{if(j.labelId)return[j.labelId].join(" ")},[j.labelId]),A=Object(s.useMemo)(()=>({open:0===j.comboboxState,disabled:j.disabled}),[j]),$={ref:v,id:p,role:"combobox",type:_,"aria-controls":null==(r=j.optionsRef.current)?void 0:r.id,"aria-expanded":j.disabled?void 0:0===j.comboboxState,"aria-activedescendant":null===j.activeOptionIndex||null==(a=j.options[j.activeOptionIndex])?void 0:a.id,"aria-multiselectable":1===j.mode||void 0,"aria-labelledby":M,"aria-autocomplete":"list",defaultValue:null!=(d=null!=(c=e.defaultValue)?c:void 0!==j.defaultValue?null==h?void 0:h(j.defaultValue):null)?d:j.defaultValue,disabled:j.disabled,onCompositionStart:L,onCompositionEnd:P,onKeyDown:R,onChange:I,onBlur:N};return Object(y.e)({ourProps:$,theirProps:O,slot:A,defaultTag:"input",name:"Combobox.Input"})})),q=Object(y.d)((function(e,t){var r;let a=D("Combobox.Button"),c=C("Combobox.Button"),d=Object(m.a)(a.buttonRef,t),u=Object(l.a)(),{id:b="headlessui-combobox-button-"+u,...h}=e,w=Object(o.a)(),O=Object(i.a)(e=>{switch(e.key){case E.a.ArrowDown:return e.preventDefault(),e.stopPropagation(),1===a.comboboxState&&c.openCombobox(),w.nextFrame(()=>{var e;return null==(e=a.inputRef.current)?void 0:e.focus({preventScroll:!0})});case E.a.ArrowUp:return e.preventDefault(),e.stopPropagation(),1===a.comboboxState&&(c.openCombobox(),w.nextFrame(()=>{a.value||c.goToOption(f.a.Last)})),w.nextFrame(()=>{var e;return null==(e=a.inputRef.current)?void 0:e.focus({preventScroll:!0})});case E.a.Escape:return 0!==a.comboboxState?void 0:(e.preventDefault(),a.optionsRef.current&&!a.optionsPropsRef.current.static&&e.stopPropagation(),c.closeCombobox(),w.nextFrame(()=>{var e;return null==(e=a.inputRef.current)?void 0:e.focus({preventScroll:!0})}));default:return}}),j=Object(i.a)(e=>{if(Object(_.a)(e.currentTarget))return e.preventDefault();0===a.comboboxState?c.closeCombobox():(e.preventDefault(),c.openCombobox()),w.nextFrame(()=>{var e;return null==(e=a.inputRef.current)?void 0:e.focus({preventScroll:!0})})}),g=Object(n.a)(()=>{if(a.labelId)return[a.labelId,b].join(" ")},[a.labelId,b]),v=Object(s.useMemo)(()=>({open:0===a.comboboxState,disabled:a.disabled,value:a.value}),[a]),x={ref:d,id:b,type:Object(p.a)(e,a.buttonRef),tabIndex:-1,"aria-haspopup":"listbox","aria-controls":null==(r=a.optionsRef.current)?void 0:r.id,"aria-expanded":a.disabled?void 0:0===a.comboboxState,"aria-labelledby":g,disabled:a.disabled,onClick:j,onKeyDown:O};return Object(y.e)({ourProps:x,theirProps:h,slot:v,defaultTag:"button",name:"Combobox.Button"})})),W=Object(y.d)((function(e,t){let r=Object(l.a)(),{id:a="headlessui-combobox-label-"+r,...n}=e,o=D("Combobox.Label"),d=C("Combobox.Label"),u=Object(m.a)(o.labelRef,t);Object(c.a)(()=>d.registerLabel(a),[a]);let p=Object(i.a)(()=>{var e;return null==(e=o.inputRef.current)?void 0:e.focus({preventScroll:!0})}),b=Object(s.useMemo)(()=>({open:0===o.comboboxState,disabled:o.disabled}),[o]);return Object(y.e)({ourProps:{ref:u,id:a,onClick:p},theirProps:n,slot:b,defaultTag:"label",name:"Combobox.Label"})})),H=y.a.RenderStrategy|y.a.Static,G=Object(y.d)((function(e,t){let r=Object(l.a)(),{id:a="headlessui-combobox-options-"+r,hold:o=!1,...i}=e,d=D("Combobox.Options"),u=Object(m.a)(d.optionsRef,t),p=Object(v.c)(),f=null!==p?p===v.b.Open:0===d.comboboxState;Object(c.a)(()=>{var t;d.optionsPropsRef.current.static=null!=(t=e.static)&&t},[d.optionsPropsRef,e.static]),Object(c.a)(()=>{d.optionsPropsRef.current.hold=o},[d.optionsPropsRef,o]),function({container:e,accept:t,walk:r,enabled:a=!0}){let n=Object(s.useRef)(t),o=Object(s.useRef)(r);Object(s.useEffect)(()=>{n.current=t,o.current=r},[t,r]),Object(c.a)(()=>{if(!e||!a)return;let t=Object(b.a)(e);if(!t)return;let r=n.current,s=o.current,i=Object.assign(e=>r(e),{acceptNode:r}),l=t.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,i,!1);for(;l.nextNode();)s(l.currentNode)},[e,a,n,o])}({container:d.optionsRef.current,enabled:0===d.comboboxState,accept:e=>"option"===e.getAttribute("role")?NodeFilter.FILTER_REJECT:e.hasAttribute("role")?NodeFilter.FILTER_SKIP:NodeFilter.FILTER_ACCEPT,walk(e){e.setAttribute("role","none")}});let h=Object(n.a)(()=>{var e,t;return null!=(t=d.labelId)?t:null==(e=d.buttonRef.current)?void 0:e.id},[d.labelId,d.buttonRef.current]),_=Object(s.useMemo)(()=>({open:0===d.comboboxState}),[d]);return Object(y.e)({ourProps:{"aria-labelledby":h,role:"listbox",id:a,ref:u},theirProps:i,slot:_,defaultTag:"ul",features:H,visible:f,name:"Combobox.Options"})})),Y=Object(y.d)((function(e,t){var r,a;let n=Object(l.a)(),{id:o="headlessui-combobox-option-"+n,disabled:u=!1,value:p,...b}=e,_=D("Combobox.Option"),w=C("Combobox.Option"),O=null!==_.activeOptionIndex&&_.options[_.activeOptionIndex].id===o,j=_.isSelected(p),g=Object(s.useRef)(null),v=Object(d.a)({disabled:u,value:p,domRef:g,textValue:null==(a=null==(r=g.current)?void 0:r.textContent)?void 0:a.toLowerCase()}),E=Object(m.a)(t,g),x=Object(i.a)(()=>w.selectOption(o));Object(c.a)(()=>w.registerOption(o,v),[v,o]);let S=Object(s.useRef)(!_.__demoMode);Object(c.a)(()=>{if(!_.__demoMode)return;let e=Object(h.a)();return e.requestAnimationFrame(()=>{S.current=!0}),e.dispose},[]),Object(c.a)(()=>{if(0!==_.comboboxState||!O||!S.current||0===_.activationTrigger)return;let e=Object(h.a)();return e.requestAnimationFrame(()=>{var e,t;null==(t=null==(e=g.current)?void 0:e.scrollIntoView)||t.call(e,{block:"nearest"})}),e.dispose},[g,O,_.comboboxState,_.activationTrigger,_.activeOptionIndex]);let k=Object(i.a)(e=>{if(u)return e.preventDefault();x(),0===_.mode&&w.closeCombobox()}),F=Object(i.a)(()=>{if(u)return w.goToOption(f.a.Nothing);w.goToOption(f.a.Specific,o)}),L=Object(T.a)(),P=Object(i.a)(e=>L.update(e)),R=Object(i.a)(e=>{!L.wasMoved(e)||u||O||w.goToOption(f.a.Specific,o,0)}),I=Object(i.a)(e=>{!L.wasMoved(e)||u||!O||_.optionsPropsRef.current.hold||w.goToOption(f.a.Nothing)}),N=Object(s.useMemo)(()=>({active:O,selected:j,disabled:u}),[O,j,u]);return Object(y.e)({ourProps:{id:o,ref:E,role:"option",tabIndex:!0===u?void 0:-1,"aria-disabled":!0===u||void 0,"aria-selected":j,disabled:void 0,onClick:k,onFocus:F,onPointerEnter:P,onMouseEnter:P,onPointerMove:R,onMouseMove:R,onPointerLeave:I,onMouseLeave:I},theirProps:b,slot:N,defaultTag:"li",name:"Combobox.Option"})})),K=Object.assign(U,{Input:z,Button:q,Label:W,Options:G,Option:Y})}]);