@goodhood-web/nebenan-core 1.1.0-development.35 → 1.1.0-development.36

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (4) hide show
  1. package/index.js +14 -30
  2. package/index.mjs +3925 -7326
  3. package/package.json +1 -1
  4. package/style.css +1 -1
package/index.js CHANGED
@@ -1,4 +1,4 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const q=require("react"),he=require("@goodhood-web/ui"),Ws=require("react-dom");function Ys(t){const e=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const r in t)if(r!=="default"){const n=Object.getOwnPropertyDescriptor(t,r);Object.defineProperty(e,r,n.get?n:{enumerable:!0,get:()=>t[r]})}}return e.default=t,Object.freeze(e)}const ve=Ys(q);var Ke=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Ro(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var sa={exports:{}},Qt={};/**
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const N=require("react"),$=require("@goodhood-web/ui");var be=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function ki(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var sn={exports:{}},Vt={};/**
2
2
  * @license React
3
3
  * react-jsx-runtime.production.min.js
4
4
  *
@@ -6,7 +6,7 @@
6
6
  *
7
7
  * This source code is licensed under the MIT license found in the
8
8
  * LICENSE file in the root directory of this source tree.
9
- */var Ka;function Xs(){if(Ka)return Qt;Ka=1;var t=q,e=Symbol.for("react.element"),r=Symbol.for("react.fragment"),n=Object.prototype.hasOwnProperty,a=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,i={key:!0,ref:!0,__self:!0,__source:!0};function o(s,c,u){var f,l={},p=null,v=null;u!==void 0&&(p=""+u),c.key!==void 0&&(p=""+c.key),c.ref!==void 0&&(v=c.ref);for(f in c)n.call(c,f)&&!i.hasOwnProperty(f)&&(l[f]=c[f]);if(s&&s.defaultProps)for(f in c=s.defaultProps,c)l[f]===void 0&&(l[f]=c[f]);return{$$typeof:e,type:s,key:p,ref:v,props:l,_owner:a.current}}return Qt.Fragment=r,Qt.jsx=o,Qt.jsxs=o,Qt}var Jt={};/**
9
+ */var Mn;function Bi(){if(Mn)return Vt;Mn=1;var e=N,t=Symbol.for("react.element"),r=Symbol.for("react.fragment"),n=Object.prototype.hasOwnProperty,a=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,i={key:!0,ref:!0,__self:!0,__source:!0};function s(u,f,c){var _,b={},E=null,k=null;c!==void 0&&(E=""+c),f.key!==void 0&&(E=""+f.key),f.ref!==void 0&&(k=f.ref);for(_ in f)n.call(f,_)&&!i.hasOwnProperty(_)&&(b[_]=f[_]);if(u&&u.defaultProps)for(_ in f=u.defaultProps,f)b[_]===void 0&&(b[_]=f[_]);return{$$typeof:t,type:u,key:E,ref:k,props:b,_owner:a.current}}return Vt.Fragment=r,Vt.jsx=s,Vt.jsxs=s,Vt}var Ut={};/**
10
10
  * @license React
11
11
  * react-jsx-runtime.development.js
12
12
  *
@@ -14,50 +14,34 @@
14
14
  *
15
15
  * This source code is licensed under the MIT license found in the
16
16
  * LICENSE file in the root directory of this source tree.
17
- */var Fa;function Qs(){return Fa||(Fa=1,process.env.NODE_ENV!=="production"&&function(){var t=q,e=Symbol.for("react.element"),r=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),a=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),o=Symbol.for("react.provider"),s=Symbol.for("react.context"),c=Symbol.for("react.forward_ref"),u=Symbol.for("react.suspense"),f=Symbol.for("react.suspense_list"),l=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),v=Symbol.for("react.offscreen"),C=Symbol.iterator,A="@@iterator";function w(_){if(_===null||typeof _!="object")return null;var V=C&&_[C]||_[A];return typeof V=="function"?V:null}var y=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function x(_){{for(var V=arguments.length,W=new Array(V>1?V-1:0),fe=1;fe<V;fe++)W[fe-1]=arguments[fe];d("error",_,W)}}function d(_,V,W){{var fe=y.ReactDebugCurrentFrame,we=fe.getStackAddendum();we!==""&&(V+="%s",W=W.concat([we]));var Ne=W.map(function(Se){return String(Se)});Ne.unshift("Warning: "+V),Function.prototype.apply.call(console[_],console,Ne)}}var m=!1,E=!1,R=!1,S=!1,N=!1,U;U=Symbol.for("react.module.reference");function k(_){return!!(typeof _=="string"||typeof _=="function"||_===n||_===i||N||_===a||_===u||_===f||S||_===v||m||E||R||typeof _=="object"&&_!==null&&(_.$$typeof===p||_.$$typeof===l||_.$$typeof===o||_.$$typeof===s||_.$$typeof===c||_.$$typeof===U||_.getModuleId!==void 0))}function J(_,V,W){var fe=_.displayName;if(fe)return fe;var we=V.displayName||V.name||"";return we!==""?W+"("+we+")":W}function X(_){return _.displayName||"Context"}function $(_){if(_==null)return null;if(typeof _.tag=="number"&&x("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof _=="function")return _.displayName||_.name||null;if(typeof _=="string")return _;switch(_){case n:return"Fragment";case r:return"Portal";case i:return"Profiler";case a:return"StrictMode";case u:return"Suspense";case f:return"SuspenseList"}if(typeof _=="object")switch(_.$$typeof){case s:var V=_;return X(V)+".Consumer";case o:var W=_;return X(W._context)+".Provider";case c:return J(_,_.render,"ForwardRef");case l:var fe=_.displayName||null;return fe!==null?fe:$(_.type)||"Memo";case p:{var we=_,Ne=we._payload,Se=we._init;try{return $(Se(Ne))}catch{return null}}}return null}var F=Object.assign,ee=0,le,be,_e,te,b,D,re;function I(){}I.__reactDisabledLog=!0;function oe(){{if(ee===0){le=console.log,be=console.info,_e=console.warn,te=console.error,b=console.group,D=console.groupCollapsed,re=console.groupEnd;var _={configurable:!0,enumerable:!0,value:I,writable:!0};Object.defineProperties(console,{info:_,log:_,warn:_,error:_,group:_,groupCollapsed:_,groupEnd:_})}ee++}}function ne(){{if(ee--,ee===0){var _={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:F({},_,{value:le}),info:F({},_,{value:be}),warn:F({},_,{value:_e}),error:F({},_,{value:te}),group:F({},_,{value:b}),groupCollapsed:F({},_,{value:D}),groupEnd:F({},_,{value:re})})}ee<0&&x("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var ge=y.ReactCurrentDispatcher,O;function ie(_,V,W){{if(O===void 0)try{throw Error()}catch(we){var fe=we.stack.trim().match(/\n( *(at )?)/);O=fe&&fe[1]||""}return`
18
- `+O+_}}var pe=!1,Ee;{var T=typeof WeakMap=="function"?WeakMap:Map;Ee=new T}function g(_,V){if(!_||pe)return"";{var W=Ee.get(_);if(W!==void 0)return W}var fe;pe=!0;var we=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var Ne;Ne=ge.current,ge.current=null,oe();try{if(V){var Se=function(){throw Error()};if(Object.defineProperty(Se.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(Se,[])}catch(Ze){fe=Ze}Reflect.construct(_,[],Se)}else{try{Se.call()}catch(Ze){fe=Ze}_.call(Se.prototype)}}else{try{throw Error()}catch(Ze){fe=Ze}_()}}catch(Ze){if(Ze&&fe&&typeof Ze.stack=="string"){for(var Ce=Ze.stack.split(`
19
- `),Ge=fe.stack.split(`
20
- `),Be=Ce.length-1,He=Ge.length-1;Be>=1&&He>=0&&Ce[Be]!==Ge[He];)He--;for(;Be>=1&&He>=0;Be--,He--)if(Ce[Be]!==Ge[He]){if(Be!==1||He!==1)do if(Be--,He--,He<0||Ce[Be]!==Ge[He]){var Ye=`
21
- `+Ce[Be].replace(" at new "," at ");return _.displayName&&Ye.includes("<anonymous>")&&(Ye=Ye.replace("<anonymous>",_.displayName)),typeof _=="function"&&Ee.set(_,Ye),Ye}while(Be>=1&&He>=0);break}}}finally{pe=!1,ge.current=Ne,ne(),Error.prepareStackTrace=we}var Vt=_?_.displayName||_.name:"",Tt=Vt?ie(Vt):"";return typeof _=="function"&&Ee.set(_,Tt),Tt}function ue(_,V,W){return g(_,!1)}function Z(_){var V=_.prototype;return!!(V&&V.isReactComponent)}function Y(_,V,W){if(_==null)return"";if(typeof _=="function")return g(_,Z(_));if(typeof _=="string")return ie(_);switch(_){case u:return ie("Suspense");case f:return ie("SuspenseList")}if(typeof _=="object")switch(_.$$typeof){case c:return ue(_.render);case l:return Y(_.type,V,W);case p:{var fe=_,we=fe._payload,Ne=fe._init;try{return Y(Ne(we),V,W)}catch{}}}return""}var Oe=Object.prototype.hasOwnProperty,ke={},Le=y.ReactDebugCurrentFrame;function Re(_){if(_){var V=_._owner,W=Y(_.type,_._source,V?V.type:null);Le.setExtraStackFrame(W)}else Le.setExtraStackFrame(null)}function Ve(_,V,W,fe,we){{var Ne=Function.call.bind(Oe);for(var Se in _)if(Ne(_,Se)){var Ce=void 0;try{if(typeof _[Se]!="function"){var Ge=Error((fe||"React class")+": "+W+" type `"+Se+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof _[Se]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw Ge.name="Invariant Violation",Ge}Ce=_[Se](V,Se,fe,W,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(Be){Ce=Be}Ce&&!(Ce instanceof Error)&&(Re(we),x("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",fe||"React class",W,Se,typeof Ce),Re(null)),Ce instanceof Error&&!(Ce.message in ke)&&(ke[Ce.message]=!0,Re(we),x("Failed %s type: %s",W,Ce.message),Re(null))}}}var Ie=Array.isArray;function h(_){return Ie(_)}function H(_){{var V=typeof Symbol=="function"&&Symbol.toStringTag,W=V&&_[Symbol.toStringTag]||_.constructor.name||"Object";return W}}function j(_){try{return L(_),!1}catch{return!0}}function L(_){return""+_}function G(_){if(j(_))return x("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",H(_)),L(_)}var P=y.ReactCurrentOwner,B={key:!0,ref:!0,__self:!0,__source:!0},de,$e,Pe;Pe={};function St(_){if(Oe.call(_,"ref")){var V=Object.getOwnPropertyDescriptor(_,"ref").get;if(V&&V.isReactWarning)return!1}return _.ref!==void 0}function ht(_){if(Oe.call(_,"key")){var V=Object.getOwnPropertyDescriptor(_,"key").get;if(V&&V.isReactWarning)return!1}return _.key!==void 0}function wr(_,V){if(typeof _.ref=="string"&&P.current&&V&&P.current.stateNode!==V){var W=$(P.current.type);Pe[W]||(x('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',$(P.current.type),_.ref),Pe[W]=!0)}}function dn(_,V){{var W=function(){de||(de=!0,x("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",V))};W.isReactWarning=!0,Object.defineProperty(_,"key",{get:W,configurable:!0})}}function Ds(_,V){{var W=function(){$e||($e=!0,x("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",V))};W.isReactWarning=!0,Object.defineProperty(_,"ref",{get:W,configurable:!0})}}var ks=function(_,V,W,fe,we,Ne,Se){var Ce={$$typeof:e,type:_,key:V,ref:W,props:Se,_owner:Ne};return Ce._store={},Object.defineProperty(Ce._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(Ce,"_self",{configurable:!1,enumerable:!1,writable:!1,value:fe}),Object.defineProperty(Ce,"_source",{configurable:!1,enumerable:!1,writable:!1,value:we}),Object.freeze&&(Object.freeze(Ce.props),Object.freeze(Ce)),Ce};function $s(_,V,W,fe,we){{var Ne,Se={},Ce=null,Ge=null;W!==void 0&&(G(W),Ce=""+W),ht(V)&&(G(V.key),Ce=""+V.key),St(V)&&(Ge=V.ref,wr(V,we));for(Ne in V)Oe.call(V,Ne)&&!B.hasOwnProperty(Ne)&&(Se[Ne]=V[Ne]);if(_&&_.defaultProps){var Be=_.defaultProps;for(Ne in Be)Se[Ne]===void 0&&(Se[Ne]=Be[Ne])}if(Ce||Ge){var He=typeof _=="function"?_.displayName||_.name||"Unknown":_;Ce&&dn(Se,He),Ge&&Ds(Se,He)}return ks(_,Ce,Ge,we,fe,P.current,Se)}}var fn=y.ReactCurrentOwner,Da=y.ReactDebugCurrentFrame;function Ht(_){if(_){var V=_._owner,W=Y(_.type,_._source,V?V.type:null);Da.setExtraStackFrame(W)}else Da.setExtraStackFrame(null)}var pn;pn=!1;function hn(_){return typeof _=="object"&&_!==null&&_.$$typeof===e}function ka(){{if(fn.current){var _=$(fn.current.type);if(_)return`
17
+ */var $n;function Mi(){return $n||($n=1,process.env.NODE_ENV!=="production"&&function(){var e=N,t=Symbol.for("react.element"),r=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),a=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),s=Symbol.for("react.provider"),u=Symbol.for("react.context"),f=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),_=Symbol.for("react.suspense_list"),b=Symbol.for("react.memo"),E=Symbol.for("react.lazy"),k=Symbol.for("react.offscreen"),R=Symbol.iterator,ee="@@iterator";function te(o){if(o===null||typeof o!="object")return null;var y=R&&o[R]||o[ee];return typeof y=="function"?y:null}var m=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function T(o){{for(var y=arguments.length,I=new Array(y>1?y-1:0),V=1;V<y;V++)I[V-1]=arguments[V];B("error",o,I)}}function B(o,y,I){{var V=m.ReactDebugCurrentFrame,re=V.getStackAddendum();re!==""&&(y+="%s",I=I.concat([re]));var se=I.map(function(J){return String(J)});se.unshift("Warning: "+y),Function.prototype.apply.call(console[o],console,se)}}var P=!1,g=!1,H=!1,O=!1,ie=!1,Ie;Ie=Symbol.for("react.module.reference");function Oe(o){return!!(typeof o=="string"||typeof o=="function"||o===n||o===i||ie||o===a||o===c||o===_||O||o===k||P||g||H||typeof o=="object"&&o!==null&&(o.$$typeof===E||o.$$typeof===b||o.$$typeof===s||o.$$typeof===u||o.$$typeof===f||o.$$typeof===Ie||o.getModuleId!==void 0))}function De(o,y,I){var V=o.displayName;if(V)return V;var re=y.displayName||y.name||"";return re!==""?I+"("+re+")":I}function we(o){return o.displayName||"Context"}function D(o){if(o==null)return null;if(typeof o.tag=="number"&&T("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof o=="function")return o.displayName||o.name||null;if(typeof o=="string")return o;switch(o){case n:return"Fragment";case r:return"Portal";case i:return"Profiler";case a:return"StrictMode";case c:return"Suspense";case _:return"SuspenseList"}if(typeof o=="object")switch(o.$$typeof){case u:var y=o;return we(y)+".Consumer";case s:var I=o;return we(I._context)+".Provider";case f:return De(o,o.render,"ForwardRef");case b:var V=o.displayName||null;return V!==null?V:D(o.type)||"Memo";case E:{var re=o,se=re._payload,J=re._init;try{return D(J(se))}catch{return null}}}return null}var Q=Object.assign,ge=0,$e,Ge,Ke,Xe,l,S,G;function p(){}p.__reactDisabledLog=!0;function fe(){{if(ge===0){$e=console.log,Ge=console.info,Ke=console.warn,Xe=console.error,l=console.group,S=console.groupCollapsed,G=console.groupEnd;var o={configurable:!0,enumerable:!0,value:p,writable:!0};Object.defineProperties(console,{info:o,log:o,warn:o,error:o,group:o,groupCollapsed:o,groupEnd:o})}ge++}}function ce(){{if(ge--,ge===0){var o={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:Q({},o,{value:$e}),info:Q({},o,{value:Ge}),warn:Q({},o,{value:Ke}),error:Q({},o,{value:Xe}),group:Q({},o,{value:l}),groupCollapsed:Q({},o,{value:S}),groupEnd:Q({},o,{value:G})})}ge<0&&T("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var Ee=m.ReactCurrentDispatcher,pe;function Te(o,y,I){{if(pe===void 0)try{throw Error()}catch(re){var V=re.stack.trim().match(/\n( *(at )?)/);pe=V&&V[1]||""}return`
18
+ `+pe+o}}var _e=!1,me;{var z=typeof WeakMap=="function"?WeakMap:Map;me=new z}function C(o,y){if(!o||_e)return"";{var I=me.get(o);if(I!==void 0)return I}var V;_e=!0;var re=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var se;se=Ee.current,Ee.current=null,fe();try{if(y){var J=function(){throw Error()};if(Object.defineProperty(J.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(J,[])}catch(Ne){V=Ne}Reflect.construct(o,[],J)}else{try{J.call()}catch(Ne){V=Ne}o.call(J.prototype)}}else{try{throw Error()}catch(Ne){V=Ne}o()}}catch(Ne){if(Ne&&V&&typeof Ne.stack=="string"){for(var q=Ne.stack.split(`
19
+ `),Le=V.stack.split(`
20
+ `),he=q.length-1,ve=Le.length-1;he>=1&&ve>=0&&q[he]!==Le[ve];)ve--;for(;he>=1&&ve>=0;he--,ve--)if(q[he]!==Le[ve]){if(he!==1||ve!==1)do if(he--,ve--,ve<0||q[he]!==Le[ve]){var Be=`
21
+ `+q[he].replace(" at new "," at ");return o.displayName&&Be.includes("<anonymous>")&&(Be=Be.replace("<anonymous>",o.displayName)),typeof o=="function"&&me.set(o,Be),Be}while(he>=1&&ve>=0);break}}}finally{_e=!1,Ee.current=se,ce(),Error.prepareStackTrace=re}var Nt=o?o.displayName||o.name:"",_t=Nt?Te(Nt):"";return typeof o=="function"&&me.set(o,_t),_t}function le(o,y,I){return C(o,!1)}function Ce(o){var y=o.prototype;return!!(y&&y.isReactComponent)}function Ae(o,y,I){if(o==null)return"";if(typeof o=="function")return C(o,Ce(o));if(typeof o=="string")return Te(o);switch(o){case c:return Te("Suspense");case _:return Te("SuspenseList")}if(typeof o=="object")switch(o.$$typeof){case f:return le(o.render);case b:return Ae(o.type,y,I);case E:{var V=o,re=V._payload,se=V._init;try{return Ae(se(re),y,I)}catch{}}}return""}var ht=Object.prototype.hasOwnProperty,vr={},gr=m.ReactDebugCurrentFrame;function nt(o){if(o){var y=o._owner,I=Ae(o.type,o._source,y?y.type:null);gr.setExtraStackFrame(I)}else gr.setExtraStackFrame(null)}function $r(o,y,I,V,re){{var se=Function.call.bind(ht);for(var J in o)if(se(o,J)){var q=void 0;try{if(typeof o[J]!="function"){var Le=Error((V||"React class")+": "+I+" type `"+J+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof o[J]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw Le.name="Invariant Violation",Le}q=o[J](y,J,V,I,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(he){q=he}q&&!(q instanceof Error)&&(nt(re),T("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",V||"React class",I,J,typeof q),nt(null)),q instanceof Error&&!(q.message in vr)&&(vr[q.message]=!0,nt(re),T("Failed %s type: %s",I,q.message),nt(null))}}}var Kr=Array.isArray;function d(o){return Kr(o)}function x(o){{var y=typeof Symbol=="function"&&Symbol.toStringTag,I=y&&o[Symbol.toStringTag]||o.constructor.name||"Object";return I}}function w(o){try{return M(o),!1}catch{return!0}}function M(o){return""+o}function Z(o){if(w(o))return T("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",x(o)),M(o)}var W=m.ReactCurrentOwner,ye={key:!0,ref:!0,__self:!0,__source:!0},je,Rt,pt;pt={};function Fr(o){if(ht.call(o,"ref")){var y=Object.getOwnPropertyDescriptor(o,"ref").get;if(y&&y.isReactWarning)return!1}return o.ref!==void 0}function Hr(o){if(ht.call(o,"key")){var y=Object.getOwnPropertyDescriptor(o,"key").get;if(y&&y.isReactWarning)return!1}return o.key!==void 0}function Er(o,y){if(typeof o.ref=="string"&&W.current&&y&&W.current.stateNode!==y){var I=D(W.current.type);pt[I]||(T('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',D(W.current.type),o.ref),pt[I]=!0)}}function Vr(o,y){{var I=function(){je||(je=!0,T("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",y))};I.isReactWarning=!0,Object.defineProperty(o,"key",{get:I,configurable:!0})}}function Ti(o,y){{var I=function(){Rt||(Rt=!0,T("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",y))};I.isReactWarning=!0,Object.defineProperty(o,"ref",{get:I,configurable:!0})}}var Oi=function(o,y,I,V,re,se,J){var q={$$typeof:t,type:o,key:y,ref:I,props:J,_owner:se};return q._store={},Object.defineProperty(q._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(q,"_self",{configurable:!1,enumerable:!1,writable:!1,value:V}),Object.defineProperty(q,"_source",{configurable:!1,enumerable:!1,writable:!1,value:re}),Object.freeze&&(Object.freeze(q.props),Object.freeze(q)),q};function Ci(o,y,I,V,re){{var se,J={},q=null,Le=null;I!==void 0&&(Z(I),q=""+I),Hr(y)&&(Z(y.key),q=""+y.key),Fr(y)&&(Le=y.ref,Er(y,re));for(se in y)ht.call(y,se)&&!ye.hasOwnProperty(se)&&(J[se]=y[se]);if(o&&o.defaultProps){var he=o.defaultProps;for(se in he)J[se]===void 0&&(J[se]=he[se])}if(q||Le){var ve=typeof o=="function"?o.displayName||o.name||"Unknown":o;q&&Vr(J,ve),Le&&Ti(J,ve)}return Oi(o,q,Le,re,V,W.current,J)}}var Ur=m.ReactCurrentOwner,wn=m.ReactDebugCurrentFrame;function wt(o){if(o){var y=o._owner,I=Ae(o.type,o._source,y?y.type:null);wn.setExtraStackFrame(I)}else wn.setExtraStackFrame(null)}var Zr;Zr=!1;function Gr(o){return typeof o=="object"&&o!==null&&o.$$typeof===t}function Nn(){{if(Ur.current){var o=D(Ur.current.type);if(o)return`
22
22
 
23
- Check the render method of \``+_+"`."}return""}}function Bs(_){return""}var $a={};function Hs(_){{var V=ka();if(!V){var W=typeof _=="string"?_:_.displayName||_.name;W&&(V=`
23
+ Check the render method of \``+o+"`."}return""}}function Ai(o){return""}var Dn={};function xi(o){{var y=Nn();if(!y){var I=typeof o=="string"?o:o.displayName||o.name;I&&(y=`
24
24
 
25
- Check the top-level render call using <`+W+">.")}return V}}function Ba(_,V){{if(!_._store||_._store.validated||_.key!=null)return;_._store.validated=!0;var W=Hs(V);if($a[W])return;$a[W]=!0;var fe="";_&&_._owner&&_._owner!==fn.current&&(fe=" It was passed a child from "+$(_._owner.type)+"."),Ht(_),x('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',W,fe),Ht(null)}}function Ha(_,V){{if(typeof _!="object")return;if(h(_))for(var W=0;W<_.length;W++){var fe=_[W];hn(fe)&&Ba(fe,V)}else if(hn(_))_._store&&(_._store.validated=!0);else if(_){var we=w(_);if(typeof we=="function"&&we!==_.entries)for(var Ne=we.call(_),Se;!(Se=Ne.next()).done;)hn(Se.value)&&Ba(Se.value,V)}}}function Vs(_){{var V=_.type;if(V==null||typeof V=="string")return;var W;if(typeof V=="function")W=V.propTypes;else if(typeof V=="object"&&(V.$$typeof===c||V.$$typeof===l))W=V.propTypes;else return;if(W){var fe=$(V);Ve(W,_.props,"prop",fe,_)}else if(V.PropTypes!==void 0&&!pn){pn=!0;var we=$(V);x("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",we||"Unknown")}typeof V.getDefaultProps=="function"&&!V.getDefaultProps.isReactClassApproved&&x("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function Us(_){{for(var V=Object.keys(_.props),W=0;W<V.length;W++){var fe=V[W];if(fe!=="children"&&fe!=="key"){Ht(_),x("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",fe),Ht(null);break}}_.ref!==null&&(Ht(_),x("Invalid attribute `ref` supplied to `React.Fragment`."),Ht(null))}}var Va={};function Ua(_,V,W,fe,we,Ne){{var Se=k(_);if(!Se){var Ce="";(_===void 0||typeof _=="object"&&_!==null&&Object.keys(_).length===0)&&(Ce+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var Ge=Bs();Ge?Ce+=Ge:Ce+=ka();var Be;_===null?Be="null":h(_)?Be="array":_!==void 0&&_.$$typeof===e?(Be="<"+($(_.type)||"Unknown")+" />",Ce=" Did you accidentally export a JSX literal instead of a component?"):Be=typeof _,x("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",Be,Ce)}var He=$s(_,V,W,we,Ne);if(He==null)return He;if(Se){var Ye=V.children;if(Ye!==void 0)if(fe)if(h(Ye)){for(var Vt=0;Vt<Ye.length;Vt++)Ha(Ye[Vt],_);Object.freeze&&Object.freeze(Ye)}else x("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else Ha(Ye,_)}if(Oe.call(V,"key")){var Tt=$(_),Ze=Object.keys(V).filter(function(zs){return zs!=="key"}),mn=Ze.length>0?"{key: someKey, "+Ze.join(": ..., ")+": ...}":"{key: someKey}";if(!Va[Tt+mn]){var Zs=Ze.length>0?"{"+Ze.join(": ..., ")+": ...}":"{}";x(`A props object containing a "key" prop is being spread into JSX:
25
+ Check the top-level render call using <`+I+">.")}return y}}function jn(o,y){{if(!o._store||o._store.validated||o.key!=null)return;o._store.validated=!0;var I=xi(y);if(Dn[I])return;Dn[I]=!0;var V="";o&&o._owner&&o._owner!==Ur.current&&(V=" It was passed a child from "+D(o._owner.type)+"."),wt(o),T('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',I,V),wt(null)}}function Pn(o,y){{if(typeof o!="object")return;if(d(o))for(var I=0;I<o.length;I++){var V=o[I];Gr(V)&&jn(V,y)}else if(Gr(o))o._store&&(o._store.validated=!0);else if(o){var re=te(o);if(typeof re=="function"&&re!==o.entries)for(var se=re.call(o),J;!(J=se.next()).done;)Gr(J.value)&&jn(J.value,y)}}}function Ii(o){{var y=o.type;if(y==null||typeof y=="string")return;var I;if(typeof y=="function")I=y.propTypes;else if(typeof y=="object"&&(y.$$typeof===f||y.$$typeof===b))I=y.propTypes;else return;if(I){var V=D(y);$r(I,o.props,"prop",V,o)}else if(y.PropTypes!==void 0&&!Zr){Zr=!0;var re=D(y);T("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",re||"Unknown")}typeof y.getDefaultProps=="function"&&!y.getDefaultProps.isReactClassApproved&&T("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function Li(o){{for(var y=Object.keys(o.props),I=0;I<y.length;I++){var V=y[I];if(V!=="children"&&V!=="key"){wt(o),T("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",V),wt(null);break}}o.ref!==null&&(wt(o),T("Invalid attribute `ref` supplied to `React.Fragment`."),wt(null))}}var kn={};function Bn(o,y,I,V,re,se){{var J=Oe(o);if(!J){var q="";(o===void 0||typeof o=="object"&&o!==null&&Object.keys(o).length===0)&&(q+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var Le=Ai();Le?q+=Le:q+=Nn();var he;o===null?he="null":d(o)?he="array":o!==void 0&&o.$$typeof===t?(he="<"+(D(o.type)||"Unknown")+" />",q=" Did you accidentally export a JSX literal instead of a component?"):he=typeof o,T("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",he,q)}var ve=Ci(o,y,I,re,se);if(ve==null)return ve;if(J){var Be=y.children;if(Be!==void 0)if(V)if(d(Be)){for(var Nt=0;Nt<Be.length;Nt++)Pn(Be[Nt],o);Object.freeze&&Object.freeze(Be)}else T("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else Pn(Be,o)}if(ht.call(y,"key")){var _t=D(o),Ne=Object.keys(y).filter(function(Pi){return Pi!=="key"}),Yr=Ne.length>0?"{key: someKey, "+Ne.join(": ..., ")+": ...}":"{key: someKey}";if(!kn[_t+Yr]){var ji=Ne.length>0?"{"+Ne.join(": ..., ")+": ...}":"{}";T(`A props object containing a "key" prop is being spread into JSX:
26
26
  let props = %s;
27
27
  <%s {...props} />
28
28
  React keys must be passed directly to JSX without using spread:
29
29
  let props = %s;
30
- <%s key={someKey} {...props} />`,mn,Tt,Zs,Tt),Va[Tt+mn]=!0}}return _===n?Us(He):Vs(He),He}}function Ks(_,V,W){return Ua(_,V,W,!0)}function Fs(_,V,W){return Ua(_,V,W,!1)}var Gs=Fs,qs=Ks;Jt.Fragment=n,Jt.jsx=Gs,Jt.jsxs=qs}()),Jt}process.env.NODE_ENV==="production"?sa.exports=Xs():sa.exports=Qs();var M=sa.exports;function Oo(t){var e,r,n="";if(typeof t=="string"||typeof t=="number")n+=t;else if(typeof t=="object")if(Array.isArray(t)){var a=t.length;for(e=0;e<a;e++)t[e]&&(r=Oo(t[e]))&&(n&&(n+=" "),n+=r)}else for(r in t)t[r]&&(n&&(n+=" "),n+=r);return n}function dt(){for(var t,e,r=0,n="",a=arguments.length;r<a;r++)(t=arguments[r])&&(e=Oo(t))&&(n&&(n+=" "),n+=e);return n}const Js="_persuasionContent_10etw_106",_n={persuasionContent:Js,"persuasionContent--center":"_persuasionContent--center_10etw_110","persuasionContent--left":"_persuasionContent--left_10etw_115","persuasionContent--surfaceContainer":"_persuasionContent--surfaceContainer_10etw_120","persuasionContent--vanilla":"_persuasionContent--vanilla_10etw_123"},eu=({alignment:t,background:e,children:r})=>{const n=dt(_n.persuasionContent,_n[`persuasionContent--${t}`],_n[`persuasionContent--${e}`]);return M.jsx("div",{className:n,children:r})},tu="_persuationImage_sbo87_106",ru={persuationImage:tu},nu=({data:t})=>M.jsx("div",{className:ru.persuationImage,children:t.map(e=>M.jsx("img",{src:e.src,alt:e.alt},e.src))}),au=({block:t})=>{const e=()=>{var n;const r=[];return(n=t.fields.images)==null||n.map(a=>{var i,o;r.push({alt:(a==null?void 0:a.fields.description)??"",src:(i=a==null?void 0:a.fields.file)!=null&&i.url?`https:${(o=a.fields.file)==null?void 0:o.url}`:""})}),r};return M.jsx(nu,{data:e()})},iu="_persuasionList_1k5y9_106",ou={persuasionList:iu,"persuasionList--hasIcon":"_persuasionList--hasIcon_1k5y9_111"},su="_persuasionListItem_zwvgx_106",uu="_persuasionListItem__text_zwvgx_113",cu="_persuasionListItem__ellipse_zwvgx_118",Ar={persuasionListItem:su,persuasionListItem__text:uu,persuasionListItem__ellipse:cu,"persuasionListItem--hasIcon":"_persuasionListItem--hasIcon_zwvgx_124"},lu=({body:t,headline:e,icon:r})=>{const n=dt(Ar.persuasionListItem,{[Ar["persuasionListItem--hasIcon"]]:r});return M.jsxs("li",{className:n,children:[r!==void 0?M.jsx(he.Sticker,{color:"green",icon:r,size:"small"}):M.jsx("div",{className:Ar.persuasionListItem__ellipse}),M.jsxs("div",{className:Ar.persuasionListItem__text,children:[e&&M.jsx(he.Typography,{type:"h5",children:e}),t&&M.jsx(he.Typography,{type:"body-regular",children:t})]})]})},du=({list:t})=>M.jsx("ul",{className:ou.persuasionList,children:t.map(e=>q.createElement(lu,{...e,key:e.headline}))}),fu=({block:t})=>{const e=()=>{var n;const r=[];return(n=t.fields.items)==null||n.map(a=>r.push({body:a==null?void 0:a.fields.body,headline:a==null?void 0:a.fields.headline,icon:a==null?void 0:a.fields.icon})),r};return M.jsx(du,{list:e()})};var ba={};(function(t){var e=q,r=function(){return r=Object.assign||function(D){for(var re,I=1,oe=arguments.length;I<oe;I++){re=arguments[I];for(var ne in re)Object.prototype.hasOwnProperty.call(re,ne)&&(D[ne]=re[ne])}return D},r.apply(this,arguments)};typeof SuppressedError=="function"&&SuppressedError;var n=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof Ke<"u"?Ke:typeof self<"u"?self:{},a={},i={};Object.defineProperty(i,"__esModule",{value:!0}),i.BLOCKS=void 0;var o;(function(b){b.DOCUMENT="document",b.PARAGRAPH="paragraph",b.HEADING_1="heading-1",b.HEADING_2="heading-2",b.HEADING_3="heading-3",b.HEADING_4="heading-4",b.HEADING_5="heading-5",b.HEADING_6="heading-6",b.OL_LIST="ordered-list",b.UL_LIST="unordered-list",b.LIST_ITEM="list-item",b.HR="hr",b.QUOTE="blockquote",b.EMBEDDED_ENTRY="embedded-entry-block",b.EMBEDDED_ASSET="embedded-asset-block",b.EMBEDDED_RESOURCE="embedded-resource-block",b.TABLE="table",b.TABLE_ROW="table-row",b.TABLE_CELL="table-cell",b.TABLE_HEADER_CELL="table-header-cell"})(o||(i.BLOCKS=o={}));var s={};Object.defineProperty(s,"__esModule",{value:!0}),s.INLINES=void 0;var c;(function(b){b.ASSET_HYPERLINK="asset-hyperlink",b.EMBEDDED_ENTRY="embedded-entry-inline",b.EMBEDDED_RESOURCE="embedded-resource-inline",b.ENTRY_HYPERLINK="entry-hyperlink",b.HYPERLINK="hyperlink",b.RESOURCE_HYPERLINK="resource-hyperlink"})(c||(s.INLINES=c={}));var u={};Object.defineProperty(u,"__esModule",{value:!0}),u.MARKS=void 0;var f;(function(b){b.BOLD="bold",b.ITALIC="italic",b.UNDERLINE="underline",b.CODE="code",b.SUPERSCRIPT="superscript",b.SUBSCRIPT="subscript",b.STRIKETHROUGH="strikethrough"})(f||(u.MARKS=f={}));var l={};(function(b){var D=n&&n.__spreadArray||function(ge,O,ie){if(ie||arguments.length===2)for(var pe=0,Ee=O.length,T;pe<Ee;pe++)(T||!(pe in O))&&(T||(T=Array.prototype.slice.call(O,0,pe)),T[pe]=O[pe]);return ge.concat(T||Array.prototype.slice.call(O))},re;Object.defineProperty(b,"__esModule",{value:!0}),b.V1_MARKS=b.V1_NODE_TYPES=b.TEXT_CONTAINERS=b.HEADINGS=b.CONTAINERS=b.VOID_BLOCKS=b.TABLE_BLOCKS=b.LIST_ITEM_BLOCKS=b.TOP_LEVEL_BLOCKS=void 0;var I=i,oe=s,ne=u;b.TOP_LEVEL_BLOCKS=[I.BLOCKS.PARAGRAPH,I.BLOCKS.HEADING_1,I.BLOCKS.HEADING_2,I.BLOCKS.HEADING_3,I.BLOCKS.HEADING_4,I.BLOCKS.HEADING_5,I.BLOCKS.HEADING_6,I.BLOCKS.OL_LIST,I.BLOCKS.UL_LIST,I.BLOCKS.HR,I.BLOCKS.QUOTE,I.BLOCKS.EMBEDDED_ENTRY,I.BLOCKS.EMBEDDED_ASSET,I.BLOCKS.EMBEDDED_RESOURCE,I.BLOCKS.TABLE],b.LIST_ITEM_BLOCKS=[I.BLOCKS.PARAGRAPH,I.BLOCKS.HEADING_1,I.BLOCKS.HEADING_2,I.BLOCKS.HEADING_3,I.BLOCKS.HEADING_4,I.BLOCKS.HEADING_5,I.BLOCKS.HEADING_6,I.BLOCKS.OL_LIST,I.BLOCKS.UL_LIST,I.BLOCKS.HR,I.BLOCKS.QUOTE,I.BLOCKS.EMBEDDED_ENTRY,I.BLOCKS.EMBEDDED_ASSET,I.BLOCKS.EMBEDDED_RESOURCE],b.TABLE_BLOCKS=[I.BLOCKS.TABLE,I.BLOCKS.TABLE_ROW,I.BLOCKS.TABLE_CELL,I.BLOCKS.TABLE_HEADER_CELL],b.VOID_BLOCKS=[I.BLOCKS.HR,I.BLOCKS.EMBEDDED_ENTRY,I.BLOCKS.EMBEDDED_ASSET,I.BLOCKS.EMBEDDED_RESOURCE],b.CONTAINERS=(re={},re[I.BLOCKS.OL_LIST]=[I.BLOCKS.LIST_ITEM],re[I.BLOCKS.UL_LIST]=[I.BLOCKS.LIST_ITEM],re[I.BLOCKS.LIST_ITEM]=b.LIST_ITEM_BLOCKS,re[I.BLOCKS.QUOTE]=[I.BLOCKS.PARAGRAPH],re[I.BLOCKS.TABLE]=[I.BLOCKS.TABLE_ROW],re[I.BLOCKS.TABLE_ROW]=[I.BLOCKS.TABLE_CELL,I.BLOCKS.TABLE_HEADER_CELL],re[I.BLOCKS.TABLE_CELL]=[I.BLOCKS.PARAGRAPH,I.BLOCKS.UL_LIST,I.BLOCKS.OL_LIST],re[I.BLOCKS.TABLE_HEADER_CELL]=[I.BLOCKS.PARAGRAPH],re),b.HEADINGS=[I.BLOCKS.HEADING_1,I.BLOCKS.HEADING_2,I.BLOCKS.HEADING_3,I.BLOCKS.HEADING_4,I.BLOCKS.HEADING_5,I.BLOCKS.HEADING_6],b.TEXT_CONTAINERS=D([I.BLOCKS.PARAGRAPH],b.HEADINGS,!0),b.V1_NODE_TYPES=[I.BLOCKS.DOCUMENT,I.BLOCKS.PARAGRAPH,I.BLOCKS.HEADING_1,I.BLOCKS.HEADING_2,I.BLOCKS.HEADING_3,I.BLOCKS.HEADING_4,I.BLOCKS.HEADING_5,I.BLOCKS.HEADING_6,I.BLOCKS.OL_LIST,I.BLOCKS.UL_LIST,I.BLOCKS.LIST_ITEM,I.BLOCKS.HR,I.BLOCKS.QUOTE,I.BLOCKS.EMBEDDED_ENTRY,I.BLOCKS.EMBEDDED_ASSET,oe.INLINES.HYPERLINK,oe.INLINES.ENTRY_HYPERLINK,oe.INLINES.ASSET_HYPERLINK,oe.INLINES.EMBEDDED_ENTRY,"text"],b.V1_MARKS=[ne.MARKS.BOLD,ne.MARKS.CODE,ne.MARKS.ITALIC,ne.MARKS.UNDERLINE]})(l);var p={};Object.defineProperty(p,"__esModule",{value:!0});var v={};Object.defineProperty(v,"__esModule",{value:!0});var C={};Object.defineProperty(C,"__esModule",{value:!0}),C.EMPTY_DOCUMENT=void 0;var A=i;C.EMPTY_DOCUMENT={nodeType:A.BLOCKS.DOCUMENT,data:{},content:[{nodeType:A.BLOCKS.PARAGRAPH,data:{},content:[{nodeType:"text",value:"",marks:[],data:{}}]}]};var w={};Object.defineProperty(w,"__esModule",{value:!0}),w.isInline=m,w.isBlock=E,w.isText=R;var y=i,x=s;function d(b,D){for(var re=0,I=Object.keys(b);re<I.length;re++){var oe=I[re];if(D===b[oe])return!0}return!1}function m(b){return d(x.INLINES,b.nodeType)}function E(b){return d(y.BLOCKS,b.nodeType)}function R(b){return b.nodeType==="text"}function S(b){throw new Error('Could not dynamically require "'+b+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var N={};Object.defineProperty(N,"__esModule",{value:!0}),N.getSchemaWithNodeType=U;function U(b){try{return S("./generated/".concat(b,".json"))}catch{throw new Error('Schema for nodeType "'.concat(b,'" was not found.'))}}(function(b){var D=n&&n.__createBinding||(Object.create?function(T,g,ue,Z){Z===void 0&&(Z=ue);var Y=Object.getOwnPropertyDescriptor(g,ue);(!Y||("get"in Y?!g.__esModule:Y.writable||Y.configurable))&&(Y={enumerable:!0,get:function(){return g[ue]}}),Object.defineProperty(T,Z,Y)}:function(T,g,ue,Z){Z===void 0&&(Z=ue),T[Z]=g[ue]}),re=n&&n.__setModuleDefault||(Object.create?function(T,g){Object.defineProperty(T,"default",{enumerable:!0,value:g})}:function(T,g){T.default=g}),I=n&&n.__exportStar||function(T,g){for(var ue in T)ue!=="default"&&!Object.prototype.hasOwnProperty.call(g,ue)&&D(g,T,ue)},oe=n&&n.__importStar||function(T){if(T&&T.__esModule)return T;var g={};if(T!=null)for(var ue in T)ue!=="default"&&Object.prototype.hasOwnProperty.call(T,ue)&&D(g,T,ue);return re(g,T),g};Object.defineProperty(b,"__esModule",{value:!0}),b.getSchemaWithNodeType=b.helpers=b.EMPTY_DOCUMENT=b.MARKS=b.INLINES=b.BLOCKS=void 0;var ne=i;Object.defineProperty(b,"BLOCKS",{enumerable:!0,get:function(){return ne.BLOCKS}});var ge=s;Object.defineProperty(b,"INLINES",{enumerable:!0,get:function(){return ge.INLINES}});var O=u;Object.defineProperty(b,"MARKS",{enumerable:!0,get:function(){return O.MARKS}}),I(l,b),I(p,b),I(v,b);var ie=C;Object.defineProperty(b,"EMPTY_DOCUMENT",{enumerable:!0,get:function(){return ie.EMPTY_DOCUMENT}});var pe=oe(w);b.helpers=pe;var Ee=N;Object.defineProperty(b,"getSchemaWithNodeType",{enumerable:!0,get:function(){return Ee.getSchemaWithNodeType}})})(a);function k(b,D){return e.isValidElement(b)&&b.key===null?e.cloneElement(b,{key:D}):b}function J(b,D){return b.map(function(re,I){return k(X(re,D),I)})}function X(b,D){var re=D.renderNode,I=D.renderMark,oe=D.renderText,ne=D.preserveWhitespace;if(a.helpers.isText(b)){var ge=oe?oe(b.value):b.value;if(ne&&!oe){ge=ge.replace(/ {2,}/g,function(Ee){return" ".repeat(Ee.length)});var O=ge.split(`
31
- `),ie=[];O.forEach(function(Ee,T){ie.push(Ee),T!==O.length-1&&ie.push(e.createElement("br",null))}),ge=ie}return b.marks.reduce(function(Ee,T){return I[T.type]?I[T.type](Ee):Ee},ge)}else{var pe=J(b.content,D);return!b.nodeType||!re[b.nodeType]?e.createElement(e.Fragment,null,pe):re[b.nodeType](b,pe)}}var $,F,ee=($={},$[a.BLOCKS.DOCUMENT]=function(b,D){return D},$[a.BLOCKS.PARAGRAPH]=function(b,D){return e.createElement("p",null,D)},$[a.BLOCKS.HEADING_1]=function(b,D){return e.createElement("h1",null,D)},$[a.BLOCKS.HEADING_2]=function(b,D){return e.createElement("h2",null,D)},$[a.BLOCKS.HEADING_3]=function(b,D){return e.createElement("h3",null,D)},$[a.BLOCKS.HEADING_4]=function(b,D){return e.createElement("h4",null,D)},$[a.BLOCKS.HEADING_5]=function(b,D){return e.createElement("h5",null,D)},$[a.BLOCKS.HEADING_6]=function(b,D){return e.createElement("h6",null,D)},$[a.BLOCKS.EMBEDDED_ENTRY]=function(b,D){return e.createElement("div",null,D)},$[a.BLOCKS.EMBEDDED_RESOURCE]=function(b,D){return e.createElement("div",null,D)},$[a.BLOCKS.UL_LIST]=function(b,D){return e.createElement("ul",null,D)},$[a.BLOCKS.OL_LIST]=function(b,D){return e.createElement("ol",null,D)},$[a.BLOCKS.LIST_ITEM]=function(b,D){return e.createElement("li",null,D)},$[a.BLOCKS.QUOTE]=function(b,D){return e.createElement("blockquote",null,D)},$[a.BLOCKS.HR]=function(){return e.createElement("hr",null)},$[a.BLOCKS.TABLE]=function(b,D){return e.createElement("table",null,e.createElement("tbody",null,D))},$[a.BLOCKS.TABLE_ROW]=function(b,D){return e.createElement("tr",null,D)},$[a.BLOCKS.TABLE_HEADER_CELL]=function(b,D){return e.createElement("th",null,D)},$[a.BLOCKS.TABLE_CELL]=function(b,D){return e.createElement("td",null,D)},$[a.INLINES.ASSET_HYPERLINK]=function(b){return be(a.INLINES.ASSET_HYPERLINK,b)},$[a.INLINES.ENTRY_HYPERLINK]=function(b){return be(a.INLINES.ENTRY_HYPERLINK,b)},$[a.INLINES.RESOURCE_HYPERLINK]=function(b){return _e(a.INLINES.RESOURCE_HYPERLINK,b)},$[a.INLINES.EMBEDDED_ENTRY]=function(b){return be(a.INLINES.EMBEDDED_ENTRY,b)},$[a.INLINES.EMBEDDED_RESOURCE]=function(b,D){return _e(a.INLINES.EMBEDDED_RESOURCE,b)},$[a.INLINES.HYPERLINK]=function(b,D){return e.createElement("a",{href:b.data.uri},D)},$),le=(F={},F[a.MARKS.BOLD]=function(b){return e.createElement("b",null,b)},F[a.MARKS.ITALIC]=function(b){return e.createElement("i",null,b)},F[a.MARKS.UNDERLINE]=function(b){return e.createElement("u",null,b)},F[a.MARKS.CODE]=function(b){return e.createElement("code",null,b)},F[a.MARKS.SUPERSCRIPT]=function(b){return e.createElement("sup",null,b)},F[a.MARKS.SUBSCRIPT]=function(b){return e.createElement("sub",null,b)},F[a.MARKS.STRIKETHROUGH]=function(b){return e.createElement("s",null,b)},F);function be(b,D){return e.createElement("span",{key:D.data.target.sys.id},"type: ",D.nodeType," id: ",D.data.target.sys.id)}function _e(b,D){return e.createElement("span",{key:D.data.target.sys.urn},"type: ",D.nodeType," urn: ",D.data.target.sys.urn)}function te(b,D){return D===void 0&&(D={}),b?X(b,{renderNode:r(r({},ee),D.renderNode),renderMark:r(r({},le),D.renderMark),renderText:D.renderText,preserveWhitespace:D.preserveWhitespace}):null}t.documentToReactComponents=te})(ba);var Je={},Mt={};Object.defineProperty(Mt,"__esModule",{value:!0});Mt.BLOCKS=void 0;var Ga;(function(t){t.DOCUMENT="document",t.PARAGRAPH="paragraph",t.HEADING_1="heading-1",t.HEADING_2="heading-2",t.HEADING_3="heading-3",t.HEADING_4="heading-4",t.HEADING_5="heading-5",t.HEADING_6="heading-6",t.OL_LIST="ordered-list",t.UL_LIST="unordered-list",t.LIST_ITEM="list-item",t.HR="hr",t.QUOTE="blockquote",t.EMBEDDED_ENTRY="embedded-entry-block",t.EMBEDDED_ASSET="embedded-asset-block",t.EMBEDDED_RESOURCE="embedded-resource-block",t.TABLE="table",t.TABLE_ROW="table-row",t.TABLE_CELL="table-cell",t.TABLE_HEADER_CELL="table-header-cell"})(Ga||(Mt.BLOCKS=Ga={}));var Yt={};Object.defineProperty(Yt,"__esModule",{value:!0});Yt.INLINES=void 0;var qa;(function(t){t.ASSET_HYPERLINK="asset-hyperlink",t.EMBEDDED_ENTRY="embedded-entry-inline",t.EMBEDDED_RESOURCE="embedded-resource-inline",t.ENTRY_HYPERLINK="entry-hyperlink",t.HYPERLINK="hyperlink",t.RESOURCE_HYPERLINK="resource-hyperlink"})(qa||(Yt.INLINES=qa={}));var Cr={};Object.defineProperty(Cr,"__esModule",{value:!0});Cr.MARKS=void 0;var Za;(function(t){t.BOLD="bold",t.ITALIC="italic",t.UNDERLINE="underline",t.CODE="code",t.SUPERSCRIPT="superscript",t.SUBSCRIPT="subscript",t.STRIKETHROUGH="strikethrough"})(Za||(Cr.MARKS=Za={}));var wo={};(function(t){var e=Ke&&Ke.__spreadArray||function(o,s,c){if(c||arguments.length===2)for(var u=0,f=s.length,l;u<f;u++)(l||!(u in s))&&(l||(l=Array.prototype.slice.call(s,0,u)),l[u]=s[u]);return o.concat(l||Array.prototype.slice.call(s))},r;Object.defineProperty(t,"__esModule",{value:!0}),t.V1_MARKS=t.V1_NODE_TYPES=t.TEXT_CONTAINERS=t.HEADINGS=t.CONTAINERS=t.VOID_BLOCKS=t.TABLE_BLOCKS=t.LIST_ITEM_BLOCKS=t.TOP_LEVEL_BLOCKS=void 0;var n=Mt,a=Yt,i=Cr;t.TOP_LEVEL_BLOCKS=[n.BLOCKS.PARAGRAPH,n.BLOCKS.HEADING_1,n.BLOCKS.HEADING_2,n.BLOCKS.HEADING_3,n.BLOCKS.HEADING_4,n.BLOCKS.HEADING_5,n.BLOCKS.HEADING_6,n.BLOCKS.OL_LIST,n.BLOCKS.UL_LIST,n.BLOCKS.HR,n.BLOCKS.QUOTE,n.BLOCKS.EMBEDDED_ENTRY,n.BLOCKS.EMBEDDED_ASSET,n.BLOCKS.EMBEDDED_RESOURCE,n.BLOCKS.TABLE],t.LIST_ITEM_BLOCKS=[n.BLOCKS.PARAGRAPH,n.BLOCKS.HEADING_1,n.BLOCKS.HEADING_2,n.BLOCKS.HEADING_3,n.BLOCKS.HEADING_4,n.BLOCKS.HEADING_5,n.BLOCKS.HEADING_6,n.BLOCKS.OL_LIST,n.BLOCKS.UL_LIST,n.BLOCKS.HR,n.BLOCKS.QUOTE,n.BLOCKS.EMBEDDED_ENTRY,n.BLOCKS.EMBEDDED_ASSET,n.BLOCKS.EMBEDDED_RESOURCE],t.TABLE_BLOCKS=[n.BLOCKS.TABLE,n.BLOCKS.TABLE_ROW,n.BLOCKS.TABLE_CELL,n.BLOCKS.TABLE_HEADER_CELL],t.VOID_BLOCKS=[n.BLOCKS.HR,n.BLOCKS.EMBEDDED_ENTRY,n.BLOCKS.EMBEDDED_ASSET,n.BLOCKS.EMBEDDED_RESOURCE],t.CONTAINERS=(r={},r[n.BLOCKS.OL_LIST]=[n.BLOCKS.LIST_ITEM],r[n.BLOCKS.UL_LIST]=[n.BLOCKS.LIST_ITEM],r[n.BLOCKS.LIST_ITEM]=t.LIST_ITEM_BLOCKS,r[n.BLOCKS.QUOTE]=[n.BLOCKS.PARAGRAPH],r[n.BLOCKS.TABLE]=[n.BLOCKS.TABLE_ROW],r[n.BLOCKS.TABLE_ROW]=[n.BLOCKS.TABLE_CELL,n.BLOCKS.TABLE_HEADER_CELL],r[n.BLOCKS.TABLE_CELL]=[n.BLOCKS.PARAGRAPH,n.BLOCKS.UL_LIST,n.BLOCKS.OL_LIST],r[n.BLOCKS.TABLE_HEADER_CELL]=[n.BLOCKS.PARAGRAPH],r),t.HEADINGS=[n.BLOCKS.HEADING_1,n.BLOCKS.HEADING_2,n.BLOCKS.HEADING_3,n.BLOCKS.HEADING_4,n.BLOCKS.HEADING_5,n.BLOCKS.HEADING_6],t.TEXT_CONTAINERS=e([n.BLOCKS.PARAGRAPH],t.HEADINGS,!0),t.V1_NODE_TYPES=[n.BLOCKS.DOCUMENT,n.BLOCKS.PARAGRAPH,n.BLOCKS.HEADING_1,n.BLOCKS.HEADING_2,n.BLOCKS.HEADING_3,n.BLOCKS.HEADING_4,n.BLOCKS.HEADING_5,n.BLOCKS.HEADING_6,n.BLOCKS.OL_LIST,n.BLOCKS.UL_LIST,n.BLOCKS.LIST_ITEM,n.BLOCKS.HR,n.BLOCKS.QUOTE,n.BLOCKS.EMBEDDED_ENTRY,n.BLOCKS.EMBEDDED_ASSET,a.INLINES.HYPERLINK,a.INLINES.ENTRY_HYPERLINK,a.INLINES.ASSET_HYPERLINK,a.INLINES.EMBEDDED_ENTRY,"text"],t.V1_MARKS=[i.MARKS.BOLD,i.MARKS.CODE,i.MARKS.ITALIC,i.MARKS.UNDERLINE]})(wo);var Ao={};Object.defineProperty(Ao,"__esModule",{value:!0});var xo={};Object.defineProperty(xo,"__esModule",{value:!0});var Jr={};Object.defineProperty(Jr,"__esModule",{value:!0});Jr.EMPTY_DOCUMENT=void 0;var za=Mt;Jr.EMPTY_DOCUMENT={nodeType:za.BLOCKS.DOCUMENT,data:{},content:[{nodeType:za.BLOCKS.PARAGRAPH,data:{},content:[{nodeType:"text",value:"",marks:[],data:{}}]}]};var Sr={};Object.defineProperty(Sr,"__esModule",{value:!0});Sr.isInline=mu;Sr.isBlock=_u;Sr.isText=gu;var pu=Mt,hu=Yt;function Lo(t,e){for(var r=0,n=Object.keys(t);r<n.length;r++){var a=n[r];if(e===t[a])return!0}return!1}function mu(t){return Lo(hu.INLINES,t.nodeType)}function _u(t){return Lo(pu.BLOCKS,t.nodeType)}function gu(t){return t.nodeType==="text"}function yu(t){throw new Error('Could not dynamically require "'+t+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var Ca={};Object.defineProperty(Ca,"__esModule",{value:!0});Ca.getSchemaWithNodeType=vu;function vu(t){try{return yu("./generated/".concat(t,".json"))}catch{throw new Error('Schema for nodeType "'.concat(t,'" was not found.'))}}(function(t){var e=Ke&&Ke.__createBinding||(Object.create?function(l,p,v,C){C===void 0&&(C=v);var A=Object.getOwnPropertyDescriptor(p,v);(!A||("get"in A?!p.__esModule:A.writable||A.configurable))&&(A={enumerable:!0,get:function(){return p[v]}}),Object.defineProperty(l,C,A)}:function(l,p,v,C){C===void 0&&(C=v),l[C]=p[v]}),r=Ke&&Ke.__setModuleDefault||(Object.create?function(l,p){Object.defineProperty(l,"default",{enumerable:!0,value:p})}:function(l,p){l.default=p}),n=Ke&&Ke.__exportStar||function(l,p){for(var v in l)v!=="default"&&!Object.prototype.hasOwnProperty.call(p,v)&&e(p,l,v)},a=Ke&&Ke.__importStar||function(l){if(l&&l.__esModule)return l;var p={};if(l!=null)for(var v in l)v!=="default"&&Object.prototype.hasOwnProperty.call(l,v)&&e(p,l,v);return r(p,l),p};Object.defineProperty(t,"__esModule",{value:!0}),t.getSchemaWithNodeType=t.helpers=t.EMPTY_DOCUMENT=t.MARKS=t.INLINES=t.BLOCKS=void 0;var i=Mt;Object.defineProperty(t,"BLOCKS",{enumerable:!0,get:function(){return i.BLOCKS}});var o=Yt;Object.defineProperty(t,"INLINES",{enumerable:!0,get:function(){return o.INLINES}});var s=Cr;Object.defineProperty(t,"MARKS",{enumerable:!0,get:function(){return s.MARKS}}),n(wo,t),n(Ao,t),n(xo,t);var c=Jr;Object.defineProperty(t,"EMPTY_DOCUMENT",{enumerable:!0,get:function(){return c.EMPTY_DOCUMENT}});var u=a(Sr);t.helpers=u;var f=Ca;Object.defineProperty(t,"getSchemaWithNodeType",{enumerable:!0,get:function(){return f.getSchemaWithNodeType}})})(Je);var Io={},rt={};rt._=rt._interop_require_default=Eu;function Eu(t){return t&&t.__esModule?t:{default:t}}var Sa={},en={};(function(t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"warnOnce",{enumerable:!0,get:function(){return e}});let e=r=>{};if(process.env.NODE_ENV!=="production"){const r=new Set;e=n=>{r.has(n)||console.warn(n),r.add(n)}}})(en);var Po={};(function(t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getImageBlurSvg",{enumerable:!0,get:function(){return e}});function e(r){let{widthInt:n,heightInt:a,blurWidth:i,blurHeight:o,blurDataURL:s,objectFit:c}=r;const u=20,f=i?i*40:n,l=o?o*40:a,p=f&&l?"viewBox='0 0 "+f+" "+l+"'":"",v=p?"none":c==="contain"?"xMidYMid":c==="cover"?"xMidYMid slice":"none";return"%3Csvg xmlns='http://www.w3.org/2000/svg' "+p+"%3E%3Cfilter id='b' color-interpolation-filters='sRGB'%3E%3CfeGaussianBlur stdDeviation='"+u+"'/%3E%3CfeColorMatrix values='1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 100 -1' result='s'/%3E%3CfeFlood x='0' y='0' width='100%25' height='100%25'/%3E%3CfeComposite operator='out' in='s'/%3E%3CfeComposite in2='SourceGraphic'/%3E%3CfeGaussianBlur stdDeviation='"+u+"'/%3E%3C/filter%3E%3Cimage width='100%25' height='100%25' x='0' y='0' preserveAspectRatio='"+v+"' style='filter: url(%23b);' href='"+s+"'/%3E%3C/svg%3E"}})(Po);var tn={};(function(t){Object.defineProperty(t,"__esModule",{value:!0});function e(a,i){for(var o in i)Object.defineProperty(a,o,{enumerable:!0,get:i[o]})}e(t,{VALID_LOADERS:function(){return r},imageConfigDefault:function(){return n}});const r=["default","imgix","cloudinary","akamai","custom"],n={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image",loader:"default",loaderFile:"",domains:[],disableStaticImages:!1,minimumCacheTTL:60,formats:["image/webp"],dangerouslyAllowSVG:!1,contentSecurityPolicy:"script-src 'none'; frame-src 'none'; sandbox;",contentDispositionType:"inline",remotePatterns:[],unoptimized:!1}})(tn);(function(t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getImgProps",{enumerable:!0,get:function(){return v}});const e=en,r=Po,n=tn,a=["lazy","eager",void 0];function i(C){return C.default!==void 0}function o(C){return C.src!==void 0}function s(C){return typeof C=="object"&&(i(C)||o(C))}const c=new Map;let u;function f(C){return typeof C>"u"?C:typeof C=="number"?Number.isFinite(C)?C:NaN:typeof C=="string"&&/^[0-9]+$/.test(C)?parseInt(C,10):NaN}function l(C,A,w){let{deviceSizes:y,allSizes:x}=C;if(w){const m=/(^|\s)(1?\d?\d)vw/g,E=[];for(let R;R=m.exec(w);R)E.push(parseInt(R[2]));if(E.length){const R=Math.min(...E)*.01;return{widths:x.filter(S=>S>=y[0]*R),kind:"w"}}return{widths:x,kind:"w"}}return typeof A!="number"?{widths:y,kind:"w"}:{widths:[...new Set([A,A*2].map(m=>x.find(E=>E>=m)||x[x.length-1]))],kind:"x"}}function p(C){let{config:A,src:w,unoptimized:y,width:x,quality:d,sizes:m,loader:E}=C;if(y)return{src:w,srcSet:void 0,sizes:void 0};const{widths:R,kind:S}=l(A,x,m),N=R.length-1;return{sizes:!m&&S==="w"?"100vw":m,srcSet:R.map((U,k)=>E({config:A,src:w,quality:d,width:U})+" "+(S==="w"?U:k+1)+S).join(", "),src:E({config:A,src:w,quality:d,width:R[N]})}}function v(C,A){let{src:w,sizes:y,unoptimized:x=!1,priority:d=!1,loading:m,className:E,quality:R,width:S,height:N,fill:U=!1,style:k,overrideSrc:J,onLoad:X,onLoadingComplete:$,placeholder:F="empty",blurDataURL:ee,fetchPriority:le,layout:be,objectFit:_e,objectPosition:te,lazyBoundary:b,lazyRoot:D,...re}=C;const{imgConf:I,showAltText:oe,blurComplete:ne,defaultLoader:ge}=A;let O,ie=I||n.imageConfigDefault;if("allSizes"in ie)O=ie;else{const j=[...ie.deviceSizes,...ie.imageSizes].sort((G,P)=>G-P),L=ie.deviceSizes.sort((G,P)=>G-P);O={...ie,allSizes:j,deviceSizes:L}}if(typeof ge>"u")throw new Error(`images.loaderFile detected but the file is missing default export.
32
- Read more: https://nextjs.org/docs/messages/invalid-images-config`);let pe=re.loader||ge;delete re.loader,delete re.srcSet;const Ee="__next_img_default"in pe;if(Ee){if(O.loader==="custom")throw new Error('Image with src "'+w+`" is missing "loader" prop.
33
- Read more: https://nextjs.org/docs/messages/next-image-missing-loader`)}else{const j=pe;pe=L=>{const{config:G,...P}=L;return j(P)}}if(be){be==="fill"&&(U=!0);const j={intrinsic:{maxWidth:"100%",height:"auto"},responsive:{width:"100%",height:"auto"}},L={responsive:"100vw",fill:"100vw"},G=j[be];G&&(k={...k,...G});const P=L[be];P&&!y&&(y=P)}let T="",g=f(S),ue=f(N),Z,Y;if(s(w)){const j=i(w)?w.default:w;if(!j.src)throw new Error("An object should only be passed to the image component src parameter if it comes from a static image import. It must include src. Received "+JSON.stringify(j));if(!j.height||!j.width)throw new Error("An object should only be passed to the image component src parameter if it comes from a static image import. It must include height and width. Received "+JSON.stringify(j));if(Z=j.blurWidth,Y=j.blurHeight,ee=ee||j.blurDataURL,T=j.src,!U){if(!g&&!ue)g=j.width,ue=j.height;else if(g&&!ue){const L=g/j.width;ue=Math.round(j.height*L)}else if(!g&&ue){const L=ue/j.height;g=Math.round(j.width*L)}}}w=typeof w=="string"?w:T;let Oe=!d&&(m==="lazy"||typeof m>"u");(!w||w.startsWith("data:")||w.startsWith("blob:"))&&(x=!0,Oe=!1),O.unoptimized&&(x=!0),Ee&&w.endsWith(".svg")&&!O.dangerouslyAllowSVG&&(x=!0),d&&(le="high");const ke=f(R);if(process.env.NODE_ENV!=="production"){if(O.output==="export"&&Ee&&!x)throw new Error("Image Optimization using the default loader is not compatible with `{ output: 'export' }`.\n Possible solutions:\n - Remove `{ output: 'export' }` and run \"next start\" to run server mode including the Image Optimization API.\n - Configure `{ images: { unoptimized: true } }` in `next.config.js` to disable the Image Optimization API.\n Read more: https://nextjs.org/docs/messages/export-image-api");if(!w)x=!0;else if(U){if(S)throw new Error('Image with src "'+w+'" has both "width" and "fill" properties. Only one should be used.');if(N)throw new Error('Image with src "'+w+'" has both "height" and "fill" properties. Only one should be used.');if(k!=null&&k.position&&k.position!=="absolute")throw new Error('Image with src "'+w+'" has both "fill" and "style.position" properties. Images with "fill" always use position absolute - it cannot be modified.');if(k!=null&&k.width&&k.width!=="100%")throw new Error('Image with src "'+w+'" has both "fill" and "style.width" properties. Images with "fill" always use width 100% - it cannot be modified.');if(k!=null&&k.height&&k.height!=="100%")throw new Error('Image with src "'+w+'" has both "fill" and "style.height" properties. Images with "fill" always use height 100% - it cannot be modified.')}else{if(typeof g>"u")throw new Error('Image with src "'+w+'" is missing required "width" property.');if(isNaN(g))throw new Error('Image with src "'+w+'" has invalid "width" property. Expected a numeric value in pixels but received "'+S+'".');if(typeof ue>"u")throw new Error('Image with src "'+w+'" is missing required "height" property.');if(isNaN(ue))throw new Error('Image with src "'+w+'" has invalid "height" property. Expected a numeric value in pixels but received "'+N+'".')}if(!a.includes(m))throw new Error('Image with src "'+w+'" has invalid "loading" property. Provided "'+m+'" should be one of '+a.map(String).join(",")+".");if(d&&m==="lazy")throw new Error('Image with src "'+w+`" has both "priority" and "loading='lazy'" properties. Only one should be used.`);if(F!=="empty"&&F!=="blur"&&!F.startsWith("data:image/"))throw new Error('Image with src "'+w+'" has invalid "placeholder" property "'+F+'".');if(F!=="empty"&&g&&ue&&g*ue<1600&&(0,e.warnOnce)('Image with src "'+w+'" is smaller than 40x40. Consider removing the "placeholder" property to improve performance.'),F==="blur"&&!ee){const j=["jpeg","png","webp","avif"];throw new Error('Image with src "'+w+`" has "placeholder='blur'" property but is missing the "blurDataURL" property.
34
- Possible solutions:
35
- - Add a "blurDataURL" property, the contents should be a small Data URL to represent the image
36
- - Change the "src" property to a static import with one of the supported file types: `+j.join(",")+` (animated images not supported)
37
- - Remove the "placeholder" property, effectively no blur effect
38
- Read more: https://nextjs.org/docs/messages/placeholder-blur-data-url`)}if("ref"in re&&(0,e.warnOnce)('Image with src "'+w+'" is using unsupported "ref" property. Consider using the "onLoad" property instead.'),!x&&!Ee){const j=pe({config:O,src:w,width:g||400,quality:ke||75});let L;try{L=new URL(j)}catch{}(j===w||L&&L.pathname===w&&!L.search)&&(0,e.warnOnce)('Image with src "'+w+`" has a "loader" property that does not implement width. Please implement it or use the "unoptimized" property instead.
39
- Read more: https://nextjs.org/docs/messages/next-image-missing-loader-width`)}$&&(0,e.warnOnce)('Image with src "'+w+'" is using deprecated "onLoadingComplete" property. Please use the "onLoad" property instead.');for(const[j,L]of Object.entries({layout:be,objectFit:_e,objectPosition:te,lazyBoundary:b,lazyRoot:D}))L&&(0,e.warnOnce)('Image with src "'+w+'" has legacy prop "'+j+`". Did you forget to run the codemod?
40
- Read more: https://nextjs.org/docs/messages/next-image-upgrade-to-13`);if(typeof window<"u"&&!u&&window.PerformanceObserver){u=new PerformanceObserver(j=>{for(const G of j.getEntries()){var L;const P=(G==null||(L=G.element)==null?void 0:L.src)||"",B=c.get(P);B&&!B.priority&&B.placeholder==="empty"&&!B.src.startsWith("data:")&&!B.src.startsWith("blob:")&&(0,e.warnOnce)('Image with src "'+B.src+`" was detected as the Largest Contentful Paint (LCP). Please add the "priority" property if this image is above the fold.
41
- Read more: https://nextjs.org/docs/api-reference/next/image#priority`)}});try{u.observe({type:"largest-contentful-paint",buffered:!0})}catch(j){console.error(j)}}}const Le=Object.assign(U?{position:"absolute",height:"100%",width:"100%",left:0,top:0,right:0,bottom:0,objectFit:_e,objectPosition:te}:{},oe?{}:{color:"transparent"},k),Re=!ne&&F!=="empty"?F==="blur"?'url("data:image/svg+xml;charset=utf-8,'+(0,r.getImageBlurSvg)({widthInt:g,heightInt:ue,blurWidth:Z,blurHeight:Y,blurDataURL:ee||"",objectFit:Le.objectFit})+'")':'url("'+F+'")':null;let Ve=Re?{backgroundSize:Le.objectFit||"cover",backgroundPosition:Le.objectPosition||"50% 50%",backgroundRepeat:"no-repeat",backgroundImage:Re}:{};process.env.NODE_ENV==="development"&&Ve.backgroundImage&&F==="blur"&&ee!=null&&ee.startsWith("/")&&(Ve.backgroundImage='url("'+ee+'")');const Ie=p({config:O,src:w,unoptimized:x,width:g,quality:ke,sizes:y,loader:pe});if(process.env.NODE_ENV!=="production"&&typeof window<"u"){let j;try{j=new URL(Ie.src)}catch{j=new URL(Ie.src,window.location.href)}c.set(j.href,{src:w,priority:d,placeholder:F})}return{props:{...re,loading:Oe?"lazy":m,fetchPriority:le,width:g,height:ue,decoding:"async",className:E,style:{...Le,...Ve},sizes:Ie.sizes,srcSet:Ie.srcSet,src:J||Ie.src},meta:{unoptimized:x,priority:d,placeholder:F,fill:U}}}})(Sa);var ua={exports:{}},xr={},Wa;function Ta(){if(Wa)return xr;Wa=1;function t(r){if(typeof WeakMap!="function")return null;var n=new WeakMap,a=new WeakMap;return(t=function(i){return i?a:n})(r)}xr._=xr._interop_require_wildcard=e;function e(r,n){if(!n&&r&&r.__esModule)return r;if(r===null||typeof r!="object"&&typeof r!="function")return{default:r};var a=t(n);if(a&&a.has(r))return a.get(r);var i={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in r)if(s!=="default"&&Object.prototype.hasOwnProperty.call(r,s)){var c=o?Object.getOwnPropertyDescriptor(r,s):null;c&&(c.get||c.set)?Object.defineProperty(i,s,c):i[s]=r[s]}return i.default=r,a&&a.set(r,i),i}return xr}var Lr={exports:{}},gn={},Ya;function bu(){return Ya||(Ya=1,function(t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i}});const e=q,r=typeof window>"u",n=r?()=>{}:e.useLayoutEffect,a=r?()=>{}:e.useEffect;function i(o){const{headManager:s,reduceComponentsToState:c}=o;function u(){if(s&&s.mountedInstances){const l=e.Children.toArray(Array.from(s.mountedInstances).filter(Boolean));s.updateHead(c(l,o))}}if(r){var f;s==null||(f=s.mountedInstances)==null||f.add(o.children),u()}return n(()=>{var l;return s==null||(l=s.mountedInstances)==null||l.add(o.children),()=>{var p;s==null||(p=s.mountedInstances)==null||p.delete(o.children)}}),n(()=>(s&&(s._pendingUpdate=u),()=>{s&&(s._pendingUpdate=u)})),a(()=>(s&&s._pendingUpdate&&(s._pendingUpdate(),s._pendingUpdate=null),()=>{s&&s._pendingUpdate&&(s._pendingUpdate(),s._pendingUpdate=null)})),null}}(gn)),gn}var yn={},Xa;function Cu(){return Xa||(Xa=1,function(t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"AmpStateContext",{enumerable:!0,get:function(){return n}});const n=rt._(q).default.createContext({});process.env.NODE_ENV!=="production"&&(n.displayName="AmpStateContext")}(yn)),yn}var vn={},Qa;function Su(){return Qa||(Qa=1,function(t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"HeadManagerContext",{enumerable:!0,get:function(){return n}});const n=rt._(q).default.createContext({});process.env.NODE_ENV!=="production"&&(n.displayName="HeadManagerContext")}(vn)),vn}var En={},Ja;function Tu(){return Ja||(Ja=1,function(t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isInAmpMode",{enumerable:!0,get:function(){return e}});function e(r){let{ampFirst:n=!1,hybrid:a=!1,hasQuery:i=!1}=r===void 0?{}:r;return n||a&&i}}(En)),En}var ei;function Ru(){return ei||(ei=1,function(t,e){"use client";Object.defineProperty(e,"__esModule",{value:!0});function r(d,m){for(var E in m)Object.defineProperty(d,E,{enumerable:!0,get:m[E]})}r(e,{default:function(){return x},defaultHead:function(){return p}});const n=rt,a=Ta(),i=M,o=a._(q),s=n._(bu()),c=Cu(),u=Su(),f=Tu(),l=en;function p(d){d===void 0&&(d=!1);const m=[(0,i.jsx)("meta",{charSet:"utf-8"})];return d||m.push((0,i.jsx)("meta",{name:"viewport",content:"width=device-width"})),m}function v(d,m){return typeof m=="string"||typeof m=="number"?d:m.type===o.default.Fragment?d.concat(o.default.Children.toArray(m.props.children).reduce((E,R)=>typeof R=="string"||typeof R=="number"?E:E.concat(R),[])):d.concat(m)}const C=["name","httpEquiv","charSet","itemProp"];function A(){const d=new Set,m=new Set,E=new Set,R={};return S=>{let N=!0,U=!1;if(S.key&&typeof S.key!="number"&&S.key.indexOf("$")>0){U=!0;const k=S.key.slice(S.key.indexOf("$")+1);d.has(k)?N=!1:d.add(k)}switch(S.type){case"title":case"base":m.has(S.type)?N=!1:m.add(S.type);break;case"meta":for(let k=0,J=C.length;k<J;k++){const X=C[k];if(S.props.hasOwnProperty(X))if(X==="charSet")E.has(X)?N=!1:E.add(X);else{const $=S.props[X],F=R[X]||new Set;(X!=="name"||!U)&&F.has($)?N=!1:(F.add($),R[X]=F)}}break}return N}}function w(d,m){const{inAmpMode:E}=m;return d.reduce(v,[]).reverse().concat(p(E).reverse()).filter(A()).reverse().map((R,S)=>{const N=R.key||S;if(process.env.NODE_ENV!=="development"&&process.env.__NEXT_OPTIMIZE_FONTS&&!E&&R.type==="link"&&R.props.href&&["https://fonts.googleapis.com/css","https://use.typekit.net/"].some(U=>R.props.href.startsWith(U))){const U={...R.props||{}};return U["data-href"]=U.href,U.href=void 0,U["data-optimized-fonts"]=!0,o.default.cloneElement(R,U)}if(process.env.NODE_ENV==="development")if(R.type==="script"&&R.props.type!=="application/ld+json"){const U=R.props.src?'<script> tag with src="'+R.props.src+'"':"inline <script>";(0,l.warnOnce)("Do not add <script> tags using next/head (see "+U+`). Use next/script instead.
42
- See more info here: https://nextjs.org/docs/messages/no-script-tags-in-head-component`)}else R.type==="link"&&R.props.rel==="stylesheet"&&(0,l.warnOnce)('Do not add stylesheets using next/head (see <link rel="stylesheet"> tag with href="'+R.props.href+`"). Use Document instead.
43
- See more info here: https://nextjs.org/docs/messages/no-stylesheets-in-head-component`);return o.default.cloneElement(R,{key:N})})}function y(d){let{children:m}=d;const E=(0,o.useContext)(c.AmpStateContext),R=(0,o.useContext)(u.HeadManagerContext);return(0,i.jsx)(s.default,{reduceComponentsToState:w,headManager:R,inAmpMode:(0,f.isInAmpMode)(E),children:m})}const x=y;(typeof e.default=="function"||typeof e.default=="object"&&e.default!==null)&&typeof e.default.__esModule>"u"&&(Object.defineProperty(e.default,"__esModule",{value:!0}),Object.assign(e.default,e),t.exports=e.default)}(Lr,Lr.exports)),Lr.exports}var bn={},ti;function Ou(){return ti||(ti=1,function(t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ImageConfigContext",{enumerable:!0,get:function(){return a}});const r=rt._(q),n=tn,a=r.default.createContext(n.imageConfigDefault);process.env.NODE_ENV!=="production"&&(a.displayName="ImageConfigContext")}(bn)),bn}var Cn={},ri;function No(){return ri||(ri=1,function(t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"RouterContext",{enumerable:!0,get:function(){return n}});const n=rt._(q).default.createContext(null);process.env.NODE_ENV!=="production"&&(n.displayName="RouterContext")}(Cn)),Cn}var Sn={},Tn={},Rn={exports:{}},ni;function wu(){return ni||(ni=1,(()=>{var t={170:(a,i,o)=>{const s=o(510),c=()=>{if(typeof navigator<"u"&&navigator.platform){const f=navigator.platform.toLowerCase();return f==="win32"||f==="windows"}return typeof process<"u"&&process.platform?process.platform==="win32":!1};function u(f,l,p=!1){return l&&(l.windows===null||l.windows===void 0)&&(l={...l,windows:c()}),s(f,l,p)}Object.assign(u,s),a.exports=u},154:a=>{const i="\\\\/",o=`[^${i}]`,s="\\.",c="\\+",u="\\?",f="\\/",l="(?=.)",p="[^/]",v=`(?:${f}|$)`,C=`(?:^|${f})`,A=`${s}{1,2}${v}`,w=`(?!${s})`,y=`(?!${C}${A})`,x=`(?!${s}{0,1}${v})`,d=`(?!${A})`,m=`[^.${f}]`,E=`${p}*?`,S={DOT_LITERAL:s,PLUS_LITERAL:c,QMARK_LITERAL:u,SLASH_LITERAL:f,ONE_CHAR:l,QMARK:p,END_ANCHOR:v,DOTS_SLASH:A,NO_DOT:w,NO_DOTS:y,NO_DOT_SLASH:x,NO_DOTS_SLASH:d,QMARK_NO_DOT:m,STAR:E,START_ANCHOR:C,SEP:"/"},N={...S,SLASH_LITERAL:`[${i}]`,QMARK:o,STAR:`${o}*?`,DOTS_SLASH:`${s}{1,2}(?:[${i}]|$)`,NO_DOT:`(?!${s})`,NO_DOTS:`(?!(?:^|[${i}])${s}{1,2}(?:[${i}]|$))`,NO_DOT_SLASH:`(?!${s}{0,1}(?:[${i}]|$))`,NO_DOTS_SLASH:`(?!${s}{1,2}(?:[${i}]|$))`,QMARK_NO_DOT:`[^.${i}]`,START_ANCHOR:`(?:^|[${i}])`,END_ANCHOR:`(?:[${i}]|$)`,SEP:"\\"},U={alnum:"a-zA-Z0-9",alpha:"a-zA-Z",ascii:"\\x00-\\x7F",blank:" \\t",cntrl:"\\x00-\\x1F\\x7F",digit:"0-9",graph:"\\x21-\\x7E",lower:"a-z",print:"\\x20-\\x7E ",punct:"\\-!\"#$%&'()\\*+,./:;<=>?@[\\]^_`{|}~",space:" \\t\\r\\n\\v\\f",upper:"A-Z",word:"A-Za-z0-9_",xdigit:"A-Fa-f0-9"};a.exports={MAX_LENGTH:65536,POSIX_REGEX_SOURCE:U,REGEX_BACKSLASH:/\\(?![*+?^${}(|)[\]])/g,REGEX_NON_SPECIAL_CHARS:/^[^@![\].,$*+?^{}()|\\/]+/,REGEX_SPECIAL_CHARS:/[-*+?.^${}(|)[\]]/,REGEX_SPECIAL_CHARS_BACKREF:/(\\?)((\W)(\3*))/g,REGEX_SPECIAL_CHARS_GLOBAL:/([-*+?.^${}(|)[\]])/g,REGEX_REMOVE_BACKSLASH:/(?:\[.*?[^\\]\]|\\(?=.))/g,REPLACEMENTS:{"***":"*","**/**":"**","**/**/**":"**"},CHAR_0:48,CHAR_9:57,CHAR_UPPERCASE_A:65,CHAR_LOWERCASE_A:97,CHAR_UPPERCASE_Z:90,CHAR_LOWERCASE_Z:122,CHAR_LEFT_PARENTHESES:40,CHAR_RIGHT_PARENTHESES:41,CHAR_ASTERISK:42,CHAR_AMPERSAND:38,CHAR_AT:64,CHAR_BACKWARD_SLASH:92,CHAR_CARRIAGE_RETURN:13,CHAR_CIRCUMFLEX_ACCENT:94,CHAR_COLON:58,CHAR_COMMA:44,CHAR_DOT:46,CHAR_DOUBLE_QUOTE:34,CHAR_EQUAL:61,CHAR_EXCLAMATION_MARK:33,CHAR_FORM_FEED:12,CHAR_FORWARD_SLASH:47,CHAR_GRAVE_ACCENT:96,CHAR_HASH:35,CHAR_HYPHEN_MINUS:45,CHAR_LEFT_ANGLE_BRACKET:60,CHAR_LEFT_CURLY_BRACE:123,CHAR_LEFT_SQUARE_BRACKET:91,CHAR_LINE_FEED:10,CHAR_NO_BREAK_SPACE:160,CHAR_PERCENT:37,CHAR_PLUS:43,CHAR_QUESTION_MARK:63,CHAR_RIGHT_ANGLE_BRACKET:62,CHAR_RIGHT_CURLY_BRACE:125,CHAR_RIGHT_SQUARE_BRACKET:93,CHAR_SEMICOLON:59,CHAR_SINGLE_QUOTE:39,CHAR_SPACE:32,CHAR_TAB:9,CHAR_UNDERSCORE:95,CHAR_VERTICAL_LINE:124,CHAR_ZERO_WIDTH_NOBREAK_SPACE:65279,extglobChars(k){return{"!":{type:"negate",open:"(?:(?!(?:",close:`))${k.STAR})`},"?":{type:"qmark",open:"(?:",close:")?"},"+":{type:"plus",open:"(?:",close:")+"},"*":{type:"star",open:"(?:",close:")*"},"@":{type:"at",open:"(?:",close:")"}}},globChars(k){return k===!0?N:S}}},697:(a,i,o)=>{const s=o(154),c=o(96),{MAX_LENGTH:u,POSIX_REGEX_SOURCE:f,REGEX_NON_SPECIAL_CHARS:l,REGEX_SPECIAL_CHARS_BACKREF:p,REPLACEMENTS:v}=s,C=(y,x)=>{if(typeof x.expandRange=="function")return x.expandRange(...y,x);y.sort();const d=`[${y.join("-")}]`;try{new RegExp(d)}catch{return y.map(E=>c.escapeRegex(E)).join("..")}return d},A=(y,x)=>`Missing ${y}: "${x}" - use "\\\\${x}" to match literal characters`,w=(y,x)=>{if(typeof y!="string")throw new TypeError("Expected a string");y=v[y]||y;const d={...x},m=typeof d.maxLength=="number"?Math.min(u,d.maxLength):u;let E=y.length;if(E>m)throw new SyntaxError(`Input length: ${E}, exceeds maximum allowed length: ${m}`);const R={type:"bos",value:"",output:d.prepend||""},S=[R],N=d.capture?"":"?:",U=s.globChars(d.windows),k=s.extglobChars(U),{DOT_LITERAL:J,PLUS_LITERAL:X,SLASH_LITERAL:$,ONE_CHAR:F,DOTS_SLASH:ee,NO_DOT:le,NO_DOT_SLASH:be,NO_DOTS_SLASH:_e,QMARK:te,QMARK_NO_DOT:b,STAR:D,START_ANCHOR:re}=U,I=L=>`(${N}(?:(?!${re}${L.dot?ee:J}).)*?)`,oe=d.dot?"":le,ne=d.dot?te:b;let ge=d.bash===!0?I(d):D;d.capture&&(ge=`(${ge})`),typeof d.noext=="boolean"&&(d.noextglob=d.noext);const O={input:y,index:-1,start:0,dot:d.dot===!0,consumed:"",output:"",prefix:"",backtrack:!1,negated:!1,brackets:0,braces:0,parens:0,quotes:0,globstar:!1,tokens:S};y=c.removePrefix(y,O),E=y.length;const ie=[],pe=[],Ee=[];let T=R,g;const ue=()=>O.index===E-1,Z=O.peek=(L=1)=>y[O.index+L],Y=O.advance=()=>y[++O.index]||"",Oe=()=>y.slice(O.index+1),ke=(L="",G=0)=>{O.consumed+=L,O.index+=G},Le=L=>{O.output+=L.output!=null?L.output:L.value,ke(L.value)},Re=()=>{let L=1;for(;Z()==="!"&&(Z(2)!=="("||Z(3)==="?");)Y(),O.start++,L++;return L%2===0?!1:(O.negated=!0,O.start++,!0)},Ve=L=>{O[L]++,Ee.push(L)},Ie=L=>{O[L]--,Ee.pop()},h=L=>{if(T.type==="globstar"){const G=O.braces>0&&(L.type==="comma"||L.type==="brace"),P=L.extglob===!0||ie.length&&(L.type==="pipe"||L.type==="paren");L.type!=="slash"&&L.type!=="paren"&&!G&&!P&&(O.output=O.output.slice(0,-T.output.length),T.type="star",T.value="*",T.output=ge,O.output+=T.output)}if(ie.length&&L.type!=="paren"&&(ie[ie.length-1].inner+=L.value),(L.value||L.output)&&Le(L),T&&T.type==="text"&&L.type==="text"){T.output=(T.output||T.value)+L.value,T.value+=L.value;return}L.prev=T,S.push(L),T=L},H=(L,G)=>{const P={...k[G],conditions:1,inner:""};P.prev=T,P.parens=O.parens,P.output=O.output;const B=(d.capture?"(":"")+P.open;Ve("parens"),h({type:L,value:G,output:O.output?"":F}),h({type:"paren",extglob:!0,value:Y(),output:B}),ie.push(P)},j=L=>{let G=L.close+(d.capture?")":""),P;if(L.type==="negate"){let B=ge;if(L.inner&&L.inner.length>1&&L.inner.includes("/")&&(B=I(d)),(B!==ge||ue()||/^\)+$/.test(Oe()))&&(G=L.close=`)$))${B}`),L.inner.includes("*")&&(P=Oe())&&/^\.[^\\/.]+$/.test(P)){const de=w(P,{...x,fastpaths:!1}).output;G=L.close=`)${de})${B})`}L.prev.type==="bos"&&(O.negatedExtglob=!0)}h({type:"paren",extglob:!0,value:g,output:G}),Ie("parens")};if(d.fastpaths!==!1&&!/(^[*!]|[/()[\]{}"])/.test(y)){let L=!1,G=y.replace(p,(P,B,de,$e,Pe,St)=>$e==="\\"?(L=!0,P):$e==="?"?B?B+$e+(Pe?te.repeat(Pe.length):""):St===0?ne+(Pe?te.repeat(Pe.length):""):te.repeat(de.length):$e==="."?J.repeat(de.length):$e==="*"?B?B+$e+(Pe?ge:""):ge:B?P:`\\${P}`);return L===!0&&(d.unescape===!0?G=G.replace(/\\/g,""):G=G.replace(/\\+/g,P=>P.length%2===0?"\\\\":P?"\\":"")),G===y&&d.contains===!0?(O.output=y,O):(O.output=c.wrapOutput(G,O,x),O)}for(;!ue();){if(g=Y(),g==="\0")continue;if(g==="\\"){const P=Z();if(P==="/"&&d.bash!==!0||P==="."||P===";")continue;if(!P){g+="\\",h({type:"text",value:g});continue}const B=/^\\+/.exec(Oe());let de=0;if(B&&B[0].length>2&&(de=B[0].length,O.index+=de,de%2!==0&&(g+="\\")),d.unescape===!0?g=Y():g+=Y(),O.brackets===0){h({type:"text",value:g});continue}}if(O.brackets>0&&(g!=="]"||T.value==="["||T.value==="[^")){if(d.posix!==!1&&g===":"){const P=T.value.slice(1);if(P.includes("[")&&(T.posix=!0,P.includes(":"))){const B=T.value.lastIndexOf("["),de=T.value.slice(0,B),$e=T.value.slice(B+2),Pe=f[$e];if(Pe){T.value=de+Pe,O.backtrack=!0,Y(),!R.output&&S.indexOf(T)===1&&(R.output=F);continue}}}(g==="["&&Z()!==":"||g==="-"&&Z()==="]")&&(g=`\\${g}`),g==="]"&&(T.value==="["||T.value==="[^")&&(g=`\\${g}`),d.posix===!0&&g==="!"&&T.value==="["&&(g="^"),T.value+=g,Le({value:g});continue}if(O.quotes===1&&g!=='"'){g=c.escapeRegex(g),T.value+=g,Le({value:g});continue}if(g==='"'){O.quotes=O.quotes===1?0:1,d.keepQuotes===!0&&h({type:"text",value:g});continue}if(g==="("){Ve("parens"),h({type:"paren",value:g});continue}if(g===")"){if(O.parens===0&&d.strictBrackets===!0)throw new SyntaxError(A("opening","("));const P=ie[ie.length-1];if(P&&O.parens===P.parens+1){j(ie.pop());continue}h({type:"paren",value:g,output:O.parens?")":"\\)"}),Ie("parens");continue}if(g==="["){if(d.nobracket===!0||!Oe().includes("]")){if(d.nobracket!==!0&&d.strictBrackets===!0)throw new SyntaxError(A("closing","]"));g=`\\${g}`}else Ve("brackets");h({type:"bracket",value:g});continue}if(g==="]"){if(d.nobracket===!0||T&&T.type==="bracket"&&T.value.length===1){h({type:"text",value:g,output:`\\${g}`});continue}if(O.brackets===0){if(d.strictBrackets===!0)throw new SyntaxError(A("opening","["));h({type:"text",value:g,output:`\\${g}`});continue}Ie("brackets");const P=T.value.slice(1);if(T.posix!==!0&&P[0]==="^"&&!P.includes("/")&&(g=`/${g}`),T.value+=g,Le({value:g}),d.literalBrackets===!1||c.hasRegexChars(P))continue;const B=c.escapeRegex(T.value);if(O.output=O.output.slice(0,-T.value.length),d.literalBrackets===!0){O.output+=B,T.value=B;continue}T.value=`(${N}${B}|${T.value})`,O.output+=T.value;continue}if(g==="{"&&d.nobrace!==!0){Ve("braces");const P={type:"brace",value:g,output:"(",outputIndex:O.output.length,tokensIndex:O.tokens.length};pe.push(P),h(P);continue}if(g==="}"){const P=pe[pe.length-1];if(d.nobrace===!0||!P){h({type:"text",value:g,output:g});continue}let B=")";if(P.dots===!0){const de=S.slice(),$e=[];for(let Pe=de.length-1;Pe>=0&&(S.pop(),de[Pe].type!=="brace");Pe--)de[Pe].type!=="dots"&&$e.unshift(de[Pe].value);B=C($e,d),O.backtrack=!0}if(P.comma!==!0&&P.dots!==!0){const de=O.output.slice(0,P.outputIndex),$e=O.tokens.slice(P.tokensIndex);P.value=P.output="\\{",g=B="\\}",O.output=de;for(const Pe of $e)O.output+=Pe.output||Pe.value}h({type:"brace",value:g,output:B}),Ie("braces"),pe.pop();continue}if(g==="|"){ie.length>0&&ie[ie.length-1].conditions++,h({type:"text",value:g});continue}if(g===","){let P=g;const B=pe[pe.length-1];B&&Ee[Ee.length-1]==="braces"&&(B.comma=!0,P="|"),h({type:"comma",value:g,output:P});continue}if(g==="/"){if(T.type==="dot"&&O.index===O.start+1){O.start=O.index+1,O.consumed="",O.output="",S.pop(),T=R;continue}h({type:"slash",value:g,output:$});continue}if(g==="."){if(O.braces>0&&T.type==="dot"){T.value==="."&&(T.output=J);const P=pe[pe.length-1];T.type="dots",T.output+=g,T.value+=g,P.dots=!0;continue}if(O.braces+O.parens===0&&T.type!=="bos"&&T.type!=="slash"){h({type:"text",value:g,output:J});continue}h({type:"dot",value:g,output:J});continue}if(g==="?"){if(!(T&&T.value==="(")&&d.noextglob!==!0&&Z()==="("&&Z(2)!=="?"){H("qmark",g);continue}if(T&&T.type==="paren"){const B=Z();let de=g;(T.value==="("&&!/[!=<:]/.test(B)||B==="<"&&!/<([!=]|\w+>)/.test(Oe()))&&(de=`\\${g}`),h({type:"text",value:g,output:de});continue}if(d.dot!==!0&&(T.type==="slash"||T.type==="bos")){h({type:"qmark",value:g,output:b});continue}h({type:"qmark",value:g,output:te});continue}if(g==="!"){if(d.noextglob!==!0&&Z()==="("&&(Z(2)!=="?"||!/[!=<:]/.test(Z(3)))){H("negate",g);continue}if(d.nonegate!==!0&&O.index===0){Re();continue}}if(g==="+"){if(d.noextglob!==!0&&Z()==="("&&Z(2)!=="?"){H("plus",g);continue}if(T&&T.value==="("||d.regex===!1){h({type:"plus",value:g,output:X});continue}if(T&&(T.type==="bracket"||T.type==="paren"||T.type==="brace")||O.parens>0){h({type:"plus",value:g});continue}h({type:"plus",value:X});continue}if(g==="@"){if(d.noextglob!==!0&&Z()==="("&&Z(2)!=="?"){h({type:"at",extglob:!0,value:g,output:""});continue}h({type:"text",value:g});continue}if(g!=="*"){(g==="$"||g==="^")&&(g=`\\${g}`);const P=l.exec(Oe());P&&(g+=P[0],O.index+=P[0].length),h({type:"text",value:g});continue}if(T&&(T.type==="globstar"||T.star===!0)){T.type="star",T.star=!0,T.value+=g,T.output=ge,O.backtrack=!0,O.globstar=!0,ke(g);continue}let L=Oe();if(d.noextglob!==!0&&/^\([^?]/.test(L)){H("star",g);continue}if(T.type==="star"){if(d.noglobstar===!0){ke(g);continue}const P=T.prev,B=P.prev,de=P.type==="slash"||P.type==="bos",$e=B&&(B.type==="star"||B.type==="globstar");if(d.bash===!0&&(!de||L[0]&&L[0]!=="/")){h({type:"star",value:g,output:""});continue}const Pe=O.braces>0&&(P.type==="comma"||P.type==="brace"),St=ie.length&&(P.type==="pipe"||P.type==="paren");if(!de&&P.type!=="paren"&&!Pe&&!St){h({type:"star",value:g,output:""});continue}for(;L.slice(0,3)==="/**";){const ht=y[O.index+4];if(ht&&ht!=="/")break;L=L.slice(3),ke("/**",3)}if(P.type==="bos"&&ue()){T.type="globstar",T.value+=g,T.output=I(d),O.output=T.output,O.globstar=!0,ke(g);continue}if(P.type==="slash"&&P.prev.type!=="bos"&&!$e&&ue()){O.output=O.output.slice(0,-(P.output+T.output).length),P.output=`(?:${P.output}`,T.type="globstar",T.output=I(d)+(d.strictSlashes?")":"|$)"),T.value+=g,O.globstar=!0,O.output+=P.output+T.output,ke(g);continue}if(P.type==="slash"&&P.prev.type!=="bos"&&L[0]==="/"){const ht=L[1]!==void 0?"|$":"";O.output=O.output.slice(0,-(P.output+T.output).length),P.output=`(?:${P.output}`,T.type="globstar",T.output=`${I(d)}${$}|${$}${ht})`,T.value+=g,O.output+=P.output+T.output,O.globstar=!0,ke(g+Y()),h({type:"slash",value:"/",output:""});continue}if(P.type==="bos"&&L[0]==="/"){T.type="globstar",T.value+=g,T.output=`(?:^|${$}|${I(d)}${$})`,O.output=T.output,O.globstar=!0,ke(g+Y()),h({type:"slash",value:"/",output:""});continue}O.output=O.output.slice(0,-T.output.length),T.type="globstar",T.output=I(d),T.value+=g,O.output+=T.output,O.globstar=!0,ke(g);continue}const G={type:"star",value:g,output:ge};if(d.bash===!0){G.output=".*?",(T.type==="bos"||T.type==="slash")&&(G.output=oe+G.output),h(G);continue}if(T&&(T.type==="bracket"||T.type==="paren")&&d.regex===!0){G.output=g,h(G);continue}(O.index===O.start||T.type==="slash"||T.type==="dot")&&(T.type==="dot"?(O.output+=be,T.output+=be):d.dot===!0?(O.output+=_e,T.output+=_e):(O.output+=oe,T.output+=oe),Z()!=="*"&&(O.output+=F,T.output+=F)),h(G)}for(;O.brackets>0;){if(d.strictBrackets===!0)throw new SyntaxError(A("closing","]"));O.output=c.escapeLast(O.output,"["),Ie("brackets")}for(;O.parens>0;){if(d.strictBrackets===!0)throw new SyntaxError(A("closing",")"));O.output=c.escapeLast(O.output,"("),Ie("parens")}for(;O.braces>0;){if(d.strictBrackets===!0)throw new SyntaxError(A("closing","}"));O.output=c.escapeLast(O.output,"{"),Ie("braces")}if(d.strictSlashes!==!0&&(T.type==="star"||T.type==="bracket")&&h({type:"maybe_slash",value:"",output:`${$}?`}),O.backtrack===!0){O.output="";for(const L of O.tokens)O.output+=L.output!=null?L.output:L.value,L.suffix&&(O.output+=L.suffix)}return O};w.fastpaths=(y,x)=>{const d={...x},m=typeof d.maxLength=="number"?Math.min(u,d.maxLength):u,E=y.length;if(E>m)throw new SyntaxError(`Input length: ${E}, exceeds maximum allowed length: ${m}`);y=v[y]||y;const{DOT_LITERAL:R,SLASH_LITERAL:S,ONE_CHAR:N,DOTS_SLASH:U,NO_DOT:k,NO_DOTS:J,NO_DOTS_SLASH:X,STAR:$,START_ANCHOR:F}=s.globChars(d.windows),ee=d.dot?J:k,le=d.dot?X:k,be=d.capture?"":"?:",_e={negated:!1,prefix:""};let te=d.bash===!0?".*?":$;d.capture&&(te=`(${te})`);const b=oe=>oe.noglobstar===!0?te:`(${be}(?:(?!${F}${oe.dot?U:R}).)*?)`,D=oe=>{switch(oe){case"*":return`${ee}${N}${te}`;case".*":return`${R}${N}${te}`;case"*.*":return`${ee}${te}${R}${N}${te}`;case"*/*":return`${ee}${te}${S}${N}${le}${te}`;case"**":return ee+b(d);case"**/*":return`(?:${ee}${b(d)}${S})?${le}${N}${te}`;case"**/*.*":return`(?:${ee}${b(d)}${S})?${le}${te}${R}${N}${te}`;case"**/.*":return`(?:${ee}${b(d)}${S})?${R}${N}${te}`;default:{const ne=/^(.*?)\.(\w+)$/.exec(oe);if(!ne)return;const ge=D(ne[1]);return ge?ge+R+ne[2]:void 0}}},re=c.removePrefix(y,_e);let I=D(re);return I&&d.strictSlashes!==!0&&(I+=`${S}?`),I},a.exports=w},510:(a,i,o)=>{const s=o(716),c=o(697),u=o(96),f=o(154),l=v=>v&&typeof v=="object"&&!Array.isArray(v),p=(v,C,A=!1)=>{if(Array.isArray(v)){const S=v.map(U=>p(U,C,A));return U=>{for(const k of S){const J=k(U);if(J)return J}return!1}}const w=l(v)&&v.tokens&&v.input;if(v===""||typeof v!="string"&&!w)throw new TypeError("Expected pattern to be a non-empty string");const y=C||{},x=y.windows,d=w?p.compileRe(v,C):p.makeRe(v,C,!1,!0),m=d.state;delete d.state;let E=()=>!1;if(y.ignore){const S={...C,ignore:null,onMatch:null,onResult:null};E=p(y.ignore,S,A)}const R=(S,N=!1)=>{const{isMatch:U,match:k,output:J}=p.test(S,d,C,{glob:v,posix:x}),X={glob:v,state:m,regex:d,posix:x,input:S,output:J,match:k,isMatch:U};return typeof y.onResult=="function"&&y.onResult(X),U===!1?(X.isMatch=!1,N?X:!1):E(S)?(typeof y.onIgnore=="function"&&y.onIgnore(X),X.isMatch=!1,N?X:!1):(typeof y.onMatch=="function"&&y.onMatch(X),N?X:!0)};return A&&(R.state=m),R};p.test=(v,C,A,{glob:w,posix:y}={})=>{if(typeof v!="string")throw new TypeError("Expected input to be a string");if(v==="")return{isMatch:!1,output:""};const x=A||{},d=x.format||(y?u.toPosixSlashes:null);let m=v===w,E=m&&d?d(v):v;return m===!1&&(E=d?d(v):v,m=E===w),(m===!1||x.capture===!0)&&(x.matchBase===!0||x.basename===!0?m=p.matchBase(v,C,A,y):m=C.exec(E)),{isMatch:!!m,match:m,output:E}},p.matchBase=(v,C,A)=>(C instanceof RegExp?C:p.makeRe(C,A)).test(u.basename(v)),p.isMatch=(v,C,A)=>p(C,A)(v),p.parse=(v,C)=>Array.isArray(v)?v.map(A=>p.parse(A,C)):c(v,{...C,fastpaths:!1}),p.scan=(v,C)=>s(v,C),p.compileRe=(v,C,A=!1,w=!1)=>{if(A===!0)return v.output;const y=C||{},x=y.contains?"":"^",d=y.contains?"":"$";let m=`${x}(?:${v.output})${d}`;v&&v.negated===!0&&(m=`^(?!${m}).*$`);const E=p.toRegex(m,C);return w===!0&&(E.state=v),E},p.makeRe=(v,C={},A=!1,w=!1)=>{if(!v||typeof v!="string")throw new TypeError("Expected a non-empty string");let y={negated:!1,fastpaths:!0};return C.fastpaths!==!1&&(v[0]==="."||v[0]==="*")&&(y.output=c.fastpaths(v,C)),y.output||(y=c(v,C)),p.compileRe(y,C,A,w)},p.toRegex=(v,C)=>{try{const A=C||{};return new RegExp(v,A.flags||(A.nocase?"i":""))}catch(A){if(C&&C.debug===!0)throw A;return/$^/}},p.constants=f,a.exports=p},716:(a,i,o)=>{const s=o(96),{CHAR_ASTERISK:c,CHAR_AT:u,CHAR_BACKWARD_SLASH:f,CHAR_COMMA:l,CHAR_DOT:p,CHAR_EXCLAMATION_MARK:v,CHAR_FORWARD_SLASH:C,CHAR_LEFT_CURLY_BRACE:A,CHAR_LEFT_PARENTHESES:w,CHAR_LEFT_SQUARE_BRACKET:y,CHAR_PLUS:x,CHAR_QUESTION_MARK:d,CHAR_RIGHT_CURLY_BRACE:m,CHAR_RIGHT_PARENTHESES:E,CHAR_RIGHT_SQUARE_BRACKET:R}=o(154),S=k=>k===C||k===f,N=k=>{k.isPrefix!==!0&&(k.depth=k.isGlobstar?1/0:1)},U=(k,J)=>{const X=J||{},$=k.length-1,F=X.parts===!0||X.scanToEnd===!0,ee=[],le=[],be=[];let _e=k,te=-1,b=0,D=0,re=!1,I=!1,oe=!1,ne=!1,ge=!1,O=!1,ie=!1,pe=!1,Ee=!1,T=!1,g=0,ue,Z,Y={value:"",depth:0,isGlob:!1};const Oe=()=>te>=$,ke=()=>_e.charCodeAt(te+1),Le=()=>(ue=Z,_e.charCodeAt(++te));for(;te<$;){Z=Le();let H;if(Z===f){ie=Y.backslashes=!0,Z=Le(),Z===A&&(O=!0);continue}if(O===!0||Z===A){for(g++;Oe()!==!0&&(Z=Le());){if(Z===f){ie=Y.backslashes=!0,Le();continue}if(Z===A){g++;continue}if(O!==!0&&Z===p&&(Z=Le())===p){if(re=Y.isBrace=!0,oe=Y.isGlob=!0,T=!0,F===!0)continue;break}if(O!==!0&&Z===l){if(re=Y.isBrace=!0,oe=Y.isGlob=!0,T=!0,F===!0)continue;break}if(Z===m&&(g--,g===0)){O=!1,re=Y.isBrace=!0,T=!0;break}}if(F===!0)continue;break}if(Z===C){if(ee.push(te),le.push(Y),Y={value:"",depth:0,isGlob:!1},T===!0)continue;if(ue===p&&te===b+1){b+=2;continue}D=te+1;continue}if(X.noext!==!0&&(Z===x||Z===u||Z===c||Z===d||Z===v)===!0&&ke()===w){if(oe=Y.isGlob=!0,ne=Y.isExtglob=!0,T=!0,Z===v&&te===b&&(Ee=!0),F===!0){for(;Oe()!==!0&&(Z=Le());){if(Z===f){ie=Y.backslashes=!0,Z=Le();continue}if(Z===E){oe=Y.isGlob=!0,T=!0;break}}continue}break}if(Z===c){if(ue===c&&(ge=Y.isGlobstar=!0),oe=Y.isGlob=!0,T=!0,F===!0)continue;break}if(Z===d){if(oe=Y.isGlob=!0,T=!0,F===!0)continue;break}if(Z===y){for(;Oe()!==!0&&(H=Le());){if(H===f){ie=Y.backslashes=!0,Le();continue}if(H===R){I=Y.isBracket=!0,oe=Y.isGlob=!0,T=!0;break}}if(F===!0)continue;break}if(X.nonegate!==!0&&Z===v&&te===b){pe=Y.negated=!0,b++;continue}if(X.noparen!==!0&&Z===w){if(oe=Y.isGlob=!0,F===!0){for(;Oe()!==!0&&(Z=Le());){if(Z===w){ie=Y.backslashes=!0,Z=Le();continue}if(Z===E){T=!0;break}}continue}break}if(oe===!0){if(T=!0,F===!0)continue;break}}X.noext===!0&&(ne=!1,oe=!1);let Re=_e,Ve="",Ie="";b>0&&(Ve=_e.slice(0,b),_e=_e.slice(b),D-=b),Re&&oe===!0&&D>0?(Re=_e.slice(0,D),Ie=_e.slice(D)):oe===!0?(Re="",Ie=_e):Re=_e,Re&&Re!==""&&Re!=="/"&&Re!==_e&&S(Re.charCodeAt(Re.length-1))&&(Re=Re.slice(0,-1)),X.unescape===!0&&(Ie&&(Ie=s.removeBackslashes(Ie)),Re&&ie===!0&&(Re=s.removeBackslashes(Re)));const h={prefix:Ve,input:k,start:b,base:Re,glob:Ie,isBrace:re,isBracket:I,isGlob:oe,isExtglob:ne,isGlobstar:ge,negated:pe,negatedExtglob:Ee};if(X.tokens===!0&&(h.maxDepth=0,S(Z)||le.push(Y),h.tokens=le),X.parts===!0||X.tokens===!0){let H;for(let j=0;j<ee.length;j++){const L=H?H+1:b,G=ee[j],P=k.slice(L,G);X.tokens&&(j===0&&b!==0?(le[j].isPrefix=!0,le[j].value=Ve):le[j].value=P,N(le[j]),h.maxDepth+=le[j].depth),(j!==0||P!=="")&&be.push(P),H=G}if(H&&H+1<k.length){const j=k.slice(H+1);be.push(j),X.tokens&&(le[le.length-1].value=j,N(le[le.length-1]),h.maxDepth+=le[le.length-1].depth)}h.slashes=ee,h.parts=be}return h};a.exports=U},96:(a,i,o)=>{const{REGEX_BACKSLASH:s,REGEX_REMOVE_BACKSLASH:c,REGEX_SPECIAL_CHARS:u,REGEX_SPECIAL_CHARS_GLOBAL:f}=o(154);i.isObject=l=>l!==null&&typeof l=="object"&&!Array.isArray(l),i.hasRegexChars=l=>u.test(l),i.isRegexChar=l=>l.length===1&&i.hasRegexChars(l),i.escapeRegex=l=>l.replace(f,"\\$1"),i.toPosixSlashes=l=>l.replace(s,"/"),i.removeBackslashes=l=>l.replace(c,p=>p==="\\"?"":p),i.escapeLast=(l,p,v)=>{const C=l.lastIndexOf(p,v);return C===-1?l:l[C-1]==="\\"?i.escapeLast(l,p,C-1):`${l.slice(0,C)}\\${l.slice(C)}`},i.removePrefix=(l,p={})=>{let v=l;return v.startsWith("./")&&(v=v.slice(2),p.prefix="./"),v},i.wrapOutput=(l,p={},v={})=>{const C=v.contains?"":"^",A=v.contains?"":"$";let w=`${C}(?:${l})${A}`;return p.negated===!0&&(w=`(?:^(?!${w}).*$)`),w},i.basename=(l,{windows:p}={})=>{const v=l.split(p?/[\\/]/:"/"),C=v[v.length-1];return C===""?v[v.length-2]:C}}},e={};function r(a){var i=e[a];if(i!==void 0)return i.exports;var o=e[a]={exports:{}},s=!0;try{t[a](o,o.exports,r),s=!1}finally{s&&delete e[a]}return o.exports}typeof r<"u"&&(r.ab=__dirname+"/");var n=r(170);Rn.exports=n})()),Rn.exports}var ai;function Au(){return ai||(ai=1,function(t){Object.defineProperty(t,"__esModule",{value:!0});function e(i,o){for(var s in o)Object.defineProperty(i,s,{enumerable:!0,get:o[s]})}e(t,{hasMatch:function(){return a},matchRemotePattern:function(){return n}});const r=wu();function n(i,o){if(i.protocol!==void 0){const c=o.protocol.slice(0,-1);if(i.protocol!==c)return!1}if(i.port!==void 0&&i.port!==o.port)return!1;if(i.hostname===void 0)throw new Error(`Pattern should define hostname but found
44
- `+JSON.stringify(i));if(!(0,r.makeRe)(i.hostname).test(o.hostname))return!1;var s;return!!(0,r.makeRe)((s=i.pathname)!=null?s:"**",{dot:!0}).test(o.pathname)}function a(i,o,s){return i.some(c=>s.hostname===c)||o.some(c=>n(c,s))}}(Tn)),Tn}var ii;function jo(){return ii||(ii=1,function(t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r}});function e(n){let{config:a,src:i,width:o,quality:s}=n;if(process.env.NODE_ENV!=="production"){const c=[];if(i||c.push("src"),o||c.push("width"),c.length>0)throw new Error("Next Image Optimization requires "+c.join(", ")+" to be provided. Make sure you pass them as props to the `next/image` component. Received: "+JSON.stringify({src:i,width:o,quality:s}));if(i.startsWith("//"))throw new Error('Failed to parse src "'+i+'" on `next/image`, protocol-relative URL (//) must be changed to an absolute URL (http:// or https://)');if(!i.startsWith("/")&&(a.domains||a.remotePatterns)){let u;try{u=new URL(i)}catch(f){throw console.error(f),new Error('Failed to parse src "'+i+'" on `next/image`, if using relative image it must start with a leading slash "/" or be an absolute URL (http:// or https://)')}if(process.env.NODE_ENV!=="test"&&process.env.NEXT_RUNTIME!=="edge"){const{hasMatch:f}=Au();if(!f(a.domains,a.remotePatterns,u))throw new Error("Invalid src prop ("+i+') on `next/image`, hostname "'+u.hostname+'" is not configured under images in your `next.config.js`\nSee more info: https://nextjs.org/docs/messages/next-image-unconfigured-host')}}}return a.path+"?url="+encodeURIComponent(i)+"&w="+o+"&q="+(s||75)+(process.env.NEXT_DEPLOYMENT_ID?"&dpl="+process.env.NEXT_DEPLOYMENT_ID:"")}e.__next_img_default=!0;const r=e}(Sn)),Sn}(function(t,e){"use client";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"Image",{enumerable:!0,get:function(){return d}});const r=rt,n=Ta(),a=M,i=n._(q),o=r._(Ws),s=r._(Ru()),c=Sa,u=tn,f=Ou(),l=en,p=No(),v=r._(jo()),C=process.env.__NEXT_IMAGE_OPTS;typeof window>"u"&&(globalThis.__NEXT_IMAGE_IMPORTED=!0);function A(m,E,R,S,N,U,k){const J=m==null?void 0:m.src;if(!m||m["data-loaded-src"]===J)return;m["data-loaded-src"]=J,("decode"in m?m.decode():Promise.resolve()).catch(()=>{}).then(()=>{if(!(!m.parentElement||!m.isConnected)){if(E!=="empty"&&N(!0),R!=null&&R.current){const $=new Event("load");Object.defineProperty($,"target",{writable:!1,value:m});let F=!1,ee=!1;R.current({...$,nativeEvent:$,currentTarget:m,target:m,isDefaultPrevented:()=>F,isPropagationStopped:()=>ee,persist:()=>{},preventDefault:()=>{F=!0,$.preventDefault()},stopPropagation:()=>{ee=!0,$.stopPropagation()}})}if(S!=null&&S.current&&S.current(m),process.env.NODE_ENV!=="production"){const $=new URL(J,"http://n").searchParams.get("url")||J;if(m.getAttribute("data-nimg")==="fill"){if(!U&&(!k||k==="100vw")&&m.getBoundingClientRect().width/window.innerWidth<.6&&(k==="100vw"?(0,l.warnOnce)('Image with src "'+$+'" has "fill" prop and "sizes" prop of "100vw", but image is not rendered at full viewport width. Please adjust "sizes" to improve page performance. Read more: https://nextjs.org/docs/api-reference/next/image#sizes'):(0,l.warnOnce)('Image with src "'+$+'" has "fill" but is missing "sizes" prop. Please add it to improve page performance. Read more: https://nextjs.org/docs/api-reference/next/image#sizes')),m.parentElement){const{position:le}=window.getComputedStyle(m.parentElement),be=["absolute","fixed","relative"];be.includes(le)||(0,l.warnOnce)('Image with src "'+$+'" has "fill" and parent element with invalid "position". Provided "'+le+'" should be one of '+be.map(String).join(",")+".")}m.height===0&&(0,l.warnOnce)('Image with src "'+$+'" has "fill" and a height value of 0. This is likely because the parent element of the image has not been styled to have a set height.')}const F=m.height.toString()!==m.getAttribute("height"),ee=m.width.toString()!==m.getAttribute("width");(F&&!ee||!F&&ee)&&(0,l.warnOnce)('Image with src "'+$+`" has either width or height modified, but not the other. If you use CSS to change the size of your image, also include the styles 'width: "auto"' or 'height: "auto"' to maintain the aspect ratio.`)}}})}function w(m){return i.use?{fetchPriority:m}:{fetchpriority:m}}const y=(0,i.forwardRef)((m,E)=>{let{src:R,srcSet:S,sizes:N,height:U,width:k,decoding:J,className:X,style:$,fetchPriority:F,placeholder:ee,loading:le,unoptimized:be,fill:_e,onLoadRef:te,onLoadingCompleteRef:b,setBlurComplete:D,setShowAltText:re,sizesInput:I,onLoad:oe,onError:ne,...ge}=m;return(0,a.jsx)("img",{...ge,...w(F),loading:le,width:k,height:U,decoding:J,"data-nimg":_e?"fill":"1",className:X,style:$,sizes:N,srcSet:S,src:R,ref:(0,i.useCallback)(O=>{E&&(typeof E=="function"?E(O):typeof E=="object"&&(E.current=O)),O&&(ne&&(O.src=O.src),process.env.NODE_ENV!=="production"&&(R||console.error('Image is missing required "src" property:',O),O.getAttribute("alt")===null&&console.error('Image is missing required "alt" property. Please add Alternative Text to describe the image for screen readers and search engines.')),O.complete&&A(O,ee,te,b,D,be,I))},[R,ee,te,b,D,ne,be,I,E]),onLoad:O=>{const ie=O.currentTarget;A(ie,ee,te,b,D,be,I)},onError:O=>{re(!0),ee!=="empty"&&D(!0),ne&&ne(O)}})});function x(m){let{isAppRouter:E,imgAttributes:R}=m;const S={as:"image",imageSrcSet:R.srcSet,imageSizes:R.sizes,crossOrigin:R.crossOrigin,referrerPolicy:R.referrerPolicy,...w(R.fetchPriority)};return E&&o.default.preload?(o.default.preload(R.src,S),null):(0,a.jsx)(s.default,{children:(0,a.jsx)("link",{rel:"preload",href:R.srcSet?void 0:R.src,...S},"__nimg-"+R.src+R.srcSet+R.sizes)})}const d=(0,i.forwardRef)((m,E)=>{const S=!(0,i.useContext)(p.RouterContext),N=(0,i.useContext)(f.ImageConfigContext),U=(0,i.useMemo)(()=>{const b=C||N||u.imageConfigDefault,D=[...b.deviceSizes,...b.imageSizes].sort((I,oe)=>I-oe),re=b.deviceSizes.sort((I,oe)=>I-oe);return{...b,allSizes:D,deviceSizes:re}},[N]),{onLoad:k,onLoadingComplete:J}=m,X=(0,i.useRef)(k);(0,i.useEffect)(()=>{X.current=k},[k]);const $=(0,i.useRef)(J);(0,i.useEffect)(()=>{$.current=J},[J]);const[F,ee]=(0,i.useState)(!1),[le,be]=(0,i.useState)(!1),{props:_e,meta:te}=(0,c.getImgProps)(m,{defaultLoader:v.default,imgConf:U,blurComplete:F,showAltText:le});return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(y,{..._e,unoptimized:te.unoptimized,placeholder:te.placeholder,fill:te.fill,onLoadRef:X,onLoadingCompleteRef:$,setBlurComplete:ee,setShowAltText:be,sizesInput:m.sizes,ref:E}),te.priority?(0,a.jsx)(x,{isAppRouter:S,imgAttributes:_e}):null]})});(typeof e.default=="function"||typeof e.default=="object"&&e.default!==null)&&typeof e.default.__esModule>"u"&&(Object.defineProperty(e.default,"__esModule",{value:!0}),Object.assign(e.default,e),t.exports=e.default)})(ua,ua.exports);var xu=ua.exports;(function(t){Object.defineProperty(t,"__esModule",{value:!0});function e(c,u){for(var f in u)Object.defineProperty(c,f,{enumerable:!0,get:u[f]})}e(t,{default:function(){return s},getImageProps:function(){return o}});const r=rt,n=Sa,a=xu,i=r._(jo());function o(c){const{props:u}=(0,n.getImgProps)(c,{defaultLoader:i.default,imgConf:process.env.__NEXT_IMAGE_OPTS});for(const[f,l]of Object.entries(u))l===void 0&&delete u[f];return{props:u}}const s=a.Image})(Io);var Lu=Io;const Iu=Ro(Lu),Pu=({filePath:t})=>{var i;const e=((i=t.split("\\").pop())==null?void 0:i.split("/").pop())||"",r=t.split(e).shift(),n=t.split(".").pop(),a=e.substring(0,e.lastIndexOf("."))||e;return{path:r,filename:a,extension:n||""}},Fr=(t,e,r,n=!1)=>{const{filename:a,path:i,extension:o}=Pu({filePath:t}),s=process.env.nextImageExportOptimizer_storePicturesInWEBP!=null?process.env.nextImageExportOptimizer_storePicturesInWEBP=="true":!0;if(!["JPG","JPEG","WEBP","PNG","AVIF","GIF"].includes(o.toUpperCase()))return t;let c=o;s&&["JPG","JPEG","PNG","GIF"].includes(o.toUpperCase())&&(c="WEBP");let u=i;(u==null?void 0:u.substr(-1))!="/"&&(u=u+"/");const l=t.includes("_next/static/media");r&&(r.endsWith("/")&&u&&u.startsWith("/")?u=r+u.slice(1):!r.endsWith("/")&&u&&!u.startsWith("/")?u=r+"/"+u:u=r+u);const p=process.env.nextImageExportOptimizer_exportFolderName||"nextImageExportOptimizer",v=r?r+"/":"";let C=`${l?v:u}${p}/${a}-opt-${e}.${c.toUpperCase()}`;return!n&&C.charAt(0)!=="/"&&(C="/"+C),C},oi=(t,e=0)=>{let r=3735928559^e,n=1103547991^e;for(let a=0,i;a<t.length;a++)i=t.charCodeAt(a),r=Math.imul(r^i,2654435761),n=Math.imul(n^i,1597334677);return r=Math.imul(r^r>>>16,2246822507),r^=Math.imul(n^n>>>13,3266489909),n=Math.imul(n^n>>>16,2246822507),n^=Math.imul(r^r>>>13,3266489909),4294967296*(2097151&n)+(r>>>0)};function Nu(t){try{const r=new URL(t).pathname.split(".").pop();if(r)return oi(t).toString().concat(".",r)}catch(e){console.error("Error parsing URL",t,e)}return oi(t).toString()}const Mo=({src:t,width:e,basePath:r})=>{const n=Nu(t);return Fr(n,e,r,!0)},ju=({src:t,width:e,basePath:r})=>{var o,s;const n=typeof t=="object",a=n?t.src:t,i=n&&t.width||void 0;if(n&&i&&e>i){const c=(((o=process.env.__NEXT_IMAGE_OPTS)==null?void 0:o.deviceSizes)||[640,750,828,1080,1200,1920,2048,3840]).map(Number),u=(((s=process.env.__NEXT_IMAGE_OPTS)==null?void 0:s.imageSizes)||[16,32,48,64,96,128,256,384]).map(Number);let f=[...c,...u];f=f.filter((p,v,C)=>C.indexOf(p)===v),f.sort((p,v)=>p-v);let l=null;for(let p=0;p<f.length;p++)Number(f[p])>=i&&(l===null||Number(f[p])<l)&&(l=Number(f[p]));if(l!==null)return Fr(a,l,r)}return a.startsWith("http")?Mo({src:a,width:e,basePath:r}):Fr(a,e,r)},Mu=({src:t})=>{let e=typeof t=="object"?t.src:t;return!e.startsWith("http")&&e.charAt(0)!=="/"&&(e="/"+e),e},Du=q.forwardRef(({src:t,priority:e=!1,loading:r,className:n,width:a,height:i,onLoad:o,unoptimized:s,placeholder:c="blur",basePath:u="",alt:f="",blurDataURL:l,style:p,onError:v,overrideSrc:C,...A},w)=>{const[y,x]=q.useState(!1),d=q.useMemo(()=>{if(l)return l;let J=typeof t=="object"?t.src:t;return s===!0?J:J.startsWith("http")?Mo({src:J,width:10,basePath:u}):Fr(J,10,u)},[l,t,s,u]),m=typeof t=="object"?t.src.endsWith(".svg"):t.endsWith(".svg"),[E,R]=q.useState(!1),S=c==="blur"&&!m&&d&&d.startsWith("/")&&!E?{backgroundSize:(p==null?void 0:p.objectFit)||"cover",backgroundPosition:(p==null?void 0:p.objectPosition)||"50% 50%",backgroundRepeat:"no-repeat",backgroundImage:`url("${d}")`}:void 0,N=typeof t=="object";let U=N?t.src:t;return u&&!N&&U.startsWith("/")&&(U=u+U),u&&!N&&!U.startsWith("/")&&(U=u+"/"+U),q.createElement(Iu,{ref:w,alt:f,...A,...a&&{width:a},...i&&{height:i},...r&&{loading:r},...n&&{className:n},...o&&{onLoad:o},...C&&{overrideSrc:C},...c&&{placeholder:S||E?"empty":c},...s&&{unoptimized:s},...e&&{priority:e},...m&&{unoptimized:!0},style:{...p,...S},loader:y||s===!0?()=>Mu({src:C||t}):k=>ju({src:t,width:k.width,basePath:u}),blurDataURL:d,onError:k=>{x(!0),R(!0),v&&v(k)},onLoad:k=>{k.target.naturalWidth===0&&x(!0),R(!0),o&&o(k)},src:N?t:U})});Du.displayName="ExportedImage";const ku=q.createContext({pageMapping:[],pathName:"/"});ku.Provider;var ca={exports:{}},Ae={};/** @license React v16.13.1
30
+ <%s key={someKey} {...props} />`,Yr,_t,ji,_t),kn[_t+Yr]=!0}}return o===n?Li(ve):Ii(ve),ve}}function Ri(o,y,I){return Bn(o,y,I,!0)}function wi(o,y,I){return Bn(o,y,I,!1)}var Ni=wi,Di=Ri;Ut.Fragment=n,Ut.jsx=Ni,Ut.jsxs=Di}()),Ut}process.env.NODE_ENV==="production"?sn.exports=Bi():sn.exports=Mi();var h=sn.exports;function Ca(e){var t,r,n="";if(typeof e=="string"||typeof e=="number")n+=e;else if(typeof e=="object")if(Array.isArray(e)){var a=e.length;for(t=0;t<a;t++)e[t]&&(r=Ca(e[t]))&&(n&&(n+=" "),n+=r)}else for(r in e)e[r]&&(n&&(n+=" "),n+=r);return n}function st(){for(var e,t,r=0,n="",a=arguments.length;r<a;r++)(e=arguments[r])&&(t=Ca(e))&&(n&&(n+=" "),n+=t);return n}const $i="_persuasionContent_10etw_106",zr={persuasionContent:$i,"persuasionContent--center":"_persuasionContent--center_10etw_110","persuasionContent--left":"_persuasionContent--left_10etw_115","persuasionContent--surfaceContainer":"_persuasionContent--surfaceContainer_10etw_120","persuasionContent--vanilla":"_persuasionContent--vanilla_10etw_123"},Ki=({alignment:e,background:t,children:r})=>{const n=st(zr.persuasionContent,zr[`persuasionContent--${e}`],zr[`persuasionContent--${t}`]);return h.jsx("div",{className:n,children:r})},Fi="_persuationImage_sbo87_106",Hi={persuationImage:Fi},Vi=({data:e})=>h.jsx("div",{className:Hi.persuationImage,children:e.map(t=>h.jsx("img",{src:t.src,alt:t.alt},t.src))}),Ui=({block:e})=>{const t=()=>{var n;const r=[];return(n=e.fields.images)==null||n.map(a=>{var i,s;r.push({alt:(a==null?void 0:a.fields.description)??"",src:(i=a==null?void 0:a.fields.file)!=null&&i.url?`https:${(s=a.fields.file)==null?void 0:s.url}`:""})}),r};return h.jsx(Vi,{data:t()})},Zi="_persuasionList_1k5y9_106",Gi={persuasionList:Zi,"persuasionList--hasIcon":"_persuasionList--hasIcon_1k5y9_111"},Yi="_persuasionListItem_zwvgx_106",zi="_persuasionListItem__text_zwvgx_113",Wi="_persuasionListItem__ellipse_zwvgx_118",Sr={persuasionListItem:Yi,persuasionListItem__text:zi,persuasionListItem__ellipse:Wi,"persuasionListItem--hasIcon":"_persuasionListItem--hasIcon_zwvgx_124"},qi=({body:e,headline:t,icon:r})=>{const n=st(Sr.persuasionListItem,{[Sr["persuasionListItem--hasIcon"]]:r});return h.jsxs("li",{className:n,children:[r!==void 0?h.jsx($.Sticker,{color:"green",icon:r,size:"small"}):h.jsx("div",{className:Sr.persuasionListItem__ellipse}),h.jsxs("div",{className:Sr.persuasionListItem__text,children:[t&&h.jsx($.Typography,{type:"h5",children:t}),e&&h.jsx($.Typography,{type:"body-regular",children:e})]})]})},Ji=({list:e})=>h.jsx("ul",{className:Gi.persuasionList,children:e.map(t=>N.createElement(qi,{...t,key:t.headline}))}),Xi=({block:e})=>{const t=()=>{var n;const r=[];return(n=e.fields.items)==null||n.map(a=>r.push({body:a==null?void 0:a.fields.body,headline:a==null?void 0:a.fields.headline,icon:a==null?void 0:a.fields.icon})),r};return h.jsx(Ji,{list:t()})};var gn={};(function(e){var t=N,r=function(){return r=Object.assign||function(S){for(var G,p=1,fe=arguments.length;p<fe;p++){G=arguments[p];for(var ce in G)Object.prototype.hasOwnProperty.call(G,ce)&&(S[ce]=G[ce])}return S},r.apply(this,arguments)};typeof SuppressedError=="function"&&SuppressedError;var n=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof be<"u"?be:typeof self<"u"?self:{},a={},i={};Object.defineProperty(i,"__esModule",{value:!0}),i.BLOCKS=void 0;var s;(function(l){l.DOCUMENT="document",l.PARAGRAPH="paragraph",l.HEADING_1="heading-1",l.HEADING_2="heading-2",l.HEADING_3="heading-3",l.HEADING_4="heading-4",l.HEADING_5="heading-5",l.HEADING_6="heading-6",l.OL_LIST="ordered-list",l.UL_LIST="unordered-list",l.LIST_ITEM="list-item",l.HR="hr",l.QUOTE="blockquote",l.EMBEDDED_ENTRY="embedded-entry-block",l.EMBEDDED_ASSET="embedded-asset-block",l.EMBEDDED_RESOURCE="embedded-resource-block",l.TABLE="table",l.TABLE_ROW="table-row",l.TABLE_CELL="table-cell",l.TABLE_HEADER_CELL="table-header-cell"})(s||(i.BLOCKS=s={}));var u={};Object.defineProperty(u,"__esModule",{value:!0}),u.INLINES=void 0;var f;(function(l){l.ASSET_HYPERLINK="asset-hyperlink",l.EMBEDDED_ENTRY="embedded-entry-inline",l.EMBEDDED_RESOURCE="embedded-resource-inline",l.ENTRY_HYPERLINK="entry-hyperlink",l.HYPERLINK="hyperlink",l.RESOURCE_HYPERLINK="resource-hyperlink"})(f||(u.INLINES=f={}));var c={};Object.defineProperty(c,"__esModule",{value:!0}),c.MARKS=void 0;var _;(function(l){l.BOLD="bold",l.ITALIC="italic",l.UNDERLINE="underline",l.CODE="code",l.SUPERSCRIPT="superscript",l.SUBSCRIPT="subscript",l.STRIKETHROUGH="strikethrough"})(_||(c.MARKS=_={}));var b={};(function(l){var S=n&&n.__spreadArray||function(Ee,pe,Te){if(Te||arguments.length===2)for(var _e=0,me=pe.length,z;_e<me;_e++)(z||!(_e in pe))&&(z||(z=Array.prototype.slice.call(pe,0,_e)),z[_e]=pe[_e]);return Ee.concat(z||Array.prototype.slice.call(pe))},G;Object.defineProperty(l,"__esModule",{value:!0}),l.V1_MARKS=l.V1_NODE_TYPES=l.TEXT_CONTAINERS=l.HEADINGS=l.CONTAINERS=l.VOID_BLOCKS=l.TABLE_BLOCKS=l.LIST_ITEM_BLOCKS=l.TOP_LEVEL_BLOCKS=void 0;var p=i,fe=u,ce=c;l.TOP_LEVEL_BLOCKS=[p.BLOCKS.PARAGRAPH,p.BLOCKS.HEADING_1,p.BLOCKS.HEADING_2,p.BLOCKS.HEADING_3,p.BLOCKS.HEADING_4,p.BLOCKS.HEADING_5,p.BLOCKS.HEADING_6,p.BLOCKS.OL_LIST,p.BLOCKS.UL_LIST,p.BLOCKS.HR,p.BLOCKS.QUOTE,p.BLOCKS.EMBEDDED_ENTRY,p.BLOCKS.EMBEDDED_ASSET,p.BLOCKS.EMBEDDED_RESOURCE,p.BLOCKS.TABLE],l.LIST_ITEM_BLOCKS=[p.BLOCKS.PARAGRAPH,p.BLOCKS.HEADING_1,p.BLOCKS.HEADING_2,p.BLOCKS.HEADING_3,p.BLOCKS.HEADING_4,p.BLOCKS.HEADING_5,p.BLOCKS.HEADING_6,p.BLOCKS.OL_LIST,p.BLOCKS.UL_LIST,p.BLOCKS.HR,p.BLOCKS.QUOTE,p.BLOCKS.EMBEDDED_ENTRY,p.BLOCKS.EMBEDDED_ASSET,p.BLOCKS.EMBEDDED_RESOURCE],l.TABLE_BLOCKS=[p.BLOCKS.TABLE,p.BLOCKS.TABLE_ROW,p.BLOCKS.TABLE_CELL,p.BLOCKS.TABLE_HEADER_CELL],l.VOID_BLOCKS=[p.BLOCKS.HR,p.BLOCKS.EMBEDDED_ENTRY,p.BLOCKS.EMBEDDED_ASSET,p.BLOCKS.EMBEDDED_RESOURCE],l.CONTAINERS=(G={},G[p.BLOCKS.OL_LIST]=[p.BLOCKS.LIST_ITEM],G[p.BLOCKS.UL_LIST]=[p.BLOCKS.LIST_ITEM],G[p.BLOCKS.LIST_ITEM]=l.LIST_ITEM_BLOCKS,G[p.BLOCKS.QUOTE]=[p.BLOCKS.PARAGRAPH],G[p.BLOCKS.TABLE]=[p.BLOCKS.TABLE_ROW],G[p.BLOCKS.TABLE_ROW]=[p.BLOCKS.TABLE_CELL,p.BLOCKS.TABLE_HEADER_CELL],G[p.BLOCKS.TABLE_CELL]=[p.BLOCKS.PARAGRAPH,p.BLOCKS.UL_LIST,p.BLOCKS.OL_LIST],G[p.BLOCKS.TABLE_HEADER_CELL]=[p.BLOCKS.PARAGRAPH],G),l.HEADINGS=[p.BLOCKS.HEADING_1,p.BLOCKS.HEADING_2,p.BLOCKS.HEADING_3,p.BLOCKS.HEADING_4,p.BLOCKS.HEADING_5,p.BLOCKS.HEADING_6],l.TEXT_CONTAINERS=S([p.BLOCKS.PARAGRAPH],l.HEADINGS,!0),l.V1_NODE_TYPES=[p.BLOCKS.DOCUMENT,p.BLOCKS.PARAGRAPH,p.BLOCKS.HEADING_1,p.BLOCKS.HEADING_2,p.BLOCKS.HEADING_3,p.BLOCKS.HEADING_4,p.BLOCKS.HEADING_5,p.BLOCKS.HEADING_6,p.BLOCKS.OL_LIST,p.BLOCKS.UL_LIST,p.BLOCKS.LIST_ITEM,p.BLOCKS.HR,p.BLOCKS.QUOTE,p.BLOCKS.EMBEDDED_ENTRY,p.BLOCKS.EMBEDDED_ASSET,fe.INLINES.HYPERLINK,fe.INLINES.ENTRY_HYPERLINK,fe.INLINES.ASSET_HYPERLINK,fe.INLINES.EMBEDDED_ENTRY,"text"],l.V1_MARKS=[ce.MARKS.BOLD,ce.MARKS.CODE,ce.MARKS.ITALIC,ce.MARKS.UNDERLINE]})(b);var E={};Object.defineProperty(E,"__esModule",{value:!0});var k={};Object.defineProperty(k,"__esModule",{value:!0});var R={};Object.defineProperty(R,"__esModule",{value:!0}),R.EMPTY_DOCUMENT=void 0;var ee=i;R.EMPTY_DOCUMENT={nodeType:ee.BLOCKS.DOCUMENT,data:{},content:[{nodeType:ee.BLOCKS.PARAGRAPH,data:{},content:[{nodeType:"text",value:"",marks:[],data:{}}]}]};var te={};Object.defineProperty(te,"__esModule",{value:!0}),te.isInline=P,te.isBlock=g,te.isText=H;var m=i,T=u;function B(l,S){for(var G=0,p=Object.keys(l);G<p.length;G++){var fe=p[G];if(S===l[fe])return!0}return!1}function P(l){return B(T.INLINES,l.nodeType)}function g(l){return B(m.BLOCKS,l.nodeType)}function H(l){return l.nodeType==="text"}function O(l){throw new Error('Could not dynamically require "'+l+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var ie={};Object.defineProperty(ie,"__esModule",{value:!0}),ie.getSchemaWithNodeType=Ie;function Ie(l){try{return O("./generated/".concat(l,".json"))}catch{throw new Error('Schema for nodeType "'.concat(l,'" was not found.'))}}(function(l){var S=n&&n.__createBinding||(Object.create?function(z,C,le,Ce){Ce===void 0&&(Ce=le);var Ae=Object.getOwnPropertyDescriptor(C,le);(!Ae||("get"in Ae?!C.__esModule:Ae.writable||Ae.configurable))&&(Ae={enumerable:!0,get:function(){return C[le]}}),Object.defineProperty(z,Ce,Ae)}:function(z,C,le,Ce){Ce===void 0&&(Ce=le),z[Ce]=C[le]}),G=n&&n.__setModuleDefault||(Object.create?function(z,C){Object.defineProperty(z,"default",{enumerable:!0,value:C})}:function(z,C){z.default=C}),p=n&&n.__exportStar||function(z,C){for(var le in z)le!=="default"&&!Object.prototype.hasOwnProperty.call(C,le)&&S(C,z,le)},fe=n&&n.__importStar||function(z){if(z&&z.__esModule)return z;var C={};if(z!=null)for(var le in z)le!=="default"&&Object.prototype.hasOwnProperty.call(z,le)&&S(C,z,le);return G(C,z),C};Object.defineProperty(l,"__esModule",{value:!0}),l.getSchemaWithNodeType=l.helpers=l.EMPTY_DOCUMENT=l.MARKS=l.INLINES=l.BLOCKS=void 0;var ce=i;Object.defineProperty(l,"BLOCKS",{enumerable:!0,get:function(){return ce.BLOCKS}});var Ee=u;Object.defineProperty(l,"INLINES",{enumerable:!0,get:function(){return Ee.INLINES}});var pe=c;Object.defineProperty(l,"MARKS",{enumerable:!0,get:function(){return pe.MARKS}}),p(b,l),p(E,l),p(k,l);var Te=R;Object.defineProperty(l,"EMPTY_DOCUMENT",{enumerable:!0,get:function(){return Te.EMPTY_DOCUMENT}});var _e=fe(te);l.helpers=_e;var me=ie;Object.defineProperty(l,"getSchemaWithNodeType",{enumerable:!0,get:function(){return me.getSchemaWithNodeType}})})(a);function Oe(l,S){return t.isValidElement(l)&&l.key===null?t.cloneElement(l,{key:S}):l}function De(l,S){return l.map(function(G,p){return Oe(we(G,S),p)})}function we(l,S){var G=S.renderNode,p=S.renderMark,fe=S.renderText,ce=S.preserveWhitespace;if(a.helpers.isText(l)){var Ee=fe?fe(l.value):l.value;if(ce&&!fe){Ee=Ee.replace(/ {2,}/g,function(me){return" ".repeat(me.length)});var pe=Ee.split(`
31
+ `),Te=[];pe.forEach(function(me,z){Te.push(me),z!==pe.length-1&&Te.push(t.createElement("br",null))}),Ee=Te}return l.marks.reduce(function(me,z){return p[z.type]?p[z.type](me):me},Ee)}else{var _e=De(l.content,S);return!l.nodeType||!G[l.nodeType]?t.createElement(t.Fragment,null,_e):G[l.nodeType](l,_e)}}var D,Q,ge=(D={},D[a.BLOCKS.DOCUMENT]=function(l,S){return S},D[a.BLOCKS.PARAGRAPH]=function(l,S){return t.createElement("p",null,S)},D[a.BLOCKS.HEADING_1]=function(l,S){return t.createElement("h1",null,S)},D[a.BLOCKS.HEADING_2]=function(l,S){return t.createElement("h2",null,S)},D[a.BLOCKS.HEADING_3]=function(l,S){return t.createElement("h3",null,S)},D[a.BLOCKS.HEADING_4]=function(l,S){return t.createElement("h4",null,S)},D[a.BLOCKS.HEADING_5]=function(l,S){return t.createElement("h5",null,S)},D[a.BLOCKS.HEADING_6]=function(l,S){return t.createElement("h6",null,S)},D[a.BLOCKS.EMBEDDED_ENTRY]=function(l,S){return t.createElement("div",null,S)},D[a.BLOCKS.EMBEDDED_RESOURCE]=function(l,S){return t.createElement("div",null,S)},D[a.BLOCKS.UL_LIST]=function(l,S){return t.createElement("ul",null,S)},D[a.BLOCKS.OL_LIST]=function(l,S){return t.createElement("ol",null,S)},D[a.BLOCKS.LIST_ITEM]=function(l,S){return t.createElement("li",null,S)},D[a.BLOCKS.QUOTE]=function(l,S){return t.createElement("blockquote",null,S)},D[a.BLOCKS.HR]=function(){return t.createElement("hr",null)},D[a.BLOCKS.TABLE]=function(l,S){return t.createElement("table",null,t.createElement("tbody",null,S))},D[a.BLOCKS.TABLE_ROW]=function(l,S){return t.createElement("tr",null,S)},D[a.BLOCKS.TABLE_HEADER_CELL]=function(l,S){return t.createElement("th",null,S)},D[a.BLOCKS.TABLE_CELL]=function(l,S){return t.createElement("td",null,S)},D[a.INLINES.ASSET_HYPERLINK]=function(l){return Ge(a.INLINES.ASSET_HYPERLINK,l)},D[a.INLINES.ENTRY_HYPERLINK]=function(l){return Ge(a.INLINES.ENTRY_HYPERLINK,l)},D[a.INLINES.RESOURCE_HYPERLINK]=function(l){return Ke(a.INLINES.RESOURCE_HYPERLINK,l)},D[a.INLINES.EMBEDDED_ENTRY]=function(l){return Ge(a.INLINES.EMBEDDED_ENTRY,l)},D[a.INLINES.EMBEDDED_RESOURCE]=function(l,S){return Ke(a.INLINES.EMBEDDED_RESOURCE,l)},D[a.INLINES.HYPERLINK]=function(l,S){return t.createElement("a",{href:l.data.uri},S)},D),$e=(Q={},Q[a.MARKS.BOLD]=function(l){return t.createElement("b",null,l)},Q[a.MARKS.ITALIC]=function(l){return t.createElement("i",null,l)},Q[a.MARKS.UNDERLINE]=function(l){return t.createElement("u",null,l)},Q[a.MARKS.CODE]=function(l){return t.createElement("code",null,l)},Q[a.MARKS.SUPERSCRIPT]=function(l){return t.createElement("sup",null,l)},Q[a.MARKS.SUBSCRIPT]=function(l){return t.createElement("sub",null,l)},Q[a.MARKS.STRIKETHROUGH]=function(l){return t.createElement("s",null,l)},Q);function Ge(l,S){return t.createElement("span",{key:S.data.target.sys.id},"type: ",S.nodeType," id: ",S.data.target.sys.id)}function Ke(l,S){return t.createElement("span",{key:S.data.target.sys.urn},"type: ",S.nodeType," urn: ",S.data.target.sys.urn)}function Xe(l,S){return S===void 0&&(S={}),l?we(l,{renderNode:r(r({},ge),S.renderNode),renderMark:r(r({},$e),S.renderMark),renderText:S.renderText,preserveWhitespace:S.preserveWhitespace}):null}e.documentToReactComponents=Xe})(gn);var He={},Ct={};Object.defineProperty(Ct,"__esModule",{value:!0});Ct.BLOCKS=void 0;var Kn;(function(e){e.DOCUMENT="document",e.PARAGRAPH="paragraph",e.HEADING_1="heading-1",e.HEADING_2="heading-2",e.HEADING_3="heading-3",e.HEADING_4="heading-4",e.HEADING_5="heading-5",e.HEADING_6="heading-6",e.OL_LIST="ordered-list",e.UL_LIST="unordered-list",e.LIST_ITEM="list-item",e.HR="hr",e.QUOTE="blockquote",e.EMBEDDED_ENTRY="embedded-entry-block",e.EMBEDDED_ASSET="embedded-asset-block",e.EMBEDDED_RESOURCE="embedded-resource-block",e.TABLE="table",e.TABLE_ROW="table-row",e.TABLE_CELL="table-cell",e.TABLE_HEADER_CELL="table-header-cell"})(Kn||(Ct.BLOCKS=Kn={}));var Ft={};Object.defineProperty(Ft,"__esModule",{value:!0});Ft.INLINES=void 0;var Fn;(function(e){e.ASSET_HYPERLINK="asset-hyperlink",e.EMBEDDED_ENTRY="embedded-entry-inline",e.EMBEDDED_RESOURCE="embedded-resource-inline",e.ENTRY_HYPERLINK="entry-hyperlink",e.HYPERLINK="hyperlink",e.RESOURCE_HYPERLINK="resource-hyperlink"})(Fn||(Ft.INLINES=Fn={}));var hr={};Object.defineProperty(hr,"__esModule",{value:!0});hr.MARKS=void 0;var Hn;(function(e){e.BOLD="bold",e.ITALIC="italic",e.UNDERLINE="underline",e.CODE="code",e.SUPERSCRIPT="superscript",e.SUBSCRIPT="subscript",e.STRIKETHROUGH="strikethrough"})(Hn||(hr.MARKS=Hn={}));var Aa={};(function(e){var t=be&&be.__spreadArray||function(s,u,f){if(f||arguments.length===2)for(var c=0,_=u.length,b;c<_;c++)(b||!(c in u))&&(b||(b=Array.prototype.slice.call(u,0,c)),b[c]=u[c]);return s.concat(b||Array.prototype.slice.call(u))},r;Object.defineProperty(e,"__esModule",{value:!0}),e.V1_MARKS=e.V1_NODE_TYPES=e.TEXT_CONTAINERS=e.HEADINGS=e.CONTAINERS=e.VOID_BLOCKS=e.TABLE_BLOCKS=e.LIST_ITEM_BLOCKS=e.TOP_LEVEL_BLOCKS=void 0;var n=Ct,a=Ft,i=hr;e.TOP_LEVEL_BLOCKS=[n.BLOCKS.PARAGRAPH,n.BLOCKS.HEADING_1,n.BLOCKS.HEADING_2,n.BLOCKS.HEADING_3,n.BLOCKS.HEADING_4,n.BLOCKS.HEADING_5,n.BLOCKS.HEADING_6,n.BLOCKS.OL_LIST,n.BLOCKS.UL_LIST,n.BLOCKS.HR,n.BLOCKS.QUOTE,n.BLOCKS.EMBEDDED_ENTRY,n.BLOCKS.EMBEDDED_ASSET,n.BLOCKS.EMBEDDED_RESOURCE,n.BLOCKS.TABLE],e.LIST_ITEM_BLOCKS=[n.BLOCKS.PARAGRAPH,n.BLOCKS.HEADING_1,n.BLOCKS.HEADING_2,n.BLOCKS.HEADING_3,n.BLOCKS.HEADING_4,n.BLOCKS.HEADING_5,n.BLOCKS.HEADING_6,n.BLOCKS.OL_LIST,n.BLOCKS.UL_LIST,n.BLOCKS.HR,n.BLOCKS.QUOTE,n.BLOCKS.EMBEDDED_ENTRY,n.BLOCKS.EMBEDDED_ASSET,n.BLOCKS.EMBEDDED_RESOURCE],e.TABLE_BLOCKS=[n.BLOCKS.TABLE,n.BLOCKS.TABLE_ROW,n.BLOCKS.TABLE_CELL,n.BLOCKS.TABLE_HEADER_CELL],e.VOID_BLOCKS=[n.BLOCKS.HR,n.BLOCKS.EMBEDDED_ENTRY,n.BLOCKS.EMBEDDED_ASSET,n.BLOCKS.EMBEDDED_RESOURCE],e.CONTAINERS=(r={},r[n.BLOCKS.OL_LIST]=[n.BLOCKS.LIST_ITEM],r[n.BLOCKS.UL_LIST]=[n.BLOCKS.LIST_ITEM],r[n.BLOCKS.LIST_ITEM]=e.LIST_ITEM_BLOCKS,r[n.BLOCKS.QUOTE]=[n.BLOCKS.PARAGRAPH],r[n.BLOCKS.TABLE]=[n.BLOCKS.TABLE_ROW],r[n.BLOCKS.TABLE_ROW]=[n.BLOCKS.TABLE_CELL,n.BLOCKS.TABLE_HEADER_CELL],r[n.BLOCKS.TABLE_CELL]=[n.BLOCKS.PARAGRAPH,n.BLOCKS.UL_LIST,n.BLOCKS.OL_LIST],r[n.BLOCKS.TABLE_HEADER_CELL]=[n.BLOCKS.PARAGRAPH],r),e.HEADINGS=[n.BLOCKS.HEADING_1,n.BLOCKS.HEADING_2,n.BLOCKS.HEADING_3,n.BLOCKS.HEADING_4,n.BLOCKS.HEADING_5,n.BLOCKS.HEADING_6],e.TEXT_CONTAINERS=t([n.BLOCKS.PARAGRAPH],e.HEADINGS,!0),e.V1_NODE_TYPES=[n.BLOCKS.DOCUMENT,n.BLOCKS.PARAGRAPH,n.BLOCKS.HEADING_1,n.BLOCKS.HEADING_2,n.BLOCKS.HEADING_3,n.BLOCKS.HEADING_4,n.BLOCKS.HEADING_5,n.BLOCKS.HEADING_6,n.BLOCKS.OL_LIST,n.BLOCKS.UL_LIST,n.BLOCKS.LIST_ITEM,n.BLOCKS.HR,n.BLOCKS.QUOTE,n.BLOCKS.EMBEDDED_ENTRY,n.BLOCKS.EMBEDDED_ASSET,a.INLINES.HYPERLINK,a.INLINES.ENTRY_HYPERLINK,a.INLINES.ASSET_HYPERLINK,a.INLINES.EMBEDDED_ENTRY,"text"],e.V1_MARKS=[i.MARKS.BOLD,i.MARKS.CODE,i.MARKS.ITALIC,i.MARKS.UNDERLINE]})(Aa);var xa={};Object.defineProperty(xa,"__esModule",{value:!0});var Ia={};Object.defineProperty(Ia,"__esModule",{value:!0});var Nr={};Object.defineProperty(Nr,"__esModule",{value:!0});Nr.EMPTY_DOCUMENT=void 0;var Vn=Ct;Nr.EMPTY_DOCUMENT={nodeType:Vn.BLOCKS.DOCUMENT,data:{},content:[{nodeType:Vn.BLOCKS.PARAGRAPH,data:{},content:[{nodeType:"text",value:"",marks:[],data:{}}]}]};var pr={};Object.defineProperty(pr,"__esModule",{value:!0});pr.isInline=ts;pr.isBlock=rs;pr.isText=ns;var Qi=Ct,es=Ft;function La(e,t){for(var r=0,n=Object.keys(e);r<n.length;r++){var a=n[r];if(t===e[a])return!0}return!1}function ts(e){return La(es.INLINES,e.nodeType)}function rs(e){return La(Qi.BLOCKS,e.nodeType)}function ns(e){return e.nodeType==="text"}function as(e){throw new Error('Could not dynamically require "'+e+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var En={};Object.defineProperty(En,"__esModule",{value:!0});En.getSchemaWithNodeType=is;function is(e){try{return as("./generated/".concat(e,".json"))}catch{throw new Error('Schema for nodeType "'.concat(e,'" was not found.'))}}(function(e){var t=be&&be.__createBinding||(Object.create?function(b,E,k,R){R===void 0&&(R=k);var ee=Object.getOwnPropertyDescriptor(E,k);(!ee||("get"in ee?!E.__esModule:ee.writable||ee.configurable))&&(ee={enumerable:!0,get:function(){return E[k]}}),Object.defineProperty(b,R,ee)}:function(b,E,k,R){R===void 0&&(R=k),b[R]=E[k]}),r=be&&be.__setModuleDefault||(Object.create?function(b,E){Object.defineProperty(b,"default",{enumerable:!0,value:E})}:function(b,E){b.default=E}),n=be&&be.__exportStar||function(b,E){for(var k in b)k!=="default"&&!Object.prototype.hasOwnProperty.call(E,k)&&t(E,b,k)},a=be&&be.__importStar||function(b){if(b&&b.__esModule)return b;var E={};if(b!=null)for(var k in b)k!=="default"&&Object.prototype.hasOwnProperty.call(b,k)&&t(E,b,k);return r(E,b),E};Object.defineProperty(e,"__esModule",{value:!0}),e.getSchemaWithNodeType=e.helpers=e.EMPTY_DOCUMENT=e.MARKS=e.INLINES=e.BLOCKS=void 0;var i=Ct;Object.defineProperty(e,"BLOCKS",{enumerable:!0,get:function(){return i.BLOCKS}});var s=Ft;Object.defineProperty(e,"INLINES",{enumerable:!0,get:function(){return s.INLINES}});var u=hr;Object.defineProperty(e,"MARKS",{enumerable:!0,get:function(){return u.MARKS}}),n(Aa,e),n(xa,e),n(Ia,e);var f=Nr;Object.defineProperty(e,"EMPTY_DOCUMENT",{enumerable:!0,get:function(){return f.EMPTY_DOCUMENT}});var c=a(pr);e.helpers=c;var _=En;Object.defineProperty(e,"getSchemaWithNodeType",{enumerable:!0,get:function(){return _.getSchemaWithNodeType}})})(He);const ss="_persuasionText_tz1xc_106",os={persuasionText:ss},us=({children:e})=>h.jsx("div",{className:os.persuasionText,children:e}),cs=({block:e})=>{const t={preserveWhitespace:!0,renderMark:{[He.MARKS.BOLD]:n=>h.jsx($.Typography,{type:"body-semibold",children:n})},renderNode:{[He.BLOCKS.PARAGRAPH]:(n,a)=>h.jsx($.Typography,{type:"body-regular",children:a}),[He.BLOCKS.HEADING_1]:(n,a)=>h.jsx($.Typography,{type:"h1",children:a}),[He.BLOCKS.HEADING_3]:(n,a)=>h.jsx($.Typography,{type:"h3",children:a}),[He.BLOCKS.HEADING_4]:(n,a)=>h.jsx($.Typography,{type:"h4",children:a}),[He.BLOCKS.HEADING_2]:(n,a)=>h.jsx($.Typography,{type:"h2",children:a}),[He.BLOCKS.HEADING_5]:(n,a)=>h.jsx($.Typography,{type:"h5",children:a}),[He.BLOCKS.HEADING_6]:(n,a)=>h.jsx($.Typography,{type:"h6",children:a})}},r=()=>{const n=e.fields.text;if(n!==void 0)return gn.documentToReactComponents(n,t)};return h.jsx(us,{children:r()})},ls=({block:e})=>{const t=()=>{var r;return(r=e.fields.content)==null?void 0:r.map(n=>{switch(n==null?void 0:n.sys.contentType.sys.id){case"componentPersuasionImage":{const a=n;return h.jsx(Ui,{block:a})}case"componentPersuasionText":{const a=n;return h.jsx(cs,{block:a})}case"componentPersuasionList":{const a=n;return h.jsx(Xi,{block:a})}}})};return h.jsx(Ki,{alignment:e.fields.alignment,background:e.fields.background,children:t()})},ds="_persuasionImageSet_1pwtv_106",fs="_persuasionImageSet__images_1pwtv_110",hs="_persuasionImageSet__image_1pwtv_110",ps="_persuasionImageSet__text_1pwtv_125",_s="_persuasionImageSet__body_1pwtv_158",at={persuasionImageSet:ds,persuasionImageSet__images:fs,persuasionImageSet__image:hs,persuasionImageSet__text:ps,"persuasionImageSet--surface":"_persuasionImageSet--surface_1pwtv_133","persuasionImageSet--surfaceContainer":"_persuasionImageSet--surfaceContainer_1pwtv_137","persuasionImageSet--surfaceDim":"_persuasionImageSet--surfaceDim_1pwtv_141","persuasionImageSet--vanilla":"_persuasionImageSet--vanilla_1pwtv_145","persuasionImageSet--primary":"_persuasionImageSet--primary_1pwtv_149",persuasionImageSet__body:_s},ms=({backdrop:e,body:t,headline:r,imageLeft:n,imageRight:a})=>h.jsxs("div",{className:at.persuasionImageSet,children:[h.jsxs("div",{className:st(at.persuasionImageSet__images,at[`persuasionImageSet--${e}`]),children:[h.jsx("img",{className:at.persuasionImageSet__image,src:n.src,alt:n.alt}),h.jsx("img",{className:at.persuasionImageSet__image,src:a.src,alt:a.alt})]}),!!(r||t)&&h.jsxs("div",{className:st(at.persuasionImageSet__text,at[`persuasionImageSet--${e}`]),children:[r&&h.jsx($.Typography,{type:"h2",children:r}),t&&h.jsx($.Typography,{type:"body-large",className:at.persuasionImageSet__body,children:t})]})]}),ys=({block:e})=>{const t=r=>{var n,a;return{alt:(r==null?void 0:r.fields.description)??"",src:(n=r==null?void 0:r.fields.file)!=null&&n.url?`https:${(a=r.fields.file)==null?void 0:a.url}`:""}};return h.jsx(ms,{backdrop:e.fields.backdrop,imageLeft:t(e.fields.imageLeft),imageRight:t(e.fields.imageRight),body:e.fields.body,headline:e.fields.headline})},vs=({dynamicContent:e,onSubmit:t})=>h.jsx(h.Fragment,{children:e&&e.map(r=>{switch(r==null?void 0:r.sys.contentType.sys.id){case"blockSponsorCard":return h.jsx(N.Fragment,{children:h.jsx(bi,{block:r,onSubmit:t})},r==null?void 0:r.sys.id);case"blockPersuasionImageSet":return h.jsx(ys,{block:r});case"blockPersuasionContent":return h.jsx(ls,{block:r});default:return h.jsx(h.Fragment,{children:"No Block"})}})});var gs=function(t){return Es(t)&&!Ss(t)};function Es(e){return!!e&&typeof e=="object"}function Ss(e){var t=Object.prototype.toString.call(e);return t==="[object RegExp]"||t==="[object Date]"||Os(e)}var bs=typeof Symbol=="function"&&Symbol.for,Ts=bs?Symbol.for("react.element"):60103;function Os(e){return e.$$typeof===Ts}function Cs(e){return Array.isArray(e)?[]:{}}function Or(e,t){return t.clone!==!1&&t.isMergeableObject(e)?qt(Cs(e),e,t):e}function As(e,t,r){return e.concat(t).map(function(n){return Or(n,r)})}function xs(e,t,r){var n={};return r.isMergeableObject(e)&&Object.keys(e).forEach(function(a){n[a]=Or(e[a],r)}),Object.keys(t).forEach(function(a){!r.isMergeableObject(t[a])||!e[a]?n[a]=Or(t[a],r):n[a]=qt(e[a],t[a],r)}),n}function qt(e,t,r){r=r||{},r.arrayMerge=r.arrayMerge||As,r.isMergeableObject=r.isMergeableObject||gs;var n=Array.isArray(t),a=Array.isArray(e),i=n===a;return i?n?r.arrayMerge(e,t,r):xs(e,t,r):Or(t,r)}qt.all=function(t,r){if(!Array.isArray(t))throw new Error("first argument should be an array");return t.reduce(function(n,a){return qt(n,a,r)},{})};var on=qt,Ra=typeof global=="object"&&global&&global.Object===Object&&global,Is=typeof self=="object"&&self&&self.Object===Object&&self,Je=Ra||Is||Function("return this")(),ot=Je.Symbol,wa=Object.prototype,Ls=wa.hasOwnProperty,Rs=wa.toString,Zt=ot?ot.toStringTag:void 0;function ws(e){var t=Ls.call(e,Zt),r=e[Zt];try{e[Zt]=void 0;var n=!0}catch{}var a=Rs.call(e);return n&&(t?e[Zt]=r:delete e[Zt]),a}var Ns=Object.prototype,Ds=Ns.toString;function js(e){return Ds.call(e)}var Ps="[object Null]",ks="[object Undefined]",Un=ot?ot.toStringTag:void 0;function At(e){return e==null?e===void 0?ks:Ps:Un&&Un in Object(e)?ws(e):js(e)}function Na(e,t){return function(r){return e(t(r))}}var Sn=Na(Object.getPrototypeOf,Object);function xt(e){return e!=null&&typeof e=="object"}var Bs="[object Object]",Ms=Function.prototype,$s=Object.prototype,Da=Ms.toString,Ks=$s.hasOwnProperty,Fs=Da.call(Object);function Zn(e){if(!xt(e)||At(e)!=Bs)return!1;var t=Sn(e);if(t===null)return!0;var r=Ks.call(t,"constructor")&&t.constructor;return typeof r=="function"&&r instanceof r&&Da.call(r)==Fs}function Hs(){this.__data__=[],this.size=0}function ja(e,t){return e===t||e!==e&&t!==t}function Dr(e,t){for(var r=e.length;r--;)if(ja(e[r][0],t))return r;return-1}var Vs=Array.prototype,Us=Vs.splice;function Zs(e){var t=this.__data__,r=Dr(t,e);if(r<0)return!1;var n=t.length-1;return r==n?t.pop():Us.call(t,r,1),--this.size,!0}function Gs(e){var t=this.__data__,r=Dr(t,e);return r<0?void 0:t[r][1]}function Ys(e){return Dr(this.__data__,e)>-1}function zs(e,t){var r=this.__data__,n=Dr(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this}function rt(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}rt.prototype.clear=Hs;rt.prototype.delete=Zs;rt.prototype.get=Gs;rt.prototype.has=Ys;rt.prototype.set=zs;function Ws(){this.__data__=new rt,this.size=0}function qs(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r}function Js(e){return this.__data__.get(e)}function Xs(e){return this.__data__.has(e)}function _r(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var Qs="[object AsyncFunction]",eo="[object Function]",to="[object GeneratorFunction]",ro="[object Proxy]";function Pa(e){if(!_r(e))return!1;var t=At(e);return t==eo||t==to||t==Qs||t==ro}var Wr=Je["__core-js_shared__"],Gn=function(){var e=/[^.]+$/.exec(Wr&&Wr.keys&&Wr.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function no(e){return!!Gn&&Gn in e}var ao=Function.prototype,io=ao.toString;function It(e){if(e!=null){try{return io.call(e)}catch{}try{return e+""}catch{}}return""}var so=/[\\^$.*+?()[\]{}|]/g,oo=/^\[object .+?Constructor\]$/,uo=Function.prototype,co=Object.prototype,lo=uo.toString,fo=co.hasOwnProperty,ho=RegExp("^"+lo.call(fo).replace(so,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function po(e){if(!_r(e)||no(e))return!1;var t=Pa(e)?ho:oo;return t.test(It(e))}function _o(e,t){return e==null?void 0:e[t]}function Lt(e,t){var r=_o(e,t);return po(r)?r:void 0}var Jt=Lt(Je,"Map"),Xt=Lt(Object,"create");function mo(){this.__data__=Xt?Xt(null):{},this.size=0}function yo(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var vo="__lodash_hash_undefined__",go=Object.prototype,Eo=go.hasOwnProperty;function So(e){var t=this.__data__;if(Xt){var r=t[e];return r===vo?void 0:r}return Eo.call(t,e)?t[e]:void 0}var bo=Object.prototype,To=bo.hasOwnProperty;function Oo(e){var t=this.__data__;return Xt?t[e]!==void 0:To.call(t,e)}var Co="__lodash_hash_undefined__";function Ao(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=Xt&&t===void 0?Co:t,this}function bt(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}bt.prototype.clear=mo;bt.prototype.delete=yo;bt.prototype.get=So;bt.prototype.has=Oo;bt.prototype.set=Ao;function xo(){this.size=0,this.__data__={hash:new bt,map:new(Jt||rt),string:new bt}}function Io(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}function jr(e,t){var r=e.__data__;return Io(t)?r[typeof t=="string"?"string":"hash"]:r.map}function Lo(e){var t=jr(this,e).delete(e);return this.size-=t?1:0,t}function Ro(e){return jr(this,e).get(e)}function wo(e){return jr(this,e).has(e)}function No(e,t){var r=jr(this,e),n=r.size;return r.set(e,t),this.size+=r.size==n?0:1,this}function ft(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}ft.prototype.clear=xo;ft.prototype.delete=Lo;ft.prototype.get=Ro;ft.prototype.has=wo;ft.prototype.set=No;var Do=200;function jo(e,t){var r=this.__data__;if(r instanceof rt){var n=r.__data__;if(!Jt||n.length<Do-1)return n.push([e,t]),this.size=++r.size,this;r=this.__data__=new ft(n)}return r.set(e,t),this.size=r.size,this}function Ht(e){var t=this.__data__=new rt(e);this.size=t.size}Ht.prototype.clear=Ws;Ht.prototype.delete=qs;Ht.prototype.get=Js;Ht.prototype.has=Xs;Ht.prototype.set=jo;function Po(e,t){for(var r=-1,n=e==null?0:e.length;++r<n&&t(e[r],r,e)!==!1;);return e}var Yn=function(){try{var e=Lt(Object,"defineProperty");return e({},"",{}),e}catch{}}();function ka(e,t,r){t=="__proto__"&&Yn?Yn(e,t,{configurable:!0,enumerable:!0,value:r,writable:!0}):e[t]=r}var ko=Object.prototype,Bo=ko.hasOwnProperty;function Ba(e,t,r){var n=e[t];(!(Bo.call(e,t)&&ja(n,r))||r===void 0&&!(t in e))&&ka(e,t,r)}function Pr(e,t,r,n){var a=!r;r||(r={});for(var i=-1,s=t.length;++i<s;){var u=t[i],f=void 0;f===void 0&&(f=e[u]),a?ka(r,u,f):Ba(r,u,f)}return r}function Mo(e,t){for(var r=-1,n=Array(e);++r<e;)n[r]=t(r);return n}var $o="[object Arguments]";function zn(e){return xt(e)&&At(e)==$o}var Ma=Object.prototype,Ko=Ma.hasOwnProperty,Fo=Ma.propertyIsEnumerable,Ho=zn(function(){return arguments}())?zn:function(e){return xt(e)&&Ko.call(e,"callee")&&!Fo.call(e,"callee")},mr=Array.isArray;function Vo(){return!1}var $a=typeof exports=="object"&&exports&&!exports.nodeType&&exports,Wn=$a&&typeof module=="object"&&module&&!module.nodeType&&module,Uo=Wn&&Wn.exports===$a,qn=Uo?Je.Buffer:void 0,Zo=qn?qn.isBuffer:void 0,Ka=Zo||Vo,Go=9007199254740991,Yo=/^(?:0|[1-9]\d*)$/;function zo(e,t){var r=typeof e;return t=t??Go,!!t&&(r=="number"||r!="symbol"&&Yo.test(e))&&e>-1&&e%1==0&&e<t}var Wo=9007199254740991;function Fa(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=Wo}var qo="[object Arguments]",Jo="[object Array]",Xo="[object Boolean]",Qo="[object Date]",eu="[object Error]",tu="[object Function]",ru="[object Map]",nu="[object Number]",au="[object Object]",iu="[object RegExp]",su="[object Set]",ou="[object String]",uu="[object WeakMap]",cu="[object ArrayBuffer]",lu="[object DataView]",du="[object Float32Array]",fu="[object Float64Array]",hu="[object Int8Array]",pu="[object Int16Array]",_u="[object Int32Array]",mu="[object Uint8Array]",yu="[object Uint8ClampedArray]",vu="[object Uint16Array]",gu="[object Uint32Array]",ue={};ue[du]=ue[fu]=ue[hu]=ue[pu]=ue[_u]=ue[mu]=ue[yu]=ue[vu]=ue[gu]=!0;ue[qo]=ue[Jo]=ue[cu]=ue[Xo]=ue[lu]=ue[Qo]=ue[eu]=ue[tu]=ue[ru]=ue[nu]=ue[au]=ue[iu]=ue[su]=ue[ou]=ue[uu]=!1;function Eu(e){return xt(e)&&Fa(e.length)&&!!ue[At(e)]}function bn(e){return function(t){return e(t)}}var Ha=typeof exports=="object"&&exports&&!exports.nodeType&&exports,zt=Ha&&typeof module=="object"&&module&&!module.nodeType&&module,Su=zt&&zt.exports===Ha,qr=Su&&Ra.process,Bt=function(){try{var e=zt&&zt.require&&zt.require("util").types;return e||qr&&qr.binding&&qr.binding("util")}catch{}}(),Jn=Bt&&Bt.isTypedArray,bu=Jn?bn(Jn):Eu,Tu=Object.prototype,Ou=Tu.hasOwnProperty;function Va(e,t){var r=mr(e),n=!r&&Ho(e),a=!r&&!n&&Ka(e),i=!r&&!n&&!a&&bu(e),s=r||n||a||i,u=s?Mo(e.length,String):[],f=u.length;for(var c in e)(t||Ou.call(e,c))&&!(s&&(c=="length"||a&&(c=="offset"||c=="parent")||i&&(c=="buffer"||c=="byteLength"||c=="byteOffset")||zo(c,f)))&&u.push(c);return u}var Cu=Object.prototype;function Tn(e){var t=e&&e.constructor,r=typeof t=="function"&&t.prototype||Cu;return e===r}var Au=Na(Object.keys,Object),xu=Object.prototype,Iu=xu.hasOwnProperty;function Lu(e){if(!Tn(e))return Au(e);var t=[];for(var r in Object(e))Iu.call(e,r)&&r!="constructor"&&t.push(r);return t}function Ua(e){return e!=null&&Fa(e.length)&&!Pa(e)}function On(e){return Ua(e)?Va(e):Lu(e)}function Ru(e,t){return e&&Pr(t,On(t),e)}function wu(e){var t=[];if(e!=null)for(var r in Object(e))t.push(r);return t}var Nu=Object.prototype,Du=Nu.hasOwnProperty;function ju(e){if(!_r(e))return wu(e);var t=Tn(e),r=[];for(var n in e)n=="constructor"&&(t||!Du.call(e,n))||r.push(n);return r}function Cn(e){return Ua(e)?Va(e,!0):ju(e)}function Pu(e,t){return e&&Pr(t,Cn(t),e)}var Za=typeof exports=="object"&&exports&&!exports.nodeType&&exports,Xn=Za&&typeof module=="object"&&module&&!module.nodeType&&module,ku=Xn&&Xn.exports===Za,Qn=ku?Je.Buffer:void 0,ea=Qn?Qn.allocUnsafe:void 0;function Bu(e,t){if(t)return e.slice();var r=e.length,n=ea?ea(r):new e.constructor(r);return e.copy(n),n}function Ga(e,t){var r=-1,n=e.length;for(t||(t=Array(n));++r<n;)t[r]=e[r];return t}function Mu(e,t){for(var r=-1,n=e==null?0:e.length,a=0,i=[];++r<n;){var s=e[r];t(s,r,e)&&(i[a++]=s)}return i}function Ya(){return[]}var $u=Object.prototype,Ku=$u.propertyIsEnumerable,ta=Object.getOwnPropertySymbols,An=ta?function(e){return e==null?[]:(e=Object(e),Mu(ta(e),function(t){return Ku.call(e,t)}))}:Ya;function Fu(e,t){return Pr(e,An(e),t)}function za(e,t){for(var r=-1,n=t.length,a=e.length;++r<n;)e[a+r]=t[r];return e}var Hu=Object.getOwnPropertySymbols,Wa=Hu?function(e){for(var t=[];e;)za(t,An(e)),e=Sn(e);return t}:Ya;function Vu(e,t){return Pr(e,Wa(e),t)}function qa(e,t,r){var n=t(e);return mr(e)?n:za(n,r(e))}function Uu(e){return qa(e,On,An)}function Zu(e){return qa(e,Cn,Wa)}var un=Lt(Je,"DataView"),cn=Lt(Je,"Promise"),ln=Lt(Je,"Set"),dn=Lt(Je,"WeakMap"),ra="[object Map]",Gu="[object Object]",na="[object Promise]",aa="[object Set]",ia="[object WeakMap]",sa="[object DataView]",Yu=It(un),zu=It(Jt),Wu=It(cn),qu=It(ln),Ju=It(dn),et=At;(un&&et(new un(new ArrayBuffer(1)))!=sa||Jt&&et(new Jt)!=ra||cn&&et(cn.resolve())!=na||ln&&et(new ln)!=aa||dn&&et(new dn)!=ia)&&(et=function(e){var t=At(e),r=t==Gu?e.constructor:void 0,n=r?It(r):"";if(n)switch(n){case Yu:return sa;case zu:return ra;case Wu:return na;case qu:return aa;case Ju:return ia}return t});var Xu=Object.prototype,Qu=Xu.hasOwnProperty;function ec(e){var t=e.length,r=new e.constructor(t);return t&&typeof e[0]=="string"&&Qu.call(e,"index")&&(r.index=e.index,r.input=e.input),r}var oa=Je.Uint8Array;function xn(e){var t=new e.constructor(e.byteLength);return new oa(t).set(new oa(e)),t}function tc(e,t){var r=t?xn(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.byteLength)}var rc=/\w*$/;function nc(e){var t=new e.constructor(e.source,rc.exec(e));return t.lastIndex=e.lastIndex,t}var ua=ot?ot.prototype:void 0,ca=ua?ua.valueOf:void 0;function ac(e){return ca?Object(ca.call(e)):{}}function ic(e,t){var r=t?xn(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.length)}var sc="[object Boolean]",oc="[object Date]",uc="[object Map]",cc="[object Number]",lc="[object RegExp]",dc="[object Set]",fc="[object String]",hc="[object Symbol]",pc="[object ArrayBuffer]",_c="[object DataView]",mc="[object Float32Array]",yc="[object Float64Array]",vc="[object Int8Array]",gc="[object Int16Array]",Ec="[object Int32Array]",Sc="[object Uint8Array]",bc="[object Uint8ClampedArray]",Tc="[object Uint16Array]",Oc="[object Uint32Array]";function Cc(e,t,r){var n=e.constructor;switch(t){case pc:return xn(e);case sc:case oc:return new n(+e);case _c:return tc(e,r);case mc:case yc:case vc:case gc:case Ec:case Sc:case bc:case Tc:case Oc:return ic(e,r);case uc:return new n;case cc:case fc:return new n(e);case lc:return nc(e);case dc:return new n;case hc:return ac(e)}}var la=Object.create,Ac=function(){function e(){}return function(t){if(!_r(t))return{};if(la)return la(t);e.prototype=t;var r=new e;return e.prototype=void 0,r}}();function xc(e){return typeof e.constructor=="function"&&!Tn(e)?Ac(Sn(e)):{}}var Ic="[object Map]";function Lc(e){return xt(e)&&et(e)==Ic}var da=Bt&&Bt.isMap,Rc=da?bn(da):Lc,wc="[object Set]";function Nc(e){return xt(e)&&et(e)==wc}var fa=Bt&&Bt.isSet,Dc=fa?bn(fa):Nc,jc=1,Pc=2,kc=4,Ja="[object Arguments]",Bc="[object Array]",Mc="[object Boolean]",$c="[object Date]",Kc="[object Error]",Xa="[object Function]",Fc="[object GeneratorFunction]",Hc="[object Map]",Vc="[object Number]",Qa="[object Object]",Uc="[object RegExp]",Zc="[object Set]",Gc="[object String]",Yc="[object Symbol]",zc="[object WeakMap]",Wc="[object ArrayBuffer]",qc="[object DataView]",Jc="[object Float32Array]",Xc="[object Float64Array]",Qc="[object Int8Array]",el="[object Int16Array]",tl="[object Int32Array]",rl="[object Uint8Array]",nl="[object Uint8ClampedArray]",al="[object Uint16Array]",il="[object Uint32Array]",oe={};oe[Ja]=oe[Bc]=oe[Wc]=oe[qc]=oe[Mc]=oe[$c]=oe[Jc]=oe[Xc]=oe[Qc]=oe[el]=oe[tl]=oe[Hc]=oe[Vc]=oe[Qa]=oe[Uc]=oe[Zc]=oe[Gc]=oe[Yc]=oe[rl]=oe[nl]=oe[al]=oe[il]=!0;oe[Kc]=oe[Xa]=oe[zc]=!1;function Wt(e,t,r,n,a,i){var s,u=t&jc,f=t&Pc,c=t&kc;if(s!==void 0)return s;if(!_r(e))return e;var _=mr(e);if(_){if(s=ec(e),!u)return Ga(e,s)}else{var b=et(e),E=b==Xa||b==Fc;if(Ka(e))return Bu(e,u);if(b==Qa||b==Ja||E&&!a){if(s=f||E?{}:xc(e),!u)return f?Vu(e,Pu(s,e)):Fu(e,Ru(s,e))}else{if(!oe[b])return a?e:{};s=Cc(e,b,u)}}i||(i=new Ht);var k=i.get(e);if(k)return k;i.set(e,s),Dc(e)?e.forEach(function(te){s.add(Wt(te,t,r,te,e,i))}):Rc(e)&&e.forEach(function(te,m){s.set(m,Wt(te,t,r,m,e,i))});var R=c?f?Zu:Uu:f?Cn:On,ee=_?void 0:R(e);return Po(ee||e,function(te,m){ee&&(m=te,te=e[m]),Ba(s,m,Wt(te,t,r,m,e,i))}),s}var sl=1,ol=4;function br(e){return Wt(e,sl|ol)}var ha=Array.isArray,pa=Object.keys,ul=Object.prototype.hasOwnProperty,cl=typeof Element<"u";function fn(e,t){if(e===t)return!0;if(e&&t&&typeof e=="object"&&typeof t=="object"){var r=ha(e),n=ha(t),a,i,s;if(r&&n){if(i=e.length,i!=t.length)return!1;for(a=i;a--!==0;)if(!fn(e[a],t[a]))return!1;return!0}if(r!=n)return!1;var u=e instanceof Date,f=t instanceof Date;if(u!=f)return!1;if(u&&f)return e.getTime()==t.getTime();var c=e instanceof RegExp,_=t instanceof RegExp;if(c!=_)return!1;if(c&&_)return e.toString()==t.toString();var b=pa(e);if(i=b.length,i!==pa(t).length)return!1;for(a=i;a--!==0;)if(!ul.call(t,b[a]))return!1;if(cl&&e instanceof Element&&t instanceof Element)return e===t;for(a=i;a--!==0;)if(s=b[a],!(s==="_owner"&&e.$$typeof)&&!fn(e[s],t[s]))return!1;return!0}return e!==e&&t!==t}var ll=function(t,r){try{return fn(t,r)}catch(n){if(n.message&&n.message.match(/stack|recursion/i)||n.number===-2146828260)return console.warn("Warning: react-fast-compare does not handle circular references.",n.name,n.message),!1;throw n}};const vt=ki(ll);var dl=process.env.NODE_ENV==="production";function jt(e,t){if(!dl){var r="Warning: "+t;typeof console<"u"&&console.warn(r);try{throw Error(r)}catch{}}}var fl=4;function _a(e){return Wt(e,fl)}function ei(e,t){for(var r=-1,n=e==null?0:e.length,a=Array(n);++r<n;)a[r]=t(e[r],r,e);return a}var hl="[object Symbol]";function In(e){return typeof e=="symbol"||xt(e)&&At(e)==hl}var pl="Expected a function";function Ln(e,t){if(typeof e!="function"||t!=null&&typeof t!="function")throw new TypeError(pl);var r=function(){var n=arguments,a=t?t.apply(this,n):n[0],i=r.cache;if(i.has(a))return i.get(a);var s=e.apply(this,n);return r.cache=i.set(a,s)||i,s};return r.cache=new(Ln.Cache||ft),r}Ln.Cache=ft;var _l=500;function ml(e){var t=Ln(e,function(n){return r.size===_l&&r.clear(),n}),r=t.cache;return t}var yl=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,vl=/\\(\\)?/g,gl=ml(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(""),e.replace(yl,function(r,n,a,i){t.push(a?i.replace(vl,"$1"):n||r)}),t}),El=1/0;function Sl(e){if(typeof e=="string"||In(e))return e;var t=e+"";return t=="0"&&1/e==-El?"-0":t}var bl=1/0,ma=ot?ot.prototype:void 0,ya=ma?ma.toString:void 0;function ti(e){if(typeof e=="string")return e;if(mr(e))return ei(e,ti)+"";if(In(e))return ya?ya.call(e):"";var t=e+"";return t=="0"&&1/e==-bl?"-0":t}function Tl(e){return e==null?"":ti(e)}function ri(e){return mr(e)?ei(e,Sl):In(e)?[e]:Ga(gl(Tl(e)))}var hn={exports:{}},ne={};/** @license React v16.13.1
45
32
  * react-is.production.min.js
46
33
  *
47
34
  * Copyright (c) Facebook, Inc. and its affiliates.
48
35
  *
49
36
  * This source code is licensed under the MIT license found in the
50
37
  * LICENSE file in the root directory of this source tree.
51
- */var si;function $u(){if(si)return Ae;si=1;var t=typeof Symbol=="function"&&Symbol.for,e=t?Symbol.for("react.element"):60103,r=t?Symbol.for("react.portal"):60106,n=t?Symbol.for("react.fragment"):60107,a=t?Symbol.for("react.strict_mode"):60108,i=t?Symbol.for("react.profiler"):60114,o=t?Symbol.for("react.provider"):60109,s=t?Symbol.for("react.context"):60110,c=t?Symbol.for("react.async_mode"):60111,u=t?Symbol.for("react.concurrent_mode"):60111,f=t?Symbol.for("react.forward_ref"):60112,l=t?Symbol.for("react.suspense"):60113,p=t?Symbol.for("react.suspense_list"):60120,v=t?Symbol.for("react.memo"):60115,C=t?Symbol.for("react.lazy"):60116,A=t?Symbol.for("react.block"):60121,w=t?Symbol.for("react.fundamental"):60117,y=t?Symbol.for("react.responder"):60118,x=t?Symbol.for("react.scope"):60119;function d(E){if(typeof E=="object"&&E!==null){var R=E.$$typeof;switch(R){case e:switch(E=E.type,E){case c:case u:case n:case i:case a:case l:return E;default:switch(E=E&&E.$$typeof,E){case s:case f:case C:case v:case o:return E;default:return R}}case r:return R}}}function m(E){return d(E)===u}return Ae.AsyncMode=c,Ae.ConcurrentMode=u,Ae.ContextConsumer=s,Ae.ContextProvider=o,Ae.Element=e,Ae.ForwardRef=f,Ae.Fragment=n,Ae.Lazy=C,Ae.Memo=v,Ae.Portal=r,Ae.Profiler=i,Ae.StrictMode=a,Ae.Suspense=l,Ae.isAsyncMode=function(E){return m(E)||d(E)===c},Ae.isConcurrentMode=m,Ae.isContextConsumer=function(E){return d(E)===s},Ae.isContextProvider=function(E){return d(E)===o},Ae.isElement=function(E){return typeof E=="object"&&E!==null&&E.$$typeof===e},Ae.isForwardRef=function(E){return d(E)===f},Ae.isFragment=function(E){return d(E)===n},Ae.isLazy=function(E){return d(E)===C},Ae.isMemo=function(E){return d(E)===v},Ae.isPortal=function(E){return d(E)===r},Ae.isProfiler=function(E){return d(E)===i},Ae.isStrictMode=function(E){return d(E)===a},Ae.isSuspense=function(E){return d(E)===l},Ae.isValidElementType=function(E){return typeof E=="string"||typeof E=="function"||E===n||E===u||E===i||E===a||E===l||E===p||typeof E=="object"&&E!==null&&(E.$$typeof===C||E.$$typeof===v||E.$$typeof===o||E.$$typeof===s||E.$$typeof===f||E.$$typeof===w||E.$$typeof===y||E.$$typeof===x||E.$$typeof===A)},Ae.typeOf=d,Ae}var xe={};/** @license React v16.13.1
38
+ */var va;function Ol(){if(va)return ne;va=1;var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,r=e?Symbol.for("react.portal"):60106,n=e?Symbol.for("react.fragment"):60107,a=e?Symbol.for("react.strict_mode"):60108,i=e?Symbol.for("react.profiler"):60114,s=e?Symbol.for("react.provider"):60109,u=e?Symbol.for("react.context"):60110,f=e?Symbol.for("react.async_mode"):60111,c=e?Symbol.for("react.concurrent_mode"):60111,_=e?Symbol.for("react.forward_ref"):60112,b=e?Symbol.for("react.suspense"):60113,E=e?Symbol.for("react.suspense_list"):60120,k=e?Symbol.for("react.memo"):60115,R=e?Symbol.for("react.lazy"):60116,ee=e?Symbol.for("react.block"):60121,te=e?Symbol.for("react.fundamental"):60117,m=e?Symbol.for("react.responder"):60118,T=e?Symbol.for("react.scope"):60119;function B(g){if(typeof g=="object"&&g!==null){var H=g.$$typeof;switch(H){case t:switch(g=g.type,g){case f:case c:case n:case i:case a:case b:return g;default:switch(g=g&&g.$$typeof,g){case u:case _:case R:case k:case s:return g;default:return H}}case r:return H}}}function P(g){return B(g)===c}return ne.AsyncMode=f,ne.ConcurrentMode=c,ne.ContextConsumer=u,ne.ContextProvider=s,ne.Element=t,ne.ForwardRef=_,ne.Fragment=n,ne.Lazy=R,ne.Memo=k,ne.Portal=r,ne.Profiler=i,ne.StrictMode=a,ne.Suspense=b,ne.isAsyncMode=function(g){return P(g)||B(g)===f},ne.isConcurrentMode=P,ne.isContextConsumer=function(g){return B(g)===u},ne.isContextProvider=function(g){return B(g)===s},ne.isElement=function(g){return typeof g=="object"&&g!==null&&g.$$typeof===t},ne.isForwardRef=function(g){return B(g)===_},ne.isFragment=function(g){return B(g)===n},ne.isLazy=function(g){return B(g)===R},ne.isMemo=function(g){return B(g)===k},ne.isPortal=function(g){return B(g)===r},ne.isProfiler=function(g){return B(g)===i},ne.isStrictMode=function(g){return B(g)===a},ne.isSuspense=function(g){return B(g)===b},ne.isValidElementType=function(g){return typeof g=="string"||typeof g=="function"||g===n||g===c||g===i||g===a||g===b||g===E||typeof g=="object"&&g!==null&&(g.$$typeof===R||g.$$typeof===k||g.$$typeof===s||g.$$typeof===u||g.$$typeof===_||g.$$typeof===te||g.$$typeof===m||g.$$typeof===T||g.$$typeof===ee)},ne.typeOf=B,ne}var ae={};/** @license React v16.13.1
52
39
  * react-is.development.js
53
40
  *
54
41
  * Copyright (c) Facebook, Inc. and its affiliates.
55
42
  *
56
43
  * This source code is licensed under the MIT license found in the
57
44
  * LICENSE file in the root directory of this source tree.
58
- */var ui;function Bu(){return ui||(ui=1,process.env.NODE_ENV!=="production"&&function(){var t=typeof Symbol=="function"&&Symbol.for,e=t?Symbol.for("react.element"):60103,r=t?Symbol.for("react.portal"):60106,n=t?Symbol.for("react.fragment"):60107,a=t?Symbol.for("react.strict_mode"):60108,i=t?Symbol.for("react.profiler"):60114,o=t?Symbol.for("react.provider"):60109,s=t?Symbol.for("react.context"):60110,c=t?Symbol.for("react.async_mode"):60111,u=t?Symbol.for("react.concurrent_mode"):60111,f=t?Symbol.for("react.forward_ref"):60112,l=t?Symbol.for("react.suspense"):60113,p=t?Symbol.for("react.suspense_list"):60120,v=t?Symbol.for("react.memo"):60115,C=t?Symbol.for("react.lazy"):60116,A=t?Symbol.for("react.block"):60121,w=t?Symbol.for("react.fundamental"):60117,y=t?Symbol.for("react.responder"):60118,x=t?Symbol.for("react.scope"):60119;function d(g){return typeof g=="string"||typeof g=="function"||g===n||g===u||g===i||g===a||g===l||g===p||typeof g=="object"&&g!==null&&(g.$$typeof===C||g.$$typeof===v||g.$$typeof===o||g.$$typeof===s||g.$$typeof===f||g.$$typeof===w||g.$$typeof===y||g.$$typeof===x||g.$$typeof===A)}function m(g){if(typeof g=="object"&&g!==null){var ue=g.$$typeof;switch(ue){case e:var Z=g.type;switch(Z){case c:case u:case n:case i:case a:case l:return Z;default:var Y=Z&&Z.$$typeof;switch(Y){case s:case f:case C:case v:case o:return Y;default:return ue}}case r:return ue}}}var E=c,R=u,S=s,N=o,U=e,k=f,J=n,X=C,$=v,F=r,ee=i,le=a,be=l,_e=!1;function te(g){return _e||(_e=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),b(g)||m(g)===c}function b(g){return m(g)===u}function D(g){return m(g)===s}function re(g){return m(g)===o}function I(g){return typeof g=="object"&&g!==null&&g.$$typeof===e}function oe(g){return m(g)===f}function ne(g){return m(g)===n}function ge(g){return m(g)===C}function O(g){return m(g)===v}function ie(g){return m(g)===r}function pe(g){return m(g)===i}function Ee(g){return m(g)===a}function T(g){return m(g)===l}xe.AsyncMode=E,xe.ConcurrentMode=R,xe.ContextConsumer=S,xe.ContextProvider=N,xe.Element=U,xe.ForwardRef=k,xe.Fragment=J,xe.Lazy=X,xe.Memo=$,xe.Portal=F,xe.Profiler=ee,xe.StrictMode=le,xe.Suspense=be,xe.isAsyncMode=te,xe.isConcurrentMode=b,xe.isContextConsumer=D,xe.isContextProvider=re,xe.isElement=I,xe.isForwardRef=oe,xe.isFragment=ne,xe.isLazy=ge,xe.isMemo=O,xe.isPortal=ie,xe.isProfiler=pe,xe.isStrictMode=Ee,xe.isSuspense=T,xe.isValidElementType=d,xe.typeOf=m}()),xe}process.env.NODE_ENV==="production"?ca.exports=$u():ca.exports=Bu();var Hu=ca.exports,Do=Hu,Vu={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},Uu={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},ko={};ko[Do.ForwardRef]=Vu;ko[Do.Memo]=Uu;const Ku="_root_1xu2j_106",Fu="_claim_1xu2j_123",Gu="_h1_1xu2j_166",qu="_h2_1xu2j_184",Zu="_h3_1xu2j_202",zu="_h4_1xu2j_220",Wu="_h5_1xu2j_233",Yu="_h6_1xu2j_246",Xu="_overline_1xu2j_254",Qu="_body_1xu2j_261",Ju="_text_1xu2j_337",On={root:Ku,claim:Fu,"claim-uppercase":"_claim-uppercase_1xu2j_144",h1:Gu,h2:qu,h3:Zu,h4:zu,h5:Wu,h6:Yu,overline:Xu,"body-large":"_body-large_1xu2j_261","body-large-semibold":"_body-large-semibold_1xu2j_272","body-large-italic":"_body-large-italic_1xu2j_283",body:Qu,"body-semibold":"_body-semibold_1xu2j_300","body-italic":"_body-italic_1xu2j_306","quote-large":"_quote-large_1xu2j_313","detail-small":"_detail-small_1xu2j_325","detail-small-bold":"_detail-small-bold_1xu2j_331",text:Ju};function ec(t){switch(t){case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return t;case"claim":return"h2";default:return"span"}}const wt=({as:t,children:e,className:r,type:n="body"})=>{const a=t||ec(n),i=typeof e=="string"?M.jsx(he.Markdown,{className:On.text,text:e,inline:!0}):e;return M.jsx(a,{className:dt(On.root,On[n],r),children:i})},tc=(t,e)=>ve.createElement("svg",{fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"32 13.77 110.49 25.25",ref:e,...t},ve.createElement("path",{d:"M62.946 14.0727H63.9702V17.49C63.9702 17.8058 63.8992 18.0802 63.7572 18.3132C63.6168 18.5461 63.4214 18.7256 63.1709 18.8516C62.9205 18.9776 62.6293 19.0406 62.2975 19.0406C62.0023 19.0406 61.7343 18.9888 61.4934 18.8851C61.2541 18.7798 61.0643 18.6203 60.9239 18.4065C60.7835 18.1911 60.7141 17.9207 60.7157 17.5952H61.7471C61.7503 17.7245 61.7766 17.8353 61.826 17.9279C61.8771 18.0188 61.9465 18.089 62.0342 18.1385C62.1236 18.1863 62.2289 18.2103 62.3501 18.2103C62.4778 18.2103 62.5854 18.1831 62.6732 18.1289C62.7625 18.0731 62.8303 17.9917 62.8766 17.8848C62.9229 17.7779 62.946 17.6463 62.946 17.49V14.0727ZM65.0291 18.9736V14.0727H68.3315V14.927H66.0653V16.0948H68.1616V16.9491H66.0653V18.1193H68.341V18.9736H65.0291ZM69.1708 14.927V14.0727H73.1959V14.927H71.6954V18.9736H70.6712V14.927H69.1708ZM74.0082 18.9736V18.3586L76.4539 14.927H74.0035V14.0727H77.7557V14.6877L75.3077 18.1193H77.7605V18.9736H74.0082ZM78.5711 14.927V14.0727H82.5962V14.927H81.0958V18.9736H80.0716V14.927H78.5711ZM85.2231 18.9736V14.0727H87.1854C87.5459 14.0727 87.8466 14.1261 88.0875 14.233C88.3284 14.3399 88.5095 14.4883 88.6307 14.6781C88.752 14.8664 88.8126 15.0834 88.8126 15.329C88.8126 15.5205 88.7743 15.6888 88.6978 15.834C88.6212 15.9776 88.5159 16.0956 88.3819 16.1881C88.2495 16.2791 88.0979 16.3437 87.9272 16.382V16.4298C88.1139 16.4378 88.2885 16.4905 88.4513 16.5878C88.6156 16.6851 88.7488 16.8215 88.8509 16.997C88.953 17.1709 89.0041 17.3783 89.0041 17.6192C89.0041 17.8792 88.9394 18.1113 88.8102 18.3155C88.6826 18.5182 88.4935 18.6785 88.2431 18.7965C87.9926 18.9146 87.6839 18.9736 87.317 18.9736H85.2231ZM86.2592 18.1265H87.104C87.3927 18.1265 87.6033 18.0715 87.7358 17.9614C87.8682 17.8497 87.9344 17.7013 87.9344 17.5163C87.9344 17.3807 87.9017 17.261 87.8363 17.1573C87.7708 17.0536 87.6775 16.9723 87.5563 16.9132C87.4366 16.8542 87.2938 16.8247 87.1279 16.8247H86.2592V18.1265ZM86.2592 16.1235H87.0274C87.1694 16.1235 87.2954 16.0988 87.4055 16.0493C87.5172 15.9983 87.6049 15.9265 87.6687 15.834C87.7342 15.7414 87.7669 15.6306 87.7669 15.5013C87.7669 15.3243 87.7038 15.1815 87.5778 15.073C87.4534 14.9645 87.2763 14.9103 87.0466 14.9103H86.2592V16.1235ZM89.8805 18.9736V14.0727H93.1829V14.927H90.9166V16.0948H93.0129V16.9491H90.9166V18.1193H93.1924V18.9736H89.8805ZM95.245 14.0727V18.9736H94.2088V14.0727H95.245Z",fill:"#201649"}),ve.createElement("path",{d:"M33.6857 14.0298L33.6837 14.0287C33.3084 13.8206 33.0184 13.7618 32.8018 13.7772C32.7586 13.7803 32.7165 13.7865 32.6754 13.7958L43.8917 24.9224L47.1372 21.6769L33.6857 14.0298Z",fill:"#201649"}),ve.createElement("path",{d:"M32.049 14.4264C32.0155 14.589 32 14.7877 32 15.0496V36.1496C32 36.4372 32.0581 36.6776 32.1435 36.8625L43.4044 25.6015L32.049 14.4264Z",fill:"#201649"}),ve.createElement("path",{d:"M47.9118 29.1318L44.4274 25.6474L47.8793 22.1955L52.3829 24.769C52.9676 25.1031 53.1483 25.4736 53.1483 25.7433C53.1483 26.0122 52.9686 26.3814 52.3877 26.7148L47.9118 29.1318Z",fill:"#201649"}),ve.createElement("path",{d:"M32.6972 37.4737L43.8931 26.2778L47.1396 29.5243L33.7016 37.2557C33.3167 37.4242 33.0159 37.4889 32.7848 37.4806C32.7547 37.4795 32.7255 37.4772 32.6972 37.4737Z",fill:"#201649"}),ve.createElement("path",{d:"M87.2432 27.3256C84.9413 27.3256 83.1191 29.052 83.1191 31.4497C83.1191 33.7515 84.9413 35.5738 87.2432 35.5738C89.545 35.5738 91.3672 33.8474 91.3672 31.4497C91.3672 28.956 89.545 27.3256 87.2432 27.3256ZM87.2432 33.8474C85.9963 33.8474 84.9413 32.7924 84.9413 31.3538C84.9413 29.9151 85.9963 28.8601 87.2432 28.8601C88.49 28.8601 89.545 29.8192 89.545 31.3538C89.545 32.7924 88.49 33.8474 87.2432 33.8474Z",fill:"#201649"}),ve.createElement("path",{d:"M78.3236 27.3256C76.0218 27.3256 74.1995 29.052 74.1995 31.4497C74.1995 33.7515 76.0218 35.5738 78.3236 35.5738C80.6255 35.5738 82.4477 33.8474 82.4477 31.4497C82.4477 28.956 80.6255 27.3256 78.3236 27.3256ZM78.3236 33.8474C77.0768 33.8474 76.0218 32.7924 76.0218 31.3538C76.0218 29.9151 77.0768 28.8601 78.3236 28.8601C79.5704 28.8601 80.6254 29.8192 80.6254 31.3538C80.6254 32.7924 79.5704 33.8474 78.3236 33.8474Z",fill:"#201649"}),ve.createElement("path",{d:"M67.6777 28.5724V30.2988H71.8018C71.7059 31.2579 71.3223 32.0251 70.8427 32.5047C70.2673 33.0801 69.3082 33.7515 67.6777 33.7515C65.0882 33.7515 63.17 31.7374 63.17 29.1479C63.17 26.5583 65.1841 24.5442 67.6777 24.5442C69.0205 24.5442 70.0755 25.1197 70.8427 25.7911L72.0896 24.5442C71.0346 23.5851 69.6918 22.8179 67.7736 22.8179C64.3209 22.8179 61.3478 25.6951 61.3478 29.1479C61.3478 32.6006 64.3209 35.4778 67.7736 35.4778C69.6918 35.4778 71.0346 34.9024 72.1855 33.6556C73.3364 32.5047 73.72 30.8742 73.72 29.6274C73.72 29.2438 73.72 28.8601 73.6241 28.5724H67.6777Z",fill:"#201649"}),ve.createElement("path",{d:"M111.22 29.9151C110.837 28.956 109.878 27.3256 107.768 27.3256C105.658 27.3256 103.931 28.956 103.931 31.4497C103.931 33.7515 105.658 35.5738 107.959 35.5738C109.782 35.5738 110.933 34.4229 111.316 33.7515L109.974 32.7924C109.494 33.4638 108.919 33.9433 107.959 33.9433C107 33.9433 106.425 33.5597 105.945 32.6965L111.412 30.3947L111.22 29.9151ZM105.658 31.2579C105.658 29.7233 106.904 28.8601 107.768 28.8601C108.439 28.8601 109.11 29.2438 109.302 29.7233L105.658 31.2579Z",fill:"#201649"}),ve.createElement("path",{d:"M101.15 35.1901H102.972V23.2015H101.15V35.1901Z",fill:"#201649"}),ve.createElement("path",{d:"M98.2727 28.1888C97.7931 27.7092 97.0259 27.2297 96.0668 27.2297C94.0527 27.2297 92.1345 29.052 92.1345 31.3538C92.1345 33.6556 93.9568 35.3819 96.0668 35.3819C97.0259 35.3819 97.7931 34.9024 98.1768 34.4229H98.2727V34.9983C98.2727 36.5328 97.4095 37.396 96.0668 37.396C95.0118 37.396 94.2445 36.6288 94.0527 35.9574L92.5181 36.6288C92.9977 37.6838 94.1486 39.0265 96.1627 39.0265C98.2727 39.0265 99.999 37.7797 99.999 34.8065V27.5174H98.2727V28.1888ZM96.1627 33.8474C94.9159 33.8474 93.8609 32.7924 93.8609 31.3538C93.8609 29.9151 94.9159 28.8601 96.1627 28.8601C97.4095 28.8601 98.3686 29.9151 98.3686 31.3538C98.3686 32.7924 97.4095 33.8474 96.1627 33.8474Z",fill:"#201649"}),ve.createElement("path",{d:"M119.564 23.2015H115.249V35.1901H117.071V30.6824H119.564C121.579 30.6824 123.497 29.2438 123.497 26.942C123.497 24.6401 121.579 23.2015 119.564 23.2015ZM119.66 28.956H117.071V24.832H119.66C121.003 24.832 121.77 25.9829 121.77 26.846C121.674 27.901 120.907 28.956 119.66 28.956Z",fill:"#201649"}),ve.createElement("path",{d:"M130.69 27.2297C129.347 27.2297 128.004 27.8051 127.525 29.052L129.155 29.7233C129.539 29.052 130.114 28.8601 130.786 28.8601C131.745 28.8601 132.608 29.4356 132.704 30.3947V30.4906C132.416 30.2988 131.649 30.011 130.882 30.011C129.155 30.011 127.429 30.9701 127.429 32.6965C127.429 34.3269 128.868 35.3819 130.402 35.3819C131.649 35.3819 132.224 34.8065 132.704 34.231H132.8V35.1901H134.526V30.5865C134.334 28.4765 132.704 27.2297 130.69 27.2297ZM130.498 33.8474C129.923 33.8474 129.059 33.5597 129.059 32.7924C129.059 31.8333 130.114 31.5456 130.978 31.5456C131.667 31.5456 132.047 31.7006 132.465 31.8713C132.512 31.8905 132.56 31.9098 132.608 31.9292C132.416 33.0801 131.457 33.8474 130.498 33.8474Z",fill:"#201649"}),ve.createElement("path",{d:"M140.569 27.5174L138.554 32.6965H138.459L136.349 27.5174H134.43L137.595 34.8065L135.773 38.8347H137.595L142.487 27.5174H140.569Z",fill:"#201649"}),ve.createElement("path",{d:"M124.456 35.1901H126.278V23.2015H124.456V35.1901Z",fill:"#201649"}));q.forwardRef(tc);const rc=(t,e)=>ve.createElement("svg",{fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"32.49 12.97 104.78 25.16",ref:e,...t},ve.createElement("path",{d:"M45.6672 12.9736C45.764 14.2379 45.3642 15.49 44.5527 16.4643C44.1641 16.9476 43.6709 17.3364 43.1102 17.6015C42.5496 17.8666 41.9361 18.001 41.3159 17.9946C41.2764 17.3867 41.357 16.7769 41.5533 16.2001C41.7495 15.6233 42.0575 15.0909 42.4596 14.6332C43.2821 13.6964 44.4274 13.1039 45.6672 12.9736Z",fill:"#201649"}),ve.createElement("path",{d:"M47.9286 22.1743C47.5166 22.9002 47.2949 23.7186 47.2841 24.5533C47.2851 25.4921 47.5625 26.4099 48.0816 27.1922C48.6007 27.9745 49.3387 28.5867 50.2034 28.9524C49.8634 30.0569 49.3509 31.1006 48.6849 32.0449C47.7906 33.3828 46.8528 34.6899 45.3644 34.7141C44.6566 34.7304 44.1788 34.5269 43.6809 34.3148C43.1615 34.0935 42.6203 33.863 41.7734 33.863C40.8753 33.863 40.3099 34.1009 39.7645 34.3304C39.2933 34.5288 38.837 34.7208 38.194 34.7475C36.7766 34.8 35.6933 33.3195 34.7664 31.9942C32.9138 29.2875 31.4712 24.3665 33.4052 21.0181C33.8517 20.2158 34.4984 19.5428 35.2822 19.0648C36.0661 18.5867 36.9605 18.3199 37.8781 18.2902C38.682 18.2737 39.4535 18.5835 40.1298 18.8552C40.647 19.0629 41.1086 19.2483 41.4866 19.2483C41.8189 19.2483 42.2676 19.0703 42.7906 18.8627C43.6144 18.5358 44.6224 18.1357 45.6495 18.2435C46.4367 18.2681 47.2074 18.476 47.9002 18.8505C48.593 19.2251 49.189 19.756 49.6407 20.4012C48.9296 20.8384 48.3406 21.4483 47.9286 22.1743Z",fill:"#201649"}),ve.createElement("path",{d:"M67.925 19.4189H64.2034V13.4521H65.1301V18.5668H67.925V19.4189Z",fill:"#201649"}),ve.createElement("path",{d:"M68.8616 18.1455C68.8616 17.335 69.4651 16.8677 70.5364 16.8013L71.7561 16.731V16.3423C71.7561 15.8667 71.4417 15.5981 70.8342 15.5981C70.3381 15.5981 69.9944 15.7803 69.8958 16.0986H69.0354C69.1262 15.3252 69.8538 14.8291 70.8752 14.8291C72.0042 14.8291 72.6409 15.3911 72.6409 16.3423V19.4189H71.7854V18.7861H71.7151C71.5724 19.0131 71.372 19.1982 71.1343 19.3224C70.8967 19.4466 70.6304 19.5055 70.3626 19.4931C70.1735 19.5128 69.9825 19.4926 69.8017 19.4339C69.6209 19.3752 69.4545 19.2793 69.3131 19.1523C69.1717 19.0254 69.0584 18.8702 68.9806 18.6968C68.9029 18.5233 68.8623 18.3356 68.8616 18.1455ZM71.7561 17.7607V17.3843L70.6565 17.4546C70.0363 17.4961 69.7551 17.707 69.7551 18.104C69.7551 18.5093 70.1066 18.7451 70.5901 18.7451C70.7317 18.7594 70.8748 18.7451 71.0108 18.7031C71.1468 18.661 71.273 18.592 71.3818 18.5001C71.4906 18.4083 71.5798 18.2955 71.6441 18.1685C71.7084 18.0414 71.7465 17.9028 71.7561 17.7607Z",fill:"#201649"}),ve.createElement("path",{d:"M73.8088 17.1646C73.8088 15.7417 74.5403 14.8403 75.678 14.8403C75.9594 14.8274 76.2387 14.8948 76.4832 15.0347C76.7277 15.1746 76.9274 15.3812 77.0588 15.6303H77.1252V13.1572H78.0139V19.418H77.1623V18.7065H77.092C76.9504 18.954 76.7438 19.1581 76.4946 19.2965C76.2453 19.435 75.9629 19.5027 75.678 19.4922C74.5324 19.4922 73.8088 18.5908 73.8088 17.1646ZM74.7268 17.1646C74.7268 18.1196 75.177 18.6944 75.93 18.6944C76.679 18.6944 77.1419 18.1114 77.1419 17.1685C77.1419 16.23 76.6741 15.6387 75.93 15.6387C75.1819 15.6387 74.7268 16.2173 74.7268 17.1646H74.7268Z",fill:"#201649"}),ve.createElement("path",{d:"M83.2792 18.2032C83.1585 18.6147 82.8969 18.9707 82.5402 19.2089C82.1835 19.447 81.7544 19.5522 81.328 19.5059C81.0314 19.5138 80.7366 19.4569 80.4641 19.3394C80.1916 19.2219 79.9479 19.0465 79.75 18.8253C79.5521 18.6042 79.4047 18.3426 79.318 18.0588C79.2313 17.775 79.2074 17.4757 79.248 17.1817C79.2085 16.8868 79.2328 16.5869 79.3193 16.3022C79.4058 16.0176 79.5524 15.7548 79.7493 15.5317C79.9461 15.3086 80.1886 15.1305 80.4603 15.0093C80.732 14.8881 81.0266 14.8266 81.3241 14.8292C82.5771 14.8292 83.3329 15.6852 83.3329 17.0992V17.4093H80.1532V17.4591C80.1393 17.6243 80.1601 17.7906 80.2142 17.9474C80.2683 18.1041 80.3546 18.2479 80.4675 18.3693C80.5804 18.4908 80.7175 18.5873 80.8699 18.6527C81.0223 18.7181 81.1866 18.7509 81.3525 18.7491C81.565 18.7746 81.7804 18.7363 81.9712 18.6391C82.1619 18.5419 82.3195 18.3902 82.4237 18.2032L83.2792 18.2032ZM80.1532 16.752H82.4276C82.4388 16.6009 82.4183 16.4491 82.3673 16.3064C82.3164 16.1637 82.2361 16.0332 82.1317 15.9233C82.0274 15.8135 81.9011 15.7267 81.7612 15.6685C81.6213 15.6103 81.4707 15.5821 81.3192 15.5855C81.1655 15.5836 81.013 15.6125 80.8706 15.6704C80.7283 15.7283 80.5989 15.8142 80.4903 15.9229C80.3816 16.0316 80.2958 16.161 80.2379 16.3034C80.18 16.4458 80.1512 16.5983 80.1532 16.752H80.1532Z",fill:"#201649"}),ve.createElement("path",{d:"M84.5276 14.9146H85.3831V15.6299H85.4495C85.5621 15.373 85.7521 15.1576 85.993 15.0138C86.2339 14.87 86.5136 14.8049 86.7932 14.8277C87.0123 14.8112 87.2323 14.8442 87.4369 14.9243C87.6415 15.0044 87.8255 15.1295 87.9751 15.2904C88.1248 15.4512 88.2364 15.6437 88.3016 15.8535C88.3668 16.0633 88.384 16.2851 88.3518 16.5025V19.4175H87.4631V16.7256C87.4631 16.002 87.1487 15.6421 86.4915 15.6421C86.3427 15.6352 86.1942 15.6605 86.0561 15.7164C85.9181 15.7722 85.7937 15.8572 85.6916 15.9656C85.5895 16.074 85.512 16.2032 85.4645 16.3443C85.417 16.4854 85.4005 16.6352 85.4163 16.7832V19.4175H84.5276L84.5276 14.9146Z",fill:"#201649"}),ve.createElement("path",{d:"M92.052 13.5836C92.0452 13.4685 92.0731 13.354 92.132 13.2549C92.191 13.1558 92.2784 13.0767 92.3828 13.0279C92.4873 12.979 92.604 12.9626 92.7178 12.9809C92.8317 12.9991 92.9374 13.0511 93.0214 13.1302C93.1053 13.2092 93.1636 13.3116 93.1887 13.4242C93.2138 13.5367 93.2045 13.6542 93.162 13.7614C93.1195 13.8686 93.0459 13.9606 92.9505 14.0254C92.8552 14.0903 92.7425 14.125 92.6272 14.1251C92.5535 14.1288 92.4798 14.1176 92.4106 14.0922C92.3413 14.0667 92.2779 14.0275 92.2242 13.977C92.1705 13.9264 92.1275 13.8655 92.0979 13.7979C92.0683 13.7303 92.0527 13.6574 92.052 13.5836ZM92.1849 14.9151H93.0696V19.418H92.1849V14.9151Z",fill:"#201649"}),ve.createElement("path",{d:"M94.5042 14.9146H95.3596V15.6383H95.426C95.5331 15.397 95.7079 15.192 95.9291 15.0482C96.1504 14.9043 96.4087 14.8277 96.6726 14.8277C96.9365 14.8277 97.1948 14.9043 97.4161 15.0482C97.6374 15.192 97.8121 15.397 97.9192 15.6383H97.9895C98.1152 15.3855 98.3113 15.1744 98.5543 15.0306C98.7972 14.8868 99.0766 14.8163 99.3586 14.8277C99.556 14.8115 99.7544 14.8394 99.9397 14.9092C100.125 14.979 100.292 15.0891 100.43 15.2314C100.568 15.3738 100.672 15.5449 100.735 15.7325C100.799 15.92 100.82 16.1193 100.797 16.316V19.4175H99.9085V16.5479C99.9085 15.94 99.6185 15.6422 99.0355 15.6422C98.9099 15.6368 98.7845 15.6574 98.6673 15.7028C98.55 15.7482 98.4434 15.8173 98.3542 15.9059C98.265 15.9944 98.195 16.1005 98.1487 16.2173C98.1024 16.3342 98.0808 16.4594 98.0853 16.585V19.4176H97.2123V16.461C97.2179 16.3477 97.1988 16.2346 97.1565 16.1293C97.1141 16.0241 97.0495 15.9293 96.9669 15.8515C96.8844 15.7736 96.786 15.7146 96.6785 15.6785C96.5709 15.6424 96.4569 15.63 96.3441 15.6422C96.2138 15.6443 96.0853 15.6727 95.9662 15.7257C95.8471 15.7787 95.74 15.8552 95.6512 15.9505C95.5624 16.0459 95.4937 16.1582 95.4494 16.2808C95.405 16.4033 95.3858 16.5335 95.3929 16.6636V19.4176H94.5043L94.5042 14.9146Z",fill:"#201649"}),ve.createElement("path",{d:"M70.0784 31.7852H65.345L64.2083 35.1416H62.2034L66.6868 22.7236H68.7698L73.2532 35.1416H71.2141L70.0784 31.7852ZM65.8352 30.2364H69.5872L67.7376 24.7891H67.6858L65.8352 30.2364Z",fill:"#201649"}),ve.createElement("path",{d:"M82.9358 30.6154C82.9358 33.4289 81.43 35.2365 79.1575 35.2365C78.5818 35.2667 78.0093 35.134 77.5056 34.8539C77.0018 34.5738 76.587 34.1574 76.3089 33.6525H76.2659V38.1369H74.4075V26.0881H76.2063V27.594H76.2405C76.5315 27.0915 76.9532 26.6773 77.4608 26.3955C77.9685 26.1136 78.543 25.9747 79.1233 25.9934C81.4211 25.9934 82.9358 27.8098 82.9358 30.6154ZM81.0257 30.6154C81.0257 28.7824 80.0784 27.5774 78.6331 27.5774C77.2132 27.5774 76.2581 28.8078 76.2581 30.6154C76.2581 32.4397 77.2132 33.6613 78.6331 33.6613C80.0784 33.6613 81.0257 32.4651 81.0257 30.6154Z",fill:"#201649"}),ve.createElement("path",{d:"M92.9007 30.6154C92.9007 33.4289 91.3948 35.2365 89.1223 35.2365C88.5467 35.2666 87.9742 35.134 87.4704 34.8539C86.9666 34.5738 86.5519 34.1574 86.2737 33.6525H86.2307V38.1369H84.3723V26.0881H86.1711V27.5939H86.2053C86.4963 27.0915 86.918 26.6773 87.4256 26.3955C87.9333 26.1136 88.5078 25.9747 89.0881 25.9934C91.386 25.9934 92.9007 27.8098 92.9007 30.6154ZM90.9905 30.6154C90.9905 28.7824 90.0432 27.5773 88.5979 27.5773C87.178 27.5773 86.2229 28.8078 86.2229 30.6154C86.2229 32.4397 87.178 33.6613 88.5979 33.6613C90.0432 33.6613 90.9905 32.465 90.9905 30.6154H90.9905Z",fill:"#201649"}),ve.createElement("path",{d:"M99.4866 31.6817C99.6243 32.9131 100.821 33.7217 102.455 33.7217C104.022 33.7217 105.149 32.9131 105.149 31.8027C105.149 30.8389 104.469 30.2617 102.86 29.8662L101.25 29.4785C98.97 28.9277 97.9114 27.8613 97.9114 26.1309C97.9114 23.9883 99.7786 22.5166 102.43 22.5166C105.054 22.5166 106.853 23.9883 106.913 26.1309H105.037C104.925 24.8916 103.901 24.1436 102.404 24.1436C100.907 24.1436 99.8821 24.9004 99.8821 26.002C99.8821 26.8799 100.536 27.3965 102.137 27.792L103.505 28.1279C106.053 28.7304 107.112 29.7539 107.112 31.5703C107.112 33.8935 105.261 35.3486 102.318 35.3486C99.5637 35.3486 97.7043 33.9277 97.5842 31.6816L99.4866 31.6817Z",fill:"#201649"}),ve.createElement("path",{d:"M111.122 23.9453V26.0879H112.844V27.5596H111.122V32.5508C111.122 33.3262 111.467 33.6875 112.224 33.6875C112.428 33.6839 112.632 33.6696 112.835 33.6445V35.1074C112.495 35.171 112.149 35.1998 111.803 35.1933C109.97 35.1933 109.255 34.5049 109.255 32.749V27.5596H107.939V26.0879H109.255V23.9453H111.122Z",fill:"#201649"}),ve.createElement("path",{d:"M113.841 30.6152C113.841 27.7666 115.519 25.9766 118.135 25.9766C120.76 25.9766 122.43 27.7666 122.43 30.6152C122.43 33.4717 120.769 35.2539 118.135 35.2539C115.502 35.2539 113.841 33.4717 113.841 30.6152ZM120.536 30.6152C120.536 28.6611 119.641 27.5078 118.135 27.5078C116.629 27.5078 115.735 28.6699 115.735 30.6152C115.735 32.5771 116.629 33.7217 118.135 33.7217C119.641 33.7217 120.536 32.5771 120.536 30.6152H120.536Z",fill:"#201649"}),ve.createElement("path",{d:"M123.962 26.088H125.735V27.629H125.778C125.898 27.1477 126.18 26.7224 126.576 26.4245C126.973 26.1266 127.46 25.9743 127.955 25.9933C128.17 25.9925 128.383 26.0158 128.592 26.0626V27.8009C128.322 27.7183 128.04 27.6803 127.757 27.6886C127.487 27.6776 127.218 27.7252 126.968 27.8281C126.718 27.931 126.494 28.0867 126.31 28.2846C126.126 28.4825 125.987 28.7179 125.902 28.9746C125.818 29.2312 125.79 29.5031 125.821 29.7716V35.1417H123.962L123.962 26.088Z",fill:"#201649"}),ve.createElement("path",{d:"M137.16 32.4824C136.91 34.126 135.31 35.2539 133.262 35.2539C130.628 35.2539 128.993 33.4893 128.993 30.6582C128.993 27.8184 130.637 25.9766 133.184 25.9766C135.689 25.9766 137.264 27.6973 137.264 30.4424V31.0791H130.869V31.1914C130.84 31.5246 130.882 31.8603 130.992 32.1761C131.102 32.4919 131.278 32.7807 131.508 33.0233C131.739 33.2658 132.018 33.4566 132.328 33.5829C132.638 33.7092 132.971 33.7682 133.305 33.7559C133.744 33.797 134.185 33.6953 134.562 33.4658C134.938 33.2364 135.231 32.8915 135.396 32.4824L137.16 32.4824ZM130.878 29.7803H135.405C135.421 29.4807 135.376 29.1809 135.271 28.8997C135.166 28.6184 135.005 28.3619 134.796 28.1461C134.588 27.9304 134.337 27.76 134.059 27.6458C133.782 27.5316 133.484 27.476 133.184 27.4824C132.881 27.4806 132.581 27.5388 132.301 27.6535C132.021 27.7682 131.767 27.9373 131.552 28.1509C131.338 28.3646 131.168 28.6185 131.052 28.8982C130.937 29.1779 130.877 29.4776 130.878 29.7803V29.7803Z",fill:"#201649"}));q.forwardRef(rc);var ci={exports:{}},Ir={exports:{}},wn={},li;function $o(){return li||(li=1,function(t){Object.defineProperty(t,"__esModule",{value:!0});function e(o,s){for(var c in s)Object.defineProperty(o,c,{enumerable:!0,get:s[c]})}e(t,{assign:function(){return i},searchParamsToUrlQuery:function(){return r},urlQueryToSearchParams:function(){return a}});function r(o){const s={};return o.forEach((c,u)=>{typeof s[u]>"u"?s[u]=c:Array.isArray(s[u])?s[u].push(c):s[u]=[s[u],c]}),s}function n(o){return typeof o=="string"||typeof o=="number"&&!isNaN(o)||typeof o=="boolean"?String(o):""}function a(o){const s=new URLSearchParams;return Object.entries(o).forEach(c=>{let[u,f]=c;Array.isArray(f)?f.forEach(l=>s.append(u,n(l))):s.set(u,n(f))}),s}function i(o){for(var s=arguments.length,c=new Array(s>1?s-1:0),u=1;u<s;u++)c[u-1]=arguments[u];return c.forEach(f=>{Array.from(f.keys()).forEach(l=>o.delete(l)),f.forEach((l,p)=>o.append(p,l))}),o}}(wn)),wn}var An={},di;function Bo(){return di||(di=1,function(t){Object.defineProperty(t,"__esModule",{value:!0});function e(c,u){for(var f in u)Object.defineProperty(c,f,{enumerable:!0,get:u[f]})}e(t,{formatUrl:function(){return i},formatWithValidation:function(){return s},urlObjectKeys:function(){return o}});const n=Ta()._($o()),a=/https?|ftp|gopher|file/;function i(c){let{auth:u,hostname:f}=c,l=c.protocol||"",p=c.pathname||"",v=c.hash||"",C=c.query||"",A=!1;u=u?encodeURIComponent(u).replace(/%3A/i,":")+"@":"",c.host?A=u+c.host:f&&(A=u+(~f.indexOf(":")?"["+f+"]":f),c.port&&(A+=":"+c.port)),C&&typeof C=="object"&&(C=String(n.urlQueryToSearchParams(C)));let w=c.search||C&&"?"+C||"";return l&&!l.endsWith(":")&&(l+=":"),c.slashes||(!l||a.test(l))&&A!==!1?(A="//"+(A||""),p&&p[0]!=="/"&&(p="/"+p)):A||(A=""),v&&v[0]!=="#"&&(v="#"+v),w&&w[0]!=="?"&&(w="?"+w),p=p.replace(/[?#]/g,encodeURIComponent),w=w.replace("#","%23"),""+l+A+p+w+v}const o=["auth","hash","host","hostname","href","path","pathname","port","protocol","query","search","slashes"];function s(c){return process.env.NODE_ENV==="development"&&c!==null&&typeof c=="object"&&Object.keys(c).forEach(u=>{o.includes(u)||console.warn("Unknown key passed via urlObject into url.format: "+u)}),i(c)}}(An)),An}var xn={},fi;function nc(){return fi||(fi=1,function(t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"omit",{enumerable:!0,get:function(){return e}});function e(r,n){const a={};return Object.keys(r).forEach(i=>{n.includes(i)||(a[i]=r[i])}),a}}(xn)),xn}var Ln={},pi;function rn(){return pi||(pi=1,function(t){Object.defineProperty(t,"__esModule",{value:!0});function e(m,E){for(var R in E)Object.defineProperty(m,R,{enumerable:!0,get:E[R]})}e(t,{DecodeError:function(){return C},MiddlewareNotFoundError:function(){return x},MissingStaticPage:function(){return y},NormalizeError:function(){return A},PageNotFoundError:function(){return w},SP:function(){return p},ST:function(){return v},WEB_VITALS:function(){return r},execOnce:function(){return n},getDisplayName:function(){return c},getLocationOrigin:function(){return o},getURL:function(){return s},isAbsoluteUrl:function(){return i},isResSent:function(){return u},loadGetInitialProps:function(){return l},normalizeRepeatedSlashes:function(){return f},stringifyError:function(){return d}});const r=["CLS","FCP","FID","INP","LCP","TTFB"];function n(m){let E=!1,R;return function(){for(var S=arguments.length,N=new Array(S),U=0;U<S;U++)N[U]=arguments[U];return E||(E=!0,R=m(...N)),R}}const a=/^[a-zA-Z][a-zA-Z\d+\-.]*?:/,i=m=>a.test(m);function o(){const{protocol:m,hostname:E,port:R}=window.location;return m+"//"+E+(R?":"+R:"")}function s(){const{href:m}=window.location,E=o();return m.substring(E.length)}function c(m){return typeof m=="string"?m:m.displayName||m.name||"Unknown"}function u(m){return m.finished||m.headersSent}function f(m){const E=m.split("?");return E[0].replace(/\\/g,"/").replace(/\/\/+/g,"/")+(E[1]?"?"+E.slice(1).join("?"):"")}async function l(m,E){if(process.env.NODE_ENV!=="production"){var R;if((R=m.prototype)!=null&&R.getInitialProps){const U='"'+c(m)+'.getInitialProps()" is defined as an instance method - visit https://nextjs.org/docs/messages/get-initial-props-as-an-instance-method for more information.';throw new Error(U)}}const S=E.res||E.ctx&&E.ctx.res;if(!m.getInitialProps)return E.ctx&&E.Component?{pageProps:await l(E.Component,E.ctx)}:{};const N=await m.getInitialProps(E);if(S&&u(S))return N;if(!N){const U='"'+c(m)+'.getInitialProps()" should resolve to an object. But found "'+N+'" instead.';throw new Error(U)}return process.env.NODE_ENV!=="production"&&Object.keys(N).length===0&&!E.ctx&&console.warn(""+c(m)+" returned an empty object from `getInitialProps`. This de-optimizes and prevents automatic static optimization. https://nextjs.org/docs/messages/empty-object-getInitialProps"),N}const p=typeof performance<"u",v=p&&["mark","measure","getEntriesByName"].every(m=>typeof performance[m]=="function");class C extends Error{}class A extends Error{}class w extends Error{constructor(E){super(),this.code="ENOENT",this.name="PageNotFoundError",this.message="Cannot find module for page: "+E}}class y extends Error{constructor(E,R){super(),this.message="Failed to load static file for page: "+E+" "+R}}class x extends Error{constructor(){super(),this.code="ENOENT",this.message="Cannot find the middleware module"}}function d(m){return JSON.stringify({message:m.message,stack:m.stack})}}(Ln)),Ln}var Pr={exports:{}},In={},hi;function Ho(){return hi||(hi=1,function(t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"removeTrailingSlash",{enumerable:!0,get:function(){return e}});function e(r){return r.replace(/\/$/,"")||"/"}}(In)),In}var Pn={},mi;function Ra(){return mi||(mi=1,function(t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"parsePath",{enumerable:!0,get:function(){return e}});function e(r){const n=r.indexOf("#"),a=r.indexOf("?"),i=a>-1&&(n<0||a<n);return i||n>-1?{pathname:r.substring(0,i?a:n),query:i?r.substring(a,n>-1?n:void 0):"",hash:n>-1?r.slice(n):""}:{pathname:r,query:"",hash:""}}}(Pn)),Pn}var _i;function nn(){return _i||(_i=1,function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"normalizePathTrailingSlash",{enumerable:!0,get:function(){return a}});const r=Ho(),n=Ra(),a=i=>{if(!i.startsWith("/")||process.env.__NEXT_MANUAL_TRAILING_SLASH)return i;const{pathname:o,query:s,hash:c}=(0,n.parsePath)(i);return process.env.__NEXT_TRAILING_SLASH?/\.[^/]+\/?$/.test(o)?""+(0,r.removeTrailingSlash)(o)+s+c:o.endsWith("/")?""+o+s+c:o+"/"+s+c:""+(0,r.removeTrailingSlash)(o)+s+c};(typeof e.default=="function"||typeof e.default=="object"&&e.default!==null)&&typeof e.default.__esModule>"u"&&(Object.defineProperty(e.default,"__esModule",{value:!0}),Object.assign(e.default,e),t.exports=e.default)}(Pr,Pr.exports)),Pr.exports}var Nn={},Nr={exports:{}},jn={},gi;function Vo(){return gi||(gi=1,function(t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"pathHasPrefix",{enumerable:!0,get:function(){return r}});const e=Ra();function r(n,a){if(typeof n!="string")return!1;const{pathname:i}=(0,e.parsePath)(n);return i===a||i.startsWith(a+"/")}}(jn)),jn}var yi;function ac(){return yi||(yi=1,function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"hasBasePath",{enumerable:!0,get:function(){return a}});const r=Vo(),n=process.env.__NEXT_ROUTER_BASEPATH||"";function a(i){return(0,r.pathHasPrefix)(i,n)}(typeof e.default=="function"||typeof e.default=="object"&&e.default!==null)&&typeof e.default.__esModule>"u"&&(Object.defineProperty(e.default,"__esModule",{value:!0}),Object.assign(e.default,e),t.exports=e.default)}(Nr,Nr.exports)),Nr.exports}var vi;function Uo(){return vi||(vi=1,function(t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isLocalURL",{enumerable:!0,get:function(){return n}});const e=rn(),r=ac();function n(a){if(!(0,e.isAbsoluteUrl)(a))return!0;try{const i=(0,e.getLocationOrigin)(),o=new URL(a,i);return o.origin===i&&(0,r.hasBasePath)(o.pathname)}catch{return!1}}}(Nn)),Nn}var Mn={},Dn={},Ei;function ic(){return Ei||(Ei=1,function(t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getSortedRoutes",{enumerable:!0,get:function(){return r}});class e{insert(a){this._insert(a.split("/").filter(Boolean),[],!1)}smoosh(){return this._smoosh()}_smoosh(a){a===void 0&&(a="/");const i=[...this.children.keys()].sort();this.slugName!==null&&i.splice(i.indexOf("[]"),1),this.restSlugName!==null&&i.splice(i.indexOf("[...]"),1),this.optionalRestSlugName!==null&&i.splice(i.indexOf("[[...]]"),1);const o=i.map(s=>this.children.get(s)._smoosh(""+a+s+"/")).reduce((s,c)=>[...s,...c],[]);if(this.slugName!==null&&o.push(...this.children.get("[]")._smoosh(a+"["+this.slugName+"]/")),!this.placeholder){const s=a==="/"?"/":a.slice(0,-1);if(this.optionalRestSlugName!=null)throw new Error('You cannot define a route with the same specificity as a optional catch-all route ("'+s+'" and "'+s+"[[..."+this.optionalRestSlugName+']]").');o.unshift(s)}return this.restSlugName!==null&&o.push(...this.children.get("[...]")._smoosh(a+"[..."+this.restSlugName+"]/")),this.optionalRestSlugName!==null&&o.push(...this.children.get("[[...]]")._smoosh(a+"[[..."+this.optionalRestSlugName+"]]/")),o}_insert(a,i,o){if(a.length===0){this.placeholder=!1;return}if(o)throw new Error("Catch-all must be the last part of the URL.");let s=a[0];if(s.startsWith("[")&&s.endsWith("]")){let f=function(l,p){if(l!==null&&l!==p)throw new Error("You cannot use different slug names for the same dynamic path ('"+l+"' !== '"+p+"').");i.forEach(v=>{if(v===p)throw new Error('You cannot have the same slug name "'+p+'" repeat within a single dynamic path');if(v.replace(/\W/g,"")===s.replace(/\W/g,""))throw new Error('You cannot have the slug names "'+v+'" and "'+p+'" differ only by non-word symbols within a single dynamic path')}),i.push(p)},c=s.slice(1,-1),u=!1;if(c.startsWith("[")&&c.endsWith("]")&&(c=c.slice(1,-1),u=!0),c.startsWith("...")&&(c=c.substring(3),o=!0),c.startsWith("[")||c.endsWith("]"))throw new Error("Segment names may not start or end with extra brackets ('"+c+"').");if(c.startsWith("."))throw new Error("Segment names may not start with erroneous periods ('"+c+"').");if(o)if(u){if(this.restSlugName!=null)throw new Error('You cannot use both an required and optional catch-all route at the same level ("[...'+this.restSlugName+']" and "'+a[0]+'" ).');f(this.optionalRestSlugName,c),this.optionalRestSlugName=c,s="[[...]]"}else{if(this.optionalRestSlugName!=null)throw new Error('You cannot use both an optional and required catch-all route at the same level ("[[...'+this.optionalRestSlugName+']]" and "'+a[0]+'").');f(this.restSlugName,c),this.restSlugName=c,s="[...]"}else{if(u)throw new Error('Optional route parameters are not yet supported ("'+a[0]+'").');f(this.slugName,c),this.slugName=c,s="[]"}}this.children.has(s)||this.children.set(s,new e),this.children.get(s)._insert(a.slice(1),i,o)}constructor(){this.placeholder=!0,this.children=new Map,this.slugName=null,this.restSlugName=null,this.optionalRestSlugName=null}}function r(n){const a=new e;return n.forEach(i=>a.insert(i)),a.smoosh()}}(Dn)),Dn}var kn={},$n={},Bn={},Hn={},bi;function oc(){return bi||(bi=1,function(t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ensureLeadingSlash",{enumerable:!0,get:function(){return e}});function e(r){return r.startsWith("/")?r:"/"+r}}(Hn)),Hn}var Vn={},Ci;function sc(){return Ci||(Ci=1,function(t){Object.defineProperty(t,"__esModule",{value:!0});function e(i,o){for(var s in o)Object.defineProperty(i,s,{enumerable:!0,get:o[s]})}e(t,{DEFAULT_SEGMENT_KEY:function(){return a},PAGE_SEGMENT_KEY:function(){return n},isGroupSegment:function(){return r}});function r(i){return i[0]==="("&&i.endsWith(")")}const n="__PAGE__",a="__DEFAULT__"}(Vn)),Vn}var Si;function uc(){return Si||(Si=1,function(t){Object.defineProperty(t,"__esModule",{value:!0});function e(o,s){for(var c in s)Object.defineProperty(o,c,{enumerable:!0,get:s[c]})}e(t,{normalizeAppPath:function(){return a},normalizeRscURL:function(){return i}});const r=oc(),n=sc();function a(o){return(0,r.ensureLeadingSlash)(o.split("/").reduce((s,c,u,f)=>!c||(0,n.isGroupSegment)(c)||c[0]==="@"||(c==="page"||c==="route")&&u===f.length-1?s:s+"/"+c,""))}function i(o){return o.replace(/\.rsc($|\?)/,"$1")}}(Bn)),Bn}var Ti;function Ko(){return Ti||(Ti=1,function(t){Object.defineProperty(t,"__esModule",{value:!0});function e(o,s){for(var c in s)Object.defineProperty(o,c,{enumerable:!0,get:s[c]})}e(t,{INTERCEPTION_ROUTE_MARKERS:function(){return n},extractInterceptionRouteInformation:function(){return i},isInterceptionRouteAppPath:function(){return a}});const r=uc(),n=["(..)(..)","(.)","(..)","(...)"];function a(o){return o.split("/").find(s=>n.find(c=>s.startsWith(c)))!==void 0}function i(o){let s,c,u;for(const f of o.split("/"))if(c=n.find(l=>f.startsWith(l)),c){[s,u]=o.split(c,2);break}if(!s||!c||!u)throw new Error(`Invalid interception route: ${o}. Must be in the format /<intercepting route>/(..|...|..)(..)/<intercepted route>`);switch(s=(0,r.normalizeAppPath)(s),c){case"(.)":s==="/"?u=`/${u}`:u=s+"/"+u;break;case"(..)":if(s==="/")throw new Error(`Invalid interception route: ${o}. Cannot use (..) marker at the root level, use (.) instead.`);u=s.split("/").slice(0,-1).concat(u).join("/");break;case"(...)":u="/"+u;break;case"(..)(..)":const f=s.split("/");if(f.length<=2)throw new Error(`Invalid interception route: ${o}. Cannot use (..)(..) marker at the root level or one level up.`);u=f.slice(0,-2).concat(u).join("/");break;default:throw new Error("Invariant: unexpected marker")}return{interceptingRoute:s,interceptedRoute:u}}}($n)),$n}var Ri;function cc(){return Ri||(Ri=1,function(t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isDynamicRoute",{enumerable:!0,get:function(){return n}});const e=Ko(),r=/\/\[[^/]+?\](?=\/|$)/;function n(a){return(0,e.isInterceptionRouteAppPath)(a)&&(a=(0,e.extractInterceptionRouteInformation)(a).interceptedRoute),r.test(a)}}(kn)),kn}var Oi;function lc(){return Oi||(Oi=1,function(t){Object.defineProperty(t,"__esModule",{value:!0});function e(a,i){for(var o in i)Object.defineProperty(a,o,{enumerable:!0,get:i[o]})}e(t,{getSortedRoutes:function(){return r.getSortedRoutes},isDynamicRoute:function(){return n.isDynamicRoute}});const r=ic(),n=cc()}(Mn)),Mn}var Un={},Kn={},wi;function dc(){return wi||(wi=1,function(t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getRouteMatcher",{enumerable:!0,get:function(){return r}});const e=rn();function r(n){let{re:a,groups:i}=n;return o=>{const s=a.exec(o);if(!s)return!1;const c=f=>{try{return decodeURIComponent(f)}catch{throw new e.DecodeError("failed to decode param")}},u={};return Object.keys(i).forEach(f=>{const l=i[f],p=s[l.pos];p!==void 0&&(u[f]=~p.indexOf("/")?p.split("/").map(v=>c(v)):l.repeat?[c(p)]:c(p))}),u}}}(Kn)),Kn}var Fn={},Gn={},Ai;function fc(){return Ai||(Ai=1,function(t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"escapeStringRegexp",{enumerable:!0,get:function(){return n}});const e=/[|\\{}()[\]^$+*?.-]/,r=/[|\\{}()[\]^$+*?.-]/g;function n(a){return e.test(a)?a.replace(r,"\\$&"):a}}(Gn)),Gn}var xi;function pc(){return xi||(xi=1,function(t){Object.defineProperty(t,"__esModule",{value:!0});function e(A,w){for(var y in w)Object.defineProperty(A,y,{enumerable:!0,get:w[y]})}e(t,{getNamedMiddlewareRegex:function(){return C},getNamedRouteRegex:function(){return v},getRouteRegex:function(){return u}});const r=Ko(),n=fc(),a=Ho(),i="nxtP",o="nxtI";function s(A){const w=A.startsWith("[")&&A.endsWith("]");w&&(A=A.slice(1,-1));const y=A.startsWith("...");return y&&(A=A.slice(3)),{key:A,repeat:y,optional:w}}function c(A){const w=(0,a.removeTrailingSlash)(A).slice(1).split("/"),y={};let x=1;return{parameterizedRoute:w.map(d=>{const m=r.INTERCEPTION_ROUTE_MARKERS.find(R=>d.startsWith(R)),E=d.match(/\[((?:\[.*\])|.+)\]/);if(m&&E){const{key:R,optional:S,repeat:N}=s(E[1]);return y[R]={pos:x++,repeat:N,optional:S},"/"+(0,n.escapeStringRegexp)(m)+"([^/]+?)"}else if(E){const{key:R,repeat:S,optional:N}=s(E[1]);return y[R]={pos:x++,repeat:S,optional:N},S?N?"(?:/(.+?))?":"/(.+?)":"/([^/]+?)"}else return"/"+(0,n.escapeStringRegexp)(d)}).join(""),groups:y}}function u(A){const{parameterizedRoute:w,groups:y}=c(A);return{re:new RegExp("^"+w+"(?:/)?$"),groups:y}}function f(){let A=0;return()=>{let w="",y=++A;for(;y>0;)w+=String.fromCharCode(97+(y-1)%26),y=Math.floor((y-1)/26);return w}}function l(A){let{interceptionMarker:w,getSafeRouteKey:y,segment:x,routeKeys:d,keyPrefix:m}=A;const{key:E,optional:R,repeat:S}=s(x);let N=E.replace(/\W/g,"");m&&(N=""+m+N);let U=!1;(N.length===0||N.length>30)&&(U=!0),isNaN(parseInt(N.slice(0,1)))||(U=!0),U&&(N=y()),m?d[N]=""+m+E:d[N]=E;const k=w?(0,n.escapeStringRegexp)(w):"";return S?R?"(?:/"+k+"(?<"+N+">.+?))?":"/"+k+"(?<"+N+">.+?)":"/"+k+"(?<"+N+">[^/]+?)"}function p(A,w){const y=(0,a.removeTrailingSlash)(A).slice(1).split("/"),x=f(),d={};return{namedParameterizedRoute:y.map(m=>{const E=r.INTERCEPTION_ROUTE_MARKERS.some(S=>m.startsWith(S)),R=m.match(/\[((?:\[.*\])|.+)\]/);if(E&&R){const[S]=m.split(R[0]);return l({getSafeRouteKey:x,interceptionMarker:S,segment:R[1],routeKeys:d,keyPrefix:w?o:void 0})}else return R?l({getSafeRouteKey:x,segment:R[1],routeKeys:d,keyPrefix:w?i:void 0}):"/"+(0,n.escapeStringRegexp)(m)}).join(""),routeKeys:d}}function v(A,w){const y=p(A,w);return{...u(A),namedRegex:"^"+y.namedParameterizedRoute+"(?:/)?$",routeKeys:y.routeKeys}}function C(A,w){const{parameterizedRoute:y}=c(A),{catchAll:x=!0}=w;if(y==="/")return{namedRegex:"^/"+(x?".*":"")+"$"};const{namedParameterizedRoute:d}=p(A,!1);let m=x?"(?:(/.*)?)":"";return{namedRegex:"^"+d+m+"$"}}}(Fn)),Fn}var Li;function hc(){return Li||(Li=1,function(t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"interpolateAs",{enumerable:!0,get:function(){return n}});const e=dc(),r=pc();function n(a,i,o){let s="";const c=(0,r.getRouteRegex)(a),u=c.groups,f=(i!==a?(0,e.getRouteMatcher)(c)(i):"")||o;s=a;const l=Object.keys(u);return l.every(p=>{let v=f[p]||"";const{repeat:C,optional:A}=u[p];let w="["+(C?"...":"")+p+"]";return A&&(w=(v?"":"/")+"["+w+"]"),C&&!Array.isArray(v)&&(v=[v]),(A||p in f)&&(s=s.replace(w,C?v.map(y=>encodeURIComponent(y)).join("/"):encodeURIComponent(v))||"/")})||(s=""),{params:l,result:s}}}(Un)),Un}var Ii;function mc(){return Ii||(Ii=1,function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"resolveHref",{enumerable:!0,get:function(){return f}});const r=$o(),n=Bo(),a=nc(),i=rn(),o=nn(),s=Uo(),c=lc(),u=hc();function f(l,p,v){let C,A=typeof p=="string"?p:(0,n.formatWithValidation)(p);const w=A.match(/^[a-zA-Z]{1,}:\/\//),y=w?A.slice(w[0].length):A;if((y.split("?",1)[0]||"").match(/(\/\/|\\)/)){console.error("Invalid href '"+A+"' passed to next/router in page: '"+l.pathname+"'. Repeated forward-slashes (//) or backslashes \\ are not valid in the href.");const d=(0,i.normalizeRepeatedSlashes)(y);A=(w?w[0]:"")+d}if(!(0,s.isLocalURL)(A))return v?[A]:A;try{C=new URL(A.startsWith("#")?l.asPath:l.pathname,"http://n")}catch{C=new URL("/","http://n")}try{const d=new URL(A,C);d.pathname=(0,o.normalizePathTrailingSlash)(d.pathname);let m="";if((0,c.isDynamicRoute)(d.pathname)&&d.searchParams&&v){const R=(0,r.searchParamsToUrlQuery)(d.searchParams),{result:S,params:N}=(0,u.interpolateAs)(d.pathname,d.pathname,R);S&&(m=(0,n.formatWithValidation)({pathname:S,hash:d.hash,query:(0,a.omit)(R,N)}))}const E=d.origin===C.origin?d.href.slice(d.origin.length):d.href;return v?[E,m||E]:E}catch{return v?[A]:A}}(typeof e.default=="function"||typeof e.default=="object"&&e.default!==null)&&typeof e.default.__esModule>"u"&&(Object.defineProperty(e.default,"__esModule",{value:!0}),Object.assign(e.default,e),t.exports=e.default)}(Ir,Ir.exports)),Ir.exports}var jr={exports:{}},qn={},Zn={},Pi;function Fo(){return Pi||(Pi=1,function(t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"addPathPrefix",{enumerable:!0,get:function(){return r}});const e=Ra();function r(n,a){if(!n.startsWith("/")||!a)return n;const{pathname:i,query:o,hash:s}=(0,e.parsePath)(n);return""+a+i+o+s}}(Zn)),Zn}var Ni;function _c(){return Ni||(Ni=1,function(t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"addLocale",{enumerable:!0,get:function(){return n}});const e=Fo(),r=Vo();function n(a,i,o,s){if(!i||i===o)return a;const c=a.toLowerCase();return!s&&((0,r.pathHasPrefix)(c,"/api")||(0,r.pathHasPrefix)(c,"/"+i.toLowerCase()))?a:(0,e.addPathPrefix)(a,"/"+i)}}(qn)),qn}var ji;function gc(){return ji||(ji=1,function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"addLocale",{enumerable:!0,get:function(){return n}});const r=nn(),n=function(a){for(var i=arguments.length,o=new Array(i>1?i-1:0),s=1;s<i;s++)o[s-1]=arguments[s];return process.env.__NEXT_I18N_SUPPORT?(0,r.normalizePathTrailingSlash)(_c().addLocale(a,...o)):a};(typeof e.default=="function"||typeof e.default=="object"&&e.default!==null)&&typeof e.default.__esModule>"u"&&(Object.defineProperty(e.default,"__esModule",{value:!0}),Object.assign(e.default,e),t.exports=e.default)}(jr,jr.exports)),jr.exports}var zn={},Mi;function yc(){return Mi||(Mi=1,function(t){"use client";Object.defineProperty(t,"__esModule",{value:!0});function e(u,f){for(var l in f)Object.defineProperty(u,l,{enumerable:!0,get:f[l]})}e(t,{AppRouterContext:function(){return a},GlobalLayoutRouterContext:function(){return o},LayoutRouterContext:function(){return i},MissingSlotContext:function(){return c},TemplateContext:function(){return s}});const n=rt._(q),a=n.default.createContext(null),i=n.default.createContext(null),o=n.default.createContext(null),s=n.default.createContext(null);process.env.NODE_ENV!=="production"&&(a.displayName="AppRouterContext",i.displayName="LayoutRouterContext",o.displayName="GlobalLayoutRouterContext",s.displayName="TemplateContext");const c=n.default.createContext(new Set)}(zn)),zn}var Mr={exports:{}},Dr={exports:{}},Di;function vc(){return Di||(Di=1,function(t,e){Object.defineProperty(e,"__esModule",{value:!0});function r(i,o){for(var s in o)Object.defineProperty(i,s,{enumerable:!0,get:o[s]})}r(e,{cancelIdleCallback:function(){return a},requestIdleCallback:function(){return n}});const n=typeof self<"u"&&self.requestIdleCallback&&self.requestIdleCallback.bind(window)||function(i){let o=Date.now();return self.setTimeout(function(){i({didTimeout:!1,timeRemaining:function(){return Math.max(0,50-(Date.now()-o))}})},1)},a=typeof self<"u"&&self.cancelIdleCallback&&self.cancelIdleCallback.bind(window)||function(i){return clearTimeout(i)};(typeof e.default=="function"||typeof e.default=="object"&&e.default!==null)&&typeof e.default.__esModule>"u"&&(Object.defineProperty(e.default,"__esModule",{value:!0}),Object.assign(e.default,e),t.exports=e.default)}(Dr,Dr.exports)),Dr.exports}var ki;function Ec(){return ki||(ki=1,function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"useIntersection",{enumerable:!0,get:function(){return u}});const r=q,n=vc(),a=typeof IntersectionObserver=="function",i=new Map,o=[];function s(f){const l={root:f.root||null,margin:f.rootMargin||""},p=o.find(w=>w.root===l.root&&w.margin===l.margin);let v;if(p&&(v=i.get(p),v))return v;const C=new Map,A=new IntersectionObserver(w=>{w.forEach(y=>{const x=C.get(y.target),d=y.isIntersecting||y.intersectionRatio>0;x&&d&&x(d)})},f);return v={id:l,observer:A,elements:C},o.push(l),i.set(l,v),v}function c(f,l,p){const{id:v,observer:C,elements:A}=s(p);return A.set(f,l),C.observe(f),function(){if(A.delete(f),C.unobserve(f),A.size===0){C.disconnect(),i.delete(v);const y=o.findIndex(x=>x.root===v.root&&x.margin===v.margin);y>-1&&o.splice(y,1)}}}function u(f){let{rootRef:l,rootMargin:p,disabled:v}=f;const C=v||!a,[A,w]=(0,r.useState)(!1),y=(0,r.useRef)(null),x=(0,r.useCallback)(m=>{y.current=m},[]);(0,r.useEffect)(()=>{if(a){if(C||A)return;const m=y.current;if(m&&m.tagName)return c(m,R=>R&&w(R),{root:l==null?void 0:l.current,rootMargin:p})}else if(!A){const m=(0,n.requestIdleCallback)(()=>w(!0));return()=>(0,n.cancelIdleCallback)(m)}},[C,p,l,A,y.current]);const d=(0,r.useCallback)(()=>{w(!1)},[]);return[x,A,d]}(typeof e.default=="function"||typeof e.default=="object"&&e.default!==null)&&typeof e.default.__esModule>"u"&&(Object.defineProperty(e.default,"__esModule",{value:!0}),Object.assign(e.default,e),t.exports=e.default)}(Mr,Mr.exports)),Mr.exports}var kr={exports:{}},$r={exports:{}},Wn={},$i;function bc(){return $i||($i=1,function(t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"normalizeLocalePath",{enumerable:!0,get:function(){return e}});function e(r,n){let a;const i=r.split("/");return(n||[]).some(o=>i[1]&&i[1].toLowerCase()===o.toLowerCase()?(a=o,i.splice(1,1),r=i.join("/")||"/",!0):!1),{pathname:r,detectedLocale:a}}}(Wn)),Wn}var Bi;function Cc(){return Bi||(Bi=1,function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"normalizeLocalePath",{enumerable:!0,get:function(){return r}});const r=(n,a)=>process.env.__NEXT_I18N_SUPPORT?bc().normalizeLocalePath(n,a):{pathname:n,detectedLocale:void 0};(typeof e.default=="function"||typeof e.default=="object"&&e.default!==null)&&typeof e.default.__esModule>"u"&&(Object.defineProperty(e.default,"__esModule",{value:!0}),Object.assign(e.default,e),t.exports=e.default)}($r,$r.exports)),$r.exports}var Br={exports:{}},Yn={},Hi;function Sc(){return Hi||(Hi=1,function(t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"detectDomainLocale",{enumerable:!0,get:function(){return e}});function e(r,n,a){if(r){a&&(a=a.toLowerCase());for(const s of r){var i,o;const c=(i=s.domain)==null?void 0:i.split(":",1)[0].toLowerCase();if(n===c||a===s.defaultLocale.toLowerCase()||(o=s.locales)!=null&&o.some(u=>u.toLowerCase()===a))return s}}}}(Yn)),Yn}var Vi;function Tc(){return Vi||(Vi=1,function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"detectDomainLocale",{enumerable:!0,get:function(){return r}});const r=function(){for(var n=arguments.length,a=new Array(n),i=0;i<n;i++)a[i]=arguments[i];if(process.env.__NEXT_I18N_SUPPORT)return Sc().detectDomainLocale(...a)};(typeof e.default=="function"||typeof e.default=="object"&&e.default!==null)&&typeof e.default.__esModule>"u"&&(Object.defineProperty(e.default,"__esModule",{value:!0}),Object.assign(e.default,e),t.exports=e.default)}(Br,Br.exports)),Br.exports}var Ui;function Rc(){return Ui||(Ui=1,function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"getDomainLocale",{enumerable:!0,get:function(){return a}});const r=nn(),n=process.env.__NEXT_ROUTER_BASEPATH||"";function a(i,o,s,c){if(process.env.__NEXT_I18N_SUPPORT){const u=Cc().normalizeLocalePath,f=Tc().detectDomainLocale,l=o||u(i,s).detectedLocale,p=f(c,void 0,l);if(p){const v="http"+(p.http?"":"s")+"://",C=l===p.defaultLocale?"":"/"+l;return""+v+p.domain+(0,r.normalizePathTrailingSlash)(""+n+C+i)}return!1}else return!1}(typeof e.default=="function"||typeof e.default=="object"&&e.default!==null)&&typeof e.default.__esModule>"u"&&(Object.defineProperty(e.default,"__esModule",{value:!0}),Object.assign(e.default,e),t.exports=e.default)}(kr,kr.exports)),kr.exports}var Hr={exports:{}},Ki;function Oc(){return Ki||(Ki=1,function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"addBasePath",{enumerable:!0,get:function(){return i}});const r=Fo(),n=nn(),a=process.env.__NEXT_ROUTER_BASEPATH||"";function i(o,s){return(0,n.normalizePathTrailingSlash)(process.env.__NEXT_MANUAL_CLIENT_BASE_PATH&&!s?o:(0,r.addPathPrefix)(o,a))}(typeof e.default=="function"||typeof e.default=="object"&&e.default!==null)&&typeof e.default.__esModule>"u"&&(Object.defineProperty(e.default,"__esModule",{value:!0}),Object.assign(e.default,e),t.exports=e.default)}(Hr,Hr.exports)),Hr.exports}var Vr={exports:{}},Fi;function wc(){return Fi||(Fi=1,function(t,e){Object.defineProperty(e,"__esModule",{value:!0});function r(v,C){for(var A in C)Object.defineProperty(v,A,{enumerable:!0,get:C[A]})}r(e,{ACTION_FAST_REFRESH:function(){return c},ACTION_NAVIGATE:function(){return a},ACTION_PREFETCH:function(){return s},ACTION_REFRESH:function(){return n},ACTION_RESTORE:function(){return i},ACTION_SERVER_ACTION:function(){return u},ACTION_SERVER_PATCH:function(){return o},PrefetchCacheEntryStatus:function(){return l},PrefetchKind:function(){return f},isThenable:function(){return p}});const n="refresh",a="navigate",i="restore",o="server-patch",s="prefetch",c="fast-refresh",u="server-action";var f;(function(v){v.AUTO="auto",v.FULL="full",v.TEMPORARY="temporary"})(f||(f={}));var l;(function(v){v.fresh="fresh",v.reusable="reusable",v.expired="expired",v.stale="stale"})(l||(l={}));function p(v){return v&&(typeof v=="object"||typeof v=="function")&&typeof v.then=="function"}(typeof e.default=="function"||typeof e.default=="object"&&e.default!==null)&&typeof e.default.__esModule>"u"&&(Object.defineProperty(e.default,"__esModule",{value:!0}),Object.assign(e.default,e),t.exports=e.default)}(Vr,Vr.exports)),Vr.exports}(function(t,e){"use client";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return R}});const r=rt,n=M,a=r._(q),i=mc(),o=Uo(),s=Bo(),c=rn(),u=gc(),f=No(),l=yc(),p=Ec(),v=Rc(),C=Oc(),A=wc(),w=new Set;function y(S,N,U,k,J,X){if(typeof window>"u"||!X&&!(0,o.isLocalURL)(N))return;if(!k.bypassPrefetchedCheck){const F=typeof k.locale<"u"?k.locale:"locale"in S?S.locale:void 0,ee=N+"%"+U+"%"+F;if(w.has(ee))return;w.add(ee)}(async()=>X?S.prefetch(N,J):S.prefetch(N,U,k))().catch(F=>{if(process.env.NODE_ENV!=="production")throw F})}function x(S){const U=S.currentTarget.getAttribute("target");return U&&U!=="_self"||S.metaKey||S.ctrlKey||S.shiftKey||S.altKey||S.nativeEvent&&S.nativeEvent.which===2}function d(S,N,U,k,J,X,$,F,ee){const{nodeName:le}=S.currentTarget;if(le.toUpperCase()==="A"&&(x(S)||!ee&&!(0,o.isLocalURL)(U)))return;S.preventDefault();const _e=()=>{const te=$??!0;"beforePopState"in N?N[J?"replace":"push"](U,k,{shallow:X,locale:F,scroll:te}):N[J?"replace":"push"](k||U,{scroll:te})};ee?a.default.startTransition(_e):_e()}function m(S){return typeof S=="string"?S:(0,s.formatUrl)(S)}const R=a.default.forwardRef(function(N,U){let k;const{href:J,as:X,children:$,prefetch:F=null,passHref:ee,replace:le,shallow:be,scroll:_e,locale:te,onClick:b,onMouseEnter:D,onTouchStart:re,legacyBehavior:I=!1,...oe}=N;k=$,I&&(typeof k=="string"||typeof k=="number")&&(k=(0,n.jsx)("a",{children:k}));const ne=a.default.useContext(f.RouterContext),ge=a.default.useContext(l.AppRouterContext),O=ne??ge,ie=!ne,pe=F!==!1,Ee=F===null?A.PrefetchKind.AUTO:A.PrefetchKind.FULL;if(process.env.NODE_ENV!=="production"){let h=function(B){return new Error("Failed prop type: The prop `"+B.key+"` expects a "+B.expected+" in `<Link>`, but got `"+B.actual+"` instead."+(typeof window<"u"?`
59
- Open your browser's console to view the Component stack trace.`:""))};Object.keys({href:!0}).forEach(B=>{if(B==="href"&&(N[B]==null||typeof N[B]!="string"&&typeof N[B]!="object"))throw h({key:B,expected:"`string` or `object`",actual:N[B]===null?"null":typeof N[B]})}),Object.keys({as:!0,replace:!0,scroll:!0,shallow:!0,passHref:!0,prefetch:!0,locale:!0,onClick:!0,onMouseEnter:!0,onTouchStart:!0,legacyBehavior:!0}).forEach(B=>{const de=typeof N[B];if(B==="as"){if(N[B]&&de!=="string"&&de!=="object")throw h({key:B,expected:"`string` or `object`",actual:de})}else if(B==="locale"){if(N[B]&&de!=="string")throw h({key:B,expected:"`string`",actual:de})}else if(B==="onClick"||B==="onMouseEnter"||B==="onTouchStart"){if(N[B]&&de!=="function")throw h({key:B,expected:"`function`",actual:de})}else if((B==="replace"||B==="scroll"||B==="shallow"||B==="passHref"||B==="prefetch"||B==="legacyBehavior")&&N[B]!=null&&de!=="boolean")throw h({key:B,expected:"`boolean`",actual:de})});const P=a.default.useRef(!1);N.prefetch&&!P.current&&!ie&&(P.current=!0,console.warn("Next.js auto-prefetches automatically based on viewport. The prefetch attribute is no longer needed. More: https://nextjs.org/docs/messages/prefetch-true-deprecated"))}if(process.env.NODE_ENV!=="production"&&ie&&!X){let h;if(typeof J=="string"?h=J:typeof J=="object"&&typeof J.pathname=="string"&&(h=J.pathname),h&&h.split("/").some(j=>j.startsWith("[")&&j.endsWith("]")))throw new Error("Dynamic href `"+h+"` found in <Link> while using the `/app` router, this is not supported. Read more: https://nextjs.org/docs/messages/app-dir-dynamic-href")}const{href:T,as:g}=a.default.useMemo(()=>{if(!ne){const j=m(J);return{href:j,as:X?m(X):j}}const[h,H]=(0,i.resolveHref)(ne,J,!0);return{href:h,as:X?(0,i.resolveHref)(ne,X):H||h}},[ne,J,X]),ue=a.default.useRef(T),Z=a.default.useRef(g);let Y;if(I)if(process.env.NODE_ENV==="development"){b&&console.warn('"onClick" was passed to <Link> with `href` of `'+J+'` but "legacyBehavior" was set. The legacy behavior requires onClick be set on the child of next/link'),D&&console.warn('"onMouseEnter" was passed to <Link> with `href` of `'+J+'` but "legacyBehavior" was set. The legacy behavior requires onMouseEnter be set on the child of next/link');try{Y=a.default.Children.only(k)}catch{throw k?new Error("Multiple children were passed to <Link> with `href` of `"+J+"` but only one child is supported https://nextjs.org/docs/messages/link-multiple-children"+(typeof window<"u"?`
60
- Open your browser's console to view the Component stack trace.`:"")):new Error("No children were passed to <Link> with `href` of `"+J+"` but one child is required https://nextjs.org/docs/messages/link-no-children")}}else Y=a.default.Children.only(k);else if(process.env.NODE_ENV==="development"&&(k==null?void 0:k.type)==="a")throw new Error(`Invalid <Link> with <a> child. Please remove <a> or use <Link legacyBehavior>.
61
- Learn more: https://nextjs.org/docs/messages/invalid-new-link-with-extra-anchor`);const Oe=I?Y&&typeof Y=="object"&&Y.ref:U,[ke,Le,Re]=(0,p.useIntersection)({rootMargin:"200px"}),Ve=a.default.useCallback(h=>{(Z.current!==g||ue.current!==T)&&(Re(),Z.current=g,ue.current=T),ke(h),Oe&&(typeof Oe=="function"?Oe(h):typeof Oe=="object"&&(Oe.current=h))},[g,Oe,T,Re,ke]);a.default.useEffect(()=>{process.env.NODE_ENV==="production"&&O&&(!Le||!pe||y(O,T,g,{locale:te},{kind:Ee},ie))},[g,T,Le,te,pe,ne==null?void 0:ne.locale,O,ie,Ee]);const Ie={ref:Ve,onClick(h){if(process.env.NODE_ENV!=="production"&&!h)throw new Error('Component rendered inside next/link has to pass click event to "onClick" prop.');!I&&typeof b=="function"&&b(h),I&&Y.props&&typeof Y.props.onClick=="function"&&Y.props.onClick(h),O&&(h.defaultPrevented||d(h,O,T,g,le,be,_e,te,ie))},onMouseEnter(h){!I&&typeof D=="function"&&D(h),I&&Y.props&&typeof Y.props.onMouseEnter=="function"&&Y.props.onMouseEnter(h),O&&((!pe||process.env.NODE_ENV==="development")&&ie||y(O,T,g,{locale:te,priority:!0,bypassPrefetchedCheck:!0},{kind:Ee},ie))},onTouchStart:process.env.__NEXT_LINK_NO_TOUCH_START?void 0:function(H){!I&&typeof re=="function"&&re(H),I&&Y.props&&typeof Y.props.onTouchStart=="function"&&Y.props.onTouchStart(H),O&&(!pe&&ie||y(O,T,g,{locale:te,priority:!0,bypassPrefetchedCheck:!0},{kind:Ee},ie))}};if((0,c.isAbsoluteUrl)(g))Ie.href=g;else if(!I||ee||Y.type==="a"&&!("href"in Y.props)){const h=typeof te<"u"?te:ne==null?void 0:ne.locale,H=(ne==null?void 0:ne.isLocaleDomain)&&(0,v.getDomainLocale)(g,h,ne==null?void 0:ne.locales,ne==null?void 0:ne.domainLocales);Ie.href=H||(0,C.addBasePath)((0,u.addLocale)(g,h,ne==null?void 0:ne.defaultLocale))}return I?a.default.cloneElement(Y,Ie):(0,n.jsx)("a",{...oe,...Ie,children:k})});(typeof e.default=="function"||typeof e.default=="object"&&e.default!==null)&&typeof e.default.__esModule>"u"&&(Object.defineProperty(e.default,"__esModule",{value:!0}),Object.assign(e.default,e),t.exports=e.default)})(ci,ci.exports);const Ac=(t,e)=>ve.createElement("svg",{width:30,height:22,viewBox:"0 0 30 22",fill:"none",id:"svg2","sodipodi:docname":"arrow_right.svg","inkscape:version":"1.3.2 (091e20e, 2023-11-25)","xmlns:inkscape":"http://www.inkscape.org/namespaces/inkscape","xmlns:sodipodi":"http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd",xmlns:"http://www.w3.org/2000/svg","xmlns:svg":"http://www.w3.org/2000/svg",ref:e,...t},ve.createElement("defs",{id:"defs2"}),ve.createElement("sodipodi:namedview",{id:"namedview2",pagecolor:"#ffffff",bordercolor:"#000000",borderopacity:.25,"inkscape:showpageshadow":2,"inkscape:pageopacity":0,"inkscape:pagecheckerboard":0,"inkscape:deskcolor":"#d1d1d1",showgrid:"false","inkscape:zoom":7.375,"inkscape:cx":15.050847,"inkscape:cy":10.915254,"inkscape:window-width":1512,"inkscape:window-height":916,"inkscape:window-x":0,"inkscape:window-y":38,"inkscape:window-maximized":1,"inkscape:current-layer":"svg2"}),ve.createElement("path",{d:"M 1,11 H 29",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round",id:"path1"}),ve.createElement("path",{d:"M 18.1094,1 28.9983,11 18.1094,21",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round",id:"path2"}));q.forwardRef(Ac);const xc="_persuasionText_tz1xc_106",Lc={persuasionText:xc},Ic=({children:t})=>M.jsx("div",{className:Lc.persuasionText,children:t}),Pc=({block:t})=>{const e={preserveWhitespace:!0,renderMark:{[Je.MARKS.BOLD]:n=>M.jsx(he.Typography,{type:"body-semibold",children:n})},renderNode:{[Je.BLOCKS.PARAGRAPH]:(n,a)=>M.jsx(he.Typography,{type:"body-regular",children:a}),[Je.BLOCKS.HEADING_1]:(n,a)=>M.jsx(wt,{type:"h1",children:a}),[Je.BLOCKS.HEADING_3]:(n,a)=>M.jsx(wt,{type:"h3",children:a}),[Je.BLOCKS.HEADING_4]:(n,a)=>M.jsx(wt,{type:"h4",children:a}),[Je.BLOCKS.HEADING_2]:(n,a)=>M.jsx(wt,{type:"h2",children:a}),[Je.BLOCKS.HEADING_5]:(n,a)=>M.jsx(wt,{type:"h5",children:a}),[Je.BLOCKS.HEADING_6]:(n,a)=>M.jsx(wt,{type:"h6",children:a})}},r=()=>{const n=t.fields.text;if(n!==void 0)return ba.documentToReactComponents(n,e)};return M.jsx(Ic,{children:r()})},Nc=({block:t})=>{const e=()=>{var r;return(r=t.fields.content)==null?void 0:r.map(n=>{switch(n==null?void 0:n.sys.contentType.sys.id){case"componentPersuasionImage":{const a=n;return M.jsx(au,{block:a})}case"componentPersuasionText":{const a=n;return M.jsx(Pc,{block:a})}case"componentPersuasionList":{const a=n;return M.jsx(fu,{block:a})}}})};return M.jsx(eu,{alignment:t.fields.alignment,background:t.fields.background,children:e()})},jc="_persuasionImageSet_1pwtv_106",Mc="_persuasionImageSet__images_1pwtv_110",Dc="_persuasionImageSet__image_1pwtv_110",kc="_persuasionImageSet__text_1pwtv_125",$c="_persuasionImageSet__body_1pwtv_158",mt={persuasionImageSet:jc,persuasionImageSet__images:Mc,persuasionImageSet__image:Dc,persuasionImageSet__text:kc,"persuasionImageSet--surface":"_persuasionImageSet--surface_1pwtv_133","persuasionImageSet--surfaceContainer":"_persuasionImageSet--surfaceContainer_1pwtv_137","persuasionImageSet--surfaceDim":"_persuasionImageSet--surfaceDim_1pwtv_141","persuasionImageSet--vanilla":"_persuasionImageSet--vanilla_1pwtv_145","persuasionImageSet--primary":"_persuasionImageSet--primary_1pwtv_149",persuasionImageSet__body:$c},Bc=({backdrop:t,body:e,headline:r,imageLeft:n,imageRight:a})=>M.jsxs("div",{className:mt.persuasionImageSet,children:[M.jsxs("div",{className:dt(mt.persuasionImageSet__images,mt[`persuasionImageSet--${t}`]),children:[M.jsx("img",{className:mt.persuasionImageSet__image,src:n.src,alt:n.alt}),M.jsx("img",{className:mt.persuasionImageSet__image,src:a.src,alt:a.alt})]}),!!(r||e)&&M.jsxs("div",{className:dt(mt.persuasionImageSet__text,mt[`persuasionImageSet--${t}`]),children:[r&&M.jsx(wt,{type:"h2",children:r}),e&&M.jsx(he.Typography,{type:"body-large",className:mt.persuasionImageSet__body,children:e})]})]}),Hc=({block:t})=>{const e=r=>{var n,a;return{alt:(r==null?void 0:r.fields.description)??"",src:(n=r==null?void 0:r.fields.file)!=null&&n.url?`https:${(a=r.fields.file)==null?void 0:a.url}`:""}};return M.jsx(Bc,{backdrop:t.fields.backdrop,imageLeft:e(t.fields.imageLeft),imageRight:e(t.fields.imageRight),body:t.fields.body,headline:t.fields.headline})},Vc=({dynamicContent:t,onSubmit:e})=>M.jsx(M.Fragment,{children:t&&t.map(r=>{switch(r==null?void 0:r.sys.contentType.sys.id){case"blockSponsorCard":return M.jsx(q.Fragment,{children:M.jsx(Ms,{block:r,onSubmit:e})},r==null?void 0:r.sys.id);case"blockPersuasionImageSet":return M.jsx(Hc,{block:r});case"blockPersuasionContent":return M.jsx(Nc,{block:r});default:return M.jsx(M.Fragment,{children:"No Block"})}})});var Uc=function(e){return Kc(e)&&!Fc(e)};function Kc(t){return!!t&&typeof t=="object"}function Fc(t){var e=Object.prototype.toString.call(t);return e==="[object RegExp]"||e==="[object Date]"||Zc(t)}var Gc=typeof Symbol=="function"&&Symbol.for,qc=Gc?Symbol.for("react.element"):60103;function Zc(t){return t.$$typeof===qc}function zc(t){return Array.isArray(t)?[]:{}}function Gr(t,e){return e.clone!==!1&&e.isMergeableObject(t)?ir(zc(t),t,e):t}function Wc(t,e,r){return t.concat(e).map(function(n){return Gr(n,r)})}function Yc(t,e,r){var n={};return r.isMergeableObject(t)&&Object.keys(t).forEach(function(a){n[a]=Gr(t[a],r)}),Object.keys(e).forEach(function(a){!r.isMergeableObject(e[a])||!t[a]?n[a]=Gr(e[a],r):n[a]=ir(t[a],e[a],r)}),n}function ir(t,e,r){r=r||{},r.arrayMerge=r.arrayMerge||Wc,r.isMergeableObject=r.isMergeableObject||Uc;var n=Array.isArray(e),a=Array.isArray(t),i=n===a;return i?n?r.arrayMerge(t,e,r):Yc(t,e,r):Gr(e,r)}ir.all=function(e,r){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce(function(n,a){return ir(n,a,r)},{})};var la=ir,Go=typeof global=="object"&&global&&global.Object===Object&&global,Xc=typeof self=="object"&&self&&self.Object===Object&&self,ut=Go||Xc||Function("return this")(),gt=ut.Symbol,qo=Object.prototype,Qc=qo.hasOwnProperty,Jc=qo.toString,er=gt?gt.toStringTag:void 0;function el(t){var e=Qc.call(t,er),r=t[er];try{t[er]=void 0;var n=!0}catch{}var a=Jc.call(t);return n&&(e?t[er]=r:delete t[er]),a}var tl=Object.prototype,rl=tl.toString;function nl(t){return rl.call(t)}var al="[object Null]",il="[object Undefined]",Gi=gt?gt.toStringTag:void 0;function Dt(t){return t==null?t===void 0?il:al:Gi&&Gi in Object(t)?el(t):nl(t)}function Zo(t,e){return function(r){return t(e(r))}}var Oa=Zo(Object.getPrototypeOf,Object);function kt(t){return t!=null&&typeof t=="object"}var ol="[object Object]",sl=Function.prototype,ul=Object.prototype,zo=sl.toString,cl=ul.hasOwnProperty,ll=zo.call(Object);function qi(t){if(!kt(t)||Dt(t)!=ol)return!1;var e=Oa(t);if(e===null)return!0;var r=cl.call(e,"constructor")&&e.constructor;return typeof r=="function"&&r instanceof r&&zo.call(r)==ll}function dl(){this.__data__=[],this.size=0}function Wo(t,e){return t===e||t!==t&&e!==e}function an(t,e){for(var r=t.length;r--;)if(Wo(t[r][0],e))return r;return-1}var fl=Array.prototype,pl=fl.splice;function hl(t){var e=this.__data__,r=an(e,t);if(r<0)return!1;var n=e.length-1;return r==n?e.pop():pl.call(e,r,1),--this.size,!0}function ml(t){var e=this.__data__,r=an(e,t);return r<0?void 0:e[r][1]}function _l(t){return an(this.__data__,t)>-1}function gl(t,e){var r=this.__data__,n=an(r,t);return n<0?(++this.size,r.push([t,e])):r[n][1]=e,this}function pt(t){var e=-1,r=t==null?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}pt.prototype.clear=dl;pt.prototype.delete=hl;pt.prototype.get=ml;pt.prototype.has=_l;pt.prototype.set=gl;function yl(){this.__data__=new pt,this.size=0}function vl(t){var e=this.__data__,r=e.delete(t);return this.size=e.size,r}function El(t){return this.__data__.get(t)}function bl(t){return this.__data__.has(t)}function Tr(t){var e=typeof t;return t!=null&&(e=="object"||e=="function")}var Cl="[object AsyncFunction]",Sl="[object Function]",Tl="[object GeneratorFunction]",Rl="[object Proxy]";function Yo(t){if(!Tr(t))return!1;var e=Dt(t);return e==Sl||e==Tl||e==Cl||e==Rl}var Xn=ut["__core-js_shared__"],Zi=function(){var t=/[^.]+$/.exec(Xn&&Xn.keys&&Xn.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}();function Ol(t){return!!Zi&&Zi in t}var wl=Function.prototype,Al=wl.toString;function $t(t){if(t!=null){try{return Al.call(t)}catch{}try{return t+""}catch{}}return""}var xl=/[\\^$.*+?()[\]{}|]/g,Ll=/^\[object .+?Constructor\]$/,Il=Function.prototype,Pl=Object.prototype,Nl=Il.toString,jl=Pl.hasOwnProperty,Ml=RegExp("^"+Nl.call(jl).replace(xl,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function Dl(t){if(!Tr(t)||Ol(t))return!1;var e=Yo(t)?Ml:Ll;return e.test($t(t))}function kl(t,e){return t==null?void 0:t[e]}function Bt(t,e){var r=kl(t,e);return Dl(r)?r:void 0}var or=Bt(ut,"Map"),sr=Bt(Object,"create");function $l(){this.__data__=sr?sr(null):{},this.size=0}function Bl(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e}var Hl="__lodash_hash_undefined__",Vl=Object.prototype,Ul=Vl.hasOwnProperty;function Kl(t){var e=this.__data__;if(sr){var r=e[t];return r===Hl?void 0:r}return Ul.call(e,t)?e[t]:void 0}var Fl=Object.prototype,Gl=Fl.hasOwnProperty;function ql(t){var e=this.__data__;return sr?e[t]!==void 0:Gl.call(e,t)}var Zl="__lodash_hash_undefined__";function zl(t,e){var r=this.__data__;return this.size+=this.has(t)?0:1,r[t]=sr&&e===void 0?Zl:e,this}function Pt(t){var e=-1,r=t==null?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}Pt.prototype.clear=$l;Pt.prototype.delete=Bl;Pt.prototype.get=Kl;Pt.prototype.has=ql;Pt.prototype.set=zl;function Wl(){this.size=0,this.__data__={hash:new Pt,map:new(or||pt),string:new Pt}}function Yl(t){var e=typeof t;return e=="string"||e=="number"||e=="symbol"||e=="boolean"?t!=="__proto__":t===null}function on(t,e){var r=t.__data__;return Yl(e)?r[typeof e=="string"?"string":"hash"]:r.map}function Xl(t){var e=on(this,t).delete(t);return this.size-=e?1:0,e}function Ql(t){return on(this,t).get(t)}function Jl(t){return on(this,t).has(t)}function ed(t,e){var r=on(this,t),n=r.size;return r.set(t,e),this.size+=r.size==n?0:1,this}function Ct(t){var e=-1,r=t==null?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}Ct.prototype.clear=Wl;Ct.prototype.delete=Xl;Ct.prototype.get=Ql;Ct.prototype.has=Jl;Ct.prototype.set=ed;var td=200;function rd(t,e){var r=this.__data__;if(r instanceof pt){var n=r.__data__;if(!or||n.length<td-1)return n.push([t,e]),this.size=++r.size,this;r=this.__data__=new Ct(n)}return r.set(t,e),this.size=r.size,this}function Xt(t){var e=this.__data__=new pt(t);this.size=e.size}Xt.prototype.clear=yl;Xt.prototype.delete=vl;Xt.prototype.get=El;Xt.prototype.has=bl;Xt.prototype.set=rd;function nd(t,e){for(var r=-1,n=t==null?0:t.length;++r<n&&e(t[r],r,t)!==!1;);return t}var zi=function(){try{var t=Bt(Object,"defineProperty");return t({},"",{}),t}catch{}}();function Xo(t,e,r){e=="__proto__"&&zi?zi(t,e,{configurable:!0,enumerable:!0,value:r,writable:!0}):t[e]=r}var ad=Object.prototype,id=ad.hasOwnProperty;function Qo(t,e,r){var n=t[e];(!(id.call(t,e)&&Wo(n,r))||r===void 0&&!(e in t))&&Xo(t,e,r)}function sn(t,e,r,n){var a=!r;r||(r={});for(var i=-1,o=e.length;++i<o;){var s=e[i],c=void 0;c===void 0&&(c=t[s]),a?Xo(r,s,c):Qo(r,s,c)}return r}function od(t,e){for(var r=-1,n=Array(t);++r<t;)n[r]=e(r);return n}var sd="[object Arguments]";function Wi(t){return kt(t)&&Dt(t)==sd}var Jo=Object.prototype,ud=Jo.hasOwnProperty,cd=Jo.propertyIsEnumerable,ld=Wi(function(){return arguments}())?Wi:function(t){return kt(t)&&ud.call(t,"callee")&&!cd.call(t,"callee")},Rr=Array.isArray;function dd(){return!1}var es=typeof exports=="object"&&exports&&!exports.nodeType&&exports,Yi=es&&typeof module=="object"&&module&&!module.nodeType&&module,fd=Yi&&Yi.exports===es,Xi=fd?ut.Buffer:void 0,pd=Xi?Xi.isBuffer:void 0,ts=pd||dd,hd=9007199254740991,md=/^(?:0|[1-9]\d*)$/;function _d(t,e){var r=typeof t;return e=e??hd,!!e&&(r=="number"||r!="symbol"&&md.test(t))&&t>-1&&t%1==0&&t<e}var gd=9007199254740991;function rs(t){return typeof t=="number"&&t>-1&&t%1==0&&t<=gd}var yd="[object Arguments]",vd="[object Array]",Ed="[object Boolean]",bd="[object Date]",Cd="[object Error]",Sd="[object Function]",Td="[object Map]",Rd="[object Number]",Od="[object Object]",wd="[object RegExp]",Ad="[object Set]",xd="[object String]",Ld="[object WeakMap]",Id="[object ArrayBuffer]",Pd="[object DataView]",Nd="[object Float32Array]",jd="[object Float64Array]",Md="[object Int8Array]",Dd="[object Int16Array]",kd="[object Int32Array]",$d="[object Uint8Array]",Bd="[object Uint8ClampedArray]",Hd="[object Uint16Array]",Vd="[object Uint32Array]",Me={};Me[Nd]=Me[jd]=Me[Md]=Me[Dd]=Me[kd]=Me[$d]=Me[Bd]=Me[Hd]=Me[Vd]=!0;Me[yd]=Me[vd]=Me[Id]=Me[Ed]=Me[Pd]=Me[bd]=Me[Cd]=Me[Sd]=Me[Td]=Me[Rd]=Me[Od]=Me[wd]=Me[Ad]=Me[xd]=Me[Ld]=!1;function Ud(t){return kt(t)&&rs(t.length)&&!!Me[Dt(t)]}function wa(t){return function(e){return t(e)}}var ns=typeof exports=="object"&&exports&&!exports.nodeType&&exports,nr=ns&&typeof module=="object"&&module&&!module.nodeType&&module,Kd=nr&&nr.exports===ns,Qn=Kd&&Go.process,qt=function(){try{var t=nr&&nr.require&&nr.require("util").types;return t||Qn&&Qn.binding&&Qn.binding("util")}catch{}}(),Qi=qt&&qt.isTypedArray,Fd=Qi?wa(Qi):Ud,Gd=Object.prototype,qd=Gd.hasOwnProperty;function as(t,e){var r=Rr(t),n=!r&&ld(t),a=!r&&!n&&ts(t),i=!r&&!n&&!a&&Fd(t),o=r||n||a||i,s=o?od(t.length,String):[],c=s.length;for(var u in t)(e||qd.call(t,u))&&!(o&&(u=="length"||a&&(u=="offset"||u=="parent")||i&&(u=="buffer"||u=="byteLength"||u=="byteOffset")||_d(u,c)))&&s.push(u);return s}var Zd=Object.prototype;function Aa(t){var e=t&&t.constructor,r=typeof e=="function"&&e.prototype||Zd;return t===r}var zd=Zo(Object.keys,Object),Wd=Object.prototype,Yd=Wd.hasOwnProperty;function Xd(t){if(!Aa(t))return zd(t);var e=[];for(var r in Object(t))Yd.call(t,r)&&r!="constructor"&&e.push(r);return e}function is(t){return t!=null&&rs(t.length)&&!Yo(t)}function xa(t){return is(t)?as(t):Xd(t)}function Qd(t,e){return t&&sn(e,xa(e),t)}function Jd(t){var e=[];if(t!=null)for(var r in Object(t))e.push(r);return e}var ef=Object.prototype,tf=ef.hasOwnProperty;function rf(t){if(!Tr(t))return Jd(t);var e=Aa(t),r=[];for(var n in t)n=="constructor"&&(e||!tf.call(t,n))||r.push(n);return r}function La(t){return is(t)?as(t,!0):rf(t)}function nf(t,e){return t&&sn(e,La(e),t)}var os=typeof exports=="object"&&exports&&!exports.nodeType&&exports,Ji=os&&typeof module=="object"&&module&&!module.nodeType&&module,af=Ji&&Ji.exports===os,eo=af?ut.Buffer:void 0,to=eo?eo.allocUnsafe:void 0;function of(t,e){if(e)return t.slice();var r=t.length,n=to?to(r):new t.constructor(r);return t.copy(n),n}function ss(t,e){var r=-1,n=t.length;for(e||(e=Array(n));++r<n;)e[r]=t[r];return e}function sf(t,e){for(var r=-1,n=t==null?0:t.length,a=0,i=[];++r<n;){var o=t[r];e(o,r,t)&&(i[a++]=o)}return i}function us(){return[]}var uf=Object.prototype,cf=uf.propertyIsEnumerable,ro=Object.getOwnPropertySymbols,Ia=ro?function(t){return t==null?[]:(t=Object(t),sf(ro(t),function(e){return cf.call(t,e)}))}:us;function lf(t,e){return sn(t,Ia(t),e)}function cs(t,e){for(var r=-1,n=e.length,a=t.length;++r<n;)t[a+r]=e[r];return t}var df=Object.getOwnPropertySymbols,ls=df?function(t){for(var e=[];t;)cs(e,Ia(t)),t=Oa(t);return e}:us;function ff(t,e){return sn(t,ls(t),e)}function ds(t,e,r){var n=e(t);return Rr(t)?n:cs(n,r(t))}function pf(t){return ds(t,xa,Ia)}function hf(t){return ds(t,La,ls)}var da=Bt(ut,"DataView"),fa=Bt(ut,"Promise"),pa=Bt(ut,"Set"),ha=Bt(ut,"WeakMap"),no="[object Map]",mf="[object Object]",ao="[object Promise]",io="[object Set]",oo="[object WeakMap]",so="[object DataView]",_f=$t(da),gf=$t(or),yf=$t(fa),vf=$t(pa),Ef=$t(ha),lt=Dt;(da&&lt(new da(new ArrayBuffer(1)))!=so||or&&lt(new or)!=no||fa&&lt(fa.resolve())!=ao||pa&&lt(new pa)!=io||ha&&lt(new ha)!=oo)&&(lt=function(t){var e=Dt(t),r=e==mf?t.constructor:void 0,n=r?$t(r):"";if(n)switch(n){case _f:return so;case gf:return no;case yf:return ao;case vf:return io;case Ef:return oo}return e});var bf=Object.prototype,Cf=bf.hasOwnProperty;function Sf(t){var e=t.length,r=new t.constructor(e);return e&&typeof t[0]=="string"&&Cf.call(t,"index")&&(r.index=t.index,r.input=t.input),r}var uo=ut.Uint8Array;function Pa(t){var e=new t.constructor(t.byteLength);return new uo(e).set(new uo(t)),e}function Tf(t,e){var r=e?Pa(t.buffer):t.buffer;return new t.constructor(r,t.byteOffset,t.byteLength)}var Rf=/\w*$/;function Of(t){var e=new t.constructor(t.source,Rf.exec(t));return e.lastIndex=t.lastIndex,e}var co=gt?gt.prototype:void 0,lo=co?co.valueOf:void 0;function wf(t){return lo?Object(lo.call(t)):{}}function Af(t,e){var r=e?Pa(t.buffer):t.buffer;return new t.constructor(r,t.byteOffset,t.length)}var xf="[object Boolean]",Lf="[object Date]",If="[object Map]",Pf="[object Number]",Nf="[object RegExp]",jf="[object Set]",Mf="[object String]",Df="[object Symbol]",kf="[object ArrayBuffer]",$f="[object DataView]",Bf="[object Float32Array]",Hf="[object Float64Array]",Vf="[object Int8Array]",Uf="[object Int16Array]",Kf="[object Int32Array]",Ff="[object Uint8Array]",Gf="[object Uint8ClampedArray]",qf="[object Uint16Array]",Zf="[object Uint32Array]";function zf(t,e,r){var n=t.constructor;switch(e){case kf:return Pa(t);case xf:case Lf:return new n(+t);case $f:return Tf(t,r);case Bf:case Hf:case Vf:case Uf:case Kf:case Ff:case Gf:case qf:case Zf:return Af(t,r);case If:return new n;case Pf:case Mf:return new n(t);case Nf:return Of(t);case jf:return new n;case Df:return wf(t)}}var fo=Object.create,Wf=function(){function t(){}return function(e){if(!Tr(e))return{};if(fo)return fo(e);t.prototype=e;var r=new t;return t.prototype=void 0,r}}();function Yf(t){return typeof t.constructor=="function"&&!Aa(t)?Wf(Oa(t)):{}}var Xf="[object Map]";function Qf(t){return kt(t)&&lt(t)==Xf}var po=qt&&qt.isMap,Jf=po?wa(po):Qf,ep="[object Set]";function tp(t){return kt(t)&&lt(t)==ep}var ho=qt&&qt.isSet,rp=ho?wa(ho):tp,np=1,ap=2,ip=4,fs="[object Arguments]",op="[object Array]",sp="[object Boolean]",up="[object Date]",cp="[object Error]",ps="[object Function]",lp="[object GeneratorFunction]",dp="[object Map]",fp="[object Number]",hs="[object Object]",pp="[object RegExp]",hp="[object Set]",mp="[object String]",_p="[object Symbol]",gp="[object WeakMap]",yp="[object ArrayBuffer]",vp="[object DataView]",Ep="[object Float32Array]",bp="[object Float64Array]",Cp="[object Int8Array]",Sp="[object Int16Array]",Tp="[object Int32Array]",Rp="[object Uint8Array]",Op="[object Uint8ClampedArray]",wp="[object Uint16Array]",Ap="[object Uint32Array]",je={};je[fs]=je[op]=je[yp]=je[vp]=je[sp]=je[up]=je[Ep]=je[bp]=je[Cp]=je[Sp]=je[Tp]=je[dp]=je[fp]=je[hs]=je[pp]=je[hp]=je[mp]=je[_p]=je[Rp]=je[Op]=je[wp]=je[Ap]=!0;je[cp]=je[ps]=je[gp]=!1;function ar(t,e,r,n,a,i){var o,s=e&np,c=e&ap,u=e&ip;if(o!==void 0)return o;if(!Tr(t))return t;var f=Rr(t);if(f){if(o=Sf(t),!s)return ss(t,o)}else{var l=lt(t),p=l==ps||l==lp;if(ts(t))return of(t,s);if(l==hs||l==fs||p&&!a){if(o=c||p?{}:Yf(t),!s)return c?ff(t,nf(o,t)):lf(t,Qd(o,t))}else{if(!je[l])return a?t:{};o=zf(t,l,s)}}i||(i=new Xt);var v=i.get(t);if(v)return v;i.set(t,o),rp(t)?t.forEach(function(w){o.add(ar(w,e,r,w,t,i))}):Jf(t)&&t.forEach(function(w,y){o.set(y,ar(w,e,r,y,t,i))});var C=u?c?hf:pf:c?La:xa,A=f?void 0:C(t);return nd(A||t,function(w,y){A&&(y=w,w=t[y]),Qo(o,y,ar(w,e,r,y,t,i))}),o}var xp=1,Lp=4;function Ur(t){return ar(t,xp|Lp)}var mo=Array.isArray,_o=Object.keys,Ip=Object.prototype.hasOwnProperty,Pp=typeof Element<"u";function ma(t,e){if(t===e)return!0;if(t&&e&&typeof t=="object"&&typeof e=="object"){var r=mo(t),n=mo(e),a,i,o;if(r&&n){if(i=t.length,i!=e.length)return!1;for(a=i;a--!==0;)if(!ma(t[a],e[a]))return!1;return!0}if(r!=n)return!1;var s=t instanceof Date,c=e instanceof Date;if(s!=c)return!1;if(s&&c)return t.getTime()==e.getTime();var u=t instanceof RegExp,f=e instanceof RegExp;if(u!=f)return!1;if(u&&f)return t.toString()==e.toString();var l=_o(t);if(i=l.length,i!==_o(e).length)return!1;for(a=i;a--!==0;)if(!Ip.call(e,l[a]))return!1;if(Pp&&t instanceof Element&&e instanceof Element)return t===e;for(a=i;a--!==0;)if(o=l[a],!(o==="_owner"&&t.$$typeof)&&!ma(t[o],e[o]))return!1;return!0}return t!==t&&e!==e}var Np=function(e,r){try{return ma(e,r)}catch(n){if(n.message&&n.message.match(/stack|recursion/i)||n.number===-2146828260)return console.warn("Warning: react-fast-compare does not handle circular references.",n.name,n.message),!1;throw n}};const At=Ro(Np);var jp=process.env.NODE_ENV==="production";function Kt(t,e){if(!jp){var r="Warning: "+e;typeof console<"u"&&console.warn(r);try{throw Error(r)}catch{}}}var Mp=4;function go(t){return ar(t,Mp)}function ms(t,e){for(var r=-1,n=t==null?0:t.length,a=Array(n);++r<n;)a[r]=e(t[r],r,t);return a}var Dp="[object Symbol]";function Na(t){return typeof t=="symbol"||kt(t)&&Dt(t)==Dp}var kp="Expected a function";function ja(t,e){if(typeof t!="function"||e!=null&&typeof e!="function")throw new TypeError(kp);var r=function(){var n=arguments,a=e?e.apply(this,n):n[0],i=r.cache;if(i.has(a))return i.get(a);var o=t.apply(this,n);return r.cache=i.set(a,o)||i,o};return r.cache=new(ja.Cache||Ct),r}ja.Cache=Ct;var $p=500;function Bp(t){var e=ja(t,function(n){return r.size===$p&&r.clear(),n}),r=e.cache;return e}var Hp=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Vp=/\\(\\)?/g,Up=Bp(function(t){var e=[];return t.charCodeAt(0)===46&&e.push(""),t.replace(Hp,function(r,n,a,i){e.push(a?i.replace(Vp,"$1"):n||r)}),e}),Kp=1/0;function Fp(t){if(typeof t=="string"||Na(t))return t;var e=t+"";return e=="0"&&1/t==-Kp?"-0":e}var Gp=1/0,yo=gt?gt.prototype:void 0,vo=yo?yo.toString:void 0;function _s(t){if(typeof t=="string")return t;if(Rr(t))return ms(t,_s)+"";if(Na(t))return vo?vo.call(t):"";var e=t+"";return e=="0"&&1/t==-Gp?"-0":e}function qp(t){return t==null?"":_s(t)}function gs(t){return Rr(t)?ms(t,Fp):Na(t)?[t]:ss(Up(qp(t)))}function Ue(){return Ue=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},Ue.apply(this,arguments)}function ys(t,e){if(t==null)return{};var r={},n=Object.keys(t),a,i;for(i=0;i<n.length;i++)a=n[i],!(e.indexOf(a)>=0)&&(r[a]=t[a]);return r}var un=q.createContext(void 0);un.displayName="FormikContext";un.Provider;un.Consumer;function Zp(){var t=q.useContext(un);return t||(process.env.NODE_ENV!=="production"?Kt(!1,"Formik context is undefined, please verify you are calling useFormikContext() as child of a <Formik> component."):Kt()),t}var Qe=function(e){return typeof e=="function"},cn=function(e){return e!==null&&typeof e=="object"},zp=function(e){return String(Math.floor(Number(e)))===e},Jn=function(e){return Object.prototype.toString.call(e)==="[object String]"},ea=function(e){return cn(e)&&Qe(e.then)};function Wp(t){if(t=t||(typeof document<"u"?document:void 0),typeof t>"u")return null;try{return t.activeElement||t.body}catch{return t.body}}function ze(t,e,r,n){n===void 0&&(n=0);for(var a=gs(e);t&&n<a.length;)t=t[a[n++]];return n!==a.length&&!t||t===void 0?r:t}function xt(t,e,r){for(var n=go(t),a=n,i=0,o=gs(e);i<o.length-1;i++){var s=o[i],c=ze(t,o.slice(0,i+1));if(c&&(cn(c)||Array.isArray(c)))a=a[s]=go(c);else{var u=o[i+1];a=a[s]=zp(u)&&Number(u)>=0?[]:{}}}return(i===0?t:a)[o[i]]===r?t:(r===void 0?delete a[o[i]]:a[o[i]]=r,i===0&&r===void 0&&delete n[o[i]],n)}function vs(t,e,r,n){r===void 0&&(r=new WeakMap),n===void 0&&(n={});for(var a=0,i=Object.keys(t);a<i.length;a++){var o=i[a],s=t[o];cn(s)?r.get(s)||(r.set(s,!0),n[o]=Array.isArray(s)?[]:{},vs(s,e,r,n[o])):n[o]=e}return n}function Yp(t,e){switch(e.type){case"SET_VALUES":return Ue({},t,{values:e.payload});case"SET_TOUCHED":return Ue({},t,{touched:e.payload});case"SET_ERRORS":return At(t.errors,e.payload)?t:Ue({},t,{errors:e.payload});case"SET_STATUS":return Ue({},t,{status:e.payload});case"SET_ISSUBMITTING":return Ue({},t,{isSubmitting:e.payload});case"SET_ISVALIDATING":return Ue({},t,{isValidating:e.payload});case"SET_FIELD_VALUE":return Ue({},t,{values:xt(t.values,e.payload.field,e.payload.value)});case"SET_FIELD_TOUCHED":return Ue({},t,{touched:xt(t.touched,e.payload.field,e.payload.value)});case"SET_FIELD_ERROR":return Ue({},t,{errors:xt(t.errors,e.payload.field,e.payload.value)});case"RESET_FORM":return Ue({},t,e.payload);case"SET_FORMIK_STATE":return e.payload(t);case"SUBMIT_ATTEMPT":return Ue({},t,{touched:vs(t.values,!0),isSubmitting:!0,submitCount:t.submitCount+1});case"SUBMIT_FAILURE":return Ue({},t,{isSubmitting:!1});case"SUBMIT_SUCCESS":return Ue({},t,{isSubmitting:!1});default:return t}}var Rt={},Kr={};function Xp(t){var e=t.validateOnChange,r=e===void 0?!0:e,n=t.validateOnBlur,a=n===void 0?!0:n,i=t.validateOnMount,o=i===void 0?!1:i,s=t.isInitialValid,c=t.enableReinitialize,u=c===void 0?!1:c,f=t.onSubmit,l=ys(t,["validateOnChange","validateOnBlur","validateOnMount","isInitialValid","enableReinitialize","onSubmit"]),p=Ue({validateOnChange:r,validateOnBlur:a,validateOnMount:o,onSubmit:f},l),v=q.useRef(p.initialValues),C=q.useRef(p.initialErrors||Rt),A=q.useRef(p.initialTouched||Kr),w=q.useRef(p.initialStatus),y=q.useRef(!1),x=q.useRef({});process.env.NODE_ENV!=="production"&&q.useEffect(function(){typeof s>"u"||(process.env.NODE_ENV!=="production"?Kt(!1,"isInitialValid has been deprecated and will be removed in future versions of Formik. Please use initialErrors or validateOnMount instead."):Kt())},[]),q.useEffect(function(){return y.current=!0,function(){y.current=!1}},[]);var d=q.useState(0),m=d[1],E=q.useRef({values:Ur(p.initialValues),errors:Ur(p.initialErrors)||Rt,touched:Ur(p.initialTouched)||Kr,status:Ur(p.initialStatus),isSubmitting:!1,isValidating:!1,submitCount:0}),R=E.current,S=q.useCallback(function(h){var H=E.current;E.current=Yp(H,h),H!==E.current&&m(function(j){return j+1})},[]),N=q.useCallback(function(h,H){return new Promise(function(j,L){var G=p.validate(h,H);G==null?j(Rt):ea(G)?G.then(function(P){j(P||Rt)},function(P){process.env.NODE_ENV!=="production"&&console.warn("Warning: An unhandled error was caught during validation in <Formik validate />",P),L(P)}):j(G)})},[p.validate]),U=q.useCallback(function(h,H){var j=p.validationSchema,L=Qe(j)?j(H):j,G=H&&L.validateAt?L.validateAt(H,h):Jp(h,L);return new Promise(function(P,B){G.then(function(){P(Rt)},function(de){de.name==="ValidationError"?P(Qp(de)):(process.env.NODE_ENV!=="production"&&console.warn("Warning: An unhandled error was caught during validation in <Formik validationSchema />",de),B(de))})})},[p.validationSchema]),k=q.useCallback(function(h,H){return new Promise(function(j){return j(x.current[h].validate(H))})},[]),J=q.useCallback(function(h){var H=Object.keys(x.current).filter(function(L){return Qe(x.current[L].validate)}),j=H.length>0?H.map(function(L){return k(L,ze(h,L))}):[Promise.resolve("DO_NOT_DELETE_YOU_WILL_BE_FIRED")];return Promise.all(j).then(function(L){return L.reduce(function(G,P,B){return P==="DO_NOT_DELETE_YOU_WILL_BE_FIRED"||P&&(G=xt(G,H[B],P)),G},{})})},[k]),X=q.useCallback(function(h){return Promise.all([J(h),p.validationSchema?U(h):{},p.validate?N(h):{}]).then(function(H){var j=H[0],L=H[1],G=H[2],P=la.all([j,L,G],{arrayMerge:eh});return P})},[p.validate,p.validationSchema,J,N,U]),$=Xe(function(h){return h===void 0&&(h=R.values),S({type:"SET_ISVALIDATING",payload:!0}),X(h).then(function(H){return y.current&&(S({type:"SET_ISVALIDATING",payload:!1}),S({type:"SET_ERRORS",payload:H})),H})});q.useEffect(function(){o&&y.current===!0&&At(v.current,p.initialValues)&&$(v.current)},[o,$]);var F=q.useCallback(function(h){var H=h&&h.values?h.values:v.current,j=h&&h.errors?h.errors:C.current?C.current:p.initialErrors||{},L=h&&h.touched?h.touched:A.current?A.current:p.initialTouched||{},G=h&&h.status?h.status:w.current?w.current:p.initialStatus;v.current=H,C.current=j,A.current=L,w.current=G;var P=function(){S({type:"RESET_FORM",payload:{isSubmitting:!!h&&!!h.isSubmitting,errors:j,touched:L,status:G,values:H,isValidating:!!h&&!!h.isValidating,submitCount:h&&h.submitCount&&typeof h.submitCount=="number"?h.submitCount:0}})};if(p.onReset){var B=p.onReset(R.values,ue);ea(B)?B.then(P):P()}else P()},[p.initialErrors,p.initialStatus,p.initialTouched,p.onReset]);q.useEffect(function(){y.current===!0&&!At(v.current,p.initialValues)&&u&&(v.current=p.initialValues,F(),o&&$(v.current))},[u,p.initialValues,F,o,$]),q.useEffect(function(){u&&y.current===!0&&!At(C.current,p.initialErrors)&&(C.current=p.initialErrors||Rt,S({type:"SET_ERRORS",payload:p.initialErrors||Rt}))},[u,p.initialErrors]),q.useEffect(function(){u&&y.current===!0&&!At(A.current,p.initialTouched)&&(A.current=p.initialTouched||Kr,S({type:"SET_TOUCHED",payload:p.initialTouched||Kr}))},[u,p.initialTouched]),q.useEffect(function(){u&&y.current===!0&&!At(w.current,p.initialStatus)&&(w.current=p.initialStatus,S({type:"SET_STATUS",payload:p.initialStatus}))},[u,p.initialStatus,p.initialTouched]);var ee=Xe(function(h){if(x.current[h]&&Qe(x.current[h].validate)){var H=ze(R.values,h),j=x.current[h].validate(H);return ea(j)?(S({type:"SET_ISVALIDATING",payload:!0}),j.then(function(L){return L}).then(function(L){S({type:"SET_FIELD_ERROR",payload:{field:h,value:L}}),S({type:"SET_ISVALIDATING",payload:!1})})):(S({type:"SET_FIELD_ERROR",payload:{field:h,value:j}}),Promise.resolve(j))}else if(p.validationSchema)return S({type:"SET_ISVALIDATING",payload:!0}),U(R.values,h).then(function(L){return L}).then(function(L){S({type:"SET_FIELD_ERROR",payload:{field:h,value:ze(L,h)}}),S({type:"SET_ISVALIDATING",payload:!1})});return Promise.resolve()}),le=q.useCallback(function(h,H){var j=H.validate;x.current[h]={validate:j}},[]),be=q.useCallback(function(h){delete x.current[h]},[]),_e=Xe(function(h,H){S({type:"SET_TOUCHED",payload:h});var j=H===void 0?a:H;return j?$(R.values):Promise.resolve()}),te=q.useCallback(function(h){S({type:"SET_ERRORS",payload:h})},[]),b=Xe(function(h,H){var j=Qe(h)?h(R.values):h;S({type:"SET_VALUES",payload:j});var L=H===void 0?r:H;return L?$(j):Promise.resolve()}),D=q.useCallback(function(h,H){S({type:"SET_FIELD_ERROR",payload:{field:h,value:H}})},[]),re=Xe(function(h,H,j){S({type:"SET_FIELD_VALUE",payload:{field:h,value:H}});var L=j===void 0?r:j;return L?$(xt(R.values,h,H)):Promise.resolve()}),I=q.useCallback(function(h,H){var j=H,L=h,G;if(!Jn(h)){h.persist&&h.persist();var P=h.target?h.target:h.currentTarget,B=P.type,de=P.name,$e=P.id,Pe=P.value,St=P.checked,ht=P.outerHTML,wr=P.options,dn=P.multiple;j=H||de||$e,!j&&process.env.NODE_ENV!=="production"&&Eo({htmlContent:ht,documentationAnchorLink:"handlechange-e-reactchangeeventany--void",handlerName:"handleChange"}),L=/number|range/.test(B)?(G=parseFloat(Pe),isNaN(G)?"":G):/checkbox/.test(B)?rh(ze(R.values,j),St,Pe):wr&&dn?th(wr):Pe}j&&re(j,L)},[re,R.values]),oe=Xe(function(h){if(Jn(h))return function(H){return I(H,h)};I(h)}),ne=Xe(function(h,H,j){H===void 0&&(H=!0),S({type:"SET_FIELD_TOUCHED",payload:{field:h,value:H}});var L=j===void 0?a:j;return L?$(R.values):Promise.resolve()}),ge=q.useCallback(function(h,H){h.persist&&h.persist();var j=h.target,L=j.name,G=j.id,P=j.outerHTML,B=H||L||G;!B&&process.env.NODE_ENV!=="production"&&Eo({htmlContent:P,documentationAnchorLink:"handleblur-e-any--void",handlerName:"handleBlur"}),ne(B,!0)},[ne]),O=Xe(function(h){if(Jn(h))return function(H){return ge(H,h)};ge(h)}),ie=q.useCallback(function(h){Qe(h)?S({type:"SET_FORMIK_STATE",payload:h}):S({type:"SET_FORMIK_STATE",payload:function(){return h}})},[]),pe=q.useCallback(function(h){S({type:"SET_STATUS",payload:h})},[]),Ee=q.useCallback(function(h){S({type:"SET_ISSUBMITTING",payload:h})},[]),T=Xe(function(){return S({type:"SUBMIT_ATTEMPT"}),$().then(function(h){var H=h instanceof Error,j=!H&&Object.keys(h).length===0;if(j){var L;try{if(L=Z(),L===void 0)return}catch(G){throw G}return Promise.resolve(L).then(function(G){return y.current&&S({type:"SUBMIT_SUCCESS"}),G}).catch(function(G){if(y.current)throw S({type:"SUBMIT_FAILURE"}),G})}else if(y.current&&(S({type:"SUBMIT_FAILURE"}),H))throw h})}),g=Xe(function(h){if(h&&h.preventDefault&&Qe(h.preventDefault)&&h.preventDefault(),h&&h.stopPropagation&&Qe(h.stopPropagation)&&h.stopPropagation(),process.env.NODE_ENV!=="production"&&typeof document<"u"){var H=Wp();H!==null&&H instanceof HTMLButtonElement&&(H.attributes&&H.attributes.getNamedItem("type")||(process.env.NODE_ENV!=="production"?Kt(!1,'You submitted a Formik form using a button with an unspecified `type` attribute. Most browsers default button elements to `type="submit"`. If this is not a submit button, please add `type="button"`.'):Kt()))}T().catch(function(j){console.warn("Warning: An unhandled error was caught from submitForm()",j)})}),ue={resetForm:F,validateForm:$,validateField:ee,setErrors:te,setFieldError:D,setFieldTouched:ne,setFieldValue:re,setStatus:pe,setSubmitting:Ee,setTouched:_e,setValues:b,setFormikState:ie,submitForm:T},Z=Xe(function(){return f(R.values,ue)}),Y=Xe(function(h){h&&h.preventDefault&&Qe(h.preventDefault)&&h.preventDefault(),h&&h.stopPropagation&&Qe(h.stopPropagation)&&h.stopPropagation(),F()}),Oe=q.useCallback(function(h){return{value:ze(R.values,h),error:ze(R.errors,h),touched:!!ze(R.touched,h),initialValue:ze(v.current,h),initialTouched:!!ze(A.current,h),initialError:ze(C.current,h)}},[R.errors,R.touched,R.values]),ke=q.useCallback(function(h){return{setValue:function(j,L){return re(h,j,L)},setTouched:function(j,L){return ne(h,j,L)},setError:function(j){return D(h,j)}}},[re,ne,D]),Le=q.useCallback(function(h){var H=cn(h),j=H?h.name:h,L=ze(R.values,j),G={name:j,value:L,onChange:oe,onBlur:O};if(H){var P=h.type,B=h.value,de=h.as,$e=h.multiple;P==="checkbox"?B===void 0?G.checked=!!L:(G.checked=!!(Array.isArray(L)&&~L.indexOf(B)),G.value=B):P==="radio"?(G.checked=L===B,G.value=B):de==="select"&&$e&&(G.value=G.value||[],G.multiple=!0)}return G},[O,oe,R.values]),Re=q.useMemo(function(){return!At(v.current,R.values)},[v.current,R.values]),Ve=q.useMemo(function(){return typeof s<"u"?Re?R.errors&&Object.keys(R.errors).length===0:s!==!1&&Qe(s)?s(p):s:R.errors&&Object.keys(R.errors).length===0},[s,Re,R.errors,p]),Ie=Ue({},R,{initialValues:v.current,initialErrors:C.current,initialTouched:A.current,initialStatus:w.current,handleBlur:O,handleChange:oe,handleReset:Y,handleSubmit:g,resetForm:F,setErrors:te,setFormikState:ie,setFieldTouched:ne,setFieldValue:re,setFieldError:D,setStatus:pe,setSubmitting:Ee,setTouched:_e,setValues:b,submitForm:T,validateForm:$,validateField:ee,isValid:Ve,dirty:Re,unregisterField:be,registerField:le,getFieldProps:Le,getFieldMeta:Oe,getFieldHelpers:ke,validateOnBlur:a,validateOnChange:r,validateOnMount:o});return Ie}function Eo(t){var e=t.htmlContent,r=t.documentationAnchorLink,n=t.handlerName;console.warn("Warning: Formik called `"+n+"`, but you forgot to pass an `id` or `name` attribute to your input:\n "+e+`
45
+ */var ga;function Cl(){return ga||(ga=1,process.env.NODE_ENV!=="production"&&function(){var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,r=e?Symbol.for("react.portal"):60106,n=e?Symbol.for("react.fragment"):60107,a=e?Symbol.for("react.strict_mode"):60108,i=e?Symbol.for("react.profiler"):60114,s=e?Symbol.for("react.provider"):60109,u=e?Symbol.for("react.context"):60110,f=e?Symbol.for("react.async_mode"):60111,c=e?Symbol.for("react.concurrent_mode"):60111,_=e?Symbol.for("react.forward_ref"):60112,b=e?Symbol.for("react.suspense"):60113,E=e?Symbol.for("react.suspense_list"):60120,k=e?Symbol.for("react.memo"):60115,R=e?Symbol.for("react.lazy"):60116,ee=e?Symbol.for("react.block"):60121,te=e?Symbol.for("react.fundamental"):60117,m=e?Symbol.for("react.responder"):60118,T=e?Symbol.for("react.scope"):60119;function B(C){return typeof C=="string"||typeof C=="function"||C===n||C===c||C===i||C===a||C===b||C===E||typeof C=="object"&&C!==null&&(C.$$typeof===R||C.$$typeof===k||C.$$typeof===s||C.$$typeof===u||C.$$typeof===_||C.$$typeof===te||C.$$typeof===m||C.$$typeof===T||C.$$typeof===ee)}function P(C){if(typeof C=="object"&&C!==null){var le=C.$$typeof;switch(le){case t:var Ce=C.type;switch(Ce){case f:case c:case n:case i:case a:case b:return Ce;default:var Ae=Ce&&Ce.$$typeof;switch(Ae){case u:case _:case R:case k:case s:return Ae;default:return le}}case r:return le}}}var g=f,H=c,O=u,ie=s,Ie=t,Oe=_,De=n,we=R,D=k,Q=r,ge=i,$e=a,Ge=b,Ke=!1;function Xe(C){return Ke||(Ke=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),l(C)||P(C)===f}function l(C){return P(C)===c}function S(C){return P(C)===u}function G(C){return P(C)===s}function p(C){return typeof C=="object"&&C!==null&&C.$$typeof===t}function fe(C){return P(C)===_}function ce(C){return P(C)===n}function Ee(C){return P(C)===R}function pe(C){return P(C)===k}function Te(C){return P(C)===r}function _e(C){return P(C)===i}function me(C){return P(C)===a}function z(C){return P(C)===b}ae.AsyncMode=g,ae.ConcurrentMode=H,ae.ContextConsumer=O,ae.ContextProvider=ie,ae.Element=Ie,ae.ForwardRef=Oe,ae.Fragment=De,ae.Lazy=we,ae.Memo=D,ae.Portal=Q,ae.Profiler=ge,ae.StrictMode=$e,ae.Suspense=Ge,ae.isAsyncMode=Xe,ae.isConcurrentMode=l,ae.isContextConsumer=S,ae.isContextProvider=G,ae.isElement=p,ae.isForwardRef=fe,ae.isFragment=ce,ae.isLazy=Ee,ae.isMemo=pe,ae.isPortal=Te,ae.isProfiler=_e,ae.isStrictMode=me,ae.isSuspense=z,ae.isValidElementType=B,ae.typeOf=P}()),ae}process.env.NODE_ENV==="production"?hn.exports=Ol():hn.exports=Cl();var Al=hn.exports,ni=Al,xl={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},Il={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},ai={};ai[ni.ForwardRef]=xl;ai[ni.Memo]=Il;function Se(){return Se=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Se.apply(this,arguments)}function ii(e,t){if(e==null)return{};var r={},n=Object.keys(e),a,i;for(i=0;i<n.length;i++)a=n[i],!(t.indexOf(a)>=0)&&(r[a]=e[a]);return r}var kr=N.createContext(void 0);kr.displayName="FormikContext";kr.Provider;kr.Consumer;function Ll(){var e=N.useContext(kr);return e||(process.env.NODE_ENV!=="production"?jt(!1,"Formik context is undefined, please verify you are calling useFormikContext() as child of a <Formik> component."):jt()),e}var Fe=function(t){return typeof t=="function"},Br=function(t){return t!==null&&typeof t=="object"},Rl=function(t){return String(Math.floor(Number(t)))===t},Jr=function(t){return Object.prototype.toString.call(t)==="[object String]"},Xr=function(t){return Br(t)&&Fe(t.then)};function wl(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function Pe(e,t,r,n){n===void 0&&(n=0);for(var a=ri(t);e&&n<a.length;)e=e[a[n++]];return n!==a.length&&!e||e===void 0?r:e}function gt(e,t,r){for(var n=_a(e),a=n,i=0,s=ri(t);i<s.length-1;i++){var u=s[i],f=Pe(e,s.slice(0,i+1));if(f&&(Br(f)||Array.isArray(f)))a=a[u]=_a(f);else{var c=s[i+1];a=a[u]=Rl(c)&&Number(c)>=0?[]:{}}}return(i===0?e:a)[s[i]]===r?e:(r===void 0?delete a[s[i]]:a[s[i]]=r,i===0&&r===void 0&&delete n[s[i]],n)}function si(e,t,r,n){r===void 0&&(r=new WeakMap),n===void 0&&(n={});for(var a=0,i=Object.keys(e);a<i.length;a++){var s=i[a],u=e[s];Br(u)?r.get(u)||(r.set(u,!0),n[s]=Array.isArray(u)?[]:{},si(u,t,r,n[s])):n[s]=t}return n}function Nl(e,t){switch(t.type){case"SET_VALUES":return Se({},e,{values:t.payload});case"SET_TOUCHED":return Se({},e,{touched:t.payload});case"SET_ERRORS":return vt(e.errors,t.payload)?e:Se({},e,{errors:t.payload});case"SET_STATUS":return Se({},e,{status:t.payload});case"SET_ISSUBMITTING":return Se({},e,{isSubmitting:t.payload});case"SET_ISVALIDATING":return Se({},e,{isValidating:t.payload});case"SET_FIELD_VALUE":return Se({},e,{values:gt(e.values,t.payload.field,t.payload.value)});case"SET_FIELD_TOUCHED":return Se({},e,{touched:gt(e.touched,t.payload.field,t.payload.value)});case"SET_FIELD_ERROR":return Se({},e,{errors:gt(e.errors,t.payload.field,t.payload.value)});case"RESET_FORM":return Se({},e,t.payload);case"SET_FORMIK_STATE":return t.payload(e);case"SUBMIT_ATTEMPT":return Se({},e,{touched:si(e.values,!0),isSubmitting:!0,submitCount:e.submitCount+1});case"SUBMIT_FAILURE":return Se({},e,{isSubmitting:!1});case"SUBMIT_SUCCESS":return Se({},e,{isSubmitting:!1});default:return e}}var mt={},Tr={};function Dl(e){var t=e.validateOnChange,r=t===void 0?!0:t,n=e.validateOnBlur,a=n===void 0?!0:n,i=e.validateOnMount,s=i===void 0?!1:i,u=e.isInitialValid,f=e.enableReinitialize,c=f===void 0?!1:f,_=e.onSubmit,b=ii(e,["validateOnChange","validateOnBlur","validateOnMount","isInitialValid","enableReinitialize","onSubmit"]),E=Se({validateOnChange:r,validateOnBlur:a,validateOnMount:s,onSubmit:_},b),k=N.useRef(E.initialValues),R=N.useRef(E.initialErrors||mt),ee=N.useRef(E.initialTouched||Tr),te=N.useRef(E.initialStatus),m=N.useRef(!1),T=N.useRef({});process.env.NODE_ENV!=="production"&&N.useEffect(function(){typeof u>"u"||(process.env.NODE_ENV!=="production"?jt(!1,"isInitialValid has been deprecated and will be removed in future versions of Formik. Please use initialErrors or validateOnMount instead."):jt())},[]),N.useEffect(function(){return m.current=!0,function(){m.current=!1}},[]);var B=N.useState(0),P=B[1],g=N.useRef({values:br(E.initialValues),errors:br(E.initialErrors)||mt,touched:br(E.initialTouched)||Tr,status:br(E.initialStatus),isSubmitting:!1,isValidating:!1,submitCount:0}),H=g.current,O=N.useCallback(function(d){var x=g.current;g.current=Nl(x,d),x!==g.current&&P(function(w){return w+1})},[]),ie=N.useCallback(function(d,x){return new Promise(function(w,M){var Z=E.validate(d,x);Z==null?w(mt):Xr(Z)?Z.then(function(W){w(W||mt)},function(W){process.env.NODE_ENV!=="production"&&console.warn("Warning: An unhandled error was caught during validation in <Formik validate />",W),M(W)}):w(Z)})},[E.validate]),Ie=N.useCallback(function(d,x){var w=E.validationSchema,M=Fe(w)?w(x):w,Z=x&&M.validateAt?M.validateAt(x,d):Pl(d,M);return new Promise(function(W,ye){Z.then(function(){W(mt)},function(je){je.name==="ValidationError"?W(jl(je)):(process.env.NODE_ENV!=="production"&&console.warn("Warning: An unhandled error was caught during validation in <Formik validationSchema />",je),ye(je))})})},[E.validationSchema]),Oe=N.useCallback(function(d,x){return new Promise(function(w){return w(T.current[d].validate(x))})},[]),De=N.useCallback(function(d){var x=Object.keys(T.current).filter(function(M){return Fe(T.current[M].validate)}),w=x.length>0?x.map(function(M){return Oe(M,Pe(d,M))}):[Promise.resolve("DO_NOT_DELETE_YOU_WILL_BE_FIRED")];return Promise.all(w).then(function(M){return M.reduce(function(Z,W,ye){return W==="DO_NOT_DELETE_YOU_WILL_BE_FIRED"||W&&(Z=gt(Z,x[ye],W)),Z},{})})},[Oe]),we=N.useCallback(function(d){return Promise.all([De(d),E.validationSchema?Ie(d):{},E.validate?ie(d):{}]).then(function(x){var w=x[0],M=x[1],Z=x[2],W=on.all([w,M,Z],{arrayMerge:kl});return W})},[E.validate,E.validationSchema,De,ie,Ie]),D=Me(function(d){return d===void 0&&(d=H.values),O({type:"SET_ISVALIDATING",payload:!0}),we(d).then(function(x){return m.current&&(O({type:"SET_ISVALIDATING",payload:!1}),O({type:"SET_ERRORS",payload:x})),x})});N.useEffect(function(){s&&m.current===!0&&vt(k.current,E.initialValues)&&D(k.current)},[s,D]);var Q=N.useCallback(function(d){var x=d&&d.values?d.values:k.current,w=d&&d.errors?d.errors:R.current?R.current:E.initialErrors||{},M=d&&d.touched?d.touched:ee.current?ee.current:E.initialTouched||{},Z=d&&d.status?d.status:te.current?te.current:E.initialStatus;k.current=x,R.current=w,ee.current=M,te.current=Z;var W=function(){O({type:"RESET_FORM",payload:{isSubmitting:!!d&&!!d.isSubmitting,errors:w,touched:M,status:Z,values:x,isValidating:!!d&&!!d.isValidating,submitCount:d&&d.submitCount&&typeof d.submitCount=="number"?d.submitCount:0}})};if(E.onReset){var ye=E.onReset(H.values,le);Xr(ye)?ye.then(W):W()}else W()},[E.initialErrors,E.initialStatus,E.initialTouched,E.onReset]);N.useEffect(function(){m.current===!0&&!vt(k.current,E.initialValues)&&c&&(k.current=E.initialValues,Q(),s&&D(k.current))},[c,E.initialValues,Q,s,D]),N.useEffect(function(){c&&m.current===!0&&!vt(R.current,E.initialErrors)&&(R.current=E.initialErrors||mt,O({type:"SET_ERRORS",payload:E.initialErrors||mt}))},[c,E.initialErrors]),N.useEffect(function(){c&&m.current===!0&&!vt(ee.current,E.initialTouched)&&(ee.current=E.initialTouched||Tr,O({type:"SET_TOUCHED",payload:E.initialTouched||Tr}))},[c,E.initialTouched]),N.useEffect(function(){c&&m.current===!0&&!vt(te.current,E.initialStatus)&&(te.current=E.initialStatus,O({type:"SET_STATUS",payload:E.initialStatus}))},[c,E.initialStatus,E.initialTouched]);var ge=Me(function(d){if(T.current[d]&&Fe(T.current[d].validate)){var x=Pe(H.values,d),w=T.current[d].validate(x);return Xr(w)?(O({type:"SET_ISVALIDATING",payload:!0}),w.then(function(M){return M}).then(function(M){O({type:"SET_FIELD_ERROR",payload:{field:d,value:M}}),O({type:"SET_ISVALIDATING",payload:!1})})):(O({type:"SET_FIELD_ERROR",payload:{field:d,value:w}}),Promise.resolve(w))}else if(E.validationSchema)return O({type:"SET_ISVALIDATING",payload:!0}),Ie(H.values,d).then(function(M){return M}).then(function(M){O({type:"SET_FIELD_ERROR",payload:{field:d,value:Pe(M,d)}}),O({type:"SET_ISVALIDATING",payload:!1})});return Promise.resolve()}),$e=N.useCallback(function(d,x){var w=x.validate;T.current[d]={validate:w}},[]),Ge=N.useCallback(function(d){delete T.current[d]},[]),Ke=Me(function(d,x){O({type:"SET_TOUCHED",payload:d});var w=x===void 0?a:x;return w?D(H.values):Promise.resolve()}),Xe=N.useCallback(function(d){O({type:"SET_ERRORS",payload:d})},[]),l=Me(function(d,x){var w=Fe(d)?d(H.values):d;O({type:"SET_VALUES",payload:w});var M=x===void 0?r:x;return M?D(w):Promise.resolve()}),S=N.useCallback(function(d,x){O({type:"SET_FIELD_ERROR",payload:{field:d,value:x}})},[]),G=Me(function(d,x,w){O({type:"SET_FIELD_VALUE",payload:{field:d,value:x}});var M=w===void 0?r:w;return M?D(gt(H.values,d,x)):Promise.resolve()}),p=N.useCallback(function(d,x){var w=x,M=d,Z;if(!Jr(d)){d.persist&&d.persist();var W=d.target?d.target:d.currentTarget,ye=W.type,je=W.name,Rt=W.id,pt=W.value,Fr=W.checked,Hr=W.outerHTML,Er=W.options,Vr=W.multiple;w=x||je||Rt,!w&&process.env.NODE_ENV!=="production"&&Ea({htmlContent:Hr,documentationAnchorLink:"handlechange-e-reactchangeeventany--void",handlerName:"handleChange"}),M=/number|range/.test(ye)?(Z=parseFloat(pt),isNaN(Z)?"":Z):/checkbox/.test(ye)?Ml(Pe(H.values,w),Fr,pt):Er&&Vr?Bl(Er):pt}w&&G(w,M)},[G,H.values]),fe=Me(function(d){if(Jr(d))return function(x){return p(x,d)};p(d)}),ce=Me(function(d,x,w){x===void 0&&(x=!0),O({type:"SET_FIELD_TOUCHED",payload:{field:d,value:x}});var M=w===void 0?a:w;return M?D(H.values):Promise.resolve()}),Ee=N.useCallback(function(d,x){d.persist&&d.persist();var w=d.target,M=w.name,Z=w.id,W=w.outerHTML,ye=x||M||Z;!ye&&process.env.NODE_ENV!=="production"&&Ea({htmlContent:W,documentationAnchorLink:"handleblur-e-any--void",handlerName:"handleBlur"}),ce(ye,!0)},[ce]),pe=Me(function(d){if(Jr(d))return function(x){return Ee(x,d)};Ee(d)}),Te=N.useCallback(function(d){Fe(d)?O({type:"SET_FORMIK_STATE",payload:d}):O({type:"SET_FORMIK_STATE",payload:function(){return d}})},[]),_e=N.useCallback(function(d){O({type:"SET_STATUS",payload:d})},[]),me=N.useCallback(function(d){O({type:"SET_ISSUBMITTING",payload:d})},[]),z=Me(function(){return O({type:"SUBMIT_ATTEMPT"}),D().then(function(d){var x=d instanceof Error,w=!x&&Object.keys(d).length===0;if(w){var M;try{if(M=Ce(),M===void 0)return}catch(Z){throw Z}return Promise.resolve(M).then(function(Z){return m.current&&O({type:"SUBMIT_SUCCESS"}),Z}).catch(function(Z){if(m.current)throw O({type:"SUBMIT_FAILURE"}),Z})}else if(m.current&&(O({type:"SUBMIT_FAILURE"}),x))throw d})}),C=Me(function(d){if(d&&d.preventDefault&&Fe(d.preventDefault)&&d.preventDefault(),d&&d.stopPropagation&&Fe(d.stopPropagation)&&d.stopPropagation(),process.env.NODE_ENV!=="production"&&typeof document<"u"){var x=wl();x!==null&&x instanceof HTMLButtonElement&&(x.attributes&&x.attributes.getNamedItem("type")||(process.env.NODE_ENV!=="production"?jt(!1,'You submitted a Formik form using a button with an unspecified `type` attribute. Most browsers default button elements to `type="submit"`. If this is not a submit button, please add `type="button"`.'):jt()))}z().catch(function(w){console.warn("Warning: An unhandled error was caught from submitForm()",w)})}),le={resetForm:Q,validateForm:D,validateField:ge,setErrors:Xe,setFieldError:S,setFieldTouched:ce,setFieldValue:G,setStatus:_e,setSubmitting:me,setTouched:Ke,setValues:l,setFormikState:Te,submitForm:z},Ce=Me(function(){return _(H.values,le)}),Ae=Me(function(d){d&&d.preventDefault&&Fe(d.preventDefault)&&d.preventDefault(),d&&d.stopPropagation&&Fe(d.stopPropagation)&&d.stopPropagation(),Q()}),ht=N.useCallback(function(d){return{value:Pe(H.values,d),error:Pe(H.errors,d),touched:!!Pe(H.touched,d),initialValue:Pe(k.current,d),initialTouched:!!Pe(ee.current,d),initialError:Pe(R.current,d)}},[H.errors,H.touched,H.values]),vr=N.useCallback(function(d){return{setValue:function(w,M){return G(d,w,M)},setTouched:function(w,M){return ce(d,w,M)},setError:function(w){return S(d,w)}}},[G,ce,S]),gr=N.useCallback(function(d){var x=Br(d),w=x?d.name:d,M=Pe(H.values,w),Z={name:w,value:M,onChange:fe,onBlur:pe};if(x){var W=d.type,ye=d.value,je=d.as,Rt=d.multiple;W==="checkbox"?ye===void 0?Z.checked=!!M:(Z.checked=!!(Array.isArray(M)&&~M.indexOf(ye)),Z.value=ye):W==="radio"?(Z.checked=M===ye,Z.value=ye):je==="select"&&Rt&&(Z.value=Z.value||[],Z.multiple=!0)}return Z},[pe,fe,H.values]),nt=N.useMemo(function(){return!vt(k.current,H.values)},[k.current,H.values]),$r=N.useMemo(function(){return typeof u<"u"?nt?H.errors&&Object.keys(H.errors).length===0:u!==!1&&Fe(u)?u(E):u:H.errors&&Object.keys(H.errors).length===0},[u,nt,H.errors,E]),Kr=Se({},H,{initialValues:k.current,initialErrors:R.current,initialTouched:ee.current,initialStatus:te.current,handleBlur:pe,handleChange:fe,handleReset:Ae,handleSubmit:C,resetForm:Q,setErrors:Xe,setFormikState:Te,setFieldTouched:ce,setFieldValue:G,setFieldError:S,setStatus:_e,setSubmitting:me,setTouched:Ke,setValues:l,submitForm:z,validateForm:D,validateField:ge,isValid:$r,dirty:nt,unregisterField:Ge,registerField:$e,getFieldProps:gr,getFieldMeta:ht,getFieldHelpers:vr,validateOnBlur:a,validateOnChange:r,validateOnMount:s});return Kr}function Ea(e){var t=e.htmlContent,r=e.documentationAnchorLink,n=e.handlerName;console.warn("Warning: Formik called `"+n+"`, but you forgot to pass an `id` or `name` attribute to your input:\n "+t+`
62
46
  Formik cannot determine which value to update. For more info see https://formik.org/docs/api/formik#`+r+`
63
- `)}function Qp(t){var e={};if(t.inner){if(t.inner.length===0)return xt(e,t.path,t.message);for(var a=t.inner,r=Array.isArray(a),n=0,a=r?a:a[Symbol.iterator]();;){var i;if(r){if(n>=a.length)break;i=a[n++]}else{if(n=a.next(),n.done)break;i=n.value}var o=i;ze(e,o.path)||(e=xt(e,o.path,o.message))}}return e}function Jp(t,e,r,n){r===void 0&&(r=!1);var a=_a(t);return e[r?"validateSync":"validate"](a,{abortEarly:!1,context:a})}function _a(t){var e=Array.isArray(t)?[]:{};for(var r in t)if(Object.prototype.hasOwnProperty.call(t,r)){var n=String(r);Array.isArray(t[n])===!0?e[n]=t[n].map(function(a){return Array.isArray(a)===!0||qi(a)?_a(a):a!==""?a:void 0}):qi(t[n])?e[n]=_a(t[n]):e[n]=t[n]!==""?t[n]:void 0}return e}function eh(t,e,r){var n=t.slice();return e.forEach(function(i,o){if(typeof n[o]>"u"){var s=r.clone!==!1,c=s&&r.isMergeableObject(i);n[o]=c?la(Array.isArray(i)?[]:{},i,r):i}else r.isMergeableObject(i)?n[o]=la(t[o],i,r):t.indexOf(i)===-1&&n.push(i)}),n}function th(t){return Array.from(t).filter(function(e){return e.selected}).map(function(e){return e.value})}function rh(t,e,r){if(typeof t=="boolean")return!!e;var n=[],a=!1,i=-1;if(Array.isArray(t))n=t,i=t.indexOf(r),a=i>=0;else if(!r||r=="true"||r=="false")return!!e;return e&&r&&!a?n.concat(r):a?n.slice(0,i).concat(n.slice(i+1)):n}var nh=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u"?q.useLayoutEffect:q.useEffect;function Xe(t){var e=q.useRef(t);return nh(function(){e.current=t}),q.useCallback(function(){for(var r=arguments.length,n=new Array(r),a=0;a<r;a++)n[a]=arguments[a];return e.current.apply(void 0,n)},[])}var ah=q.forwardRef(function(t,e){var r=t.action,n=ys(t,["action"]),a=r??"#",i=Zp(),o=i.handleReset,s=i.handleSubmit;return q.createElement("form",Ue({onSubmit:s,ref:e,onReset:o,action:a},n))});ah.displayName="Form";var Te;(function(t){t.assertEqual=a=>a;function e(a){}t.assertIs=e;function r(a){throw new Error}t.assertNever=r,t.arrayToEnum=a=>{const i={};for(const o of a)i[o]=o;return i},t.getValidEnumValues=a=>{const i=t.objectKeys(a).filter(s=>typeof a[a[s]]!="number"),o={};for(const s of i)o[s]=a[s];return t.objectValues(o)},t.objectValues=a=>t.objectKeys(a).map(function(i){return a[i]}),t.objectKeys=typeof Object.keys=="function"?a=>Object.keys(a):a=>{const i=[];for(const o in a)Object.prototype.hasOwnProperty.call(a,o)&&i.push(o);return i},t.find=(a,i)=>{for(const o of a)if(i(o))return o},t.isInteger=typeof Number.isInteger=="function"?a=>Number.isInteger(a):a=>typeof a=="number"&&isFinite(a)&&Math.floor(a)===a;function n(a,i=" | "){return a.map(o=>typeof o=="string"?`'${o}'`:o).join(i)}t.joinValues=n,t.jsonStringifyReplacer=(a,i)=>typeof i=="bigint"?i.toString():i})(Te||(Te={}));var ga;(function(t){t.mergeShapes=(e,r)=>({...e,...r})})(ga||(ga={}));const Q=Te.arrayToEnum(["string","nan","number","integer","float","boolean","date","bigint","symbol","function","undefined","null","array","object","unknown","promise","void","never","map","set"]),_t=t=>{switch(typeof t){case"undefined":return Q.undefined;case"string":return Q.string;case"number":return isNaN(t)?Q.nan:Q.number;case"boolean":return Q.boolean;case"function":return Q.function;case"bigint":return Q.bigint;case"symbol":return Q.symbol;case"object":return Array.isArray(t)?Q.array:t===null?Q.null:t.then&&typeof t.then=="function"&&t.catch&&typeof t.catch=="function"?Q.promise:typeof Map<"u"&&t instanceof Map?Q.map:typeof Set<"u"&&t instanceof Set?Q.set:typeof Date<"u"&&t instanceof Date?Q.date:Q.object;default:return Q.unknown}},K=Te.arrayToEnum(["invalid_type","invalid_literal","custom","invalid_union","invalid_union_discriminator","invalid_enum_value","unrecognized_keys","invalid_arguments","invalid_return_type","invalid_date","invalid_string","too_small","too_big","invalid_intersection_types","not_multiple_of","not_finite"]),ih=t=>JSON.stringify(t,null,2).replace(/"([^"]+)":/g,"$1:");class We extends Error{constructor(e){super(),this.issues=[],this.addIssue=n=>{this.issues=[...this.issues,n]},this.addIssues=(n=[])=>{this.issues=[...this.issues,...n]};const r=new.target.prototype;Object.setPrototypeOf?Object.setPrototypeOf(this,r):this.__proto__=r,this.name="ZodError",this.issues=e}get errors(){return this.issues}format(e){const r=e||function(i){return i.message},n={_errors:[]},a=i=>{for(const o of i.issues)if(o.code==="invalid_union")o.unionErrors.map(a);else if(o.code==="invalid_return_type")a(o.returnTypeError);else if(o.code==="invalid_arguments")a(o.argumentsError);else if(o.path.length===0)n._errors.push(r(o));else{let s=n,c=0;for(;c<o.path.length;){const u=o.path[c];c===o.path.length-1?(s[u]=s[u]||{_errors:[]},s[u]._errors.push(r(o))):s[u]=s[u]||{_errors:[]},s=s[u],c++}}};return a(this),n}static assert(e){if(!(e instanceof We))throw new Error(`Not a ZodError: ${e}`)}toString(){return this.message}get message(){return JSON.stringify(this.issues,Te.jsonStringifyReplacer,2)}get isEmpty(){return this.issues.length===0}flatten(e=r=>r.message){const r={},n=[];for(const a of this.issues)a.path.length>0?(r[a.path[0]]=r[a.path[0]]||[],r[a.path[0]].push(e(a))):n.push(e(a));return{formErrors:n,fieldErrors:r}}get formErrors(){return this.flatten()}}We.create=t=>new We(t);const Zt=(t,e)=>{let r;switch(t.code){case K.invalid_type:t.received===Q.undefined?r="Required":r=`Expected ${t.expected}, received ${t.received}`;break;case K.invalid_literal:r=`Invalid literal value, expected ${JSON.stringify(t.expected,Te.jsonStringifyReplacer)}`;break;case K.unrecognized_keys:r=`Unrecognized key(s) in object: ${Te.joinValues(t.keys,", ")}`;break;case K.invalid_union:r="Invalid input";break;case K.invalid_union_discriminator:r=`Invalid discriminator value. Expected ${Te.joinValues(t.options)}`;break;case K.invalid_enum_value:r=`Invalid enum value. Expected ${Te.joinValues(t.options)}, received '${t.received}'`;break;case K.invalid_arguments:r="Invalid function arguments";break;case K.invalid_return_type:r="Invalid function return type";break;case K.invalid_date:r="Invalid date";break;case K.invalid_string:typeof t.validation=="object"?"includes"in t.validation?(r=`Invalid input: must include "${t.validation.includes}"`,typeof t.validation.position=="number"&&(r=`${r} at one or more positions greater than or equal to ${t.validation.position}`)):"startsWith"in t.validation?r=`Invalid input: must start with "${t.validation.startsWith}"`:"endsWith"in t.validation?r=`Invalid input: must end with "${t.validation.endsWith}"`:Te.assertNever(t.validation):t.validation!=="regex"?r=`Invalid ${t.validation}`:r="Invalid";break;case K.too_small:t.type==="array"?r=`Array must contain ${t.exact?"exactly":t.inclusive?"at least":"more than"} ${t.minimum} element(s)`:t.type==="string"?r=`String must contain ${t.exact?"exactly":t.inclusive?"at least":"over"} ${t.minimum} character(s)`:t.type==="number"?r=`Number must be ${t.exact?"exactly equal to ":t.inclusive?"greater than or equal to ":"greater than "}${t.minimum}`:t.type==="date"?r=`Date must be ${t.exact?"exactly equal to ":t.inclusive?"greater than or equal to ":"greater than "}${new Date(Number(t.minimum))}`:r="Invalid input";break;case K.too_big:t.type==="array"?r=`Array must contain ${t.exact?"exactly":t.inclusive?"at most":"less than"} ${t.maximum} element(s)`:t.type==="string"?r=`String must contain ${t.exact?"exactly":t.inclusive?"at most":"under"} ${t.maximum} character(s)`:t.type==="number"?r=`Number must be ${t.exact?"exactly":t.inclusive?"less than or equal to":"less than"} ${t.maximum}`:t.type==="bigint"?r=`BigInt must be ${t.exact?"exactly":t.inclusive?"less than or equal to":"less than"} ${t.maximum}`:t.type==="date"?r=`Date must be ${t.exact?"exactly":t.inclusive?"smaller than or equal to":"smaller than"} ${new Date(Number(t.maximum))}`:r="Invalid input";break;case K.custom:r="Invalid input";break;case K.invalid_intersection_types:r="Intersection results could not be merged";break;case K.not_multiple_of:r=`Number must be a multiple of ${t.multipleOf}`;break;case K.not_finite:r="Number must be finite";break;default:r=e.defaultError,Te.assertNever(t)}return{message:r}};let Es=Zt;function oh(t){Es=t}function qr(){return Es}const Zr=t=>{const{data:e,path:r,errorMaps:n,issueData:a}=t,i=[...r,...a.path||[]],o={...a,path:i};if(a.message!==void 0)return{...a,path:i,message:a.message};let s="";const c=n.filter(u=>!!u).slice().reverse();for(const u of c)s=u(o,{data:e,defaultError:s}).message;return{...a,path:i,message:s}},sh=[];function z(t,e){const r=qr(),n=Zr({issueData:e,data:t.data,path:t.path,errorMaps:[t.common.contextualErrorMap,t.schemaErrorMap,r,r===Zt?void 0:Zt].filter(a=>!!a)});t.common.issues.push(n)}class Fe{constructor(){this.value="valid"}dirty(){this.value==="valid"&&(this.value="dirty")}abort(){this.value!=="aborted"&&(this.value="aborted")}static mergeArray(e,r){const n=[];for(const a of r){if(a.status==="aborted")return ce;a.status==="dirty"&&e.dirty(),n.push(a.value)}return{status:e.value,value:n}}static async mergeObjectAsync(e,r){const n=[];for(const a of r){const i=await a.key,o=await a.value;n.push({key:i,value:o})}return Fe.mergeObjectSync(e,n)}static mergeObjectSync(e,r){const n={};for(const a of r){const{key:i,value:o}=a;if(i.status==="aborted"||o.status==="aborted")return ce;i.status==="dirty"&&e.dirty(),o.status==="dirty"&&e.dirty(),i.value!=="__proto__"&&(typeof o.value<"u"||a.alwaysSet)&&(n[i.value]=o.value)}return{status:e.value,value:n}}}const ce=Object.freeze({status:"aborted"}),Ft=t=>({status:"dirty",value:t}),qe=t=>({status:"valid",value:t}),ya=t=>t.status==="aborted",va=t=>t.status==="dirty",ur=t=>t.status==="valid",cr=t=>typeof Promise<"u"&&t instanceof Promise;function zr(t,e,r,n){if(typeof e=="function"?t!==e||!n:!e.has(t))throw new TypeError("Cannot read private member from an object whose class did not declare it");return e.get(t)}function bs(t,e,r,n,a){if(typeof e=="function"?t!==e||!a:!e.has(t))throw new TypeError("Cannot write private member to an object whose class did not declare it");return e.set(t,r),r}var ae;(function(t){t.errToObj=e=>typeof e=="string"?{message:e}:e||{},t.toString=e=>typeof e=="string"?e:e==null?void 0:e.message})(ae||(ae={}));var tr,rr;class ot{constructor(e,r,n,a){this._cachedPath=[],this.parent=e,this.data=r,this._path=n,this._key=a}get path(){return this._cachedPath.length||(this._key instanceof Array?this._cachedPath.push(...this._path,...this._key):this._cachedPath.push(...this._path,this._key)),this._cachedPath}}const bo=(t,e)=>{if(ur(e))return{success:!0,data:e.value};if(!t.common.issues.length)throw new Error("Validation failed but no issues detected.");return{success:!1,get error(){if(this._error)return this._error;const r=new We(t.common.issues);return this._error=r,this._error}}};function me(t){if(!t)return{};const{errorMap:e,invalid_type_error:r,required_error:n,description:a}=t;if(e&&(r||n))throw new Error(`Can't use "invalid_type_error" or "required_error" in conjunction with custom error map.`);return e?{errorMap:e,description:a}:{errorMap:(o,s)=>{var c,u;const{message:f}=t;return o.code==="invalid_enum_value"?{message:f??s.defaultError}:typeof s.data>"u"?{message:(c=f??n)!==null&&c!==void 0?c:s.defaultError}:o.code!=="invalid_type"?{message:s.defaultError}:{message:(u=f??r)!==null&&u!==void 0?u:s.defaultError}},description:a}}class ye{constructor(e){this.spa=this.safeParseAsync,this._def=e,this.parse=this.parse.bind(this),this.safeParse=this.safeParse.bind(this),this.parseAsync=this.parseAsync.bind(this),this.safeParseAsync=this.safeParseAsync.bind(this),this.spa=this.spa.bind(this),this.refine=this.refine.bind(this),this.refinement=this.refinement.bind(this),this.superRefine=this.superRefine.bind(this),this.optional=this.optional.bind(this),this.nullable=this.nullable.bind(this),this.nullish=this.nullish.bind(this),this.array=this.array.bind(this),this.promise=this.promise.bind(this),this.or=this.or.bind(this),this.and=this.and.bind(this),this.transform=this.transform.bind(this),this.brand=this.brand.bind(this),this.default=this.default.bind(this),this.catch=this.catch.bind(this),this.describe=this.describe.bind(this),this.pipe=this.pipe.bind(this),this.readonly=this.readonly.bind(this),this.isNullable=this.isNullable.bind(this),this.isOptional=this.isOptional.bind(this)}get description(){return this._def.description}_getType(e){return _t(e.data)}_getOrReturnCtx(e,r){return r||{common:e.parent.common,data:e.data,parsedType:_t(e.data),schemaErrorMap:this._def.errorMap,path:e.path,parent:e.parent}}_processInputParams(e){return{status:new Fe,ctx:{common:e.parent.common,data:e.data,parsedType:_t(e.data),schemaErrorMap:this._def.errorMap,path:e.path,parent:e.parent}}}_parseSync(e){const r=this._parse(e);if(cr(r))throw new Error("Synchronous parse encountered promise.");return r}_parseAsync(e){const r=this._parse(e);return Promise.resolve(r)}parse(e,r){const n=this.safeParse(e,r);if(n.success)return n.data;throw n.error}safeParse(e,r){var n;const a={common:{issues:[],async:(n=r==null?void 0:r.async)!==null&&n!==void 0?n:!1,contextualErrorMap:r==null?void 0:r.errorMap},path:(r==null?void 0:r.path)||[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:_t(e)},i=this._parseSync({data:e,path:a.path,parent:a});return bo(a,i)}async parseAsync(e,r){const n=await this.safeParseAsync(e,r);if(n.success)return n.data;throw n.error}async safeParseAsync(e,r){const n={common:{issues:[],contextualErrorMap:r==null?void 0:r.errorMap,async:!0},path:(r==null?void 0:r.path)||[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:_t(e)},a=this._parse({data:e,path:n.path,parent:n}),i=await(cr(a)?a:Promise.resolve(a));return bo(n,i)}refine(e,r){const n=a=>typeof r=="string"||typeof r>"u"?{message:r}:typeof r=="function"?r(a):r;return this._refinement((a,i)=>{const o=e(a),s=()=>i.addIssue({code:K.custom,...n(a)});return typeof Promise<"u"&&o instanceof Promise?o.then(c=>c?!0:(s(),!1)):o?!0:(s(),!1)})}refinement(e,r){return this._refinement((n,a)=>e(n)?!0:(a.addIssue(typeof r=="function"?r(n,a):r),!1))}_refinement(e){return new nt({schema:this,typeName:se.ZodEffects,effect:{type:"refinement",refinement:e}})}superRefine(e){return this._refinement(e)}optional(){return it.create(this,this._def)}nullable(){return bt.create(this,this._def)}nullish(){return this.nullable().optional()}array(){return tt.create(this,this._def)}promise(){return Wt.create(this,this._def)}or(e){return pr.create([this,e],this._def)}and(e){return hr.create(this,e,this._def)}transform(e){return new nt({...me(this._def),schema:this,typeName:se.ZodEffects,effect:{type:"transform",transform:e}})}default(e){const r=typeof e=="function"?e:()=>e;return new vr({...me(this._def),innerType:this,defaultValue:r,typeName:se.ZodDefault})}brand(){return new Ma({typeName:se.ZodBranded,type:this,...me(this._def)})}catch(e){const r=typeof e=="function"?e:()=>e;return new Er({...me(this._def),innerType:this,catchValue:r,typeName:se.ZodCatch})}describe(e){const r=this.constructor;return new r({...this._def,description:e})}pipe(e){return Or.create(this,e)}readonly(){return br.create(this)}isOptional(){return this.safeParse(void 0).success}isNullable(){return this.safeParse(null).success}}const uh=/^c[^\s-]{8,}$/i,ch=/^[0-9a-z]+$/,lh=/^[0-9A-HJKMNP-TV-Z]{26}$/,dh=/^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/i,fh=/^[a-z0-9_-]{21}$/i,ph=/^[-+]?P(?!$)(?:(?:[-+]?\d+Y)|(?:[-+]?\d+[.,]\d+Y$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:(?:[-+]?\d+W)|(?:[-+]?\d+[.,]\d+W$))?(?:(?:[-+]?\d+D)|(?:[-+]?\d+[.,]\d+D$))?(?:T(?=[\d+-])(?:(?:[-+]?\d+H)|(?:[-+]?\d+[.,]\d+H$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:[-+]?\d+(?:[.,]\d+)?S)?)??$/,hh=/^(?!\.)(?!.*\.\.)([A-Z0-9_'+\-\.]*)[A-Z0-9_+-]@([A-Z0-9][A-Z0-9\-]*\.)+[A-Z]{2,}$/i,mh="^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$";let ta;const _h=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/,gh=/^(([a-f0-9]{1,4}:){7}|::([a-f0-9]{1,4}:){0,6}|([a-f0-9]{1,4}:){1}:([a-f0-9]{1,4}:){0,5}|([a-f0-9]{1,4}:){2}:([a-f0-9]{1,4}:){0,4}|([a-f0-9]{1,4}:){3}:([a-f0-9]{1,4}:){0,3}|([a-f0-9]{1,4}:){4}:([a-f0-9]{1,4}:){0,2}|([a-f0-9]{1,4}:){5}:([a-f0-9]{1,4}:){0,1})([a-f0-9]{1,4}|(((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2}))\.){3}((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2})))$/,yh=/^([0-9a-zA-Z+/]{4})*(([0-9a-zA-Z+/]{2}==)|([0-9a-zA-Z+/]{3}=))?$/,Cs="((\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-((0[13578]|1[02])-(0[1-9]|[12]\\d|3[01])|(0[469]|11)-(0[1-9]|[12]\\d|30)|(02)-(0[1-9]|1\\d|2[0-8])))",vh=new RegExp(`^${Cs}$`);function Ss(t){let e="([01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d";return t.precision?e=`${e}\\.\\d{${t.precision}}`:t.precision==null&&(e=`${e}(\\.\\d+)?`),e}function Eh(t){return new RegExp(`^${Ss(t)}$`)}function Ts(t){let e=`${Cs}T${Ss(t)}`;const r=[];return r.push(t.local?"Z?":"Z"),t.offset&&r.push("([+-]\\d{2}:?\\d{2})"),e=`${e}(${r.join("|")})`,new RegExp(`^${e}$`)}function bh(t,e){return!!((e==="v4"||!e)&&_h.test(t)||(e==="v6"||!e)&&gh.test(t))}class et extends ye{_parse(e){if(this._def.coerce&&(e.data=String(e.data)),this._getType(e)!==Q.string){const i=this._getOrReturnCtx(e);return z(i,{code:K.invalid_type,expected:Q.string,received:i.parsedType}),ce}const n=new Fe;let a;for(const i of this._def.checks)if(i.kind==="min")e.data.length<i.value&&(a=this._getOrReturnCtx(e,a),z(a,{code:K.too_small,minimum:i.value,type:"string",inclusive:!0,exact:!1,message:i.message}),n.dirty());else if(i.kind==="max")e.data.length>i.value&&(a=this._getOrReturnCtx(e,a),z(a,{code:K.too_big,maximum:i.value,type:"string",inclusive:!0,exact:!1,message:i.message}),n.dirty());else if(i.kind==="length"){const o=e.data.length>i.value,s=e.data.length<i.value;(o||s)&&(a=this._getOrReturnCtx(e,a),o?z(a,{code:K.too_big,maximum:i.value,type:"string",inclusive:!0,exact:!0,message:i.message}):s&&z(a,{code:K.too_small,minimum:i.value,type:"string",inclusive:!0,exact:!0,message:i.message}),n.dirty())}else if(i.kind==="email")hh.test(e.data)||(a=this._getOrReturnCtx(e,a),z(a,{validation:"email",code:K.invalid_string,message:i.message}),n.dirty());else if(i.kind==="emoji")ta||(ta=new RegExp(mh,"u")),ta.test(e.data)||(a=this._getOrReturnCtx(e,a),z(a,{validation:"emoji",code:K.invalid_string,message:i.message}),n.dirty());else if(i.kind==="uuid")dh.test(e.data)||(a=this._getOrReturnCtx(e,a),z(a,{validation:"uuid",code:K.invalid_string,message:i.message}),n.dirty());else if(i.kind==="nanoid")fh.test(e.data)||(a=this._getOrReturnCtx(e,a),z(a,{validation:"nanoid",code:K.invalid_string,message:i.message}),n.dirty());else if(i.kind==="cuid")uh.test(e.data)||(a=this._getOrReturnCtx(e,a),z(a,{validation:"cuid",code:K.invalid_string,message:i.message}),n.dirty());else if(i.kind==="cuid2")ch.test(e.data)||(a=this._getOrReturnCtx(e,a),z(a,{validation:"cuid2",code:K.invalid_string,message:i.message}),n.dirty());else if(i.kind==="ulid")lh.test(e.data)||(a=this._getOrReturnCtx(e,a),z(a,{validation:"ulid",code:K.invalid_string,message:i.message}),n.dirty());else if(i.kind==="url")try{new URL(e.data)}catch{a=this._getOrReturnCtx(e,a),z(a,{validation:"url",code:K.invalid_string,message:i.message}),n.dirty()}else i.kind==="regex"?(i.regex.lastIndex=0,i.regex.test(e.data)||(a=this._getOrReturnCtx(e,a),z(a,{validation:"regex",code:K.invalid_string,message:i.message}),n.dirty())):i.kind==="trim"?e.data=e.data.trim():i.kind==="includes"?e.data.includes(i.value,i.position)||(a=this._getOrReturnCtx(e,a),z(a,{code:K.invalid_string,validation:{includes:i.value,position:i.position},message:i.message}),n.dirty()):i.kind==="toLowerCase"?e.data=e.data.toLowerCase():i.kind==="toUpperCase"?e.data=e.data.toUpperCase():i.kind==="startsWith"?e.data.startsWith(i.value)||(a=this._getOrReturnCtx(e,a),z(a,{code:K.invalid_string,validation:{startsWith:i.value},message:i.message}),n.dirty()):i.kind==="endsWith"?e.data.endsWith(i.value)||(a=this._getOrReturnCtx(e,a),z(a,{code:K.invalid_string,validation:{endsWith:i.value},message:i.message}),n.dirty()):i.kind==="datetime"?Ts(i).test(e.data)||(a=this._getOrReturnCtx(e,a),z(a,{code:K.invalid_string,validation:"datetime",message:i.message}),n.dirty()):i.kind==="date"?vh.test(e.data)||(a=this._getOrReturnCtx(e,a),z(a,{code:K.invalid_string,validation:"date",message:i.message}),n.dirty()):i.kind==="time"?Eh(i).test(e.data)||(a=this._getOrReturnCtx(e,a),z(a,{code:K.invalid_string,validation:"time",message:i.message}),n.dirty()):i.kind==="duration"?ph.test(e.data)||(a=this._getOrReturnCtx(e,a),z(a,{validation:"duration",code:K.invalid_string,message:i.message}),n.dirty()):i.kind==="ip"?bh(e.data,i.version)||(a=this._getOrReturnCtx(e,a),z(a,{validation:"ip",code:K.invalid_string,message:i.message}),n.dirty()):i.kind==="base64"?yh.test(e.data)||(a=this._getOrReturnCtx(e,a),z(a,{validation:"base64",code:K.invalid_string,message:i.message}),n.dirty()):Te.assertNever(i);return{status:n.value,value:e.data}}_regex(e,r,n){return this.refinement(a=>e.test(a),{validation:r,code:K.invalid_string,...ae.errToObj(n)})}_addCheck(e){return new et({...this._def,checks:[...this._def.checks,e]})}email(e){return this._addCheck({kind:"email",...ae.errToObj(e)})}url(e){return this._addCheck({kind:"url",...ae.errToObj(e)})}emoji(e){return this._addCheck({kind:"emoji",...ae.errToObj(e)})}uuid(e){return this._addCheck({kind:"uuid",...ae.errToObj(e)})}nanoid(e){return this._addCheck({kind:"nanoid",...ae.errToObj(e)})}cuid(e){return this._addCheck({kind:"cuid",...ae.errToObj(e)})}cuid2(e){return this._addCheck({kind:"cuid2",...ae.errToObj(e)})}ulid(e){return this._addCheck({kind:"ulid",...ae.errToObj(e)})}base64(e){return this._addCheck({kind:"base64",...ae.errToObj(e)})}ip(e){return this._addCheck({kind:"ip",...ae.errToObj(e)})}datetime(e){var r,n;return typeof e=="string"?this._addCheck({kind:"datetime",precision:null,offset:!1,local:!1,message:e}):this._addCheck({kind:"datetime",precision:typeof(e==null?void 0:e.precision)>"u"?null:e==null?void 0:e.precision,offset:(r=e==null?void 0:e.offset)!==null&&r!==void 0?r:!1,local:(n=e==null?void 0:e.local)!==null&&n!==void 0?n:!1,...ae.errToObj(e==null?void 0:e.message)})}date(e){return this._addCheck({kind:"date",message:e})}time(e){return typeof e=="string"?this._addCheck({kind:"time",precision:null,message:e}):this._addCheck({kind:"time",precision:typeof(e==null?void 0:e.precision)>"u"?null:e==null?void 0:e.precision,...ae.errToObj(e==null?void 0:e.message)})}duration(e){return this._addCheck({kind:"duration",...ae.errToObj(e)})}regex(e,r){return this._addCheck({kind:"regex",regex:e,...ae.errToObj(r)})}includes(e,r){return this._addCheck({kind:"includes",value:e,position:r==null?void 0:r.position,...ae.errToObj(r==null?void 0:r.message)})}startsWith(e,r){return this._addCheck({kind:"startsWith",value:e,...ae.errToObj(r)})}endsWith(e,r){return this._addCheck({kind:"endsWith",value:e,...ae.errToObj(r)})}min(e,r){return this._addCheck({kind:"min",value:e,...ae.errToObj(r)})}max(e,r){return this._addCheck({kind:"max",value:e,...ae.errToObj(r)})}length(e,r){return this._addCheck({kind:"length",value:e,...ae.errToObj(r)})}nonempty(e){return this.min(1,ae.errToObj(e))}trim(){return new et({...this._def,checks:[...this._def.checks,{kind:"trim"}]})}toLowerCase(){return new et({...this._def,checks:[...this._def.checks,{kind:"toLowerCase"}]})}toUpperCase(){return new et({...this._def,checks:[...this._def.checks,{kind:"toUpperCase"}]})}get isDatetime(){return!!this._def.checks.find(e=>e.kind==="datetime")}get isDate(){return!!this._def.checks.find(e=>e.kind==="date")}get isTime(){return!!this._def.checks.find(e=>e.kind==="time")}get isDuration(){return!!this._def.checks.find(e=>e.kind==="duration")}get isEmail(){return!!this._def.checks.find(e=>e.kind==="email")}get isURL(){return!!this._def.checks.find(e=>e.kind==="url")}get isEmoji(){return!!this._def.checks.find(e=>e.kind==="emoji")}get isUUID(){return!!this._def.checks.find(e=>e.kind==="uuid")}get isNANOID(){return!!this._def.checks.find(e=>e.kind==="nanoid")}get isCUID(){return!!this._def.checks.find(e=>e.kind==="cuid")}get isCUID2(){return!!this._def.checks.find(e=>e.kind==="cuid2")}get isULID(){return!!this._def.checks.find(e=>e.kind==="ulid")}get isIP(){return!!this._def.checks.find(e=>e.kind==="ip")}get isBase64(){return!!this._def.checks.find(e=>e.kind==="base64")}get minLength(){let e=null;for(const r of this._def.checks)r.kind==="min"&&(e===null||r.value>e)&&(e=r.value);return e}get maxLength(){let e=null;for(const r of this._def.checks)r.kind==="max"&&(e===null||r.value<e)&&(e=r.value);return e}}et.create=t=>{var e;return new et({checks:[],typeName:se.ZodString,coerce:(e=t==null?void 0:t.coerce)!==null&&e!==void 0?e:!1,...me(t)})};function Ch(t,e){const r=(t.toString().split(".")[1]||"").length,n=(e.toString().split(".")[1]||"").length,a=r>n?r:n,i=parseInt(t.toFixed(a).replace(".","")),o=parseInt(e.toFixed(a).replace(".",""));return i%o/Math.pow(10,a)}class yt extends ye{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte,this.step=this.multipleOf}_parse(e){if(this._def.coerce&&(e.data=Number(e.data)),this._getType(e)!==Q.number){const i=this._getOrReturnCtx(e);return z(i,{code:K.invalid_type,expected:Q.number,received:i.parsedType}),ce}let n;const a=new Fe;for(const i of this._def.checks)i.kind==="int"?Te.isInteger(e.data)||(n=this._getOrReturnCtx(e,n),z(n,{code:K.invalid_type,expected:"integer",received:"float",message:i.message}),a.dirty()):i.kind==="min"?(i.inclusive?e.data<i.value:e.data<=i.value)&&(n=this._getOrReturnCtx(e,n),z(n,{code:K.too_small,minimum:i.value,type:"number",inclusive:i.inclusive,exact:!1,message:i.message}),a.dirty()):i.kind==="max"?(i.inclusive?e.data>i.value:e.data>=i.value)&&(n=this._getOrReturnCtx(e,n),z(n,{code:K.too_big,maximum:i.value,type:"number",inclusive:i.inclusive,exact:!1,message:i.message}),a.dirty()):i.kind==="multipleOf"?Ch(e.data,i.value)!==0&&(n=this._getOrReturnCtx(e,n),z(n,{code:K.not_multiple_of,multipleOf:i.value,message:i.message}),a.dirty()):i.kind==="finite"?Number.isFinite(e.data)||(n=this._getOrReturnCtx(e,n),z(n,{code:K.not_finite,message:i.message}),a.dirty()):Te.assertNever(i);return{status:a.value,value:e.data}}gte(e,r){return this.setLimit("min",e,!0,ae.toString(r))}gt(e,r){return this.setLimit("min",e,!1,ae.toString(r))}lte(e,r){return this.setLimit("max",e,!0,ae.toString(r))}lt(e,r){return this.setLimit("max",e,!1,ae.toString(r))}setLimit(e,r,n,a){return new yt({...this._def,checks:[...this._def.checks,{kind:e,value:r,inclusive:n,message:ae.toString(a)}]})}_addCheck(e){return new yt({...this._def,checks:[...this._def.checks,e]})}int(e){return this._addCheck({kind:"int",message:ae.toString(e)})}positive(e){return this._addCheck({kind:"min",value:0,inclusive:!1,message:ae.toString(e)})}negative(e){return this._addCheck({kind:"max",value:0,inclusive:!1,message:ae.toString(e)})}nonpositive(e){return this._addCheck({kind:"max",value:0,inclusive:!0,message:ae.toString(e)})}nonnegative(e){return this._addCheck({kind:"min",value:0,inclusive:!0,message:ae.toString(e)})}multipleOf(e,r){return this._addCheck({kind:"multipleOf",value:e,message:ae.toString(r)})}finite(e){return this._addCheck({kind:"finite",message:ae.toString(e)})}safe(e){return this._addCheck({kind:"min",inclusive:!0,value:Number.MIN_SAFE_INTEGER,message:ae.toString(e)})._addCheck({kind:"max",inclusive:!0,value:Number.MAX_SAFE_INTEGER,message:ae.toString(e)})}get minValue(){let e=null;for(const r of this._def.checks)r.kind==="min"&&(e===null||r.value>e)&&(e=r.value);return e}get maxValue(){let e=null;for(const r of this._def.checks)r.kind==="max"&&(e===null||r.value<e)&&(e=r.value);return e}get isInt(){return!!this._def.checks.find(e=>e.kind==="int"||e.kind==="multipleOf"&&Te.isInteger(e.value))}get isFinite(){let e=null,r=null;for(const n of this._def.checks){if(n.kind==="finite"||n.kind==="int"||n.kind==="multipleOf")return!0;n.kind==="min"?(r===null||n.value>r)&&(r=n.value):n.kind==="max"&&(e===null||n.value<e)&&(e=n.value)}return Number.isFinite(r)&&Number.isFinite(e)}}yt.create=t=>new yt({checks:[],typeName:se.ZodNumber,coerce:(t==null?void 0:t.coerce)||!1,...me(t)});class vt extends ye{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte}_parse(e){if(this._def.coerce&&(e.data=BigInt(e.data)),this._getType(e)!==Q.bigint){const i=this._getOrReturnCtx(e);return z(i,{code:K.invalid_type,expected:Q.bigint,received:i.parsedType}),ce}let n;const a=new Fe;for(const i of this._def.checks)i.kind==="min"?(i.inclusive?e.data<i.value:e.data<=i.value)&&(n=this._getOrReturnCtx(e,n),z(n,{code:K.too_small,type:"bigint",minimum:i.value,inclusive:i.inclusive,message:i.message}),a.dirty()):i.kind==="max"?(i.inclusive?e.data>i.value:e.data>=i.value)&&(n=this._getOrReturnCtx(e,n),z(n,{code:K.too_big,type:"bigint",maximum:i.value,inclusive:i.inclusive,message:i.message}),a.dirty()):i.kind==="multipleOf"?e.data%i.value!==BigInt(0)&&(n=this._getOrReturnCtx(e,n),z(n,{code:K.not_multiple_of,multipleOf:i.value,message:i.message}),a.dirty()):Te.assertNever(i);return{status:a.value,value:e.data}}gte(e,r){return this.setLimit("min",e,!0,ae.toString(r))}gt(e,r){return this.setLimit("min",e,!1,ae.toString(r))}lte(e,r){return this.setLimit("max",e,!0,ae.toString(r))}lt(e,r){return this.setLimit("max",e,!1,ae.toString(r))}setLimit(e,r,n,a){return new vt({...this._def,checks:[...this._def.checks,{kind:e,value:r,inclusive:n,message:ae.toString(a)}]})}_addCheck(e){return new vt({...this._def,checks:[...this._def.checks,e]})}positive(e){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!1,message:ae.toString(e)})}negative(e){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!1,message:ae.toString(e)})}nonpositive(e){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!0,message:ae.toString(e)})}nonnegative(e){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!0,message:ae.toString(e)})}multipleOf(e,r){return this._addCheck({kind:"multipleOf",value:e,message:ae.toString(r)})}get minValue(){let e=null;for(const r of this._def.checks)r.kind==="min"&&(e===null||r.value>e)&&(e=r.value);return e}get maxValue(){let e=null;for(const r of this._def.checks)r.kind==="max"&&(e===null||r.value<e)&&(e=r.value);return e}}vt.create=t=>{var e;return new vt({checks:[],typeName:se.ZodBigInt,coerce:(e=t==null?void 0:t.coerce)!==null&&e!==void 0?e:!1,...me(t)})};class lr extends ye{_parse(e){if(this._def.coerce&&(e.data=!!e.data),this._getType(e)!==Q.boolean){const n=this._getOrReturnCtx(e);return z(n,{code:K.invalid_type,expected:Q.boolean,received:n.parsedType}),ce}return qe(e.data)}}lr.create=t=>new lr({typeName:se.ZodBoolean,coerce:(t==null?void 0:t.coerce)||!1,...me(t)});class Nt extends ye{_parse(e){if(this._def.coerce&&(e.data=new Date(e.data)),this._getType(e)!==Q.date){const i=this._getOrReturnCtx(e);return z(i,{code:K.invalid_type,expected:Q.date,received:i.parsedType}),ce}if(isNaN(e.data.getTime())){const i=this._getOrReturnCtx(e);return z(i,{code:K.invalid_date}),ce}const n=new Fe;let a;for(const i of this._def.checks)i.kind==="min"?e.data.getTime()<i.value&&(a=this._getOrReturnCtx(e,a),z(a,{code:K.too_small,message:i.message,inclusive:!0,exact:!1,minimum:i.value,type:"date"}),n.dirty()):i.kind==="max"?e.data.getTime()>i.value&&(a=this._getOrReturnCtx(e,a),z(a,{code:K.too_big,message:i.message,inclusive:!0,exact:!1,maximum:i.value,type:"date"}),n.dirty()):Te.assertNever(i);return{status:n.value,value:new Date(e.data.getTime())}}_addCheck(e){return new Nt({...this._def,checks:[...this._def.checks,e]})}min(e,r){return this._addCheck({kind:"min",value:e.getTime(),message:ae.toString(r)})}max(e,r){return this._addCheck({kind:"max",value:e.getTime(),message:ae.toString(r)})}get minDate(){let e=null;for(const r of this._def.checks)r.kind==="min"&&(e===null||r.value>e)&&(e=r.value);return e!=null?new Date(e):null}get maxDate(){let e=null;for(const r of this._def.checks)r.kind==="max"&&(e===null||r.value<e)&&(e=r.value);return e!=null?new Date(e):null}}Nt.create=t=>new Nt({checks:[],coerce:(t==null?void 0:t.coerce)||!1,typeName:se.ZodDate,...me(t)});class Wr extends ye{_parse(e){if(this._getType(e)!==Q.symbol){const n=this._getOrReturnCtx(e);return z(n,{code:K.invalid_type,expected:Q.symbol,received:n.parsedType}),ce}return qe(e.data)}}Wr.create=t=>new Wr({typeName:se.ZodSymbol,...me(t)});class dr extends ye{_parse(e){if(this._getType(e)!==Q.undefined){const n=this._getOrReturnCtx(e);return z(n,{code:K.invalid_type,expected:Q.undefined,received:n.parsedType}),ce}return qe(e.data)}}dr.create=t=>new dr({typeName:se.ZodUndefined,...me(t)});class fr extends ye{_parse(e){if(this._getType(e)!==Q.null){const n=this._getOrReturnCtx(e);return z(n,{code:K.invalid_type,expected:Q.null,received:n.parsedType}),ce}return qe(e.data)}}fr.create=t=>new fr({typeName:se.ZodNull,...me(t)});class zt extends ye{constructor(){super(...arguments),this._any=!0}_parse(e){return qe(e.data)}}zt.create=t=>new zt({typeName:se.ZodAny,...me(t)});class Lt extends ye{constructor(){super(...arguments),this._unknown=!0}_parse(e){return qe(e.data)}}Lt.create=t=>new Lt({typeName:se.ZodUnknown,...me(t)});class ft extends ye{_parse(e){const r=this._getOrReturnCtx(e);return z(r,{code:K.invalid_type,expected:Q.never,received:r.parsedType}),ce}}ft.create=t=>new ft({typeName:se.ZodNever,...me(t)});class Yr extends ye{_parse(e){if(this._getType(e)!==Q.undefined){const n=this._getOrReturnCtx(e);return z(n,{code:K.invalid_type,expected:Q.void,received:n.parsedType}),ce}return qe(e.data)}}Yr.create=t=>new Yr({typeName:se.ZodVoid,...me(t)});class tt extends ye{_parse(e){const{ctx:r,status:n}=this._processInputParams(e),a=this._def;if(r.parsedType!==Q.array)return z(r,{code:K.invalid_type,expected:Q.array,received:r.parsedType}),ce;if(a.exactLength!==null){const o=r.data.length>a.exactLength.value,s=r.data.length<a.exactLength.value;(o||s)&&(z(r,{code:o?K.too_big:K.too_small,minimum:s?a.exactLength.value:void 0,maximum:o?a.exactLength.value:void 0,type:"array",inclusive:!0,exact:!0,message:a.exactLength.message}),n.dirty())}if(a.minLength!==null&&r.data.length<a.minLength.value&&(z(r,{code:K.too_small,minimum:a.minLength.value,type:"array",inclusive:!0,exact:!1,message:a.minLength.message}),n.dirty()),a.maxLength!==null&&r.data.length>a.maxLength.value&&(z(r,{code:K.too_big,maximum:a.maxLength.value,type:"array",inclusive:!0,exact:!1,message:a.maxLength.message}),n.dirty()),r.common.async)return Promise.all([...r.data].map((o,s)=>a.type._parseAsync(new ot(r,o,r.path,s)))).then(o=>Fe.mergeArray(n,o));const i=[...r.data].map((o,s)=>a.type._parseSync(new ot(r,o,r.path,s)));return Fe.mergeArray(n,i)}get element(){return this._def.type}min(e,r){return new tt({...this._def,minLength:{value:e,message:ae.toString(r)}})}max(e,r){return new tt({...this._def,maxLength:{value:e,message:ae.toString(r)}})}length(e,r){return new tt({...this._def,exactLength:{value:e,message:ae.toString(r)}})}nonempty(e){return this.min(1,e)}}tt.create=(t,e)=>new tt({type:t,minLength:null,maxLength:null,exactLength:null,typeName:se.ZodArray,...me(e)});function Ut(t){if(t instanceof De){const e={};for(const r in t.shape){const n=t.shape[r];e[r]=it.create(Ut(n))}return new De({...t._def,shape:()=>e})}else return t instanceof tt?new tt({...t._def,type:Ut(t.element)}):t instanceof it?it.create(Ut(t.unwrap())):t instanceof bt?bt.create(Ut(t.unwrap())):t instanceof st?st.create(t.items.map(e=>Ut(e))):t}class De extends ye{constructor(){super(...arguments),this._cached=null,this.nonstrict=this.passthrough,this.augment=this.extend}_getCached(){if(this._cached!==null)return this._cached;const e=this._def.shape(),r=Te.objectKeys(e);return this._cached={shape:e,keys:r}}_parse(e){if(this._getType(e)!==Q.object){const u=this._getOrReturnCtx(e);return z(u,{code:K.invalid_type,expected:Q.object,received:u.parsedType}),ce}const{status:n,ctx:a}=this._processInputParams(e),{shape:i,keys:o}=this._getCached(),s=[];if(!(this._def.catchall instanceof ft&&this._def.unknownKeys==="strip"))for(const u in a.data)o.includes(u)||s.push(u);const c=[];for(const u of o){const f=i[u],l=a.data[u];c.push({key:{status:"valid",value:u},value:f._parse(new ot(a,l,a.path,u)),alwaysSet:u in a.data})}if(this._def.catchall instanceof ft){const u=this._def.unknownKeys;if(u==="passthrough")for(const f of s)c.push({key:{status:"valid",value:f},value:{status:"valid",value:a.data[f]}});else if(u==="strict")s.length>0&&(z(a,{code:K.unrecognized_keys,keys:s}),n.dirty());else if(u!=="strip")throw new Error("Internal ZodObject error: invalid unknownKeys value.")}else{const u=this._def.catchall;for(const f of s){const l=a.data[f];c.push({key:{status:"valid",value:f},value:u._parse(new ot(a,l,a.path,f)),alwaysSet:f in a.data})}}return a.common.async?Promise.resolve().then(async()=>{const u=[];for(const f of c){const l=await f.key,p=await f.value;u.push({key:l,value:p,alwaysSet:f.alwaysSet})}return u}).then(u=>Fe.mergeObjectSync(n,u)):Fe.mergeObjectSync(n,c)}get shape(){return this._def.shape()}strict(e){return ae.errToObj,new De({...this._def,unknownKeys:"strict",...e!==void 0?{errorMap:(r,n)=>{var a,i,o,s;const c=(o=(i=(a=this._def).errorMap)===null||i===void 0?void 0:i.call(a,r,n).message)!==null&&o!==void 0?o:n.defaultError;return r.code==="unrecognized_keys"?{message:(s=ae.errToObj(e).message)!==null&&s!==void 0?s:c}:{message:c}}}:{}})}strip(){return new De({...this._def,unknownKeys:"strip"})}passthrough(){return new De({...this._def,unknownKeys:"passthrough"})}extend(e){return new De({...this._def,shape:()=>({...this._def.shape(),...e})})}merge(e){return new De({unknownKeys:e._def.unknownKeys,catchall:e._def.catchall,shape:()=>({...this._def.shape(),...e._def.shape()}),typeName:se.ZodObject})}setKey(e,r){return this.augment({[e]:r})}catchall(e){return new De({...this._def,catchall:e})}pick(e){const r={};return Te.objectKeys(e).forEach(n=>{e[n]&&this.shape[n]&&(r[n]=this.shape[n])}),new De({...this._def,shape:()=>r})}omit(e){const r={};return Te.objectKeys(this.shape).forEach(n=>{e[n]||(r[n]=this.shape[n])}),new De({...this._def,shape:()=>r})}deepPartial(){return Ut(this)}partial(e){const r={};return Te.objectKeys(this.shape).forEach(n=>{const a=this.shape[n];e&&!e[n]?r[n]=a:r[n]=a.optional()}),new De({...this._def,shape:()=>r})}required(e){const r={};return Te.objectKeys(this.shape).forEach(n=>{if(e&&!e[n])r[n]=this.shape[n];else{let i=this.shape[n];for(;i instanceof it;)i=i._def.innerType;r[n]=i}}),new De({...this._def,shape:()=>r})}keyof(){return Rs(Te.objectKeys(this.shape))}}De.create=(t,e)=>new De({shape:()=>t,unknownKeys:"strip",catchall:ft.create(),typeName:se.ZodObject,...me(e)});De.strictCreate=(t,e)=>new De({shape:()=>t,unknownKeys:"strict",catchall:ft.create(),typeName:se.ZodObject,...me(e)});De.lazycreate=(t,e)=>new De({shape:t,unknownKeys:"strip",catchall:ft.create(),typeName:se.ZodObject,...me(e)});class pr extends ye{_parse(e){const{ctx:r}=this._processInputParams(e),n=this._def.options;function a(i){for(const s of i)if(s.result.status==="valid")return s.result;for(const s of i)if(s.result.status==="dirty")return r.common.issues.push(...s.ctx.common.issues),s.result;const o=i.map(s=>new We(s.ctx.common.issues));return z(r,{code:K.invalid_union,unionErrors:o}),ce}if(r.common.async)return Promise.all(n.map(async i=>{const o={...r,common:{...r.common,issues:[]},parent:null};return{result:await i._parseAsync({data:r.data,path:r.path,parent:o}),ctx:o}})).then(a);{let i;const o=[];for(const c of n){const u={...r,common:{...r.common,issues:[]},parent:null},f=c._parseSync({data:r.data,path:r.path,parent:u});if(f.status==="valid")return f;f.status==="dirty"&&!i&&(i={result:f,ctx:u}),u.common.issues.length&&o.push(u.common.issues)}if(i)return r.common.issues.push(...i.ctx.common.issues),i.result;const s=o.map(c=>new We(c));return z(r,{code:K.invalid_union,unionErrors:s}),ce}}get options(){return this._def.options}}pr.create=(t,e)=>new pr({options:t,typeName:se.ZodUnion,...me(e)});const ct=t=>t instanceof _r?ct(t.schema):t instanceof nt?ct(t.innerType()):t instanceof gr?[t.value]:t instanceof Et?t.options:t instanceof yr?Te.objectValues(t.enum):t instanceof vr?ct(t._def.innerType):t instanceof dr?[void 0]:t instanceof fr?[null]:t instanceof it?[void 0,...ct(t.unwrap())]:t instanceof bt?[null,...ct(t.unwrap())]:t instanceof Ma||t instanceof br?ct(t.unwrap()):t instanceof Er?ct(t._def.innerType):[];class ln extends ye{_parse(e){const{ctx:r}=this._processInputParams(e);if(r.parsedType!==Q.object)return z(r,{code:K.invalid_type,expected:Q.object,received:r.parsedType}),ce;const n=this.discriminator,a=r.data[n],i=this.optionsMap.get(a);return i?r.common.async?i._parseAsync({data:r.data,path:r.path,parent:r}):i._parseSync({data:r.data,path:r.path,parent:r}):(z(r,{code:K.invalid_union_discriminator,options:Array.from(this.optionsMap.keys()),path:[n]}),ce)}get discriminator(){return this._def.discriminator}get options(){return this._def.options}get optionsMap(){return this._def.optionsMap}static create(e,r,n){const a=new Map;for(const i of r){const o=ct(i.shape[e]);if(!o.length)throw new Error(`A discriminator value for key \`${e}\` could not be extracted from all schema options`);for(const s of o){if(a.has(s))throw new Error(`Discriminator property ${String(e)} has duplicate value ${String(s)}`);a.set(s,i)}}return new ln({typeName:se.ZodDiscriminatedUnion,discriminator:e,options:r,optionsMap:a,...me(n)})}}function Ea(t,e){const r=_t(t),n=_t(e);if(t===e)return{valid:!0,data:t};if(r===Q.object&&n===Q.object){const a=Te.objectKeys(e),i=Te.objectKeys(t).filter(s=>a.indexOf(s)!==-1),o={...t,...e};for(const s of i){const c=Ea(t[s],e[s]);if(!c.valid)return{valid:!1};o[s]=c.data}return{valid:!0,data:o}}else if(r===Q.array&&n===Q.array){if(t.length!==e.length)return{valid:!1};const a=[];for(let i=0;i<t.length;i++){const o=t[i],s=e[i],c=Ea(o,s);if(!c.valid)return{valid:!1};a.push(c.data)}return{valid:!0,data:a}}else return r===Q.date&&n===Q.date&&+t==+e?{valid:!0,data:t}:{valid:!1}}class hr extends ye{_parse(e){const{status:r,ctx:n}=this._processInputParams(e),a=(i,o)=>{if(ya(i)||ya(o))return ce;const s=Ea(i.value,o.value);return s.valid?((va(i)||va(o))&&r.dirty(),{status:r.value,value:s.data}):(z(n,{code:K.invalid_intersection_types}),ce)};return n.common.async?Promise.all([this._def.left._parseAsync({data:n.data,path:n.path,parent:n}),this._def.right._parseAsync({data:n.data,path:n.path,parent:n})]).then(([i,o])=>a(i,o)):a(this._def.left._parseSync({data:n.data,path:n.path,parent:n}),this._def.right._parseSync({data:n.data,path:n.path,parent:n}))}}hr.create=(t,e,r)=>new hr({left:t,right:e,typeName:se.ZodIntersection,...me(r)});class st extends ye{_parse(e){const{status:r,ctx:n}=this._processInputParams(e);if(n.parsedType!==Q.array)return z(n,{code:K.invalid_type,expected:Q.array,received:n.parsedType}),ce;if(n.data.length<this._def.items.length)return z(n,{code:K.too_small,minimum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),ce;!this._def.rest&&n.data.length>this._def.items.length&&(z(n,{code:K.too_big,maximum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),r.dirty());const i=[...n.data].map((o,s)=>{const c=this._def.items[s]||this._def.rest;return c?c._parse(new ot(n,o,n.path,s)):null}).filter(o=>!!o);return n.common.async?Promise.all(i).then(o=>Fe.mergeArray(r,o)):Fe.mergeArray(r,i)}get items(){return this._def.items}rest(e){return new st({...this._def,rest:e})}}st.create=(t,e)=>{if(!Array.isArray(t))throw new Error("You must pass an array of schemas to z.tuple([ ... ])");return new st({items:t,typeName:se.ZodTuple,rest:null,...me(e)})};class mr extends ye{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(e){const{status:r,ctx:n}=this._processInputParams(e);if(n.parsedType!==Q.object)return z(n,{code:K.invalid_type,expected:Q.object,received:n.parsedType}),ce;const a=[],i=this._def.keyType,o=this._def.valueType;for(const s in n.data)a.push({key:i._parse(new ot(n,s,n.path,s)),value:o._parse(new ot(n,n.data[s],n.path,s)),alwaysSet:s in n.data});return n.common.async?Fe.mergeObjectAsync(r,a):Fe.mergeObjectSync(r,a)}get element(){return this._def.valueType}static create(e,r,n){return r instanceof ye?new mr({keyType:e,valueType:r,typeName:se.ZodRecord,...me(n)}):new mr({keyType:et.create(),valueType:e,typeName:se.ZodRecord,...me(r)})}}class Xr extends ye{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(e){const{status:r,ctx:n}=this._processInputParams(e);if(n.parsedType!==Q.map)return z(n,{code:K.invalid_type,expected:Q.map,received:n.parsedType}),ce;const a=this._def.keyType,i=this._def.valueType,o=[...n.data.entries()].map(([s,c],u)=>({key:a._parse(new ot(n,s,n.path,[u,"key"])),value:i._parse(new ot(n,c,n.path,[u,"value"]))}));if(n.common.async){const s=new Map;return Promise.resolve().then(async()=>{for(const c of o){const u=await c.key,f=await c.value;if(u.status==="aborted"||f.status==="aborted")return ce;(u.status==="dirty"||f.status==="dirty")&&r.dirty(),s.set(u.value,f.value)}return{status:r.value,value:s}})}else{const s=new Map;for(const c of o){const u=c.key,f=c.value;if(u.status==="aborted"||f.status==="aborted")return ce;(u.status==="dirty"||f.status==="dirty")&&r.dirty(),s.set(u.value,f.value)}return{status:r.value,value:s}}}}Xr.create=(t,e,r)=>new Xr({valueType:e,keyType:t,typeName:se.ZodMap,...me(r)});class jt extends ye{_parse(e){const{status:r,ctx:n}=this._processInputParams(e);if(n.parsedType!==Q.set)return z(n,{code:K.invalid_type,expected:Q.set,received:n.parsedType}),ce;const a=this._def;a.minSize!==null&&n.data.size<a.minSize.value&&(z(n,{code:K.too_small,minimum:a.minSize.value,type:"set",inclusive:!0,exact:!1,message:a.minSize.message}),r.dirty()),a.maxSize!==null&&n.data.size>a.maxSize.value&&(z(n,{code:K.too_big,maximum:a.maxSize.value,type:"set",inclusive:!0,exact:!1,message:a.maxSize.message}),r.dirty());const i=this._def.valueType;function o(c){const u=new Set;for(const f of c){if(f.status==="aborted")return ce;f.status==="dirty"&&r.dirty(),u.add(f.value)}return{status:r.value,value:u}}const s=[...n.data.values()].map((c,u)=>i._parse(new ot(n,c,n.path,u)));return n.common.async?Promise.all(s).then(c=>o(c)):o(s)}min(e,r){return new jt({...this._def,minSize:{value:e,message:ae.toString(r)}})}max(e,r){return new jt({...this._def,maxSize:{value:e,message:ae.toString(r)}})}size(e,r){return this.min(e,r).max(e,r)}nonempty(e){return this.min(1,e)}}jt.create=(t,e)=>new jt({valueType:t,minSize:null,maxSize:null,typeName:se.ZodSet,...me(e)});class Gt extends ye{constructor(){super(...arguments),this.validate=this.implement}_parse(e){const{ctx:r}=this._processInputParams(e);if(r.parsedType!==Q.function)return z(r,{code:K.invalid_type,expected:Q.function,received:r.parsedType}),ce;function n(s,c){return Zr({data:s,path:r.path,errorMaps:[r.common.contextualErrorMap,r.schemaErrorMap,qr(),Zt].filter(u=>!!u),issueData:{code:K.invalid_arguments,argumentsError:c}})}function a(s,c){return Zr({data:s,path:r.path,errorMaps:[r.common.contextualErrorMap,r.schemaErrorMap,qr(),Zt].filter(u=>!!u),issueData:{code:K.invalid_return_type,returnTypeError:c}})}const i={errorMap:r.common.contextualErrorMap},o=r.data;if(this._def.returns instanceof Wt){const s=this;return qe(async function(...c){const u=new We([]),f=await s._def.args.parseAsync(c,i).catch(v=>{throw u.addIssue(n(c,v)),u}),l=await Reflect.apply(o,this,f);return await s._def.returns._def.type.parseAsync(l,i).catch(v=>{throw u.addIssue(a(l,v)),u})})}else{const s=this;return qe(function(...c){const u=s._def.args.safeParse(c,i);if(!u.success)throw new We([n(c,u.error)]);const f=Reflect.apply(o,this,u.data),l=s._def.returns.safeParse(f,i);if(!l.success)throw new We([a(f,l.error)]);return l.data})}}parameters(){return this._def.args}returnType(){return this._def.returns}args(...e){return new Gt({...this._def,args:st.create(e).rest(Lt.create())})}returns(e){return new Gt({...this._def,returns:e})}implement(e){return this.parse(e)}strictImplement(e){return this.parse(e)}static create(e,r,n){return new Gt({args:e||st.create([]).rest(Lt.create()),returns:r||Lt.create(),typeName:se.ZodFunction,...me(n)})}}class _r extends ye{get schema(){return this._def.getter()}_parse(e){const{ctx:r}=this._processInputParams(e);return this._def.getter()._parse({data:r.data,path:r.path,parent:r})}}_r.create=(t,e)=>new _r({getter:t,typeName:se.ZodLazy,...me(e)});class gr extends ye{_parse(e){if(e.data!==this._def.value){const r=this._getOrReturnCtx(e);return z(r,{received:r.data,code:K.invalid_literal,expected:this._def.value}),ce}return{status:"valid",value:e.data}}get value(){return this._def.value}}gr.create=(t,e)=>new gr({value:t,typeName:se.ZodLiteral,...me(e)});function Rs(t,e){return new Et({values:t,typeName:se.ZodEnum,...me(e)})}class Et extends ye{constructor(){super(...arguments),tr.set(this,void 0)}_parse(e){if(typeof e.data!="string"){const r=this._getOrReturnCtx(e),n=this._def.values;return z(r,{expected:Te.joinValues(n),received:r.parsedType,code:K.invalid_type}),ce}if(zr(this,tr)||bs(this,tr,new Set(this._def.values)),!zr(this,tr).has(e.data)){const r=this._getOrReturnCtx(e),n=this._def.values;return z(r,{received:r.data,code:K.invalid_enum_value,options:n}),ce}return qe(e.data)}get options(){return this._def.values}get enum(){const e={};for(const r of this._def.values)e[r]=r;return e}get Values(){const e={};for(const r of this._def.values)e[r]=r;return e}get Enum(){const e={};for(const r of this._def.values)e[r]=r;return e}extract(e,r=this._def){return Et.create(e,{...this._def,...r})}exclude(e,r=this._def){return Et.create(this.options.filter(n=>!e.includes(n)),{...this._def,...r})}}tr=new WeakMap;Et.create=Rs;class yr extends ye{constructor(){super(...arguments),rr.set(this,void 0)}_parse(e){const r=Te.getValidEnumValues(this._def.values),n=this._getOrReturnCtx(e);if(n.parsedType!==Q.string&&n.parsedType!==Q.number){const a=Te.objectValues(r);return z(n,{expected:Te.joinValues(a),received:n.parsedType,code:K.invalid_type}),ce}if(zr(this,rr)||bs(this,rr,new Set(Te.getValidEnumValues(this._def.values))),!zr(this,rr).has(e.data)){const a=Te.objectValues(r);return z(n,{received:n.data,code:K.invalid_enum_value,options:a}),ce}return qe(e.data)}get enum(){return this._def.values}}rr=new WeakMap;yr.create=(t,e)=>new yr({values:t,typeName:se.ZodNativeEnum,...me(e)});class Wt extends ye{unwrap(){return this._def.type}_parse(e){const{ctx:r}=this._processInputParams(e);if(r.parsedType!==Q.promise&&r.common.async===!1)return z(r,{code:K.invalid_type,expected:Q.promise,received:r.parsedType}),ce;const n=r.parsedType===Q.promise?r.data:Promise.resolve(r.data);return qe(n.then(a=>this._def.type.parseAsync(a,{path:r.path,errorMap:r.common.contextualErrorMap})))}}Wt.create=(t,e)=>new Wt({type:t,typeName:se.ZodPromise,...me(e)});class nt extends ye{innerType(){return this._def.schema}sourceType(){return this._def.schema._def.typeName===se.ZodEffects?this._def.schema.sourceType():this._def.schema}_parse(e){const{status:r,ctx:n}=this._processInputParams(e),a=this._def.effect||null,i={addIssue:o=>{z(n,o),o.fatal?r.abort():r.dirty()},get path(){return n.path}};if(i.addIssue=i.addIssue.bind(i),a.type==="preprocess"){const o=a.transform(n.data,i);if(n.common.async)return Promise.resolve(o).then(async s=>{if(r.value==="aborted")return ce;const c=await this._def.schema._parseAsync({data:s,path:n.path,parent:n});return c.status==="aborted"?ce:c.status==="dirty"||r.value==="dirty"?Ft(c.value):c});{if(r.value==="aborted")return ce;const s=this._def.schema._parseSync({data:o,path:n.path,parent:n});return s.status==="aborted"?ce:s.status==="dirty"||r.value==="dirty"?Ft(s.value):s}}if(a.type==="refinement"){const o=s=>{const c=a.refinement(s,i);if(n.common.async)return Promise.resolve(c);if(c instanceof Promise)throw new Error("Async refinement encountered during synchronous parse operation. Use .parseAsync instead.");return s};if(n.common.async===!1){const s=this._def.schema._parseSync({data:n.data,path:n.path,parent:n});return s.status==="aborted"?ce:(s.status==="dirty"&&r.dirty(),o(s.value),{status:r.value,value:s.value})}else return this._def.schema._parseAsync({data:n.data,path:n.path,parent:n}).then(s=>s.status==="aborted"?ce:(s.status==="dirty"&&r.dirty(),o(s.value).then(()=>({status:r.value,value:s.value}))))}if(a.type==="transform")if(n.common.async===!1){const o=this._def.schema._parseSync({data:n.data,path:n.path,parent:n});if(!ur(o))return o;const s=a.transform(o.value,i);if(s instanceof Promise)throw new Error("Asynchronous transform encountered during synchronous parse operation. Use .parseAsync instead.");return{status:r.value,value:s}}else return this._def.schema._parseAsync({data:n.data,path:n.path,parent:n}).then(o=>ur(o)?Promise.resolve(a.transform(o.value,i)).then(s=>({status:r.value,value:s})):o);Te.assertNever(a)}}nt.create=(t,e,r)=>new nt({schema:t,typeName:se.ZodEffects,effect:e,...me(r)});nt.createWithPreprocess=(t,e,r)=>new nt({schema:e,effect:{type:"preprocess",transform:t},typeName:se.ZodEffects,...me(r)});class it extends ye{_parse(e){return this._getType(e)===Q.undefined?qe(void 0):this._def.innerType._parse(e)}unwrap(){return this._def.innerType}}it.create=(t,e)=>new it({innerType:t,typeName:se.ZodOptional,...me(e)});class bt extends ye{_parse(e){return this._getType(e)===Q.null?qe(null):this._def.innerType._parse(e)}unwrap(){return this._def.innerType}}bt.create=(t,e)=>new bt({innerType:t,typeName:se.ZodNullable,...me(e)});class vr extends ye{_parse(e){const{ctx:r}=this._processInputParams(e);let n=r.data;return r.parsedType===Q.undefined&&(n=this._def.defaultValue()),this._def.innerType._parse({data:n,path:r.path,parent:r})}removeDefault(){return this._def.innerType}}vr.create=(t,e)=>new vr({innerType:t,typeName:se.ZodDefault,defaultValue:typeof e.default=="function"?e.default:()=>e.default,...me(e)});class Er extends ye{_parse(e){const{ctx:r}=this._processInputParams(e),n={...r,common:{...r.common,issues:[]}},a=this._def.innerType._parse({data:n.data,path:n.path,parent:{...n}});return cr(a)?a.then(i=>({status:"valid",value:i.status==="valid"?i.value:this._def.catchValue({get error(){return new We(n.common.issues)},input:n.data})})):{status:"valid",value:a.status==="valid"?a.value:this._def.catchValue({get error(){return new We(n.common.issues)},input:n.data})}}removeCatch(){return this._def.innerType}}Er.create=(t,e)=>new Er({innerType:t,typeName:se.ZodCatch,catchValue:typeof e.catch=="function"?e.catch:()=>e.catch,...me(e)});class Qr extends ye{_parse(e){if(this._getType(e)!==Q.nan){const n=this._getOrReturnCtx(e);return z(n,{code:K.invalid_type,expected:Q.nan,received:n.parsedType}),ce}return{status:"valid",value:e.data}}}Qr.create=t=>new Qr({typeName:se.ZodNaN,...me(t)});const Sh=Symbol("zod_brand");class Ma extends ye{_parse(e){const{ctx:r}=this._processInputParams(e),n=r.data;return this._def.type._parse({data:n,path:r.path,parent:r})}unwrap(){return this._def.type}}class Or extends ye{_parse(e){const{status:r,ctx:n}=this._processInputParams(e);if(n.common.async)return(async()=>{const i=await this._def.in._parseAsync({data:n.data,path:n.path,parent:n});return i.status==="aborted"?ce:i.status==="dirty"?(r.dirty(),Ft(i.value)):this._def.out._parseAsync({data:i.value,path:n.path,parent:n})})();{const a=this._def.in._parseSync({data:n.data,path:n.path,parent:n});return a.status==="aborted"?ce:a.status==="dirty"?(r.dirty(),{status:"dirty",value:a.value}):this._def.out._parseSync({data:a.value,path:n.path,parent:n})}}static create(e,r){return new Or({in:e,out:r,typeName:se.ZodPipeline})}}class br extends ye{_parse(e){const r=this._def.innerType._parse(e),n=a=>(ur(a)&&(a.value=Object.freeze(a.value)),a);return cr(r)?r.then(a=>n(a)):n(r)}unwrap(){return this._def.innerType}}br.create=(t,e)=>new br({innerType:t,typeName:se.ZodReadonly,...me(e)});function Os(t,e={},r){return t?zt.create().superRefine((n,a)=>{var i,o;if(!t(n)){const s=typeof e=="function"?e(n):typeof e=="string"?{message:e}:e,c=(o=(i=s.fatal)!==null&&i!==void 0?i:r)!==null&&o!==void 0?o:!0,u=typeof s=="string"?{message:s}:s;a.addIssue({code:"custom",...u,fatal:c})}}):zt.create()}const Th={object:De.lazycreate};var se;(function(t){t.ZodString="ZodString",t.ZodNumber="ZodNumber",t.ZodNaN="ZodNaN",t.ZodBigInt="ZodBigInt",t.ZodBoolean="ZodBoolean",t.ZodDate="ZodDate",t.ZodSymbol="ZodSymbol",t.ZodUndefined="ZodUndefined",t.ZodNull="ZodNull",t.ZodAny="ZodAny",t.ZodUnknown="ZodUnknown",t.ZodNever="ZodNever",t.ZodVoid="ZodVoid",t.ZodArray="ZodArray",t.ZodObject="ZodObject",t.ZodUnion="ZodUnion",t.ZodDiscriminatedUnion="ZodDiscriminatedUnion",t.ZodIntersection="ZodIntersection",t.ZodTuple="ZodTuple",t.ZodRecord="ZodRecord",t.ZodMap="ZodMap",t.ZodSet="ZodSet",t.ZodFunction="ZodFunction",t.ZodLazy="ZodLazy",t.ZodLiteral="ZodLiteral",t.ZodEnum="ZodEnum",t.ZodEffects="ZodEffects",t.ZodNativeEnum="ZodNativeEnum",t.ZodOptional="ZodOptional",t.ZodNullable="ZodNullable",t.ZodDefault="ZodDefault",t.ZodCatch="ZodCatch",t.ZodPromise="ZodPromise",t.ZodBranded="ZodBranded",t.ZodPipeline="ZodPipeline",t.ZodReadonly="ZodReadonly"})(se||(se={}));const Rh=(t,e={message:`Input not instance of ${t.name}`})=>Os(r=>r instanceof t,e),ws=et.create,As=yt.create,Oh=Qr.create,wh=vt.create,xs=lr.create,Ah=Nt.create,xh=Wr.create,Lh=dr.create,Ih=fr.create,Ph=zt.create,Nh=Lt.create,jh=ft.create,Mh=Yr.create,Dh=tt.create,kh=De.create,$h=De.strictCreate,Bh=pr.create,Hh=ln.create,Vh=hr.create,Uh=st.create,Kh=mr.create,Fh=Xr.create,Gh=jt.create,qh=Gt.create,Zh=_r.create,zh=gr.create,Wh=Et.create,Yh=yr.create,Xh=Wt.create,Co=nt.create,Qh=it.create,Jh=bt.create,e1=nt.createWithPreprocess,t1=Or.create,r1=()=>ws().optional(),n1=()=>As().optional(),a1=()=>xs().optional(),i1={string:t=>et.create({...t,coerce:!0}),number:t=>yt.create({...t,coerce:!0}),boolean:t=>lr.create({...t,coerce:!0}),bigint:t=>vt.create({...t,coerce:!0}),date:t=>Nt.create({...t,coerce:!0})},o1=ce;var ra=Object.freeze({__proto__:null,defaultErrorMap:Zt,setErrorMap:oh,getErrorMap:qr,makeIssue:Zr,EMPTY_PATH:sh,addIssueToContext:z,ParseStatus:Fe,INVALID:ce,DIRTY:Ft,OK:qe,isAborted:ya,isDirty:va,isValid:ur,isAsync:cr,get util(){return Te},get objectUtil(){return ga},ZodParsedType:Q,getParsedType:_t,ZodType:ye,datetimeRegex:Ts,ZodString:et,ZodNumber:yt,ZodBigInt:vt,ZodBoolean:lr,ZodDate:Nt,ZodSymbol:Wr,ZodUndefined:dr,ZodNull:fr,ZodAny:zt,ZodUnknown:Lt,ZodNever:ft,ZodVoid:Yr,ZodArray:tt,ZodObject:De,ZodUnion:pr,ZodDiscriminatedUnion:ln,ZodIntersection:hr,ZodTuple:st,ZodRecord:mr,ZodMap:Xr,ZodSet:jt,ZodFunction:Gt,ZodLazy:_r,ZodLiteral:gr,ZodEnum:Et,ZodNativeEnum:yr,ZodPromise:Wt,ZodEffects:nt,ZodTransformer:nt,ZodOptional:it,ZodNullable:bt,ZodDefault:vr,ZodCatch:Er,ZodNaN:Qr,BRAND:Sh,ZodBranded:Ma,ZodPipeline:Or,ZodReadonly:br,custom:Os,Schema:ye,ZodSchema:ye,late:Th,get ZodFirstPartyTypeKind(){return se},coerce:i1,any:Ph,array:Dh,bigint:wh,boolean:xs,date:Ah,discriminatedUnion:Hh,effect:Co,enum:Wh,function:qh,instanceof:Rh,intersection:Vh,lazy:Zh,literal:zh,map:Fh,nan:Oh,nativeEnum:Yh,never:jh,null:Ih,nullable:Jh,number:As,object:kh,oboolean:a1,onumber:n1,optional:Qh,ostring:r1,pipeline:t1,preprocess:e1,promise:Xh,record:Kh,set:Gh,strictObject:$h,string:ws,symbol:xh,transformer:Co,tuple:Uh,undefined:Lh,union:Bh,unknown:Nh,void:Mh,NEVER:o1,ZodIssueCode:K,quotelessJson:ih,ZodError:We}),It={},s1=Ke&&Ke.__extends||function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,a){n.__proto__=a}||function(n,a){for(var i in a)Object.prototype.hasOwnProperty.call(a,i)&&(n[i]=a[i])},t(e,r)};return function(e,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");t(e,r);function n(){this.constructor=e}e.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}(),Ls=Ke&&Ke.__awaiter||function(t,e,r,n){function a(i){return i instanceof r?i:new r(function(o){o(i)})}return new(r||(r=Promise))(function(i,o){function s(f){try{u(n.next(f))}catch(l){o(l)}}function c(f){try{u(n.throw(f))}catch(l){o(l)}}function u(f){f.done?i(f.value):a(f.value).then(s,c)}u((n=n.apply(t,e||[])).next())})},Is=Ke&&Ke.__generator||function(t,e){var r={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},n,a,i,o;return o={next:s(0),throw:s(1),return:s(2)},typeof Symbol=="function"&&(o[Symbol.iterator]=function(){return this}),o;function s(u){return function(f){return c([u,f])}}function c(u){if(n)throw new TypeError("Generator is already executing.");for(;r;)try{if(n=1,a&&(i=u[0]&2?a.return:u[0]?a.throw||((i=a.return)&&i.call(a),0):a.next)&&!(i=i.call(a,u[1])).done)return i;switch(a=0,i&&(u=[u[0]&2,i.value]),u[0]){case 0:case 1:i=u;break;case 4:return r.label++,{value:u[1],done:!1};case 5:r.label++,a=u[1],u=[0];continue;case 7:u=r.ops.pop(),r.trys.pop();continue;default:if(i=r.trys,!(i=i.length>0&&i[i.length-1])&&(u[0]===6||u[0]===2)){r=0;continue}if(u[0]===3&&(!i||u[1]>i[0]&&u[1]<i[3])){r.label=u[1];break}if(u[0]===6&&r.label<i[1]){r.label=i[1],i=u;break}if(i&&r.label<i[2]){r.label=i[2],r.ops.push(u);break}i[2]&&r.ops.pop(),r.trys.pop();continue}u=e.call(t,r)}catch(f){u=[6,f],a=0}finally{n=i=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}};Object.defineProperty(It,"__esModule",{value:!0});It.toFormikValidate=Ns=It.toFormikValidationSchema=It.ValidationError=void 0;var Ps=function(t){s1(e,t);function e(r){var n=t.call(this,r)||this;return n.name="ValidationError",n.inner=[],n}return e}(Error);It.ValidationError=Ps;function u1(t){var e=new Ps(t.message);return e.inner=t.errors.map(function(r){return{message:r.message,path:r.path.join(".")}}),e}function c1(t,e){return{validate:function(r){return Ls(this,void 0,void 0,function(){var n;return Is(this,function(a){switch(a.label){case 0:return a.trys.push([0,2,,3]),[4,t.parseAsync(r,e)];case 1:return a.sent(),[3,3];case 2:throw n=a.sent(),u1(n);case 3:return[2]}})})}}}var Ns=It.toFormikValidationSchema=c1;function l1(t){for(var e={},r=0,n=t.errors;r<n.length;r++){var a=n[r];e[a.path.filter(Boolean).join(".")]=a.message}return e}function d1(t,e){var r=this;return function(n){return Ls(r,void 0,void 0,function(){var a;return Is(this,function(i){switch(i.label){case 0:return[4,t.safeParseAsync(n,e)];case 1:return a=i.sent(),a.success?[2]:[2,l1(a.error)]}})})}}It.toFormikValidate=d1;const f1="_root_hqa63_106",p1="_root__body_hqa63_111",h1="_root__form_hqa63_114",na={root:f1,root__body:p1,root__form:h1},at={amountPicker:"amountPicker",cta:"cta",headline:"headline",legalCheckbox:"legalCheckbox",paymentMethods:"paymentMethods",priceDescription:"priceDescription",selectablePills:"selectablePills",submitButton:"submitButton",switcherToggle:"switcherToggle"},m1="_root_djxhx_106",_1={root:m1},g1=({errorMessage:t,id:e,onChange:r,value:n})=>M.jsx(he.Fieldset,{className:_1.root,name:e,children:M.jsx(he.InputFieldSpecial,{id:e,onChange:r,value:n,errorMessage:t})}),y1="_root_1eoke_106",v1={root:y1},E1=({data:{label:t,url:e}})=>M.jsx(he.Fieldset,{className:v1.root,children:M.jsx(he.TextButton,{href:e,size:"link",text:t,color:"deepPurple",target:"_blank"})}),b1="_root_11cj3_106",C1="_root__blockHeader_11cj3_111",S1="_root__block_11cj3_111",aa={root:b1,root__blockHeader:C1,root__block:S1},T1=({data:{buttonText:t,content:e,date:r,headline:n,version:a},onClose:i,open:o})=>{const s=()=>{i&&i(!o)};return M.jsx(he.Modal,{headerTitle:n,onClose:s,open:o,closeButtonText:t,modalBody:M.jsx(he.Card,{children:M.jsx(he.CardBody,{className:aa.root,children:M.jsxs(M.Fragment,{children:[M.jsxs("div",{className:aa.root__blockHeader,children:[M.jsx(he.Typography,{type:"body-regular",children:a}),M.jsx(he.Typography,{type:"body-regular",children:r})]}),M.jsx(he.Divider,{}),e.map((c,u)=>M.jsxs(q.Fragment,{children:[M.jsx("div",{className:aa.root__block,children:c}),u!==e.length-1&&M.jsx(he.Divider,{})]},`rich_text_el_${u}`))]})})})})},R1="_headline_drix0_106",O1={headline:R1},w1=({data:{headline:t,subheadline:e}})=>M.jsxs(he.Fieldset,{className:O1.headline,children:[M.jsx(he.Typography,{type:"h1",children:t}),M.jsx(he.Typography,{type:"body-regular",children:e})]}),A1="_root_1h3u8_106",x1="_root__img_1h3u8_113",So={root:A1,root__img:x1},To=({data:{alt:t,src:e}})=>M.jsx("div",{className:So.root,"data-testid":"hero-block",children:M.jsx("img",{className:So.root__img,alt:t,src:e})}),L1="_root_17dyb_106",I1="_root__checkbox_17dyb_114",P1="_root__text_17dyb_120",N1="_root__error_17dyb_125",j1="_root__link_17dyb_135",Ot={root:L1,root__checkbox:I1,root__text:P1,root__error:N1,"root--error":"_root--error_17dyb_132",root__link:j1},M1=({data:{buttonLabel:t,label:e,layout:r},error:n,onChange:a,onClick:i})=>{const o=()=>{i&&i(!0)};return M.jsxs(he.Fieldset,{className:Ot.root,children:[r?M.jsx(he.CheckboxInput,{onChange:a,id:"legal_checkbox",className:dt(Ot.root__checkbox,{[Ot["root--error"]]:n}),children:M.jsxs(he.Typography,{type:n?"detail-regular":"detail-medium",as:"p",children:[e," ",M.jsx(he.TextButton,{className:Ot.root__link,onClick:o,size:"small",text:t,color:"deepPurple"})]})}):M.jsxs(he.Typography,{className:Ot.root__text,type:n?"detail-regular":"detail-medium",as:"p",children:[e," ",M.jsx(he.TextButton,{className:Ot.root__link,onClick:o,size:"small",text:t,color:"deepPurple"})]}),n&&M.jsx(he.Typography,{className:Ot.root__error,type:"detail-bold",as:"p",children:n})]})},D1="_root_v48kl_106",k1="_root__item_v48kl_112",$1="_root__img_v48kl_117",ia={root:D1,root__item:k1,root__img:$1},B1=({methods:t})=>M.jsx(he.Fieldset,{children:M.jsx("ul",{className:ia.root,children:t.map(({alt:e,id:r,src:n},a)=>M.jsx("li",{className:ia.root__item,children:M.jsx("img",{className:ia.root__img,src:n,alt:e})},`payments_${r}_${a}`))})}),H1="_root_1u00k_106",V1={root:H1},U1=({label:t})=>M.jsx(he.Fieldset,{className:V1.root,children:M.jsx(he.Typography,{type:"detail-medium",children:t})}),K1="_root_1b4kl_106",F1={root:K1},G1=({onChange:t,selectablePills:e,selectedPills:r})=>M.jsx(he.Fieldset,{children:M.jsx(he.SelectablePillGroup,{className:F1.root,selectedItems:r,items:e,multiselect:!1,onChange:t})}),q1="_root_ced01_106",Z1="_root__button_ced01_112",z1="_root__security_ced01_115",oa={root:q1,root__button:Z1,root__security:z1},W1=({data:{label:t,securityText:e},onSubmit:r})=>M.jsxs(he.Fieldset,{className:oa.root,children:[M.jsx(he.ButtonPrimary,{className:oa.root__button,fullWidth:!0,size:"large",text:t,onClick:r}),M.jsxs(he.Typography,{type:"detail-medium",as:"p",className:dt(oa.root__security),children:[M.jsx(he.Icon,{name:"privacy_lock_closed"}),e]})]}),Y1="_root_1okuw_106",X1={root:Y1},Q1=({onChange:t,switcherToggle:e,value:r})=>M.jsx(he.SwitcherToggle,{className:X1.root,items:e,onChange:t,value:r}),J1=({error:t,errorLegal:e,minValue:r})=>ra.object({amount:ra.number().min(r,{message:t}).int(),legalCheckbox:ra.boolean().refine(n=>n===!0,{message:e})}),js=({blocks:t,defaultSelectedToggle:e,fieldDescription:r,fieldErrors:n,guidelinesModalData:a,hero:i,layout:o,onSubmit:s})=>{const[c,u]=q.useState(n[e]),f=J1(c),l=()=>{const S=t.selectablePills[e].find(N=>N.isSelected);return S?[{id:S.id,value:S.value}]:[]},p=()=>{const S=l()[0];return S?r[S.id]:t.priceDescription.label},C=Xp({initialValues:{amount:(()=>{const S=l()[0];return S?Number(S.value):0})(),fieldDescription:p(),legalCheckbox:!t.legalCheckbox.layout,legalModalOpen:!1,selectedPills:l(),toggle:e},onSubmit:S=>s(S),validateOnBlur:!0,validateOnChange:!0,validationSchema:Ns(f)}),A=async(S,N,U)=>{const k=S||t.selectablePills[N].filter($=>$.value===U)[0],J=k?r[k.id]:t.priceDescription.label,X=k?[{id:k.id,value:k.value}]:[];await C.setValues({...C.values,amount:Number(U),fieldDescription:J,selectedPills:X},!0)},w=S=>S[C.values.toggle],y=S=>{(async()=>await A(S[0],C.values.toggle,S[0].value))()},x=(S,N)=>{(async()=>(await A(null,C.values.toggle,`${N}`),await C.setTouched({amount:!0},!0)))()},d=S=>{(async()=>(u(n[S]),await A(null,S,`${C.values.amount}`),await C.setFieldValue("toggle",S,!0)))()},m=S=>{(async()=>await C.setFieldValue("legalModalOpen",S))()},E=S=>{(async()=>(!C.touched.legalCheckbox&&await C.setFieldTouched("legalCheckbox"),await C.setFieldValue("legalCheckbox",S.target.checked,!0)))()},R=()=>{(async()=>await C.submitForm())()};return M.jsxs(he.Card,{borderRadius:!0,className:dt(na.root),allowedElement:To,children:[M.jsx(To,{data:i}),M.jsxs(he.CardBody,{className:na.root__body,children:[M.jsx(he.Form,{className:dt(na.root__form),children:o.map(S=>{const N=t[S];switch(S){case at.headline:return M.jsx(q.Fragment,{children:M.jsx(w1,{data:N})},S);case at.switcherToggle:return M.jsx(q.Fragment,{children:M.jsx(Q1,{switcherToggle:N,onChange:d,value:C.values.toggle})},S);case at.selectablePills:return M.jsx(q.Fragment,{children:M.jsx(G1,{onChange:y,selectablePills:w(N),selectedPills:C.values.selectedPills})},S);case at.priceDescription:return M.jsx(q.Fragment,{children:M.jsx(U1,{label:C.values.fieldDescription})},S);case at.amountPicker:return M.jsx(q.Fragment,{children:M.jsx(g1,{id:"amount",onChange:x,value:C.values.amount,errorMessage:C.touched.amount&&C.errors.amount||""})},S);case at.legalCheckbox:return M.jsx(q.Fragment,{children:M.jsx(M1,{data:N,error:C.touched.legalCheckbox?C.errors.legalCheckbox:"",onClick:m,onChange:E})},S);case at.submitButton:return M.jsx(q.Fragment,{children:M.jsx(W1,{data:N,onSubmit:R})},S);case at.paymentMethods:return M.jsx(q.Fragment,{children:M.jsx(B1,{methods:N})},S);case at.cta:return M.jsx(q.Fragment,{children:M.jsx(E1,{data:N})},S);default:return null}})}),C.values.legalModalOpen&&M.jsx(T1,{data:a,onClose:m,open:C.values.legalModalOpen})]})]})},Ms=({block:t,onSubmit:e})=>{const r=()=>{var x;let y=[];return(x=t==null?void 0:t.fields)==null||x.layout.map(d=>y=[...y,d]),y},n=()=>{var y,x,d,m,E,R,S,N;return{alt:((x=(y=t==null?void 0:t.fields)==null?void 0:y.heroImage)==null?void 0:x.fields.title)||"",src:(E=(m=(d=t==null?void 0:t.fields)==null?void 0:d.heroImage)==null?void 0:m.fields.file)!=null&&E.url?`https:${(N=(S=(R=t==null?void 0:t.fields)==null?void 0:R.heroImage)==null?void 0:S.fields.file)==null?void 0:N.url}`:""}},a=()=>{var y,x;return{headline:((y=t.fields.headline)==null?void 0:y.fields.headline)||"",subheadline:((x=t.fields.headline)==null?void 0:x.fields.subheadline)||""}},i=()=>{var y,x;return{label:((y=t.fields.cta)==null?void 0:y.fields.label)||"",url:((x=t.fields.cta)==null?void 0:x.fields.url)||""}},o=()=>{var y,x,d,m;return(x=(y=t==null?void 0:t.fields)==null?void 0:y.paymentMethods)!=null&&x.fields.paymentMethods?(m=(d=t==null?void 0:t.fields)==null?void 0:d.paymentMethods)==null?void 0:m.fields.paymentMethods.map(E=>{var R;return{alt:(E==null?void 0:E.fields.title)||"",id:(E==null?void 0:E.sys.id)||"",src:`https:${(R=E==null?void 0:E.fields.file)==null?void 0:R.url}`}}):[]},s=()=>{var y,x;return{label:((y=t.fields.submitButton)==null?void 0:y.fields.label)||"",securityText:((x=t.fields.submitButton)==null?void 0:x.fields.securityText)||""}},c=()=>{var y,x,d;return{buttonLabel:((y=t.fields.legalCheckbox)==null?void 0:y.fields.legalButtonLabel)||"",label:((x=t.fields.legalCheckbox)==null?void 0:x.fields.label)||"",layout:(d=t.fields.legalCheckbox)==null?void 0:d.fields.layout}},u=()=>{var y;return{label:((y=t.fields.priceDescription)==null?void 0:y.fields.label)||""}},f=()=>{const y={};return t.fields.switcherToggle.map(x=>{var m;const d=`${x==null?void 0:x.fields.id}`;d in y||(y[d]={error:(x==null?void 0:x.fields.errorText)||"",errorLegal:((m=t.fields.legalCheckbox)==null?void 0:m.fields.errorText)||"",minValue:Number(x==null?void 0:x.fields.minValue)||0})}),y},l=()=>t.fields.switcherToggle.map(y=>({id:(y==null?void 0:y.fields.id)||"",label:(y==null?void 0:y.fields.label)||""})),p=()=>{var x;const y=t.fields.switcherToggle.find(d=>d==null?void 0:d.fields.defaultSelected);return y?y.fields.id:((x=t.fields.switcherToggle[0])==null?void 0:x.fields.id)||""},v=()=>{const y={};return t.fields.switcherToggle.map(x=>{x==null||x.fields.selectablePills.map(d=>{const m=`${d==null?void 0:d.fields.chargebeeId}`;m in y||(y[m]=(d==null?void 0:d.fields.description)||"")})}),y},C=()=>{const y={};return t.fields.switcherToggle.map(x=>{const d=`${x==null?void 0:x.fields.id}`;d in y||(y[d]=((x==null?void 0:x.fields.selectablePills)||[]).map(m=>({id:m==null?void 0:m.fields.chargebeeId,isSelected:m==null?void 0:m.fields.defaultSelected,label:(m==null?void 0:m.fields.label)||"",popular:(m==null?void 0:m.fields.popular)||"",style:"filled",value:(m==null?void 0:m.fields.value)||"",variant:"large"})))}),y},A=()=>{var J,X;const y=(J=t==null?void 0:t.fields.legalCheckbox)==null?void 0:J.fields.guidelinesModal,x=(X=y==null?void 0:y.fields)==null?void 0:X.text;if(!x)return{buttonText:"",content:[[]],date:"",headline:"",version:""};const d={renderNode:{[Je.BLOCKS.PARAGRAPH]:($,F)=>M.jsx(he.Typography,{as:"p",type:"body-regular",children:F}),[Je.BLOCKS.HEADING_2]:($,F)=>M.jsx(he.Typography,{type:"h2",children:F})}},m=$=>{const F=[];let ee=[];return Array.isArray($)&&$.forEach(le=>{le.type==="hr"?(ee.length>0&&F.push(ee),ee=[]):ee.push(le)}),ee.length>0&&F.push(ee),F},E=ba.documentToReactComponents(x,d),R=E?m(E):[],S=(y==null?void 0:y.fields.closeModalButtonText)||"",N=(y==null?void 0:y.fields.headline)||"",U=(y==null?void 0:y.fields.data)||"",k=(y==null?void 0:y.fields.version)||"";return{buttonText:S,content:R,date:U,headline:N,version:k}},w=()=>({cta:i(),headline:a(),legalCheckbox:c(),paymentMethods:o(),priceDescription:u(),selectablePills:C(),submitButton:s(),switcherToggle:l()});return M.jsx(js,{onSubmit:e,layout:r(),hero:n(),defaultSelectedToggle:p(),blocks:w(),fieldDescription:v(),fieldErrors:f(),guidelinesModalData:A()})};exports.ContentfulSponsorCardForm=Ms;exports.DynamicRenderer=Vc;exports.LAYOUT_BLOCK=at;exports.SponsorCardForm=js;
47
+ `)}function jl(e){var t={};if(e.inner){if(e.inner.length===0)return gt(t,e.path,e.message);for(var a=e.inner,r=Array.isArray(a),n=0,a=r?a:a[Symbol.iterator]();;){var i;if(r){if(n>=a.length)break;i=a[n++]}else{if(n=a.next(),n.done)break;i=n.value}var s=i;Pe(t,s.path)||(t=gt(t,s.path,s.message))}}return t}function Pl(e,t,r,n){r===void 0&&(r=!1);var a=pn(e);return t[r?"validateSync":"validate"](a,{abortEarly:!1,context:a})}function pn(e){var t=Array.isArray(e)?[]:{};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){var n=String(r);Array.isArray(e[n])===!0?t[n]=e[n].map(function(a){return Array.isArray(a)===!0||Zn(a)?pn(a):a!==""?a:void 0}):Zn(e[n])?t[n]=pn(e[n]):t[n]=e[n]!==""?e[n]:void 0}return t}function kl(e,t,r){var n=e.slice();return t.forEach(function(i,s){if(typeof n[s]>"u"){var u=r.clone!==!1,f=u&&r.isMergeableObject(i);n[s]=f?on(Array.isArray(i)?[]:{},i,r):i}else r.isMergeableObject(i)?n[s]=on(e[s],i,r):e.indexOf(i)===-1&&n.push(i)}),n}function Bl(e){return Array.from(e).filter(function(t){return t.selected}).map(function(t){return t.value})}function Ml(e,t,r){if(typeof e=="boolean")return!!t;var n=[],a=!1,i=-1;if(Array.isArray(e))n=e,i=e.indexOf(r),a=i>=0;else if(!r||r=="true"||r=="false")return!!t;return t&&r&&!a?n.concat(r):a?n.slice(0,i).concat(n.slice(i+1)):n}var $l=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u"?N.useLayoutEffect:N.useEffect;function Me(e){var t=N.useRef(e);return $l(function(){t.current=e}),N.useCallback(function(){for(var r=arguments.length,n=new Array(r),a=0;a<r;a++)n[a]=arguments[a];return t.current.apply(void 0,n)},[])}var Kl=N.forwardRef(function(e,t){var r=e.action,n=ii(e,["action"]),a=r??"#",i=Ll(),s=i.handleReset,u=i.handleSubmit;return N.createElement("form",Se({onSubmit:u,ref:t,onReset:s,action:a},n))});Kl.displayName="Form";var X;(function(e){e.assertEqual=a=>a;function t(a){}e.assertIs=t;function r(a){throw new Error}e.assertNever=r,e.arrayToEnum=a=>{const i={};for(const s of a)i[s]=s;return i},e.getValidEnumValues=a=>{const i=e.objectKeys(a).filter(u=>typeof a[a[u]]!="number"),s={};for(const u of i)s[u]=a[u];return e.objectValues(s)},e.objectValues=a=>e.objectKeys(a).map(function(i){return a[i]}),e.objectKeys=typeof Object.keys=="function"?a=>Object.keys(a):a=>{const i=[];for(const s in a)Object.prototype.hasOwnProperty.call(a,s)&&i.push(s);return i},e.find=(a,i)=>{for(const s of a)if(i(s))return s},e.isInteger=typeof Number.isInteger=="function"?a=>Number.isInteger(a):a=>typeof a=="number"&&isFinite(a)&&Math.floor(a)===a;function n(a,i=" | "){return a.map(s=>typeof s=="string"?`'${s}'`:s).join(i)}e.joinValues=n,e.jsonStringifyReplacer=(a,i)=>typeof i=="bigint"?i.toString():i})(X||(X={}));var _n;(function(e){e.mergeShapes=(t,r)=>({...t,...r})})(_n||(_n={}));const L=X.arrayToEnum(["string","nan","number","integer","float","boolean","date","bigint","symbol","function","undefined","null","array","object","unknown","promise","void","never","map","set"]),it=e=>{switch(typeof e){case"undefined":return L.undefined;case"string":return L.string;case"number":return isNaN(e)?L.nan:L.number;case"boolean":return L.boolean;case"function":return L.function;case"bigint":return L.bigint;case"symbol":return L.symbol;case"object":return Array.isArray(e)?L.array:e===null?L.null:e.then&&typeof e.then=="function"&&e.catch&&typeof e.catch=="function"?L.promise:typeof Map<"u"&&e instanceof Map?L.map:typeof Set<"u"&&e instanceof Set?L.set:typeof Date<"u"&&e instanceof Date?L.date:L.object;default:return L.unknown}},v=X.arrayToEnum(["invalid_type","invalid_literal","custom","invalid_union","invalid_union_discriminator","invalid_enum_value","unrecognized_keys","invalid_arguments","invalid_return_type","invalid_date","invalid_string","too_small","too_big","invalid_intersection_types","not_multiple_of","not_finite"]),Fl=e=>JSON.stringify(e,null,2).replace(/"([^"]+)":/g,"$1:");class ke extends Error{constructor(t){super(),this.issues=[],this.addIssue=n=>{this.issues=[...this.issues,n]},this.addIssues=(n=[])=>{this.issues=[...this.issues,...n]};const r=new.target.prototype;Object.setPrototypeOf?Object.setPrototypeOf(this,r):this.__proto__=r,this.name="ZodError",this.issues=t}get errors(){return this.issues}format(t){const r=t||function(i){return i.message},n={_errors:[]},a=i=>{for(const s of i.issues)if(s.code==="invalid_union")s.unionErrors.map(a);else if(s.code==="invalid_return_type")a(s.returnTypeError);else if(s.code==="invalid_arguments")a(s.argumentsError);else if(s.path.length===0)n._errors.push(r(s));else{let u=n,f=0;for(;f<s.path.length;){const c=s.path[f];f===s.path.length-1?(u[c]=u[c]||{_errors:[]},u[c]._errors.push(r(s))):u[c]=u[c]||{_errors:[]},u=u[c],f++}}};return a(this),n}static assert(t){if(!(t instanceof ke))throw new Error(`Not a ZodError: ${t}`)}toString(){return this.message}get message(){return JSON.stringify(this.issues,X.jsonStringifyReplacer,2)}get isEmpty(){return this.issues.length===0}flatten(t=r=>r.message){const r={},n=[];for(const a of this.issues)a.path.length>0?(r[a.path[0]]=r[a.path[0]]||[],r[a.path[0]].push(t(a))):n.push(t(a));return{formErrors:n,fieldErrors:r}}get formErrors(){return this.flatten()}}ke.create=e=>new ke(e);const Mt=(e,t)=>{let r;switch(e.code){case v.invalid_type:e.received===L.undefined?r="Required":r=`Expected ${e.expected}, received ${e.received}`;break;case v.invalid_literal:r=`Invalid literal value, expected ${JSON.stringify(e.expected,X.jsonStringifyReplacer)}`;break;case v.unrecognized_keys:r=`Unrecognized key(s) in object: ${X.joinValues(e.keys,", ")}`;break;case v.invalid_union:r="Invalid input";break;case v.invalid_union_discriminator:r=`Invalid discriminator value. Expected ${X.joinValues(e.options)}`;break;case v.invalid_enum_value:r=`Invalid enum value. Expected ${X.joinValues(e.options)}, received '${e.received}'`;break;case v.invalid_arguments:r="Invalid function arguments";break;case v.invalid_return_type:r="Invalid function return type";break;case v.invalid_date:r="Invalid date";break;case v.invalid_string:typeof e.validation=="object"?"includes"in e.validation?(r=`Invalid input: must include "${e.validation.includes}"`,typeof e.validation.position=="number"&&(r=`${r} at one or more positions greater than or equal to ${e.validation.position}`)):"startsWith"in e.validation?r=`Invalid input: must start with "${e.validation.startsWith}"`:"endsWith"in e.validation?r=`Invalid input: must end with "${e.validation.endsWith}"`:X.assertNever(e.validation):e.validation!=="regex"?r=`Invalid ${e.validation}`:r="Invalid";break;case v.too_small:e.type==="array"?r=`Array must contain ${e.exact?"exactly":e.inclusive?"at least":"more than"} ${e.minimum} element(s)`:e.type==="string"?r=`String must contain ${e.exact?"exactly":e.inclusive?"at least":"over"} ${e.minimum} character(s)`:e.type==="number"?r=`Number must be ${e.exact?"exactly equal to ":e.inclusive?"greater than or equal to ":"greater than "}${e.minimum}`:e.type==="date"?r=`Date must be ${e.exact?"exactly equal to ":e.inclusive?"greater than or equal to ":"greater than "}${new Date(Number(e.minimum))}`:r="Invalid input";break;case v.too_big:e.type==="array"?r=`Array must contain ${e.exact?"exactly":e.inclusive?"at most":"less than"} ${e.maximum} element(s)`:e.type==="string"?r=`String must contain ${e.exact?"exactly":e.inclusive?"at most":"under"} ${e.maximum} character(s)`:e.type==="number"?r=`Number must be ${e.exact?"exactly":e.inclusive?"less than or equal to":"less than"} ${e.maximum}`:e.type==="bigint"?r=`BigInt must be ${e.exact?"exactly":e.inclusive?"less than or equal to":"less than"} ${e.maximum}`:e.type==="date"?r=`Date must be ${e.exact?"exactly":e.inclusive?"smaller than or equal to":"smaller than"} ${new Date(Number(e.maximum))}`:r="Invalid input";break;case v.custom:r="Invalid input";break;case v.invalid_intersection_types:r="Intersection results could not be merged";break;case v.not_multiple_of:r=`Number must be a multiple of ${e.multipleOf}`;break;case v.not_finite:r="Number must be finite";break;default:r=t.defaultError,X.assertNever(e)}return{message:r}};let oi=Mt;function Hl(e){oi=e}function Cr(){return oi}const Ar=e=>{const{data:t,path:r,errorMaps:n,issueData:a}=e,i=[...r,...a.path||[]],s={...a,path:i};if(a.message!==void 0)return{...a,path:i,message:a.message};let u="";const f=n.filter(c=>!!c).slice().reverse();for(const c of f)u=c(s,{data:t,defaultError:u}).message;return{...a,path:i,message:u}},Vl=[];function A(e,t){const r=Cr(),n=Ar({issueData:t,data:e.data,path:e.path,errorMaps:[e.common.contextualErrorMap,e.schemaErrorMap,r,r===Mt?void 0:Mt].filter(a=>!!a)});e.common.issues.push(n)}class xe{constructor(){this.value="valid"}dirty(){this.value==="valid"&&(this.value="dirty")}abort(){this.value!=="aborted"&&(this.value="aborted")}static mergeArray(t,r){const n=[];for(const a of r){if(a.status==="aborted")return F;a.status==="dirty"&&t.dirty(),n.push(a.value)}return{status:t.value,value:n}}static async mergeObjectAsync(t,r){const n=[];for(const a of r){const i=await a.key,s=await a.value;n.push({key:i,value:s})}return xe.mergeObjectSync(t,n)}static mergeObjectSync(t,r){const n={};for(const a of r){const{key:i,value:s}=a;if(i.status==="aborted"||s.status==="aborted")return F;i.status==="dirty"&&t.dirty(),s.status==="dirty"&&t.dirty(),i.value!=="__proto__"&&(typeof s.value<"u"||a.alwaysSet)&&(n[i.value]=s.value)}return{status:t.value,value:n}}}const F=Object.freeze({status:"aborted"}),Pt=e=>({status:"dirty",value:e}),Re=e=>({status:"valid",value:e}),mn=e=>e.status==="aborted",yn=e=>e.status==="dirty",Qt=e=>e.status==="valid",er=e=>typeof Promise<"u"&&e instanceof Promise;function xr(e,t,r,n){if(typeof t=="function"?e!==t||!n:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return t.get(e)}function ui(e,t,r,n,a){if(typeof t=="function"?e!==t||!a:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return t.set(e,r),r}var j;(function(e){e.errToObj=t=>typeof t=="string"?{message:t}:t||{},e.toString=t=>typeof t=="string"?t:t==null?void 0:t.message})(j||(j={}));var Gt,Yt;class We{constructor(t,r,n,a){this._cachedPath=[],this.parent=t,this.data=r,this._path=n,this._key=a}get path(){return this._cachedPath.length||(this._key instanceof Array?this._cachedPath.push(...this._path,...this._key):this._cachedPath.push(...this._path,this._key)),this._cachedPath}}const Sa=(e,t)=>{if(Qt(t))return{success:!0,data:t.value};if(!e.common.issues.length)throw new Error("Validation failed but no issues detected.");return{success:!1,get error(){if(this._error)return this._error;const r=new ke(e.common.issues);return this._error=r,this._error}}};function U(e){if(!e)return{};const{errorMap:t,invalid_type_error:r,required_error:n,description:a}=e;if(t&&(r||n))throw new Error(`Can't use "invalid_type_error" or "required_error" in conjunction with custom error map.`);return t?{errorMap:t,description:a}:{errorMap:(s,u)=>{var f,c;const{message:_}=e;return s.code==="invalid_enum_value"?{message:_??u.defaultError}:typeof u.data>"u"?{message:(f=_??n)!==null&&f!==void 0?f:u.defaultError}:s.code!=="invalid_type"?{message:u.defaultError}:{message:(c=_??r)!==null&&c!==void 0?c:u.defaultError}},description:a}}class Y{constructor(t){this.spa=this.safeParseAsync,this._def=t,this.parse=this.parse.bind(this),this.safeParse=this.safeParse.bind(this),this.parseAsync=this.parseAsync.bind(this),this.safeParseAsync=this.safeParseAsync.bind(this),this.spa=this.spa.bind(this),this.refine=this.refine.bind(this),this.refinement=this.refinement.bind(this),this.superRefine=this.superRefine.bind(this),this.optional=this.optional.bind(this),this.nullable=this.nullable.bind(this),this.nullish=this.nullish.bind(this),this.array=this.array.bind(this),this.promise=this.promise.bind(this),this.or=this.or.bind(this),this.and=this.and.bind(this),this.transform=this.transform.bind(this),this.brand=this.brand.bind(this),this.default=this.default.bind(this),this.catch=this.catch.bind(this),this.describe=this.describe.bind(this),this.pipe=this.pipe.bind(this),this.readonly=this.readonly.bind(this),this.isNullable=this.isNullable.bind(this),this.isOptional=this.isOptional.bind(this)}get description(){return this._def.description}_getType(t){return it(t.data)}_getOrReturnCtx(t,r){return r||{common:t.parent.common,data:t.data,parsedType:it(t.data),schemaErrorMap:this._def.errorMap,path:t.path,parent:t.parent}}_processInputParams(t){return{status:new xe,ctx:{common:t.parent.common,data:t.data,parsedType:it(t.data),schemaErrorMap:this._def.errorMap,path:t.path,parent:t.parent}}}_parseSync(t){const r=this._parse(t);if(er(r))throw new Error("Synchronous parse encountered promise.");return r}_parseAsync(t){const r=this._parse(t);return Promise.resolve(r)}parse(t,r){const n=this.safeParse(t,r);if(n.success)return n.data;throw n.error}safeParse(t,r){var n;const a={common:{issues:[],async:(n=r==null?void 0:r.async)!==null&&n!==void 0?n:!1,contextualErrorMap:r==null?void 0:r.errorMap},path:(r==null?void 0:r.path)||[],schemaErrorMap:this._def.errorMap,parent:null,data:t,parsedType:it(t)},i=this._parseSync({data:t,path:a.path,parent:a});return Sa(a,i)}async parseAsync(t,r){const n=await this.safeParseAsync(t,r);if(n.success)return n.data;throw n.error}async safeParseAsync(t,r){const n={common:{issues:[],contextualErrorMap:r==null?void 0:r.errorMap,async:!0},path:(r==null?void 0:r.path)||[],schemaErrorMap:this._def.errorMap,parent:null,data:t,parsedType:it(t)},a=this._parse({data:t,path:n.path,parent:n}),i=await(er(a)?a:Promise.resolve(a));return Sa(n,i)}refine(t,r){const n=a=>typeof r=="string"||typeof r>"u"?{message:r}:typeof r=="function"?r(a):r;return this._refinement((a,i)=>{const s=t(a),u=()=>i.addIssue({code:v.custom,...n(a)});return typeof Promise<"u"&&s instanceof Promise?s.then(f=>f?!0:(u(),!1)):s?!0:(u(),!1)})}refinement(t,r){return this._refinement((n,a)=>t(n)?!0:(a.addIssue(typeof r=="function"?r(n,a):r),!1))}_refinement(t){return new Ze({schema:this,typeName:K.ZodEffects,effect:{type:"refinement",refinement:t}})}superRefine(t){return this._refinement(t)}optional(){return ze.create(this,this._def)}nullable(){return dt.create(this,this._def)}nullish(){return this.nullable().optional()}array(){return Ue.create(this,this._def)}promise(){return Kt.create(this,this._def)}or(t){return ar.create([this,t],this._def)}and(t){return ir.create(this,t,this._def)}transform(t){return new Ze({...U(this._def),schema:this,typeName:K.ZodEffects,effect:{type:"transform",transform:t}})}default(t){const r=typeof t=="function"?t:()=>t;return new lr({...U(this._def),innerType:this,defaultValue:r,typeName:K.ZodDefault})}brand(){return new Rn({typeName:K.ZodBranded,type:this,...U(this._def)})}catch(t){const r=typeof t=="function"?t:()=>t;return new dr({...U(this._def),innerType:this,catchValue:r,typeName:K.ZodCatch})}describe(t){const r=this.constructor;return new r({...this._def,description:t})}pipe(t){return yr.create(this,t)}readonly(){return fr.create(this)}isOptional(){return this.safeParse(void 0).success}isNullable(){return this.safeParse(null).success}}const Ul=/^c[^\s-]{8,}$/i,Zl=/^[0-9a-z]+$/,Gl=/^[0-9A-HJKMNP-TV-Z]{26}$/,Yl=/^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/i,zl=/^[a-z0-9_-]{21}$/i,Wl=/^[-+]?P(?!$)(?:(?:[-+]?\d+Y)|(?:[-+]?\d+[.,]\d+Y$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:(?:[-+]?\d+W)|(?:[-+]?\d+[.,]\d+W$))?(?:(?:[-+]?\d+D)|(?:[-+]?\d+[.,]\d+D$))?(?:T(?=[\d+-])(?:(?:[-+]?\d+H)|(?:[-+]?\d+[.,]\d+H$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:[-+]?\d+(?:[.,]\d+)?S)?)??$/,ql=/^(?!\.)(?!.*\.\.)([A-Z0-9_'+\-\.]*)[A-Z0-9_+-]@([A-Z0-9][A-Z0-9\-]*\.)+[A-Z]{2,}$/i,Jl="^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$";let Qr;const Xl=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/,Ql=/^(([a-f0-9]{1,4}:){7}|::([a-f0-9]{1,4}:){0,6}|([a-f0-9]{1,4}:){1}:([a-f0-9]{1,4}:){0,5}|([a-f0-9]{1,4}:){2}:([a-f0-9]{1,4}:){0,4}|([a-f0-9]{1,4}:){3}:([a-f0-9]{1,4}:){0,3}|([a-f0-9]{1,4}:){4}:([a-f0-9]{1,4}:){0,2}|([a-f0-9]{1,4}:){5}:([a-f0-9]{1,4}:){0,1})([a-f0-9]{1,4}|(((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2}))\.){3}((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2})))$/,ed=/^([0-9a-zA-Z+/]{4})*(([0-9a-zA-Z+/]{2}==)|([0-9a-zA-Z+/]{3}=))?$/,ci="((\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-((0[13578]|1[02])-(0[1-9]|[12]\\d|3[01])|(0[469]|11)-(0[1-9]|[12]\\d|30)|(02)-(0[1-9]|1\\d|2[0-8])))",td=new RegExp(`^${ci}$`);function li(e){let t="([01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d";return e.precision?t=`${t}\\.\\d{${e.precision}}`:e.precision==null&&(t=`${t}(\\.\\d+)?`),t}function rd(e){return new RegExp(`^${li(e)}$`)}function di(e){let t=`${ci}T${li(e)}`;const r=[];return r.push(e.local?"Z?":"Z"),e.offset&&r.push("([+-]\\d{2}:?\\d{2})"),t=`${t}(${r.join("|")})`,new RegExp(`^${t}$`)}function nd(e,t){return!!((t==="v4"||!t)&&Xl.test(e)||(t==="v6"||!t)&&Ql.test(e))}class Ve extends Y{_parse(t){if(this._def.coerce&&(t.data=String(t.data)),this._getType(t)!==L.string){const i=this._getOrReturnCtx(t);return A(i,{code:v.invalid_type,expected:L.string,received:i.parsedType}),F}const n=new xe;let a;for(const i of this._def.checks)if(i.kind==="min")t.data.length<i.value&&(a=this._getOrReturnCtx(t,a),A(a,{code:v.too_small,minimum:i.value,type:"string",inclusive:!0,exact:!1,message:i.message}),n.dirty());else if(i.kind==="max")t.data.length>i.value&&(a=this._getOrReturnCtx(t,a),A(a,{code:v.too_big,maximum:i.value,type:"string",inclusive:!0,exact:!1,message:i.message}),n.dirty());else if(i.kind==="length"){const s=t.data.length>i.value,u=t.data.length<i.value;(s||u)&&(a=this._getOrReturnCtx(t,a),s?A(a,{code:v.too_big,maximum:i.value,type:"string",inclusive:!0,exact:!0,message:i.message}):u&&A(a,{code:v.too_small,minimum:i.value,type:"string",inclusive:!0,exact:!0,message:i.message}),n.dirty())}else if(i.kind==="email")ql.test(t.data)||(a=this._getOrReturnCtx(t,a),A(a,{validation:"email",code:v.invalid_string,message:i.message}),n.dirty());else if(i.kind==="emoji")Qr||(Qr=new RegExp(Jl,"u")),Qr.test(t.data)||(a=this._getOrReturnCtx(t,a),A(a,{validation:"emoji",code:v.invalid_string,message:i.message}),n.dirty());else if(i.kind==="uuid")Yl.test(t.data)||(a=this._getOrReturnCtx(t,a),A(a,{validation:"uuid",code:v.invalid_string,message:i.message}),n.dirty());else if(i.kind==="nanoid")zl.test(t.data)||(a=this._getOrReturnCtx(t,a),A(a,{validation:"nanoid",code:v.invalid_string,message:i.message}),n.dirty());else if(i.kind==="cuid")Ul.test(t.data)||(a=this._getOrReturnCtx(t,a),A(a,{validation:"cuid",code:v.invalid_string,message:i.message}),n.dirty());else if(i.kind==="cuid2")Zl.test(t.data)||(a=this._getOrReturnCtx(t,a),A(a,{validation:"cuid2",code:v.invalid_string,message:i.message}),n.dirty());else if(i.kind==="ulid")Gl.test(t.data)||(a=this._getOrReturnCtx(t,a),A(a,{validation:"ulid",code:v.invalid_string,message:i.message}),n.dirty());else if(i.kind==="url")try{new URL(t.data)}catch{a=this._getOrReturnCtx(t,a),A(a,{validation:"url",code:v.invalid_string,message:i.message}),n.dirty()}else i.kind==="regex"?(i.regex.lastIndex=0,i.regex.test(t.data)||(a=this._getOrReturnCtx(t,a),A(a,{validation:"regex",code:v.invalid_string,message:i.message}),n.dirty())):i.kind==="trim"?t.data=t.data.trim():i.kind==="includes"?t.data.includes(i.value,i.position)||(a=this._getOrReturnCtx(t,a),A(a,{code:v.invalid_string,validation:{includes:i.value,position:i.position},message:i.message}),n.dirty()):i.kind==="toLowerCase"?t.data=t.data.toLowerCase():i.kind==="toUpperCase"?t.data=t.data.toUpperCase():i.kind==="startsWith"?t.data.startsWith(i.value)||(a=this._getOrReturnCtx(t,a),A(a,{code:v.invalid_string,validation:{startsWith:i.value},message:i.message}),n.dirty()):i.kind==="endsWith"?t.data.endsWith(i.value)||(a=this._getOrReturnCtx(t,a),A(a,{code:v.invalid_string,validation:{endsWith:i.value},message:i.message}),n.dirty()):i.kind==="datetime"?di(i).test(t.data)||(a=this._getOrReturnCtx(t,a),A(a,{code:v.invalid_string,validation:"datetime",message:i.message}),n.dirty()):i.kind==="date"?td.test(t.data)||(a=this._getOrReturnCtx(t,a),A(a,{code:v.invalid_string,validation:"date",message:i.message}),n.dirty()):i.kind==="time"?rd(i).test(t.data)||(a=this._getOrReturnCtx(t,a),A(a,{code:v.invalid_string,validation:"time",message:i.message}),n.dirty()):i.kind==="duration"?Wl.test(t.data)||(a=this._getOrReturnCtx(t,a),A(a,{validation:"duration",code:v.invalid_string,message:i.message}),n.dirty()):i.kind==="ip"?nd(t.data,i.version)||(a=this._getOrReturnCtx(t,a),A(a,{validation:"ip",code:v.invalid_string,message:i.message}),n.dirty()):i.kind==="base64"?ed.test(t.data)||(a=this._getOrReturnCtx(t,a),A(a,{validation:"base64",code:v.invalid_string,message:i.message}),n.dirty()):X.assertNever(i);return{status:n.value,value:t.data}}_regex(t,r,n){return this.refinement(a=>t.test(a),{validation:r,code:v.invalid_string,...j.errToObj(n)})}_addCheck(t){return new Ve({...this._def,checks:[...this._def.checks,t]})}email(t){return this._addCheck({kind:"email",...j.errToObj(t)})}url(t){return this._addCheck({kind:"url",...j.errToObj(t)})}emoji(t){return this._addCheck({kind:"emoji",...j.errToObj(t)})}uuid(t){return this._addCheck({kind:"uuid",...j.errToObj(t)})}nanoid(t){return this._addCheck({kind:"nanoid",...j.errToObj(t)})}cuid(t){return this._addCheck({kind:"cuid",...j.errToObj(t)})}cuid2(t){return this._addCheck({kind:"cuid2",...j.errToObj(t)})}ulid(t){return this._addCheck({kind:"ulid",...j.errToObj(t)})}base64(t){return this._addCheck({kind:"base64",...j.errToObj(t)})}ip(t){return this._addCheck({kind:"ip",...j.errToObj(t)})}datetime(t){var r,n;return typeof t=="string"?this._addCheck({kind:"datetime",precision:null,offset:!1,local:!1,message:t}):this._addCheck({kind:"datetime",precision:typeof(t==null?void 0:t.precision)>"u"?null:t==null?void 0:t.precision,offset:(r=t==null?void 0:t.offset)!==null&&r!==void 0?r:!1,local:(n=t==null?void 0:t.local)!==null&&n!==void 0?n:!1,...j.errToObj(t==null?void 0:t.message)})}date(t){return this._addCheck({kind:"date",message:t})}time(t){return typeof t=="string"?this._addCheck({kind:"time",precision:null,message:t}):this._addCheck({kind:"time",precision:typeof(t==null?void 0:t.precision)>"u"?null:t==null?void 0:t.precision,...j.errToObj(t==null?void 0:t.message)})}duration(t){return this._addCheck({kind:"duration",...j.errToObj(t)})}regex(t,r){return this._addCheck({kind:"regex",regex:t,...j.errToObj(r)})}includes(t,r){return this._addCheck({kind:"includes",value:t,position:r==null?void 0:r.position,...j.errToObj(r==null?void 0:r.message)})}startsWith(t,r){return this._addCheck({kind:"startsWith",value:t,...j.errToObj(r)})}endsWith(t,r){return this._addCheck({kind:"endsWith",value:t,...j.errToObj(r)})}min(t,r){return this._addCheck({kind:"min",value:t,...j.errToObj(r)})}max(t,r){return this._addCheck({kind:"max",value:t,...j.errToObj(r)})}length(t,r){return this._addCheck({kind:"length",value:t,...j.errToObj(r)})}nonempty(t){return this.min(1,j.errToObj(t))}trim(){return new Ve({...this._def,checks:[...this._def.checks,{kind:"trim"}]})}toLowerCase(){return new Ve({...this._def,checks:[...this._def.checks,{kind:"toLowerCase"}]})}toUpperCase(){return new Ve({...this._def,checks:[...this._def.checks,{kind:"toUpperCase"}]})}get isDatetime(){return!!this._def.checks.find(t=>t.kind==="datetime")}get isDate(){return!!this._def.checks.find(t=>t.kind==="date")}get isTime(){return!!this._def.checks.find(t=>t.kind==="time")}get isDuration(){return!!this._def.checks.find(t=>t.kind==="duration")}get isEmail(){return!!this._def.checks.find(t=>t.kind==="email")}get isURL(){return!!this._def.checks.find(t=>t.kind==="url")}get isEmoji(){return!!this._def.checks.find(t=>t.kind==="emoji")}get isUUID(){return!!this._def.checks.find(t=>t.kind==="uuid")}get isNANOID(){return!!this._def.checks.find(t=>t.kind==="nanoid")}get isCUID(){return!!this._def.checks.find(t=>t.kind==="cuid")}get isCUID2(){return!!this._def.checks.find(t=>t.kind==="cuid2")}get isULID(){return!!this._def.checks.find(t=>t.kind==="ulid")}get isIP(){return!!this._def.checks.find(t=>t.kind==="ip")}get isBase64(){return!!this._def.checks.find(t=>t.kind==="base64")}get minLength(){let t=null;for(const r of this._def.checks)r.kind==="min"&&(t===null||r.value>t)&&(t=r.value);return t}get maxLength(){let t=null;for(const r of this._def.checks)r.kind==="max"&&(t===null||r.value<t)&&(t=r.value);return t}}Ve.create=e=>{var t;return new Ve({checks:[],typeName:K.ZodString,coerce:(t=e==null?void 0:e.coerce)!==null&&t!==void 0?t:!1,...U(e)})};function ad(e,t){const r=(e.toString().split(".")[1]||"").length,n=(t.toString().split(".")[1]||"").length,a=r>n?r:n,i=parseInt(e.toFixed(a).replace(".","")),s=parseInt(t.toFixed(a).replace(".",""));return i%s/Math.pow(10,a)}class ut extends Y{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte,this.step=this.multipleOf}_parse(t){if(this._def.coerce&&(t.data=Number(t.data)),this._getType(t)!==L.number){const i=this._getOrReturnCtx(t);return A(i,{code:v.invalid_type,expected:L.number,received:i.parsedType}),F}let n;const a=new xe;for(const i of this._def.checks)i.kind==="int"?X.isInteger(t.data)||(n=this._getOrReturnCtx(t,n),A(n,{code:v.invalid_type,expected:"integer",received:"float",message:i.message}),a.dirty()):i.kind==="min"?(i.inclusive?t.data<i.value:t.data<=i.value)&&(n=this._getOrReturnCtx(t,n),A(n,{code:v.too_small,minimum:i.value,type:"number",inclusive:i.inclusive,exact:!1,message:i.message}),a.dirty()):i.kind==="max"?(i.inclusive?t.data>i.value:t.data>=i.value)&&(n=this._getOrReturnCtx(t,n),A(n,{code:v.too_big,maximum:i.value,type:"number",inclusive:i.inclusive,exact:!1,message:i.message}),a.dirty()):i.kind==="multipleOf"?ad(t.data,i.value)!==0&&(n=this._getOrReturnCtx(t,n),A(n,{code:v.not_multiple_of,multipleOf:i.value,message:i.message}),a.dirty()):i.kind==="finite"?Number.isFinite(t.data)||(n=this._getOrReturnCtx(t,n),A(n,{code:v.not_finite,message:i.message}),a.dirty()):X.assertNever(i);return{status:a.value,value:t.data}}gte(t,r){return this.setLimit("min",t,!0,j.toString(r))}gt(t,r){return this.setLimit("min",t,!1,j.toString(r))}lte(t,r){return this.setLimit("max",t,!0,j.toString(r))}lt(t,r){return this.setLimit("max",t,!1,j.toString(r))}setLimit(t,r,n,a){return new ut({...this._def,checks:[...this._def.checks,{kind:t,value:r,inclusive:n,message:j.toString(a)}]})}_addCheck(t){return new ut({...this._def,checks:[...this._def.checks,t]})}int(t){return this._addCheck({kind:"int",message:j.toString(t)})}positive(t){return this._addCheck({kind:"min",value:0,inclusive:!1,message:j.toString(t)})}negative(t){return this._addCheck({kind:"max",value:0,inclusive:!1,message:j.toString(t)})}nonpositive(t){return this._addCheck({kind:"max",value:0,inclusive:!0,message:j.toString(t)})}nonnegative(t){return this._addCheck({kind:"min",value:0,inclusive:!0,message:j.toString(t)})}multipleOf(t,r){return this._addCheck({kind:"multipleOf",value:t,message:j.toString(r)})}finite(t){return this._addCheck({kind:"finite",message:j.toString(t)})}safe(t){return this._addCheck({kind:"min",inclusive:!0,value:Number.MIN_SAFE_INTEGER,message:j.toString(t)})._addCheck({kind:"max",inclusive:!0,value:Number.MAX_SAFE_INTEGER,message:j.toString(t)})}get minValue(){let t=null;for(const r of this._def.checks)r.kind==="min"&&(t===null||r.value>t)&&(t=r.value);return t}get maxValue(){let t=null;for(const r of this._def.checks)r.kind==="max"&&(t===null||r.value<t)&&(t=r.value);return t}get isInt(){return!!this._def.checks.find(t=>t.kind==="int"||t.kind==="multipleOf"&&X.isInteger(t.value))}get isFinite(){let t=null,r=null;for(const n of this._def.checks){if(n.kind==="finite"||n.kind==="int"||n.kind==="multipleOf")return!0;n.kind==="min"?(r===null||n.value>r)&&(r=n.value):n.kind==="max"&&(t===null||n.value<t)&&(t=n.value)}return Number.isFinite(r)&&Number.isFinite(t)}}ut.create=e=>new ut({checks:[],typeName:K.ZodNumber,coerce:(e==null?void 0:e.coerce)||!1,...U(e)});class ct extends Y{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte}_parse(t){if(this._def.coerce&&(t.data=BigInt(t.data)),this._getType(t)!==L.bigint){const i=this._getOrReturnCtx(t);return A(i,{code:v.invalid_type,expected:L.bigint,received:i.parsedType}),F}let n;const a=new xe;for(const i of this._def.checks)i.kind==="min"?(i.inclusive?t.data<i.value:t.data<=i.value)&&(n=this._getOrReturnCtx(t,n),A(n,{code:v.too_small,type:"bigint",minimum:i.value,inclusive:i.inclusive,message:i.message}),a.dirty()):i.kind==="max"?(i.inclusive?t.data>i.value:t.data>=i.value)&&(n=this._getOrReturnCtx(t,n),A(n,{code:v.too_big,type:"bigint",maximum:i.value,inclusive:i.inclusive,message:i.message}),a.dirty()):i.kind==="multipleOf"?t.data%i.value!==BigInt(0)&&(n=this._getOrReturnCtx(t,n),A(n,{code:v.not_multiple_of,multipleOf:i.value,message:i.message}),a.dirty()):X.assertNever(i);return{status:a.value,value:t.data}}gte(t,r){return this.setLimit("min",t,!0,j.toString(r))}gt(t,r){return this.setLimit("min",t,!1,j.toString(r))}lte(t,r){return this.setLimit("max",t,!0,j.toString(r))}lt(t,r){return this.setLimit("max",t,!1,j.toString(r))}setLimit(t,r,n,a){return new ct({...this._def,checks:[...this._def.checks,{kind:t,value:r,inclusive:n,message:j.toString(a)}]})}_addCheck(t){return new ct({...this._def,checks:[...this._def.checks,t]})}positive(t){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!1,message:j.toString(t)})}negative(t){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!1,message:j.toString(t)})}nonpositive(t){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!0,message:j.toString(t)})}nonnegative(t){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!0,message:j.toString(t)})}multipleOf(t,r){return this._addCheck({kind:"multipleOf",value:t,message:j.toString(r)})}get minValue(){let t=null;for(const r of this._def.checks)r.kind==="min"&&(t===null||r.value>t)&&(t=r.value);return t}get maxValue(){let t=null;for(const r of this._def.checks)r.kind==="max"&&(t===null||r.value<t)&&(t=r.value);return t}}ct.create=e=>{var t;return new ct({checks:[],typeName:K.ZodBigInt,coerce:(t=e==null?void 0:e.coerce)!==null&&t!==void 0?t:!1,...U(e)})};class tr extends Y{_parse(t){if(this._def.coerce&&(t.data=!!t.data),this._getType(t)!==L.boolean){const n=this._getOrReturnCtx(t);return A(n,{code:v.invalid_type,expected:L.boolean,received:n.parsedType}),F}return Re(t.data)}}tr.create=e=>new tr({typeName:K.ZodBoolean,coerce:(e==null?void 0:e.coerce)||!1,...U(e)});class Tt extends Y{_parse(t){if(this._def.coerce&&(t.data=new Date(t.data)),this._getType(t)!==L.date){const i=this._getOrReturnCtx(t);return A(i,{code:v.invalid_type,expected:L.date,received:i.parsedType}),F}if(isNaN(t.data.getTime())){const i=this._getOrReturnCtx(t);return A(i,{code:v.invalid_date}),F}const n=new xe;let a;for(const i of this._def.checks)i.kind==="min"?t.data.getTime()<i.value&&(a=this._getOrReturnCtx(t,a),A(a,{code:v.too_small,message:i.message,inclusive:!0,exact:!1,minimum:i.value,type:"date"}),n.dirty()):i.kind==="max"?t.data.getTime()>i.value&&(a=this._getOrReturnCtx(t,a),A(a,{code:v.too_big,message:i.message,inclusive:!0,exact:!1,maximum:i.value,type:"date"}),n.dirty()):X.assertNever(i);return{status:n.value,value:new Date(t.data.getTime())}}_addCheck(t){return new Tt({...this._def,checks:[...this._def.checks,t]})}min(t,r){return this._addCheck({kind:"min",value:t.getTime(),message:j.toString(r)})}max(t,r){return this._addCheck({kind:"max",value:t.getTime(),message:j.toString(r)})}get minDate(){let t=null;for(const r of this._def.checks)r.kind==="min"&&(t===null||r.value>t)&&(t=r.value);return t!=null?new Date(t):null}get maxDate(){let t=null;for(const r of this._def.checks)r.kind==="max"&&(t===null||r.value<t)&&(t=r.value);return t!=null?new Date(t):null}}Tt.create=e=>new Tt({checks:[],coerce:(e==null?void 0:e.coerce)||!1,typeName:K.ZodDate,...U(e)});class Ir extends Y{_parse(t){if(this._getType(t)!==L.symbol){const n=this._getOrReturnCtx(t);return A(n,{code:v.invalid_type,expected:L.symbol,received:n.parsedType}),F}return Re(t.data)}}Ir.create=e=>new Ir({typeName:K.ZodSymbol,...U(e)});class rr extends Y{_parse(t){if(this._getType(t)!==L.undefined){const n=this._getOrReturnCtx(t);return A(n,{code:v.invalid_type,expected:L.undefined,received:n.parsedType}),F}return Re(t.data)}}rr.create=e=>new rr({typeName:K.ZodUndefined,...U(e)});class nr extends Y{_parse(t){if(this._getType(t)!==L.null){const n=this._getOrReturnCtx(t);return A(n,{code:v.invalid_type,expected:L.null,received:n.parsedType}),F}return Re(t.data)}}nr.create=e=>new nr({typeName:K.ZodNull,...U(e)});class $t extends Y{constructor(){super(...arguments),this._any=!0}_parse(t){return Re(t.data)}}$t.create=e=>new $t({typeName:K.ZodAny,...U(e)});class Et extends Y{constructor(){super(...arguments),this._unknown=!0}_parse(t){return Re(t.data)}}Et.create=e=>new Et({typeName:K.ZodUnknown,...U(e)});class tt extends Y{_parse(t){const r=this._getOrReturnCtx(t);return A(r,{code:v.invalid_type,expected:L.never,received:r.parsedType}),F}}tt.create=e=>new tt({typeName:K.ZodNever,...U(e)});class Lr extends Y{_parse(t){if(this._getType(t)!==L.undefined){const n=this._getOrReturnCtx(t);return A(n,{code:v.invalid_type,expected:L.void,received:n.parsedType}),F}return Re(t.data)}}Lr.create=e=>new Lr({typeName:K.ZodVoid,...U(e)});class Ue extends Y{_parse(t){const{ctx:r,status:n}=this._processInputParams(t),a=this._def;if(r.parsedType!==L.array)return A(r,{code:v.invalid_type,expected:L.array,received:r.parsedType}),F;if(a.exactLength!==null){const s=r.data.length>a.exactLength.value,u=r.data.length<a.exactLength.value;(s||u)&&(A(r,{code:s?v.too_big:v.too_small,minimum:u?a.exactLength.value:void 0,maximum:s?a.exactLength.value:void 0,type:"array",inclusive:!0,exact:!0,message:a.exactLength.message}),n.dirty())}if(a.minLength!==null&&r.data.length<a.minLength.value&&(A(r,{code:v.too_small,minimum:a.minLength.value,type:"array",inclusive:!0,exact:!1,message:a.minLength.message}),n.dirty()),a.maxLength!==null&&r.data.length>a.maxLength.value&&(A(r,{code:v.too_big,maximum:a.maxLength.value,type:"array",inclusive:!0,exact:!1,message:a.maxLength.message}),n.dirty()),r.common.async)return Promise.all([...r.data].map((s,u)=>a.type._parseAsync(new We(r,s,r.path,u)))).then(s=>xe.mergeArray(n,s));const i=[...r.data].map((s,u)=>a.type._parseSync(new We(r,s,r.path,u)));return xe.mergeArray(n,i)}get element(){return this._def.type}min(t,r){return new Ue({...this._def,minLength:{value:t,message:j.toString(r)}})}max(t,r){return new Ue({...this._def,maxLength:{value:t,message:j.toString(r)}})}length(t,r){return new Ue({...this._def,exactLength:{value:t,message:j.toString(r)}})}nonempty(t){return this.min(1,t)}}Ue.create=(e,t)=>new Ue({type:e,minLength:null,maxLength:null,exactLength:null,typeName:K.ZodArray,...U(t)});function Dt(e){if(e instanceof de){const t={};for(const r in e.shape){const n=e.shape[r];t[r]=ze.create(Dt(n))}return new de({...e._def,shape:()=>t})}else return e instanceof Ue?new Ue({...e._def,type:Dt(e.element)}):e instanceof ze?ze.create(Dt(e.unwrap())):e instanceof dt?dt.create(Dt(e.unwrap())):e instanceof qe?qe.create(e.items.map(t=>Dt(t))):e}class de extends Y{constructor(){super(...arguments),this._cached=null,this.nonstrict=this.passthrough,this.augment=this.extend}_getCached(){if(this._cached!==null)return this._cached;const t=this._def.shape(),r=X.objectKeys(t);return this._cached={shape:t,keys:r}}_parse(t){if(this._getType(t)!==L.object){const c=this._getOrReturnCtx(t);return A(c,{code:v.invalid_type,expected:L.object,received:c.parsedType}),F}const{status:n,ctx:a}=this._processInputParams(t),{shape:i,keys:s}=this._getCached(),u=[];if(!(this._def.catchall instanceof tt&&this._def.unknownKeys==="strip"))for(const c in a.data)s.includes(c)||u.push(c);const f=[];for(const c of s){const _=i[c],b=a.data[c];f.push({key:{status:"valid",value:c},value:_._parse(new We(a,b,a.path,c)),alwaysSet:c in a.data})}if(this._def.catchall instanceof tt){const c=this._def.unknownKeys;if(c==="passthrough")for(const _ of u)f.push({key:{status:"valid",value:_},value:{status:"valid",value:a.data[_]}});else if(c==="strict")u.length>0&&(A(a,{code:v.unrecognized_keys,keys:u}),n.dirty());else if(c!=="strip")throw new Error("Internal ZodObject error: invalid unknownKeys value.")}else{const c=this._def.catchall;for(const _ of u){const b=a.data[_];f.push({key:{status:"valid",value:_},value:c._parse(new We(a,b,a.path,_)),alwaysSet:_ in a.data})}}return a.common.async?Promise.resolve().then(async()=>{const c=[];for(const _ of f){const b=await _.key,E=await _.value;c.push({key:b,value:E,alwaysSet:_.alwaysSet})}return c}).then(c=>xe.mergeObjectSync(n,c)):xe.mergeObjectSync(n,f)}get shape(){return this._def.shape()}strict(t){return j.errToObj,new de({...this._def,unknownKeys:"strict",...t!==void 0?{errorMap:(r,n)=>{var a,i,s,u;const f=(s=(i=(a=this._def).errorMap)===null||i===void 0?void 0:i.call(a,r,n).message)!==null&&s!==void 0?s:n.defaultError;return r.code==="unrecognized_keys"?{message:(u=j.errToObj(t).message)!==null&&u!==void 0?u:f}:{message:f}}}:{}})}strip(){return new de({...this._def,unknownKeys:"strip"})}passthrough(){return new de({...this._def,unknownKeys:"passthrough"})}extend(t){return new de({...this._def,shape:()=>({...this._def.shape(),...t})})}merge(t){return new de({unknownKeys:t._def.unknownKeys,catchall:t._def.catchall,shape:()=>({...this._def.shape(),...t._def.shape()}),typeName:K.ZodObject})}setKey(t,r){return this.augment({[t]:r})}catchall(t){return new de({...this._def,catchall:t})}pick(t){const r={};return X.objectKeys(t).forEach(n=>{t[n]&&this.shape[n]&&(r[n]=this.shape[n])}),new de({...this._def,shape:()=>r})}omit(t){const r={};return X.objectKeys(this.shape).forEach(n=>{t[n]||(r[n]=this.shape[n])}),new de({...this._def,shape:()=>r})}deepPartial(){return Dt(this)}partial(t){const r={};return X.objectKeys(this.shape).forEach(n=>{const a=this.shape[n];t&&!t[n]?r[n]=a:r[n]=a.optional()}),new de({...this._def,shape:()=>r})}required(t){const r={};return X.objectKeys(this.shape).forEach(n=>{if(t&&!t[n])r[n]=this.shape[n];else{let i=this.shape[n];for(;i instanceof ze;)i=i._def.innerType;r[n]=i}}),new de({...this._def,shape:()=>r})}keyof(){return fi(X.objectKeys(this.shape))}}de.create=(e,t)=>new de({shape:()=>e,unknownKeys:"strip",catchall:tt.create(),typeName:K.ZodObject,...U(t)});de.strictCreate=(e,t)=>new de({shape:()=>e,unknownKeys:"strict",catchall:tt.create(),typeName:K.ZodObject,...U(t)});de.lazycreate=(e,t)=>new de({shape:e,unknownKeys:"strip",catchall:tt.create(),typeName:K.ZodObject,...U(t)});class ar extends Y{_parse(t){const{ctx:r}=this._processInputParams(t),n=this._def.options;function a(i){for(const u of i)if(u.result.status==="valid")return u.result;for(const u of i)if(u.result.status==="dirty")return r.common.issues.push(...u.ctx.common.issues),u.result;const s=i.map(u=>new ke(u.ctx.common.issues));return A(r,{code:v.invalid_union,unionErrors:s}),F}if(r.common.async)return Promise.all(n.map(async i=>{const s={...r,common:{...r.common,issues:[]},parent:null};return{result:await i._parseAsync({data:r.data,path:r.path,parent:s}),ctx:s}})).then(a);{let i;const s=[];for(const f of n){const c={...r,common:{...r.common,issues:[]},parent:null},_=f._parseSync({data:r.data,path:r.path,parent:c});if(_.status==="valid")return _;_.status==="dirty"&&!i&&(i={result:_,ctx:c}),c.common.issues.length&&s.push(c.common.issues)}if(i)return r.common.issues.push(...i.ctx.common.issues),i.result;const u=s.map(f=>new ke(f));return A(r,{code:v.invalid_union,unionErrors:u}),F}}get options(){return this._def.options}}ar.create=(e,t)=>new ar({options:e,typeName:K.ZodUnion,...U(t)});const Qe=e=>e instanceof or?Qe(e.schema):e instanceof Ze?Qe(e.innerType()):e instanceof ur?[e.value]:e instanceof lt?e.options:e instanceof cr?X.objectValues(e.enum):e instanceof lr?Qe(e._def.innerType):e instanceof rr?[void 0]:e instanceof nr?[null]:e instanceof ze?[void 0,...Qe(e.unwrap())]:e instanceof dt?[null,...Qe(e.unwrap())]:e instanceof Rn||e instanceof fr?Qe(e.unwrap()):e instanceof dr?Qe(e._def.innerType):[];class Mr extends Y{_parse(t){const{ctx:r}=this._processInputParams(t);if(r.parsedType!==L.object)return A(r,{code:v.invalid_type,expected:L.object,received:r.parsedType}),F;const n=this.discriminator,a=r.data[n],i=this.optionsMap.get(a);return i?r.common.async?i._parseAsync({data:r.data,path:r.path,parent:r}):i._parseSync({data:r.data,path:r.path,parent:r}):(A(r,{code:v.invalid_union_discriminator,options:Array.from(this.optionsMap.keys()),path:[n]}),F)}get discriminator(){return this._def.discriminator}get options(){return this._def.options}get optionsMap(){return this._def.optionsMap}static create(t,r,n){const a=new Map;for(const i of r){const s=Qe(i.shape[t]);if(!s.length)throw new Error(`A discriminator value for key \`${t}\` could not be extracted from all schema options`);for(const u of s){if(a.has(u))throw new Error(`Discriminator property ${String(t)} has duplicate value ${String(u)}`);a.set(u,i)}}return new Mr({typeName:K.ZodDiscriminatedUnion,discriminator:t,options:r,optionsMap:a,...U(n)})}}function vn(e,t){const r=it(e),n=it(t);if(e===t)return{valid:!0,data:e};if(r===L.object&&n===L.object){const a=X.objectKeys(t),i=X.objectKeys(e).filter(u=>a.indexOf(u)!==-1),s={...e,...t};for(const u of i){const f=vn(e[u],t[u]);if(!f.valid)return{valid:!1};s[u]=f.data}return{valid:!0,data:s}}else if(r===L.array&&n===L.array){if(e.length!==t.length)return{valid:!1};const a=[];for(let i=0;i<e.length;i++){const s=e[i],u=t[i],f=vn(s,u);if(!f.valid)return{valid:!1};a.push(f.data)}return{valid:!0,data:a}}else return r===L.date&&n===L.date&&+e==+t?{valid:!0,data:e}:{valid:!1}}class ir extends Y{_parse(t){const{status:r,ctx:n}=this._processInputParams(t),a=(i,s)=>{if(mn(i)||mn(s))return F;const u=vn(i.value,s.value);return u.valid?((yn(i)||yn(s))&&r.dirty(),{status:r.value,value:u.data}):(A(n,{code:v.invalid_intersection_types}),F)};return n.common.async?Promise.all([this._def.left._parseAsync({data:n.data,path:n.path,parent:n}),this._def.right._parseAsync({data:n.data,path:n.path,parent:n})]).then(([i,s])=>a(i,s)):a(this._def.left._parseSync({data:n.data,path:n.path,parent:n}),this._def.right._parseSync({data:n.data,path:n.path,parent:n}))}}ir.create=(e,t,r)=>new ir({left:e,right:t,typeName:K.ZodIntersection,...U(r)});class qe extends Y{_parse(t){const{status:r,ctx:n}=this._processInputParams(t);if(n.parsedType!==L.array)return A(n,{code:v.invalid_type,expected:L.array,received:n.parsedType}),F;if(n.data.length<this._def.items.length)return A(n,{code:v.too_small,minimum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),F;!this._def.rest&&n.data.length>this._def.items.length&&(A(n,{code:v.too_big,maximum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),r.dirty());const i=[...n.data].map((s,u)=>{const f=this._def.items[u]||this._def.rest;return f?f._parse(new We(n,s,n.path,u)):null}).filter(s=>!!s);return n.common.async?Promise.all(i).then(s=>xe.mergeArray(r,s)):xe.mergeArray(r,i)}get items(){return this._def.items}rest(t){return new qe({...this._def,rest:t})}}qe.create=(e,t)=>{if(!Array.isArray(e))throw new Error("You must pass an array of schemas to z.tuple([ ... ])");return new qe({items:e,typeName:K.ZodTuple,rest:null,...U(t)})};class sr extends Y{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(t){const{status:r,ctx:n}=this._processInputParams(t);if(n.parsedType!==L.object)return A(n,{code:v.invalid_type,expected:L.object,received:n.parsedType}),F;const a=[],i=this._def.keyType,s=this._def.valueType;for(const u in n.data)a.push({key:i._parse(new We(n,u,n.path,u)),value:s._parse(new We(n,n.data[u],n.path,u)),alwaysSet:u in n.data});return n.common.async?xe.mergeObjectAsync(r,a):xe.mergeObjectSync(r,a)}get element(){return this._def.valueType}static create(t,r,n){return r instanceof Y?new sr({keyType:t,valueType:r,typeName:K.ZodRecord,...U(n)}):new sr({keyType:Ve.create(),valueType:t,typeName:K.ZodRecord,...U(r)})}}class Rr extends Y{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(t){const{status:r,ctx:n}=this._processInputParams(t);if(n.parsedType!==L.map)return A(n,{code:v.invalid_type,expected:L.map,received:n.parsedType}),F;const a=this._def.keyType,i=this._def.valueType,s=[...n.data.entries()].map(([u,f],c)=>({key:a._parse(new We(n,u,n.path,[c,"key"])),value:i._parse(new We(n,f,n.path,[c,"value"]))}));if(n.common.async){const u=new Map;return Promise.resolve().then(async()=>{for(const f of s){const c=await f.key,_=await f.value;if(c.status==="aborted"||_.status==="aborted")return F;(c.status==="dirty"||_.status==="dirty")&&r.dirty(),u.set(c.value,_.value)}return{status:r.value,value:u}})}else{const u=new Map;for(const f of s){const c=f.key,_=f.value;if(c.status==="aborted"||_.status==="aborted")return F;(c.status==="dirty"||_.status==="dirty")&&r.dirty(),u.set(c.value,_.value)}return{status:r.value,value:u}}}}Rr.create=(e,t,r)=>new Rr({valueType:t,keyType:e,typeName:K.ZodMap,...U(r)});class Ot extends Y{_parse(t){const{status:r,ctx:n}=this._processInputParams(t);if(n.parsedType!==L.set)return A(n,{code:v.invalid_type,expected:L.set,received:n.parsedType}),F;const a=this._def;a.minSize!==null&&n.data.size<a.minSize.value&&(A(n,{code:v.too_small,minimum:a.minSize.value,type:"set",inclusive:!0,exact:!1,message:a.minSize.message}),r.dirty()),a.maxSize!==null&&n.data.size>a.maxSize.value&&(A(n,{code:v.too_big,maximum:a.maxSize.value,type:"set",inclusive:!0,exact:!1,message:a.maxSize.message}),r.dirty());const i=this._def.valueType;function s(f){const c=new Set;for(const _ of f){if(_.status==="aborted")return F;_.status==="dirty"&&r.dirty(),c.add(_.value)}return{status:r.value,value:c}}const u=[...n.data.values()].map((f,c)=>i._parse(new We(n,f,n.path,c)));return n.common.async?Promise.all(u).then(f=>s(f)):s(u)}min(t,r){return new Ot({...this._def,minSize:{value:t,message:j.toString(r)}})}max(t,r){return new Ot({...this._def,maxSize:{value:t,message:j.toString(r)}})}size(t,r){return this.min(t,r).max(t,r)}nonempty(t){return this.min(1,t)}}Ot.create=(e,t)=>new Ot({valueType:e,minSize:null,maxSize:null,typeName:K.ZodSet,...U(t)});class kt extends Y{constructor(){super(...arguments),this.validate=this.implement}_parse(t){const{ctx:r}=this._processInputParams(t);if(r.parsedType!==L.function)return A(r,{code:v.invalid_type,expected:L.function,received:r.parsedType}),F;function n(u,f){return Ar({data:u,path:r.path,errorMaps:[r.common.contextualErrorMap,r.schemaErrorMap,Cr(),Mt].filter(c=>!!c),issueData:{code:v.invalid_arguments,argumentsError:f}})}function a(u,f){return Ar({data:u,path:r.path,errorMaps:[r.common.contextualErrorMap,r.schemaErrorMap,Cr(),Mt].filter(c=>!!c),issueData:{code:v.invalid_return_type,returnTypeError:f}})}const i={errorMap:r.common.contextualErrorMap},s=r.data;if(this._def.returns instanceof Kt){const u=this;return Re(async function(...f){const c=new ke([]),_=await u._def.args.parseAsync(f,i).catch(k=>{throw c.addIssue(n(f,k)),c}),b=await Reflect.apply(s,this,_);return await u._def.returns._def.type.parseAsync(b,i).catch(k=>{throw c.addIssue(a(b,k)),c})})}else{const u=this;return Re(function(...f){const c=u._def.args.safeParse(f,i);if(!c.success)throw new ke([n(f,c.error)]);const _=Reflect.apply(s,this,c.data),b=u._def.returns.safeParse(_,i);if(!b.success)throw new ke([a(_,b.error)]);return b.data})}}parameters(){return this._def.args}returnType(){return this._def.returns}args(...t){return new kt({...this._def,args:qe.create(t).rest(Et.create())})}returns(t){return new kt({...this._def,returns:t})}implement(t){return this.parse(t)}strictImplement(t){return this.parse(t)}static create(t,r,n){return new kt({args:t||qe.create([]).rest(Et.create()),returns:r||Et.create(),typeName:K.ZodFunction,...U(n)})}}class or extends Y{get schema(){return this._def.getter()}_parse(t){const{ctx:r}=this._processInputParams(t);return this._def.getter()._parse({data:r.data,path:r.path,parent:r})}}or.create=(e,t)=>new or({getter:e,typeName:K.ZodLazy,...U(t)});class ur extends Y{_parse(t){if(t.data!==this._def.value){const r=this._getOrReturnCtx(t);return A(r,{received:r.data,code:v.invalid_literal,expected:this._def.value}),F}return{status:"valid",value:t.data}}get value(){return this._def.value}}ur.create=(e,t)=>new ur({value:e,typeName:K.ZodLiteral,...U(t)});function fi(e,t){return new lt({values:e,typeName:K.ZodEnum,...U(t)})}class lt extends Y{constructor(){super(...arguments),Gt.set(this,void 0)}_parse(t){if(typeof t.data!="string"){const r=this._getOrReturnCtx(t),n=this._def.values;return A(r,{expected:X.joinValues(n),received:r.parsedType,code:v.invalid_type}),F}if(xr(this,Gt)||ui(this,Gt,new Set(this._def.values)),!xr(this,Gt).has(t.data)){const r=this._getOrReturnCtx(t),n=this._def.values;return A(r,{received:r.data,code:v.invalid_enum_value,options:n}),F}return Re(t.data)}get options(){return this._def.values}get enum(){const t={};for(const r of this._def.values)t[r]=r;return t}get Values(){const t={};for(const r of this._def.values)t[r]=r;return t}get Enum(){const t={};for(const r of this._def.values)t[r]=r;return t}extract(t,r=this._def){return lt.create(t,{...this._def,...r})}exclude(t,r=this._def){return lt.create(this.options.filter(n=>!t.includes(n)),{...this._def,...r})}}Gt=new WeakMap;lt.create=fi;class cr extends Y{constructor(){super(...arguments),Yt.set(this,void 0)}_parse(t){const r=X.getValidEnumValues(this._def.values),n=this._getOrReturnCtx(t);if(n.parsedType!==L.string&&n.parsedType!==L.number){const a=X.objectValues(r);return A(n,{expected:X.joinValues(a),received:n.parsedType,code:v.invalid_type}),F}if(xr(this,Yt)||ui(this,Yt,new Set(X.getValidEnumValues(this._def.values))),!xr(this,Yt).has(t.data)){const a=X.objectValues(r);return A(n,{received:n.data,code:v.invalid_enum_value,options:a}),F}return Re(t.data)}get enum(){return this._def.values}}Yt=new WeakMap;cr.create=(e,t)=>new cr({values:e,typeName:K.ZodNativeEnum,...U(t)});class Kt extends Y{unwrap(){return this._def.type}_parse(t){const{ctx:r}=this._processInputParams(t);if(r.parsedType!==L.promise&&r.common.async===!1)return A(r,{code:v.invalid_type,expected:L.promise,received:r.parsedType}),F;const n=r.parsedType===L.promise?r.data:Promise.resolve(r.data);return Re(n.then(a=>this._def.type.parseAsync(a,{path:r.path,errorMap:r.common.contextualErrorMap})))}}Kt.create=(e,t)=>new Kt({type:e,typeName:K.ZodPromise,...U(t)});class Ze extends Y{innerType(){return this._def.schema}sourceType(){return this._def.schema._def.typeName===K.ZodEffects?this._def.schema.sourceType():this._def.schema}_parse(t){const{status:r,ctx:n}=this._processInputParams(t),a=this._def.effect||null,i={addIssue:s=>{A(n,s),s.fatal?r.abort():r.dirty()},get path(){return n.path}};if(i.addIssue=i.addIssue.bind(i),a.type==="preprocess"){const s=a.transform(n.data,i);if(n.common.async)return Promise.resolve(s).then(async u=>{if(r.value==="aborted")return F;const f=await this._def.schema._parseAsync({data:u,path:n.path,parent:n});return f.status==="aborted"?F:f.status==="dirty"||r.value==="dirty"?Pt(f.value):f});{if(r.value==="aborted")return F;const u=this._def.schema._parseSync({data:s,path:n.path,parent:n});return u.status==="aborted"?F:u.status==="dirty"||r.value==="dirty"?Pt(u.value):u}}if(a.type==="refinement"){const s=u=>{const f=a.refinement(u,i);if(n.common.async)return Promise.resolve(f);if(f instanceof Promise)throw new Error("Async refinement encountered during synchronous parse operation. Use .parseAsync instead.");return u};if(n.common.async===!1){const u=this._def.schema._parseSync({data:n.data,path:n.path,parent:n});return u.status==="aborted"?F:(u.status==="dirty"&&r.dirty(),s(u.value),{status:r.value,value:u.value})}else return this._def.schema._parseAsync({data:n.data,path:n.path,parent:n}).then(u=>u.status==="aborted"?F:(u.status==="dirty"&&r.dirty(),s(u.value).then(()=>({status:r.value,value:u.value}))))}if(a.type==="transform")if(n.common.async===!1){const s=this._def.schema._parseSync({data:n.data,path:n.path,parent:n});if(!Qt(s))return s;const u=a.transform(s.value,i);if(u instanceof Promise)throw new Error("Asynchronous transform encountered during synchronous parse operation. Use .parseAsync instead.");return{status:r.value,value:u}}else return this._def.schema._parseAsync({data:n.data,path:n.path,parent:n}).then(s=>Qt(s)?Promise.resolve(a.transform(s.value,i)).then(u=>({status:r.value,value:u})):s);X.assertNever(a)}}Ze.create=(e,t,r)=>new Ze({schema:e,typeName:K.ZodEffects,effect:t,...U(r)});Ze.createWithPreprocess=(e,t,r)=>new Ze({schema:t,effect:{type:"preprocess",transform:e},typeName:K.ZodEffects,...U(r)});class ze extends Y{_parse(t){return this._getType(t)===L.undefined?Re(void 0):this._def.innerType._parse(t)}unwrap(){return this._def.innerType}}ze.create=(e,t)=>new ze({innerType:e,typeName:K.ZodOptional,...U(t)});class dt extends Y{_parse(t){return this._getType(t)===L.null?Re(null):this._def.innerType._parse(t)}unwrap(){return this._def.innerType}}dt.create=(e,t)=>new dt({innerType:e,typeName:K.ZodNullable,...U(t)});class lr extends Y{_parse(t){const{ctx:r}=this._processInputParams(t);let n=r.data;return r.parsedType===L.undefined&&(n=this._def.defaultValue()),this._def.innerType._parse({data:n,path:r.path,parent:r})}removeDefault(){return this._def.innerType}}lr.create=(e,t)=>new lr({innerType:e,typeName:K.ZodDefault,defaultValue:typeof t.default=="function"?t.default:()=>t.default,...U(t)});class dr extends Y{_parse(t){const{ctx:r}=this._processInputParams(t),n={...r,common:{...r.common,issues:[]}},a=this._def.innerType._parse({data:n.data,path:n.path,parent:{...n}});return er(a)?a.then(i=>({status:"valid",value:i.status==="valid"?i.value:this._def.catchValue({get error(){return new ke(n.common.issues)},input:n.data})})):{status:"valid",value:a.status==="valid"?a.value:this._def.catchValue({get error(){return new ke(n.common.issues)},input:n.data})}}removeCatch(){return this._def.innerType}}dr.create=(e,t)=>new dr({innerType:e,typeName:K.ZodCatch,catchValue:typeof t.catch=="function"?t.catch:()=>t.catch,...U(t)});class wr extends Y{_parse(t){if(this._getType(t)!==L.nan){const n=this._getOrReturnCtx(t);return A(n,{code:v.invalid_type,expected:L.nan,received:n.parsedType}),F}return{status:"valid",value:t.data}}}wr.create=e=>new wr({typeName:K.ZodNaN,...U(e)});const id=Symbol("zod_brand");class Rn extends Y{_parse(t){const{ctx:r}=this._processInputParams(t),n=r.data;return this._def.type._parse({data:n,path:r.path,parent:r})}unwrap(){return this._def.type}}class yr extends Y{_parse(t){const{status:r,ctx:n}=this._processInputParams(t);if(n.common.async)return(async()=>{const i=await this._def.in._parseAsync({data:n.data,path:n.path,parent:n});return i.status==="aborted"?F:i.status==="dirty"?(r.dirty(),Pt(i.value)):this._def.out._parseAsync({data:i.value,path:n.path,parent:n})})();{const a=this._def.in._parseSync({data:n.data,path:n.path,parent:n});return a.status==="aborted"?F:a.status==="dirty"?(r.dirty(),{status:"dirty",value:a.value}):this._def.out._parseSync({data:a.value,path:n.path,parent:n})}}static create(t,r){return new yr({in:t,out:r,typeName:K.ZodPipeline})}}class fr extends Y{_parse(t){const r=this._def.innerType._parse(t),n=a=>(Qt(a)&&(a.value=Object.freeze(a.value)),a);return er(r)?r.then(a=>n(a)):n(r)}unwrap(){return this._def.innerType}}fr.create=(e,t)=>new fr({innerType:e,typeName:K.ZodReadonly,...U(t)});function hi(e,t={},r){return e?$t.create().superRefine((n,a)=>{var i,s;if(!e(n)){const u=typeof t=="function"?t(n):typeof t=="string"?{message:t}:t,f=(s=(i=u.fatal)!==null&&i!==void 0?i:r)!==null&&s!==void 0?s:!0,c=typeof u=="string"?{message:u}:u;a.addIssue({code:"custom",...c,fatal:f})}}):$t.create()}const sd={object:de.lazycreate};var K;(function(e){e.ZodString="ZodString",e.ZodNumber="ZodNumber",e.ZodNaN="ZodNaN",e.ZodBigInt="ZodBigInt",e.ZodBoolean="ZodBoolean",e.ZodDate="ZodDate",e.ZodSymbol="ZodSymbol",e.ZodUndefined="ZodUndefined",e.ZodNull="ZodNull",e.ZodAny="ZodAny",e.ZodUnknown="ZodUnknown",e.ZodNever="ZodNever",e.ZodVoid="ZodVoid",e.ZodArray="ZodArray",e.ZodObject="ZodObject",e.ZodUnion="ZodUnion",e.ZodDiscriminatedUnion="ZodDiscriminatedUnion",e.ZodIntersection="ZodIntersection",e.ZodTuple="ZodTuple",e.ZodRecord="ZodRecord",e.ZodMap="ZodMap",e.ZodSet="ZodSet",e.ZodFunction="ZodFunction",e.ZodLazy="ZodLazy",e.ZodLiteral="ZodLiteral",e.ZodEnum="ZodEnum",e.ZodEffects="ZodEffects",e.ZodNativeEnum="ZodNativeEnum",e.ZodOptional="ZodOptional",e.ZodNullable="ZodNullable",e.ZodDefault="ZodDefault",e.ZodCatch="ZodCatch",e.ZodPromise="ZodPromise",e.ZodBranded="ZodBranded",e.ZodPipeline="ZodPipeline",e.ZodReadonly="ZodReadonly"})(K||(K={}));const od=(e,t={message:`Input not instance of ${e.name}`})=>hi(r=>r instanceof e,t),pi=Ve.create,_i=ut.create,ud=wr.create,cd=ct.create,mi=tr.create,ld=Tt.create,dd=Ir.create,fd=rr.create,hd=nr.create,pd=$t.create,_d=Et.create,md=tt.create,yd=Lr.create,vd=Ue.create,gd=de.create,Ed=de.strictCreate,Sd=ar.create,bd=Mr.create,Td=ir.create,Od=qe.create,Cd=sr.create,Ad=Rr.create,xd=Ot.create,Id=kt.create,Ld=or.create,Rd=ur.create,wd=lt.create,Nd=cr.create,Dd=Kt.create,ba=Ze.create,jd=ze.create,Pd=dt.create,kd=Ze.createWithPreprocess,Bd=yr.create,Md=()=>pi().optional(),$d=()=>_i().optional(),Kd=()=>mi().optional(),Fd={string:e=>Ve.create({...e,coerce:!0}),number:e=>ut.create({...e,coerce:!0}),boolean:e=>tr.create({...e,coerce:!0}),bigint:e=>ct.create({...e,coerce:!0}),date:e=>Tt.create({...e,coerce:!0})},Hd=F;var en=Object.freeze({__proto__:null,defaultErrorMap:Mt,setErrorMap:Hl,getErrorMap:Cr,makeIssue:Ar,EMPTY_PATH:Vl,addIssueToContext:A,ParseStatus:xe,INVALID:F,DIRTY:Pt,OK:Re,isAborted:mn,isDirty:yn,isValid:Qt,isAsync:er,get util(){return X},get objectUtil(){return _n},ZodParsedType:L,getParsedType:it,ZodType:Y,datetimeRegex:di,ZodString:Ve,ZodNumber:ut,ZodBigInt:ct,ZodBoolean:tr,ZodDate:Tt,ZodSymbol:Ir,ZodUndefined:rr,ZodNull:nr,ZodAny:$t,ZodUnknown:Et,ZodNever:tt,ZodVoid:Lr,ZodArray:Ue,ZodObject:de,ZodUnion:ar,ZodDiscriminatedUnion:Mr,ZodIntersection:ir,ZodTuple:qe,ZodRecord:sr,ZodMap:Rr,ZodSet:Ot,ZodFunction:kt,ZodLazy:or,ZodLiteral:ur,ZodEnum:lt,ZodNativeEnum:cr,ZodPromise:Kt,ZodEffects:Ze,ZodTransformer:Ze,ZodOptional:ze,ZodNullable:dt,ZodDefault:lr,ZodCatch:dr,ZodNaN:wr,BRAND:id,ZodBranded:Rn,ZodPipeline:yr,ZodReadonly:fr,custom:hi,Schema:Y,ZodSchema:Y,late:sd,get ZodFirstPartyTypeKind(){return K},coerce:Fd,any:pd,array:vd,bigint:cd,boolean:mi,date:ld,discriminatedUnion:bd,effect:ba,enum:wd,function:Id,instanceof:od,intersection:Td,lazy:Ld,literal:Rd,map:Ad,nan:ud,nativeEnum:Nd,never:md,null:hd,nullable:Pd,number:_i,object:gd,oboolean:Kd,onumber:$d,optional:jd,ostring:Md,pipeline:Bd,preprocess:kd,promise:Dd,record:Cd,set:xd,strictObject:Ed,string:pi,symbol:dd,transformer:ba,tuple:Od,undefined:fd,union:Sd,unknown:_d,void:yd,NEVER:Hd,ZodIssueCode:v,quotelessJson:Fl,ZodError:ke}),St={},Vd=be&&be.__extends||function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,a){n.__proto__=a}||function(n,a){for(var i in a)Object.prototype.hasOwnProperty.call(a,i)&&(n[i]=a[i])},e(t,r)};return function(t,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");e(t,r);function n(){this.constructor=t}t.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}(),yi=be&&be.__awaiter||function(e,t,r,n){function a(i){return i instanceof r?i:new r(function(s){s(i)})}return new(r||(r=Promise))(function(i,s){function u(_){try{c(n.next(_))}catch(b){s(b)}}function f(_){try{c(n.throw(_))}catch(b){s(b)}}function c(_){_.done?i(_.value):a(_.value).then(u,f)}c((n=n.apply(e,t||[])).next())})},vi=be&&be.__generator||function(e,t){var r={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},n,a,i,s;return s={next:u(0),throw:u(1),return:u(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function u(c){return function(_){return f([c,_])}}function f(c){if(n)throw new TypeError("Generator is already executing.");for(;r;)try{if(n=1,a&&(i=c[0]&2?a.return:c[0]?a.throw||((i=a.return)&&i.call(a),0):a.next)&&!(i=i.call(a,c[1])).done)return i;switch(a=0,i&&(c=[c[0]&2,i.value]),c[0]){case 0:case 1:i=c;break;case 4:return r.label++,{value:c[1],done:!1};case 5:r.label++,a=c[1],c=[0];continue;case 7:c=r.ops.pop(),r.trys.pop();continue;default:if(i=r.trys,!(i=i.length>0&&i[i.length-1])&&(c[0]===6||c[0]===2)){r=0;continue}if(c[0]===3&&(!i||c[1]>i[0]&&c[1]<i[3])){r.label=c[1];break}if(c[0]===6&&r.label<i[1]){r.label=i[1],i=c;break}if(i&&r.label<i[2]){r.label=i[2],r.ops.push(c);break}i[2]&&r.ops.pop(),r.trys.pop();continue}c=t.call(e,r)}catch(_){c=[6,_],a=0}finally{n=i=0}if(c[0]&5)throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}};Object.defineProperty(St,"__esModule",{value:!0});St.toFormikValidate=Ei=St.toFormikValidationSchema=St.ValidationError=void 0;var gi=function(e){Vd(t,e);function t(r){var n=e.call(this,r)||this;return n.name="ValidationError",n.inner=[],n}return t}(Error);St.ValidationError=gi;function Ud(e){var t=new gi(e.message);return t.inner=e.errors.map(function(r){return{message:r.message,path:r.path.join(".")}}),t}function Zd(e,t){return{validate:function(r){return yi(this,void 0,void 0,function(){var n;return vi(this,function(a){switch(a.label){case 0:return a.trys.push([0,2,,3]),[4,e.parseAsync(r,t)];case 1:return a.sent(),[3,3];case 2:throw n=a.sent(),Ud(n);case 3:return[2]}})})}}}var Ei=St.toFormikValidationSchema=Zd;function Gd(e){for(var t={},r=0,n=e.errors;r<n.length;r++){var a=n[r];t[a.path.filter(Boolean).join(".")]=a.message}return t}function Yd(e,t){var r=this;return function(n){return yi(r,void 0,void 0,function(){var a;return vi(this,function(i){switch(i.label){case 0:return[4,e.safeParseAsync(n,t)];case 1:return a=i.sent(),a.success?[2]:[2,Gd(a.error)]}})})}}St.toFormikValidate=Yd;const zd="_root_hqa63_106",Wd="_root__body_hqa63_111",qd="_root__form_hqa63_114",tn={root:zd,root__body:Wd,root__form:qd},Ye={amountPicker:"amountPicker",cta:"cta",headline:"headline",legalCheckbox:"legalCheckbox",paymentMethods:"paymentMethods",priceDescription:"priceDescription",selectablePills:"selectablePills",submitButton:"submitButton",switcherToggle:"switcherToggle"},Jd="_root_djxhx_106",Xd={root:Jd},Qd=({errorMessage:e,id:t,onChange:r,value:n})=>h.jsx($.Fieldset,{className:Xd.root,name:t,children:h.jsx($.InputFieldSpecial,{id:t,onChange:r,value:n,errorMessage:e})}),ef="_root_1eoke_106",tf={root:ef},rf=({data:{label:e,url:t}})=>h.jsx($.Fieldset,{className:tf.root,children:h.jsx($.TextButton,{href:t,size:"link",text:e,color:"deepPurple",target:"_blank"})}),nf="_root_11cj3_106",af="_root__blockHeader_11cj3_111",sf="_root__block_11cj3_111",rn={root:nf,root__blockHeader:af,root__block:sf},of=({data:{buttonText:e,content:t,date:r,headline:n,version:a},onClose:i,open:s})=>{const u=()=>{i&&i(!s)};return h.jsx($.Modal,{headerTitle:n,onClose:u,open:s,closeButtonText:e,modalBody:h.jsx($.Card,{children:h.jsx($.CardBody,{className:rn.root,children:h.jsxs(h.Fragment,{children:[h.jsxs("div",{className:rn.root__blockHeader,children:[h.jsx($.Typography,{type:"body-regular",children:a}),h.jsx($.Typography,{type:"body-regular",children:r})]}),h.jsx($.Divider,{}),t.map((f,c)=>h.jsxs(N.Fragment,{children:[h.jsx("div",{className:rn.root__block,children:f}),c!==t.length-1&&h.jsx($.Divider,{})]},`rich_text_el_${c}`))]})})})})},uf="_headline_drix0_106",cf={headline:uf},lf=({data:{headline:e,subheadline:t}})=>h.jsxs($.Fieldset,{className:cf.headline,children:[h.jsx($.Typography,{type:"h1",children:e}),h.jsx($.Typography,{type:"body-regular",children:t})]}),df="_root_1h3u8_106",ff="_root__img_1h3u8_113",Ta={root:df,root__img:ff},Oa=({data:{alt:e,src:t}})=>h.jsx("div",{className:Ta.root,"data-testid":"hero-block",children:h.jsx("img",{className:Ta.root__img,alt:e,src:t})}),hf="_root_17dyb_106",pf="_root__checkbox_17dyb_114",_f="_root__text_17dyb_120",mf="_root__error_17dyb_125",yf="_root__link_17dyb_135",yt={root:hf,root__checkbox:pf,root__text:_f,root__error:mf,"root--error":"_root--error_17dyb_132",root__link:yf},vf=({data:{buttonLabel:e,label:t,layout:r},error:n,onChange:a,onClick:i})=>{const s=()=>{i&&i(!0)};return h.jsxs($.Fieldset,{className:yt.root,children:[r?h.jsx($.CheckboxInput,{onChange:a,id:"legal_checkbox",className:st(yt.root__checkbox,{[yt["root--error"]]:n}),children:h.jsxs($.Typography,{type:n?"detail-regular":"detail-medium",as:"p",children:[t," ",h.jsx($.TextButton,{className:yt.root__link,onClick:s,size:"small",text:e,color:"deepPurple"})]})}):h.jsxs($.Typography,{className:yt.root__text,type:n?"detail-regular":"detail-medium",as:"p",children:[t," ",h.jsx($.TextButton,{className:yt.root__link,onClick:s,size:"small",text:e,color:"deepPurple"})]}),n&&h.jsx($.Typography,{className:yt.root__error,type:"detail-bold",as:"p",children:n})]})},gf="_root_v48kl_106",Ef="_root__item_v48kl_112",Sf="_root__img_v48kl_117",nn={root:gf,root__item:Ef,root__img:Sf},bf=({methods:e})=>h.jsx($.Fieldset,{children:h.jsx("ul",{className:nn.root,children:e.map(({alt:t,id:r,src:n},a)=>h.jsx("li",{className:nn.root__item,children:h.jsx("img",{className:nn.root__img,src:n,alt:t})},`payments_${r}_${a}`))})}),Tf="_root_1u00k_106",Of={root:Tf},Cf=({label:e})=>h.jsx($.Fieldset,{className:Of.root,children:h.jsx($.Typography,{type:"detail-medium",children:e})}),Af="_root_1b4kl_106",xf={root:Af},If=({onChange:e,selectablePills:t,selectedPills:r})=>h.jsx($.Fieldset,{children:h.jsx($.SelectablePillGroup,{className:xf.root,selectedItems:r,items:t,multiselect:!1,onChange:e})}),Lf="_root_ced01_106",Rf="_root__button_ced01_112",wf="_root__security_ced01_115",an={root:Lf,root__button:Rf,root__security:wf},Nf=({data:{label:e,securityText:t},onSubmit:r})=>h.jsxs($.Fieldset,{className:an.root,children:[h.jsx($.ButtonPrimary,{className:an.root__button,fullWidth:!0,size:"large",text:e,onClick:r}),h.jsxs($.Typography,{type:"detail-medium",as:"p",className:st(an.root__security),children:[h.jsx($.Icon,{name:"privacy_lock_closed"}),t]})]}),Df="_root_1okuw_106",jf={root:Df},Pf=({onChange:e,switcherToggle:t,value:r})=>h.jsx($.SwitcherToggle,{className:jf.root,items:t,onChange:e,value:r}),kf=({error:e,errorLegal:t,minValue:r})=>en.object({amount:en.number().min(r,{message:e}).int(),legalCheckbox:en.boolean().refine(n=>n===!0,{message:t})}),Si=({blocks:e,defaultSelectedToggle:t,fieldDescription:r,fieldErrors:n,guidelinesModalData:a,hero:i,layout:s,onSubmit:u})=>{const[f,c]=N.useState(n[t]),_=kf(f),b=()=>{const O=e.selectablePills[t].find(ie=>ie.isSelected);return O?[{id:O.id,value:O.value}]:[]},E=()=>{const O=b()[0];return O?r[O.id]:e.priceDescription.label},R=Dl({initialValues:{amount:(()=>{const O=b()[0];return O?Number(O.value):0})(),fieldDescription:E(),legalCheckbox:!e.legalCheckbox.layout,legalModalOpen:!1,selectedPills:b(),toggle:t},onSubmit:O=>u(O),validateOnBlur:!0,validateOnChange:!0,validationSchema:Ei(_)}),ee=async(O,ie,Ie)=>{const Oe=O||e.selectablePills[ie].filter(D=>D.value===Ie)[0],De=Oe?r[Oe.id]:e.priceDescription.label,we=Oe?[{id:Oe.id,value:Oe.value}]:[];await R.setValues({...R.values,amount:Number(Ie),fieldDescription:De,selectedPills:we},!0)},te=O=>O[R.values.toggle],m=O=>{(async()=>await ee(O[0],R.values.toggle,O[0].value))()},T=(O,ie)=>{(async()=>(await ee(null,R.values.toggle,`${ie}`),await R.setTouched({amount:!0},!0)))()},B=O=>{(async()=>(c(n[O]),await ee(null,O,`${R.values.amount}`),await R.setFieldValue("toggle",O,!0)))()},P=O=>{(async()=>await R.setFieldValue("legalModalOpen",O))()},g=O=>{(async()=>(!R.touched.legalCheckbox&&await R.setFieldTouched("legalCheckbox"),await R.setFieldValue("legalCheckbox",O.target.checked,!0)))()},H=()=>{(async()=>await R.submitForm())()};return h.jsxs($.Card,{borderRadius:!0,className:st(tn.root),allowedElement:Oa,children:[h.jsx(Oa,{data:i}),h.jsxs($.CardBody,{className:tn.root__body,children:[h.jsx($.Form,{className:st(tn.root__form),children:s.map(O=>{const ie=e[O];switch(O){case Ye.headline:return h.jsx(N.Fragment,{children:h.jsx(lf,{data:ie})},O);case Ye.switcherToggle:return h.jsx(N.Fragment,{children:h.jsx(Pf,{switcherToggle:ie,onChange:B,value:R.values.toggle})},O);case Ye.selectablePills:return h.jsx(N.Fragment,{children:h.jsx(If,{onChange:m,selectablePills:te(ie),selectedPills:R.values.selectedPills})},O);case Ye.priceDescription:return h.jsx(N.Fragment,{children:h.jsx(Cf,{label:R.values.fieldDescription})},O);case Ye.amountPicker:return h.jsx(N.Fragment,{children:h.jsx(Qd,{id:"amount",onChange:T,value:R.values.amount,errorMessage:R.touched.amount&&R.errors.amount||""})},O);case Ye.legalCheckbox:return h.jsx(N.Fragment,{children:h.jsx(vf,{data:ie,error:R.touched.legalCheckbox?R.errors.legalCheckbox:"",onClick:P,onChange:g})},O);case Ye.submitButton:return h.jsx(N.Fragment,{children:h.jsx(Nf,{data:ie,onSubmit:H})},O);case Ye.paymentMethods:return h.jsx(N.Fragment,{children:h.jsx(bf,{methods:ie})},O);case Ye.cta:return h.jsx(N.Fragment,{children:h.jsx(rf,{data:ie})},O);default:return null}})}),R.values.legalModalOpen&&h.jsx(of,{data:a,onClose:P,open:R.values.legalModalOpen})]})]})},bi=({block:e,onSubmit:t})=>{const r=()=>{var T;let m=[];return(T=e==null?void 0:e.fields)==null||T.layout.map(B=>m=[...m,B]),m},n=()=>{var m,T,B,P,g,H,O,ie;return{alt:((T=(m=e==null?void 0:e.fields)==null?void 0:m.heroImage)==null?void 0:T.fields.title)||"",src:(g=(P=(B=e==null?void 0:e.fields)==null?void 0:B.heroImage)==null?void 0:P.fields.file)!=null&&g.url?`https:${(ie=(O=(H=e==null?void 0:e.fields)==null?void 0:H.heroImage)==null?void 0:O.fields.file)==null?void 0:ie.url}`:""}},a=()=>{var m,T;return{headline:((m=e.fields.headline)==null?void 0:m.fields.headline)||"",subheadline:((T=e.fields.headline)==null?void 0:T.fields.subheadline)||""}},i=()=>{var m,T;return{label:((m=e.fields.cta)==null?void 0:m.fields.label)||"",url:((T=e.fields.cta)==null?void 0:T.fields.url)||""}},s=()=>{var m,T,B,P;return(T=(m=e==null?void 0:e.fields)==null?void 0:m.paymentMethods)!=null&&T.fields.paymentMethods?(P=(B=e==null?void 0:e.fields)==null?void 0:B.paymentMethods)==null?void 0:P.fields.paymentMethods.map(g=>{var H;return{alt:(g==null?void 0:g.fields.title)||"",id:(g==null?void 0:g.sys.id)||"",src:`https:${(H=g==null?void 0:g.fields.file)==null?void 0:H.url}`}}):[]},u=()=>{var m,T;return{label:((m=e.fields.submitButton)==null?void 0:m.fields.label)||"",securityText:((T=e.fields.submitButton)==null?void 0:T.fields.securityText)||""}},f=()=>{var m,T,B;return{buttonLabel:((m=e.fields.legalCheckbox)==null?void 0:m.fields.legalButtonLabel)||"",label:((T=e.fields.legalCheckbox)==null?void 0:T.fields.label)||"",layout:(B=e.fields.legalCheckbox)==null?void 0:B.fields.layout}},c=()=>{var m;return{label:((m=e.fields.priceDescription)==null?void 0:m.fields.label)||""}},_=()=>{const m={};return e.fields.switcherToggle.map(T=>{var P;const B=`${T==null?void 0:T.fields.id}`;B in m||(m[B]={error:(T==null?void 0:T.fields.errorText)||"",errorLegal:((P=e.fields.legalCheckbox)==null?void 0:P.fields.errorText)||"",minValue:Number(T==null?void 0:T.fields.minValue)||0})}),m},b=()=>e.fields.switcherToggle.map(m=>({id:(m==null?void 0:m.fields.id)||"",label:(m==null?void 0:m.fields.label)||""})),E=()=>{var T;const m=e.fields.switcherToggle.find(B=>B==null?void 0:B.fields.defaultSelected);return m?m.fields.id:((T=e.fields.switcherToggle[0])==null?void 0:T.fields.id)||""},k=()=>{const m={};return e.fields.switcherToggle.map(T=>{T==null||T.fields.selectablePills.map(B=>{const P=`${B==null?void 0:B.fields.chargebeeId}`;P in m||(m[P]=(B==null?void 0:B.fields.description)||"")})}),m},R=()=>{const m={};return e.fields.switcherToggle.map(T=>{const B=`${T==null?void 0:T.fields.id}`;B in m||(m[B]=((T==null?void 0:T.fields.selectablePills)||[]).map(P=>({id:P==null?void 0:P.fields.chargebeeId,isSelected:P==null?void 0:P.fields.defaultSelected,label:(P==null?void 0:P.fields.label)||"",popular:(P==null?void 0:P.fields.popular)||"",style:"filled",value:(P==null?void 0:P.fields.value)||"",variant:"large"})))}),m},ee=()=>{var De,we;const m=(De=e==null?void 0:e.fields.legalCheckbox)==null?void 0:De.fields.guidelinesModal,T=(we=m==null?void 0:m.fields)==null?void 0:we.text;if(!T)return{buttonText:"",content:[[]],date:"",headline:"",version:""};const B={renderNode:{[He.BLOCKS.PARAGRAPH]:(D,Q)=>h.jsx($.Typography,{as:"p",type:"body-regular",children:Q}),[He.BLOCKS.HEADING_2]:(D,Q)=>h.jsx($.Typography,{type:"h2",children:Q})}},P=D=>{const Q=[];let ge=[];return Array.isArray(D)&&D.forEach($e=>{$e.type==="hr"?(ge.length>0&&Q.push(ge),ge=[]):ge.push($e)}),ge.length>0&&Q.push(ge),Q},g=gn.documentToReactComponents(T,B),H=g?P(g):[],O=(m==null?void 0:m.fields.closeModalButtonText)||"",ie=(m==null?void 0:m.fields.headline)||"",Ie=(m==null?void 0:m.fields.data)||"",Oe=(m==null?void 0:m.fields.version)||"";return{buttonText:O,content:H,date:Ie,headline:ie,version:Oe}},te=()=>({cta:i(),headline:a(),legalCheckbox:f(),paymentMethods:s(),priceDescription:c(),selectablePills:R(),submitButton:u(),switcherToggle:b()});return h.jsx(Si,{onSubmit:t,layout:r(),hero:n(),defaultSelectedToggle:E(),blocks:te(),fieldDescription:k(),fieldErrors:_(),guidelinesModalData:ee()})};exports.ContentfulSponsorCardForm=bi;exports.DynamicRenderer=vs;exports.LAYOUT_BLOCK=Ye;exports.SponsorCardForm=Si;