@canaia/ui-kit 0.0.10-alpha.64 → 0.0.10-alpha.66
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.
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
(function(Fe,g){typeof exports=="object"&&typeof module<"u"?g(exports,require("react"),require("react-dom")):typeof define=="function"&&define.amd?define(["exports","react","react-dom"],g):(Fe=typeof globalThis<"u"?globalThis:Fe||self,g(Fe.CanaiaUiKit={},Fe.React,Fe.ReactDOM))})(this,function(Fe,g,Sf){"use strict";var
|
|
1
|
+
(function(Fe,g){typeof exports=="object"&&typeof module<"u"?g(exports,require("react"),require("react-dom")):typeof define=="function"&&define.amd?define(["exports","react","react-dom"],g):(Fe=typeof globalThis<"u"?globalThis:Fe||self,g(Fe.CanaiaUiKit={},Fe.React,Fe.ReactDOM))})(this,function(Fe,g,Sf){"use strict";var E4,A4,M4,O4,I4,D4,$4,F4,z4,L4,B4,N4,R4,V4,W4,H4,U4;function J4(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const n in e)if(n!=="default"){const r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:()=>e[n]})}}return t.default=e,Object.freeze(t)}const Se=J4(g);var Ha=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Ua(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Il={exports:{}},ji={};/**
|
|
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 kf;function
|
|
9
|
+
*/var kf;function Q4(){if(kf)return ji;kf=1;var e=g,t=Symbol.for("react.element"),n=Symbol.for("react.fragment"),r=Object.prototype.hasOwnProperty,o=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,i={key:!0,ref:!0,__self:!0,__source:!0};function a(s,l,c){var u,f={},p=null,h=null;c!==void 0&&(p=""+c),l.key!==void 0&&(p=""+l.key),l.ref!==void 0&&(h=l.ref);for(u in l)r.call(l,u)&&!i.hasOwnProperty(u)&&(f[u]=l[u]);if(s&&s.defaultProps)for(u in l=s.defaultProps,l)f[u]===void 0&&(f[u]=l[u]);return{$$typeof:t,type:s,key:p,ref:h,props:f,_owner:o.current}}return ji.Fragment=n,ji.jsx=a,ji.jsxs=a,ji}var Ti={};/**
|
|
10
10
|
* @license React
|
|
11
11
|
* react-jsx-runtime.development.js
|
|
12
12
|
*
|
|
@@ -14,20 +14,20 @@
|
|
|
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 _f;function
|
|
18
|
-
`+Q+T}}var me=!1,de;{var ke=typeof WeakMap=="function"?WeakMap:Map;de=new ke}function H(T,te){if(!T||me)return"";{var pe=de.get(T);if(pe!==void 0)return pe}var _e;me=!0;var Re=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var Ze;Ze=J.current,J.current=null,B();try{if(te){var Ne=function(){throw Error()};if(Object.defineProperty(Ne.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(Ne,[])}catch(
|
|
17
|
+
*/var _f;function eg(){return _f||(_f=1,process.env.NODE_ENV!=="production"&&function(){var e=g,t=Symbol.for("react.element"),n=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),a=Symbol.for("react.provider"),s=Symbol.for("react.context"),l=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),u=Symbol.for("react.suspense_list"),f=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),h=Symbol.for("react.offscreen"),b=Symbol.iterator,m="@@iterator";function v(T){if(T===null||typeof T!="object")return null;var te=b&&T[b]||T[m];return typeof te=="function"?te:null}var S=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function y(T){{for(var te=arguments.length,pe=new Array(te>1?te-1:0),_e=1;_e<te;_e++)pe[_e-1]=arguments[_e];w("error",T,pe)}}function w(T,te,pe){{var _e=S.ReactDebugCurrentFrame,Re=_e.getStackAddendum();Re!==""&&(te+="%s",pe=pe.concat([Re]));var Ze=pe.map(function(Ne){return String(Ne)});Ze.unshift("Warning: "+te),Function.prototype.apply.call(console[T],console,Ze)}}var j=!1,x=!1,E=!1,P=!1,D=!1,R;R=Symbol.for("react.module.reference");function z(T){return!!(typeof T=="string"||typeof T=="function"||T===r||T===i||D||T===o||T===c||T===u||P||T===h||j||x||E||typeof T=="object"&&T!==null&&(T.$$typeof===p||T.$$typeof===f||T.$$typeof===a||T.$$typeof===s||T.$$typeof===l||T.$$typeof===R||T.getModuleId!==void 0))}function X(T,te,pe){var _e=T.displayName;if(_e)return _e;var Re=te.displayName||te.name||"";return Re!==""?pe+"("+Re+")":pe}function ce(T){return T.displayName||"Context"}function le(T){if(T==null)return null;if(typeof T.tag=="number"&&y("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof T=="function")return T.displayName||T.name||null;if(typeof T=="string")return T;switch(T){case r:return"Fragment";case n:return"Portal";case i:return"Profiler";case o:return"StrictMode";case c:return"Suspense";case u:return"SuspenseList"}if(typeof T=="object")switch(T.$$typeof){case s:var te=T;return ce(te)+".Consumer";case a:var pe=T;return ce(pe._context)+".Provider";case l:return X(T,T.render,"ForwardRef");case f:var _e=T.displayName||null;return _e!==null?_e:le(T.type)||"Memo";case p:{var Re=T,Ze=Re._payload,Ne=Re._init;try{return le(Ne(Ze))}catch{return null}}}return null}var L=Object.assign,Y=0,K,N,ue,he,O,F,Z;function V(){}V.__reactDisabledLog=!0;function B(){{if(Y===0){K=console.log,N=console.info,ue=console.warn,he=console.error,O=console.group,F=console.groupCollapsed,Z=console.groupEnd;var T={configurable:!0,enumerable:!0,value:V,writable:!0};Object.defineProperties(console,{info:T,log:T,warn:T,error:T,group:T,groupCollapsed:T,groupEnd:T})}Y++}}function C(){{if(Y--,Y===0){var T={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:L({},T,{value:K}),info:L({},T,{value:N}),warn:L({},T,{value:ue}),error:L({},T,{value:he}),group:L({},T,{value:O}),groupCollapsed:L({},T,{value:F}),groupEnd:L({},T,{value:Z})})}Y<0&&y("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var J=S.ReactCurrentDispatcher,Q;function ee(T,te,pe){{if(Q===void 0)try{throw Error()}catch(Re){var _e=Re.stack.trim().match(/\n( *(at )?)/);Q=_e&&_e[1]||""}return`
|
|
18
|
+
`+Q+T}}var me=!1,de;{var ke=typeof WeakMap=="function"?WeakMap:Map;de=new ke}function H(T,te){if(!T||me)return"";{var pe=de.get(T);if(pe!==void 0)return pe}var _e;me=!0;var Re=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var Ze;Ze=J.current,J.current=null,B();try{if(te){var Ne=function(){throw Error()};if(Object.defineProperty(Ne.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(Ne,[])}catch(ye){_e=ye}Reflect.construct(T,[],Ne)}else{try{Ne.call()}catch(ye){_e=ye}T.call(Ne.prototype)}}else{try{throw Error()}catch(ye){_e=ye}T()}}catch(ye){if(ye&&_e&&typeof ye.stack=="string"){for(var ze=ye.stack.split(`
|
|
19
19
|
`),Ft=_e.stack.split(`
|
|
20
|
-
`),k=ze.length-1,$=Ft.length-1;k>=1&&$>=0&&ze[k]!==Ft[$];)$--;for(;k>=1&&$>=0;k--,$--)if(ze[k]!==Ft[$]){if(k!==1||$!==1)do if(k--,$--,$<0||ze[k]!==Ft[$]){var
|
|
21
|
-
`+ze[k].replace(" at new "," at ");return T.displayName&&
|
|
20
|
+
`),k=ze.length-1,$=Ft.length-1;k>=1&&$>=0&&ze[k]!==Ft[$];)$--;for(;k>=1&&$>=0;k--,$--)if(ze[k]!==Ft[$]){if(k!==1||$!==1)do if(k--,$--,$<0||ze[k]!==Ft[$]){var G=`
|
|
21
|
+
`+ze[k].replace(" at new "," at ");return T.displayName&&G.includes("<anonymous>")&&(G=G.replace("<anonymous>",T.displayName)),typeof T=="function"&&de.set(T,G),G}while(k>=1&&$>=0);break}}}finally{me=!1,J.current=Ze,C(),Error.prepareStackTrace=Re}var ne=T?T.displayName||T.name:"",Ce=ne?ee(ne):"";return typeof T=="function"&&de.set(T,Ce),Ce}function Te(T,te,pe){return H(T,!1)}function De(T){var te=T.prototype;return!!(te&&te.isReactComponent)}function A(T,te,pe){if(T==null)return"";if(typeof T=="function")return H(T,De(T));if(typeof T=="string")return ee(T);switch(T){case c:return ee("Suspense");case u:return ee("SuspenseList")}if(typeof T=="object")switch(T.$$typeof){case l:return Te(T.render);case f:return A(T.type,te,pe);case p:{var _e=T,Re=_e._payload,Ze=_e._init;try{return A(Ze(Re),te,pe)}catch{}}}return""}var q=Object.prototype.hasOwnProperty,re={},xe=S.ReactDebugCurrentFrame;function ve(T){if(T){var te=T._owner,pe=A(T.type,T._source,te?te.type:null);xe.setExtraStackFrame(pe)}else xe.setExtraStackFrame(null)}function be(T,te,pe,_e,Re){{var Ze=Function.call.bind(q);for(var Ne in T)if(Ze(T,Ne)){var ze=void 0;try{if(typeof T[Ne]!="function"){var Ft=Error((_e||"React class")+": "+pe+" type `"+Ne+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof T[Ne]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw Ft.name="Invariant Violation",Ft}ze=T[Ne](te,Ne,_e,pe,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(k){ze=k}ze&&!(ze instanceof Error)&&(ve(Re),y("%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).",_e||"React class",pe,Ne,typeof ze),ve(null)),ze instanceof Error&&!(ze.message in re)&&(re[ze.message]=!0,ve(Re),y("Failed %s type: %s",pe,ze.message),ve(null))}}}var je=Array.isArray;function $e(T){return je(T)}function fe(T){{var te=typeof Symbol=="function"&&Symbol.toStringTag,pe=te&&T[Symbol.toStringTag]||T.constructor.name||"Object";return pe}}function U(T){try{return oe(T),!1}catch{return!0}}function oe(T){return""+T}function ie(T){if(U(T))return y("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",fe(T)),oe(T)}var se=S.ReactCurrentOwner,Ie={key:!0,ref:!0,__self:!0,__source:!0},bt,ot,_t;_t={};function $t(T){if(q.call(T,"ref")){var te=Object.getOwnPropertyDescriptor(T,"ref").get;if(te&&te.isReactWarning)return!1}return T.ref!==void 0}function Qt(T){if(q.call(T,"key")){var te=Object.getOwnPropertyDescriptor(T,"key").get;if(te&&te.isReactWarning)return!1}return T.key!==void 0}function lt(T,te){if(typeof T.ref=="string"&&se.current&&te&&se.current.stateNode!==te){var pe=le(se.current.type);_t[pe]||(y('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',le(se.current.type),T.ref),_t[pe]=!0)}}function Mt(T,te){{var pe=function(){bt||(bt=!0,y("%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)",te))};pe.isReactWarning=!0,Object.defineProperty(T,"key",{get:pe,configurable:!0})}}function Zt(T,te){{var pe=function(){ot||(ot=!0,y("%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)",te))};pe.isReactWarning=!0,Object.defineProperty(T,"ref",{get:pe,configurable:!0})}}var Bn=function(T,te,pe,_e,Re,Ze,Ne){var ze={$$typeof:t,type:T,key:te,ref:pe,props:Ne,_owner:Ze};return ze._store={},Object.defineProperty(ze._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(ze,"_self",{configurable:!1,enumerable:!1,writable:!1,value:_e}),Object.defineProperty(ze,"_source",{configurable:!1,enumerable:!1,writable:!1,value:Re}),Object.freeze&&(Object.freeze(ze.props),Object.freeze(ze)),ze};function fn(T,te,pe,_e,Re){{var Ze,Ne={},ze=null,Ft=null;pe!==void 0&&(ie(pe),ze=""+pe),Qt(te)&&(ie(te.key),ze=""+te.key),$t(te)&&(Ft=te.ref,lt(te,Re));for(Ze in te)q.call(te,Ze)&&!Ie.hasOwnProperty(Ze)&&(Ne[Ze]=te[Ze]);if(T&&T.defaultProps){var k=T.defaultProps;for(Ze in k)Ne[Ze]===void 0&&(Ne[Ze]=k[Ze])}if(ze||Ft){var $=typeof T=="function"?T.displayName||T.name||"Unknown":T;ze&&Mt(Ne,$),Ft&&Zt(Ne,$)}return Bn(T,ze,Ft,Re,_e,se.current,Ne)}}var xn=S.ReactCurrentOwner,yo=S.ReactDebugCurrentFrame;function pn(T){if(T){var te=T._owner,pe=A(T.type,T._source,te?te.type:null);yo.setExtraStackFrame(pe)}else yo.setExtraStackFrame(null)}var Vr;Vr=!1;function hn(T){return typeof T=="object"&&T!==null&&T.$$typeof===t}function kr(){{if(xn.current){var T=le(xn.current.type);if(T)return`
|
|
22
22
|
|
|
23
23
|
Check the render method of \``+T+"`."}return""}}function lr(T){return""}var Cn={};function bi(T){{var te=kr();if(!te){var pe=typeof T=="string"?T:T.displayName||T.name;pe&&(te=`
|
|
24
24
|
|
|
25
|
-
Check the top-level render call using <`+pe+">.")}return te}}function _r(T,te){{if(!T._store||T._store.validated||T.key!=null)return;T._store.validated=!0;var pe=bi(te);if(Cn[pe])return;Cn[pe]=!0;var _e="";T&&T._owner&&T._owner!==xn.current&&(_e=" It was passed a child from "+
|
|
25
|
+
Check the top-level render call using <`+pe+">.")}return te}}function _r(T,te){{if(!T._store||T._store.validated||T.key!=null)return;T._store.validated=!0;var pe=bi(te);if(Cn[pe])return;Cn[pe]=!0;var _e="";T&&T._owner&&T._owner!==xn.current&&(_e=" It was passed a child from "+le(T._owner.type)+"."),pn(T),y('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',pe,_e),pn(null)}}function en(T,te){{if(typeof T!="object")return;if($e(T))for(var pe=0;pe<T.length;pe++){var _e=T[pe];hn(_e)&&_r(_e,te)}else if(hn(T))T._store&&(T._store.validated=!0);else if(T){var Re=v(T);if(typeof Re=="function"&&Re!==T.entries)for(var Ze=Re.call(T),Ne;!(Ne=Ze.next()).done;)hn(Ne.value)&&_r(Ne.value,te)}}}function yi(T){{var te=T.type;if(te==null||typeof te=="string")return;var pe;if(typeof te=="function")pe=te.propTypes;else if(typeof te=="object"&&(te.$$typeof===l||te.$$typeof===f))pe=te.propTypes;else return;if(pe){var _e=le(te);be(pe,T.props,"prop",_e,T)}else if(te.PropTypes!==void 0&&!Vr){Vr=!0;var Re=le(te);y("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",Re||"Unknown")}typeof te.getDefaultProps=="function"&&!te.getDefaultProps.isReactClassApproved&&y("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function Ba(T){{for(var te=Object.keys(T.props),pe=0;pe<te.length;pe++){var _e=te[pe];if(_e!=="children"&&_e!=="key"){pn(T),y("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",_e),pn(null);break}}T.ref!==null&&(pn(T),y("Invalid attribute `ref` supplied to `React.Fragment`."),pn(null))}}var jr={};function On(T,te,pe,_e,Re,Ze){{var Ne=z(T);if(!Ne){var ze="";(T===void 0||typeof T=="object"&&T!==null&&Object.keys(T).length===0)&&(ze+=" 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 Ft=lr();Ft?ze+=Ft:ze+=kr();var k;T===null?k="null":$e(T)?k="array":T!==void 0&&T.$$typeof===t?(k="<"+(le(T.type)||"Unknown")+" />",ze=" Did you accidentally export a JSX literal instead of a component?"):k=typeof T,y("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",k,ze)}var $=fn(T,te,pe,Re,Ze);if($==null)return $;if(Ne){var G=te.children;if(G!==void 0)if(_e)if($e(G)){for(var ne=0;ne<G.length;ne++)en(G[ne],T);Object.freeze&&Object.freeze(G)}else y("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 en(G,T)}if(q.call(te,"key")){var Ce=le(T),ye=Object.keys(te).filter(function(ct){return ct!=="key"}),Me=ye.length>0?"{key: someKey, "+ye.join(": ..., ")+": ...}":"{key: someKey}";if(!jr[Ce+Me]){var it=ye.length>0?"{"+ye.join(": ..., ")+": ...}":"{}";y(`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} />`,Ae,Ce,it,Ce),jr[Ce+Ae]=!0}}return T===r?Ba($):yi($),$}}function xo(T,te,pe){return On(T,te,pe,!0)}function Nn(T,te,pe){return On(T,te,pe,!1)}var xi=Nn,In=xo;Ti.Fragment=r,Ti.jsx=xi,Ti.jsxs=In}()),Ti}process.env.NODE_ENV==="production"?Il.exports=X4():Il.exports=J4();var d=Il.exports;function qa(e){return e!=null&&typeof e=="object"&&"nodeType"in e&&e.nodeType===Node.ELEMENT_NODE}function Q4(){return!!(globalThis!=null&&globalThis.document)}function jf(e){return e.parentElement&&jf(e.parentElement)?!0:e.hidden}function eg(e){const t=e.getAttribute("contenteditable");return t!=="false"&&t!=null}function tg(e){return!!e.getAttribute("disabled")||!!e.getAttribute("aria-disabled")}function ng(e){var t;return((t=Tf(e))==null?void 0:t.defaultView)??window}function Tf(e){return qa(e)?e.ownerDocument:document}function rg(e){return Tf(e).activeElement}function og(e,...t){if(e==null)throw new TypeError("Cannot convert undefined or null to object");const n={...e};for(const r of t)if(r!=null)for(const o in r)Object.prototype.hasOwnProperty.call(r,o)&&(o in n&&delete n[o],n[o]=r[o]);return n}const Be=e=>e?"":void 0,Dl=e=>e?!0:void 0;function Za(e){return Array.isArray(e)}function rn(e){const t=typeof e;return e!=null&&(t==="object"||t==="function")&&!Za(e)}function ig(e){const t=e==null?0:e.length;return t?e[t-1]:void 0}function ag(e){const t=parseFloat(e.toString()),n=e.toString().replace(String(t),"");return{unitless:!n,value:t,unit:n}}function $l(e){if(e==null)return e;const{unitless:t}=ag(e);return t||typeof e=="number"?`${e}px`:e}const Pf=(e,t)=>parseInt(e[1],10)>parseInt(t[1],10)?1:-1,Fl=e=>Object.fromEntries(Object.entries(e).sort(Pf));function Ef(e){const t=Fl(e);return Object.assign(Object.values(t),t)}function sg(e){const t=Object.keys(Fl(e));return new Set(t)}function Af(e){if(!e)return e;e=$l(e)??e;const t=-.02;return typeof e=="number"?`${e+t}`:e.replace(/(\d+\.?\d*)/u,n=>`${parseFloat(n)+t}`)}function Pi(e,t){const n=["@media screen"];return e&&n.push("and",`(min-width: ${$l(e)})`),t&&n.push("and",`(max-width: ${$l(t)})`),n.join(" ")}function lg(e){if(!e)return null;e.base=e.base??"0px";const t=Ef(e),n=Object.entries(e).sort(Pf).map(([i,a],s,l)=>{let[,c]=l[s+1]??[];return c=parseFloat(c)>0?Af(c):void 0,{_minW:Af(a),breakpoint:i,minW:a,maxW:c,maxWQuery:Pi(null,c),minWQuery:Pi(a),minMaxQuery:Pi(a,c)}}),r=sg(e),o=Array.from(r.values());return{keys:r,normalized:t,isResponsive(i){const a=Object.keys(i);return a.length>0&&a.every(s=>r.has(s))},asObject:Fl(e),asArray:Ef(e),details:n,get(i){return n.find(a=>a.breakpoint===i)},media:[null,...t.map(i=>Pi(i)).slice(1)],toArrayValue(i){if(!rn(i))throw new Error("toArrayValue: value must be an object");const a=o.map(s=>i[s]??null);for(;ig(a)===null;)a.pop();return a},toObjectValue(i){if(!Array.isArray(i))throw new Error("toObjectValue: value must be an array");return i.reduce((a,s,l)=>{const c=o[l];return c!=null&&s!=null&&(a[c]=s),a},{})}}}function Mf(...e){return function(...n){e.forEach(r=>r==null?void 0:r(...n))}}function Ue(...e){return function(n){e.some(r=>(r==null||r(n),n==null?void 0:n.defaultPrevented))}}function zl(e){return g.Children.toArray(e).filter(t=>g.isValidElement(t))}function Ei(e){const t=Object.assign({},e);for(let n in t)t[n]===void 0&&delete t[n];return t}function cg(e,t){return`${e} returned \`undefined\`. Seems you forgot to wrap component within ${t}`}function ht(e={}){const{name:t,strict:n=!0,hookName:r="useContext",providerName:o="Provider",errorMessage:i,defaultValue:a}=e,s=g.createContext(a);s.displayName=t;function l(){var u;const c=g.useContext(s);if(!c&&n){const f=new Error(i??cg(r,o));throw f.name="ContextError",(u=Error.captureStackTrace)==null||u.call(Error,f,l),f}return c}return[s.Provider,l,s]}const Me=(...e)=>e.filter(Boolean).join(" "),Of=e=>e.hasAttribute("tabindex"),ug=e=>Of(e)&&e.tabIndex===-1;function If(e){if(!qa(e)||jf(e)||tg(e))return!1;const{localName:t}=e;if(["input","select","textarea","button"].indexOf(t)>=0)return!0;const r={a:()=>e.hasAttribute("href"),audio:()=>e.hasAttribute("controls"),video:()=>e.hasAttribute("controls")};return t in r?r[t]():eg(e)?!0:Of(e)}function dg(e){return e?qa(e)&&If(e)&&!ug(e):!1}const fg=["input:not(:disabled):not([disabled])","select:not(:disabled):not([disabled])","textarea:not(:disabled):not([disabled])","embed","iframe","object","a[href]","area[href]","button:not(:disabled):not([disabled])","[tabindex]","audio[controls]","video[controls]","*[tabindex]:not([aria-disabled])","*[contenteditable]"].join(),pg=e=>e.offsetWidth>0&&e.offsetHeight>0;function hg(e){const t=Array.from(e.querySelectorAll(fg));return t.unshift(e),t.filter(n=>If(n)&&pg(n))}function Df(e,t,n,r){const o=typeof t=="string"?t.split("."):[t];for(r=0;r<o.length&&e;r+=1)e=e[o[r]];return e===void 0?n:e}const $f=(e=>{const t=new WeakMap;return(r,o,i,a)=>{if(typeof r>"u")return e(r,o,i);t.has(r)||t.set(r,new Map);const s=t.get(r);if(s.has(o))return s.get(o);const l=e(r,o,i,a);return s.set(o,l),l}})(Df),mg=e=>e.default||e;function gg(e){const{wasSelected:t,enabled:n,isSelected:r,mode:o="unmount"}=e;return!!(!n||r||o==="keepMounted"&&t)}function So(e,t=[]){const n=Object.assign({},e);for(const r of t)r in n&&delete n[r];return n}function Ff(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function vg(e,t){return Array.isArray(e)?e.map(n=>n===null?null:t(n)):rn(e)?Object.keys(e).reduce((n,r)=>(n[r]=t(e[r]),n),{}):e!=null?t(e):null}const bg=e=>typeof e=="function";function mn(e,...t){return bg(e)?e(...t):e}function yg(e){const t=e.ownerDocument.defaultView||window,{overflow:n,overflowX:r,overflowY:o}=t.getComputedStyle(e);return/auto|scroll|overlay|hidden/.test(n+o+r)}function xg(e){return e.localName==="html"?e:e.assignedSlot||e.parentElement||e.ownerDocument.documentElement}function zf(e){return["html","body","#document"].includes(e.localName)?e.ownerDocument.body:qa(e)&&yg(e)?e:zf(xg(e))}function Cg(e,t){const n={},r={};for(const[o,i]of Object.entries(e))t.includes(o)?n[o]=i:r[o]=i;return[n,r]}function wg(e,...t){const n=Object.getOwnPropertyDescriptors(e),r=Object.keys(n),o=a=>{const s={};for(let l=0;l<a.length;l++){const c=a[l];n[c]&&(Object.defineProperty(s,c,n[c]),delete n[c])}return s},i=a=>o(Array.isArray(a)?a:r.filter(a));return t.map(i).concat(o(r))}function Lf(e,t,n={}){const{stop:r,getKey:o}=n;function i(a,s=[]){if(rn(a)||Array.isArray(a)){const l={};for(const[c,u]of Object.entries(a)){const f=(o==null?void 0:o(c))??c,p=[...s,f];if(r!=null&&r(a,p))return t(a,s);l[f]=i(u,p)}return l}return t(a,s)}return i(e)}const Ai=e=>{const{condition:t,message:n}=e;t&&process.env.NODE_ENV!=="production"&&console.warn(n)};var Ga={exports:{}};Ga.exports,function(e,t){var n=200,r="__lodash_hash_undefined__",o=800,i=16,a=9007199254740991,s="[object Arguments]",l="[object Array]",c="[object AsyncFunction]",u="[object Boolean]",f="[object Date]",p="[object Error]",h="[object Function]",b="[object GeneratorFunction]",m="[object Map]",v="[object Number]",S="[object Null]",y="[object Object]",C="[object Proxy]",j="[object RegExp]",x="[object Set]",E="[object String]",P="[object Undefined]",D="[object WeakMap]",R="[object ArrayBuffer]",L="[object DataView]",Z="[object Float32Array]",ce="[object Float64Array]",ae="[object Int8Array]",z="[object Int16Array]",Y="[object Int32Array]",G="[object Uint8Array]",N="[object Uint8ClampedArray]",ue="[object Uint16Array]",he="[object Uint32Array]",O=/[\\^$.*+?()[\]{}|]/g,F=/^\[object .+?Constructor\]$/,K=/^(?:0|[1-9]\d*)$/,V={};V[Z]=V[ce]=V[ae]=V[z]=V[Y]=V[G]=V[N]=V[ue]=V[he]=!0,V[s]=V[l]=V[R]=V[u]=V[L]=V[f]=V[p]=V[h]=V[m]=V[v]=V[y]=V[j]=V[x]=V[E]=V[D]=!1;var B=typeof Ha=="object"&&Ha&&Ha.Object===Object&&Ha,w=typeof self=="object"&&self&&self.Object===Object&&self,J=B||w||Function("return this")(),Q=t&&!t.nodeType&&t,ee=Q&&!0&&e&&!e.nodeType&&e,me=ee&&ee.exports===Q,de=me&&B.process,ke=function(){try{var _=ee&&ee.require&&ee.require("util").types;return _||de&&de.binding&&de.binding("util")}catch{}}(),H=ke&&ke.isTypedArray;function Te(_,I,W){switch(W.length){case 0:return _.call(I);case 1:return _.call(I,W[0]);case 2:return _.call(I,W[0],W[1]);case 3:return _.call(I,W[0],W[1],W[2])}return _.apply(I,W)}function De(_,I){for(var W=-1,we=Array(_);++W<_;)we[W]=I(W);return we}function A(_){return function(I){return _(I)}}function q(_,I){return _==null?void 0:_[I]}function re(_,I){return function(W){return _(I(W))}}var xe=Array.prototype,ge=Function.prototype,ve=Object.prototype,je=J["__core-js_shared__"],$e=ge.toString,fe=ve.hasOwnProperty,U=function(){var _=/[^.]+$/.exec(je&&je.keys&&je.keys.IE_PROTO||"");return _?"Symbol(src)_1."+_:""}(),oe=ve.toString,ie=$e.call(Object),se=RegExp("^"+$e.call(fe).replace(O,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Ie=me?J.Buffer:void 0,bt=J.Symbol,ot=J.Uint8Array;Ie&&Ie.allocUnsafe;var _t=re(Object.getPrototypeOf,Object),$t=Object.create,Qt=ve.propertyIsEnumerable,lt=xe.splice,Mt=bt?bt.toStringTag:void 0,Zt=function(){try{var _=Ge(Object,"defineProperty");return _({},"",{}),_}catch{}}(),Bn=Ie?Ie.isBuffer:void 0,fn=Math.max,xn=Date.now,yo=Ge(J,"Map"),pn=Ge(Object,"create"),Vr=function(){function _(){}return function(I){if(!wo(I))return{};if($t)return $t(I);_.prototype=I;var W=new _;return _.prototype=void 0,W}}();function hn(_){var I=-1,W=_==null?0:_.length;for(this.clear();++I<W;){var we=_[I];this.set(we[0],we[1])}}function kr(){this.__data__=pn?pn(null):{},this.size=0}function lr(_){var I=this.has(_)&&delete this.__data__[_];return this.size-=I?1:0,I}function Cn(_){var I=this.__data__;if(pn){var W=I[_];return W===r?void 0:W}return fe.call(I,_)?I[_]:void 0}function bi(_){var I=this.__data__;return pn?I[_]!==void 0:fe.call(I,_)}function _r(_,I){var W=this.__data__;return this.size+=this.has(_)?0:1,W[_]=pn&&I===void 0?r:I,this}hn.prototype.clear=kr,hn.prototype.delete=lr,hn.prototype.get=Cn,hn.prototype.has=bi,hn.prototype.set=_r;function en(_){var I=-1,W=_==null?0:_.length;for(this.clear();++I<W;){var we=_[I];this.set(we[0],we[1])}}function yi(){this.__data__=[],this.size=0}function Ba(_){var I=this.__data__,W=ne(I,_);if(W<0)return!1;var we=I.length-1;return W==we?I.pop():lt.call(I,W,1),--this.size,!0}function jr(_){var I=this.__data__,W=ne(I,_);return W<0?void 0:I[W][1]}function On(_){return ne(this.__data__,_)>-1}function xo(_,I){var W=this.__data__,we=ne(W,_);return we<0?(++this.size,W.push([_,I])):W[we][1]=I,this}en.prototype.clear=yi,en.prototype.delete=Ba,en.prototype.get=jr,en.prototype.has=On,en.prototype.set=xo;function Nn(_){var I=-1,W=_==null?0:_.length;for(this.clear();++I<W;){var we=_[I];this.set(we[0],we[1])}}function xi(){this.size=0,this.__data__={hash:new hn,map:new(yo||en),string:new hn}}function In(_){var I=Ke(this,_).delete(_);return this.size-=I?1:0,I}function T(_){return Ke(this,_).get(_)}function te(_){return Ke(this,_).has(_)}function pe(_,I){var W=Ke(this,_),we=W.size;return W.set(_,I),this.size+=W.size==we?0:1,this}Nn.prototype.clear=xi,Nn.prototype.delete=In,Nn.prototype.get=T,Nn.prototype.has=te,Nn.prototype.set=pe;function _e(_){var I=this.__data__=new en(_);this.size=I.size}function Re(){this.__data__=new en,this.size=0}function Ze(_){var I=this.__data__,W=I.delete(_);return this.size=I.size,W}function Ne(_){return this.__data__.get(_)}function ze(_){return this.__data__.has(_)}function Ft(_,I){var W=this.__data__;if(W instanceof en){var we=W.__data__;if(!yo||we.length<n-1)return we.push([_,I]),this.size=++W.size,this;W=this.__data__=new Nn(we)}return W.set(_,I),this.size=W.size,this}_e.prototype.clear=Re,_e.prototype.delete=Ze,_e.prototype.get=Ne,_e.prototype.has=ze,_e.prototype.set=Ft;function k(_,I){var W=qr(_),we=!W&&_i(_),He=!W&&!we&&H4(_),pt=!W&&!we&&!He&&q4(_),yt=W||we||He||pt,tt=yt?De(_.length,String):[],xt=tt.length;for(var Vn in _)yt&&(Vn=="length"||He&&(Vn=="offset"||Vn=="parent")||pt&&(Vn=="buffer"||Vn=="byteLength"||Vn=="byteOffset")||Co(Vn,xt))||tt.push(Vn);return tt}function $(_,I,W){(W!==void 0&&!Pr(_[I],W)||W===void 0&&!(I in _))&&Ce(_,I,W)}function X(_,I,W){var we=_[I];(!(fe.call(_,I)&&Pr(we,W))||W===void 0&&!(I in _))&&Ce(_,I,W)}function ne(_,I){for(var W=_.length;W--;)if(Pr(_[W][0],I))return W;return-1}function Ce(_,I,W){I=="__proto__"&&Zt?Zt(_,I,{configurable:!0,enumerable:!0,value:W,writable:!0}):_[I]=W}var be=yf();function Ae(_){return _==null?_===void 0?P:S:Mt&&Mt in Object(_)?Na(_):Ur(_)}function it(_){return Va(_)&&Ae(_)==s}function ct(_){if(!wo(_)||ur(_))return!1;var I=xf(_)?se:F;return I.test(ki(_))}function at(_){return Va(_)&&U4(_.length)&&!!V[Ae(_)]}function We(_){if(!wo(_))return Ci(_);var I=Hr(_),W=[];for(var we in _)we=="constructor"&&(I||!fe.call(_,we))||W.push(we);return W}function tn(_,I,W,we,He){_!==I&&be(I,function(pt,yt){if(He||(He=new _e),wo(pt))zt(_,I,yt,W,tn,we,He);else{var tt=we?we(wi(_,yt),pt,yt+"",_,I,He):void 0;tt===void 0&&(tt=pt),$(_,yt,tt)}},Z4)}function zt(_,I,W,we,He,pt,yt){var tt=wi(_,W),xt=wi(I,W),Vn=yt.get(xt);if(Vn){$(_,W,Vn);return}var Sn=pt?pt(tt,xt,W+"",_,I,yt):void 0,Wa=Sn===void 0;if(Wa){var Cf=qr(xt),wf=!Cf&&H4(xt),K4=!Cf&&!wf&&q4(xt);Sn=xt,Cf||wf||K4?qr(tt)?Sn=tt:NI(tt)?Sn=Ml(tt):wf?(Wa=!1,Sn=wn(xt)):K4?(Wa=!1,Sn=cr(xt)):Sn=[]:RI(xt)||_i(xt)?(Sn=tt,_i(tt)?Sn=VI(tt):(!wo(tt)||xf(tt))&&(Sn=Tr(xt))):Wa=!1}Wa&&(yt.set(xt,Sn),He(Sn,xt,we,pt,yt),yt.delete(xt)),$(_,W,Sn)}function Et(_,I){return Si(dr(_,I,G4),_+"")}var Ot=Zt?function(_,I){return Zt(_,"toString",{configurable:!0,enumerable:!1,value:HI(I),writable:!0})}:G4;function wn(_,I){return _.slice()}function Wr(_){var I=new _.constructor(_.byteLength);return new ot(I).set(new ot(_)),I}function cr(_,I){var W=Wr(_.buffer);return new _.constructor(W,_.byteOffset,_.length)}function Ml(_,I){var W=-1,we=_.length;for(I||(I=Array(we));++W<we;)I[W]=_[W];return I}function Ol(_,I,W,we){var He=!W;W||(W={});for(var pt=-1,yt=I.length;++pt<yt;){var tt=I[pt],xt=void 0;xt===void 0&&(xt=_[tt]),He?Ce(W,tt,xt):X(W,tt,xt)}return W}function bf(_){return Et(function(I,W){var we=-1,He=W.length,pt=He>1?W[He-1]:void 0,yt=He>2?W[2]:void 0;for(pt=_.length>3&&typeof pt=="function"?(He--,pt):void 0,yt&&nn(W[0],W[1],yt)&&(pt=He<3?void 0:pt,He=1),I=Object(I);++we<He;){var tt=W[we];tt&&_(I,tt,we,pt)}return I})}function yf(_){return function(I,W,we){for(var He=-1,pt=Object(I),yt=we(I),tt=yt.length;tt--;){var xt=yt[++He];if(W(pt[xt],xt,pt)===!1)break}return I}}function Ke(_,I){var W=_.__data__;return Rn(I)?W[typeof I=="string"?"string":"hash"]:W.map}function Ge(_,I){var W=q(_,I);return ct(W)?W:void 0}function Na(_){var I=fe.call(_,Mt),W=_[Mt];try{_[Mt]=void 0;var we=!0}catch{}var He=oe.call(_);return we&&(I?_[Mt]=W:delete _[Mt]),He}function Tr(_){return typeof _.constructor=="function"&&!Hr(_)?Vr(_t(_)):{}}function Co(_,I){var W=typeof _;return I=I??a,!!I&&(W=="number"||W!="symbol"&&K.test(_))&&_>-1&&_%1==0&&_<I}function nn(_,I,W){if(!wo(W))return!1;var we=typeof I;return(we=="number"?Zr(W)&&Co(I,W.length):we=="string"&&I in W)?Pr(W[I],_):!1}function Rn(_){var I=typeof _;return I=="string"||I=="number"||I=="symbol"||I=="boolean"?_!=="__proto__":_===null}function ur(_){return!!U&&U in _}function Hr(_){var I=_&&_.constructor,W=typeof I=="function"&&I.prototype||ve;return _===W}function Ci(_){var I=[];if(_!=null)for(var W in Object(_))I.push(W);return I}function Ur(_){return oe.call(_)}function dr(_,I,W){return I=fn(I===void 0?_.length-1:I,0),function(){for(var we=arguments,He=-1,pt=fn(we.length-I,0),yt=Array(pt);++He<pt;)yt[He]=we[I+He];He=-1;for(var tt=Array(I+1);++He<I;)tt[He]=we[He];return tt[I]=W(yt),Te(_,this,tt)}}function wi(_,I){if(!(I==="constructor"&&typeof _[I]=="function")&&I!="__proto__")return _[I]}var Si=Ra(Ot);function Ra(_){var I=0,W=0;return function(){var we=xn(),He=i-(we-W);if(W=we,He>0){if(++I>=o)return arguments[0]}else I=0;return _.apply(void 0,arguments)}}function ki(_){if(_!=null){try{return $e.call(_)}catch{}try{return _+""}catch{}}return""}function Pr(_,I){return _===I||_!==_&&I!==I}var _i=it(function(){return arguments}())?it:function(_){return Va(_)&&fe.call(_,"callee")&&!Qt.call(_,"callee")},qr=Array.isArray;function Zr(_){return _!=null&&U4(_.length)&&!xf(_)}function NI(_){return Va(_)&&Zr(_)}var H4=Bn||UI;function xf(_){if(!wo(_))return!1;var I=Ae(_);return I==h||I==b||I==c||I==C}function U4(_){return typeof _=="number"&&_>-1&&_%1==0&&_<=a}function wo(_){var I=typeof _;return _!=null&&(I=="object"||I=="function")}function Va(_){return _!=null&&typeof _=="object"}function RI(_){if(!Va(_)||Ae(_)!=y)return!1;var I=_t(_);if(I===null)return!0;var W=fe.call(I,"constructor")&&I.constructor;return typeof W=="function"&&W instanceof W&&$e.call(W)==ie}var q4=H?A(H):at;function VI(_){return Ol(_,Z4(_))}function Z4(_){return Zr(_)?k(_):We(_)}var WI=bf(function(_,I,W,we){tn(_,I,W,we)});function HI(_){return function(){return _}}function G4(_){return _}function UI(){return!1}e.exports=WI}(Ga,Ga.exports);var Sg=Ga.exports;const kn=Ua(Sg);function Dn(e,t=[]){const n=g.useRef(e);return g.useEffect(()=>{n.current=e}),g.useCallback((...r)=>{var o;return(o=n.current)==null?void 0:o.call(n,...r)},t)}function Ka(e,t,n,r){const o=Dn(n);return g.useEffect(()=>{const i=typeof e=="function"?e():e??document;if(!(!n||!i))return i.addEventListener(t,o,r),()=>{i.removeEventListener(t,o,r)}},[t,e,r,o,n]),()=>{const i=typeof e=="function"?e():e??document;i==null||i.removeEventListener(t,o,r)}}function kg(e){const{isOpen:t,ref:n}=e,[r,o]=g.useState(t),[i,a]=g.useState(!1);return g.useEffect(()=>{i||(o(t),a(!0))},[t,i,r]),Ka(()=>n.current,"animationend",()=>{o(t)}),{present:!(t?!1:!r),onComplete(){var u;const l=ng(n.current),c=new l.CustomEvent("animationend",{bubbles:!0});(u=n.current)==null||u.dispatchEvent(c)}}}function Bf(e){const{value:t,defaultValue:n,onChange:r,shouldUpdate:o=(p,h)=>p!==h}=e,i=Dn(r),a=Dn(o),[s,l]=g.useState(n),c=t!==void 0,u=c?t:s,f=Dn(p=>{const b=typeof p=="function"?p(u):p;a(u,b)&&(c||l(b),i(b))},[c,i,u,a]);return[u,f]}function Nf(e={}){const{onClose:t,onOpen:n,isOpen:r,id:o}=e,i=Dn(n),a=Dn(t),[s,l]=g.useState(e.defaultIsOpen||!1),c=r!==void 0?r:s,u=r!==void 0,f=g.useId(),p=o??`disclosure-${f}`,h=g.useCallback(()=>{u||l(!1),a==null||a()},[u,a]),b=g.useCallback(()=>{u||l(!0),i==null||i()},[u,i]),m=g.useCallback(()=>{c?h():b()},[c,b,h]);function v(y={}){return{...y,"aria-expanded":c,"aria-controls":p,onClick(C){var j;(j=y.onClick)==null||j.call(y,C),m()}}}function S(y={}){return{...y,hidden:!c,id:p}}return{isOpen:c,onOpen:b,onClose:h,onToggle:m,isControlled:u,getButtonProps:v,getDisclosureProps:S}}const Gr=globalThis!=null&&globalThis.document?g.useLayoutEffect:g.useEffect,ko=(e,t)=>{const n=g.useRef(!1),r=g.useRef(!1);g.useEffect(()=>{if(n.current&&r.current)return e();r.current=!0},t),g.useEffect(()=>(n.current=!0,()=>{n.current=!1}),[])};function _g(e){const t=e.current;if(!t)return!1;const n=rg(t);return!n||t.contains(n)?!1:!!dg(n)}function jg(e,t){const{shouldFocus:n,visible:r,focusRef:o}=t,i=n&&!r;ko(()=>{if(!i||_g(e))return;const a=(o==null?void 0:o.current)||e.current;let s;if(a)return s=requestAnimationFrame(()=>{a.focus({preventScroll:!0})}),()=>{cancelAnimationFrame(s)}},[i,e,o])}function Tg(e,t){const n=g.useId();return g.useMemo(()=>e||[t,n].filter(Boolean).join("-"),[e,t,n])}function Pg(e,...t){const n=Tg(e);return g.useMemo(()=>t.map(r=>`${r}-${n}`),[n,t])}function Eg(e,t){if(e!=null){if(typeof e=="function"){e(t);return}try{e.current=t}catch{throw new Error(`Cannot assign value '${t}' to ref '${e}'`)}}}function Bt(...e){return t=>{e.forEach(n=>{Eg(n,t)})}}function Ag(...e){return g.useMemo(()=>Bt(...e),e)}function Mg(e){const{ref:t,handler:n,enabled:r=!0}=e,o=Dn(n),a=g.useRef({isPointerDown:!1,ignoreEmulatedMouseEvents:!1}).current;g.useEffect(()=>{if(!r)return;const s=f=>{Ll(f,t)&&(a.isPointerDown=!0)},l=f=>{if(a.ignoreEmulatedMouseEvents){a.ignoreEmulatedMouseEvents=!1;return}a.isPointerDown&&n&&Ll(f,t)&&(a.isPointerDown=!1,o(f))},c=f=>{a.ignoreEmulatedMouseEvents=!0,n&&a.isPointerDown&&Ll(f,t)&&(a.isPointerDown=!1,o(f))},u=Rf(t.current);return u.addEventListener("mousedown",s,!0),u.addEventListener("mouseup",l,!0),u.addEventListener("touchstart",s,!0),u.addEventListener("touchend",c,!0),()=>{u.removeEventListener("mousedown",s,!0),u.removeEventListener("mouseup",l,!0),u.removeEventListener("touchstart",s,!0),u.removeEventListener("touchend",c,!0)}},[n,t,o,a,r])}function Ll(e,t){var r,o;const n=((r=e.composedPath)==null?void 0:r.call(e)[0])??e.target;return n&&!Rf(n).contains(n)?!1:!((o=t.current)!=null&&o.contains(n))}function Rf(e){return(e==null?void 0:e.ownerDocument)??document}function Og(e,t){const n=Dn(e);g.useEffect(()=>{if(t==null)return;let r=null;return r=window.setTimeout(()=>{n()},t),()=>{r&&window.clearTimeout(r)}},[t,n])}const It={open:(e,t)=>`${e}[data-open], ${e}[open], ${e}[data-state=open] ${t}`,closed:(e,t)=>`${e}[data-closed], ${e}[data-state=closed] ${t}`,hover:(e,t)=>`${e}:hover ${t}, ${e}[data-hover] ${t}`,focus:(e,t)=>`${e}:focus ${t}, ${e}[data-focus] ${t}`,focusVisible:(e,t)=>`${e}:focus-visible ${t}`,focusWithin:(e,t)=>`${e}:focus-within ${t}`,active:(e,t)=>`${e}:active ${t}, ${e}[data-active] ${t}`,disabled:(e,t)=>`${e}:disabled ${t}, ${e}[data-disabled] ${t}`,invalid:(e,t)=>`${e}:invalid ${t}, ${e}[data-invalid] ${t}`,checked:(e,t)=>`${e}:checked ${t}, ${e}[data-checked] ${t}`,indeterminate:(e,t)=>`${e}:indeterminate ${t}, ${e}[aria-checked=mixed] ${t}, ${e}[data-indeterminate] ${t}`,readOnly:(e,t)=>`${e}:read-only ${t}, ${e}[readonly] ${t}, ${e}[data-read-only] ${t}`,expanded:(e,t)=>`${e}:read-only ${t}, ${e}[aria-expanded=true] ${t}, ${e}[data-expanded] ${t}`,placeholderShown:(e,t)=>`${e}:placeholder-shown ${t}`},Wn=e=>Vf(t=>e(t,"&"),"[role=group]","[data-group]",".group"),fr=e=>Vf(t=>e(t,"~ &"),"[data-peer]",".peer"),Vf=(e,...t)=>t.map(e).join(", "),_o={_hover:"&:hover, &[data-hover]",_active:"&:active, &[data-active]",_focus:"&:focus, &[data-focus]",_highlighted:"&[data-highlighted]",_focusWithin:"&:focus-within, &[data-focus-within]",_focusVisible:"&:focus-visible, &[data-focus-visible]",_disabled:"&:disabled, &[disabled], &[aria-disabled=true], &[data-disabled]",_readOnly:"&[aria-readonly=true], &[readonly], &[data-readonly]",_before:"&::before",_after:"&::after",_empty:"&:empty, &[data-empty]",_expanded:"&[aria-expanded=true], &[data-expanded], &[data-state=expanded]",_checked:"&[aria-checked=true], &[data-checked], &[data-state=checked]",_grabbed:"&[aria-grabbed=true], &[data-grabbed]",_pressed:"&[aria-pressed=true], &[data-pressed]",_invalid:"&[aria-invalid=true], &[data-invalid]",_valid:"&[data-valid], &[data-state=valid]",_loading:"&[data-loading], &[aria-busy=true]",_selected:"&[aria-selected=true], &[data-selected]",_hidden:"&[hidden], &[data-hidden]",_autofill:"&:-webkit-autofill",_even:"&:nth-of-type(even)",_odd:"&:nth-of-type(odd)",_first:"&:first-of-type",_firstLetter:"&::first-letter",_last:"&:last-of-type",_notFirst:"&:not(:first-of-type)",_notLast:"&:not(:last-of-type)",_visited:"&:visited",_activeLink:"&[aria-current=page]",_activeStep:"&[aria-current=step]",_indeterminate:"&:indeterminate, &[aria-checked=mixed], &[data-indeterminate], &[data-state=indeterminate]",_groupOpen:Wn(It.open),_groupClosed:Wn(It.closed),_groupHover:Wn(It.hover),_peerHover:fr(It.hover),_groupFocus:Wn(It.focus),_peerFocus:fr(It.focus),_groupFocusVisible:Wn(It.focusVisible),_peerFocusVisible:fr(It.focusVisible),_groupActive:Wn(It.active),_peerActive:fr(It.active),_groupDisabled:Wn(It.disabled),_peerDisabled:fr(It.disabled),_groupInvalid:Wn(It.invalid),_peerInvalid:fr(It.invalid),_groupChecked:Wn(It.checked),_peerChecked:fr(It.checked),_groupFocusWithin:Wn(It.focusWithin),_peerFocusWithin:fr(It.focusWithin),_peerPlaceholderShown:fr(It.placeholderShown),_placeholder:"&::placeholder, &[data-placeholder]",_placeholderShown:"&:placeholder-shown, &[data-placeholder-shown]",_fullScreen:"&:fullscreen, &[data-fullscreen]",_selection:"&::selection",_rtl:"[dir=rtl] &, &[dir=rtl]",_ltr:"[dir=ltr] &, &[dir=ltr]",_mediaDark:"@media (prefers-color-scheme: dark)",_mediaReduceMotion:"@media (prefers-reduced-motion: reduce)",_dark:".chakra-ui-dark &:not([data-theme]),[data-theme=dark] &:not([data-theme]),&[data-theme=dark]",_light:".chakra-ui-light &:not([data-theme]),[data-theme=light] &:not([data-theme]),&[data-theme=light]",_horizontal:"&[data-orientation=horizontal]",_vertical:"&[data-orientation=vertical]",_open:"&[data-open], &[open], &[data-state=open]",_closed:"&[data-closed], &[data-state=closed]",_complete:"&[data-complete]",_incomplete:"&[data-incomplete]",_current:"&[data-current]"},Wf=Object.keys(_o),Ig=e=>/!(important)?$/.test(e),Hf=e=>typeof e=="string"?e.replace(/!(important)?$/,"").trim():e,Dg=(e,t)=>n=>{const r=String(t),o=Ig(r),i=Hf(r),a=e?`${e}.${i}`:i;let s=rn(n.__cssMap)&&a in n.__cssMap?n.__cssMap[a].varRef:t;return s=Hf(s),o?`${s} !important`:s};function Bl(e){const{scale:t,transform:n,compose:r}=e;return(i,a)=>{const s=Dg(t,i)(a);let l=(n==null?void 0:n(s,a))??s;return r&&(l=r(l,a)),l}}const Ya=(...e)=>t=>e.reduce((n,r)=>r(n),t);function _n(e,t){return n=>{const r={property:n,scale:e};return r.transform=Bl({scale:e,transform:t}),r}}const $g=({rtl:e,ltr:t})=>n=>n.direction==="rtl"?e:t;function Fg(e){const{property:t,scale:n,transform:r}=e;return{scale:n,property:$g(t),transform:n?Bl({scale:n,compose:r}):r}}const Uf=["rotate(var(--chakra-rotate, 0))","scaleX(var(--chakra-scale-x, 1))","scaleY(var(--chakra-scale-y, 1))","skewX(var(--chakra-skew-x, 0))","skewY(var(--chakra-skew-y, 0))"];function zg(){return["translateX(var(--chakra-translate-x, 0))","translateY(var(--chakra-translate-y, 0))",...Uf].join(" ")}function Lg(){return["translate3d(var(--chakra-translate-x, 0), var(--chakra-translate-y, 0), 0)",...Uf].join(" ")}const Bg={"--chakra-blur":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-brightness":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-contrast":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-grayscale":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-hue-rotate":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-invert":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-saturate":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-sepia":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-drop-shadow":"var(--chakra-empty,/*!*/ /*!*/)",filter:["var(--chakra-blur)","var(--chakra-brightness)","var(--chakra-contrast)","var(--chakra-grayscale)","var(--chakra-hue-rotate)","var(--chakra-invert)","var(--chakra-saturate)","var(--chakra-sepia)","var(--chakra-drop-shadow)"].join(" ")},Ng={backdropFilter:["var(--chakra-backdrop-blur)","var(--chakra-backdrop-brightness)","var(--chakra-backdrop-contrast)","var(--chakra-backdrop-grayscale)","var(--chakra-backdrop-hue-rotate)","var(--chakra-backdrop-invert)","var(--chakra-backdrop-opacity)","var(--chakra-backdrop-saturate)","var(--chakra-backdrop-sepia)"].join(" "),"--chakra-backdrop-blur":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-brightness":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-contrast":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-grayscale":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-hue-rotate":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-invert":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-opacity":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-saturate":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-sepia":"var(--chakra-empty,/*!*/ /*!*/)"};function Rg(e){return{"--chakra-ring-offset-shadow":"var(--chakra-ring-inset) 0 0 0 var(--chakra-ring-offset-width) var(--chakra-ring-offset-color)","--chakra-ring-shadow":"var(--chakra-ring-inset) 0 0 0 calc(var(--chakra-ring-width) + var(--chakra-ring-offset-width)) var(--chakra-ring-color)","--chakra-ring-width":e,boxShadow:["var(--chakra-ring-offset-shadow)","var(--chakra-ring-shadow)","var(--chakra-shadow, 0 0 #0000)"].join(", ")}}const Vg={"row-reverse":{space:"--chakra-space-x-reverse",divide:"--chakra-divide-x-reverse"},"column-reverse":{space:"--chakra-space-y-reverse",divide:"--chakra-divide-y-reverse"}},Nl={"to-t":"to top","to-tr":"to top right","to-r":"to right","to-br":"to bottom right","to-b":"to bottom","to-bl":"to bottom left","to-l":"to left","to-tl":"to top left"},Wg=new Set(Object.values(Nl)),Rl=new Set(["none","-moz-initial","inherit","initial","revert","unset"]),Hg=e=>e.trim();function Ug(e,t){if(e==null||Rl.has(e))return e;if(!(Vl(e)||Rl.has(e)))return`url('${e}')`;const o=/(^[a-z-A-Z]+)\((.*)\)/g.exec(e),i=o==null?void 0:o[1],a=o==null?void 0:o[2];if(!i||!a)return e;const s=i.includes("-gradient")?i:`${i}-gradient`,[l,...c]=a.split(",").map(Hg).filter(Boolean);if((c==null?void 0:c.length)===0)return e;const u=l in Nl?Nl[l]:l;c.unshift(u);const f=c.map(p=>{if(Wg.has(p))return p;const h=p.indexOf(" "),[b,m]=h!==-1?[p.substr(0,h),p.substr(h+1)]:[p],v=Vl(m)?m:m&&m.split(" "),S=`colors.${b}`,y=S in t.__cssMap?t.__cssMap[S].varRef:b;return v?[y,...Array.isArray(v)?v:[v]].join(" "):y});return`${s}(${f.join(", ")})`}const Vl=e=>typeof e=="string"&&e.includes("(")&&e.includes(")"),qg=(e,t)=>Ug(e,t??{});function Zg(e){return/^var\(--.+\)$/.test(e)}const Gg=e=>{const t=parseFloat(e.toString()),n=e.toString().replace(String(t),"");return{unitless:!n,value:t,unit:n}},Hn=e=>t=>`${e}(${t})`,Ve={filter(e){return e!=="auto"?e:Bg},backdropFilter(e){return e!=="auto"?e:Ng},ring(e){return Rg(Ve.px(e))},bgClip(e){return e==="text"?{color:"transparent",backgroundClip:"text"}:{backgroundClip:e}},transform(e){return e==="auto"?zg():e==="auto-gpu"?Lg():e},vh(e){return e==="$100vh"?"var(--chakra-vh)":e},px(e){if(e==null)return e;const{unitless:t}=Gg(e);return t||typeof e=="number"?`${e}px`:e},fraction(e){return typeof e!="number"||e>1?e:`${e*100}%`},float(e,t){const n={left:"right",right:"left"};return t.direction==="rtl"?n[e]:e},degree(e){if(Zg(e)||e==null)return e;const t=typeof e=="string"&&!e.endsWith("deg");return typeof e=="number"||t?`${e}deg`:e},gradient:qg,blur:Hn("blur"),opacity:Hn("opacity"),brightness:Hn("brightness"),contrast:Hn("contrast"),dropShadow:Hn("drop-shadow"),grayscale:Hn("grayscale"),hueRotate:e=>Hn("hue-rotate")(Ve.degree(e)),invert:Hn("invert"),saturate:Hn("saturate"),sepia:Hn("sepia"),bgImage(e){return e==null||Vl(e)||Rl.has(e)?e:`url(${e})`},outline(e){const t=String(e)==="0"||String(e)==="none";return e!==null&&t?{outline:"2px solid transparent",outlineOffset:"2px"}:{outline:e}},flexDirection(e){const{space:t,divide:n}=Vg[e]??{},r={flexDirection:e};return t&&(r[t]=1),n&&(r[n]=1),r}},M={borderWidths:_n("borderWidths"),borderStyles:_n("borderStyles"),colors:_n("colors"),borders:_n("borders"),gradients:_n("gradients",Ve.gradient),radii:_n("radii",Ve.px),space:_n("space",Ya(Ve.vh,Ve.px)),spaceT:_n("space",Ya(Ve.vh,Ve.px)),degreeT(e){return{property:e,transform:Ve.degree}},prop(e,t,n){return{property:e,scale:t,...t&&{transform:Bl({scale:t,transform:n})}}},propT(e,t){return{property:e,transform:t}},sizes:_n("sizes",Ya(Ve.vh,Ve.px)),sizesT:_n("sizes",Ya(Ve.vh,Ve.fraction)),shadows:_n("shadows"),logical:Fg,blur:_n("blur",Ve.blur)},Xa={background:M.colors("background"),backgroundColor:M.colors("backgroundColor"),backgroundImage:M.gradients("backgroundImage"),backgroundSize:!0,backgroundPosition:!0,backgroundRepeat:!0,backgroundAttachment:!0,backgroundClip:{transform:Ve.bgClip},bgSize:M.prop("backgroundSize"),bgPosition:M.prop("backgroundPosition"),bg:M.colors("background"),bgColor:M.colors("backgroundColor"),bgPos:M.prop("backgroundPosition"),bgRepeat:M.prop("backgroundRepeat"),bgAttachment:M.prop("backgroundAttachment"),bgGradient:M.gradients("backgroundImage"),bgClip:{transform:Ve.bgClip}};Object.assign(Xa,{bgImage:Xa.backgroundImage,bgImg:Xa.backgroundImage});const Ye={border:M.borders("border"),borderWidth:M.borderWidths("borderWidth"),borderStyle:M.borderStyles("borderStyle"),borderColor:M.colors("borderColor"),borderRadius:M.radii("borderRadius"),borderTop:M.borders("borderTop"),borderBlockStart:M.borders("borderBlockStart"),borderTopLeftRadius:M.radii("borderTopLeftRadius"),borderStartStartRadius:M.logical({scale:"radii",property:{ltr:"borderTopLeftRadius",rtl:"borderTopRightRadius"}}),borderEndStartRadius:M.logical({scale:"radii",property:{ltr:"borderBottomLeftRadius",rtl:"borderBottomRightRadius"}}),borderTopRightRadius:M.radii("borderTopRightRadius"),borderStartEndRadius:M.logical({scale:"radii",property:{ltr:"borderTopRightRadius",rtl:"borderTopLeftRadius"}}),borderEndEndRadius:M.logical({scale:"radii",property:{ltr:"borderBottomRightRadius",rtl:"borderBottomLeftRadius"}}),borderRight:M.borders("borderRight"),borderInlineEnd:M.borders("borderInlineEnd"),borderBottom:M.borders("borderBottom"),borderBlockEnd:M.borders("borderBlockEnd"),borderBottomLeftRadius:M.radii("borderBottomLeftRadius"),borderBottomRightRadius:M.radii("borderBottomRightRadius"),borderLeft:M.borders("borderLeft"),borderInlineStart:{property:"borderInlineStart",scale:"borders"},borderInlineStartRadius:M.logical({scale:"radii",property:{ltr:["borderTopLeftRadius","borderBottomLeftRadius"],rtl:["borderTopRightRadius","borderBottomRightRadius"]}}),borderInlineEndRadius:M.logical({scale:"radii",property:{ltr:["borderTopRightRadius","borderBottomRightRadius"],rtl:["borderTopLeftRadius","borderBottomLeftRadius"]}}),borderX:M.borders(["borderLeft","borderRight"]),borderInline:M.borders("borderInline"),borderY:M.borders(["borderTop","borderBottom"]),borderBlock:M.borders("borderBlock"),borderTopWidth:M.borderWidths("borderTopWidth"),borderBlockStartWidth:M.borderWidths("borderBlockStartWidth"),borderTopColor:M.colors("borderTopColor"),borderBlockStartColor:M.colors("borderBlockStartColor"),borderTopStyle:M.borderStyles("borderTopStyle"),borderBlockStartStyle:M.borderStyles("borderBlockStartStyle"),borderBottomWidth:M.borderWidths("borderBottomWidth"),borderBlockEndWidth:M.borderWidths("borderBlockEndWidth"),borderBottomColor:M.colors("borderBottomColor"),borderBlockEndColor:M.colors("borderBlockEndColor"),borderBottomStyle:M.borderStyles("borderBottomStyle"),borderBlockEndStyle:M.borderStyles("borderBlockEndStyle"),borderLeftWidth:M.borderWidths("borderLeftWidth"),borderInlineStartWidth:M.borderWidths("borderInlineStartWidth"),borderLeftColor:M.colors("borderLeftColor"),borderInlineStartColor:M.colors("borderInlineStartColor"),borderLeftStyle:M.borderStyles("borderLeftStyle"),borderInlineStartStyle:M.borderStyles("borderInlineStartStyle"),borderRightWidth:M.borderWidths("borderRightWidth"),borderInlineEndWidth:M.borderWidths("borderInlineEndWidth"),borderRightColor:M.colors("borderRightColor"),borderInlineEndColor:M.colors("borderInlineEndColor"),borderRightStyle:M.borderStyles("borderRightStyle"),borderInlineEndStyle:M.borderStyles("borderInlineEndStyle"),borderTopRadius:M.radii(["borderTopLeftRadius","borderTopRightRadius"]),borderBottomRadius:M.radii(["borderBottomLeftRadius","borderBottomRightRadius"]),borderLeftRadius:M.radii(["borderTopLeftRadius","borderBottomLeftRadius"]),borderRightRadius:M.radii(["borderTopRightRadius","borderBottomRightRadius"])};Object.assign(Ye,{rounded:Ye.borderRadius,roundedTop:Ye.borderTopRadius,roundedTopLeft:Ye.borderTopLeftRadius,roundedTopRight:Ye.borderTopRightRadius,roundedTopStart:Ye.borderStartStartRadius,roundedTopEnd:Ye.borderStartEndRadius,roundedBottom:Ye.borderBottomRadius,roundedBottomLeft:Ye.borderBottomLeftRadius,roundedBottomRight:Ye.borderBottomRightRadius,roundedBottomStart:Ye.borderEndStartRadius,roundedBottomEnd:Ye.borderEndEndRadius,roundedLeft:Ye.borderLeftRadius,roundedRight:Ye.borderRightRadius,roundedStart:Ye.borderInlineStartRadius,roundedEnd:Ye.borderInlineEndRadius,borderStart:Ye.borderInlineStart,borderEnd:Ye.borderInlineEnd,borderTopStartRadius:Ye.borderStartStartRadius,borderTopEndRadius:Ye.borderStartEndRadius,borderBottomStartRadius:Ye.borderEndStartRadius,borderBottomEndRadius:Ye.borderEndEndRadius,borderStartRadius:Ye.borderInlineStartRadius,borderEndRadius:Ye.borderInlineEndRadius,borderStartWidth:Ye.borderInlineStartWidth,borderEndWidth:Ye.borderInlineEndWidth,borderStartColor:Ye.borderInlineStartColor,borderEndColor:Ye.borderInlineEndColor,borderStartStyle:Ye.borderInlineStartStyle,borderEndStyle:Ye.borderInlineEndStyle});const Kg={color:M.colors("color"),textColor:M.colors("color"),fill:M.colors("fill"),stroke:M.colors("stroke"),accentColor:M.colors("accentColor"),textFillColor:M.colors("textFillColor")},Ja={alignItems:!0,alignContent:!0,justifyItems:!0,justifyContent:!0,flexWrap:!0,flexDirection:{transform:Ve.flexDirection},flex:!0,flexFlow:!0,flexGrow:!0,flexShrink:!0,flexBasis:M.sizes("flexBasis"),justifySelf:!0,alignSelf:!0,order:!0,placeItems:!0,placeContent:!0,placeSelf:!0,gap:M.space("gap"),rowGap:M.space("rowGap"),columnGap:M.space("columnGap")};Object.assign(Ja,{flexDir:Ja.flexDirection});const jn={width:M.sizesT("width"),inlineSize:M.sizesT("inlineSize"),height:M.sizes("height"),blockSize:M.sizes("blockSize"),boxSize:M.sizes(["width","height"]),minWidth:M.sizes("minWidth"),minInlineSize:M.sizes("minInlineSize"),minHeight:M.sizes("minHeight"),minBlockSize:M.sizes("minBlockSize"),maxWidth:M.sizes("maxWidth"),maxInlineSize:M.sizes("maxInlineSize"),maxHeight:M.sizes("maxHeight"),maxBlockSize:M.sizes("maxBlockSize"),overflow:!0,overflowX:!0,overflowY:!0,overscrollBehavior:!0,overscrollBehaviorX:!0,overscrollBehaviorY:!0,display:!0,aspectRatio:!0,hideFrom:{scale:"breakpoints",transform:(e,t)=>{var o,i;return{[`@media screen and (min-width: ${((i=(o=t.__breakpoints)==null?void 0:o.get(e))==null?void 0:i.minW)??e})`]:{display:"none"}}}},hideBelow:{scale:"breakpoints",transform:(e,t)=>{var o,i;return{[`@media screen and (max-width: ${((i=(o=t.__breakpoints)==null?void 0:o.get(e))==null?void 0:i._minW)??e})`]:{display:"none"}}}},verticalAlign:!0,boxSizing:!0,boxDecorationBreak:!0,float:M.propT("float",Ve.float),objectFit:!0,objectPosition:!0,visibility:!0,isolation:!0};Object.assign(jn,{w:jn.width,h:jn.height,minW:jn.minWidth,maxW:jn.maxWidth,minH:jn.minHeight,maxH:jn.maxHeight,overscroll:jn.overscrollBehavior,overscrollX:jn.overscrollBehaviorX,overscrollY:jn.overscrollBehaviorY});const Yg={filter:{transform:Ve.filter},blur:M.blur("--chakra-blur"),brightness:M.propT("--chakra-brightness",Ve.brightness),contrast:M.propT("--chakra-contrast",Ve.contrast),hueRotate:M.propT("--chakra-hue-rotate",Ve.hueRotate),invert:M.propT("--chakra-invert",Ve.invert),saturate:M.propT("--chakra-saturate",Ve.saturate),dropShadow:M.propT("--chakra-drop-shadow",Ve.dropShadow),backdropFilter:{transform:Ve.backdropFilter},backdropBlur:M.blur("--chakra-backdrop-blur"),backdropBrightness:M.propT("--chakra-backdrop-brightness",Ve.brightness),backdropContrast:M.propT("--chakra-backdrop-contrast",Ve.contrast),backdropHueRotate:M.propT("--chakra-backdrop-hue-rotate",Ve.hueRotate),backdropInvert:M.propT("--chakra-backdrop-invert",Ve.invert),backdropSaturate:M.propT("--chakra-backdrop-saturate",Ve.saturate)},Xg={ring:{transform:Ve.ring},ringColor:M.colors("--chakra-ring-color"),ringOffset:M.prop("--chakra-ring-offset-width"),ringOffsetColor:M.colors("--chakra-ring-offset-color"),ringInset:M.prop("--chakra-ring-inset")},Jg={appearance:!0,cursor:!0,resize:!0,userSelect:!0,pointerEvents:!0,outline:{transform:Ve.outline},outlineOffset:!0,outlineColor:M.colors("outlineColor")},qf={gridGap:M.space("gridGap"),gridColumnGap:M.space("gridColumnGap"),gridRowGap:M.space("gridRowGap"),gridColumn:!0,gridRow:!0,gridAutoFlow:!0,gridAutoColumns:!0,gridColumnStart:!0,gridColumnEnd:!0,gridRowStart:!0,gridRowEnd:!0,gridAutoRows:!0,gridTemplate:!0,gridTemplateColumns:!0,gridTemplateRows:!0,gridTemplateAreas:!0,gridArea:!0};function Qg(e,t,n,r){const o=typeof t=="string"?t.split("."):[t];for(r=0;r<o.length&&e;r+=1)e=e[o[r]];return e===void 0?n:e}const e5=(e=>{const t=new WeakMap;return(r,o,i,a)=>{if(typeof r>"u")return e(r,o,i);t.has(r)||t.set(r,new Map);const s=t.get(r);if(s.has(o))return s.get(o);const l=e(r,o,i,a);return s.set(o,l),l}})(Qg),t5={border:"0px",clip:"rect(0, 0, 0, 0)",width:"1px",height:"1px",margin:"-1px",padding:"0px",overflow:"hidden",whiteSpace:"nowrap",position:"absolute"},n5={position:"static",width:"auto",height:"auto",clip:"auto",padding:"0",margin:"0",overflow:"visible",whiteSpace:"normal"},Wl=(e,t,n)=>{const r={},o=e5(e,t,{});for(const i in o)i in n&&n[i]!=null||(r[i]=o[i]);return r},r5={srOnly:{transform(e){return e===!0?t5:e==="focusable"?n5:{}}},layerStyle:{processResult:!0,transform:(e,t,n)=>Wl(t,`layerStyles.${e}`,n)},textStyle:{processResult:!0,transform:(e,t,n)=>Wl(t,`textStyles.${e}`,n)},apply:{processResult:!0,transform:(e,t,n)=>Wl(t,e,n)}},Mi={position:!0,pos:M.prop("position"),zIndex:M.prop("zIndex","zIndices"),inset:M.spaceT("inset"),insetX:M.spaceT(["left","right"]),insetInline:M.spaceT("insetInline"),insetY:M.spaceT(["top","bottom"]),insetBlock:M.spaceT("insetBlock"),top:M.spaceT("top"),insetBlockStart:M.spaceT("insetBlockStart"),bottom:M.spaceT("bottom"),insetBlockEnd:M.spaceT("insetBlockEnd"),left:M.spaceT("left"),insetInlineStart:M.logical({scale:"space",property:{ltr:"left",rtl:"right"}}),right:M.spaceT("right"),insetInlineEnd:M.logical({scale:"space",property:{ltr:"right",rtl:"left"}})};Object.assign(Mi,{insetStart:Mi.insetInlineStart,insetEnd:Mi.insetInlineEnd});const Hl={boxShadow:M.shadows("boxShadow"),mixBlendMode:!0,blendMode:M.prop("mixBlendMode"),backgroundBlendMode:!0,bgBlendMode:M.prop("backgroundBlendMode"),opacity:!0};Object.assign(Hl,{shadow:Hl.boxShadow});const gt={margin:M.spaceT("margin"),marginTop:M.spaceT("marginTop"),marginBlockStart:M.spaceT("marginBlockStart"),marginRight:M.spaceT("marginRight"),marginInlineEnd:M.spaceT("marginInlineEnd"),marginBottom:M.spaceT("marginBottom"),marginBlockEnd:M.spaceT("marginBlockEnd"),marginLeft:M.spaceT("marginLeft"),marginInlineStart:M.spaceT("marginInlineStart"),marginX:M.spaceT(["marginInlineStart","marginInlineEnd"]),marginInline:M.spaceT("marginInline"),marginY:M.spaceT(["marginTop","marginBottom"]),marginBlock:M.spaceT("marginBlock"),padding:M.space("padding"),paddingTop:M.space("paddingTop"),paddingBlockStart:M.space("paddingBlockStart"),paddingRight:M.space("paddingRight"),paddingBottom:M.space("paddingBottom"),paddingBlockEnd:M.space("paddingBlockEnd"),paddingLeft:M.space("paddingLeft"),paddingInlineStart:M.space("paddingInlineStart"),paddingInlineEnd:M.space("paddingInlineEnd"),paddingX:M.space(["paddingInlineStart","paddingInlineEnd"]),paddingInline:M.space("paddingInline"),paddingY:M.space(["paddingTop","paddingBottom"]),paddingBlock:M.space("paddingBlock")};Object.assign(gt,{m:gt.margin,mt:gt.marginTop,mr:gt.marginRight,me:gt.marginInlineEnd,marginEnd:gt.marginInlineEnd,mb:gt.marginBottom,ml:gt.marginLeft,ms:gt.marginInlineStart,marginStart:gt.marginInlineStart,mx:gt.marginX,my:gt.marginY,p:gt.padding,pt:gt.paddingTop,py:gt.paddingY,px:gt.paddingX,pb:gt.paddingBottom,pl:gt.paddingLeft,ps:gt.paddingInlineStart,paddingStart:gt.paddingInlineStart,pr:gt.paddingRight,pe:gt.paddingInlineEnd,paddingEnd:gt.paddingInlineEnd});const o5={scrollBehavior:!0,scrollSnapAlign:!0,scrollSnapStop:!0,scrollSnapType:!0,scrollMargin:M.spaceT("scrollMargin"),scrollMarginTop:M.spaceT("scrollMarginTop"),scrollMarginBottom:M.spaceT("scrollMarginBottom"),scrollMarginLeft:M.spaceT("scrollMarginLeft"),scrollMarginRight:M.spaceT("scrollMarginRight"),scrollMarginX:M.spaceT(["scrollMarginLeft","scrollMarginRight"]),scrollMarginY:M.spaceT(["scrollMarginTop","scrollMarginBottom"]),scrollPadding:M.spaceT("scrollPadding"),scrollPaddingTop:M.spaceT("scrollPaddingTop"),scrollPaddingBottom:M.spaceT("scrollPaddingBottom"),scrollPaddingLeft:M.spaceT("scrollPaddingLeft"),scrollPaddingRight:M.spaceT("scrollPaddingRight"),scrollPaddingX:M.spaceT(["scrollPaddingLeft","scrollPaddingRight"]),scrollPaddingY:M.spaceT(["scrollPaddingTop","scrollPaddingBottom"])},i5={fontFamily:M.prop("fontFamily","fonts"),fontSize:M.prop("fontSize","fontSizes",Ve.px),fontWeight:M.prop("fontWeight","fontWeights"),lineHeight:M.prop("lineHeight","lineHeights"),letterSpacing:M.prop("letterSpacing","letterSpacings"),textAlign:!0,fontStyle:!0,textIndent:!0,wordBreak:!0,overflowWrap:!0,textOverflow:!0,textTransform:!0,whiteSpace:!0,isTruncated:{transform(e){if(e===!0)return{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}}},noOfLines:{static:{overflow:"hidden",textOverflow:"ellipsis",display:"-webkit-box",WebkitBoxOrient:"vertical",WebkitLineClamp:"var(--chakra-line-clamp)"},property:"--chakra-line-clamp"}},a5={textDecorationColor:M.colors("textDecorationColor"),textDecoration:!0,textDecor:{property:"textDecoration"},textDecorationLine:!0,textDecorationStyle:!0,textDecorationThickness:!0,textUnderlineOffset:!0,textShadow:M.shadows("textShadow")},s5={clipPath:!0,transform:M.propT("transform",Ve.transform),transformOrigin:!0,translateX:M.spaceT("--chakra-translate-x"),translateY:M.spaceT("--chakra-translate-y"),skewX:M.degreeT("--chakra-skew-x"),skewY:M.degreeT("--chakra-skew-y"),scaleX:M.prop("--chakra-scale-x"),scaleY:M.prop("--chakra-scale-y"),scale:M.prop(["--chakra-scale-x","--chakra-scale-y"]),rotate:M.degreeT("--chakra-rotate")},l5={listStyleType:!0,listStylePosition:!0,listStylePos:M.prop("listStylePosition"),listStyleImage:!0,listStyleImg:M.prop("listStyleImage")},c5={transition:!0,transitionDelay:!0,animation:!0,willChange:!0,transitionDuration:M.prop("transitionDuration","transition.duration"),transitionProperty:M.prop("transitionProperty","transition.property"),transitionTimingFunction:M.prop("transitionTimingFunction","transition.easing")},Ul=kn({},Xa,Ye,Kg,Ja,jn,Yg,Xg,Jg,qf,r5,Mi,Hl,gt,o5,i5,a5,s5,l5,c5),u5=Object.assign({},gt,jn,Ja,qf,Mi),d5=Object.keys(u5),f5=[...Object.keys(Ul),...Wf],p5={...Ul,..._o},h5=e=>e in p5,m5=e=>t=>{if(!t.__breakpoints)return e;const{isResponsive:n,toArrayValue:r,media:o}=t.__breakpoints,i={};for(const a in e){let s=mn(e[a],t);if(s==null)continue;if(s=rn(s)&&n(s)?r(s):s,!Array.isArray(s)){i[a]=s;continue}const l=s.slice(0,o.length).length;for(let c=0;c<l;c+=1){const u=o==null?void 0:o[c];if(!u){i[a]=s[c];continue}i[u]=i[u]||{},s[c]!=null&&(i[u][a]=s[c])}}return i};function g5(e){const t=[];let n="",r=!1;for(let o=0;o<e.length;o++){const i=e[o];i==="("?(r=!0,n+=i):i===")"?(r=!1,n+=i):i===","&&!r?(t.push(n),n=""):n+=i}return n=n.trim(),n&&t.push(n),t}function v5(e){return/^var\(--.+\)$/.test(e)}const b5=(e,t)=>e.startsWith("--")&&typeof t=="string"&&!v5(t),y5=(e,t)=>{if(t==null)return t;const n=a=>{var s,l;return(l=(s=e.__cssMap)==null?void 0:s[a])==null?void 0:l.varRef},r=a=>n(a)??a,[o,i]=g5(t);return t=n(o)??r(i)??r(t),t};function x5(e){const{configs:t={},pseudos:n={},theme:r}=e,o=(i,a=!1)=>{var u;const s=mn(i,r),l=m5(s)(r);let c={};for(let f in l){const p=l[f];let h=mn(p,r);f in n&&(f=n[f]),b5(f,h)&&(h=y5(r,h));let b=t[f];if(b===!0&&(b={property:f}),rn(h)){c[f]=c[f]??{},c[f]=kn({},c[f],o(h,!0));continue}let m=((u=b==null?void 0:b.transform)==null?void 0:u.call(b,h,r,s))??h;m=b!=null&&b.processResult?o(m,!0):m;const v=mn(b==null?void 0:b.property,r);if(!a&&(b!=null&&b.static)){const S=mn(b.static,r);c=kn({},c,S)}if(v&&Array.isArray(v)){for(const S of v)c[S]=m;continue}if(v){v==="&"&&rn(m)?c=kn({},c,m):c[v]=m;continue}if(rn(m)){c=kn({},c,m);continue}c[f]=m}return c};return o}const Zf=e=>t=>x5({theme:t,pseudos:_o,configs:Ul})(e);function KI(e){return e}function YI(e){return e}function mt(e){return{definePartsStyle(t){return t},defineMultiStyleConfig(t){return{parts:e,...t}}}}function C5(e,t,n){var r,o;return((o=(r=e.__cssMap)==null?void 0:r[`${t}.${n}`])==null?void 0:o.varRef)??n}function w5(e,t){if(Array.isArray(e))return e;if(rn(e))return t(e);if(e!=null)return[e]}function S5(e,t){for(let n=t+1;n<e.length;n++)if(e[n]!=null)return n;return-1}function k5(e){const t=e.__breakpoints;return function(r,o,i,a){var p,h;if(!t)return;const s={},l=w5(i,t.toArrayValue);if(!l)return s;const c=l.length,u=c===1,f=!!r.parts;for(let b=0;b<c;b++){const m=t.details[b],v=t.details[S5(l,b)],S=Pi(m.minW,v==null?void 0:v._minW),y=mn((p=r[o])==null?void 0:p[l[b]],a);if(y){if(f){(h=r.parts)==null||h.forEach(C=>{kn(s,{[C]:u?y[C]:{[S]:y[C]}})});continue}if(!f){u?kn(s,y):s[S]=y;continue}s[S]=y}}return s}}function _5(e){return t=>{const{variant:n,size:r,theme:o}=t,i=k5(o);return kn({},mn(e.baseStyle??{},t),i(e,"sizes",r,t),i(e,"variants",n,t))}}function Ct(e){return So(e,["styleConfig","size","variant","colorScheme"])}function Gf(e){return rn(e)&&e.reference?e.reference:String(e)}const Qa=(e,...t)=>t.map(Gf).join(` ${e} `).replace(/calc/g,""),Kf=(...e)=>`calc(${Qa("+",...e)})`,Yf=(...e)=>`calc(${Qa("-",...e)})`,ql=(...e)=>`calc(${Qa("*",...e)})`,Xf=(...e)=>`calc(${Qa("/",...e)})`,Jf=e=>{const t=Gf(e);return t!=null&&!Number.isNaN(parseFloat(t))?String(t).startsWith("-")?String(t).slice(1):`-${t}`:ql(t,-1)},pr=Object.assign(e=>({add:(...t)=>pr(Kf(e,...t)),subtract:(...t)=>pr(Yf(e,...t)),multiply:(...t)=>pr(ql(e,...t)),divide:(...t)=>pr(Xf(e,...t)),negate:()=>pr(Jf(e)),toString:()=>e.toString()}),{add:Kf,subtract:Yf,multiply:ql,divide:Xf,negate:Jf});function j5(e,t="-"){return e.replace(/\s+/g,t)}function T5(e){const t=j5(e.toString());return E5(P5(t))}function P5(e){return e.includes("\\.")?e:!Number.isInteger(parseFloat(e.toString()))?e.replace(".","\\."):e}function E5(e){return e.replace(/[!-,/:-@[-^`{-~]/g,"\\$&")}function A5(e,t=""){return[t,e].filter(Boolean).join("-")}function M5(e,t){return`var(${e}${t?`, ${t}`:""})`}function O5(e,t=""){return T5(`--${A5(e,t)}`)}function Pe(e,t,n){const r=O5(e,n);return{variable:r,reference:M5(r,t)}}function I5(e,t){const n={};for(const r of t){if(Array.isArray(r)){const[o,i]=r;n[o]=Pe(`${e}-${o}`,i);continue}n[r]=Pe(`${e}-${r}`)}return n}const D5=["colors","borders","borderWidths","borderStyles","fonts","fontSizes","fontWeights","gradients","letterSpacings","lineHeights","radii","space","shadows","sizes","zIndices","transition","blur","breakpoints"];function $5(e){return Ff(e,D5)}function F5(e){return e.semanticTokens}function z5(e){const{__cssMap:t,__cssVars:n,__breakpoints:r,...o}=e;return o}function L5(e){const t=$5(e),n=F5(e),r=i=>Wf.includes(i)||i==="default",o={};return Lf(t,(i,a)=>{i!=null&&(o[a.join(".")]={isSemantic:!1,value:i})}),Lf(n,(i,a)=>{i!=null&&(o[a.join(".")]={isSemantic:!0,value:i})},{stop:i=>Object.keys(i).every(r)}),o}function Qf(e,t){return Pe(String(e).replace(/\./g,"-"),void 0,t)}function B5(e){var a;const t=L5(e),n=(a=e.config)==null?void 0:a.cssVarPrefix;let r={};const o={};function i(s,l){const u=[String(s).split(".")[0],l].join(".");if(!t[u])return l;const{reference:p}=Qf(u,n);return p}for(const[s,l]of Object.entries(t)){const{isSemantic:c,value:u}=l,{variable:f,reference:p}=Qf(s,n);if(!c){if(s.startsWith("space")){const b=s.split("."),[m,...v]=b,S=`${m}.-${v.join(".")}`,y=pr.negate(u),C=pr.negate(p);o[S]={value:y,var:f,varRef:C}}r[f]=u,o[s]={value:u,var:f,varRef:p};continue}const h=rn(u)?u:{default:u};r=kn(r,Object.entries(h).reduce((b,[m,v])=>{if(!v)return b;const S=i(s,`${v}`);if(m==="default")return b[f]=S,b;const y=(_o==null?void 0:_o[m])??m;return b[y]={[f]:S},b},{})),o[s]={value:p,var:f,varRef:p}}return{cssVars:r,cssMap:o}}function N5(e){const t=z5(e),{cssMap:n,cssVars:r}=B5(t);return Object.assign(t,{__cssVars:{...{"--chakra-ring-inset":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-ring-offset-width":"0px","--chakra-ring-offset-color":"#fff","--chakra-ring-color":"rgba(66, 153, 225, 0.6)","--chakra-ring-offset-shadow":"0 0 #0000","--chakra-ring-shadow":"0 0 #0000","--chakra-space-x-reverse":"0","--chakra-space-y-reverse":"0"},...r},__cssMap:n,__breakpoints:lg(t.breakpoints)}),t}function Xe(e,t={}){let n=!1;function r(){if(!n){n=!0;return}throw new Error("[anatomy] .part(...) should only be called once. Did you mean to use .extend(...) ?")}function o(...u){r();for(const f of u)t[f]=l(f);return Xe(e,t)}function i(...u){for(const f of u)f in t||(t[f]=l(f));return Xe(e,t)}function a(){return Object.fromEntries(Object.entries(t).map(([f,p])=>[f,p.selector]))}function s(){return Object.fromEntries(Object.entries(t).map(([f,p])=>[f,p.className]))}function l(u){const h=`chakra-${(["container","root"].includes(u??"")?[e]:[e,u]).filter(Boolean).join("__")}`;return{className:h,selector:`.${h}`,toString:()=>u}}return{parts:o,toPart:l,extend:i,selectors:a,classnames:s,get keys(){return Object.keys(t)},__type:{}}}const R5=Xe("accordion").parts("root","container","button","panel","icon"),V5=Xe("alert").parts("title","description","container","icon","spinner"),W5=Xe("avatar").parts("label","badge","container","excessLabel","group"),H5=Xe("breadcrumb").parts("link","item","container","separator");Xe("button").parts();const U5=Xe("checkbox").parts("control","icon","container","label");Xe("progress").parts("track","filledTrack","label");const q5=Xe("drawer").parts("overlay","dialogContainer","dialog","header","closeButton","body","footer"),Z5=Xe("editable").parts("preview","input","textarea"),G5=Xe("form").parts("container","requiredIndicator","helperText"),K5=Xe("formError").parts("text","icon"),Y5=Xe("input").parts("addon","field","element","group"),X5=Xe("list").parts("container","item","icon"),J5=Xe("menu").parts("button","list","item","groupTitle","icon","command","divider"),Q5=Xe("modal").parts("overlay","dialogContainer","dialog","header","closeButton","body","footer"),ev=Xe("numberinput").parts("root","field","stepperGroup","stepper");Xe("pininput").parts("field");const tv=Xe("popover").parts("content","header","body","footer","popper","arrow","closeButton"),nv=Xe("progress").parts("label","filledTrack","track"),rv=Xe("radio").parts("container","control","label"),ov=Xe("select").parts("field","icon"),iv=Xe("slider").parts("container","track","thumb","filledTrack","mark"),av=Xe("stat").parts("container","label","helpText","number","icon"),sv=Xe("switch").parts("container","track","thumb","label"),lv=Xe("table").parts("table","thead","tbody","tr","th","td","tfoot","caption"),cv=Xe("tabs").parts("root","tab","tablist","tabpanel","tabpanels","indicator"),uv=Xe("tag").parts("container","label","closeButton"),dv=Xe("card").parts("container","header","body","footer");Xe("stepper").parts("stepper","step","title","description","indicator","separator","icon","number");const{definePartsStyle:fv,defineMultiStyleConfig:pv}=mt(R5.keys),hv={borderTopWidth:"1px",borderColor:"inherit",_last:{borderBottomWidth:"1px"}},mv={transitionProperty:"common",transitionDuration:"normal",fontSize:"md",_focusVisible:{boxShadow:"outline"},_hover:{bg:"blackAlpha.50"},_disabled:{opacity:.4,cursor:"not-allowed"},px:"4",py:"2"},gv={pt:"2",px:"4",pb:"5"},vv={fontSize:"1.25em"},bv=fv({container:hv,button:mv,panel:gv,icon:vv}),yv=pv({baseStyle:bv});function Kr(e,t,n){return Math.min(Math.max(e,n),t)}class xv extends Error{constructor(t){super(`Failed to parse color: "${t}"`)}}var Oi=xv;function Zl(e){if(typeof e!="string")throw new Oi(e);if(e.trim().toLowerCase()==="transparent")return[0,0,0,0];let t=e.trim();t=Pv.test(e)?Sv(e):e;const n=kv.exec(t);if(n){const a=Array.from(n).slice(1);return[...a.slice(0,3).map(s=>parseInt(Ii(s,2),16)),parseInt(Ii(a[3]||"f",2),16)/255]}const r=_v.exec(t);if(r){const a=Array.from(r).slice(1);return[...a.slice(0,3).map(s=>parseInt(s,16)),parseInt(a[3]||"ff",16)/255]}const o=jv.exec(t);if(o){const a=Array.from(o).slice(1);return[...a.slice(0,3).map(s=>parseInt(s,10)),parseFloat(a[3]||"1")]}const i=Tv.exec(t);if(i){const[a,s,l,c]=Array.from(i).slice(1).map(parseFloat);if(Kr(0,100,s)!==s)throw new Oi(e);if(Kr(0,100,l)!==l)throw new Oi(e);return[...Ev(a,s,l),Number.isNaN(c)?1:c]}throw new Oi(e)}function Cv(e){let t=5381,n=e.length;for(;n;)t=t*33^e.charCodeAt(--n);return(t>>>0)%2341}const e1=e=>parseInt(e.replace(/_/g,""),36),wv="1q29ehhb 1n09sgk7 1kl1ekf_ _yl4zsno 16z9eiv3 1p29lhp8 _bd9zg04 17u0____ _iw9zhe5 _to73___ _r45e31e _7l6g016 _jh8ouiv _zn3qba8 1jy4zshs 11u87k0u 1ro9yvyo 1aj3xael 1gz9zjz0 _3w8l4xo 1bf1ekf_ _ke3v___ _4rrkb__ 13j776yz _646mbhl _nrjr4__ _le6mbhl 1n37ehkb _m75f91n _qj3bzfz 1939yygw 11i5z6x8 _1k5f8xs 1509441m 15t5lwgf _ae2th1n _tg1ugcv 1lp1ugcv 16e14up_ _h55rw7n _ny9yavn _7a11xb_ 1ih442g9 _pv442g9 1mv16xof 14e6y7tu 1oo9zkds 17d1cisi _4v9y70f _y98m8kc 1019pq0v 12o9zda8 _348j4f4 1et50i2o _8epa8__ _ts6senj 1o350i2o 1mi9eiuo 1259yrp0 1ln80gnw _632xcoy 1cn9zldc _f29edu4 1n490c8q _9f9ziet 1b94vk74 _m49zkct 1kz6s73a 1eu9dtog _q58s1rz 1dy9sjiq __u89jo3 _aj5nkwg _ld89jo3 13h9z6wx _qa9z2ii _l119xgq _bs5arju 1hj4nwk9 1qt4nwk9 1ge6wau6 14j9zlcw 11p1edc_ _ms1zcxe _439shk6 _jt9y70f _754zsow 1la40eju _oq5p___ _x279qkz 1fa5r3rv _yd2d9ip _424tcku _8y1di2_ _zi2uabw _yy7rn9h 12yz980_ __39ljp6 1b59zg0x _n39zfzp 1fy9zest _b33k___ _hp9wq92 1il50hz4 _io472ub _lj9z3eo 19z9ykg0 _8t8iu3a 12b9bl4a 1ak5yw0o _896v4ku _tb8k8lv _s59zi6t _c09ze0p 1lg80oqn 1id9z8wb _238nba5 1kq6wgdi _154zssg _tn3zk49 _da9y6tc 1sg7cv4f _r12jvtt 1gq5fmkz 1cs9rvci _lp9jn1c _xw1tdnb 13f9zje6 16f6973h _vo7ir40 _bt5arjf _rc45e4t _hr4e100 10v4e100 _hc9zke2 _w91egv_ _sj2r1kk 13c87yx8 _vqpds__ _ni8ggk8 _tj9yqfb 1ia2j4r4 _7x9b10u 1fc9ld4j 1eq9zldr _5j9lhpx _ez9zl6o _md61fzm".split(" ").reduce((e,t)=>{const n=e1(t.substring(0,3)),r=e1(t.substring(3)).toString(16);let o="";for(let i=0;i<6-r.length;i++)o+="0";return e[n]=`${o}${r}`,e},{});function Sv(e){const t=e.toLowerCase().trim(),n=wv[Cv(t)];if(!n)throw new Oi(e);return`#${n}`}const Ii=(e,t)=>Array.from(Array(t)).map(()=>e).join(""),kv=new RegExp(`^#${Ii("([a-f0-9])",3)}([a-f0-9])?$`,"i"),_v=new RegExp(`^#${Ii("([a-f0-9]{2})",3)}([a-f0-9]{2})?$`,"i"),jv=new RegExp(`^rgba?\\(\\s*(\\d+)\\s*${Ii(",\\s*(\\d+)\\s*",2)}(?:,\\s*([\\d.]+))?\\s*\\)$`,"i"),Tv=/^hsla?\(\s*([\d.]+)\s*,\s*([\d.]+)%\s*,\s*([\d.]+)%(?:\s*,\s*([\d.]+))?\s*\)$/i,Pv=/^[a-z]+$/i,t1=e=>Math.round(e*255),Ev=(e,t,n)=>{let r=n/100;if(t===0)return[r,r,r].map(t1);const o=(e%360+360)%360/60,i=(1-Math.abs(2*r-1))*(t/100),a=i*(1-Math.abs(o%2-1));let s=0,l=0,c=0;o>=0&&o<1?(s=i,l=a):o>=1&&o<2?(s=a,l=i):o>=2&&o<3?(l=i,c=a):o>=3&&o<4?(l=a,c=i):o>=4&&o<5?(s=a,c=i):o>=5&&o<6&&(s=i,c=a);const u=r-i/2,f=s+u,p=l+u,h=c+u;return[f,p,h].map(t1)};function Av(e,t,n,r){return`rgba(${Kr(0,255,e).toFixed()}, ${Kr(0,255,t).toFixed()}, ${Kr(0,255,n).toFixed()}, ${parseFloat(Kr(0,1,r).toFixed(3))})`}function Mv(e,t){const[n,r,o,i]=Zl(e);return Av(n,r,o,i-t)}function Ov(e){const[t,n,r,o]=Zl(e);let i=a=>{const s=Kr(0,255,a).toString(16);return s.length===1?`0${s}`:s};return`#${i(t)}${i(n)}${i(r)}${o<1?i(Math.round(o*255)):""}`}const Iv=e=>Object.keys(e).length===0;function Dv(e,t,n,r,o){for(t=t.split?t.split("."):t,r=0;r<t.length;r++)e=e?e[t[r]]:o;return e===o?n:e}const Gt=(e,t,n)=>{const r=Dv(e,`colors.${t}`,t);try{return Ov(r),r}catch{return"#000000"}},$v=e=>{const[t,n,r]=Zl(e);return(t*299+n*587+r*114)/1e3},Fv=e=>t=>{const n=Gt(t,e);return $v(n)<128?"dark":"light"},zv=e=>t=>Fv(e)(t)==="dark",Lt=(e,t)=>n=>{const r=Gt(n,e);return Mv(r,1-t)};function n1(e="1rem",t="rgba(255, 255, 255, 0.15)"){return{backgroundImage:`linear-gradient(
|
|
30
|
+
<%s key={someKey} {...props} />`,Me,Ce,it,Ce),jr[Ce+Me]=!0}}return T===r?Ba($):yi($),$}}function xo(T,te,pe){return On(T,te,pe,!0)}function Nn(T,te,pe){return On(T,te,pe,!1)}var xi=Nn,In=xo;Ti.Fragment=r,Ti.jsx=xi,Ti.jsxs=In}()),Ti}process.env.NODE_ENV==="production"?Il.exports=Q4():Il.exports=eg();var d=Il.exports;function qa(e){return e!=null&&typeof e=="object"&&"nodeType"in e&&e.nodeType===Node.ELEMENT_NODE}function tg(){return!!(globalThis!=null&&globalThis.document)}function jf(e){return e.parentElement&&jf(e.parentElement)?!0:e.hidden}function ng(e){const t=e.getAttribute("contenteditable");return t!=="false"&&t!=null}function rg(e){return!!e.getAttribute("disabled")||!!e.getAttribute("aria-disabled")}function og(e){var t;return((t=Tf(e))==null?void 0:t.defaultView)??window}function Tf(e){return qa(e)?e.ownerDocument:document}function ig(e){return Tf(e).activeElement}function ag(e,...t){if(e==null)throw new TypeError("Cannot convert undefined or null to object");const n={...e};for(const r of t)if(r!=null)for(const o in r)Object.prototype.hasOwnProperty.call(r,o)&&(o in n&&delete n[o],n[o]=r[o]);return n}const Le=e=>e?"":void 0,Dl=e=>e?!0:void 0;function Za(e){return Array.isArray(e)}function rn(e){const t=typeof e;return e!=null&&(t==="object"||t==="function")&&!Za(e)}function sg(e){const t=e==null?0:e.length;return t?e[t-1]:void 0}function lg(e){const t=parseFloat(e.toString()),n=e.toString().replace(String(t),"");return{unitless:!n,value:t,unit:n}}function $l(e){if(e==null)return e;const{unitless:t}=lg(e);return t||typeof e=="number"?`${e}px`:e}const Pf=(e,t)=>parseInt(e[1],10)>parseInt(t[1],10)?1:-1,Fl=e=>Object.fromEntries(Object.entries(e).sort(Pf));function Ef(e){const t=Fl(e);return Object.assign(Object.values(t),t)}function cg(e){const t=Object.keys(Fl(e));return new Set(t)}function Af(e){if(!e)return e;e=$l(e)??e;const t=-.02;return typeof e=="number"?`${e+t}`:e.replace(/(\d+\.?\d*)/u,n=>`${parseFloat(n)+t}`)}function Pi(e,t){const n=["@media screen"];return e&&n.push("and",`(min-width: ${$l(e)})`),t&&n.push("and",`(max-width: ${$l(t)})`),n.join(" ")}function ug(e){if(!e)return null;e.base=e.base??"0px";const t=Ef(e),n=Object.entries(e).sort(Pf).map(([i,a],s,l)=>{let[,c]=l[s+1]??[];return c=parseFloat(c)>0?Af(c):void 0,{_minW:Af(a),breakpoint:i,minW:a,maxW:c,maxWQuery:Pi(null,c),minWQuery:Pi(a),minMaxQuery:Pi(a,c)}}),r=cg(e),o=Array.from(r.values());return{keys:r,normalized:t,isResponsive(i){const a=Object.keys(i);return a.length>0&&a.every(s=>r.has(s))},asObject:Fl(e),asArray:Ef(e),details:n,get(i){return n.find(a=>a.breakpoint===i)},media:[null,...t.map(i=>Pi(i)).slice(1)],toArrayValue(i){if(!rn(i))throw new Error("toArrayValue: value must be an object");const a=o.map(s=>i[s]??null);for(;sg(a)===null;)a.pop();return a},toObjectValue(i){if(!Array.isArray(i))throw new Error("toObjectValue: value must be an array");return i.reduce((a,s,l)=>{const c=o[l];return c!=null&&s!=null&&(a[c]=s),a},{})}}}function Mf(...e){return function(...n){e.forEach(r=>r==null?void 0:r(...n))}}function Ue(...e){return function(n){e.some(r=>(r==null||r(n),n==null?void 0:n.defaultPrevented))}}function zl(e){return g.Children.toArray(e).filter(t=>g.isValidElement(t))}function Ei(e){const t=Object.assign({},e);for(let n in t)t[n]===void 0&&delete t[n];return t}function dg(e,t){return`${e} returned \`undefined\`. Seems you forgot to wrap component within ${t}`}function ht(e={}){const{name:t,strict:n=!0,hookName:r="useContext",providerName:o="Provider",errorMessage:i,defaultValue:a}=e,s=g.createContext(a);s.displayName=t;function l(){var u;const c=g.useContext(s);if(!c&&n){const f=new Error(i??dg(r,o));throw f.name="ContextError",(u=Error.captureStackTrace)==null||u.call(Error,f,l),f}return c}return[s.Provider,l,s]}const Pe=(...e)=>e.filter(Boolean).join(" "),Of=e=>e.hasAttribute("tabindex"),fg=e=>Of(e)&&e.tabIndex===-1;function If(e){if(!qa(e)||jf(e)||rg(e))return!1;const{localName:t}=e;if(["input","select","textarea","button"].indexOf(t)>=0)return!0;const r={a:()=>e.hasAttribute("href"),audio:()=>e.hasAttribute("controls"),video:()=>e.hasAttribute("controls")};return t in r?r[t]():ng(e)?!0:Of(e)}function pg(e){return e?qa(e)&&If(e)&&!fg(e):!1}const hg=["input:not(:disabled):not([disabled])","select:not(:disabled):not([disabled])","textarea:not(:disabled):not([disabled])","embed","iframe","object","a[href]","area[href]","button:not(:disabled):not([disabled])","[tabindex]","audio[controls]","video[controls]","*[tabindex]:not([aria-disabled])","*[contenteditable]"].join(),mg=e=>e.offsetWidth>0&&e.offsetHeight>0;function gg(e){const t=Array.from(e.querySelectorAll(hg));return t.unshift(e),t.filter(n=>If(n)&&mg(n))}function Df(e,t,n,r){const o=typeof t=="string"?t.split("."):[t];for(r=0;r<o.length&&e;r+=1)e=e[o[r]];return e===void 0?n:e}const $f=(e=>{const t=new WeakMap;return(r,o,i,a)=>{if(typeof r>"u")return e(r,o,i);t.has(r)||t.set(r,new Map);const s=t.get(r);if(s.has(o))return s.get(o);const l=e(r,o,i,a);return s.set(o,l),l}})(Df),vg=e=>e.default||e;function bg(e){const{wasSelected:t,enabled:n,isSelected:r,mode:o="unmount"}=e;return!!(!n||r||o==="keepMounted"&&t)}function So(e,t=[]){const n=Object.assign({},e);for(const r of t)r in n&&delete n[r];return n}function Ff(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function yg(e,t){return Array.isArray(e)?e.map(n=>n===null?null:t(n)):rn(e)?Object.keys(e).reduce((n,r)=>(n[r]=t(e[r]),n),{}):e!=null?t(e):null}const xg=e=>typeof e=="function";function mn(e,...t){return xg(e)?e(...t):e}function Cg(e){const t=e.ownerDocument.defaultView||window,{overflow:n,overflowX:r,overflowY:o}=t.getComputedStyle(e);return/auto|scroll|overlay|hidden/.test(n+o+r)}function wg(e){return e.localName==="html"?e:e.assignedSlot||e.parentElement||e.ownerDocument.documentElement}function zf(e){return["html","body","#document"].includes(e.localName)?e.ownerDocument.body:qa(e)&&Cg(e)?e:zf(wg(e))}function Sg(e,t){const n={},r={};for(const[o,i]of Object.entries(e))t.includes(o)?n[o]=i:r[o]=i;return[n,r]}function kg(e,...t){const n=Object.getOwnPropertyDescriptors(e),r=Object.keys(n),o=a=>{const s={};for(let l=0;l<a.length;l++){const c=a[l];n[c]&&(Object.defineProperty(s,c,n[c]),delete n[c])}return s},i=a=>o(Array.isArray(a)?a:r.filter(a));return t.map(i).concat(o(r))}function Lf(e,t,n={}){const{stop:r,getKey:o}=n;function i(a,s=[]){if(rn(a)||Array.isArray(a)){const l={};for(const[c,u]of Object.entries(a)){const f=(o==null?void 0:o(c))??c,p=[...s,f];if(r!=null&&r(a,p))return t(a,s);l[f]=i(u,p)}return l}return t(a,s)}return i(e)}const Ai=e=>{const{condition:t,message:n}=e;t&&process.env.NODE_ENV!=="production"&&console.warn(n)};var Ga={exports:{}};Ga.exports,function(e,t){var n=200,r="__lodash_hash_undefined__",o=800,i=16,a=9007199254740991,s="[object Arguments]",l="[object Array]",c="[object AsyncFunction]",u="[object Boolean]",f="[object Date]",p="[object Error]",h="[object Function]",b="[object GeneratorFunction]",m="[object Map]",v="[object Number]",S="[object Null]",y="[object Object]",w="[object Proxy]",j="[object RegExp]",x="[object Set]",E="[object String]",P="[object Undefined]",D="[object WeakMap]",R="[object ArrayBuffer]",z="[object DataView]",X="[object Float32Array]",ce="[object Float64Array]",le="[object Int8Array]",L="[object Int16Array]",Y="[object Int32Array]",K="[object Uint8Array]",N="[object Uint8ClampedArray]",ue="[object Uint16Array]",he="[object Uint32Array]",O=/[\\^$.*+?()[\]{}|]/g,F=/^\[object .+?Constructor\]$/,Z=/^(?:0|[1-9]\d*)$/,V={};V[X]=V[ce]=V[le]=V[L]=V[Y]=V[K]=V[N]=V[ue]=V[he]=!0,V[s]=V[l]=V[R]=V[u]=V[z]=V[f]=V[p]=V[h]=V[m]=V[v]=V[y]=V[j]=V[x]=V[E]=V[D]=!1;var B=typeof Ha=="object"&&Ha&&Ha.Object===Object&&Ha,C=typeof self=="object"&&self&&self.Object===Object&&self,J=B||C||Function("return this")(),Q=t&&!t.nodeType&&t,ee=Q&&!0&&e&&!e.nodeType&&e,me=ee&&ee.exports===Q,de=me&&B.process,ke=function(){try{var _=ee&&ee.require&&ee.require("util").types;return _||de&&de.binding&&de.binding("util")}catch{}}(),H=ke&&ke.isTypedArray;function Te(_,I,W){switch(W.length){case 0:return _.call(I);case 1:return _.call(I,W[0]);case 2:return _.call(I,W[0],W[1]);case 3:return _.call(I,W[0],W[1],W[2])}return _.apply(I,W)}function De(_,I){for(var W=-1,we=Array(_);++W<_;)we[W]=I(W);return we}function A(_){return function(I){return _(I)}}function q(_,I){return _==null?void 0:_[I]}function re(_,I){return function(W){return _(I(W))}}var xe=Array.prototype,ve=Function.prototype,be=Object.prototype,je=J["__core-js_shared__"],$e=ve.toString,fe=be.hasOwnProperty,U=function(){var _=/[^.]+$/.exec(je&&je.keys&&je.keys.IE_PROTO||"");return _?"Symbol(src)_1."+_:""}(),oe=be.toString,ie=$e.call(Object),se=RegExp("^"+$e.call(fe).replace(O,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Ie=me?J.Buffer:void 0,bt=J.Symbol,ot=J.Uint8Array;Ie&&Ie.allocUnsafe;var _t=re(Object.getPrototypeOf,Object),$t=Object.create,Qt=be.propertyIsEnumerable,lt=xe.splice,Mt=bt?bt.toStringTag:void 0,Zt=function(){try{var _=Ge(Object,"defineProperty");return _({},"",{}),_}catch{}}(),Bn=Ie?Ie.isBuffer:void 0,fn=Math.max,xn=Date.now,yo=Ge(J,"Map"),pn=Ge(Object,"create"),Vr=function(){function _(){}return function(I){if(!wo(I))return{};if($t)return $t(I);_.prototype=I;var W=new _;return _.prototype=void 0,W}}();function hn(_){var I=-1,W=_==null?0:_.length;for(this.clear();++I<W;){var we=_[I];this.set(we[0],we[1])}}function kr(){this.__data__=pn?pn(null):{},this.size=0}function lr(_){var I=this.has(_)&&delete this.__data__[_];return this.size-=I?1:0,I}function Cn(_){var I=this.__data__;if(pn){var W=I[_];return W===r?void 0:W}return fe.call(I,_)?I[_]:void 0}function bi(_){var I=this.__data__;return pn?I[_]!==void 0:fe.call(I,_)}function _r(_,I){var W=this.__data__;return this.size+=this.has(_)?0:1,W[_]=pn&&I===void 0?r:I,this}hn.prototype.clear=kr,hn.prototype.delete=lr,hn.prototype.get=Cn,hn.prototype.has=bi,hn.prototype.set=_r;function en(_){var I=-1,W=_==null?0:_.length;for(this.clear();++I<W;){var we=_[I];this.set(we[0],we[1])}}function yi(){this.__data__=[],this.size=0}function Ba(_){var I=this.__data__,W=ne(I,_);if(W<0)return!1;var we=I.length-1;return W==we?I.pop():lt.call(I,W,1),--this.size,!0}function jr(_){var I=this.__data__,W=ne(I,_);return W<0?void 0:I[W][1]}function On(_){return ne(this.__data__,_)>-1}function xo(_,I){var W=this.__data__,we=ne(W,_);return we<0?(++this.size,W.push([_,I])):W[we][1]=I,this}en.prototype.clear=yi,en.prototype.delete=Ba,en.prototype.get=jr,en.prototype.has=On,en.prototype.set=xo;function Nn(_){var I=-1,W=_==null?0:_.length;for(this.clear();++I<W;){var we=_[I];this.set(we[0],we[1])}}function xi(){this.size=0,this.__data__={hash:new hn,map:new(yo||en),string:new hn}}function In(_){var I=Ke(this,_).delete(_);return this.size-=I?1:0,I}function T(_){return Ke(this,_).get(_)}function te(_){return Ke(this,_).has(_)}function pe(_,I){var W=Ke(this,_),we=W.size;return W.set(_,I),this.size+=W.size==we?0:1,this}Nn.prototype.clear=xi,Nn.prototype.delete=In,Nn.prototype.get=T,Nn.prototype.has=te,Nn.prototype.set=pe;function _e(_){var I=this.__data__=new en(_);this.size=I.size}function Re(){this.__data__=new en,this.size=0}function Ze(_){var I=this.__data__,W=I.delete(_);return this.size=I.size,W}function Ne(_){return this.__data__.get(_)}function ze(_){return this.__data__.has(_)}function Ft(_,I){var W=this.__data__;if(W instanceof en){var we=W.__data__;if(!yo||we.length<n-1)return we.push([_,I]),this.size=++W.size,this;W=this.__data__=new Nn(we)}return W.set(_,I),this.size=W.size,this}_e.prototype.clear=Re,_e.prototype.delete=Ze,_e.prototype.get=Ne,_e.prototype.has=ze,_e.prototype.set=Ft;function k(_,I){var W=qr(_),we=!W&&_i(_),He=!W&&!we&&q4(_),pt=!W&&!we&&!He&&G4(_),yt=W||we||He||pt,tt=yt?De(_.length,String):[],xt=tt.length;for(var Vn in _)yt&&(Vn=="length"||He&&(Vn=="offset"||Vn=="parent")||pt&&(Vn=="buffer"||Vn=="byteLength"||Vn=="byteOffset")||Co(Vn,xt))||tt.push(Vn);return tt}function $(_,I,W){(W!==void 0&&!Pr(_[I],W)||W===void 0&&!(I in _))&&Ce(_,I,W)}function G(_,I,W){var we=_[I];(!(fe.call(_,I)&&Pr(we,W))||W===void 0&&!(I in _))&&Ce(_,I,W)}function ne(_,I){for(var W=_.length;W--;)if(Pr(_[W][0],I))return W;return-1}function Ce(_,I,W){I=="__proto__"&&Zt?Zt(_,I,{configurable:!0,enumerable:!0,value:W,writable:!0}):_[I]=W}var ye=yf();function Me(_){return _==null?_===void 0?P:S:Mt&&Mt in Object(_)?Na(_):Ur(_)}function it(_){return Va(_)&&Me(_)==s}function ct(_){if(!wo(_)||ur(_))return!1;var I=xf(_)?se:F;return I.test(ki(_))}function at(_){return Va(_)&&Z4(_.length)&&!!V[Me(_)]}function We(_){if(!wo(_))return Ci(_);var I=Hr(_),W=[];for(var we in _)we=="constructor"&&(I||!fe.call(_,we))||W.push(we);return W}function tn(_,I,W,we,He){_!==I&&ye(I,function(pt,yt){if(He||(He=new _e),wo(pt))zt(_,I,yt,W,tn,we,He);else{var tt=we?we(wi(_,yt),pt,yt+"",_,I,He):void 0;tt===void 0&&(tt=pt),$(_,yt,tt)}},K4)}function zt(_,I,W,we,He,pt,yt){var tt=wi(_,W),xt=wi(I,W),Vn=yt.get(xt);if(Vn){$(_,W,Vn);return}var Sn=pt?pt(tt,xt,W+"",_,I,yt):void 0,Wa=Sn===void 0;if(Wa){var Cf=qr(xt),wf=!Cf&&q4(xt),X4=!Cf&&!wf&&G4(xt);Sn=xt,Cf||wf||X4?qr(tt)?Sn=tt:VI(tt)?Sn=Ml(tt):wf?(Wa=!1,Sn=wn(xt)):X4?(Wa=!1,Sn=cr(xt)):Sn=[]:WI(xt)||_i(xt)?(Sn=tt,_i(tt)?Sn=HI(tt):(!wo(tt)||xf(tt))&&(Sn=Tr(xt))):Wa=!1}Wa&&(yt.set(xt,Sn),He(Sn,xt,we,pt,yt),yt.delete(xt)),$(_,W,Sn)}function Et(_,I){return Si(dr(_,I,Y4),_+"")}var Ot=Zt?function(_,I){return Zt(_,"toString",{configurable:!0,enumerable:!1,value:qI(I),writable:!0})}:Y4;function wn(_,I){return _.slice()}function Wr(_){var I=new _.constructor(_.byteLength);return new ot(I).set(new ot(_)),I}function cr(_,I){var W=Wr(_.buffer);return new _.constructor(W,_.byteOffset,_.length)}function Ml(_,I){var W=-1,we=_.length;for(I||(I=Array(we));++W<we;)I[W]=_[W];return I}function Ol(_,I,W,we){var He=!W;W||(W={});for(var pt=-1,yt=I.length;++pt<yt;){var tt=I[pt],xt=void 0;xt===void 0&&(xt=_[tt]),He?Ce(W,tt,xt):G(W,tt,xt)}return W}function bf(_){return Et(function(I,W){var we=-1,He=W.length,pt=He>1?W[He-1]:void 0,yt=He>2?W[2]:void 0;for(pt=_.length>3&&typeof pt=="function"?(He--,pt):void 0,yt&&nn(W[0],W[1],yt)&&(pt=He<3?void 0:pt,He=1),I=Object(I);++we<He;){var tt=W[we];tt&&_(I,tt,we,pt)}return I})}function yf(_){return function(I,W,we){for(var He=-1,pt=Object(I),yt=we(I),tt=yt.length;tt--;){var xt=yt[++He];if(W(pt[xt],xt,pt)===!1)break}return I}}function Ke(_,I){var W=_.__data__;return Rn(I)?W[typeof I=="string"?"string":"hash"]:W.map}function Ge(_,I){var W=q(_,I);return ct(W)?W:void 0}function Na(_){var I=fe.call(_,Mt),W=_[Mt];try{_[Mt]=void 0;var we=!0}catch{}var He=oe.call(_);return we&&(I?_[Mt]=W:delete _[Mt]),He}function Tr(_){return typeof _.constructor=="function"&&!Hr(_)?Vr(_t(_)):{}}function Co(_,I){var W=typeof _;return I=I??a,!!I&&(W=="number"||W!="symbol"&&Z.test(_))&&_>-1&&_%1==0&&_<I}function nn(_,I,W){if(!wo(W))return!1;var we=typeof I;return(we=="number"?Zr(W)&&Co(I,W.length):we=="string"&&I in W)?Pr(W[I],_):!1}function Rn(_){var I=typeof _;return I=="string"||I=="number"||I=="symbol"||I=="boolean"?_!=="__proto__":_===null}function ur(_){return!!U&&U in _}function Hr(_){var I=_&&_.constructor,W=typeof I=="function"&&I.prototype||be;return _===W}function Ci(_){var I=[];if(_!=null)for(var W in Object(_))I.push(W);return I}function Ur(_){return oe.call(_)}function dr(_,I,W){return I=fn(I===void 0?_.length-1:I,0),function(){for(var we=arguments,He=-1,pt=fn(we.length-I,0),yt=Array(pt);++He<pt;)yt[He]=we[I+He];He=-1;for(var tt=Array(I+1);++He<I;)tt[He]=we[He];return tt[I]=W(yt),Te(_,this,tt)}}function wi(_,I){if(!(I==="constructor"&&typeof _[I]=="function")&&I!="__proto__")return _[I]}var Si=Ra(Ot);function Ra(_){var I=0,W=0;return function(){var we=xn(),He=i-(we-W);if(W=we,He>0){if(++I>=o)return arguments[0]}else I=0;return _.apply(void 0,arguments)}}function ki(_){if(_!=null){try{return $e.call(_)}catch{}try{return _+""}catch{}}return""}function Pr(_,I){return _===I||_!==_&&I!==I}var _i=it(function(){return arguments}())?it:function(_){return Va(_)&&fe.call(_,"callee")&&!Qt.call(_,"callee")},qr=Array.isArray;function Zr(_){return _!=null&&Z4(_.length)&&!xf(_)}function VI(_){return Va(_)&&Zr(_)}var q4=Bn||ZI;function xf(_){if(!wo(_))return!1;var I=Me(_);return I==h||I==b||I==c||I==w}function Z4(_){return typeof _=="number"&&_>-1&&_%1==0&&_<=a}function wo(_){var I=typeof _;return _!=null&&(I=="object"||I=="function")}function Va(_){return _!=null&&typeof _=="object"}function WI(_){if(!Va(_)||Me(_)!=y)return!1;var I=_t(_);if(I===null)return!0;var W=fe.call(I,"constructor")&&I.constructor;return typeof W=="function"&&W instanceof W&&$e.call(W)==ie}var G4=H?A(H):at;function HI(_){return Ol(_,K4(_))}function K4(_){return Zr(_)?k(_):We(_)}var UI=bf(function(_,I,W,we){tn(_,I,W,we)});function qI(_){return function(){return _}}function Y4(_){return _}function ZI(){return!1}e.exports=UI}(Ga,Ga.exports);var _g=Ga.exports;const kn=Ua(_g);function Dn(e,t=[]){const n=g.useRef(e);return g.useEffect(()=>{n.current=e}),g.useCallback((...r)=>{var o;return(o=n.current)==null?void 0:o.call(n,...r)},t)}function Ka(e,t,n,r){const o=Dn(n);return g.useEffect(()=>{const i=typeof e=="function"?e():e??document;if(!(!n||!i))return i.addEventListener(t,o,r),()=>{i.removeEventListener(t,o,r)}},[t,e,r,o,n]),()=>{const i=typeof e=="function"?e():e??document;i==null||i.removeEventListener(t,o,r)}}function jg(e){const{isOpen:t,ref:n}=e,[r,o]=g.useState(t),[i,a]=g.useState(!1);return g.useEffect(()=>{i||(o(t),a(!0))},[t,i,r]),Ka(()=>n.current,"animationend",()=>{o(t)}),{present:!(t?!1:!r),onComplete(){var u;const l=og(n.current),c=new l.CustomEvent("animationend",{bubbles:!0});(u=n.current)==null||u.dispatchEvent(c)}}}function Bf(e){const{value:t,defaultValue:n,onChange:r,shouldUpdate:o=(p,h)=>p!==h}=e,i=Dn(r),a=Dn(o),[s,l]=g.useState(n),c=t!==void 0,u=c?t:s,f=Dn(p=>{const b=typeof p=="function"?p(u):p;a(u,b)&&(c||l(b),i(b))},[c,i,u,a]);return[u,f]}function Nf(e={}){const{onClose:t,onOpen:n,isOpen:r,id:o}=e,i=Dn(n),a=Dn(t),[s,l]=g.useState(e.defaultIsOpen||!1),c=r!==void 0?r:s,u=r!==void 0,f=g.useId(),p=o??`disclosure-${f}`,h=g.useCallback(()=>{u||l(!1),a==null||a()},[u,a]),b=g.useCallback(()=>{u||l(!0),i==null||i()},[u,i]),m=g.useCallback(()=>{c?h():b()},[c,b,h]);function v(y={}){return{...y,"aria-expanded":c,"aria-controls":p,onClick(w){var j;(j=y.onClick)==null||j.call(y,w),m()}}}function S(y={}){return{...y,hidden:!c,id:p}}return{isOpen:c,onOpen:b,onClose:h,onToggle:m,isControlled:u,getButtonProps:v,getDisclosureProps:S}}const Gr=globalThis!=null&&globalThis.document?g.useLayoutEffect:g.useEffect,ko=(e,t)=>{const n=g.useRef(!1),r=g.useRef(!1);g.useEffect(()=>{if(n.current&&r.current)return e();r.current=!0},t),g.useEffect(()=>(n.current=!0,()=>{n.current=!1}),[])};function Tg(e){const t=e.current;if(!t)return!1;const n=ig(t);return!n||t.contains(n)?!1:!!pg(n)}function Pg(e,t){const{shouldFocus:n,visible:r,focusRef:o}=t,i=n&&!r;ko(()=>{if(!i||Tg(e))return;const a=(o==null?void 0:o.current)||e.current;let s;if(a)return s=requestAnimationFrame(()=>{a.focus({preventScroll:!0})}),()=>{cancelAnimationFrame(s)}},[i,e,o])}function Eg(e,t){const n=g.useId();return g.useMemo(()=>e||[t,n].filter(Boolean).join("-"),[e,t,n])}function Ag(e,...t){const n=Eg(e);return g.useMemo(()=>t.map(r=>`${r}-${n}`),[n,t])}function Mg(e,t){if(e!=null){if(typeof e=="function"){e(t);return}try{e.current=t}catch{throw new Error(`Cannot assign value '${t}' to ref '${e}'`)}}}function Bt(...e){return t=>{e.forEach(n=>{Mg(n,t)})}}function Og(...e){return g.useMemo(()=>Bt(...e),e)}function Ig(e){const{ref:t,handler:n,enabled:r=!0}=e,o=Dn(n),a=g.useRef({isPointerDown:!1,ignoreEmulatedMouseEvents:!1}).current;g.useEffect(()=>{if(!r)return;const s=f=>{Ll(f,t)&&(a.isPointerDown=!0)},l=f=>{if(a.ignoreEmulatedMouseEvents){a.ignoreEmulatedMouseEvents=!1;return}a.isPointerDown&&n&&Ll(f,t)&&(a.isPointerDown=!1,o(f))},c=f=>{a.ignoreEmulatedMouseEvents=!0,n&&a.isPointerDown&&Ll(f,t)&&(a.isPointerDown=!1,o(f))},u=Rf(t.current);return u.addEventListener("mousedown",s,!0),u.addEventListener("mouseup",l,!0),u.addEventListener("touchstart",s,!0),u.addEventListener("touchend",c,!0),()=>{u.removeEventListener("mousedown",s,!0),u.removeEventListener("mouseup",l,!0),u.removeEventListener("touchstart",s,!0),u.removeEventListener("touchend",c,!0)}},[n,t,o,a,r])}function Ll(e,t){var r,o;const n=((r=e.composedPath)==null?void 0:r.call(e)[0])??e.target;return n&&!Rf(n).contains(n)?!1:!((o=t.current)!=null&&o.contains(n))}function Rf(e){return(e==null?void 0:e.ownerDocument)??document}function Dg(e,t){const n=Dn(e);g.useEffect(()=>{if(t==null)return;let r=null;return r=window.setTimeout(()=>{n()},t),()=>{r&&window.clearTimeout(r)}},[t,n])}const It={open:(e,t)=>`${e}[data-open], ${e}[open], ${e}[data-state=open] ${t}`,closed:(e,t)=>`${e}[data-closed], ${e}[data-state=closed] ${t}`,hover:(e,t)=>`${e}:hover ${t}, ${e}[data-hover] ${t}`,focus:(e,t)=>`${e}:focus ${t}, ${e}[data-focus] ${t}`,focusVisible:(e,t)=>`${e}:focus-visible ${t}`,focusWithin:(e,t)=>`${e}:focus-within ${t}`,active:(e,t)=>`${e}:active ${t}, ${e}[data-active] ${t}`,disabled:(e,t)=>`${e}:disabled ${t}, ${e}[data-disabled] ${t}`,invalid:(e,t)=>`${e}:invalid ${t}, ${e}[data-invalid] ${t}`,checked:(e,t)=>`${e}:checked ${t}, ${e}[data-checked] ${t}`,indeterminate:(e,t)=>`${e}:indeterminate ${t}, ${e}[aria-checked=mixed] ${t}, ${e}[data-indeterminate] ${t}`,readOnly:(e,t)=>`${e}:read-only ${t}, ${e}[readonly] ${t}, ${e}[data-read-only] ${t}`,expanded:(e,t)=>`${e}:read-only ${t}, ${e}[aria-expanded=true] ${t}, ${e}[data-expanded] ${t}`,placeholderShown:(e,t)=>`${e}:placeholder-shown ${t}`},Wn=e=>Vf(t=>e(t,"&"),"[role=group]","[data-group]",".group"),fr=e=>Vf(t=>e(t,"~ &"),"[data-peer]",".peer"),Vf=(e,...t)=>t.map(e).join(", "),_o={_hover:"&:hover, &[data-hover]",_active:"&:active, &[data-active]",_focus:"&:focus, &[data-focus]",_highlighted:"&[data-highlighted]",_focusWithin:"&:focus-within, &[data-focus-within]",_focusVisible:"&:focus-visible, &[data-focus-visible]",_disabled:"&:disabled, &[disabled], &[aria-disabled=true], &[data-disabled]",_readOnly:"&[aria-readonly=true], &[readonly], &[data-readonly]",_before:"&::before",_after:"&::after",_empty:"&:empty, &[data-empty]",_expanded:"&[aria-expanded=true], &[data-expanded], &[data-state=expanded]",_checked:"&[aria-checked=true], &[data-checked], &[data-state=checked]",_grabbed:"&[aria-grabbed=true], &[data-grabbed]",_pressed:"&[aria-pressed=true], &[data-pressed]",_invalid:"&[aria-invalid=true], &[data-invalid]",_valid:"&[data-valid], &[data-state=valid]",_loading:"&[data-loading], &[aria-busy=true]",_selected:"&[aria-selected=true], &[data-selected]",_hidden:"&[hidden], &[data-hidden]",_autofill:"&:-webkit-autofill",_even:"&:nth-of-type(even)",_odd:"&:nth-of-type(odd)",_first:"&:first-of-type",_firstLetter:"&::first-letter",_last:"&:last-of-type",_notFirst:"&:not(:first-of-type)",_notLast:"&:not(:last-of-type)",_visited:"&:visited",_activeLink:"&[aria-current=page]",_activeStep:"&[aria-current=step]",_indeterminate:"&:indeterminate, &[aria-checked=mixed], &[data-indeterminate], &[data-state=indeterminate]",_groupOpen:Wn(It.open),_groupClosed:Wn(It.closed),_groupHover:Wn(It.hover),_peerHover:fr(It.hover),_groupFocus:Wn(It.focus),_peerFocus:fr(It.focus),_groupFocusVisible:Wn(It.focusVisible),_peerFocusVisible:fr(It.focusVisible),_groupActive:Wn(It.active),_peerActive:fr(It.active),_groupDisabled:Wn(It.disabled),_peerDisabled:fr(It.disabled),_groupInvalid:Wn(It.invalid),_peerInvalid:fr(It.invalid),_groupChecked:Wn(It.checked),_peerChecked:fr(It.checked),_groupFocusWithin:Wn(It.focusWithin),_peerFocusWithin:fr(It.focusWithin),_peerPlaceholderShown:fr(It.placeholderShown),_placeholder:"&::placeholder, &[data-placeholder]",_placeholderShown:"&:placeholder-shown, &[data-placeholder-shown]",_fullScreen:"&:fullscreen, &[data-fullscreen]",_selection:"&::selection",_rtl:"[dir=rtl] &, &[dir=rtl]",_ltr:"[dir=ltr] &, &[dir=ltr]",_mediaDark:"@media (prefers-color-scheme: dark)",_mediaReduceMotion:"@media (prefers-reduced-motion: reduce)",_dark:".chakra-ui-dark &:not([data-theme]),[data-theme=dark] &:not([data-theme]),&[data-theme=dark]",_light:".chakra-ui-light &:not([data-theme]),[data-theme=light] &:not([data-theme]),&[data-theme=light]",_horizontal:"&[data-orientation=horizontal]",_vertical:"&[data-orientation=vertical]",_open:"&[data-open], &[open], &[data-state=open]",_closed:"&[data-closed], &[data-state=closed]",_complete:"&[data-complete]",_incomplete:"&[data-incomplete]",_current:"&[data-current]"},Wf=Object.keys(_o),$g=e=>/!(important)?$/.test(e),Hf=e=>typeof e=="string"?e.replace(/!(important)?$/,"").trim():e,Fg=(e,t)=>n=>{const r=String(t),o=$g(r),i=Hf(r),a=e?`${e}.${i}`:i;let s=rn(n.__cssMap)&&a in n.__cssMap?n.__cssMap[a].varRef:t;return s=Hf(s),o?`${s} !important`:s};function Bl(e){const{scale:t,transform:n,compose:r}=e;return(i,a)=>{const s=Fg(t,i)(a);let l=(n==null?void 0:n(s,a))??s;return r&&(l=r(l,a)),l}}const Ya=(...e)=>t=>e.reduce((n,r)=>r(n),t);function _n(e,t){return n=>{const r={property:n,scale:e};return r.transform=Bl({scale:e,transform:t}),r}}const zg=({rtl:e,ltr:t})=>n=>n.direction==="rtl"?e:t;function Lg(e){const{property:t,scale:n,transform:r}=e;return{scale:n,property:zg(t),transform:n?Bl({scale:n,compose:r}):r}}const Uf=["rotate(var(--chakra-rotate, 0))","scaleX(var(--chakra-scale-x, 1))","scaleY(var(--chakra-scale-y, 1))","skewX(var(--chakra-skew-x, 0))","skewY(var(--chakra-skew-y, 0))"];function Bg(){return["translateX(var(--chakra-translate-x, 0))","translateY(var(--chakra-translate-y, 0))",...Uf].join(" ")}function Ng(){return["translate3d(var(--chakra-translate-x, 0), var(--chakra-translate-y, 0), 0)",...Uf].join(" ")}const Rg={"--chakra-blur":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-brightness":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-contrast":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-grayscale":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-hue-rotate":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-invert":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-saturate":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-sepia":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-drop-shadow":"var(--chakra-empty,/*!*/ /*!*/)",filter:["var(--chakra-blur)","var(--chakra-brightness)","var(--chakra-contrast)","var(--chakra-grayscale)","var(--chakra-hue-rotate)","var(--chakra-invert)","var(--chakra-saturate)","var(--chakra-sepia)","var(--chakra-drop-shadow)"].join(" ")},Vg={backdropFilter:["var(--chakra-backdrop-blur)","var(--chakra-backdrop-brightness)","var(--chakra-backdrop-contrast)","var(--chakra-backdrop-grayscale)","var(--chakra-backdrop-hue-rotate)","var(--chakra-backdrop-invert)","var(--chakra-backdrop-opacity)","var(--chakra-backdrop-saturate)","var(--chakra-backdrop-sepia)"].join(" "),"--chakra-backdrop-blur":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-brightness":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-contrast":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-grayscale":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-hue-rotate":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-invert":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-opacity":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-saturate":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-sepia":"var(--chakra-empty,/*!*/ /*!*/)"};function Wg(e){return{"--chakra-ring-offset-shadow":"var(--chakra-ring-inset) 0 0 0 var(--chakra-ring-offset-width) var(--chakra-ring-offset-color)","--chakra-ring-shadow":"var(--chakra-ring-inset) 0 0 0 calc(var(--chakra-ring-width) + var(--chakra-ring-offset-width)) var(--chakra-ring-color)","--chakra-ring-width":e,boxShadow:["var(--chakra-ring-offset-shadow)","var(--chakra-ring-shadow)","var(--chakra-shadow, 0 0 #0000)"].join(", ")}}const Hg={"row-reverse":{space:"--chakra-space-x-reverse",divide:"--chakra-divide-x-reverse"},"column-reverse":{space:"--chakra-space-y-reverse",divide:"--chakra-divide-y-reverse"}},Nl={"to-t":"to top","to-tr":"to top right","to-r":"to right","to-br":"to bottom right","to-b":"to bottom","to-bl":"to bottom left","to-l":"to left","to-tl":"to top left"},Ug=new Set(Object.values(Nl)),Rl=new Set(["none","-moz-initial","inherit","initial","revert","unset"]),qg=e=>e.trim();function Zg(e,t){if(e==null||Rl.has(e))return e;if(!(Vl(e)||Rl.has(e)))return`url('${e}')`;const o=/(^[a-z-A-Z]+)\((.*)\)/g.exec(e),i=o==null?void 0:o[1],a=o==null?void 0:o[2];if(!i||!a)return e;const s=i.includes("-gradient")?i:`${i}-gradient`,[l,...c]=a.split(",").map(qg).filter(Boolean);if((c==null?void 0:c.length)===0)return e;const u=l in Nl?Nl[l]:l;c.unshift(u);const f=c.map(p=>{if(Ug.has(p))return p;const h=p.indexOf(" "),[b,m]=h!==-1?[p.substr(0,h),p.substr(h+1)]:[p],v=Vl(m)?m:m&&m.split(" "),S=`colors.${b}`,y=S in t.__cssMap?t.__cssMap[S].varRef:b;return v?[y,...Array.isArray(v)?v:[v]].join(" "):y});return`${s}(${f.join(", ")})`}const Vl=e=>typeof e=="string"&&e.includes("(")&&e.includes(")"),Gg=(e,t)=>Zg(e,t??{});function Kg(e){return/^var\(--.+\)$/.test(e)}const Yg=e=>{const t=parseFloat(e.toString()),n=e.toString().replace(String(t),"");return{unitless:!n,value:t,unit:n}},Hn=e=>t=>`${e}(${t})`,Ve={filter(e){return e!=="auto"?e:Rg},backdropFilter(e){return e!=="auto"?e:Vg},ring(e){return Wg(Ve.px(e))},bgClip(e){return e==="text"?{color:"transparent",backgroundClip:"text"}:{backgroundClip:e}},transform(e){return e==="auto"?Bg():e==="auto-gpu"?Ng():e},vh(e){return e==="$100vh"?"var(--chakra-vh)":e},px(e){if(e==null)return e;const{unitless:t}=Yg(e);return t||typeof e=="number"?`${e}px`:e},fraction(e){return typeof e!="number"||e>1?e:`${e*100}%`},float(e,t){const n={left:"right",right:"left"};return t.direction==="rtl"?n[e]:e},degree(e){if(Kg(e)||e==null)return e;const t=typeof e=="string"&&!e.endsWith("deg");return typeof e=="number"||t?`${e}deg`:e},gradient:Gg,blur:Hn("blur"),opacity:Hn("opacity"),brightness:Hn("brightness"),contrast:Hn("contrast"),dropShadow:Hn("drop-shadow"),grayscale:Hn("grayscale"),hueRotate:e=>Hn("hue-rotate")(Ve.degree(e)),invert:Hn("invert"),saturate:Hn("saturate"),sepia:Hn("sepia"),bgImage(e){return e==null||Vl(e)||Rl.has(e)?e:`url(${e})`},outline(e){const t=String(e)==="0"||String(e)==="none";return e!==null&&t?{outline:"2px solid transparent",outlineOffset:"2px"}:{outline:e}},flexDirection(e){const{space:t,divide:n}=Hg[e]??{},r={flexDirection:e};return t&&(r[t]=1),n&&(r[n]=1),r}},M={borderWidths:_n("borderWidths"),borderStyles:_n("borderStyles"),colors:_n("colors"),borders:_n("borders"),gradients:_n("gradients",Ve.gradient),radii:_n("radii",Ve.px),space:_n("space",Ya(Ve.vh,Ve.px)),spaceT:_n("space",Ya(Ve.vh,Ve.px)),degreeT(e){return{property:e,transform:Ve.degree}},prop(e,t,n){return{property:e,scale:t,...t&&{transform:Bl({scale:t,transform:n})}}},propT(e,t){return{property:e,transform:t}},sizes:_n("sizes",Ya(Ve.vh,Ve.px)),sizesT:_n("sizes",Ya(Ve.vh,Ve.fraction)),shadows:_n("shadows"),logical:Lg,blur:_n("blur",Ve.blur)},Xa={background:M.colors("background"),backgroundColor:M.colors("backgroundColor"),backgroundImage:M.gradients("backgroundImage"),backgroundSize:!0,backgroundPosition:!0,backgroundRepeat:!0,backgroundAttachment:!0,backgroundClip:{transform:Ve.bgClip},bgSize:M.prop("backgroundSize"),bgPosition:M.prop("backgroundPosition"),bg:M.colors("background"),bgColor:M.colors("backgroundColor"),bgPos:M.prop("backgroundPosition"),bgRepeat:M.prop("backgroundRepeat"),bgAttachment:M.prop("backgroundAttachment"),bgGradient:M.gradients("backgroundImage"),bgClip:{transform:Ve.bgClip}};Object.assign(Xa,{bgImage:Xa.backgroundImage,bgImg:Xa.backgroundImage});const Ye={border:M.borders("border"),borderWidth:M.borderWidths("borderWidth"),borderStyle:M.borderStyles("borderStyle"),borderColor:M.colors("borderColor"),borderRadius:M.radii("borderRadius"),borderTop:M.borders("borderTop"),borderBlockStart:M.borders("borderBlockStart"),borderTopLeftRadius:M.radii("borderTopLeftRadius"),borderStartStartRadius:M.logical({scale:"radii",property:{ltr:"borderTopLeftRadius",rtl:"borderTopRightRadius"}}),borderEndStartRadius:M.logical({scale:"radii",property:{ltr:"borderBottomLeftRadius",rtl:"borderBottomRightRadius"}}),borderTopRightRadius:M.radii("borderTopRightRadius"),borderStartEndRadius:M.logical({scale:"radii",property:{ltr:"borderTopRightRadius",rtl:"borderTopLeftRadius"}}),borderEndEndRadius:M.logical({scale:"radii",property:{ltr:"borderBottomRightRadius",rtl:"borderBottomLeftRadius"}}),borderRight:M.borders("borderRight"),borderInlineEnd:M.borders("borderInlineEnd"),borderBottom:M.borders("borderBottom"),borderBlockEnd:M.borders("borderBlockEnd"),borderBottomLeftRadius:M.radii("borderBottomLeftRadius"),borderBottomRightRadius:M.radii("borderBottomRightRadius"),borderLeft:M.borders("borderLeft"),borderInlineStart:{property:"borderInlineStart",scale:"borders"},borderInlineStartRadius:M.logical({scale:"radii",property:{ltr:["borderTopLeftRadius","borderBottomLeftRadius"],rtl:["borderTopRightRadius","borderBottomRightRadius"]}}),borderInlineEndRadius:M.logical({scale:"radii",property:{ltr:["borderTopRightRadius","borderBottomRightRadius"],rtl:["borderTopLeftRadius","borderBottomLeftRadius"]}}),borderX:M.borders(["borderLeft","borderRight"]),borderInline:M.borders("borderInline"),borderY:M.borders(["borderTop","borderBottom"]),borderBlock:M.borders("borderBlock"),borderTopWidth:M.borderWidths("borderTopWidth"),borderBlockStartWidth:M.borderWidths("borderBlockStartWidth"),borderTopColor:M.colors("borderTopColor"),borderBlockStartColor:M.colors("borderBlockStartColor"),borderTopStyle:M.borderStyles("borderTopStyle"),borderBlockStartStyle:M.borderStyles("borderBlockStartStyle"),borderBottomWidth:M.borderWidths("borderBottomWidth"),borderBlockEndWidth:M.borderWidths("borderBlockEndWidth"),borderBottomColor:M.colors("borderBottomColor"),borderBlockEndColor:M.colors("borderBlockEndColor"),borderBottomStyle:M.borderStyles("borderBottomStyle"),borderBlockEndStyle:M.borderStyles("borderBlockEndStyle"),borderLeftWidth:M.borderWidths("borderLeftWidth"),borderInlineStartWidth:M.borderWidths("borderInlineStartWidth"),borderLeftColor:M.colors("borderLeftColor"),borderInlineStartColor:M.colors("borderInlineStartColor"),borderLeftStyle:M.borderStyles("borderLeftStyle"),borderInlineStartStyle:M.borderStyles("borderInlineStartStyle"),borderRightWidth:M.borderWidths("borderRightWidth"),borderInlineEndWidth:M.borderWidths("borderInlineEndWidth"),borderRightColor:M.colors("borderRightColor"),borderInlineEndColor:M.colors("borderInlineEndColor"),borderRightStyle:M.borderStyles("borderRightStyle"),borderInlineEndStyle:M.borderStyles("borderInlineEndStyle"),borderTopRadius:M.radii(["borderTopLeftRadius","borderTopRightRadius"]),borderBottomRadius:M.radii(["borderBottomLeftRadius","borderBottomRightRadius"]),borderLeftRadius:M.radii(["borderTopLeftRadius","borderBottomLeftRadius"]),borderRightRadius:M.radii(["borderTopRightRadius","borderBottomRightRadius"])};Object.assign(Ye,{rounded:Ye.borderRadius,roundedTop:Ye.borderTopRadius,roundedTopLeft:Ye.borderTopLeftRadius,roundedTopRight:Ye.borderTopRightRadius,roundedTopStart:Ye.borderStartStartRadius,roundedTopEnd:Ye.borderStartEndRadius,roundedBottom:Ye.borderBottomRadius,roundedBottomLeft:Ye.borderBottomLeftRadius,roundedBottomRight:Ye.borderBottomRightRadius,roundedBottomStart:Ye.borderEndStartRadius,roundedBottomEnd:Ye.borderEndEndRadius,roundedLeft:Ye.borderLeftRadius,roundedRight:Ye.borderRightRadius,roundedStart:Ye.borderInlineStartRadius,roundedEnd:Ye.borderInlineEndRadius,borderStart:Ye.borderInlineStart,borderEnd:Ye.borderInlineEnd,borderTopStartRadius:Ye.borderStartStartRadius,borderTopEndRadius:Ye.borderStartEndRadius,borderBottomStartRadius:Ye.borderEndStartRadius,borderBottomEndRadius:Ye.borderEndEndRadius,borderStartRadius:Ye.borderInlineStartRadius,borderEndRadius:Ye.borderInlineEndRadius,borderStartWidth:Ye.borderInlineStartWidth,borderEndWidth:Ye.borderInlineEndWidth,borderStartColor:Ye.borderInlineStartColor,borderEndColor:Ye.borderInlineEndColor,borderStartStyle:Ye.borderInlineStartStyle,borderEndStyle:Ye.borderInlineEndStyle});const Xg={color:M.colors("color"),textColor:M.colors("color"),fill:M.colors("fill"),stroke:M.colors("stroke"),accentColor:M.colors("accentColor"),textFillColor:M.colors("textFillColor")},Ja={alignItems:!0,alignContent:!0,justifyItems:!0,justifyContent:!0,flexWrap:!0,flexDirection:{transform:Ve.flexDirection},flex:!0,flexFlow:!0,flexGrow:!0,flexShrink:!0,flexBasis:M.sizes("flexBasis"),justifySelf:!0,alignSelf:!0,order:!0,placeItems:!0,placeContent:!0,placeSelf:!0,gap:M.space("gap"),rowGap:M.space("rowGap"),columnGap:M.space("columnGap")};Object.assign(Ja,{flexDir:Ja.flexDirection});const jn={width:M.sizesT("width"),inlineSize:M.sizesT("inlineSize"),height:M.sizes("height"),blockSize:M.sizes("blockSize"),boxSize:M.sizes(["width","height"]),minWidth:M.sizes("minWidth"),minInlineSize:M.sizes("minInlineSize"),minHeight:M.sizes("minHeight"),minBlockSize:M.sizes("minBlockSize"),maxWidth:M.sizes("maxWidth"),maxInlineSize:M.sizes("maxInlineSize"),maxHeight:M.sizes("maxHeight"),maxBlockSize:M.sizes("maxBlockSize"),overflow:!0,overflowX:!0,overflowY:!0,overscrollBehavior:!0,overscrollBehaviorX:!0,overscrollBehaviorY:!0,display:!0,aspectRatio:!0,hideFrom:{scale:"breakpoints",transform:(e,t)=>{var o,i;return{[`@media screen and (min-width: ${((i=(o=t.__breakpoints)==null?void 0:o.get(e))==null?void 0:i.minW)??e})`]:{display:"none"}}}},hideBelow:{scale:"breakpoints",transform:(e,t)=>{var o,i;return{[`@media screen and (max-width: ${((i=(o=t.__breakpoints)==null?void 0:o.get(e))==null?void 0:i._minW)??e})`]:{display:"none"}}}},verticalAlign:!0,boxSizing:!0,boxDecorationBreak:!0,float:M.propT("float",Ve.float),objectFit:!0,objectPosition:!0,visibility:!0,isolation:!0};Object.assign(jn,{w:jn.width,h:jn.height,minW:jn.minWidth,maxW:jn.maxWidth,minH:jn.minHeight,maxH:jn.maxHeight,overscroll:jn.overscrollBehavior,overscrollX:jn.overscrollBehaviorX,overscrollY:jn.overscrollBehaviorY});const Jg={filter:{transform:Ve.filter},blur:M.blur("--chakra-blur"),brightness:M.propT("--chakra-brightness",Ve.brightness),contrast:M.propT("--chakra-contrast",Ve.contrast),hueRotate:M.propT("--chakra-hue-rotate",Ve.hueRotate),invert:M.propT("--chakra-invert",Ve.invert),saturate:M.propT("--chakra-saturate",Ve.saturate),dropShadow:M.propT("--chakra-drop-shadow",Ve.dropShadow),backdropFilter:{transform:Ve.backdropFilter},backdropBlur:M.blur("--chakra-backdrop-blur"),backdropBrightness:M.propT("--chakra-backdrop-brightness",Ve.brightness),backdropContrast:M.propT("--chakra-backdrop-contrast",Ve.contrast),backdropHueRotate:M.propT("--chakra-backdrop-hue-rotate",Ve.hueRotate),backdropInvert:M.propT("--chakra-backdrop-invert",Ve.invert),backdropSaturate:M.propT("--chakra-backdrop-saturate",Ve.saturate)},Qg={ring:{transform:Ve.ring},ringColor:M.colors("--chakra-ring-color"),ringOffset:M.prop("--chakra-ring-offset-width"),ringOffsetColor:M.colors("--chakra-ring-offset-color"),ringInset:M.prop("--chakra-ring-inset")},e5={appearance:!0,cursor:!0,resize:!0,userSelect:!0,pointerEvents:!0,outline:{transform:Ve.outline},outlineOffset:!0,outlineColor:M.colors("outlineColor")},qf={gridGap:M.space("gridGap"),gridColumnGap:M.space("gridColumnGap"),gridRowGap:M.space("gridRowGap"),gridColumn:!0,gridRow:!0,gridAutoFlow:!0,gridAutoColumns:!0,gridColumnStart:!0,gridColumnEnd:!0,gridRowStart:!0,gridRowEnd:!0,gridAutoRows:!0,gridTemplate:!0,gridTemplateColumns:!0,gridTemplateRows:!0,gridTemplateAreas:!0,gridArea:!0};function t5(e,t,n,r){const o=typeof t=="string"?t.split("."):[t];for(r=0;r<o.length&&e;r+=1)e=e[o[r]];return e===void 0?n:e}const n5=(e=>{const t=new WeakMap;return(r,o,i,a)=>{if(typeof r>"u")return e(r,o,i);t.has(r)||t.set(r,new Map);const s=t.get(r);if(s.has(o))return s.get(o);const l=e(r,o,i,a);return s.set(o,l),l}})(t5),r5={border:"0px",clip:"rect(0, 0, 0, 0)",width:"1px",height:"1px",margin:"-1px",padding:"0px",overflow:"hidden",whiteSpace:"nowrap",position:"absolute"},o5={position:"static",width:"auto",height:"auto",clip:"auto",padding:"0",margin:"0",overflow:"visible",whiteSpace:"normal"},Wl=(e,t,n)=>{const r={},o=n5(e,t,{});for(const i in o)i in n&&n[i]!=null||(r[i]=o[i]);return r},i5={srOnly:{transform(e){return e===!0?r5:e==="focusable"?o5:{}}},layerStyle:{processResult:!0,transform:(e,t,n)=>Wl(t,`layerStyles.${e}`,n)},textStyle:{processResult:!0,transform:(e,t,n)=>Wl(t,`textStyles.${e}`,n)},apply:{processResult:!0,transform:(e,t,n)=>Wl(t,e,n)}},Mi={position:!0,pos:M.prop("position"),zIndex:M.prop("zIndex","zIndices"),inset:M.spaceT("inset"),insetX:M.spaceT(["left","right"]),insetInline:M.spaceT("insetInline"),insetY:M.spaceT(["top","bottom"]),insetBlock:M.spaceT("insetBlock"),top:M.spaceT("top"),insetBlockStart:M.spaceT("insetBlockStart"),bottom:M.spaceT("bottom"),insetBlockEnd:M.spaceT("insetBlockEnd"),left:M.spaceT("left"),insetInlineStart:M.logical({scale:"space",property:{ltr:"left",rtl:"right"}}),right:M.spaceT("right"),insetInlineEnd:M.logical({scale:"space",property:{ltr:"right",rtl:"left"}})};Object.assign(Mi,{insetStart:Mi.insetInlineStart,insetEnd:Mi.insetInlineEnd});const Hl={boxShadow:M.shadows("boxShadow"),mixBlendMode:!0,blendMode:M.prop("mixBlendMode"),backgroundBlendMode:!0,bgBlendMode:M.prop("backgroundBlendMode"),opacity:!0};Object.assign(Hl,{shadow:Hl.boxShadow});const gt={margin:M.spaceT("margin"),marginTop:M.spaceT("marginTop"),marginBlockStart:M.spaceT("marginBlockStart"),marginRight:M.spaceT("marginRight"),marginInlineEnd:M.spaceT("marginInlineEnd"),marginBottom:M.spaceT("marginBottom"),marginBlockEnd:M.spaceT("marginBlockEnd"),marginLeft:M.spaceT("marginLeft"),marginInlineStart:M.spaceT("marginInlineStart"),marginX:M.spaceT(["marginInlineStart","marginInlineEnd"]),marginInline:M.spaceT("marginInline"),marginY:M.spaceT(["marginTop","marginBottom"]),marginBlock:M.spaceT("marginBlock"),padding:M.space("padding"),paddingTop:M.space("paddingTop"),paddingBlockStart:M.space("paddingBlockStart"),paddingRight:M.space("paddingRight"),paddingBottom:M.space("paddingBottom"),paddingBlockEnd:M.space("paddingBlockEnd"),paddingLeft:M.space("paddingLeft"),paddingInlineStart:M.space("paddingInlineStart"),paddingInlineEnd:M.space("paddingInlineEnd"),paddingX:M.space(["paddingInlineStart","paddingInlineEnd"]),paddingInline:M.space("paddingInline"),paddingY:M.space(["paddingTop","paddingBottom"]),paddingBlock:M.space("paddingBlock")};Object.assign(gt,{m:gt.margin,mt:gt.marginTop,mr:gt.marginRight,me:gt.marginInlineEnd,marginEnd:gt.marginInlineEnd,mb:gt.marginBottom,ml:gt.marginLeft,ms:gt.marginInlineStart,marginStart:gt.marginInlineStart,mx:gt.marginX,my:gt.marginY,p:gt.padding,pt:gt.paddingTop,py:gt.paddingY,px:gt.paddingX,pb:gt.paddingBottom,pl:gt.paddingLeft,ps:gt.paddingInlineStart,paddingStart:gt.paddingInlineStart,pr:gt.paddingRight,pe:gt.paddingInlineEnd,paddingEnd:gt.paddingInlineEnd});const a5={scrollBehavior:!0,scrollSnapAlign:!0,scrollSnapStop:!0,scrollSnapType:!0,scrollMargin:M.spaceT("scrollMargin"),scrollMarginTop:M.spaceT("scrollMarginTop"),scrollMarginBottom:M.spaceT("scrollMarginBottom"),scrollMarginLeft:M.spaceT("scrollMarginLeft"),scrollMarginRight:M.spaceT("scrollMarginRight"),scrollMarginX:M.spaceT(["scrollMarginLeft","scrollMarginRight"]),scrollMarginY:M.spaceT(["scrollMarginTop","scrollMarginBottom"]),scrollPadding:M.spaceT("scrollPadding"),scrollPaddingTop:M.spaceT("scrollPaddingTop"),scrollPaddingBottom:M.spaceT("scrollPaddingBottom"),scrollPaddingLeft:M.spaceT("scrollPaddingLeft"),scrollPaddingRight:M.spaceT("scrollPaddingRight"),scrollPaddingX:M.spaceT(["scrollPaddingLeft","scrollPaddingRight"]),scrollPaddingY:M.spaceT(["scrollPaddingTop","scrollPaddingBottom"])},s5={fontFamily:M.prop("fontFamily","fonts"),fontSize:M.prop("fontSize","fontSizes",Ve.px),fontWeight:M.prop("fontWeight","fontWeights"),lineHeight:M.prop("lineHeight","lineHeights"),letterSpacing:M.prop("letterSpacing","letterSpacings"),textAlign:!0,fontStyle:!0,textIndent:!0,wordBreak:!0,overflowWrap:!0,textOverflow:!0,textTransform:!0,whiteSpace:!0,isTruncated:{transform(e){if(e===!0)return{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}}},noOfLines:{static:{overflow:"hidden",textOverflow:"ellipsis",display:"-webkit-box",WebkitBoxOrient:"vertical",WebkitLineClamp:"var(--chakra-line-clamp)"},property:"--chakra-line-clamp"}},l5={textDecorationColor:M.colors("textDecorationColor"),textDecoration:!0,textDecor:{property:"textDecoration"},textDecorationLine:!0,textDecorationStyle:!0,textDecorationThickness:!0,textUnderlineOffset:!0,textShadow:M.shadows("textShadow")},c5={clipPath:!0,transform:M.propT("transform",Ve.transform),transformOrigin:!0,translateX:M.spaceT("--chakra-translate-x"),translateY:M.spaceT("--chakra-translate-y"),skewX:M.degreeT("--chakra-skew-x"),skewY:M.degreeT("--chakra-skew-y"),scaleX:M.prop("--chakra-scale-x"),scaleY:M.prop("--chakra-scale-y"),scale:M.prop(["--chakra-scale-x","--chakra-scale-y"]),rotate:M.degreeT("--chakra-rotate")},u5={listStyleType:!0,listStylePosition:!0,listStylePos:M.prop("listStylePosition"),listStyleImage:!0,listStyleImg:M.prop("listStyleImage")},d5={transition:!0,transitionDelay:!0,animation:!0,willChange:!0,transitionDuration:M.prop("transitionDuration","transition.duration"),transitionProperty:M.prop("transitionProperty","transition.property"),transitionTimingFunction:M.prop("transitionTimingFunction","transition.easing")},Ul=kn({},Xa,Ye,Xg,Ja,jn,Jg,Qg,e5,qf,i5,Mi,Hl,gt,a5,s5,l5,c5,u5,d5),f5=Object.assign({},gt,jn,Ja,qf,Mi),p5=Object.keys(f5),h5=[...Object.keys(Ul),...Wf],m5={...Ul,..._o},g5=e=>e in m5,v5=e=>t=>{if(!t.__breakpoints)return e;const{isResponsive:n,toArrayValue:r,media:o}=t.__breakpoints,i={};for(const a in e){let s=mn(e[a],t);if(s==null)continue;if(s=rn(s)&&n(s)?r(s):s,!Array.isArray(s)){i[a]=s;continue}const l=s.slice(0,o.length).length;for(let c=0;c<l;c+=1){const u=o==null?void 0:o[c];if(!u){i[a]=s[c];continue}i[u]=i[u]||{},s[c]!=null&&(i[u][a]=s[c])}}return i};function b5(e){const t=[];let n="",r=!1;for(let o=0;o<e.length;o++){const i=e[o];i==="("?(r=!0,n+=i):i===")"?(r=!1,n+=i):i===","&&!r?(t.push(n),n=""):n+=i}return n=n.trim(),n&&t.push(n),t}function y5(e){return/^var\(--.+\)$/.test(e)}const x5=(e,t)=>e.startsWith("--")&&typeof t=="string"&&!y5(t),C5=(e,t)=>{if(t==null)return t;const n=a=>{var s,l;return(l=(s=e.__cssMap)==null?void 0:s[a])==null?void 0:l.varRef},r=a=>n(a)??a,[o,i]=b5(t);return t=n(o)??r(i)??r(t),t};function w5(e){const{configs:t={},pseudos:n={},theme:r}=e,o=(i,a=!1)=>{var u;const s=mn(i,r),l=v5(s)(r);let c={};for(let f in l){const p=l[f];let h=mn(p,r);f in n&&(f=n[f]),x5(f,h)&&(h=C5(r,h));let b=t[f];if(b===!0&&(b={property:f}),rn(h)){c[f]=c[f]??{},c[f]=kn({},c[f],o(h,!0));continue}let m=((u=b==null?void 0:b.transform)==null?void 0:u.call(b,h,r,s))??h;m=b!=null&&b.processResult?o(m,!0):m;const v=mn(b==null?void 0:b.property,r);if(!a&&(b!=null&&b.static)){const S=mn(b.static,r);c=kn({},c,S)}if(v&&Array.isArray(v)){for(const S of v)c[S]=m;continue}if(v){v==="&"&&rn(m)?c=kn({},c,m):c[v]=m;continue}if(rn(m)){c=kn({},c,m);continue}c[f]=m}return c};return o}const Zf=e=>t=>w5({theme:t,pseudos:_o,configs:Ul})(e);function XI(e){return e}function JI(e){return e}function mt(e){return{definePartsStyle(t){return t},defineMultiStyleConfig(t){return{parts:e,...t}}}}function S5(e,t,n){var r,o;return((o=(r=e.__cssMap)==null?void 0:r[`${t}.${n}`])==null?void 0:o.varRef)??n}function k5(e,t){if(Array.isArray(e))return e;if(rn(e))return t(e);if(e!=null)return[e]}function _5(e,t){for(let n=t+1;n<e.length;n++)if(e[n]!=null)return n;return-1}function j5(e){const t=e.__breakpoints;return function(r,o,i,a){var p,h;if(!t)return;const s={},l=k5(i,t.toArrayValue);if(!l)return s;const c=l.length,u=c===1,f=!!r.parts;for(let b=0;b<c;b++){const m=t.details[b],v=t.details[_5(l,b)],S=Pi(m.minW,v==null?void 0:v._minW),y=mn((p=r[o])==null?void 0:p[l[b]],a);if(y){if(f){(h=r.parts)==null||h.forEach(w=>{kn(s,{[w]:u?y[w]:{[S]:y[w]}})});continue}if(!f){u?kn(s,y):s[S]=y;continue}s[S]=y}}return s}}function T5(e){return t=>{const{variant:n,size:r,theme:o}=t,i=j5(o);return kn({},mn(e.baseStyle??{},t),i(e,"sizes",r,t),i(e,"variants",n,t))}}function Ct(e){return So(e,["styleConfig","size","variant","colorScheme"])}function Gf(e){return rn(e)&&e.reference?e.reference:String(e)}const Qa=(e,...t)=>t.map(Gf).join(` ${e} `).replace(/calc/g,""),Kf=(...e)=>`calc(${Qa("+",...e)})`,Yf=(...e)=>`calc(${Qa("-",...e)})`,ql=(...e)=>`calc(${Qa("*",...e)})`,Xf=(...e)=>`calc(${Qa("/",...e)})`,Jf=e=>{const t=Gf(e);return t!=null&&!Number.isNaN(parseFloat(t))?String(t).startsWith("-")?String(t).slice(1):`-${t}`:ql(t,-1)},pr=Object.assign(e=>({add:(...t)=>pr(Kf(e,...t)),subtract:(...t)=>pr(Yf(e,...t)),multiply:(...t)=>pr(ql(e,...t)),divide:(...t)=>pr(Xf(e,...t)),negate:()=>pr(Jf(e)),toString:()=>e.toString()}),{add:Kf,subtract:Yf,multiply:ql,divide:Xf,negate:Jf});function P5(e,t="-"){return e.replace(/\s+/g,t)}function E5(e){const t=P5(e.toString());return M5(A5(t))}function A5(e){return e.includes("\\.")?e:!Number.isInteger(parseFloat(e.toString()))?e.replace(".","\\."):e}function M5(e){return e.replace(/[!-,/:-@[-^`{-~]/g,"\\$&")}function O5(e,t=""){return[t,e].filter(Boolean).join("-")}function I5(e,t){return`var(${e}${t?`, ${t}`:""})`}function D5(e,t=""){return E5(`--${O5(e,t)}`)}function Ee(e,t,n){const r=D5(e,n);return{variable:r,reference:I5(r,t)}}function $5(e,t){const n={};for(const r of t){if(Array.isArray(r)){const[o,i]=r;n[o]=Ee(`${e}-${o}`,i);continue}n[r]=Ee(`${e}-${r}`)}return n}const F5=["colors","borders","borderWidths","borderStyles","fonts","fontSizes","fontWeights","gradients","letterSpacings","lineHeights","radii","space","shadows","sizes","zIndices","transition","blur","breakpoints"];function z5(e){return Ff(e,F5)}function L5(e){return e.semanticTokens}function B5(e){const{__cssMap:t,__cssVars:n,__breakpoints:r,...o}=e;return o}function N5(e){const t=z5(e),n=L5(e),r=i=>Wf.includes(i)||i==="default",o={};return Lf(t,(i,a)=>{i!=null&&(o[a.join(".")]={isSemantic:!1,value:i})}),Lf(n,(i,a)=>{i!=null&&(o[a.join(".")]={isSemantic:!0,value:i})},{stop:i=>Object.keys(i).every(r)}),o}function Qf(e,t){return Ee(String(e).replace(/\./g,"-"),void 0,t)}function R5(e){var a;const t=N5(e),n=(a=e.config)==null?void 0:a.cssVarPrefix;let r={};const o={};function i(s,l){const u=[String(s).split(".")[0],l].join(".");if(!t[u])return l;const{reference:p}=Qf(u,n);return p}for(const[s,l]of Object.entries(t)){const{isSemantic:c,value:u}=l,{variable:f,reference:p}=Qf(s,n);if(!c){if(s.startsWith("space")){const b=s.split("."),[m,...v]=b,S=`${m}.-${v.join(".")}`,y=pr.negate(u),w=pr.negate(p);o[S]={value:y,var:f,varRef:w}}r[f]=u,o[s]={value:u,var:f,varRef:p};continue}const h=rn(u)?u:{default:u};r=kn(r,Object.entries(h).reduce((b,[m,v])=>{if(!v)return b;const S=i(s,`${v}`);if(m==="default")return b[f]=S,b;const y=(_o==null?void 0:_o[m])??m;return b[y]={[f]:S},b},{})),o[s]={value:p,var:f,varRef:p}}return{cssVars:r,cssMap:o}}function V5(e){const t=B5(e),{cssMap:n,cssVars:r}=R5(t);return Object.assign(t,{__cssVars:{...{"--chakra-ring-inset":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-ring-offset-width":"0px","--chakra-ring-offset-color":"#fff","--chakra-ring-color":"rgba(66, 153, 225, 0.6)","--chakra-ring-offset-shadow":"0 0 #0000","--chakra-ring-shadow":"0 0 #0000","--chakra-space-x-reverse":"0","--chakra-space-y-reverse":"0"},...r},__cssMap:n,__breakpoints:ug(t.breakpoints)}),t}function Xe(e,t={}){let n=!1;function r(){if(!n){n=!0;return}throw new Error("[anatomy] .part(...) should only be called once. Did you mean to use .extend(...) ?")}function o(...u){r();for(const f of u)t[f]=l(f);return Xe(e,t)}function i(...u){for(const f of u)f in t||(t[f]=l(f));return Xe(e,t)}function a(){return Object.fromEntries(Object.entries(t).map(([f,p])=>[f,p.selector]))}function s(){return Object.fromEntries(Object.entries(t).map(([f,p])=>[f,p.className]))}function l(u){const h=`chakra-${(["container","root"].includes(u??"")?[e]:[e,u]).filter(Boolean).join("__")}`;return{className:h,selector:`.${h}`,toString:()=>u}}return{parts:o,toPart:l,extend:i,selectors:a,classnames:s,get keys(){return Object.keys(t)},__type:{}}}const W5=Xe("accordion").parts("root","container","button","panel","icon"),H5=Xe("alert").parts("title","description","container","icon","spinner"),U5=Xe("avatar").parts("label","badge","container","excessLabel","group"),q5=Xe("breadcrumb").parts("link","item","container","separator");Xe("button").parts();const Z5=Xe("checkbox").parts("control","icon","container","label");Xe("progress").parts("track","filledTrack","label");const G5=Xe("drawer").parts("overlay","dialogContainer","dialog","header","closeButton","body","footer"),K5=Xe("editable").parts("preview","input","textarea"),Y5=Xe("form").parts("container","requiredIndicator","helperText"),X5=Xe("formError").parts("text","icon"),J5=Xe("input").parts("addon","field","element","group"),Q5=Xe("list").parts("container","item","icon"),ev=Xe("menu").parts("button","list","item","groupTitle","icon","command","divider"),tv=Xe("modal").parts("overlay","dialogContainer","dialog","header","closeButton","body","footer"),nv=Xe("numberinput").parts("root","field","stepperGroup","stepper");Xe("pininput").parts("field");const rv=Xe("popover").parts("content","header","body","footer","popper","arrow","closeButton"),ov=Xe("progress").parts("label","filledTrack","track"),iv=Xe("radio").parts("container","control","label"),av=Xe("select").parts("field","icon"),sv=Xe("slider").parts("container","track","thumb","filledTrack","mark"),lv=Xe("stat").parts("container","label","helpText","number","icon"),cv=Xe("switch").parts("container","track","thumb","label"),uv=Xe("table").parts("table","thead","tbody","tr","th","td","tfoot","caption"),dv=Xe("tabs").parts("root","tab","tablist","tabpanel","tabpanels","indicator"),fv=Xe("tag").parts("container","label","closeButton"),pv=Xe("card").parts("container","header","body","footer");Xe("stepper").parts("stepper","step","title","description","indicator","separator","icon","number");const{definePartsStyle:hv,defineMultiStyleConfig:mv}=mt(W5.keys),gv={borderTopWidth:"1px",borderColor:"inherit",_last:{borderBottomWidth:"1px"}},vv={transitionProperty:"common",transitionDuration:"normal",fontSize:"md",_focusVisible:{boxShadow:"outline"},_hover:{bg:"blackAlpha.50"},_disabled:{opacity:.4,cursor:"not-allowed"},px:"4",py:"2"},bv={pt:"2",px:"4",pb:"5"},yv={fontSize:"1.25em"},xv=hv({container:gv,button:vv,panel:bv,icon:yv}),Cv=mv({baseStyle:xv});function Kr(e,t,n){return Math.min(Math.max(e,n),t)}class wv extends Error{constructor(t){super(`Failed to parse color: "${t}"`)}}var Oi=wv;function Zl(e){if(typeof e!="string")throw new Oi(e);if(e.trim().toLowerCase()==="transparent")return[0,0,0,0];let t=e.trim();t=Av.test(e)?_v(e):e;const n=jv.exec(t);if(n){const a=Array.from(n).slice(1);return[...a.slice(0,3).map(s=>parseInt(Ii(s,2),16)),parseInt(Ii(a[3]||"f",2),16)/255]}const r=Tv.exec(t);if(r){const a=Array.from(r).slice(1);return[...a.slice(0,3).map(s=>parseInt(s,16)),parseInt(a[3]||"ff",16)/255]}const o=Pv.exec(t);if(o){const a=Array.from(o).slice(1);return[...a.slice(0,3).map(s=>parseInt(s,10)),parseFloat(a[3]||"1")]}const i=Ev.exec(t);if(i){const[a,s,l,c]=Array.from(i).slice(1).map(parseFloat);if(Kr(0,100,s)!==s)throw new Oi(e);if(Kr(0,100,l)!==l)throw new Oi(e);return[...Mv(a,s,l),Number.isNaN(c)?1:c]}throw new Oi(e)}function Sv(e){let t=5381,n=e.length;for(;n;)t=t*33^e.charCodeAt(--n);return(t>>>0)%2341}const e1=e=>parseInt(e.replace(/_/g,""),36),kv="1q29ehhb 1n09sgk7 1kl1ekf_ _yl4zsno 16z9eiv3 1p29lhp8 _bd9zg04 17u0____ _iw9zhe5 _to73___ _r45e31e _7l6g016 _jh8ouiv _zn3qba8 1jy4zshs 11u87k0u 1ro9yvyo 1aj3xael 1gz9zjz0 _3w8l4xo 1bf1ekf_ _ke3v___ _4rrkb__ 13j776yz _646mbhl _nrjr4__ _le6mbhl 1n37ehkb _m75f91n _qj3bzfz 1939yygw 11i5z6x8 _1k5f8xs 1509441m 15t5lwgf _ae2th1n _tg1ugcv 1lp1ugcv 16e14up_ _h55rw7n _ny9yavn _7a11xb_ 1ih442g9 _pv442g9 1mv16xof 14e6y7tu 1oo9zkds 17d1cisi _4v9y70f _y98m8kc 1019pq0v 12o9zda8 _348j4f4 1et50i2o _8epa8__ _ts6senj 1o350i2o 1mi9eiuo 1259yrp0 1ln80gnw _632xcoy 1cn9zldc _f29edu4 1n490c8q _9f9ziet 1b94vk74 _m49zkct 1kz6s73a 1eu9dtog _q58s1rz 1dy9sjiq __u89jo3 _aj5nkwg _ld89jo3 13h9z6wx _qa9z2ii _l119xgq _bs5arju 1hj4nwk9 1qt4nwk9 1ge6wau6 14j9zlcw 11p1edc_ _ms1zcxe _439shk6 _jt9y70f _754zsow 1la40eju _oq5p___ _x279qkz 1fa5r3rv _yd2d9ip _424tcku _8y1di2_ _zi2uabw _yy7rn9h 12yz980_ __39ljp6 1b59zg0x _n39zfzp 1fy9zest _b33k___ _hp9wq92 1il50hz4 _io472ub _lj9z3eo 19z9ykg0 _8t8iu3a 12b9bl4a 1ak5yw0o _896v4ku _tb8k8lv _s59zi6t _c09ze0p 1lg80oqn 1id9z8wb _238nba5 1kq6wgdi _154zssg _tn3zk49 _da9y6tc 1sg7cv4f _r12jvtt 1gq5fmkz 1cs9rvci _lp9jn1c _xw1tdnb 13f9zje6 16f6973h _vo7ir40 _bt5arjf _rc45e4t _hr4e100 10v4e100 _hc9zke2 _w91egv_ _sj2r1kk 13c87yx8 _vqpds__ _ni8ggk8 _tj9yqfb 1ia2j4r4 _7x9b10u 1fc9ld4j 1eq9zldr _5j9lhpx _ez9zl6o _md61fzm".split(" ").reduce((e,t)=>{const n=e1(t.substring(0,3)),r=e1(t.substring(3)).toString(16);let o="";for(let i=0;i<6-r.length;i++)o+="0";return e[n]=`${o}${r}`,e},{});function _v(e){const t=e.toLowerCase().trim(),n=kv[Sv(t)];if(!n)throw new Oi(e);return`#${n}`}const Ii=(e,t)=>Array.from(Array(t)).map(()=>e).join(""),jv=new RegExp(`^#${Ii("([a-f0-9])",3)}([a-f0-9])?$`,"i"),Tv=new RegExp(`^#${Ii("([a-f0-9]{2})",3)}([a-f0-9]{2})?$`,"i"),Pv=new RegExp(`^rgba?\\(\\s*(\\d+)\\s*${Ii(",\\s*(\\d+)\\s*",2)}(?:,\\s*([\\d.]+))?\\s*\\)$`,"i"),Ev=/^hsla?\(\s*([\d.]+)\s*,\s*([\d.]+)%\s*,\s*([\d.]+)%(?:\s*,\s*([\d.]+))?\s*\)$/i,Av=/^[a-z]+$/i,t1=e=>Math.round(e*255),Mv=(e,t,n)=>{let r=n/100;if(t===0)return[r,r,r].map(t1);const o=(e%360+360)%360/60,i=(1-Math.abs(2*r-1))*(t/100),a=i*(1-Math.abs(o%2-1));let s=0,l=0,c=0;o>=0&&o<1?(s=i,l=a):o>=1&&o<2?(s=a,l=i):o>=2&&o<3?(l=i,c=a):o>=3&&o<4?(l=a,c=i):o>=4&&o<5?(s=a,c=i):o>=5&&o<6&&(s=i,c=a);const u=r-i/2,f=s+u,p=l+u,h=c+u;return[f,p,h].map(t1)};function Ov(e,t,n,r){return`rgba(${Kr(0,255,e).toFixed()}, ${Kr(0,255,t).toFixed()}, ${Kr(0,255,n).toFixed()}, ${parseFloat(Kr(0,1,r).toFixed(3))})`}function Iv(e,t){const[n,r,o,i]=Zl(e);return Ov(n,r,o,i-t)}function Dv(e){const[t,n,r,o]=Zl(e);let i=a=>{const s=Kr(0,255,a).toString(16);return s.length===1?`0${s}`:s};return`#${i(t)}${i(n)}${i(r)}${o<1?i(Math.round(o*255)):""}`}const $v=e=>Object.keys(e).length===0;function Fv(e,t,n,r,o){for(t=t.split?t.split("."):t,r=0;r<t.length;r++)e=e?e[t[r]]:o;return e===o?n:e}const Gt=(e,t,n)=>{const r=Fv(e,`colors.${t}`,t);try{return Dv(r),r}catch{return"#000000"}},zv=e=>{const[t,n,r]=Zl(e);return(t*299+n*587+r*114)/1e3},Lv=e=>t=>{const n=Gt(t,e);return zv(n)<128?"dark":"light"},Bv=e=>t=>Lv(e)(t)==="dark",Lt=(e,t)=>n=>{const r=Gt(n,e);return Iv(r,1-t)};function n1(e="1rem",t="rgba(255, 255, 255, 0.15)"){return{backgroundImage:`linear-gradient(
|
|
31
31
|
45deg,
|
|
32
32
|
${t} 25%,
|
|
33
33
|
transparent 25%,
|
|
@@ -36,26 +36,26 @@ React keys must be passed directly to JSX without using spread:
|
|
|
36
36
|
${t} 75%,
|
|
37
37
|
transparent 75%,
|
|
38
38
|
transparent
|
|
39
|
-
)`,backgroundSize:`${e} ${e}`}}const Lv=()=>`#${Math.floor(Math.random()*16777215).toString(16).padEnd(6,"0")}`;function Bv(e){const t=Lv();return!e||Iv(e)?t:e.string&&e.colors?Rv(e.string,e.colors):e.string&&!e.colors?Nv(e.string):e.colors&&!e.string?Vv(e.colors):t}function Nv(e){let t=0;if(e.length===0)return t.toString();for(let r=0;r<e.length;r+=1)t=e.charCodeAt(r)+((t<<5)-t),t=t&t;let n="#";for(let r=0;r<3;r+=1){const o=t>>r*8&255;n+=`00${o.toString(16)}`.substr(-2)}return n}function Rv(e,t){let n=0;if(e.length===0)return t[0];for(let r=0;r<e.length;r+=1)n=e.charCodeAt(r)+((n<<5)-n),n=n&n;return n=(n%t.length+t.length)%t.length,t[n]}function Vv(e){return e[Math.floor(Math.random()*e.length)]}function Ee(e,t){return n=>n.colorMode==="dark"?t:e}function Gl(e){const{orientation:t,vertical:n,horizontal:r}=e;return t?t==="vertical"?n:r:{}}function r1(e){return rn(e)&&e.reference?e.reference:String(e)}const es=(e,...t)=>t.map(r1).join(` ${e} `).replace(/calc/g,""),o1=(...e)=>`calc(${es("+",...e)})`,i1=(...e)=>`calc(${es("-",...e)})`,Kl=(...e)=>`calc(${es("*",...e)})`,a1=(...e)=>`calc(${es("/",...e)})`,s1=e=>{const t=r1(e);return t!=null&&!Number.isNaN(parseFloat(t))?String(t).startsWith("-")?String(t).slice(1):`-${t}`:Kl(t,-1)},hr=Object.assign(e=>({add:(...t)=>hr(o1(e,...t)),subtract:(...t)=>hr(i1(e,...t)),multiply:(...t)=>hr(Kl(e,...t)),divide:(...t)=>hr(a1(e,...t)),negate:()=>hr(s1(e)),toString:()=>e.toString()}),{add:o1,subtract:i1,multiply:Kl,divide:a1,negate:s1});function Wv(e){return!Number.isInteger(parseFloat(e.toString()))}function Hv(e,t="-"){return e.replace(/\s+/g,t)}function l1(e){const t=Hv(e.toString());return t.includes("\\.")?e:Wv(e)?t.replace(".","\\."):e}function Uv(e,t=""){return[t,l1(e)].filter(Boolean).join("-")}function qv(e,t){return`var(${l1(e)}${t?`, ${t}`:""})`}function Zv(e,t=""){return`--${Uv(e,t)}`}function Dt(e,t){const n=Zv(e,t==null?void 0:t.prefix);return{variable:n,reference:qv(n,Gv(t==null?void 0:t.fallback))}}function Gv(e){return e==null?void 0:e.reference}const{definePartsStyle:Di,defineMultiStyleConfig:Kv}=mt(V5.keys),gn=Pe("alert-fg"),mr=Pe("alert-bg"),Yv=Di({container:{bg:mr.reference,px:"4",py:"3"},title:{fontWeight:"bold",lineHeight:"6",marginEnd:"2"},description:{lineHeight:"6"},icon:{color:gn.reference,flexShrink:0,marginEnd:"3",w:"5",h:"6"},spinner:{color:gn.reference,flexShrink:0,marginEnd:"3",w:"5",h:"5"}});function Yl(e){const{theme:t,colorScheme:n}=e,r=Lt(`${n}.200`,.16)(t);return{light:`colors.${n}.100`,dark:r}}const Xv=Di(e=>{const{colorScheme:t}=e,n=Yl(e);return{container:{[gn.variable]:`colors.${t}.600`,[mr.variable]:n.light,_dark:{[gn.variable]:`colors.${t}.200`,[mr.variable]:n.dark}}}}),Jv=Di(e=>{const{colorScheme:t}=e,n=Yl(e);return{container:{[gn.variable]:`colors.${t}.600`,[mr.variable]:n.light,_dark:{[gn.variable]:`colors.${t}.200`,[mr.variable]:n.dark},paddingStart:"3",borderStartWidth:"4px",borderStartColor:gn.reference}}}),Qv=Di(e=>{const{colorScheme:t}=e,n=Yl(e);return{container:{[gn.variable]:`colors.${t}.600`,[mr.variable]:n.light,_dark:{[gn.variable]:`colors.${t}.200`,[mr.variable]:n.dark},pt:"2",borderTopWidth:"4px",borderTopColor:gn.reference}}}),e6=Di(e=>{const{colorScheme:t}=e;return{container:{[gn.variable]:"colors.white",[mr.variable]:`colors.${t}.600`,_dark:{[gn.variable]:"colors.gray.900",[mr.variable]:`colors.${t}.200`},color:gn.reference}}}),t6=Kv({baseStyle:Yv,variants:{subtle:Xv,"left-accent":Jv,"top-accent":Qv,solid:e6},defaultProps:{variant:"subtle",colorScheme:"blue"}}),c1={px:"1px",.5:"0.125rem",1:"0.25rem",1.5:"0.375rem",2:"0.5rem",2.5:"0.625rem",3:"0.75rem",3.5:"0.875rem",4:"1rem",5:"1.25rem",6:"1.5rem",7:"1.75rem",8:"2rem",9:"2.25rem",10:"2.5rem",12:"3rem",14:"3.5rem",16:"4rem",20:"5rem",24:"6rem",28:"7rem",32:"8rem",36:"9rem",40:"10rem",44:"11rem",48:"12rem",52:"13rem",56:"14rem",60:"15rem",64:"16rem",72:"18rem",80:"20rem",96:"24rem"},u1={...c1,...{max:"max-content",min:"min-content",full:"100%","3xs":"14rem","2xs":"16rem",xs:"20rem",sm:"24rem",md:"28rem",lg:"32rem",xl:"36rem","2xl":"42rem","3xl":"48rem","4xl":"56rem","5xl":"64rem","6xl":"72rem","7xl":"80rem","8xl":"90rem",prose:"60ch"},container:{sm:"640px",md:"768px",lg:"1024px",xl:"1280px"}},n6=e=>typeof e=="function";function Kt(e,...t){return n6(e)?e(...t):e}const{definePartsStyle:d1,defineMultiStyleConfig:r6}=mt(W5.keys),jo=Pe("avatar-border-color"),$i=Pe("avatar-bg"),Fi=Pe("avatar-font-size"),To=Pe("avatar-size"),o6={borderRadius:"full",border:"0.2em solid",borderColor:jo.reference,[jo.variable]:"white",_dark:{[jo.variable]:"colors.gray.800"}},i6={bg:$i.reference,fontSize:Fi.reference,width:To.reference,height:To.reference,lineHeight:"1",[$i.variable]:"colors.gray.200",_dark:{[$i.variable]:"colors.whiteAlpha.400"}},a6=e=>{const{name:t,theme:n}=e,r=t?Bv({string:t}):"colors.gray.400",o=zv(r)(n);let i="white";return o||(i="gray.800"),{bg:$i.reference,fontSize:Fi.reference,color:i,borderColor:jo.reference,verticalAlign:"top",width:To.reference,height:To.reference,"&:not([data-loaded])":{[$i.variable]:r},[jo.variable]:"colors.white",_dark:{[jo.variable]:"colors.gray.800"}}},s6={fontSize:Fi.reference,lineHeight:"1"},l6=d1(e=>({badge:Kt(o6,e),excessLabel:Kt(i6,e),container:Kt(a6,e),label:s6}));function Er(e){const t=e!=="100%"?u1[e]:void 0;return d1({container:{[To.variable]:t??e,[Fi.variable]:`calc(${t??e} / 2.5)`},excessLabel:{[To.variable]:t??e,[Fi.variable]:`calc(${t??e} / 2.5)`}})}const c6={"2xs":Er(4),xs:Er(6),sm:Er(8),md:Er(12),lg:Er(16),xl:Er(24),"2xl":Er(32),full:Er("100%")},u6=r6({baseStyle:l6,sizes:c6,defaultProps:{size:"md"}}),Tt=I5("badge",["bg","color","shadow"]),d6={px:1,textTransform:"uppercase",fontSize:"xs",borderRadius:"sm",fontWeight:"bold",bg:Tt.bg.reference,color:Tt.color.reference,boxShadow:Tt.shadow.reference},f6=e=>{const{colorScheme:t,theme:n}=e,r=Lt(`${t}.500`,.6)(n);return{[Tt.bg.variable]:`colors.${t}.500`,[Tt.color.variable]:"colors.white",_dark:{[Tt.bg.variable]:r,[Tt.color.variable]:"colors.whiteAlpha.800"}}},p6=e=>{const{colorScheme:t,theme:n}=e,r=Lt(`${t}.200`,.16)(n);return{[Tt.bg.variable]:`colors.${t}.100`,[Tt.color.variable]:`colors.${t}.800`,_dark:{[Tt.bg.variable]:r,[Tt.color.variable]:`colors.${t}.200`}}},h6=e=>{const{colorScheme:t,theme:n}=e,r=Lt(`${t}.200`,.8)(n);return{[Tt.color.variable]:`colors.${t}.500`,_dark:{[Tt.color.variable]:r},[Tt.shadow.variable]:`inset 0 0 0px 1px ${Tt.color.reference}`}},zi={baseStyle:d6,variants:{solid:f6,subtle:p6,outline:h6},defaultProps:{variant:"subtle",colorScheme:"gray"}},{defineMultiStyleConfig:m6,definePartsStyle:g6}=mt(H5.keys),Xl=Pe("breadcrumb-link-decor"),v6={transitionProperty:"common",transitionDuration:"fast",transitionTimingFunction:"ease-out",outline:"none",color:"inherit",textDecoration:Xl.reference,[Xl.variable]:"none","&:not([aria-current=page])":{cursor:"pointer",_hover:{[Xl.variable]:"underline"},_focusVisible:{boxShadow:"outline"}}},b6=g6({link:v6}),y6=m6({baseStyle:b6}),x6={lineHeight:"1.2",borderRadius:"md",fontWeight:"semibold",transitionProperty:"common",transitionDuration:"normal",_focusVisible:{boxShadow:"outline"},_disabled:{opacity:.4,cursor:"not-allowed",boxShadow:"none"},_hover:{_disabled:{bg:"initial"}}},f1=e=>{const{colorScheme:t,theme:n}=e;if(t==="gray")return{color:Ee("gray.800","whiteAlpha.900")(e),_hover:{bg:Ee("gray.100","whiteAlpha.200")(e)},_active:{bg:Ee("gray.200","whiteAlpha.300")(e)}};const r=Lt(`${t}.200`,.12)(n),o=Lt(`${t}.200`,.24)(n);return{color:Ee(`${t}.600`,`${t}.200`)(e),bg:"transparent",_hover:{bg:Ee(`${t}.50`,r)(e)},_active:{bg:Ee(`${t}.100`,o)(e)}}},C6=e=>{const{colorScheme:t}=e,n=Ee("gray.200","whiteAlpha.300")(e);return{border:"1px solid",borderColor:t==="gray"?n:"currentColor",".chakra-button__group[data-attached][data-orientation=horizontal] > &:not(:last-of-type)":{marginEnd:"-1px"},".chakra-button__group[data-attached][data-orientation=vertical] > &:not(:last-of-type)":{marginBottom:"-1px"},...Kt(f1,e)}},w6={yellow:{bg:"yellow.400",color:"black",hoverBg:"yellow.500",activeBg:"yellow.600"},cyan:{bg:"cyan.400",color:"black",hoverBg:"cyan.500",activeBg:"cyan.600"}},S6=e=>{const{colorScheme:t}=e;if(t==="gray"){const s=Ee("gray.100","whiteAlpha.200")(e);return{bg:s,color:Ee("gray.800","whiteAlpha.900")(e),_hover:{bg:Ee("gray.200","whiteAlpha.300")(e),_disabled:{bg:s}},_active:{bg:Ee("gray.300","whiteAlpha.400")(e)}}}const{bg:n=`${t}.500`,color:r="white",hoverBg:o=`${t}.600`,activeBg:i=`${t}.700`}=w6[t]??{},a=Ee(n,`${t}.200`)(e);return{bg:a,color:Ee(r,"gray.800")(e),_hover:{bg:Ee(o,`${t}.300`)(e),_disabled:{bg:a}},_active:{bg:Ee(i,`${t}.400`)(e)}}},k6=e=>{const{colorScheme:t}=e;return{padding:0,height:"auto",lineHeight:"normal",verticalAlign:"baseline",color:Ee(`${t}.500`,`${t}.200`)(e),_hover:{textDecoration:"underline",_disabled:{textDecoration:"none"}},_active:{color:Ee(`${t}.700`,`${t}.500`)(e)}}},_6={bg:"none",color:"inherit",display:"inline",lineHeight:"inherit",m:"0",p:"0"},j6={ghost:f1,outline:C6,solid:S6,link:k6,unstyled:_6},T6={lg:{h:"12",minW:"12",fontSize:"lg",px:"6"},md:{h:"10",minW:"10",fontSize:"md",px:"4"},sm:{h:"8",minW:"8",fontSize:"sm",px:"3"},xs:{h:"6",minW:"6",fontSize:"xs",px:"2"}},P6={baseStyle:x6,variants:j6,sizes:T6,defaultProps:{variant:"solid",size:"md",colorScheme:"gray"}},{definePartsStyle:Yr,defineMultiStyleConfig:E6}=mt(dv.keys),ts=Pe("card-bg"),gr=Pe("card-padding"),p1=Pe("card-shadow"),ns=Pe("card-radius"),h1=Pe("card-border-width","0"),m1=Pe("card-border-color"),A6=Yr({container:{[ts.variable]:"colors.chakra-body-bg",backgroundColor:ts.reference,boxShadow:p1.reference,borderRadius:ns.reference,color:"chakra-body-text",borderWidth:h1.reference,borderColor:m1.reference},body:{padding:gr.reference,flex:"1 1 0%"},header:{padding:gr.reference},footer:{padding:gr.reference}}),M6={sm:Yr({container:{[ns.variable]:"radii.base",[gr.variable]:"space.3"}}),md:Yr({container:{[ns.variable]:"radii.md",[gr.variable]:"space.5"}}),lg:Yr({container:{[ns.variable]:"radii.xl",[gr.variable]:"space.7"}})},O6={elevated:Yr({container:{[p1.variable]:"shadows.base",_dark:{[ts.variable]:"colors.gray.700"}}}),outline:Yr({container:{[h1.variable]:"1px",[m1.variable]:"colors.chakra-border-color"}}),filled:Yr({container:{[ts.variable]:"colors.chakra-subtle-bg"}}),unstyled:{body:{[gr.variable]:0},header:{[gr.variable]:0},footer:{[gr.variable]:0}}},I6=E6({baseStyle:A6,variants:O6,sizes:M6,defaultProps:{variant:"elevated",size:"md"}}),{definePartsStyle:rs,defineMultiStyleConfig:D6}=mt(U5.keys),Li=Pe("checkbox-size"),$6=e=>{const{colorScheme:t}=e;return{w:Li.reference,h:Li.reference,transitionProperty:"box-shadow",transitionDuration:"normal",border:"2px solid",borderRadius:"sm",borderColor:"inherit",color:"white",_checked:{bg:Ee(`${t}.500`,`${t}.200`)(e),borderColor:Ee(`${t}.500`,`${t}.200`)(e),color:Ee("white","gray.900")(e),_hover:{bg:Ee(`${t}.600`,`${t}.300`)(e),borderColor:Ee(`${t}.600`,`${t}.300`)(e)},_disabled:{borderColor:Ee("gray.200","transparent")(e),bg:Ee("gray.200","whiteAlpha.300")(e),color:Ee("gray.500","whiteAlpha.500")(e)}},_indeterminate:{bg:Ee(`${t}.500`,`${t}.200`)(e),borderColor:Ee(`${t}.500`,`${t}.200`)(e),color:Ee("white","gray.900")(e)},_disabled:{bg:Ee("gray.100","whiteAlpha.100")(e),borderColor:Ee("gray.100","transparent")(e)},_focusVisible:{boxShadow:"outline"},_invalid:{borderColor:Ee("red.500","red.300")(e)}}},F6={_disabled:{cursor:"not-allowed"}},z6={userSelect:"none",_disabled:{opacity:.4}},L6={transitionProperty:"transform",transitionDuration:"normal"},B6=rs(e=>({icon:L6,container:F6,control:Kt($6,e),label:z6})),N6={sm:rs({control:{[Li.variable]:"sizes.3"},label:{fontSize:"sm"},icon:{fontSize:"3xs"}}),md:rs({control:{[Li.variable]:"sizes.4"},label:{fontSize:"md"},icon:{fontSize:"2xs"}}),lg:rs({control:{[Li.variable]:"sizes.5"},label:{fontSize:"lg"},icon:{fontSize:"2xs"}})},Ar=D6({baseStyle:B6,sizes:N6,defaultProps:{size:"md",colorScheme:"blue"}}),Bi=Dt("close-button-size"),Ni=Dt("close-button-bg"),R6={w:[Bi.reference],h:[Bi.reference],borderRadius:"md",transitionProperty:"common",transitionDuration:"normal",_disabled:{opacity:.4,cursor:"not-allowed",boxShadow:"none"},_hover:{[Ni.variable]:"colors.blackAlpha.100",_dark:{[Ni.variable]:"colors.whiteAlpha.100"}},_active:{[Ni.variable]:"colors.blackAlpha.200",_dark:{[Ni.variable]:"colors.whiteAlpha.200"}},_focusVisible:{boxShadow:"outline"},bg:Ni.reference},V6={lg:{[Bi.variable]:"sizes.10",fontSize:"md"},md:{[Bi.variable]:"sizes.8",fontSize:"xs"},sm:{[Bi.variable]:"sizes.6",fontSize:"2xs"}},W6={baseStyle:R6,sizes:V6,defaultProps:{size:"md"}},{variants:H6,defaultProps:U6}=zi,q6={fontFamily:"mono",fontSize:"sm",px:"0.2em",borderRadius:"sm",bg:Tt.bg.reference,color:Tt.color.reference,boxShadow:Tt.shadow.reference},Z6={baseStyle:q6,variants:H6,defaultProps:U6},G6={w:"100%",mx:"auto",maxW:"prose",px:"4"},K6={baseStyle:G6},Y6={opacity:.6,borderColor:"inherit"},X6={borderStyle:"solid"},J6={borderStyle:"dashed"},Q6={baseStyle:Y6,variants:{solid:X6,dashed:J6},defaultProps:{variant:"solid"}},{definePartsStyle:Jl,defineMultiStyleConfig:eb}=mt(q5.keys),Ql=Pe("drawer-bg"),ec=Pe("drawer-box-shadow");function Po(e){return Jl(e==="full"?{dialog:{maxW:"100vw",h:"100vh"}}:{dialog:{maxW:e}})}const tb={bg:"blackAlpha.600",zIndex:"modal"},nb={display:"flex",zIndex:"modal",justifyContent:"center"},rb=e=>{const{isFullHeight:t}=e;return{...t&&{height:"100vh"},zIndex:"modal",maxH:"100vh",color:"inherit",[Ql.variable]:"colors.white",[ec.variable]:"shadows.lg",_dark:{[Ql.variable]:"colors.gray.700",[ec.variable]:"shadows.dark-lg"},bg:Ql.reference,boxShadow:ec.reference}},ob={px:"6",py:"4",fontSize:"xl",fontWeight:"semibold"},ib={position:"absolute",top:"2",insetEnd:"3"},ab={px:"6",py:"2",flex:"1",overflow:"auto"},sb={px:"6",py:"4"},lb=Jl(e=>({overlay:tb,dialogContainer:nb,dialog:Kt(rb,e),header:ob,closeButton:ib,body:ab,footer:sb})),cb={xs:Po("xs"),sm:Po("md"),md:Po("lg"),lg:Po("2xl"),xl:Po("4xl"),full:Po("full")},ub=eb({baseStyle:lb,sizes:cb,defaultProps:{size:"xs"}}),{definePartsStyle:db,defineMultiStyleConfig:fb}=mt(Z5.keys),pb={borderRadius:"md",py:"1",transitionProperty:"common",transitionDuration:"normal"},hb={borderRadius:"md",py:"1",transitionProperty:"common",transitionDuration:"normal",width:"full",_focusVisible:{boxShadow:"outline"},_placeholder:{opacity:.6}},mb={borderRadius:"md",py:"1",transitionProperty:"common",transitionDuration:"normal",width:"full",_focusVisible:{boxShadow:"outline"},_placeholder:{opacity:.6}},gb=db({preview:pb,input:hb,textarea:mb}),vb=fb({baseStyle:gb}),{definePartsStyle:bb,defineMultiStyleConfig:yb}=mt(G5.keys),Eo=Pe("form-control-color"),xb={marginStart:"1",[Eo.variable]:"colors.red.500",_dark:{[Eo.variable]:"colors.red.300"},color:Eo.reference},Cb={mt:"2",[Eo.variable]:"colors.gray.600",_dark:{[Eo.variable]:"colors.whiteAlpha.600"},color:Eo.reference,lineHeight:"normal",fontSize:"sm"},wb=bb({container:{width:"100%",position:"relative"},requiredIndicator:xb,helperText:Cb}),Sb=yb({baseStyle:wb}),{definePartsStyle:kb,defineMultiStyleConfig:_b}=mt(K5.keys),Ao=Pe("form-error-color"),jb={[Ao.variable]:"colors.red.500",_dark:{[Ao.variable]:"colors.red.300"},color:Ao.reference,mt:"2",fontSize:"sm",lineHeight:"normal"},Tb={marginEnd:"0.5em",[Ao.variable]:"colors.red.500",_dark:{[Ao.variable]:"colors.red.300"},color:Ao.reference},Pb=kb({text:jb,icon:Tb}),Eb=_b({baseStyle:Pb}),Ab={fontSize:"md",marginEnd:"3",mb:"2",fontWeight:"medium",transitionProperty:"common",transitionDuration:"normal",opacity:1,_disabled:{opacity:.4}},Mb={baseStyle:Ab},Ob={fontFamily:"heading",fontWeight:"bold"},Ib={"4xl":{fontSize:["6xl",null,"7xl"],lineHeight:1},"3xl":{fontSize:["5xl",null,"6xl"],lineHeight:1},"2xl":{fontSize:["4xl",null,"5xl"],lineHeight:[1.2,null,1]},xl:{fontSize:["3xl",null,"4xl"],lineHeight:[1.33,null,1.2]},lg:{fontSize:["2xl",null,"3xl"],lineHeight:[1.33,null,1.2]},md:{fontSize:"xl",lineHeight:1.2},sm:{fontSize:"md",lineHeight:1.2},xs:{fontSize:"sm",lineHeight:1.2}},Db={baseStyle:Ob,sizes:Ib,defaultProps:{size:"xl"}},{definePartsStyle:vr,defineMultiStyleConfig:$b}=mt(Y5.keys),Mo=Pe("input-height"),Oo=Pe("input-font-size"),Io=Pe("input-padding"),Do=Pe("input-border-radius"),Fb=vr({addon:{height:Mo.reference,fontSize:Oo.reference,px:Io.reference,borderRadius:Do.reference},field:{width:"100%",height:Mo.reference,fontSize:Oo.reference,px:Io.reference,borderRadius:Do.reference,minWidth:0,outline:0,position:"relative",appearance:"none",transitionProperty:"common",transitionDuration:"normal",_disabled:{opacity:.4,cursor:"not-allowed"}}}),Mr={lg:{[Oo.variable]:"fontSizes.lg",[Io.variable]:"space.4",[Do.variable]:"radii.md",[Mo.variable]:"sizes.12"},md:{[Oo.variable]:"fontSizes.md",[Io.variable]:"space.4",[Do.variable]:"radii.md",[Mo.variable]:"sizes.10"},sm:{[Oo.variable]:"fontSizes.sm",[Io.variable]:"space.3",[Do.variable]:"radii.sm",[Mo.variable]:"sizes.8"},xs:{[Oo.variable]:"fontSizes.xs",[Io.variable]:"space.2",[Do.variable]:"radii.sm",[Mo.variable]:"sizes.6"}},zb={lg:vr({field:Mr.lg,group:Mr.lg}),md:vr({field:Mr.md,group:Mr.md}),sm:vr({field:Mr.sm,group:Mr.sm}),xs:vr({field:Mr.xs,group:Mr.xs})};function tc(e){const{focusBorderColor:t,errorBorderColor:n}=e;return{focusBorderColor:t||Ee("blue.500","blue.300")(e),errorBorderColor:n||Ee("red.500","red.300")(e)}}const Lb=vr(e=>{const{theme:t}=e,{focusBorderColor:n,errorBorderColor:r}=tc(e);return{field:{border:"1px solid",borderColor:"inherit",bg:"inherit",_hover:{borderColor:Ee("gray.300","whiteAlpha.400")(e)},_readOnly:{boxShadow:"none !important",userSelect:"all"},_invalid:{borderColor:Gt(t,r),boxShadow:`0 0 0 1px ${Gt(t,r)}`},_focusVisible:{zIndex:1,borderColor:Gt(t,n),boxShadow:`0 0 0 1px ${Gt(t,n)}`}},addon:{border:"1px solid",borderColor:Ee("inherit","whiteAlpha.50")(e),bg:Ee("gray.100","whiteAlpha.300")(e)}}}),Bb=vr(e=>{const{theme:t}=e,{focusBorderColor:n,errorBorderColor:r}=tc(e);return{field:{border:"2px solid",borderColor:"transparent",bg:Ee("gray.100","whiteAlpha.50")(e),_hover:{bg:Ee("gray.200","whiteAlpha.100")(e)},_readOnly:{boxShadow:"none !important",userSelect:"all"},_invalid:{borderColor:Gt(t,r)},_focusVisible:{bg:"transparent",borderColor:Gt(t,n)}},addon:{border:"2px solid",borderColor:"transparent",bg:Ee("gray.100","whiteAlpha.50")(e)}}}),Nb=vr(e=>{const{theme:t}=e,{focusBorderColor:n,errorBorderColor:r}=tc(e);return{field:{borderBottom:"1px solid",borderColor:"inherit",borderRadius:"0",px:"0",bg:"transparent",_readOnly:{boxShadow:"none !important",userSelect:"all"},_invalid:{borderColor:Gt(t,r),boxShadow:`0px 1px 0px 0px ${Gt(t,r)}`},_focusVisible:{borderColor:Gt(t,n),boxShadow:`0px 1px 0px 0px ${Gt(t,n)}`}},addon:{borderBottom:"2px solid",borderColor:"inherit",borderRadius:"0",px:"0",bg:"transparent"}}}),Rb=vr({field:{bg:"transparent",px:"0",height:"auto"},addon:{bg:"transparent",px:"0",height:"auto"}}),Je=$b({baseStyle:Fb,sizes:zb,variants:{outline:Lb,filled:Bb,flushed:Nb,unstyled:Rb},defaultProps:{size:"md",variant:"outline"}}),nc=Pe("kbd-bg"),Vb={[nc.variable]:"colors.gray.100",_dark:{[nc.variable]:"colors.whiteAlpha.100"},bg:nc.reference,borderRadius:"md",borderWidth:"1px",borderBottomWidth:"3px",fontSize:"0.8em",fontWeight:"bold",lineHeight:"normal",px:"0.4em",whiteSpace:"nowrap"},Wb={baseStyle:Vb},Hb={transitionProperty:"common",transitionDuration:"fast",transitionTimingFunction:"ease-out",cursor:"pointer",textDecoration:"none",outline:"none",color:"inherit",_hover:{textDecoration:"underline"},_focusVisible:{boxShadow:"outline"}},Ub={baseStyle:Hb},{defineMultiStyleConfig:qb,definePartsStyle:Zb}=mt(X5.keys),Gb={marginEnd:"2",display:"inline",verticalAlign:"text-bottom"},Kb=Zb({icon:Gb}),Yb=qb({baseStyle:Kb}),{defineMultiStyleConfig:Xb,definePartsStyle:Jb}=mt(J5.keys),Un=Pe("menu-bg"),rc=Pe("menu-shadow"),Qb={[Un.variable]:"#fff",[rc.variable]:"shadows.sm",_dark:{[Un.variable]:"colors.gray.700",[rc.variable]:"shadows.dark-lg"},color:"inherit",minW:"3xs",py:"2",zIndex:"dropdown",borderRadius:"md",borderWidth:"1px",bg:Un.reference,boxShadow:rc.reference},ey={py:"1.5",px:"3",transitionProperty:"background",transitionDuration:"ultra-fast",transitionTimingFunction:"ease-in",_focus:{[Un.variable]:"colors.gray.100",_dark:{[Un.variable]:"colors.whiteAlpha.100"}},_active:{[Un.variable]:"colors.gray.200",_dark:{[Un.variable]:"colors.whiteAlpha.200"}},_expanded:{[Un.variable]:"colors.gray.100",_dark:{[Un.variable]:"colors.whiteAlpha.100"}},_disabled:{opacity:.4,cursor:"not-allowed"},bg:Un.reference},ty={mx:4,my:2,fontWeight:"semibold",fontSize:"sm"},ny={display:"inline-flex",alignItems:"center",justifyContent:"center",flexShrink:0},ry={opacity:.6},oy={border:0,borderBottom:"1px solid",borderColor:"inherit",my:"2",opacity:.6},iy={transitionProperty:"common",transitionDuration:"normal"},ay=Jb({button:iy,list:Qb,item:ey,groupTitle:ty,icon:ny,command:ry,divider:oy}),sy=Xb({baseStyle:ay}),{defineMultiStyleConfig:ly,definePartsStyle:oc}=mt(Q5.keys),ic=Pe("modal-bg"),ac=Pe("modal-shadow"),cy={bg:"blackAlpha.600",zIndex:"modal"},uy=e=>{const{isCentered:t,scrollBehavior:n}=e;return{display:"flex",zIndex:"modal",justifyContent:"center",alignItems:t?"center":"flex-start",overflow:n==="inside"?"hidden":"auto",overscrollBehaviorY:"none"}},dy=e=>{const{isCentered:t,scrollBehavior:n}=e;return{borderRadius:"md",color:"inherit",my:t?"auto":"16",mx:t?"auto":void 0,zIndex:"modal",maxH:n==="inside"?"calc(100% - 7.5rem)":void 0,[ic.variable]:"colors.white",[ac.variable]:"shadows.lg",_dark:{[ic.variable]:"colors.gray.700",[ac.variable]:"shadows.dark-lg"},bg:ic.reference,boxShadow:ac.reference}},fy={px:"6",py:"4",fontSize:"xl",fontWeight:"semibold"},py={position:"absolute",top:"2",insetEnd:"3"},hy=e=>{const{scrollBehavior:t}=e;return{px:"6",py:"2",flex:"1",overflow:t==="inside"?"auto":void 0}},my={px:"6",py:"4"},gy=oc(e=>({overlay:cy,dialogContainer:Kt(uy,e),dialog:Kt(dy,e),header:fy,closeButton:py,body:Kt(hy,e),footer:my}));function $n(e){return oc(e==="full"?{dialog:{maxW:"100vw",minH:"$100vh",my:"0",borderRadius:"0"}}:{dialog:{maxW:e}})}const vy={xs:$n("xs"),sm:$n("sm"),md:$n("md"),lg:$n("lg"),xl:$n("xl"),"2xl":$n("2xl"),"3xl":$n("3xl"),"4xl":$n("4xl"),"5xl":$n("5xl"),"6xl":$n("6xl"),full:$n("full")},by=ly({baseStyle:gy,sizes:vy,defaultProps:{size:"md"}}),g1={letterSpacings:{tighter:"-0.05em",tight:"-0.025em",normal:"0",wide:"0.025em",wider:"0.05em",widest:"0.1em"},lineHeights:{normal:"normal",none:1,shorter:1.25,short:1.375,base:1.5,tall:1.625,taller:"2",3:".75rem",4:"1rem",5:"1.25rem",6:"1.5rem",7:"1.75rem",8:"2rem",9:"2.25rem",10:"2.5rem"},fontWeights:{hairline:100,thin:200,light:300,normal:400,medium:500,semibold:600,bold:700,extrabold:800,black:900},fonts:{heading:'-apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"',body:'-apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"',mono:'SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace'},fontSizes:{"3xs":"0.45rem","2xs":"0.625rem",xs:"0.75rem",sm:"0.875rem",md:"1rem",lg:"1.125rem",xl:"1.25rem","2xl":"1.5rem","3xl":"1.875rem","4xl":"2.25rem","5xl":"3rem","6xl":"3.75rem","7xl":"4.5rem","8xl":"6rem","9xl":"8rem"}},{defineMultiStyleConfig:yy,definePartsStyle:v1}=mt(ev.keys),sc=Dt("number-input-stepper-width"),b1=Dt("number-input-input-padding"),xy=hr(sc).add("0.5rem").toString(),lc=Dt("number-input-bg"),cc=Dt("number-input-color"),uc=Dt("number-input-border-color"),Cy={[sc.variable]:"sizes.6",[b1.variable]:xy},wy=e=>{var t;return((t=Kt(Je.baseStyle,e))==null?void 0:t.field)??{}},Sy={width:sc.reference},ky={borderStart:"1px solid",borderStartColor:uc.reference,color:cc.reference,bg:lc.reference,[cc.variable]:"colors.chakra-body-text",[uc.variable]:"colors.chakra-border-color",_dark:{[cc.variable]:"colors.whiteAlpha.800",[uc.variable]:"colors.whiteAlpha.300"},_active:{[lc.variable]:"colors.gray.200",_dark:{[lc.variable]:"colors.whiteAlpha.300"}},_disabled:{opacity:.4,cursor:"not-allowed"}},_y=v1(e=>({root:Cy,field:Kt(wy,e)??{},stepperGroup:Sy,stepper:ky}));function os(e){var i,a;const t=(i=Je.sizes)==null?void 0:i[e],n={lg:"md",md:"md",sm:"sm",xs:"sm"},r=((a=t.field)==null?void 0:a.fontSize)??"md",o=g1.fontSizes[r];return v1({field:{...t.field,paddingInlineEnd:b1.reference,verticalAlign:"top"},stepper:{fontSize:hr(o).multiply(.75).toString(),_first:{borderTopEndRadius:n[e]},_last:{borderBottomEndRadius:n[e],mt:"-1px",borderTopWidth:1}}})}const jy={xs:os("xs"),sm:os("sm"),md:os("md"),lg:os("lg")},Ty=yy({baseStyle:_y,sizes:jy,variants:Je.variants,defaultProps:Je.defaultProps}),Py={...(T4=Je.baseStyle)==null?void 0:T4.field,textAlign:"center"},Ey={lg:{fontSize:"lg",w:12,h:12,borderRadius:"md"},md:{fontSize:"md",w:10,h:10,borderRadius:"md"},sm:{fontSize:"sm",w:8,h:8,borderRadius:"sm"},xs:{fontSize:"xs",w:6,h:6,borderRadius:"sm"}},Ay={outline:e=>{var t,n;return((n=Kt((t=Je.variants)==null?void 0:t.outline,e))==null?void 0:n.field)??{}},flushed:e=>{var t,n;return((n=Kt((t=Je.variants)==null?void 0:t.flushed,e))==null?void 0:n.field)??{}},filled:e=>{var t,n;return((n=Kt((t=Je.variants)==null?void 0:t.filled,e))==null?void 0:n.field)??{}},unstyled:((P4=Je.variants)==null?void 0:P4.unstyled.field)??{}},My={baseStyle:Py,sizes:Ey,variants:Ay,defaultProps:Je.defaultProps},{defineMultiStyleConfig:Oy,definePartsStyle:Iy}=mt(tv.keys),is=Dt("popper-bg"),Dy=Dt("popper-arrow-bg"),y1=Dt("popper-arrow-shadow-color"),$y={zIndex:"popover"},Fy={[is.variable]:"colors.white",bg:is.reference,[Dy.variable]:is.reference,[y1.variable]:"colors.gray.200",_dark:{[is.variable]:"colors.gray.700",[y1.variable]:"colors.whiteAlpha.300"},width:"xs",border:"1px solid",borderColor:"inherit",borderRadius:"md",boxShadow:"sm",zIndex:"inherit",_focusVisible:{outline:0,boxShadow:"outline"}},zy={px:3,py:2,borderBottomWidth:"1px"},Ly={px:3,py:2},By={px:3,py:2,borderTopWidth:"1px"},Ny={position:"absolute",borderRadius:"md",top:1,insetEnd:2,padding:2},Ry=Iy({popper:$y,content:Fy,header:zy,body:Ly,footer:By,closeButton:Ny}),Vy=Oy({baseStyle:Ry}),{defineMultiStyleConfig:Wy,definePartsStyle:Ri}=mt(nv.keys),Hy=e=>{const{colorScheme:t,theme:n,isIndeterminate:r,hasStripe:o}=e,i=Ee(n1(),n1("1rem","rgba(0,0,0,0.1)"))(e),a=Ee(`${t}.500`,`${t}.200`)(e),s=`linear-gradient(
|
|
39
|
+
)`,backgroundSize:`${e} ${e}`}}const Nv=()=>`#${Math.floor(Math.random()*16777215).toString(16).padEnd(6,"0")}`;function Rv(e){const t=Nv();return!e||$v(e)?t:e.string&&e.colors?Wv(e.string,e.colors):e.string&&!e.colors?Vv(e.string):e.colors&&!e.string?Hv(e.colors):t}function Vv(e){let t=0;if(e.length===0)return t.toString();for(let r=0;r<e.length;r+=1)t=e.charCodeAt(r)+((t<<5)-t),t=t&t;let n="#";for(let r=0;r<3;r+=1){const o=t>>r*8&255;n+=`00${o.toString(16)}`.substr(-2)}return n}function Wv(e,t){let n=0;if(e.length===0)return t[0];for(let r=0;r<e.length;r+=1)n=e.charCodeAt(r)+((n<<5)-n),n=n&n;return n=(n%t.length+t.length)%t.length,t[n]}function Hv(e){return e[Math.floor(Math.random()*e.length)]}function Ae(e,t){return n=>n.colorMode==="dark"?t:e}function Gl(e){const{orientation:t,vertical:n,horizontal:r}=e;return t?t==="vertical"?n:r:{}}function r1(e){return rn(e)&&e.reference?e.reference:String(e)}const es=(e,...t)=>t.map(r1).join(` ${e} `).replace(/calc/g,""),o1=(...e)=>`calc(${es("+",...e)})`,i1=(...e)=>`calc(${es("-",...e)})`,Kl=(...e)=>`calc(${es("*",...e)})`,a1=(...e)=>`calc(${es("/",...e)})`,s1=e=>{const t=r1(e);return t!=null&&!Number.isNaN(parseFloat(t))?String(t).startsWith("-")?String(t).slice(1):`-${t}`:Kl(t,-1)},hr=Object.assign(e=>({add:(...t)=>hr(o1(e,...t)),subtract:(...t)=>hr(i1(e,...t)),multiply:(...t)=>hr(Kl(e,...t)),divide:(...t)=>hr(a1(e,...t)),negate:()=>hr(s1(e)),toString:()=>e.toString()}),{add:o1,subtract:i1,multiply:Kl,divide:a1,negate:s1});function Uv(e){return!Number.isInteger(parseFloat(e.toString()))}function qv(e,t="-"){return e.replace(/\s+/g,t)}function l1(e){const t=qv(e.toString());return t.includes("\\.")?e:Uv(e)?t.replace(".","\\."):e}function Zv(e,t=""){return[t,l1(e)].filter(Boolean).join("-")}function Gv(e,t){return`var(${l1(e)}${t?`, ${t}`:""})`}function Kv(e,t=""){return`--${Zv(e,t)}`}function Dt(e,t){const n=Kv(e,t==null?void 0:t.prefix);return{variable:n,reference:Gv(n,Yv(t==null?void 0:t.fallback))}}function Yv(e){return e==null?void 0:e.reference}const{definePartsStyle:Di,defineMultiStyleConfig:Xv}=mt(H5.keys),gn=Ee("alert-fg"),mr=Ee("alert-bg"),Jv=Di({container:{bg:mr.reference,px:"4",py:"3"},title:{fontWeight:"bold",lineHeight:"6",marginEnd:"2"},description:{lineHeight:"6"},icon:{color:gn.reference,flexShrink:0,marginEnd:"3",w:"5",h:"6"},spinner:{color:gn.reference,flexShrink:0,marginEnd:"3",w:"5",h:"5"}});function Yl(e){const{theme:t,colorScheme:n}=e,r=Lt(`${n}.200`,.16)(t);return{light:`colors.${n}.100`,dark:r}}const Qv=Di(e=>{const{colorScheme:t}=e,n=Yl(e);return{container:{[gn.variable]:`colors.${t}.600`,[mr.variable]:n.light,_dark:{[gn.variable]:`colors.${t}.200`,[mr.variable]:n.dark}}}}),e6=Di(e=>{const{colorScheme:t}=e,n=Yl(e);return{container:{[gn.variable]:`colors.${t}.600`,[mr.variable]:n.light,_dark:{[gn.variable]:`colors.${t}.200`,[mr.variable]:n.dark},paddingStart:"3",borderStartWidth:"4px",borderStartColor:gn.reference}}}),t6=Di(e=>{const{colorScheme:t}=e,n=Yl(e);return{container:{[gn.variable]:`colors.${t}.600`,[mr.variable]:n.light,_dark:{[gn.variable]:`colors.${t}.200`,[mr.variable]:n.dark},pt:"2",borderTopWidth:"4px",borderTopColor:gn.reference}}}),n6=Di(e=>{const{colorScheme:t}=e;return{container:{[gn.variable]:"colors.white",[mr.variable]:`colors.${t}.600`,_dark:{[gn.variable]:"colors.gray.900",[mr.variable]:`colors.${t}.200`},color:gn.reference}}}),r6=Xv({baseStyle:Jv,variants:{subtle:Qv,"left-accent":e6,"top-accent":t6,solid:n6},defaultProps:{variant:"subtle",colorScheme:"blue"}}),c1={px:"1px",.5:"0.125rem",1:"0.25rem",1.5:"0.375rem",2:"0.5rem",2.5:"0.625rem",3:"0.75rem",3.5:"0.875rem",4:"1rem",5:"1.25rem",6:"1.5rem",7:"1.75rem",8:"2rem",9:"2.25rem",10:"2.5rem",12:"3rem",14:"3.5rem",16:"4rem",20:"5rem",24:"6rem",28:"7rem",32:"8rem",36:"9rem",40:"10rem",44:"11rem",48:"12rem",52:"13rem",56:"14rem",60:"15rem",64:"16rem",72:"18rem",80:"20rem",96:"24rem"},u1={...c1,...{max:"max-content",min:"min-content",full:"100%","3xs":"14rem","2xs":"16rem",xs:"20rem",sm:"24rem",md:"28rem",lg:"32rem",xl:"36rem","2xl":"42rem","3xl":"48rem","4xl":"56rem","5xl":"64rem","6xl":"72rem","7xl":"80rem","8xl":"90rem",prose:"60ch"},container:{sm:"640px",md:"768px",lg:"1024px",xl:"1280px"}},o6=e=>typeof e=="function";function Kt(e,...t){return o6(e)?e(...t):e}const{definePartsStyle:d1,defineMultiStyleConfig:i6}=mt(U5.keys),jo=Ee("avatar-border-color"),$i=Ee("avatar-bg"),Fi=Ee("avatar-font-size"),To=Ee("avatar-size"),a6={borderRadius:"full",border:"0.2em solid",borderColor:jo.reference,[jo.variable]:"white",_dark:{[jo.variable]:"colors.gray.800"}},s6={bg:$i.reference,fontSize:Fi.reference,width:To.reference,height:To.reference,lineHeight:"1",[$i.variable]:"colors.gray.200",_dark:{[$i.variable]:"colors.whiteAlpha.400"}},l6=e=>{const{name:t,theme:n}=e,r=t?Rv({string:t}):"colors.gray.400",o=Bv(r)(n);let i="white";return o||(i="gray.800"),{bg:$i.reference,fontSize:Fi.reference,color:i,borderColor:jo.reference,verticalAlign:"top",width:To.reference,height:To.reference,"&:not([data-loaded])":{[$i.variable]:r},[jo.variable]:"colors.white",_dark:{[jo.variable]:"colors.gray.800"}}},c6={fontSize:Fi.reference,lineHeight:"1"},u6=d1(e=>({badge:Kt(a6,e),excessLabel:Kt(s6,e),container:Kt(l6,e),label:c6}));function Er(e){const t=e!=="100%"?u1[e]:void 0;return d1({container:{[To.variable]:t??e,[Fi.variable]:`calc(${t??e} / 2.5)`},excessLabel:{[To.variable]:t??e,[Fi.variable]:`calc(${t??e} / 2.5)`}})}const d6={"2xs":Er(4),xs:Er(6),sm:Er(8),md:Er(12),lg:Er(16),xl:Er(24),"2xl":Er(32),full:Er("100%")},f6=i6({baseStyle:u6,sizes:d6,defaultProps:{size:"md"}}),Tt=$5("badge",["bg","color","shadow"]),p6={px:1,textTransform:"uppercase",fontSize:"xs",borderRadius:"sm",fontWeight:"bold",bg:Tt.bg.reference,color:Tt.color.reference,boxShadow:Tt.shadow.reference},h6=e=>{const{colorScheme:t,theme:n}=e,r=Lt(`${t}.500`,.6)(n);return{[Tt.bg.variable]:`colors.${t}.500`,[Tt.color.variable]:"colors.white",_dark:{[Tt.bg.variable]:r,[Tt.color.variable]:"colors.whiteAlpha.800"}}},m6=e=>{const{colorScheme:t,theme:n}=e,r=Lt(`${t}.200`,.16)(n);return{[Tt.bg.variable]:`colors.${t}.100`,[Tt.color.variable]:`colors.${t}.800`,_dark:{[Tt.bg.variable]:r,[Tt.color.variable]:`colors.${t}.200`}}},g6=e=>{const{colorScheme:t,theme:n}=e,r=Lt(`${t}.200`,.8)(n);return{[Tt.color.variable]:`colors.${t}.500`,_dark:{[Tt.color.variable]:r},[Tt.shadow.variable]:`inset 0 0 0px 1px ${Tt.color.reference}`}},zi={baseStyle:p6,variants:{solid:h6,subtle:m6,outline:g6},defaultProps:{variant:"subtle",colorScheme:"gray"}},{defineMultiStyleConfig:v6,definePartsStyle:b6}=mt(q5.keys),Xl=Ee("breadcrumb-link-decor"),y6={transitionProperty:"common",transitionDuration:"fast",transitionTimingFunction:"ease-out",outline:"none",color:"inherit",textDecoration:Xl.reference,[Xl.variable]:"none","&:not([aria-current=page])":{cursor:"pointer",_hover:{[Xl.variable]:"underline"},_focusVisible:{boxShadow:"outline"}}},x6=b6({link:y6}),C6=v6({baseStyle:x6}),w6={lineHeight:"1.2",borderRadius:"md",fontWeight:"semibold",transitionProperty:"common",transitionDuration:"normal",_focusVisible:{boxShadow:"outline"},_disabled:{opacity:.4,cursor:"not-allowed",boxShadow:"none"},_hover:{_disabled:{bg:"initial"}}},f1=e=>{const{colorScheme:t,theme:n}=e;if(t==="gray")return{color:Ae("gray.800","whiteAlpha.900")(e),_hover:{bg:Ae("gray.100","whiteAlpha.200")(e)},_active:{bg:Ae("gray.200","whiteAlpha.300")(e)}};const r=Lt(`${t}.200`,.12)(n),o=Lt(`${t}.200`,.24)(n);return{color:Ae(`${t}.600`,`${t}.200`)(e),bg:"transparent",_hover:{bg:Ae(`${t}.50`,r)(e)},_active:{bg:Ae(`${t}.100`,o)(e)}}},S6=e=>{const{colorScheme:t}=e,n=Ae("gray.200","whiteAlpha.300")(e);return{border:"1px solid",borderColor:t==="gray"?n:"currentColor",".chakra-button__group[data-attached][data-orientation=horizontal] > &:not(:last-of-type)":{marginEnd:"-1px"},".chakra-button__group[data-attached][data-orientation=vertical] > &:not(:last-of-type)":{marginBottom:"-1px"},...Kt(f1,e)}},k6={yellow:{bg:"yellow.400",color:"black",hoverBg:"yellow.500",activeBg:"yellow.600"},cyan:{bg:"cyan.400",color:"black",hoverBg:"cyan.500",activeBg:"cyan.600"}},_6=e=>{const{colorScheme:t}=e;if(t==="gray"){const s=Ae("gray.100","whiteAlpha.200")(e);return{bg:s,color:Ae("gray.800","whiteAlpha.900")(e),_hover:{bg:Ae("gray.200","whiteAlpha.300")(e),_disabled:{bg:s}},_active:{bg:Ae("gray.300","whiteAlpha.400")(e)}}}const{bg:n=`${t}.500`,color:r="white",hoverBg:o=`${t}.600`,activeBg:i=`${t}.700`}=k6[t]??{},a=Ae(n,`${t}.200`)(e);return{bg:a,color:Ae(r,"gray.800")(e),_hover:{bg:Ae(o,`${t}.300`)(e),_disabled:{bg:a}},_active:{bg:Ae(i,`${t}.400`)(e)}}},j6=e=>{const{colorScheme:t}=e;return{padding:0,height:"auto",lineHeight:"normal",verticalAlign:"baseline",color:Ae(`${t}.500`,`${t}.200`)(e),_hover:{textDecoration:"underline",_disabled:{textDecoration:"none"}},_active:{color:Ae(`${t}.700`,`${t}.500`)(e)}}},T6={bg:"none",color:"inherit",display:"inline",lineHeight:"inherit",m:"0",p:"0"},P6={ghost:f1,outline:S6,solid:_6,link:j6,unstyled:T6},E6={lg:{h:"12",minW:"12",fontSize:"lg",px:"6"},md:{h:"10",minW:"10",fontSize:"md",px:"4"},sm:{h:"8",minW:"8",fontSize:"sm",px:"3"},xs:{h:"6",minW:"6",fontSize:"xs",px:"2"}},A6={baseStyle:w6,variants:P6,sizes:E6,defaultProps:{variant:"solid",size:"md",colorScheme:"gray"}},{definePartsStyle:Yr,defineMultiStyleConfig:M6}=mt(pv.keys),ts=Ee("card-bg"),gr=Ee("card-padding"),p1=Ee("card-shadow"),ns=Ee("card-radius"),h1=Ee("card-border-width","0"),m1=Ee("card-border-color"),O6=Yr({container:{[ts.variable]:"colors.chakra-body-bg",backgroundColor:ts.reference,boxShadow:p1.reference,borderRadius:ns.reference,color:"chakra-body-text",borderWidth:h1.reference,borderColor:m1.reference},body:{padding:gr.reference,flex:"1 1 0%"},header:{padding:gr.reference},footer:{padding:gr.reference}}),I6={sm:Yr({container:{[ns.variable]:"radii.base",[gr.variable]:"space.3"}}),md:Yr({container:{[ns.variable]:"radii.md",[gr.variable]:"space.5"}}),lg:Yr({container:{[ns.variable]:"radii.xl",[gr.variable]:"space.7"}})},D6={elevated:Yr({container:{[p1.variable]:"shadows.base",_dark:{[ts.variable]:"colors.gray.700"}}}),outline:Yr({container:{[h1.variable]:"1px",[m1.variable]:"colors.chakra-border-color"}}),filled:Yr({container:{[ts.variable]:"colors.chakra-subtle-bg"}}),unstyled:{body:{[gr.variable]:0},header:{[gr.variable]:0},footer:{[gr.variable]:0}}},$6=M6({baseStyle:O6,variants:D6,sizes:I6,defaultProps:{variant:"elevated",size:"md"}}),{definePartsStyle:rs,defineMultiStyleConfig:F6}=mt(Z5.keys),Li=Ee("checkbox-size"),z6=e=>{const{colorScheme:t}=e;return{w:Li.reference,h:Li.reference,transitionProperty:"box-shadow",transitionDuration:"normal",border:"2px solid",borderRadius:"sm",borderColor:"inherit",color:"white",_checked:{bg:Ae(`${t}.500`,`${t}.200`)(e),borderColor:Ae(`${t}.500`,`${t}.200`)(e),color:Ae("white","gray.900")(e),_hover:{bg:Ae(`${t}.600`,`${t}.300`)(e),borderColor:Ae(`${t}.600`,`${t}.300`)(e)},_disabled:{borderColor:Ae("gray.200","transparent")(e),bg:Ae("gray.200","whiteAlpha.300")(e),color:Ae("gray.500","whiteAlpha.500")(e)}},_indeterminate:{bg:Ae(`${t}.500`,`${t}.200`)(e),borderColor:Ae(`${t}.500`,`${t}.200`)(e),color:Ae("white","gray.900")(e)},_disabled:{bg:Ae("gray.100","whiteAlpha.100")(e),borderColor:Ae("gray.100","transparent")(e)},_focusVisible:{boxShadow:"outline"},_invalid:{borderColor:Ae("red.500","red.300")(e)}}},L6={_disabled:{cursor:"not-allowed"}},B6={userSelect:"none",_disabled:{opacity:.4}},N6={transitionProperty:"transform",transitionDuration:"normal"},R6=rs(e=>({icon:N6,container:L6,control:Kt(z6,e),label:B6})),V6={sm:rs({control:{[Li.variable]:"sizes.3"},label:{fontSize:"sm"},icon:{fontSize:"3xs"}}),md:rs({control:{[Li.variable]:"sizes.4"},label:{fontSize:"md"},icon:{fontSize:"2xs"}}),lg:rs({control:{[Li.variable]:"sizes.5"},label:{fontSize:"lg"},icon:{fontSize:"2xs"}})},Ar=F6({baseStyle:R6,sizes:V6,defaultProps:{size:"md",colorScheme:"blue"}}),Bi=Dt("close-button-size"),Ni=Dt("close-button-bg"),W6={w:[Bi.reference],h:[Bi.reference],borderRadius:"md",transitionProperty:"common",transitionDuration:"normal",_disabled:{opacity:.4,cursor:"not-allowed",boxShadow:"none"},_hover:{[Ni.variable]:"colors.blackAlpha.100",_dark:{[Ni.variable]:"colors.whiteAlpha.100"}},_active:{[Ni.variable]:"colors.blackAlpha.200",_dark:{[Ni.variable]:"colors.whiteAlpha.200"}},_focusVisible:{boxShadow:"outline"},bg:Ni.reference},H6={lg:{[Bi.variable]:"sizes.10",fontSize:"md"},md:{[Bi.variable]:"sizes.8",fontSize:"xs"},sm:{[Bi.variable]:"sizes.6",fontSize:"2xs"}},U6={baseStyle:W6,sizes:H6,defaultProps:{size:"md"}},{variants:q6,defaultProps:Z6}=zi,G6={fontFamily:"mono",fontSize:"sm",px:"0.2em",borderRadius:"sm",bg:Tt.bg.reference,color:Tt.color.reference,boxShadow:Tt.shadow.reference},K6={baseStyle:G6,variants:q6,defaultProps:Z6},Y6={w:"100%",mx:"auto",maxW:"prose",px:"4"},X6={baseStyle:Y6},J6={opacity:.6,borderColor:"inherit"},Q6={borderStyle:"solid"},eb={borderStyle:"dashed"},tb={baseStyle:J6,variants:{solid:Q6,dashed:eb},defaultProps:{variant:"solid"}},{definePartsStyle:Jl,defineMultiStyleConfig:nb}=mt(G5.keys),Ql=Ee("drawer-bg"),ec=Ee("drawer-box-shadow");function Po(e){return Jl(e==="full"?{dialog:{maxW:"100vw",h:"100vh"}}:{dialog:{maxW:e}})}const rb={bg:"blackAlpha.600",zIndex:"modal"},ob={display:"flex",zIndex:"modal",justifyContent:"center"},ib=e=>{const{isFullHeight:t}=e;return{...t&&{height:"100vh"},zIndex:"modal",maxH:"100vh",color:"inherit",[Ql.variable]:"colors.white",[ec.variable]:"shadows.lg",_dark:{[Ql.variable]:"colors.gray.700",[ec.variable]:"shadows.dark-lg"},bg:Ql.reference,boxShadow:ec.reference}},ab={px:"6",py:"4",fontSize:"xl",fontWeight:"semibold"},sb={position:"absolute",top:"2",insetEnd:"3"},lb={px:"6",py:"2",flex:"1",overflow:"auto"},cb={px:"6",py:"4"},ub=Jl(e=>({overlay:rb,dialogContainer:ob,dialog:Kt(ib,e),header:ab,closeButton:sb,body:lb,footer:cb})),db={xs:Po("xs"),sm:Po("md"),md:Po("lg"),lg:Po("2xl"),xl:Po("4xl"),full:Po("full")},fb=nb({baseStyle:ub,sizes:db,defaultProps:{size:"xs"}}),{definePartsStyle:pb,defineMultiStyleConfig:hb}=mt(K5.keys),mb={borderRadius:"md",py:"1",transitionProperty:"common",transitionDuration:"normal"},gb={borderRadius:"md",py:"1",transitionProperty:"common",transitionDuration:"normal",width:"full",_focusVisible:{boxShadow:"outline"},_placeholder:{opacity:.6}},vb={borderRadius:"md",py:"1",transitionProperty:"common",transitionDuration:"normal",width:"full",_focusVisible:{boxShadow:"outline"},_placeholder:{opacity:.6}},bb=pb({preview:mb,input:gb,textarea:vb}),yb=hb({baseStyle:bb}),{definePartsStyle:xb,defineMultiStyleConfig:Cb}=mt(Y5.keys),Eo=Ee("form-control-color"),wb={marginStart:"1",[Eo.variable]:"colors.red.500",_dark:{[Eo.variable]:"colors.red.300"},color:Eo.reference},Sb={mt:"2",[Eo.variable]:"colors.gray.600",_dark:{[Eo.variable]:"colors.whiteAlpha.600"},color:Eo.reference,lineHeight:"normal",fontSize:"sm"},kb=xb({container:{width:"100%",position:"relative"},requiredIndicator:wb,helperText:Sb}),_b=Cb({baseStyle:kb}),{definePartsStyle:jb,defineMultiStyleConfig:Tb}=mt(X5.keys),Ao=Ee("form-error-color"),Pb={[Ao.variable]:"colors.red.500",_dark:{[Ao.variable]:"colors.red.300"},color:Ao.reference,mt:"2",fontSize:"sm",lineHeight:"normal"},Eb={marginEnd:"0.5em",[Ao.variable]:"colors.red.500",_dark:{[Ao.variable]:"colors.red.300"},color:Ao.reference},Ab=jb({text:Pb,icon:Eb}),Mb=Tb({baseStyle:Ab}),Ob={fontSize:"md",marginEnd:"3",mb:"2",fontWeight:"medium",transitionProperty:"common",transitionDuration:"normal",opacity:1,_disabled:{opacity:.4}},Ib={baseStyle:Ob},Db={fontFamily:"heading",fontWeight:"bold"},$b={"4xl":{fontSize:["6xl",null,"7xl"],lineHeight:1},"3xl":{fontSize:["5xl",null,"6xl"],lineHeight:1},"2xl":{fontSize:["4xl",null,"5xl"],lineHeight:[1.2,null,1]},xl:{fontSize:["3xl",null,"4xl"],lineHeight:[1.33,null,1.2]},lg:{fontSize:["2xl",null,"3xl"],lineHeight:[1.33,null,1.2]},md:{fontSize:"xl",lineHeight:1.2},sm:{fontSize:"md",lineHeight:1.2},xs:{fontSize:"sm",lineHeight:1.2}},Fb={baseStyle:Db,sizes:$b,defaultProps:{size:"xl"}},{definePartsStyle:vr,defineMultiStyleConfig:zb}=mt(J5.keys),Mo=Ee("input-height"),Oo=Ee("input-font-size"),Io=Ee("input-padding"),Do=Ee("input-border-radius"),Lb=vr({addon:{height:Mo.reference,fontSize:Oo.reference,px:Io.reference,borderRadius:Do.reference},field:{width:"100%",height:Mo.reference,fontSize:Oo.reference,px:Io.reference,borderRadius:Do.reference,minWidth:0,outline:0,position:"relative",appearance:"none",transitionProperty:"common",transitionDuration:"normal",_disabled:{opacity:.4,cursor:"not-allowed"}}}),Mr={lg:{[Oo.variable]:"fontSizes.lg",[Io.variable]:"space.4",[Do.variable]:"radii.md",[Mo.variable]:"sizes.12"},md:{[Oo.variable]:"fontSizes.md",[Io.variable]:"space.4",[Do.variable]:"radii.md",[Mo.variable]:"sizes.10"},sm:{[Oo.variable]:"fontSizes.sm",[Io.variable]:"space.3",[Do.variable]:"radii.sm",[Mo.variable]:"sizes.8"},xs:{[Oo.variable]:"fontSizes.xs",[Io.variable]:"space.2",[Do.variable]:"radii.sm",[Mo.variable]:"sizes.6"}},Bb={lg:vr({field:Mr.lg,group:Mr.lg}),md:vr({field:Mr.md,group:Mr.md}),sm:vr({field:Mr.sm,group:Mr.sm}),xs:vr({field:Mr.xs,group:Mr.xs})};function tc(e){const{focusBorderColor:t,errorBorderColor:n}=e;return{focusBorderColor:t||Ae("blue.500","blue.300")(e),errorBorderColor:n||Ae("red.500","red.300")(e)}}const Nb=vr(e=>{const{theme:t}=e,{focusBorderColor:n,errorBorderColor:r}=tc(e);return{field:{border:"1px solid",borderColor:"inherit",bg:"inherit",_hover:{borderColor:Ae("gray.300","whiteAlpha.400")(e)},_readOnly:{boxShadow:"none !important",userSelect:"all"},_invalid:{borderColor:Gt(t,r),boxShadow:`0 0 0 1px ${Gt(t,r)}`},_focusVisible:{zIndex:1,borderColor:Gt(t,n),boxShadow:`0 0 0 1px ${Gt(t,n)}`}},addon:{border:"1px solid",borderColor:Ae("inherit","whiteAlpha.50")(e),bg:Ae("gray.100","whiteAlpha.300")(e)}}}),Rb=vr(e=>{const{theme:t}=e,{focusBorderColor:n,errorBorderColor:r}=tc(e);return{field:{border:"2px solid",borderColor:"transparent",bg:Ae("gray.100","whiteAlpha.50")(e),_hover:{bg:Ae("gray.200","whiteAlpha.100")(e)},_readOnly:{boxShadow:"none !important",userSelect:"all"},_invalid:{borderColor:Gt(t,r)},_focusVisible:{bg:"transparent",borderColor:Gt(t,n)}},addon:{border:"2px solid",borderColor:"transparent",bg:Ae("gray.100","whiteAlpha.50")(e)}}}),Vb=vr(e=>{const{theme:t}=e,{focusBorderColor:n,errorBorderColor:r}=tc(e);return{field:{borderBottom:"1px solid",borderColor:"inherit",borderRadius:"0",px:"0",bg:"transparent",_readOnly:{boxShadow:"none !important",userSelect:"all"},_invalid:{borderColor:Gt(t,r),boxShadow:`0px 1px 0px 0px ${Gt(t,r)}`},_focusVisible:{borderColor:Gt(t,n),boxShadow:`0px 1px 0px 0px ${Gt(t,n)}`}},addon:{borderBottom:"2px solid",borderColor:"inherit",borderRadius:"0",px:"0",bg:"transparent"}}}),Wb=vr({field:{bg:"transparent",px:"0",height:"auto"},addon:{bg:"transparent",px:"0",height:"auto"}}),Je=zb({baseStyle:Lb,sizes:Bb,variants:{outline:Nb,filled:Rb,flushed:Vb,unstyled:Wb},defaultProps:{size:"md",variant:"outline"}}),nc=Ee("kbd-bg"),Hb={[nc.variable]:"colors.gray.100",_dark:{[nc.variable]:"colors.whiteAlpha.100"},bg:nc.reference,borderRadius:"md",borderWidth:"1px",borderBottomWidth:"3px",fontSize:"0.8em",fontWeight:"bold",lineHeight:"normal",px:"0.4em",whiteSpace:"nowrap"},Ub={baseStyle:Hb},qb={transitionProperty:"common",transitionDuration:"fast",transitionTimingFunction:"ease-out",cursor:"pointer",textDecoration:"none",outline:"none",color:"inherit",_hover:{textDecoration:"underline"},_focusVisible:{boxShadow:"outline"}},Zb={baseStyle:qb},{defineMultiStyleConfig:Gb,definePartsStyle:Kb}=mt(Q5.keys),Yb={marginEnd:"2",display:"inline",verticalAlign:"text-bottom"},Xb=Kb({icon:Yb}),Jb=Gb({baseStyle:Xb}),{defineMultiStyleConfig:Qb,definePartsStyle:ey}=mt(ev.keys),Un=Ee("menu-bg"),rc=Ee("menu-shadow"),ty={[Un.variable]:"#fff",[rc.variable]:"shadows.sm",_dark:{[Un.variable]:"colors.gray.700",[rc.variable]:"shadows.dark-lg"},color:"inherit",minW:"3xs",py:"2",zIndex:"dropdown",borderRadius:"md",borderWidth:"1px",bg:Un.reference,boxShadow:rc.reference},ny={py:"1.5",px:"3",transitionProperty:"background",transitionDuration:"ultra-fast",transitionTimingFunction:"ease-in",_focus:{[Un.variable]:"colors.gray.100",_dark:{[Un.variable]:"colors.whiteAlpha.100"}},_active:{[Un.variable]:"colors.gray.200",_dark:{[Un.variable]:"colors.whiteAlpha.200"}},_expanded:{[Un.variable]:"colors.gray.100",_dark:{[Un.variable]:"colors.whiteAlpha.100"}},_disabled:{opacity:.4,cursor:"not-allowed"},bg:Un.reference},ry={mx:4,my:2,fontWeight:"semibold",fontSize:"sm"},oy={display:"inline-flex",alignItems:"center",justifyContent:"center",flexShrink:0},iy={opacity:.6},ay={border:0,borderBottom:"1px solid",borderColor:"inherit",my:"2",opacity:.6},sy={transitionProperty:"common",transitionDuration:"normal"},ly=ey({button:sy,list:ty,item:ny,groupTitle:ry,icon:oy,command:iy,divider:ay}),cy=Qb({baseStyle:ly}),{defineMultiStyleConfig:uy,definePartsStyle:oc}=mt(tv.keys),ic=Ee("modal-bg"),ac=Ee("modal-shadow"),dy={bg:"blackAlpha.600",zIndex:"modal"},fy=e=>{const{isCentered:t,scrollBehavior:n}=e;return{display:"flex",zIndex:"modal",justifyContent:"center",alignItems:t?"center":"flex-start",overflow:n==="inside"?"hidden":"auto",overscrollBehaviorY:"none"}},py=e=>{const{isCentered:t,scrollBehavior:n}=e;return{borderRadius:"md",color:"inherit",my:t?"auto":"16",mx:t?"auto":void 0,zIndex:"modal",maxH:n==="inside"?"calc(100% - 7.5rem)":void 0,[ic.variable]:"colors.white",[ac.variable]:"shadows.lg",_dark:{[ic.variable]:"colors.gray.700",[ac.variable]:"shadows.dark-lg"},bg:ic.reference,boxShadow:ac.reference}},hy={px:"6",py:"4",fontSize:"xl",fontWeight:"semibold"},my={position:"absolute",top:"2",insetEnd:"3"},gy=e=>{const{scrollBehavior:t}=e;return{px:"6",py:"2",flex:"1",overflow:t==="inside"?"auto":void 0}},vy={px:"6",py:"4"},by=oc(e=>({overlay:dy,dialogContainer:Kt(fy,e),dialog:Kt(py,e),header:hy,closeButton:my,body:Kt(gy,e),footer:vy}));function $n(e){return oc(e==="full"?{dialog:{maxW:"100vw",minH:"$100vh",my:"0",borderRadius:"0"}}:{dialog:{maxW:e}})}const yy={xs:$n("xs"),sm:$n("sm"),md:$n("md"),lg:$n("lg"),xl:$n("xl"),"2xl":$n("2xl"),"3xl":$n("3xl"),"4xl":$n("4xl"),"5xl":$n("5xl"),"6xl":$n("6xl"),full:$n("full")},xy=uy({baseStyle:by,sizes:yy,defaultProps:{size:"md"}}),g1={letterSpacings:{tighter:"-0.05em",tight:"-0.025em",normal:"0",wide:"0.025em",wider:"0.05em",widest:"0.1em"},lineHeights:{normal:"normal",none:1,shorter:1.25,short:1.375,base:1.5,tall:1.625,taller:"2",3:".75rem",4:"1rem",5:"1.25rem",6:"1.5rem",7:"1.75rem",8:"2rem",9:"2.25rem",10:"2.5rem"},fontWeights:{hairline:100,thin:200,light:300,normal:400,medium:500,semibold:600,bold:700,extrabold:800,black:900},fonts:{heading:'-apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"',body:'-apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"',mono:'SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace'},fontSizes:{"3xs":"0.45rem","2xs":"0.625rem",xs:"0.75rem",sm:"0.875rem",md:"1rem",lg:"1.125rem",xl:"1.25rem","2xl":"1.5rem","3xl":"1.875rem","4xl":"2.25rem","5xl":"3rem","6xl":"3.75rem","7xl":"4.5rem","8xl":"6rem","9xl":"8rem"}},{defineMultiStyleConfig:Cy,definePartsStyle:v1}=mt(nv.keys),sc=Dt("number-input-stepper-width"),b1=Dt("number-input-input-padding"),wy=hr(sc).add("0.5rem").toString(),lc=Dt("number-input-bg"),cc=Dt("number-input-color"),uc=Dt("number-input-border-color"),Sy={[sc.variable]:"sizes.6",[b1.variable]:wy},ky=e=>{var t;return((t=Kt(Je.baseStyle,e))==null?void 0:t.field)??{}},_y={width:sc.reference},jy={borderStart:"1px solid",borderStartColor:uc.reference,color:cc.reference,bg:lc.reference,[cc.variable]:"colors.chakra-body-text",[uc.variable]:"colors.chakra-border-color",_dark:{[cc.variable]:"colors.whiteAlpha.800",[uc.variable]:"colors.whiteAlpha.300"},_active:{[lc.variable]:"colors.gray.200",_dark:{[lc.variable]:"colors.whiteAlpha.300"}},_disabled:{opacity:.4,cursor:"not-allowed"}},Ty=v1(e=>({root:Sy,field:Kt(ky,e)??{},stepperGroup:_y,stepper:jy}));function os(e){var i,a;const t=(i=Je.sizes)==null?void 0:i[e],n={lg:"md",md:"md",sm:"sm",xs:"sm"},r=((a=t.field)==null?void 0:a.fontSize)??"md",o=g1.fontSizes[r];return v1({field:{...t.field,paddingInlineEnd:b1.reference,verticalAlign:"top"},stepper:{fontSize:hr(o).multiply(.75).toString(),_first:{borderTopEndRadius:n[e]},_last:{borderBottomEndRadius:n[e],mt:"-1px",borderTopWidth:1}}})}const Py={xs:os("xs"),sm:os("sm"),md:os("md"),lg:os("lg")},Ey=Cy({baseStyle:Ty,sizes:Py,variants:Je.variants,defaultProps:Je.defaultProps}),Ay={...(E4=Je.baseStyle)==null?void 0:E4.field,textAlign:"center"},My={lg:{fontSize:"lg",w:12,h:12,borderRadius:"md"},md:{fontSize:"md",w:10,h:10,borderRadius:"md"},sm:{fontSize:"sm",w:8,h:8,borderRadius:"sm"},xs:{fontSize:"xs",w:6,h:6,borderRadius:"sm"}},Oy={outline:e=>{var t,n;return((n=Kt((t=Je.variants)==null?void 0:t.outline,e))==null?void 0:n.field)??{}},flushed:e=>{var t,n;return((n=Kt((t=Je.variants)==null?void 0:t.flushed,e))==null?void 0:n.field)??{}},filled:e=>{var t,n;return((n=Kt((t=Je.variants)==null?void 0:t.filled,e))==null?void 0:n.field)??{}},unstyled:((A4=Je.variants)==null?void 0:A4.unstyled.field)??{}},Iy={baseStyle:Ay,sizes:My,variants:Oy,defaultProps:Je.defaultProps},{defineMultiStyleConfig:Dy,definePartsStyle:$y}=mt(rv.keys),is=Dt("popper-bg"),Fy=Dt("popper-arrow-bg"),y1=Dt("popper-arrow-shadow-color"),zy={zIndex:"popover"},Ly={[is.variable]:"colors.white",bg:is.reference,[Fy.variable]:is.reference,[y1.variable]:"colors.gray.200",_dark:{[is.variable]:"colors.gray.700",[y1.variable]:"colors.whiteAlpha.300"},width:"xs",border:"1px solid",borderColor:"inherit",borderRadius:"md",boxShadow:"sm",zIndex:"inherit",_focusVisible:{outline:0,boxShadow:"outline"}},By={px:3,py:2,borderBottomWidth:"1px"},Ny={px:3,py:2},Ry={px:3,py:2,borderTopWidth:"1px"},Vy={position:"absolute",borderRadius:"md",top:1,insetEnd:2,padding:2},Wy=$y({popper:zy,content:Ly,header:By,body:Ny,footer:Ry,closeButton:Vy}),Hy=Dy({baseStyle:Wy}),{defineMultiStyleConfig:Uy,definePartsStyle:Ri}=mt(ov.keys),qy=e=>{const{colorScheme:t,theme:n,isIndeterminate:r,hasStripe:o}=e,i=Ae(n1(),n1("1rem","rgba(0,0,0,0.1)"))(e),a=Ae(`${t}.500`,`${t}.200`)(e),s=`linear-gradient(
|
|
40
40
|
to right,
|
|
41
41
|
transparent 0%,
|
|
42
42
|
${Gt(n,a)} 50%,
|
|
43
43
|
transparent 100%
|
|
44
|
-
)`;return{...!r&&o&&i,...r?{bgImage:s}:{bgColor:a}}},Uy={lineHeight:"1",fontSize:"0.25em",fontWeight:"bold",color:"white"},qy=e=>({bg:Ee("gray.100","whiteAlpha.300")(e)}),Zy=e=>({transitionProperty:"common",transitionDuration:"slow",...Hy(e)}),Gy=Ri(e=>({label:Uy,filledTrack:Zy(e),track:qy(e)})),Ky={xs:Ri({track:{h:"1"}}),sm:Ri({track:{h:"2"}}),md:Ri({track:{h:"3"}}),lg:Ri({track:{h:"4"}})},Yy=Wy({sizes:Ky,baseStyle:Gy,defaultProps:{size:"md",colorScheme:"blue"}}),{defineMultiStyleConfig:Xy,definePartsStyle:as}=mt(rv.keys),Jy=e=>{var n;const t=(n=Kt(Ar.baseStyle,e))==null?void 0:n.control;return{...t,borderRadius:"full",_checked:{...t==null?void 0:t._checked,_before:{content:'""',display:"inline-block",pos:"relative",w:"50%",h:"50%",borderRadius:"50%",bg:"currentColor"}}}},Qy=as(e=>{var t,n;return{label:(t=Ar.baseStyle)==null?void 0:t.call(Ar,e).label,container:(n=Ar.baseStyle)==null?void 0:n.call(Ar,e).container,control:Jy(e)}}),e7={md:as({control:{w:"4",h:"4"},label:{fontSize:"md"}}),lg:as({control:{w:"5",h:"5"},label:{fontSize:"lg"}}),sm:as({control:{width:"3",height:"3"},label:{fontSize:"sm"}})},t7=Xy({baseStyle:Qy,sizes:e7,defaultProps:{size:"md",colorScheme:"blue"}}),{defineMultiStyleConfig:n7,definePartsStyle:r7}=mt(ov.keys),ss=Pe("select-bg"),o7={...(E4=Je.baseStyle)==null?void 0:E4.field,appearance:"none",paddingBottom:"1px",lineHeight:"normal",bg:ss.reference,[ss.variable]:"colors.white",_dark:{[ss.variable]:"colors.gray.700"},"> option, > optgroup":{bg:ss.reference}},i7={width:"6",height:"100%",insetEnd:"2",position:"relative",color:"currentColor",fontSize:"xl",_disabled:{opacity:.5}},a7=r7({field:o7,icon:i7}),ls={paddingInlineEnd:"8"},s7={lg:{...(A4=Je.sizes)==null?void 0:A4.lg,field:{...(M4=Je.sizes)==null?void 0:M4.lg.field,...ls}},md:{...(O4=Je.sizes)==null?void 0:O4.md,field:{...(I4=Je.sizes)==null?void 0:I4.md.field,...ls}},sm:{...(D4=Je.sizes)==null?void 0:D4.sm,field:{...($4=Je.sizes)==null?void 0:$4.sm.field,...ls}},xs:{...(F4=Je.sizes)==null?void 0:F4.xs,field:{...(z4=Je.sizes)==null?void 0:z4.xs.field,...ls},icon:{insetEnd:"1"}}},l7=n7({baseStyle:a7,sizes:s7,variants:Je.variants,defaultProps:Je.defaultProps}),dc=Pe("skeleton-start-color"),fc=Pe("skeleton-end-color"),c7={[dc.variable]:"colors.gray.100",[fc.variable]:"colors.gray.400",_dark:{[dc.variable]:"colors.gray.800",[fc.variable]:"colors.gray.600"},background:dc.reference,borderColor:fc.reference,opacity:.7,borderRadius:"sm"},u7={baseStyle:c7},pc=Pe("skip-link-bg"),d7={borderRadius:"md",fontWeight:"semibold",_focusVisible:{boxShadow:"outline",padding:"4",position:"fixed",top:"6",insetStart:"6",[pc.variable]:"colors.white",_dark:{[pc.variable]:"colors.gray.700"},bg:pc.reference}},f7={baseStyle:d7},{defineMultiStyleConfig:p7,definePartsStyle:cs}=mt(iv.keys),Xr=Pe("slider-thumb-size"),Vi=Pe("slider-track-size"),Or=Pe("slider-bg"),h7=e=>{const{orientation:t}=e;return{display:"inline-block",position:"relative",cursor:"pointer",_disabled:{opacity:.6,cursor:"default",pointerEvents:"none"},...Gl({orientation:t,vertical:{h:"100%",px:pr(Xr.reference).divide(2).toString()},horizontal:{w:"100%",py:pr(Xr.reference).divide(2).toString()}})}},m7=e=>({...Gl({orientation:e.orientation,horizontal:{h:Vi.reference},vertical:{w:Vi.reference}}),overflow:"hidden",borderRadius:"sm",[Or.variable]:"colors.gray.200",_dark:{[Or.variable]:"colors.whiteAlpha.200"},_disabled:{[Or.variable]:"colors.gray.300",_dark:{[Or.variable]:"colors.whiteAlpha.300"}},bg:Or.reference}),g7=e=>{const{orientation:t}=e;return{...Gl({orientation:t,vertical:{left:"50%",transform:"translateX(-50%)",_active:{transform:"translateX(-50%) scale(1.15)"}},horizontal:{top:"50%",transform:"translateY(-50%)",_active:{transform:"translateY(-50%) scale(1.15)"}}}),w:Xr.reference,h:Xr.reference,display:"flex",alignItems:"center",justifyContent:"center",position:"absolute",outline:0,zIndex:1,borderRadius:"full",bg:"white",boxShadow:"base",border:"1px solid",borderColor:"transparent",transitionProperty:"transform",transitionDuration:"normal",_focusVisible:{boxShadow:"outline"},_disabled:{bg:"gray.300"}}},v7=e=>{const{colorScheme:t}=e;return{width:"inherit",height:"inherit",[Or.variable]:`colors.${t}.500`,_dark:{[Or.variable]:`colors.${t}.200`},bg:Or.reference}},b7=cs(e=>({container:h7(e),track:m7(e),thumb:g7(e),filledTrack:v7(e)})),y7=cs({container:{[Xr.variable]:"sizes.4",[Vi.variable]:"sizes.1"}}),x7=cs({container:{[Xr.variable]:"sizes.3.5",[Vi.variable]:"sizes.1"}}),C7=cs({container:{[Xr.variable]:"sizes.2.5",[Vi.variable]:"sizes.0.5"}}),w7=p7({baseStyle:b7,sizes:{lg:y7,md:x7,sm:C7},defaultProps:{size:"md",colorScheme:"blue"}}),Jr=Dt("spinner-size"),S7={width:[Jr.reference],height:[Jr.reference]},k7={xs:{[Jr.variable]:"sizes.3"},sm:{[Jr.variable]:"sizes.4"},md:{[Jr.variable]:"sizes.6"},lg:{[Jr.variable]:"sizes.8"},xl:{[Jr.variable]:"sizes.12"}},_7={baseStyle:S7,sizes:k7,defaultProps:{size:"md"}},{defineMultiStyleConfig:j7,definePartsStyle:x1}=mt(av.keys),T7={fontWeight:"medium"},P7={opacity:.8,marginBottom:"2"},E7={verticalAlign:"baseline",fontWeight:"semibold"},A7={marginEnd:1,w:"3.5",h:"3.5",verticalAlign:"middle"},M7=x1({container:{},label:T7,helpText:P7,number:E7,icon:A7}),O7={md:x1({label:{fontSize:"sm"},helpText:{fontSize:"sm"},number:{fontSize:"2xl"}})},I7=j7({baseStyle:M7,sizes:O7,defaultProps:{size:"md"}}),{defineMultiStyleConfig:D7,definePartsStyle:Wi}=mt(["stepper","step","title","description","indicator","separator","icon","number"]),br=Pe("stepper-indicator-size"),$o=Pe("stepper-icon-size"),Fo=Pe("stepper-title-font-size"),Hi=Pe("stepper-description-font-size"),Ui=Pe("stepper-accent-color"),$7=Wi(({colorScheme:e})=>({stepper:{display:"flex",justifyContent:"space-between",gap:"4","&[data-orientation=vertical]":{flexDirection:"column",alignItems:"flex-start"},"&[data-orientation=horizontal]":{flexDirection:"row",alignItems:"center"},[Ui.variable]:`colors.${e}.500`,_dark:{[Ui.variable]:`colors.${e}.200`}},title:{fontSize:Fo.reference,fontWeight:"medium"},description:{fontSize:Hi.reference,color:"chakra-subtle-text"},number:{fontSize:Fo.reference},step:{flexShrink:0,position:"relative",display:"flex",gap:"2","&[data-orientation=horizontal]":{alignItems:"center"},flex:"1","&:last-of-type:not([data-stretch])":{flex:"initial"}},icon:{flexShrink:0,width:$o.reference,height:$o.reference},indicator:{flexShrink:0,borderRadius:"full",width:br.reference,height:br.reference,display:"flex",justifyContent:"center",alignItems:"center","&[data-status=active]":{borderWidth:"2px",borderColor:Ui.reference},"&[data-status=complete]":{bg:Ui.reference,color:"chakra-inverse-text"},"&[data-status=incomplete]":{borderWidth:"2px"}},separator:{bg:"chakra-border-color",flex:"1","&[data-status=complete]":{bg:Ui.reference},"&[data-orientation=horizontal]":{width:"100%",height:"2px",marginStart:"2"},"&[data-orientation=vertical]":{width:"2px",position:"absolute",height:"100%",maxHeight:`calc(100% - ${br.reference} - 8px)`,top:`calc(${br.reference} + 4px)`,insetStart:`calc(${br.reference} / 2 - 1px)`}}})),F7=D7({baseStyle:$7,sizes:{xs:Wi({stepper:{[br.variable]:"sizes.4",[$o.variable]:"sizes.3",[Fo.variable]:"fontSizes.xs",[Hi.variable]:"fontSizes.xs"}}),sm:Wi({stepper:{[br.variable]:"sizes.6",[$o.variable]:"sizes.4",[Fo.variable]:"fontSizes.sm",[Hi.variable]:"fontSizes.xs"}}),md:Wi({stepper:{[br.variable]:"sizes.8",[$o.variable]:"sizes.5",[Fo.variable]:"fontSizes.md",[Hi.variable]:"fontSizes.sm"}}),lg:Wi({stepper:{[br.variable]:"sizes.10",[$o.variable]:"sizes.6",[Fo.variable]:"fontSizes.lg",[Hi.variable]:"fontSizes.md"}})},defaultProps:{size:"md",colorScheme:"blue"}}),{defineMultiStyleConfig:z7,definePartsStyle:us}=mt(sv.keys),qi=Dt("switch-track-width"),Qr=Dt("switch-track-height"),hc=Dt("switch-track-diff"),L7=hr.subtract(qi,Qr),mc=Dt("switch-thumb-x"),Zi=Dt("switch-bg"),B7=e=>{const{colorScheme:t}=e;return{borderRadius:"full",p:"0.5",width:[qi.reference],height:[Qr.reference],transitionProperty:"common",transitionDuration:"fast",[Zi.variable]:"colors.gray.300",_dark:{[Zi.variable]:"colors.whiteAlpha.400"},_focusVisible:{boxShadow:"outline"},_disabled:{opacity:.4,cursor:"not-allowed"},_checked:{[Zi.variable]:`colors.${t}.500`,_dark:{[Zi.variable]:`colors.${t}.200`}},bg:Zi.reference}},N7={bg:"white",transitionProperty:"transform",transitionDuration:"normal",borderRadius:"inherit",width:[Qr.reference],height:[Qr.reference],_checked:{transform:`translateX(${mc.reference})`}},R7=us(e=>({container:{[hc.variable]:L7,[mc.variable]:hc.reference,_rtl:{[mc.variable]:hr(hc).negate().toString()}},track:B7(e),thumb:N7})),V7={sm:us({container:{[qi.variable]:"1.375rem",[Qr.variable]:"sizes.3"}}),md:us({container:{[qi.variable]:"1.875rem",[Qr.variable]:"sizes.4"}}),lg:us({container:{[qi.variable]:"2.875rem",[Qr.variable]:"sizes.6"}})},W7=z7({baseStyle:R7,sizes:V7,defaultProps:{size:"md",colorScheme:"blue"}}),{defineMultiStyleConfig:H7,definePartsStyle:zo}=mt(lv.keys),U7=zo({table:{fontVariantNumeric:"lining-nums tabular-nums",borderCollapse:"collapse",width:"full"},th:{fontFamily:"heading",fontWeight:"bold",textTransform:"uppercase",letterSpacing:"wider",textAlign:"start"},td:{textAlign:"start"},caption:{mt:4,fontFamily:"heading",textAlign:"center",fontWeight:"medium"}}),ds={"&[data-is-numeric=true]":{textAlign:"end"}},q7=zo(e=>{const{colorScheme:t}=e;return{th:{color:Ee("gray.600","gray.400")(e),borderBottom:"1px",borderColor:Ee(`${t}.100`,`${t}.700`)(e),...ds},td:{borderBottom:"1px",borderColor:Ee(`${t}.100`,`${t}.700`)(e),...ds},caption:{color:Ee("gray.600","gray.100")(e)},tfoot:{tr:{"&:last-of-type":{th:{borderBottomWidth:0}}}}}}),Z7=zo(e=>{const{colorScheme:t}=e;return{th:{color:Ee("gray.600","gray.400")(e),borderBottom:"1px",borderColor:Ee(`${t}.100`,`${t}.700`)(e),...ds},td:{borderBottom:"1px",borderColor:Ee(`${t}.100`,`${t}.700`)(e),...ds},caption:{color:Ee("gray.600","gray.100")(e)},tbody:{tr:{"&:nth-of-type(odd)":{"th, td":{borderBottomWidth:"1px",borderColor:Ee(`${t}.100`,`${t}.700`)(e)},td:{background:Ee(`${t}.100`,`${t}.700`)(e)}}}},tfoot:{tr:{"&:last-of-type":{th:{borderBottomWidth:0}}}}}}),G7={simple:q7,striped:Z7,unstyled:{}},K7={sm:zo({th:{px:"4",py:"1",lineHeight:"4",fontSize:"xs"},td:{px:"4",py:"2",fontSize:"sm",lineHeight:"4"},caption:{px:"4",py:"2",fontSize:"xs"}}),md:zo({th:{px:"6",py:"3",lineHeight:"4",fontSize:"xs"},td:{px:"6",py:"4",lineHeight:"5"},caption:{px:"6",py:"2",fontSize:"sm"}}),lg:zo({th:{px:"8",py:"4",lineHeight:"5",fontSize:"sm"},td:{px:"8",py:"5",lineHeight:"6"},caption:{px:"6",py:"2",fontSize:"md"}})},Y7=H7({baseStyle:U7,variants:G7,sizes:K7,defaultProps:{variant:"simple",size:"md",colorScheme:"gray"}}),on=Pe("tabs-color"),Fn=Pe("tabs-bg"),fs=Pe("tabs-border-color"),{defineMultiStyleConfig:X7,definePartsStyle:qn}=mt(cv.keys),J7=e=>{const{orientation:t}=e;return{display:t==="vertical"?"flex":"block"}},Q7=e=>{const{isFitted:t}=e;return{flex:t?1:void 0,transitionProperty:"common",transitionDuration:"normal",_focusVisible:{zIndex:1,boxShadow:"outline"},_disabled:{cursor:"not-allowed",opacity:.4}}},e8=e=>{const{align:t="start",orientation:n}=e;return{justifyContent:{end:"flex-end",center:"center",start:"flex-start"}[t],flexDirection:n==="vertical"?"column":"row"}},t8={p:4},n8=qn(e=>({root:J7(e),tab:Q7(e),tablist:e8(e),tabpanel:t8})),r8={sm:qn({tab:{py:1,px:4,fontSize:"sm"}}),md:qn({tab:{fontSize:"md",py:2,px:4}}),lg:qn({tab:{fontSize:"lg",py:3,px:4}})},o8=qn(e=>{const{colorScheme:t,orientation:n}=e,r=n==="vertical",o=r?"borderStart":"borderBottom",i=r?"marginStart":"marginBottom";return{tablist:{[o]:"2px solid",borderColor:"inherit"},tab:{[o]:"2px solid",borderColor:"transparent",[i]:"-2px",_selected:{[on.variable]:`colors.${t}.600`,_dark:{[on.variable]:`colors.${t}.300`},borderColor:"currentColor"},_active:{[Fn.variable]:"colors.gray.200",_dark:{[Fn.variable]:"colors.whiteAlpha.300"}},_disabled:{_active:{bg:"none"}},color:on.reference,bg:Fn.reference}}}),i8=qn(e=>{const{colorScheme:t}=e;return{tab:{borderTopRadius:"md",border:"1px solid",borderColor:"transparent",mb:"-1px",[fs.variable]:"transparent",_selected:{[on.variable]:`colors.${t}.600`,[fs.variable]:"colors.white",_dark:{[on.variable]:`colors.${t}.300`,[fs.variable]:"colors.gray.800"},borderColor:"inherit",borderBottomColor:fs.reference},color:on.reference},tablist:{mb:"-1px",borderBottom:"1px solid",borderColor:"inherit"}}}),a8=qn(e=>{const{colorScheme:t}=e;return{tab:{border:"1px solid",borderColor:"inherit",[Fn.variable]:"colors.gray.50",_dark:{[Fn.variable]:"colors.whiteAlpha.50"},mb:"-1px",_notLast:{marginEnd:"-1px"},_selected:{[Fn.variable]:"colors.white",[on.variable]:`colors.${t}.600`,_dark:{[Fn.variable]:"colors.gray.800",[on.variable]:`colors.${t}.300`},borderColor:"inherit",borderTopColor:"currentColor",borderBottomColor:"transparent"},color:on.reference,bg:Fn.reference},tablist:{mb:"-1px",borderBottom:"1px solid",borderColor:"inherit"}}}),s8=qn(e=>{const{colorScheme:t,theme:n}=e;return{tab:{borderRadius:"full",fontWeight:"semibold",color:"gray.600",_selected:{color:Gt(n,`${t}.700`),bg:Gt(n,`${t}.100`)}}}}),l8=qn(e=>{const{colorScheme:t}=e;return{tab:{borderRadius:"full",fontWeight:"semibold",[on.variable]:"colors.gray.600",_dark:{[on.variable]:"inherit"},_selected:{[on.variable]:"colors.white",[Fn.variable]:`colors.${t}.600`,_dark:{[on.variable]:"colors.gray.800",[Fn.variable]:`colors.${t}.300`}},color:on.reference,bg:Fn.reference}}}),c8=qn({}),u8=X7({baseStyle:n8,sizes:r8,variants:{line:o8,enclosed:i8,"enclosed-colored":a8,"soft-rounded":s8,"solid-rounded":l8,unstyled:c8},defaultProps:{size:"md",variant:"line",colorScheme:"blue"}}),{defineMultiStyleConfig:d8,definePartsStyle:eo}=mt(uv.keys),C1=Pe("tag-bg"),w1=Pe("tag-color"),gc=Pe("tag-shadow"),ps=Pe("tag-min-height"),hs=Pe("tag-min-width"),ms=Pe("tag-font-size"),gs=Pe("tag-padding-inline"),f8={fontWeight:"medium",lineHeight:1.2,outline:0,[w1.variable]:Tt.color.reference,[C1.variable]:Tt.bg.reference,[gc.variable]:Tt.shadow.reference,color:w1.reference,bg:C1.reference,boxShadow:gc.reference,borderRadius:"md",minH:ps.reference,minW:hs.reference,fontSize:ms.reference,px:gs.reference,_focusVisible:{[gc.variable]:"shadows.outline"}},p8={lineHeight:1.2,overflow:"visible"},h8={fontSize:"lg",w:"5",h:"5",transitionProperty:"common",transitionDuration:"normal",borderRadius:"full",marginStart:"1.5",marginEnd:"-1",opacity:.5,_disabled:{opacity:.4},_focusVisible:{boxShadow:"outline",bg:"rgba(0, 0, 0, 0.14)"},_hover:{opacity:.8},_active:{opacity:1}},m8=eo({container:f8,label:p8,closeButton:h8}),g8={sm:eo({container:{[ps.variable]:"sizes.5",[hs.variable]:"sizes.5",[ms.variable]:"fontSizes.xs",[gs.variable]:"space.2"},closeButton:{marginEnd:"-2px",marginStart:"0.35rem"}}),md:eo({container:{[ps.variable]:"sizes.6",[hs.variable]:"sizes.6",[ms.variable]:"fontSizes.sm",[gs.variable]:"space.2"}}),lg:eo({container:{[ps.variable]:"sizes.8",[hs.variable]:"sizes.8",[ms.variable]:"fontSizes.md",[gs.variable]:"space.3"}})},v8={subtle:eo(e=>{var t;return{container:(t=zi.variants)==null?void 0:t.subtle(e)}}),solid:eo(e=>{var t;return{container:(t=zi.variants)==null?void 0:t.solid(e)}}),outline:eo(e=>{var t;return{container:(t=zi.variants)==null?void 0:t.outline(e)}})},b8=d8({variants:v8,baseStyle:m8,sizes:g8,defaultProps:{size:"md",variant:"subtle",colorScheme:"gray"}}),y8={...(L4=Je.baseStyle)==null?void 0:L4.field,paddingY:"2",minHeight:"20",lineHeight:"short",verticalAlign:"top"},x8={outline:e=>{var t;return((t=Je.variants)==null?void 0:t.outline(e).field)??{}},flushed:e=>{var t;return((t=Je.variants)==null?void 0:t.flushed(e).field)??{}},filled:e=>{var t;return((t=Je.variants)==null?void 0:t.filled(e).field)??{}},unstyled:((B4=Je.variants)==null?void 0:B4.unstyled.field)??{}},C8={xs:((N4=Je.sizes)==null?void 0:N4.xs.field)??{},sm:((R4=Je.sizes)==null?void 0:R4.sm.field)??{},md:((V4=Je.sizes)==null?void 0:V4.md.field)??{},lg:((W4=Je.sizes)==null?void 0:W4.lg.field)??{}},w8={baseStyle:y8,sizes:C8,variants:x8,defaultProps:{size:"md",variant:"outline"}},vs=Dt("tooltip-bg"),vc=Dt("tooltip-fg"),S8=Dt("popper-arrow-bg"),k8={bg:vs.reference,color:vc.reference,[vs.variable]:"colors.gray.700",[vc.variable]:"colors.whiteAlpha.900",_dark:{[vs.variable]:"colors.gray.300",[vc.variable]:"colors.gray.900"},[S8.variable]:vs.reference,px:"2",py:"0.5",borderRadius:"sm",fontWeight:"medium",fontSize:"sm",boxShadow:"md",maxW:"xs",zIndex:"tooltip"},_8={baseStyle:k8},j8={Accordion:yv,Alert:t6,Avatar:u6,Badge:zi,Breadcrumb:y6,Button:P6,Checkbox:Ar,CloseButton:W6,Code:Z6,Container:K6,Divider:Q6,Drawer:ub,Editable:vb,Form:Sb,FormError:Eb,FormLabel:Mb,Heading:Db,Input:Je,Kbd:Wb,Link:Ub,List:Yb,Menu:sy,Modal:by,NumberInput:Ty,PinInput:My,Popover:Vy,Progress:Yy,Radio:t7,Select:l7,Skeleton:u7,SkipLink:f7,Slider:w7,Spinner:_7,Stat:I7,Switch:W7,Table:Y7,Tabs:u8,Tag:b8,Textarea:w8,Tooltip:_8,Card:I6,Stepper:F7},T8={breakpoints:{base:"0em",sm:"30em",md:"48em",lg:"62em",xl:"80em","2xl":"96em"},zIndices:{hide:-1,auto:"auto",base:0,docked:10,dropdown:1e3,sticky:1100,banner:1200,overlay:1300,modal:1400,popover:1500,skipLink:1600,toast:1700,tooltip:1800},radii:{none:"0",sm:"0.125rem",base:"0.25rem",md:"0.375rem",lg:"0.5rem",xl:"0.75rem","2xl":"1rem","3xl":"1.5rem",full:"9999px"},blur:{none:0,sm:"4px",base:"8px",md:"12px",lg:"16px",xl:"24px","2xl":"40px","3xl":"64px"},colors:{transparent:"transparent",current:"currentColor",black:"#000000",white:"#FFFFFF",whiteAlpha:{50:"rgba(255, 255, 255, 0.04)",100:"rgba(255, 255, 255, 0.06)",200:"rgba(255, 255, 255, 0.08)",300:"rgba(255, 255, 255, 0.16)",400:"rgba(255, 255, 255, 0.24)",500:"rgba(255, 255, 255, 0.36)",600:"rgba(255, 255, 255, 0.48)",700:"rgba(255, 255, 255, 0.64)",800:"rgba(255, 255, 255, 0.80)",900:"rgba(255, 255, 255, 0.92)"},blackAlpha:{50:"rgba(0, 0, 0, 0.04)",100:"rgba(0, 0, 0, 0.06)",200:"rgba(0, 0, 0, 0.08)",300:"rgba(0, 0, 0, 0.16)",400:"rgba(0, 0, 0, 0.24)",500:"rgba(0, 0, 0, 0.36)",600:"rgba(0, 0, 0, 0.48)",700:"rgba(0, 0, 0, 0.64)",800:"rgba(0, 0, 0, 0.80)",900:"rgba(0, 0, 0, 0.92)"},gray:{50:"#F7FAFC",100:"#EDF2F7",200:"#E2E8F0",300:"#CBD5E0",400:"#A0AEC0",500:"#718096",600:"#4A5568",700:"#2D3748",800:"#1A202C",900:"#171923"},red:{50:"#FFF5F5",100:"#FED7D7",200:"#FEB2B2",300:"#FC8181",400:"#F56565",500:"#E53E3E",600:"#C53030",700:"#9B2C2C",800:"#822727",900:"#63171B"},orange:{50:"#FFFAF0",100:"#FEEBC8",200:"#FBD38D",300:"#F6AD55",400:"#ED8936",500:"#DD6B20",600:"#C05621",700:"#9C4221",800:"#7B341E",900:"#652B19"},yellow:{50:"#FFFFF0",100:"#FEFCBF",200:"#FAF089",300:"#F6E05E",400:"#ECC94B",500:"#D69E2E",600:"#B7791F",700:"#975A16",800:"#744210",900:"#5F370E"},green:{50:"#F0FFF4",100:"#C6F6D5",200:"#9AE6B4",300:"#68D391",400:"#48BB78",500:"#38A169",600:"#2F855A",700:"#276749",800:"#22543D",900:"#1C4532"},teal:{50:"#E6FFFA",100:"#B2F5EA",200:"#81E6D9",300:"#4FD1C5",400:"#38B2AC",500:"#319795",600:"#2C7A7B",700:"#285E61",800:"#234E52",900:"#1D4044"},blue:{50:"#ebf8ff",100:"#bee3f8",200:"#90cdf4",300:"#63b3ed",400:"#4299e1",500:"#3182ce",600:"#2b6cb0",700:"#2c5282",800:"#2a4365",900:"#1A365D"},cyan:{50:"#EDFDFD",100:"#C4F1F9",200:"#9DECF9",300:"#76E4F7",400:"#0BC5EA",500:"#00B5D8",600:"#00A3C4",700:"#0987A0",800:"#086F83",900:"#065666"},purple:{50:"#FAF5FF",100:"#E9D8FD",200:"#D6BCFA",300:"#B794F4",400:"#9F7AEA",500:"#805AD5",600:"#6B46C1",700:"#553C9A",800:"#44337A",900:"#322659"},pink:{50:"#FFF5F7",100:"#FED7E2",200:"#FBB6CE",300:"#F687B3",400:"#ED64A6",500:"#D53F8C",600:"#B83280",700:"#97266D",800:"#702459",900:"#521B41"}},...g1,sizes:u1,shadows:{xs:"0 0 0 1px rgba(0, 0, 0, 0.05)",sm:"0 1px 2px 0 rgba(0, 0, 0, 0.05)",base:"0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06)",md:"0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06)",lg:"0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05)",xl:"0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04)","2xl":"0 25px 50px -12px rgba(0, 0, 0, 0.25)",outline:"0 0 0 3px rgba(66, 153, 225, 0.6)",inner:"inset 0 2px 4px 0 rgba(0,0,0,0.06)",none:"none","dark-lg":"rgba(0, 0, 0, 0.1) 0px 0px 0px 1px, rgba(0, 0, 0, 0.2) 0px 5px 10px, rgba(0, 0, 0, 0.4) 0px 15px 40px"},space:c1,borders:{none:0,"1px":"1px solid","2px":"2px solid","4px":"4px solid","8px":"8px solid"},transition:{property:{common:"background-color, border-color, color, fill, stroke, opacity, box-shadow, transform",colors:"background-color, border-color, color, fill, stroke",dimensions:"width, height",position:"left, right, top, bottom",background:"background-color, background-image, background-position"},easing:{"ease-in":"cubic-bezier(0.4, 0, 1, 1)","ease-out":"cubic-bezier(0, 0, 0.2, 1)","ease-in-out":"cubic-bezier(0.4, 0, 0.2, 1)"},duration:{"ultra-fast":"50ms",faster:"100ms",fast:"150ms",normal:"200ms",slow:"300ms",slower:"400ms","ultra-slow":"500ms"}}},P8={colors:{"chakra-body-text":{_light:"gray.800",_dark:"whiteAlpha.900"},"chakra-body-bg":{_light:"white",_dark:"gray.800"},"chakra-border-color":{_light:"gray.200",_dark:"whiteAlpha.300"},"chakra-inverse-text":{_light:"white",_dark:"gray.800"},"chakra-subtle-bg":{_light:"gray.100",_dark:"gray.700"},"chakra-subtle-text":{_light:"gray.600",_dark:"gray.400"},"chakra-placeholder-color":{_light:"gray.500",_dark:"whiteAlpha.400"}}},E8={global:{body:{fontFamily:"body",color:"chakra-body-text",bg:"chakra-body-bg",transitionProperty:"background-color",transitionDuration:"normal",lineHeight:"base"},"*::placeholder":{color:"chakra-placeholder-color"},"*, *::before, &::after":{borderColor:"chakra-border-color"}}},A8=["borders","breakpoints","colors","components","config","direction","fonts","fontSizes","fontWeights","letterSpacings","lineHeights","radii","shadows","sizes","space","styles","transition","zIndices"];function M8(e){return rn(e)?A8.every(t=>Object.prototype.hasOwnProperty.call(e,t)):!1}const S1={semanticTokens:P8,direction:"ltr",...T8,components:j8,styles:E8,config:{useSystemColorMode:!1,initialColorMode:"light",cssVarPrefix:"chakra"}};var O8=!1;function I8(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}function D8(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),e.nonce!==void 0&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}var $8=function(){function e(n){var r=this;this._insertTag=function(o){var i;r.tags.length===0?r.insertionPoint?i=r.insertionPoint.nextSibling:r.prepend?i=r.container.firstChild:i=r.before:i=r.tags[r.tags.length-1].nextSibling,r.container.insertBefore(o,i),r.tags.push(o)},this.isSpeedy=n.speedy===void 0?!O8:n.speedy,this.tags=[],this.ctr=0,this.nonce=n.nonce,this.key=n.key,this.container=n.container,this.prepend=n.prepend,this.insertionPoint=n.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(r){r.forEach(this._insertTag)},t.insert=function(r){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(D8(this));var o=this.tags[this.tags.length-1];if(this.isSpeedy){var i=I8(o);try{i.insertRule(r,i.cssRules.length)}catch{}}else o.appendChild(document.createTextNode(r));this.ctr++},t.flush=function(){this.tags.forEach(function(r){var o;return(o=r.parentNode)==null?void 0:o.removeChild(r)}),this.tags=[],this.ctr=0},e}(),Wt="-ms-",bs="-moz-",Qe="-webkit-",k1="comm",bc="rule",yc="decl",F8="@import",_1="@keyframes",z8="@layer",L8=Math.abs,ys=String.fromCharCode,B8=Object.assign;function N8(e,t){return Nt(e,0)^45?(((t<<2^Nt(e,0))<<2^Nt(e,1))<<2^Nt(e,2))<<2^Nt(e,3):0}function j1(e){return e.trim()}function R8(e,t){return(e=t.exec(e))?e[0]:e}function et(e,t,n){return e.replace(t,n)}function xc(e,t){return e.indexOf(t)}function Nt(e,t){return e.charCodeAt(t)|0}function Gi(e,t,n){return e.slice(t,n)}function Zn(e){return e.length}function Cc(e){return e.length}function xs(e,t){return t.push(e),e}function V8(e,t){return e.map(t).join("")}var Cs=1,Lo=1,T1=0,an=0,At=0,Bo="";function ws(e,t,n,r,o,i,a){return{value:e,root:t,parent:n,type:r,props:o,children:i,line:Cs,column:Lo,length:a,return:""}}function Ki(e,t){return B8(ws("",null,null,"",null,null,0),e,{length:-e.length},t)}function W8(){return At}function H8(){return At=an>0?Nt(Bo,--an):0,Lo--,At===10&&(Lo=1,Cs--),At}function vn(){return At=an<T1?Nt(Bo,an++):0,Lo++,At===10&&(Lo=1,Cs++),At}function Gn(){return Nt(Bo,an)}function Ss(){return an}function Yi(e,t){return Gi(Bo,e,t)}function Xi(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function P1(e){return Cs=Lo=1,T1=Zn(Bo=e),an=0,[]}function E1(e){return Bo="",e}function ks(e){return j1(Yi(an-1,wc(e===91?e+2:e===40?e+1:e)))}function U8(e){for(;(At=Gn())&&At<33;)vn();return Xi(e)>2||Xi(At)>3?"":" "}function q8(e,t){for(;--t&&vn()&&!(At<48||At>102||At>57&&At<65||At>70&&At<97););return Yi(e,Ss()+(t<6&&Gn()==32&&vn()==32))}function wc(e){for(;vn();)switch(At){case e:return an;case 34:case 39:e!==34&&e!==39&&wc(At);break;case 40:e===41&&wc(e);break;case 92:vn();break}return an}function Z8(e,t){for(;vn()&&e+At!==57;)if(e+At===84&&Gn()===47)break;return"/*"+Yi(t,an-1)+"*"+ys(e===47?e:vn())}function G8(e){for(;!Xi(Gn());)vn();return Yi(e,an)}function K8(e){return E1(_s("",null,null,null,[""],e=P1(e),0,[0],e))}function _s(e,t,n,r,o,i,a,s,l){for(var c=0,u=0,f=a,p=0,h=0,b=0,m=1,v=1,S=1,y=0,C="",j=o,x=i,E=r,P=C;v;)switch(b=y,y=vn()){case 40:if(b!=108&&Nt(P,f-1)==58){xc(P+=et(ks(y),"&","&\f"),"&\f")!=-1&&(S=-1);break}case 34:case 39:case 91:P+=ks(y);break;case 9:case 10:case 13:case 32:P+=U8(b);break;case 92:P+=q8(Ss()-1,7);continue;case 47:switch(Gn()){case 42:case 47:xs(Y8(Z8(vn(),Ss()),t,n),l);break;default:P+="/"}break;case 123*m:s[c++]=Zn(P)*S;case 125*m:case 59:case 0:switch(y){case 0:case 125:v=0;case 59+u:S==-1&&(P=et(P,/\f/g,"")),h>0&&Zn(P)-f&&xs(h>32?M1(P+";",r,n,f-1):M1(et(P," ","")+";",r,n,f-2),l);break;case 59:P+=";";default:if(xs(E=A1(P,t,n,c,u,o,s,C,j=[],x=[],f),i),y===123)if(u===0)_s(P,t,E,E,j,i,f,s,x);else switch(p===99&&Nt(P,3)===110?100:p){case 100:case 108:case 109:case 115:_s(e,E,E,r&&xs(A1(e,E,E,0,0,o,s,C,o,j=[],f),x),o,x,f,s,r?j:x);break;default:_s(P,E,E,E,[""],x,0,s,x)}}c=u=h=0,m=S=1,C=P="",f=a;break;case 58:f=1+Zn(P),h=b;default:if(m<1){if(y==123)--m;else if(y==125&&m++==0&&H8()==125)continue}switch(P+=ys(y),y*m){case 38:S=u>0?1:(P+="\f",-1);break;case 44:s[c++]=(Zn(P)-1)*S,S=1;break;case 64:Gn()===45&&(P+=ks(vn())),p=Gn(),u=f=Zn(C=P+=G8(Ss())),y++;break;case 45:b===45&&Zn(P)==2&&(m=0)}}return i}function A1(e,t,n,r,o,i,a,s,l,c,u){for(var f=o-1,p=o===0?i:[""],h=Cc(p),b=0,m=0,v=0;b<r;++b)for(var S=0,y=Gi(e,f+1,f=L8(m=a[b])),C=e;S<h;++S)(C=j1(m>0?p[S]+" "+y:et(y,/&\f/g,p[S])))&&(l[v++]=C);return ws(e,t,n,o===0?bc:s,l,c,u)}function Y8(e,t,n){return ws(e,t,n,k1,ys(W8()),Gi(e,2,-2),0)}function M1(e,t,n,r){return ws(e,t,n,yc,Gi(e,0,r),Gi(e,r+1,-1),r)}function No(e,t){for(var n="",r=Cc(e),o=0;o<r;o++)n+=t(e[o],o,e,t)||"";return n}function X8(e,t,n,r){switch(e.type){case z8:if(e.children.length)break;case F8:case yc:return e.return=e.return||e.value;case k1:return"";case _1:return e.return=e.value+"{"+No(e.children,r)+"}";case bc:e.value=e.props.join(",")}return Zn(n=No(e.children,r))?e.return=e.value+"{"+n+"}":""}function J8(e){var t=Cc(e);return function(n,r,o,i){for(var a="",s=0;s<t;s++)a+=e[s](n,r,o,i)||"";return a}}function Q8(e){return function(t){t.root||(t=t.return)&&e(t)}}var O1=function(t){var n=new WeakMap;return function(r){if(n.has(r))return n.get(r);var o=t(r);return n.set(r,o),o}};function I1(e){var t=Object.create(null);return function(n){return t[n]===void 0&&(t[n]=e(n)),t[n]}}var e9=function(t,n,r){for(var o=0,i=0;o=i,i=Gn(),o===38&&i===12&&(n[r]=1),!Xi(i);)vn();return Yi(t,an)},t9=function(t,n){var r=-1,o=44;do switch(Xi(o)){case 0:o===38&&Gn()===12&&(n[r]=1),t[r]+=e9(an-1,n,r);break;case 2:t[r]+=ks(o);break;case 4:if(o===44){t[++r]=Gn()===58?"&\f":"",n[r]=t[r].length;break}default:t[r]+=ys(o)}while(o=vn());return t},n9=function(t,n){return E1(t9(P1(t),n))},D1=new WeakMap,r9=function(t){if(!(t.type!=="rule"||!t.parent||t.length<1)){for(var n=t.value,r=t.parent,o=t.column===r.column&&t.line===r.line;r.type!=="rule";)if(r=r.parent,!r)return;if(!(t.props.length===1&&n.charCodeAt(0)!==58&&!D1.get(r))&&!o){D1.set(t,!0);for(var i=[],a=n9(n,i),s=r.props,l=0,c=0;l<a.length;l++)for(var u=0;u<s.length;u++,c++)t.props[c]=i[l]?a[l].replace(/&\f/g,s[u]):s[u]+" "+a[l]}}},o9=function(t){if(t.type==="decl"){var n=t.value;n.charCodeAt(0)===108&&n.charCodeAt(2)===98&&(t.return="",t.value="")}};function $1(e,t){switch(N8(e,t)){case 5103:return Qe+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return Qe+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return Qe+e+bs+e+Wt+e+e;case 6828:case 4268:return Qe+e+Wt+e+e;case 6165:return Qe+e+Wt+"flex-"+e+e;case 5187:return Qe+e+et(e,/(\w+).+(:[^]+)/,Qe+"box-$1$2"+Wt+"flex-$1$2")+e;case 5443:return Qe+e+Wt+"flex-item-"+et(e,/flex-|-self/,"")+e;case 4675:return Qe+e+Wt+"flex-line-pack"+et(e,/align-content|flex-|-self/,"")+e;case 5548:return Qe+e+Wt+et(e,"shrink","negative")+e;case 5292:return Qe+e+Wt+et(e,"basis","preferred-size")+e;case 6060:return Qe+"box-"+et(e,"-grow","")+Qe+e+Wt+et(e,"grow","positive")+e;case 4554:return Qe+et(e,/([^-])(transform)/g,"$1"+Qe+"$2")+e;case 6187:return et(et(et(e,/(zoom-|grab)/,Qe+"$1"),/(image-set)/,Qe+"$1"),e,"")+e;case 5495:case 3959:return et(e,/(image-set\([^]*)/,Qe+"$1$`$1");case 4968:return et(et(e,/(.+:)(flex-)?(.*)/,Qe+"box-pack:$3"+Wt+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+Qe+e+e;case 4095:case 3583:case 4068:case 2532:return et(e,/(.+)-inline(.+)/,Qe+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(Zn(e)-1-t>6)switch(Nt(e,t+1)){case 109:if(Nt(e,t+4)!==45)break;case 102:return et(e,/(.+:)(.+)-([^]+)/,"$1"+Qe+"$2-$3$1"+bs+(Nt(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~xc(e,"stretch")?$1(et(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(Nt(e,t+1)!==115)break;case 6444:switch(Nt(e,Zn(e)-3-(~xc(e,"!important")&&10))){case 107:return et(e,":",":"+Qe)+e;case 101:return et(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+Qe+(Nt(e,14)===45?"inline-":"")+"box$3$1"+Qe+"$2$3$1"+Wt+"$2box$3")+e}break;case 5936:switch(Nt(e,t+11)){case 114:return Qe+e+Wt+et(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return Qe+e+Wt+et(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return Qe+e+Wt+et(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return Qe+e+Wt+e+e}return e}var i9=function(t,n,r,o){if(t.length>-1&&!t.return)switch(t.type){case yc:t.return=$1(t.value,t.length);break;case _1:return No([Ki(t,{value:et(t.value,"@","@"+Qe)})],o);case bc:if(t.length)return V8(t.props,function(i){switch(R8(i,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return No([Ki(t,{props:[et(i,/:(read-\w+)/,":"+bs+"$1")]})],o);case"::placeholder":return No([Ki(t,{props:[et(i,/:(plac\w+)/,":"+Qe+"input-$1")]}),Ki(t,{props:[et(i,/:(plac\w+)/,":"+bs+"$1")]}),Ki(t,{props:[et(i,/:(plac\w+)/,Wt+"input-$1")]})],o)}return""})}},a9=[i9],s9=function(t){var n=t.key;if(n==="css"){var r=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(r,function(m){var v=m.getAttribute("data-emotion");v.indexOf(" ")!==-1&&(document.head.appendChild(m),m.setAttribute("data-s",""))})}var o=t.stylisPlugins||a9,i={},a,s=[];a=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+n+' "]'),function(m){for(var v=m.getAttribute("data-emotion").split(" "),S=1;S<v.length;S++)i[v[S]]=!0;s.push(m)});var l,c=[r9,o9];{var u,f=[X8,Q8(function(m){u.insert(m)})],p=J8(c.concat(o,f)),h=function(v){return No(K8(v),p)};l=function(v,S,y,C){u=y,h(v?v+"{"+S.styles+"}":S.styles),C&&(b.inserted[S.name]=!0)}}var b={key:n,sheet:new $8({key:n,container:a,nonce:t.nonce,speedy:t.speedy,prepend:t.prepend,insertionPoint:t.insertionPoint}),nonce:t.nonce,inserted:i,registered:{},insert:l};return b.sheet.hydrate(s),b};function to(){return to=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},to.apply(null,arguments)}var Sc={exports:{}},nt={};/** @license React v16.13.1
|
|
44
|
+
)`;return{...!r&&o&&i,...r?{bgImage:s}:{bgColor:a}}},Zy={lineHeight:"1",fontSize:"0.25em",fontWeight:"bold",color:"white"},Gy=e=>({bg:Ae("gray.100","whiteAlpha.300")(e)}),Ky=e=>({transitionProperty:"common",transitionDuration:"slow",...qy(e)}),Yy=Ri(e=>({label:Zy,filledTrack:Ky(e),track:Gy(e)})),Xy={xs:Ri({track:{h:"1"}}),sm:Ri({track:{h:"2"}}),md:Ri({track:{h:"3"}}),lg:Ri({track:{h:"4"}})},Jy=Uy({sizes:Xy,baseStyle:Yy,defaultProps:{size:"md",colorScheme:"blue"}}),{defineMultiStyleConfig:Qy,definePartsStyle:as}=mt(iv.keys),e7=e=>{var n;const t=(n=Kt(Ar.baseStyle,e))==null?void 0:n.control;return{...t,borderRadius:"full",_checked:{...t==null?void 0:t._checked,_before:{content:'""',display:"inline-block",pos:"relative",w:"50%",h:"50%",borderRadius:"50%",bg:"currentColor"}}}},t7=as(e=>{var t,n;return{label:(t=Ar.baseStyle)==null?void 0:t.call(Ar,e).label,container:(n=Ar.baseStyle)==null?void 0:n.call(Ar,e).container,control:e7(e)}}),n7={md:as({control:{w:"4",h:"4"},label:{fontSize:"md"}}),lg:as({control:{w:"5",h:"5"},label:{fontSize:"lg"}}),sm:as({control:{width:"3",height:"3"},label:{fontSize:"sm"}})},r7=Qy({baseStyle:t7,sizes:n7,defaultProps:{size:"md",colorScheme:"blue"}}),{defineMultiStyleConfig:o7,definePartsStyle:i7}=mt(av.keys),ss=Ee("select-bg"),a7={...(M4=Je.baseStyle)==null?void 0:M4.field,appearance:"none",paddingBottom:"1px",lineHeight:"normal",bg:ss.reference,[ss.variable]:"colors.white",_dark:{[ss.variable]:"colors.gray.700"},"> option, > optgroup":{bg:ss.reference}},s7={width:"6",height:"100%",insetEnd:"2",position:"relative",color:"currentColor",fontSize:"xl",_disabled:{opacity:.5}},l7=i7({field:a7,icon:s7}),ls={paddingInlineEnd:"8"},c7={lg:{...(O4=Je.sizes)==null?void 0:O4.lg,field:{...(I4=Je.sizes)==null?void 0:I4.lg.field,...ls}},md:{...(D4=Je.sizes)==null?void 0:D4.md,field:{...($4=Je.sizes)==null?void 0:$4.md.field,...ls}},sm:{...(F4=Je.sizes)==null?void 0:F4.sm,field:{...(z4=Je.sizes)==null?void 0:z4.sm.field,...ls}},xs:{...(L4=Je.sizes)==null?void 0:L4.xs,field:{...(B4=Je.sizes)==null?void 0:B4.xs.field,...ls},icon:{insetEnd:"1"}}},u7=o7({baseStyle:l7,sizes:c7,variants:Je.variants,defaultProps:Je.defaultProps}),dc=Ee("skeleton-start-color"),fc=Ee("skeleton-end-color"),d7={[dc.variable]:"colors.gray.100",[fc.variable]:"colors.gray.400",_dark:{[dc.variable]:"colors.gray.800",[fc.variable]:"colors.gray.600"},background:dc.reference,borderColor:fc.reference,opacity:.7,borderRadius:"sm"},f7={baseStyle:d7},pc=Ee("skip-link-bg"),p7={borderRadius:"md",fontWeight:"semibold",_focusVisible:{boxShadow:"outline",padding:"4",position:"fixed",top:"6",insetStart:"6",[pc.variable]:"colors.white",_dark:{[pc.variable]:"colors.gray.700"},bg:pc.reference}},h7={baseStyle:p7},{defineMultiStyleConfig:m7,definePartsStyle:cs}=mt(sv.keys),Xr=Ee("slider-thumb-size"),Vi=Ee("slider-track-size"),Or=Ee("slider-bg"),g7=e=>{const{orientation:t}=e;return{display:"inline-block",position:"relative",cursor:"pointer",_disabled:{opacity:.6,cursor:"default",pointerEvents:"none"},...Gl({orientation:t,vertical:{h:"100%",px:pr(Xr.reference).divide(2).toString()},horizontal:{w:"100%",py:pr(Xr.reference).divide(2).toString()}})}},v7=e=>({...Gl({orientation:e.orientation,horizontal:{h:Vi.reference},vertical:{w:Vi.reference}}),overflow:"hidden",borderRadius:"sm",[Or.variable]:"colors.gray.200",_dark:{[Or.variable]:"colors.whiteAlpha.200"},_disabled:{[Or.variable]:"colors.gray.300",_dark:{[Or.variable]:"colors.whiteAlpha.300"}},bg:Or.reference}),b7=e=>{const{orientation:t}=e;return{...Gl({orientation:t,vertical:{left:"50%",transform:"translateX(-50%)",_active:{transform:"translateX(-50%) scale(1.15)"}},horizontal:{top:"50%",transform:"translateY(-50%)",_active:{transform:"translateY(-50%) scale(1.15)"}}}),w:Xr.reference,h:Xr.reference,display:"flex",alignItems:"center",justifyContent:"center",position:"absolute",outline:0,zIndex:1,borderRadius:"full",bg:"white",boxShadow:"base",border:"1px solid",borderColor:"transparent",transitionProperty:"transform",transitionDuration:"normal",_focusVisible:{boxShadow:"outline"},_disabled:{bg:"gray.300"}}},y7=e=>{const{colorScheme:t}=e;return{width:"inherit",height:"inherit",[Or.variable]:`colors.${t}.500`,_dark:{[Or.variable]:`colors.${t}.200`},bg:Or.reference}},x7=cs(e=>({container:g7(e),track:v7(e),thumb:b7(e),filledTrack:y7(e)})),C7=cs({container:{[Xr.variable]:"sizes.4",[Vi.variable]:"sizes.1"}}),w7=cs({container:{[Xr.variable]:"sizes.3.5",[Vi.variable]:"sizes.1"}}),S7=cs({container:{[Xr.variable]:"sizes.2.5",[Vi.variable]:"sizes.0.5"}}),k7=m7({baseStyle:x7,sizes:{lg:C7,md:w7,sm:S7},defaultProps:{size:"md",colorScheme:"blue"}}),Jr=Dt("spinner-size"),_7={width:[Jr.reference],height:[Jr.reference]},j7={xs:{[Jr.variable]:"sizes.3"},sm:{[Jr.variable]:"sizes.4"},md:{[Jr.variable]:"sizes.6"},lg:{[Jr.variable]:"sizes.8"},xl:{[Jr.variable]:"sizes.12"}},T7={baseStyle:_7,sizes:j7,defaultProps:{size:"md"}},{defineMultiStyleConfig:P7,definePartsStyle:x1}=mt(lv.keys),E7={fontWeight:"medium"},A7={opacity:.8,marginBottom:"2"},M7={verticalAlign:"baseline",fontWeight:"semibold"},O7={marginEnd:1,w:"3.5",h:"3.5",verticalAlign:"middle"},I7=x1({container:{},label:E7,helpText:A7,number:M7,icon:O7}),D7={md:x1({label:{fontSize:"sm"},helpText:{fontSize:"sm"},number:{fontSize:"2xl"}})},$7=P7({baseStyle:I7,sizes:D7,defaultProps:{size:"md"}}),{defineMultiStyleConfig:F7,definePartsStyle:Wi}=mt(["stepper","step","title","description","indicator","separator","icon","number"]),br=Ee("stepper-indicator-size"),$o=Ee("stepper-icon-size"),Fo=Ee("stepper-title-font-size"),Hi=Ee("stepper-description-font-size"),Ui=Ee("stepper-accent-color"),z7=Wi(({colorScheme:e})=>({stepper:{display:"flex",justifyContent:"space-between",gap:"4","&[data-orientation=vertical]":{flexDirection:"column",alignItems:"flex-start"},"&[data-orientation=horizontal]":{flexDirection:"row",alignItems:"center"},[Ui.variable]:`colors.${e}.500`,_dark:{[Ui.variable]:`colors.${e}.200`}},title:{fontSize:Fo.reference,fontWeight:"medium"},description:{fontSize:Hi.reference,color:"chakra-subtle-text"},number:{fontSize:Fo.reference},step:{flexShrink:0,position:"relative",display:"flex",gap:"2","&[data-orientation=horizontal]":{alignItems:"center"},flex:"1","&:last-of-type:not([data-stretch])":{flex:"initial"}},icon:{flexShrink:0,width:$o.reference,height:$o.reference},indicator:{flexShrink:0,borderRadius:"full",width:br.reference,height:br.reference,display:"flex",justifyContent:"center",alignItems:"center","&[data-status=active]":{borderWidth:"2px",borderColor:Ui.reference},"&[data-status=complete]":{bg:Ui.reference,color:"chakra-inverse-text"},"&[data-status=incomplete]":{borderWidth:"2px"}},separator:{bg:"chakra-border-color",flex:"1","&[data-status=complete]":{bg:Ui.reference},"&[data-orientation=horizontal]":{width:"100%",height:"2px",marginStart:"2"},"&[data-orientation=vertical]":{width:"2px",position:"absolute",height:"100%",maxHeight:`calc(100% - ${br.reference} - 8px)`,top:`calc(${br.reference} + 4px)`,insetStart:`calc(${br.reference} / 2 - 1px)`}}})),L7=F7({baseStyle:z7,sizes:{xs:Wi({stepper:{[br.variable]:"sizes.4",[$o.variable]:"sizes.3",[Fo.variable]:"fontSizes.xs",[Hi.variable]:"fontSizes.xs"}}),sm:Wi({stepper:{[br.variable]:"sizes.6",[$o.variable]:"sizes.4",[Fo.variable]:"fontSizes.sm",[Hi.variable]:"fontSizes.xs"}}),md:Wi({stepper:{[br.variable]:"sizes.8",[$o.variable]:"sizes.5",[Fo.variable]:"fontSizes.md",[Hi.variable]:"fontSizes.sm"}}),lg:Wi({stepper:{[br.variable]:"sizes.10",[$o.variable]:"sizes.6",[Fo.variable]:"fontSizes.lg",[Hi.variable]:"fontSizes.md"}})},defaultProps:{size:"md",colorScheme:"blue"}}),{defineMultiStyleConfig:B7,definePartsStyle:us}=mt(cv.keys),qi=Dt("switch-track-width"),Qr=Dt("switch-track-height"),hc=Dt("switch-track-diff"),N7=hr.subtract(qi,Qr),mc=Dt("switch-thumb-x"),Zi=Dt("switch-bg"),R7=e=>{const{colorScheme:t}=e;return{borderRadius:"full",p:"0.5",width:[qi.reference],height:[Qr.reference],transitionProperty:"common",transitionDuration:"fast",[Zi.variable]:"colors.gray.300",_dark:{[Zi.variable]:"colors.whiteAlpha.400"},_focusVisible:{boxShadow:"outline"},_disabled:{opacity:.4,cursor:"not-allowed"},_checked:{[Zi.variable]:`colors.${t}.500`,_dark:{[Zi.variable]:`colors.${t}.200`}},bg:Zi.reference}},V7={bg:"white",transitionProperty:"transform",transitionDuration:"normal",borderRadius:"inherit",width:[Qr.reference],height:[Qr.reference],_checked:{transform:`translateX(${mc.reference})`}},W7=us(e=>({container:{[hc.variable]:N7,[mc.variable]:hc.reference,_rtl:{[mc.variable]:hr(hc).negate().toString()}},track:R7(e),thumb:V7})),H7={sm:us({container:{[qi.variable]:"1.375rem",[Qr.variable]:"sizes.3"}}),md:us({container:{[qi.variable]:"1.875rem",[Qr.variable]:"sizes.4"}}),lg:us({container:{[qi.variable]:"2.875rem",[Qr.variable]:"sizes.6"}})},U7=B7({baseStyle:W7,sizes:H7,defaultProps:{size:"md",colorScheme:"blue"}}),{defineMultiStyleConfig:q7,definePartsStyle:zo}=mt(uv.keys),Z7=zo({table:{fontVariantNumeric:"lining-nums tabular-nums",borderCollapse:"collapse",width:"full"},th:{fontFamily:"heading",fontWeight:"bold",textTransform:"uppercase",letterSpacing:"wider",textAlign:"start"},td:{textAlign:"start"},caption:{mt:4,fontFamily:"heading",textAlign:"center",fontWeight:"medium"}}),ds={"&[data-is-numeric=true]":{textAlign:"end"}},G7=zo(e=>{const{colorScheme:t}=e;return{th:{color:Ae("gray.600","gray.400")(e),borderBottom:"1px",borderColor:Ae(`${t}.100`,`${t}.700`)(e),...ds},td:{borderBottom:"1px",borderColor:Ae(`${t}.100`,`${t}.700`)(e),...ds},caption:{color:Ae("gray.600","gray.100")(e)},tfoot:{tr:{"&:last-of-type":{th:{borderBottomWidth:0}}}}}}),K7=zo(e=>{const{colorScheme:t}=e;return{th:{color:Ae("gray.600","gray.400")(e),borderBottom:"1px",borderColor:Ae(`${t}.100`,`${t}.700`)(e),...ds},td:{borderBottom:"1px",borderColor:Ae(`${t}.100`,`${t}.700`)(e),...ds},caption:{color:Ae("gray.600","gray.100")(e)},tbody:{tr:{"&:nth-of-type(odd)":{"th, td":{borderBottomWidth:"1px",borderColor:Ae(`${t}.100`,`${t}.700`)(e)},td:{background:Ae(`${t}.100`,`${t}.700`)(e)}}}},tfoot:{tr:{"&:last-of-type":{th:{borderBottomWidth:0}}}}}}),Y7={simple:G7,striped:K7,unstyled:{}},X7={sm:zo({th:{px:"4",py:"1",lineHeight:"4",fontSize:"xs"},td:{px:"4",py:"2",fontSize:"sm",lineHeight:"4"},caption:{px:"4",py:"2",fontSize:"xs"}}),md:zo({th:{px:"6",py:"3",lineHeight:"4",fontSize:"xs"},td:{px:"6",py:"4",lineHeight:"5"},caption:{px:"6",py:"2",fontSize:"sm"}}),lg:zo({th:{px:"8",py:"4",lineHeight:"5",fontSize:"sm"},td:{px:"8",py:"5",lineHeight:"6"},caption:{px:"6",py:"2",fontSize:"md"}})},J7=q7({baseStyle:Z7,variants:Y7,sizes:X7,defaultProps:{variant:"simple",size:"md",colorScheme:"gray"}}),on=Ee("tabs-color"),Fn=Ee("tabs-bg"),fs=Ee("tabs-border-color"),{defineMultiStyleConfig:Q7,definePartsStyle:qn}=mt(dv.keys),e8=e=>{const{orientation:t}=e;return{display:t==="vertical"?"flex":"block"}},t8=e=>{const{isFitted:t}=e;return{flex:t?1:void 0,transitionProperty:"common",transitionDuration:"normal",_focusVisible:{zIndex:1,boxShadow:"outline"},_disabled:{cursor:"not-allowed",opacity:.4}}},n8=e=>{const{align:t="start",orientation:n}=e;return{justifyContent:{end:"flex-end",center:"center",start:"flex-start"}[t],flexDirection:n==="vertical"?"column":"row"}},r8={p:4},o8=qn(e=>({root:e8(e),tab:t8(e),tablist:n8(e),tabpanel:r8})),i8={sm:qn({tab:{py:1,px:4,fontSize:"sm"}}),md:qn({tab:{fontSize:"md",py:2,px:4}}),lg:qn({tab:{fontSize:"lg",py:3,px:4}})},a8=qn(e=>{const{colorScheme:t,orientation:n}=e,r=n==="vertical",o=r?"borderStart":"borderBottom",i=r?"marginStart":"marginBottom";return{tablist:{[o]:"2px solid",borderColor:"inherit"},tab:{[o]:"2px solid",borderColor:"transparent",[i]:"-2px",_selected:{[on.variable]:`colors.${t}.600`,_dark:{[on.variable]:`colors.${t}.300`},borderColor:"currentColor"},_active:{[Fn.variable]:"colors.gray.200",_dark:{[Fn.variable]:"colors.whiteAlpha.300"}},_disabled:{_active:{bg:"none"}},color:on.reference,bg:Fn.reference}}}),s8=qn(e=>{const{colorScheme:t}=e;return{tab:{borderTopRadius:"md",border:"1px solid",borderColor:"transparent",mb:"-1px",[fs.variable]:"transparent",_selected:{[on.variable]:`colors.${t}.600`,[fs.variable]:"colors.white",_dark:{[on.variable]:`colors.${t}.300`,[fs.variable]:"colors.gray.800"},borderColor:"inherit",borderBottomColor:fs.reference},color:on.reference},tablist:{mb:"-1px",borderBottom:"1px solid",borderColor:"inherit"}}}),l8=qn(e=>{const{colorScheme:t}=e;return{tab:{border:"1px solid",borderColor:"inherit",[Fn.variable]:"colors.gray.50",_dark:{[Fn.variable]:"colors.whiteAlpha.50"},mb:"-1px",_notLast:{marginEnd:"-1px"},_selected:{[Fn.variable]:"colors.white",[on.variable]:`colors.${t}.600`,_dark:{[Fn.variable]:"colors.gray.800",[on.variable]:`colors.${t}.300`},borderColor:"inherit",borderTopColor:"currentColor",borderBottomColor:"transparent"},color:on.reference,bg:Fn.reference},tablist:{mb:"-1px",borderBottom:"1px solid",borderColor:"inherit"}}}),c8=qn(e=>{const{colorScheme:t,theme:n}=e;return{tab:{borderRadius:"full",fontWeight:"semibold",color:"gray.600",_selected:{color:Gt(n,`${t}.700`),bg:Gt(n,`${t}.100`)}}}}),u8=qn(e=>{const{colorScheme:t}=e;return{tab:{borderRadius:"full",fontWeight:"semibold",[on.variable]:"colors.gray.600",_dark:{[on.variable]:"inherit"},_selected:{[on.variable]:"colors.white",[Fn.variable]:`colors.${t}.600`,_dark:{[on.variable]:"colors.gray.800",[Fn.variable]:`colors.${t}.300`}},color:on.reference,bg:Fn.reference}}}),d8=qn({}),f8=Q7({baseStyle:o8,sizes:i8,variants:{line:a8,enclosed:s8,"enclosed-colored":l8,"soft-rounded":c8,"solid-rounded":u8,unstyled:d8},defaultProps:{size:"md",variant:"line",colorScheme:"blue"}}),{defineMultiStyleConfig:p8,definePartsStyle:eo}=mt(fv.keys),C1=Ee("tag-bg"),w1=Ee("tag-color"),gc=Ee("tag-shadow"),ps=Ee("tag-min-height"),hs=Ee("tag-min-width"),ms=Ee("tag-font-size"),gs=Ee("tag-padding-inline"),h8={fontWeight:"medium",lineHeight:1.2,outline:0,[w1.variable]:Tt.color.reference,[C1.variable]:Tt.bg.reference,[gc.variable]:Tt.shadow.reference,color:w1.reference,bg:C1.reference,boxShadow:gc.reference,borderRadius:"md",minH:ps.reference,minW:hs.reference,fontSize:ms.reference,px:gs.reference,_focusVisible:{[gc.variable]:"shadows.outline"}},m8={lineHeight:1.2,overflow:"visible"},g8={fontSize:"lg",w:"5",h:"5",transitionProperty:"common",transitionDuration:"normal",borderRadius:"full",marginStart:"1.5",marginEnd:"-1",opacity:.5,_disabled:{opacity:.4},_focusVisible:{boxShadow:"outline",bg:"rgba(0, 0, 0, 0.14)"},_hover:{opacity:.8},_active:{opacity:1}},v8=eo({container:h8,label:m8,closeButton:g8}),b8={sm:eo({container:{[ps.variable]:"sizes.5",[hs.variable]:"sizes.5",[ms.variable]:"fontSizes.xs",[gs.variable]:"space.2"},closeButton:{marginEnd:"-2px",marginStart:"0.35rem"}}),md:eo({container:{[ps.variable]:"sizes.6",[hs.variable]:"sizes.6",[ms.variable]:"fontSizes.sm",[gs.variable]:"space.2"}}),lg:eo({container:{[ps.variable]:"sizes.8",[hs.variable]:"sizes.8",[ms.variable]:"fontSizes.md",[gs.variable]:"space.3"}})},y8={subtle:eo(e=>{var t;return{container:(t=zi.variants)==null?void 0:t.subtle(e)}}),solid:eo(e=>{var t;return{container:(t=zi.variants)==null?void 0:t.solid(e)}}),outline:eo(e=>{var t;return{container:(t=zi.variants)==null?void 0:t.outline(e)}})},x8=p8({variants:y8,baseStyle:v8,sizes:b8,defaultProps:{size:"md",variant:"subtle",colorScheme:"gray"}}),C8={...(N4=Je.baseStyle)==null?void 0:N4.field,paddingY:"2",minHeight:"20",lineHeight:"short",verticalAlign:"top"},w8={outline:e=>{var t;return((t=Je.variants)==null?void 0:t.outline(e).field)??{}},flushed:e=>{var t;return((t=Je.variants)==null?void 0:t.flushed(e).field)??{}},filled:e=>{var t;return((t=Je.variants)==null?void 0:t.filled(e).field)??{}},unstyled:((R4=Je.variants)==null?void 0:R4.unstyled.field)??{}},S8={xs:((V4=Je.sizes)==null?void 0:V4.xs.field)??{},sm:((W4=Je.sizes)==null?void 0:W4.sm.field)??{},md:((H4=Je.sizes)==null?void 0:H4.md.field)??{},lg:((U4=Je.sizes)==null?void 0:U4.lg.field)??{}},k8={baseStyle:C8,sizes:S8,variants:w8,defaultProps:{size:"md",variant:"outline"}},vs=Dt("tooltip-bg"),vc=Dt("tooltip-fg"),_8=Dt("popper-arrow-bg"),j8={bg:vs.reference,color:vc.reference,[vs.variable]:"colors.gray.700",[vc.variable]:"colors.whiteAlpha.900",_dark:{[vs.variable]:"colors.gray.300",[vc.variable]:"colors.gray.900"},[_8.variable]:vs.reference,px:"2",py:"0.5",borderRadius:"sm",fontWeight:"medium",fontSize:"sm",boxShadow:"md",maxW:"xs",zIndex:"tooltip"},T8={baseStyle:j8},P8={Accordion:Cv,Alert:r6,Avatar:f6,Badge:zi,Breadcrumb:C6,Button:A6,Checkbox:Ar,CloseButton:U6,Code:K6,Container:X6,Divider:tb,Drawer:fb,Editable:yb,Form:_b,FormError:Mb,FormLabel:Ib,Heading:Fb,Input:Je,Kbd:Ub,Link:Zb,List:Jb,Menu:cy,Modal:xy,NumberInput:Ey,PinInput:Iy,Popover:Hy,Progress:Jy,Radio:r7,Select:u7,Skeleton:f7,SkipLink:h7,Slider:k7,Spinner:T7,Stat:$7,Switch:U7,Table:J7,Tabs:f8,Tag:x8,Textarea:k8,Tooltip:T8,Card:$6,Stepper:L7},E8={breakpoints:{base:"0em",sm:"30em",md:"48em",lg:"62em",xl:"80em","2xl":"96em"},zIndices:{hide:-1,auto:"auto",base:0,docked:10,dropdown:1e3,sticky:1100,banner:1200,overlay:1300,modal:1400,popover:1500,skipLink:1600,toast:1700,tooltip:1800},radii:{none:"0",sm:"0.125rem",base:"0.25rem",md:"0.375rem",lg:"0.5rem",xl:"0.75rem","2xl":"1rem","3xl":"1.5rem",full:"9999px"},blur:{none:0,sm:"4px",base:"8px",md:"12px",lg:"16px",xl:"24px","2xl":"40px","3xl":"64px"},colors:{transparent:"transparent",current:"currentColor",black:"#000000",white:"#FFFFFF",whiteAlpha:{50:"rgba(255, 255, 255, 0.04)",100:"rgba(255, 255, 255, 0.06)",200:"rgba(255, 255, 255, 0.08)",300:"rgba(255, 255, 255, 0.16)",400:"rgba(255, 255, 255, 0.24)",500:"rgba(255, 255, 255, 0.36)",600:"rgba(255, 255, 255, 0.48)",700:"rgba(255, 255, 255, 0.64)",800:"rgba(255, 255, 255, 0.80)",900:"rgba(255, 255, 255, 0.92)"},blackAlpha:{50:"rgba(0, 0, 0, 0.04)",100:"rgba(0, 0, 0, 0.06)",200:"rgba(0, 0, 0, 0.08)",300:"rgba(0, 0, 0, 0.16)",400:"rgba(0, 0, 0, 0.24)",500:"rgba(0, 0, 0, 0.36)",600:"rgba(0, 0, 0, 0.48)",700:"rgba(0, 0, 0, 0.64)",800:"rgba(0, 0, 0, 0.80)",900:"rgba(0, 0, 0, 0.92)"},gray:{50:"#F7FAFC",100:"#EDF2F7",200:"#E2E8F0",300:"#CBD5E0",400:"#A0AEC0",500:"#718096",600:"#4A5568",700:"#2D3748",800:"#1A202C",900:"#171923"},red:{50:"#FFF5F5",100:"#FED7D7",200:"#FEB2B2",300:"#FC8181",400:"#F56565",500:"#E53E3E",600:"#C53030",700:"#9B2C2C",800:"#822727",900:"#63171B"},orange:{50:"#FFFAF0",100:"#FEEBC8",200:"#FBD38D",300:"#F6AD55",400:"#ED8936",500:"#DD6B20",600:"#C05621",700:"#9C4221",800:"#7B341E",900:"#652B19"},yellow:{50:"#FFFFF0",100:"#FEFCBF",200:"#FAF089",300:"#F6E05E",400:"#ECC94B",500:"#D69E2E",600:"#B7791F",700:"#975A16",800:"#744210",900:"#5F370E"},green:{50:"#F0FFF4",100:"#C6F6D5",200:"#9AE6B4",300:"#68D391",400:"#48BB78",500:"#38A169",600:"#2F855A",700:"#276749",800:"#22543D",900:"#1C4532"},teal:{50:"#E6FFFA",100:"#B2F5EA",200:"#81E6D9",300:"#4FD1C5",400:"#38B2AC",500:"#319795",600:"#2C7A7B",700:"#285E61",800:"#234E52",900:"#1D4044"},blue:{50:"#ebf8ff",100:"#bee3f8",200:"#90cdf4",300:"#63b3ed",400:"#4299e1",500:"#3182ce",600:"#2b6cb0",700:"#2c5282",800:"#2a4365",900:"#1A365D"},cyan:{50:"#EDFDFD",100:"#C4F1F9",200:"#9DECF9",300:"#76E4F7",400:"#0BC5EA",500:"#00B5D8",600:"#00A3C4",700:"#0987A0",800:"#086F83",900:"#065666"},purple:{50:"#FAF5FF",100:"#E9D8FD",200:"#D6BCFA",300:"#B794F4",400:"#9F7AEA",500:"#805AD5",600:"#6B46C1",700:"#553C9A",800:"#44337A",900:"#322659"},pink:{50:"#FFF5F7",100:"#FED7E2",200:"#FBB6CE",300:"#F687B3",400:"#ED64A6",500:"#D53F8C",600:"#B83280",700:"#97266D",800:"#702459",900:"#521B41"}},...g1,sizes:u1,shadows:{xs:"0 0 0 1px rgba(0, 0, 0, 0.05)",sm:"0 1px 2px 0 rgba(0, 0, 0, 0.05)",base:"0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06)",md:"0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06)",lg:"0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05)",xl:"0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04)","2xl":"0 25px 50px -12px rgba(0, 0, 0, 0.25)",outline:"0 0 0 3px rgba(66, 153, 225, 0.6)",inner:"inset 0 2px 4px 0 rgba(0,0,0,0.06)",none:"none","dark-lg":"rgba(0, 0, 0, 0.1) 0px 0px 0px 1px, rgba(0, 0, 0, 0.2) 0px 5px 10px, rgba(0, 0, 0, 0.4) 0px 15px 40px"},space:c1,borders:{none:0,"1px":"1px solid","2px":"2px solid","4px":"4px solid","8px":"8px solid"},transition:{property:{common:"background-color, border-color, color, fill, stroke, opacity, box-shadow, transform",colors:"background-color, border-color, color, fill, stroke",dimensions:"width, height",position:"left, right, top, bottom",background:"background-color, background-image, background-position"},easing:{"ease-in":"cubic-bezier(0.4, 0, 1, 1)","ease-out":"cubic-bezier(0, 0, 0.2, 1)","ease-in-out":"cubic-bezier(0.4, 0, 0.2, 1)"},duration:{"ultra-fast":"50ms",faster:"100ms",fast:"150ms",normal:"200ms",slow:"300ms",slower:"400ms","ultra-slow":"500ms"}}},A8={colors:{"chakra-body-text":{_light:"gray.800",_dark:"whiteAlpha.900"},"chakra-body-bg":{_light:"white",_dark:"gray.800"},"chakra-border-color":{_light:"gray.200",_dark:"whiteAlpha.300"},"chakra-inverse-text":{_light:"white",_dark:"gray.800"},"chakra-subtle-bg":{_light:"gray.100",_dark:"gray.700"},"chakra-subtle-text":{_light:"gray.600",_dark:"gray.400"},"chakra-placeholder-color":{_light:"gray.500",_dark:"whiteAlpha.400"}}},M8={global:{body:{fontFamily:"body",color:"chakra-body-text",bg:"chakra-body-bg",transitionProperty:"background-color",transitionDuration:"normal",lineHeight:"base"},"*::placeholder":{color:"chakra-placeholder-color"},"*, *::before, &::after":{borderColor:"chakra-border-color"}}},O8=["borders","breakpoints","colors","components","config","direction","fonts","fontSizes","fontWeights","letterSpacings","lineHeights","radii","shadows","sizes","space","styles","transition","zIndices"];function I8(e){return rn(e)?O8.every(t=>Object.prototype.hasOwnProperty.call(e,t)):!1}const S1={semanticTokens:A8,direction:"ltr",...E8,components:P8,styles:M8,config:{useSystemColorMode:!1,initialColorMode:"light",cssVarPrefix:"chakra"}};var D8=!1;function $8(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}function F8(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),e.nonce!==void 0&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}var z8=function(){function e(n){var r=this;this._insertTag=function(o){var i;r.tags.length===0?r.insertionPoint?i=r.insertionPoint.nextSibling:r.prepend?i=r.container.firstChild:i=r.before:i=r.tags[r.tags.length-1].nextSibling,r.container.insertBefore(o,i),r.tags.push(o)},this.isSpeedy=n.speedy===void 0?!D8:n.speedy,this.tags=[],this.ctr=0,this.nonce=n.nonce,this.key=n.key,this.container=n.container,this.prepend=n.prepend,this.insertionPoint=n.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(r){r.forEach(this._insertTag)},t.insert=function(r){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(F8(this));var o=this.tags[this.tags.length-1];if(this.isSpeedy){var i=$8(o);try{i.insertRule(r,i.cssRules.length)}catch{}}else o.appendChild(document.createTextNode(r));this.ctr++},t.flush=function(){this.tags.forEach(function(r){var o;return(o=r.parentNode)==null?void 0:o.removeChild(r)}),this.tags=[],this.ctr=0},e}(),Wt="-ms-",bs="-moz-",Qe="-webkit-",k1="comm",bc="rule",yc="decl",L8="@import",_1="@keyframes",B8="@layer",N8=Math.abs,ys=String.fromCharCode,R8=Object.assign;function V8(e,t){return Nt(e,0)^45?(((t<<2^Nt(e,0))<<2^Nt(e,1))<<2^Nt(e,2))<<2^Nt(e,3):0}function j1(e){return e.trim()}function W8(e,t){return(e=t.exec(e))?e[0]:e}function et(e,t,n){return e.replace(t,n)}function xc(e,t){return e.indexOf(t)}function Nt(e,t){return e.charCodeAt(t)|0}function Gi(e,t,n){return e.slice(t,n)}function Zn(e){return e.length}function Cc(e){return e.length}function xs(e,t){return t.push(e),e}function H8(e,t){return e.map(t).join("")}var Cs=1,Lo=1,T1=0,an=0,At=0,Bo="";function ws(e,t,n,r,o,i,a){return{value:e,root:t,parent:n,type:r,props:o,children:i,line:Cs,column:Lo,length:a,return:""}}function Ki(e,t){return R8(ws("",null,null,"",null,null,0),e,{length:-e.length},t)}function U8(){return At}function q8(){return At=an>0?Nt(Bo,--an):0,Lo--,At===10&&(Lo=1,Cs--),At}function vn(){return At=an<T1?Nt(Bo,an++):0,Lo++,At===10&&(Lo=1,Cs++),At}function Gn(){return Nt(Bo,an)}function Ss(){return an}function Yi(e,t){return Gi(Bo,e,t)}function Xi(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function P1(e){return Cs=Lo=1,T1=Zn(Bo=e),an=0,[]}function E1(e){return Bo="",e}function ks(e){return j1(Yi(an-1,wc(e===91?e+2:e===40?e+1:e)))}function Z8(e){for(;(At=Gn())&&At<33;)vn();return Xi(e)>2||Xi(At)>3?"":" "}function G8(e,t){for(;--t&&vn()&&!(At<48||At>102||At>57&&At<65||At>70&&At<97););return Yi(e,Ss()+(t<6&&Gn()==32&&vn()==32))}function wc(e){for(;vn();)switch(At){case e:return an;case 34:case 39:e!==34&&e!==39&&wc(At);break;case 40:e===41&&wc(e);break;case 92:vn();break}return an}function K8(e,t){for(;vn()&&e+At!==57;)if(e+At===84&&Gn()===47)break;return"/*"+Yi(t,an-1)+"*"+ys(e===47?e:vn())}function Y8(e){for(;!Xi(Gn());)vn();return Yi(e,an)}function X8(e){return E1(_s("",null,null,null,[""],e=P1(e),0,[0],e))}function _s(e,t,n,r,o,i,a,s,l){for(var c=0,u=0,f=a,p=0,h=0,b=0,m=1,v=1,S=1,y=0,w="",j=o,x=i,E=r,P=w;v;)switch(b=y,y=vn()){case 40:if(b!=108&&Nt(P,f-1)==58){xc(P+=et(ks(y),"&","&\f"),"&\f")!=-1&&(S=-1);break}case 34:case 39:case 91:P+=ks(y);break;case 9:case 10:case 13:case 32:P+=Z8(b);break;case 92:P+=G8(Ss()-1,7);continue;case 47:switch(Gn()){case 42:case 47:xs(J8(K8(vn(),Ss()),t,n),l);break;default:P+="/"}break;case 123*m:s[c++]=Zn(P)*S;case 125*m:case 59:case 0:switch(y){case 0:case 125:v=0;case 59+u:S==-1&&(P=et(P,/\f/g,"")),h>0&&Zn(P)-f&&xs(h>32?M1(P+";",r,n,f-1):M1(et(P," ","")+";",r,n,f-2),l);break;case 59:P+=";";default:if(xs(E=A1(P,t,n,c,u,o,s,w,j=[],x=[],f),i),y===123)if(u===0)_s(P,t,E,E,j,i,f,s,x);else switch(p===99&&Nt(P,3)===110?100:p){case 100:case 108:case 109:case 115:_s(e,E,E,r&&xs(A1(e,E,E,0,0,o,s,w,o,j=[],f),x),o,x,f,s,r?j:x);break;default:_s(P,E,E,E,[""],x,0,s,x)}}c=u=h=0,m=S=1,w=P="",f=a;break;case 58:f=1+Zn(P),h=b;default:if(m<1){if(y==123)--m;else if(y==125&&m++==0&&q8()==125)continue}switch(P+=ys(y),y*m){case 38:S=u>0?1:(P+="\f",-1);break;case 44:s[c++]=(Zn(P)-1)*S,S=1;break;case 64:Gn()===45&&(P+=ks(vn())),p=Gn(),u=f=Zn(w=P+=Y8(Ss())),y++;break;case 45:b===45&&Zn(P)==2&&(m=0)}}return i}function A1(e,t,n,r,o,i,a,s,l,c,u){for(var f=o-1,p=o===0?i:[""],h=Cc(p),b=0,m=0,v=0;b<r;++b)for(var S=0,y=Gi(e,f+1,f=N8(m=a[b])),w=e;S<h;++S)(w=j1(m>0?p[S]+" "+y:et(y,/&\f/g,p[S])))&&(l[v++]=w);return ws(e,t,n,o===0?bc:s,l,c,u)}function J8(e,t,n){return ws(e,t,n,k1,ys(U8()),Gi(e,2,-2),0)}function M1(e,t,n,r){return ws(e,t,n,yc,Gi(e,0,r),Gi(e,r+1,-1),r)}function No(e,t){for(var n="",r=Cc(e),o=0;o<r;o++)n+=t(e[o],o,e,t)||"";return n}function Q8(e,t,n,r){switch(e.type){case B8:if(e.children.length)break;case L8:case yc:return e.return=e.return||e.value;case k1:return"";case _1:return e.return=e.value+"{"+No(e.children,r)+"}";case bc:e.value=e.props.join(",")}return Zn(n=No(e.children,r))?e.return=e.value+"{"+n+"}":""}function e9(e){var t=Cc(e);return function(n,r,o,i){for(var a="",s=0;s<t;s++)a+=e[s](n,r,o,i)||"";return a}}function t9(e){return function(t){t.root||(t=t.return)&&e(t)}}var O1=function(t){var n=new WeakMap;return function(r){if(n.has(r))return n.get(r);var o=t(r);return n.set(r,o),o}};function I1(e){var t=Object.create(null);return function(n){return t[n]===void 0&&(t[n]=e(n)),t[n]}}var n9=function(t,n,r){for(var o=0,i=0;o=i,i=Gn(),o===38&&i===12&&(n[r]=1),!Xi(i);)vn();return Yi(t,an)},r9=function(t,n){var r=-1,o=44;do switch(Xi(o)){case 0:o===38&&Gn()===12&&(n[r]=1),t[r]+=n9(an-1,n,r);break;case 2:t[r]+=ks(o);break;case 4:if(o===44){t[++r]=Gn()===58?"&\f":"",n[r]=t[r].length;break}default:t[r]+=ys(o)}while(o=vn());return t},o9=function(t,n){return E1(r9(P1(t),n))},D1=new WeakMap,i9=function(t){if(!(t.type!=="rule"||!t.parent||t.length<1)){for(var n=t.value,r=t.parent,o=t.column===r.column&&t.line===r.line;r.type!=="rule";)if(r=r.parent,!r)return;if(!(t.props.length===1&&n.charCodeAt(0)!==58&&!D1.get(r))&&!o){D1.set(t,!0);for(var i=[],a=o9(n,i),s=r.props,l=0,c=0;l<a.length;l++)for(var u=0;u<s.length;u++,c++)t.props[c]=i[l]?a[l].replace(/&\f/g,s[u]):s[u]+" "+a[l]}}},a9=function(t){if(t.type==="decl"){var n=t.value;n.charCodeAt(0)===108&&n.charCodeAt(2)===98&&(t.return="",t.value="")}};function $1(e,t){switch(V8(e,t)){case 5103:return Qe+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return Qe+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return Qe+e+bs+e+Wt+e+e;case 6828:case 4268:return Qe+e+Wt+e+e;case 6165:return Qe+e+Wt+"flex-"+e+e;case 5187:return Qe+e+et(e,/(\w+).+(:[^]+)/,Qe+"box-$1$2"+Wt+"flex-$1$2")+e;case 5443:return Qe+e+Wt+"flex-item-"+et(e,/flex-|-self/,"")+e;case 4675:return Qe+e+Wt+"flex-line-pack"+et(e,/align-content|flex-|-self/,"")+e;case 5548:return Qe+e+Wt+et(e,"shrink","negative")+e;case 5292:return Qe+e+Wt+et(e,"basis","preferred-size")+e;case 6060:return Qe+"box-"+et(e,"-grow","")+Qe+e+Wt+et(e,"grow","positive")+e;case 4554:return Qe+et(e,/([^-])(transform)/g,"$1"+Qe+"$2")+e;case 6187:return et(et(et(e,/(zoom-|grab)/,Qe+"$1"),/(image-set)/,Qe+"$1"),e,"")+e;case 5495:case 3959:return et(e,/(image-set\([^]*)/,Qe+"$1$`$1");case 4968:return et(et(e,/(.+:)(flex-)?(.*)/,Qe+"box-pack:$3"+Wt+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+Qe+e+e;case 4095:case 3583:case 4068:case 2532:return et(e,/(.+)-inline(.+)/,Qe+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(Zn(e)-1-t>6)switch(Nt(e,t+1)){case 109:if(Nt(e,t+4)!==45)break;case 102:return et(e,/(.+:)(.+)-([^]+)/,"$1"+Qe+"$2-$3$1"+bs+(Nt(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~xc(e,"stretch")?$1(et(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(Nt(e,t+1)!==115)break;case 6444:switch(Nt(e,Zn(e)-3-(~xc(e,"!important")&&10))){case 107:return et(e,":",":"+Qe)+e;case 101:return et(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+Qe+(Nt(e,14)===45?"inline-":"")+"box$3$1"+Qe+"$2$3$1"+Wt+"$2box$3")+e}break;case 5936:switch(Nt(e,t+11)){case 114:return Qe+e+Wt+et(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return Qe+e+Wt+et(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return Qe+e+Wt+et(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return Qe+e+Wt+e+e}return e}var s9=function(t,n,r,o){if(t.length>-1&&!t.return)switch(t.type){case yc:t.return=$1(t.value,t.length);break;case _1:return No([Ki(t,{value:et(t.value,"@","@"+Qe)})],o);case bc:if(t.length)return H8(t.props,function(i){switch(W8(i,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return No([Ki(t,{props:[et(i,/:(read-\w+)/,":"+bs+"$1")]})],o);case"::placeholder":return No([Ki(t,{props:[et(i,/:(plac\w+)/,":"+Qe+"input-$1")]}),Ki(t,{props:[et(i,/:(plac\w+)/,":"+bs+"$1")]}),Ki(t,{props:[et(i,/:(plac\w+)/,Wt+"input-$1")]})],o)}return""})}},l9=[s9],c9=function(t){var n=t.key;if(n==="css"){var r=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(r,function(m){var v=m.getAttribute("data-emotion");v.indexOf(" ")!==-1&&(document.head.appendChild(m),m.setAttribute("data-s",""))})}var o=t.stylisPlugins||l9,i={},a,s=[];a=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+n+' "]'),function(m){for(var v=m.getAttribute("data-emotion").split(" "),S=1;S<v.length;S++)i[v[S]]=!0;s.push(m)});var l,c=[i9,a9];{var u,f=[Q8,t9(function(m){u.insert(m)})],p=e9(c.concat(o,f)),h=function(v){return No(X8(v),p)};l=function(v,S,y,w){u=y,h(v?v+"{"+S.styles+"}":S.styles),w&&(b.inserted[S.name]=!0)}}var b={key:n,sheet:new z8({key:n,container:a,nonce:t.nonce,speedy:t.speedy,prepend:t.prepend,insertionPoint:t.insertionPoint}),nonce:t.nonce,inserted:i,registered:{},insert:l};return b.sheet.hydrate(s),b};function to(){return to=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},to.apply(null,arguments)}var Sc={exports:{}},nt={};/** @license React v16.13.1
|
|
45
45
|
* react-is.production.min.js
|
|
46
46
|
*
|
|
47
47
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
48
48
|
*
|
|
49
49
|
* This source code is licensed under the MIT license found in the
|
|
50
50
|
* LICENSE file in the root directory of this source tree.
|
|
51
|
-
*/var F1;function
|
|
51
|
+
*/var F1;function u9(){if(F1)return nt;F1=1;var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,r=e?Symbol.for("react.fragment"):60107,o=e?Symbol.for("react.strict_mode"):60108,i=e?Symbol.for("react.profiler"):60114,a=e?Symbol.for("react.provider"):60109,s=e?Symbol.for("react.context"):60110,l=e?Symbol.for("react.async_mode"):60111,c=e?Symbol.for("react.concurrent_mode"):60111,u=e?Symbol.for("react.forward_ref"):60112,f=e?Symbol.for("react.suspense"):60113,p=e?Symbol.for("react.suspense_list"):60120,h=e?Symbol.for("react.memo"):60115,b=e?Symbol.for("react.lazy"):60116,m=e?Symbol.for("react.block"):60121,v=e?Symbol.for("react.fundamental"):60117,S=e?Symbol.for("react.responder"):60118,y=e?Symbol.for("react.scope"):60119;function w(x){if(typeof x=="object"&&x!==null){var E=x.$$typeof;switch(E){case t:switch(x=x.type,x){case l:case c:case r:case i:case o:case f:return x;default:switch(x=x&&x.$$typeof,x){case s:case u:case b:case h:case a:return x;default:return E}}case n:return E}}}function j(x){return w(x)===c}return nt.AsyncMode=l,nt.ConcurrentMode=c,nt.ContextConsumer=s,nt.ContextProvider=a,nt.Element=t,nt.ForwardRef=u,nt.Fragment=r,nt.Lazy=b,nt.Memo=h,nt.Portal=n,nt.Profiler=i,nt.StrictMode=o,nt.Suspense=f,nt.isAsyncMode=function(x){return j(x)||w(x)===l},nt.isConcurrentMode=j,nt.isContextConsumer=function(x){return w(x)===s},nt.isContextProvider=function(x){return w(x)===a},nt.isElement=function(x){return typeof x=="object"&&x!==null&&x.$$typeof===t},nt.isForwardRef=function(x){return w(x)===u},nt.isFragment=function(x){return w(x)===r},nt.isLazy=function(x){return w(x)===b},nt.isMemo=function(x){return w(x)===h},nt.isPortal=function(x){return w(x)===n},nt.isProfiler=function(x){return w(x)===i},nt.isStrictMode=function(x){return w(x)===o},nt.isSuspense=function(x){return w(x)===f},nt.isValidElementType=function(x){return typeof x=="string"||typeof x=="function"||x===r||x===c||x===i||x===o||x===f||x===p||typeof x=="object"&&x!==null&&(x.$$typeof===b||x.$$typeof===h||x.$$typeof===a||x.$$typeof===s||x.$$typeof===u||x.$$typeof===v||x.$$typeof===S||x.$$typeof===y||x.$$typeof===m)},nt.typeOf=w,nt}var rt={};/** @license React v16.13.1
|
|
52
52
|
* react-is.development.js
|
|
53
53
|
*
|
|
54
54
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
55
55
|
*
|
|
56
56
|
* This source code is licensed under the MIT license found in the
|
|
57
57
|
* LICENSE file in the root directory of this source tree.
|
|
58
|
-
*/var z1;function c9(){return z1||(z1=1,process.env.NODE_ENV!=="production"&&function(){var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,r=e?Symbol.for("react.fragment"):60107,o=e?Symbol.for("react.strict_mode"):60108,i=e?Symbol.for("react.profiler"):60114,a=e?Symbol.for("react.provider"):60109,s=e?Symbol.for("react.context"):60110,l=e?Symbol.for("react.async_mode"):60111,c=e?Symbol.for("react.concurrent_mode"):60111,u=e?Symbol.for("react.forward_ref"):60112,f=e?Symbol.for("react.suspense"):60113,p=e?Symbol.for("react.suspense_list"):60120,h=e?Symbol.for("react.memo"):60115,b=e?Symbol.for("react.lazy"):60116,m=e?Symbol.for("react.block"):60121,v=e?Symbol.for("react.fundamental"):60117,S=e?Symbol.for("react.responder"):60118,y=e?Symbol.for("react.scope"):60119;function C(H){return typeof H=="string"||typeof H=="function"||H===r||H===c||H===i||H===o||H===f||H===p||typeof H=="object"&&H!==null&&(H.$$typeof===b||H.$$typeof===h||H.$$typeof===a||H.$$typeof===s||H.$$typeof===u||H.$$typeof===v||H.$$typeof===S||H.$$typeof===y||H.$$typeof===m)}function j(H){if(typeof H=="object"&&H!==null){var Te=H.$$typeof;switch(Te){case t:var De=H.type;switch(De){case l:case c:case r:case i:case o:case f:return De;default:var A=De&&De.$$typeof;switch(A){case s:case u:case b:case h:case a:return A;default:return Te}}case n:return Te}}}var x=l,E=c,P=s,D=a,R=t,L=u,Z=r,ce=b,ae=h,z=n,Y=i,G=o,N=f,ue=!1;function he(H){return ue||(ue=!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.")),O(H)||j(H)===l}function O(H){return j(H)===c}function F(H){return j(H)===s}function K(H){return j(H)===a}function V(H){return typeof H=="object"&&H!==null&&H.$$typeof===t}function B(H){return j(H)===u}function w(H){return j(H)===r}function J(H){return j(H)===b}function Q(H){return j(H)===h}function ee(H){return j(H)===n}function me(H){return j(H)===i}function de(H){return j(H)===o}function ke(H){return j(H)===f}rt.AsyncMode=x,rt.ConcurrentMode=E,rt.ContextConsumer=P,rt.ContextProvider=D,rt.Element=R,rt.ForwardRef=L,rt.Fragment=Z,rt.Lazy=ce,rt.Memo=ae,rt.Portal=z,rt.Profiler=Y,rt.StrictMode=G,rt.Suspense=N,rt.isAsyncMode=he,rt.isConcurrentMode=O,rt.isContextConsumer=F,rt.isContextProvider=K,rt.isElement=V,rt.isForwardRef=B,rt.isFragment=w,rt.isLazy=J,rt.isMemo=Q,rt.isPortal=ee,rt.isProfiler=me,rt.isStrictMode=de,rt.isSuspense=ke,rt.isValidElementType=C,rt.typeOf=j}()),rt}process.env.NODE_ENV==="production"?Sc.exports=l9():Sc.exports=c9();var kc=Sc.exports,L1=kc,u9={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},d9={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},B1={};B1[L1.ForwardRef]=u9,B1[L1.Memo]=d9;var f9=!0;function N1(e,t,n){var r="";return n.split(" ").forEach(function(o){e[o]!==void 0?t.push(e[o]+";"):o&&(r+=o+" ")}),r}var _c=function(t,n,r){var o=t.key+"-"+n.name;(r===!1||f9===!1)&&t.registered[o]===void 0&&(t.registered[o]=n.styles)},jc=function(t,n,r){_c(t,n,r);var o=t.key+"-"+n.name;if(t.inserted[n.name]===void 0){var i=n;do t.insert(n===i?"."+o:"",i,t.sheet,!0),i=i.next;while(i!==void 0)}};function p9(e){for(var t=0,n,r=0,o=e.length;o>=4;++r,o-=4)n=e.charCodeAt(r)&255|(e.charCodeAt(++r)&255)<<8|(e.charCodeAt(++r)&255)<<16|(e.charCodeAt(++r)&255)<<24,n=(n&65535)*1540483477+((n>>>16)*59797<<16),n^=n>>>24,t=(n&65535)*1540483477+((n>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(o){case 3:t^=(e.charCodeAt(r+2)&255)<<16;case 2:t^=(e.charCodeAt(r+1)&255)<<8;case 1:t^=e.charCodeAt(r)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var h9={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},m9=!1,g9=/[A-Z]|^ms/g,v9=/_EMO_([^_]+?)_([^]*?)_EMO_/g,R1=function(t){return t.charCodeAt(1)===45},V1=function(t){return t!=null&&typeof t!="boolean"},Tc=I1(function(e){return R1(e)?e:e.replace(g9,"-$&").toLowerCase()}),W1=function(t,n){switch(t){case"animation":case"animationName":if(typeof n=="string")return n.replace(v9,function(r,o,i){return Kn={name:o,styles:i,next:Kn},o})}return h9[t]!==1&&!R1(t)&&typeof n=="number"&&n!==0?n+"px":n},b9="Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";function Ji(e,t,n){if(n==null)return"";var r=n;if(r.__emotion_styles!==void 0)return r;switch(typeof n){case"boolean":return"";case"object":{var o=n;if(o.anim===1)return Kn={name:o.name,styles:o.styles,next:Kn},o.name;var i=n;if(i.styles!==void 0){var a=i.next;if(a!==void 0)for(;a!==void 0;)Kn={name:a.name,styles:a.styles,next:Kn},a=a.next;var s=i.styles+";";return s}return y9(e,t,n)}case"function":{if(e!==void 0){var l=Kn,c=n(e);return Kn=l,Ji(e,t,c)}break}}var u=n;if(t==null)return u;var f=t[u];return f!==void 0?f:u}function y9(e,t,n){var r="";if(Array.isArray(n))for(var o=0;o<n.length;o++)r+=Ji(e,t,n[o])+";";else for(var i in n){var a=n[i];if(typeof a!="object"){var s=a;t!=null&&t[s]!==void 0?r+=i+"{"+t[s]+"}":V1(s)&&(r+=Tc(i)+":"+W1(i,s)+";")}else{if(i==="NO_COMPONENT_SELECTOR"&&m9)throw new Error(b9);if(Array.isArray(a)&&typeof a[0]=="string"&&(t==null||t[a[0]]===void 0))for(var l=0;l<a.length;l++)V1(a[l])&&(r+=Tc(i)+":"+W1(i,a[l])+";");else{var c=Ji(e,t,a);switch(i){case"animation":case"animationName":{r+=Tc(i)+":"+c+";";break}default:r+=i+"{"+c+"}"}}}}return r}var H1=/label:\s*([^\s;{]+)\s*(;|$)/g,Kn;function js(e,t,n){if(e.length===1&&typeof e[0]=="object"&&e[0]!==null&&e[0].styles!==void 0)return e[0];var r=!0,o="";Kn=void 0;var i=e[0];if(i==null||i.raw===void 0)r=!1,o+=Ji(n,t,i);else{var a=i;o+=a[0]}for(var s=1;s<e.length;s++)if(o+=Ji(n,t,e[s]),r){var l=i;o+=l[s]}H1.lastIndex=0;for(var c="",u;(u=H1.exec(o))!==null;)c+="-"+u[1];var f=p9(o)+c;return{name:f,styles:o,next:Kn}}var x9=function(t){return t()},U1=Se.useInsertionEffect?Se.useInsertionEffect:!1,q1=U1||x9,Z1=U1||Se.useLayoutEffect,C9=!1,G1=Se.createContext(typeof HTMLElement<"u"?s9({key:"css"}):null);G1.Provider;var Ts=function(t){return g.forwardRef(function(n,r){var o=g.useContext(G1);return t(n,o,r)})},Ro=Se.createContext({}),w9=function(t,n){if(typeof n=="function"){var r=n(t);return r}return to({},t,n)},S9=O1(function(e){return O1(function(t){return w9(e,t)})}),k9=function(t){var n=Se.useContext(Ro);return t.theme!==n&&(n=S9(n)(t.theme)),Se.createElement(Ro.Provider,{value:n},t.children)},Pc={}.hasOwnProperty,Ec="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",_9=function(t,n){var r={};for(var o in n)Pc.call(n,o)&&(r[o]=n[o]);return r[Ec]=t,r},j9=function(t){var n=t.cache,r=t.serialized,o=t.isStringTag;return _c(n,r,o),q1(function(){return jc(n,r,o)}),null},T9=Ts(function(e,t,n){var r=e.css;typeof r=="string"&&t.registered[r]!==void 0&&(r=t.registered[r]);var o=e[Ec],i=[r],a="";typeof e.className=="string"?a=N1(t.registered,i,e.className):e.className!=null&&(a=e.className+" ");var s=js(i,void 0,Se.useContext(Ro));a+=t.key+"-"+s.name;var l={};for(var c in e)Pc.call(e,c)&&c!=="css"&&c!==Ec&&!C9&&(l[c]=e[c]);return l.className=a,n&&(l.ref=n),Se.createElement(Se.Fragment,null,Se.createElement(j9,{cache:t,serialized:s,isStringTag:typeof o=="string"}),Se.createElement(o,l))}),P9=T9,K1=function(t,n){var r=arguments;if(n==null||!Pc.call(n,"css"))return Se.createElement.apply(void 0,r);var o=r.length,i=new Array(o);i[0]=P9,i[1]=_9(t,n);for(var a=2;a<o;a++)i[a]=r[a];return Se.createElement.apply(null,i)};(function(e){var t;t||(t=e.JSX||(e.JSX={}))})(K1||(K1={}));var Ps=Ts(function(e,t){var n=e.styles,r=js([n],void 0,Se.useContext(Ro)),o=Se.useRef();return Z1(function(){var i=t.key+"-global",a=new t.sheet.constructor({key:i,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),s=!1,l=document.querySelector('style[data-emotion="'+i+" "+r.name+'"]');return t.sheet.tags.length&&(a.before=t.sheet.tags[0]),l!==null&&(s=!0,l.setAttribute("data-emotion",i),a.hydrate([l])),o.current=[a,s],function(){a.flush()}},[t]),Z1(function(){var i=o.current,a=i[0],s=i[1];if(s){i[1]=!1;return}if(r.next!==void 0&&jc(t,r.next,!0),a.tags.length){var l=a.tags[a.tags.length-1].nextElementSibling;a.before=l,a.flush()}t.insert("",r,a,!1)},[t,r.name]),null});function E9(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return js(t)}function Ir(){var e=E9.apply(void 0,arguments),t="animation-"+e.name;return{name:t,styles:"@keyframes "+t+"{"+e.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}}const Ac=g.createContext({});Ac.displayName="ColorModeContext";function Mc(){const e=g.useContext(Ac);if(e===void 0)throw new Error("useColorMode must be used within a ColorModeProvider");return e}const Es={light:"chakra-ui-light",dark:"chakra-ui-dark"};function A9(e={}){const{preventTransition:t=!0,nonce:n}=e,r={setDataset:o=>{const i=t?r.preventTransition():void 0;document.documentElement.dataset.theme=o,document.documentElement.style.colorScheme=o,i==null||i()},setClassName(o){document.body.classList.add(o?Es.dark:Es.light),document.body.classList.remove(o?Es.light:Es.dark)},query(){return window.matchMedia("(prefers-color-scheme: dark)")},getSystemTheme(o){return r.query().matches??o==="dark"?"dark":"light"},addListener(o){const i=r.query(),a=s=>{o(s.matches?"dark":"light")};return typeof i.addListener=="function"?i.addListener(a):i.addEventListener("change",a),()=>{typeof i.removeListener=="function"?i.removeListener(a):i.removeEventListener("change",a)}},preventTransition(){const o=document.createElement("style");return o.appendChild(document.createTextNode("*{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}")),n!==void 0&&(o.nonce=n),document.head.appendChild(o),()=>{window.getComputedStyle(document.body),requestAnimationFrame(()=>{requestAnimationFrame(()=>{document.head.removeChild(o)})})}}};return r}const M9="chakra-ui-color-mode";function O9(e){return{ssr:!1,type:"localStorage",get(t){if(!(globalThis!=null&&globalThis.document))return t;let n;try{n=localStorage.getItem(e)||t}catch{}return n||t},set(t){try{localStorage.setItem(e,t)}catch{}}}}const I9=O9(M9),Y1=()=>{},D9=Q4()?g.useLayoutEffect:g.useEffect;function X1(e,t){return e.type==="cookie"&&e.ssr?e.get(t):t}const J1=Ts(function(t,n){const{value:r,children:o,options:{useSystemColorMode:i,initialColorMode:a,disableTransitionOnChange:s}={},colorModeManager:l=I9}=t,c=a==="dark"?"dark":"light",[u,f]=g.useState(()=>X1(l,c)),[p,h]=g.useState(()=>X1(l)),{getSystemTheme:b,setClassName:m,setDataset:v,addListener:S}=g.useMemo(()=>A9({preventTransition:s,nonce:n==null?void 0:n.nonce}),[s,n==null?void 0:n.nonce]),y=a==="system"&&!u?p:u,C=g.useCallback(E=>{const P=E==="system"?b():E;f(P),m(P==="dark"),v(P),l.set(P)},[l,b,m,v]);D9(()=>{a==="system"&&h(b())},[]),g.useEffect(()=>{const E=l.get();if(E){C(E);return}if(a==="system"){C("system");return}C(c)},[l,c,a,C]);const j=g.useCallback(()=>{C(y==="dark"?"light":"dark")},[y,C]);g.useEffect(()=>{if(i)return S(C)},[i,S,C]);const x=g.useMemo(()=>({colorMode:r??y,toggleColorMode:r?Y1:j,setColorMode:r?Y1:C,forced:r!==void 0}),[y,j,C,r]);return d.jsx(Ac.Provider,{value:x,children:o})});J1.displayName="ColorModeProvider";const Q1=String.raw,ep=Q1`
|
|
58
|
+
*/var z1;function d9(){return z1||(z1=1,process.env.NODE_ENV!=="production"&&function(){var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,r=e?Symbol.for("react.fragment"):60107,o=e?Symbol.for("react.strict_mode"):60108,i=e?Symbol.for("react.profiler"):60114,a=e?Symbol.for("react.provider"):60109,s=e?Symbol.for("react.context"):60110,l=e?Symbol.for("react.async_mode"):60111,c=e?Symbol.for("react.concurrent_mode"):60111,u=e?Symbol.for("react.forward_ref"):60112,f=e?Symbol.for("react.suspense"):60113,p=e?Symbol.for("react.suspense_list"):60120,h=e?Symbol.for("react.memo"):60115,b=e?Symbol.for("react.lazy"):60116,m=e?Symbol.for("react.block"):60121,v=e?Symbol.for("react.fundamental"):60117,S=e?Symbol.for("react.responder"):60118,y=e?Symbol.for("react.scope"):60119;function w(H){return typeof H=="string"||typeof H=="function"||H===r||H===c||H===i||H===o||H===f||H===p||typeof H=="object"&&H!==null&&(H.$$typeof===b||H.$$typeof===h||H.$$typeof===a||H.$$typeof===s||H.$$typeof===u||H.$$typeof===v||H.$$typeof===S||H.$$typeof===y||H.$$typeof===m)}function j(H){if(typeof H=="object"&&H!==null){var Te=H.$$typeof;switch(Te){case t:var De=H.type;switch(De){case l:case c:case r:case i:case o:case f:return De;default:var A=De&&De.$$typeof;switch(A){case s:case u:case b:case h:case a:return A;default:return Te}}case n:return Te}}}var x=l,E=c,P=s,D=a,R=t,z=u,X=r,ce=b,le=h,L=n,Y=i,K=o,N=f,ue=!1;function he(H){return ue||(ue=!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.")),O(H)||j(H)===l}function O(H){return j(H)===c}function F(H){return j(H)===s}function Z(H){return j(H)===a}function V(H){return typeof H=="object"&&H!==null&&H.$$typeof===t}function B(H){return j(H)===u}function C(H){return j(H)===r}function J(H){return j(H)===b}function Q(H){return j(H)===h}function ee(H){return j(H)===n}function me(H){return j(H)===i}function de(H){return j(H)===o}function ke(H){return j(H)===f}rt.AsyncMode=x,rt.ConcurrentMode=E,rt.ContextConsumer=P,rt.ContextProvider=D,rt.Element=R,rt.ForwardRef=z,rt.Fragment=X,rt.Lazy=ce,rt.Memo=le,rt.Portal=L,rt.Profiler=Y,rt.StrictMode=K,rt.Suspense=N,rt.isAsyncMode=he,rt.isConcurrentMode=O,rt.isContextConsumer=F,rt.isContextProvider=Z,rt.isElement=V,rt.isForwardRef=B,rt.isFragment=C,rt.isLazy=J,rt.isMemo=Q,rt.isPortal=ee,rt.isProfiler=me,rt.isStrictMode=de,rt.isSuspense=ke,rt.isValidElementType=w,rt.typeOf=j}()),rt}process.env.NODE_ENV==="production"?Sc.exports=u9():Sc.exports=d9();var kc=Sc.exports,L1=kc,f9={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},p9={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},B1={};B1[L1.ForwardRef]=f9,B1[L1.Memo]=p9;var h9=!0;function N1(e,t,n){var r="";return n.split(" ").forEach(function(o){e[o]!==void 0?t.push(e[o]+";"):o&&(r+=o+" ")}),r}var _c=function(t,n,r){var o=t.key+"-"+n.name;(r===!1||h9===!1)&&t.registered[o]===void 0&&(t.registered[o]=n.styles)},jc=function(t,n,r){_c(t,n,r);var o=t.key+"-"+n.name;if(t.inserted[n.name]===void 0){var i=n;do t.insert(n===i?"."+o:"",i,t.sheet,!0),i=i.next;while(i!==void 0)}};function m9(e){for(var t=0,n,r=0,o=e.length;o>=4;++r,o-=4)n=e.charCodeAt(r)&255|(e.charCodeAt(++r)&255)<<8|(e.charCodeAt(++r)&255)<<16|(e.charCodeAt(++r)&255)<<24,n=(n&65535)*1540483477+((n>>>16)*59797<<16),n^=n>>>24,t=(n&65535)*1540483477+((n>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(o){case 3:t^=(e.charCodeAt(r+2)&255)<<16;case 2:t^=(e.charCodeAt(r+1)&255)<<8;case 1:t^=e.charCodeAt(r)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var g9={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},v9=!1,b9=/[A-Z]|^ms/g,y9=/_EMO_([^_]+?)_([^]*?)_EMO_/g,R1=function(t){return t.charCodeAt(1)===45},V1=function(t){return t!=null&&typeof t!="boolean"},Tc=I1(function(e){return R1(e)?e:e.replace(b9,"-$&").toLowerCase()}),W1=function(t,n){switch(t){case"animation":case"animationName":if(typeof n=="string")return n.replace(y9,function(r,o,i){return Kn={name:o,styles:i,next:Kn},o})}return g9[t]!==1&&!R1(t)&&typeof n=="number"&&n!==0?n+"px":n},x9="Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";function Ji(e,t,n){if(n==null)return"";var r=n;if(r.__emotion_styles!==void 0)return r;switch(typeof n){case"boolean":return"";case"object":{var o=n;if(o.anim===1)return Kn={name:o.name,styles:o.styles,next:Kn},o.name;var i=n;if(i.styles!==void 0){var a=i.next;if(a!==void 0)for(;a!==void 0;)Kn={name:a.name,styles:a.styles,next:Kn},a=a.next;var s=i.styles+";";return s}return C9(e,t,n)}case"function":{if(e!==void 0){var l=Kn,c=n(e);return Kn=l,Ji(e,t,c)}break}}var u=n;if(t==null)return u;var f=t[u];return f!==void 0?f:u}function C9(e,t,n){var r="";if(Array.isArray(n))for(var o=0;o<n.length;o++)r+=Ji(e,t,n[o])+";";else for(var i in n){var a=n[i];if(typeof a!="object"){var s=a;t!=null&&t[s]!==void 0?r+=i+"{"+t[s]+"}":V1(s)&&(r+=Tc(i)+":"+W1(i,s)+";")}else{if(i==="NO_COMPONENT_SELECTOR"&&v9)throw new Error(x9);if(Array.isArray(a)&&typeof a[0]=="string"&&(t==null||t[a[0]]===void 0))for(var l=0;l<a.length;l++)V1(a[l])&&(r+=Tc(i)+":"+W1(i,a[l])+";");else{var c=Ji(e,t,a);switch(i){case"animation":case"animationName":{r+=Tc(i)+":"+c+";";break}default:r+=i+"{"+c+"}"}}}}return r}var H1=/label:\s*([^\s;{]+)\s*(;|$)/g,Kn;function js(e,t,n){if(e.length===1&&typeof e[0]=="object"&&e[0]!==null&&e[0].styles!==void 0)return e[0];var r=!0,o="";Kn=void 0;var i=e[0];if(i==null||i.raw===void 0)r=!1,o+=Ji(n,t,i);else{var a=i;o+=a[0]}for(var s=1;s<e.length;s++)if(o+=Ji(n,t,e[s]),r){var l=i;o+=l[s]}H1.lastIndex=0;for(var c="",u;(u=H1.exec(o))!==null;)c+="-"+u[1];var f=m9(o)+c;return{name:f,styles:o,next:Kn}}var w9=function(t){return t()},U1=Se.useInsertionEffect?Se.useInsertionEffect:!1,q1=U1||w9,Z1=U1||Se.useLayoutEffect,S9=!1,G1=Se.createContext(typeof HTMLElement<"u"?c9({key:"css"}):null);G1.Provider;var Ts=function(t){return g.forwardRef(function(n,r){var o=g.useContext(G1);return t(n,o,r)})},Ro=Se.createContext({}),k9=function(t,n){if(typeof n=="function"){var r=n(t);return r}return to({},t,n)},_9=O1(function(e){return O1(function(t){return k9(e,t)})}),j9=function(t){var n=Se.useContext(Ro);return t.theme!==n&&(n=_9(n)(t.theme)),Se.createElement(Ro.Provider,{value:n},t.children)},Pc={}.hasOwnProperty,Ec="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",T9=function(t,n){var r={};for(var o in n)Pc.call(n,o)&&(r[o]=n[o]);return r[Ec]=t,r},P9=function(t){var n=t.cache,r=t.serialized,o=t.isStringTag;return _c(n,r,o),q1(function(){return jc(n,r,o)}),null},E9=Ts(function(e,t,n){var r=e.css;typeof r=="string"&&t.registered[r]!==void 0&&(r=t.registered[r]);var o=e[Ec],i=[r],a="";typeof e.className=="string"?a=N1(t.registered,i,e.className):e.className!=null&&(a=e.className+" ");var s=js(i,void 0,Se.useContext(Ro));a+=t.key+"-"+s.name;var l={};for(var c in e)Pc.call(e,c)&&c!=="css"&&c!==Ec&&!S9&&(l[c]=e[c]);return l.className=a,n&&(l.ref=n),Se.createElement(Se.Fragment,null,Se.createElement(P9,{cache:t,serialized:s,isStringTag:typeof o=="string"}),Se.createElement(o,l))}),A9=E9,K1=function(t,n){var r=arguments;if(n==null||!Pc.call(n,"css"))return Se.createElement.apply(void 0,r);var o=r.length,i=new Array(o);i[0]=A9,i[1]=T9(t,n);for(var a=2;a<o;a++)i[a]=r[a];return Se.createElement.apply(null,i)};(function(e){var t;t||(t=e.JSX||(e.JSX={}))})(K1||(K1={}));var Ps=Ts(function(e,t){var n=e.styles,r=js([n],void 0,Se.useContext(Ro)),o=Se.useRef();return Z1(function(){var i=t.key+"-global",a=new t.sheet.constructor({key:i,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),s=!1,l=document.querySelector('style[data-emotion="'+i+" "+r.name+'"]');return t.sheet.tags.length&&(a.before=t.sheet.tags[0]),l!==null&&(s=!0,l.setAttribute("data-emotion",i),a.hydrate([l])),o.current=[a,s],function(){a.flush()}},[t]),Z1(function(){var i=o.current,a=i[0],s=i[1];if(s){i[1]=!1;return}if(r.next!==void 0&&jc(t,r.next,!0),a.tags.length){var l=a.tags[a.tags.length-1].nextElementSibling;a.before=l,a.flush()}t.insert("",r,a,!1)},[t,r.name]),null});function M9(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return js(t)}function Ir(){var e=M9.apply(void 0,arguments),t="animation-"+e.name;return{name:t,styles:"@keyframes "+t+"{"+e.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}}const Ac=g.createContext({});Ac.displayName="ColorModeContext";function Mc(){const e=g.useContext(Ac);if(e===void 0)throw new Error("useColorMode must be used within a ColorModeProvider");return e}const Es={light:"chakra-ui-light",dark:"chakra-ui-dark"};function O9(e={}){const{preventTransition:t=!0,nonce:n}=e,r={setDataset:o=>{const i=t?r.preventTransition():void 0;document.documentElement.dataset.theme=o,document.documentElement.style.colorScheme=o,i==null||i()},setClassName(o){document.body.classList.add(o?Es.dark:Es.light),document.body.classList.remove(o?Es.light:Es.dark)},query(){return window.matchMedia("(prefers-color-scheme: dark)")},getSystemTheme(o){return r.query().matches??o==="dark"?"dark":"light"},addListener(o){const i=r.query(),a=s=>{o(s.matches?"dark":"light")};return typeof i.addListener=="function"?i.addListener(a):i.addEventListener("change",a),()=>{typeof i.removeListener=="function"?i.removeListener(a):i.removeEventListener("change",a)}},preventTransition(){const o=document.createElement("style");return o.appendChild(document.createTextNode("*{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}")),n!==void 0&&(o.nonce=n),document.head.appendChild(o),()=>{window.getComputedStyle(document.body),requestAnimationFrame(()=>{requestAnimationFrame(()=>{document.head.removeChild(o)})})}}};return r}const I9="chakra-ui-color-mode";function D9(e){return{ssr:!1,type:"localStorage",get(t){if(!(globalThis!=null&&globalThis.document))return t;let n;try{n=localStorage.getItem(e)||t}catch{}return n||t},set(t){try{localStorage.setItem(e,t)}catch{}}}}const $9=D9(I9),Y1=()=>{},F9=tg()?g.useLayoutEffect:g.useEffect;function X1(e,t){return e.type==="cookie"&&e.ssr?e.get(t):t}const J1=Ts(function(t,n){const{value:r,children:o,options:{useSystemColorMode:i,initialColorMode:a,disableTransitionOnChange:s}={},colorModeManager:l=$9}=t,c=a==="dark"?"dark":"light",[u,f]=g.useState(()=>X1(l,c)),[p,h]=g.useState(()=>X1(l)),{getSystemTheme:b,setClassName:m,setDataset:v,addListener:S}=g.useMemo(()=>O9({preventTransition:s,nonce:n==null?void 0:n.nonce}),[s,n==null?void 0:n.nonce]),y=a==="system"&&!u?p:u,w=g.useCallback(E=>{const P=E==="system"?b():E;f(P),m(P==="dark"),v(P),l.set(P)},[l,b,m,v]);F9(()=>{a==="system"&&h(b())},[]),g.useEffect(()=>{const E=l.get();if(E){w(E);return}if(a==="system"){w("system");return}w(c)},[l,c,a,w]);const j=g.useCallback(()=>{w(y==="dark"?"light":"dark")},[y,w]);g.useEffect(()=>{if(i)return S(w)},[i,S,w]);const x=g.useMemo(()=>({colorMode:r??y,toggleColorMode:r?Y1:j,setColorMode:r?Y1:w,forced:r!==void 0}),[y,j,w,r]);return d.jsx(Ac.Provider,{value:x,children:o})});J1.displayName="ColorModeProvider";const Q1=String.raw,ep=Q1`
|
|
59
59
|
:root,
|
|
60
60
|
:host {
|
|
61
61
|
--chakra-vh: 100vh;
|
|
@@ -81,7 +81,7 @@ React keys must be passed directly to JSX without using spread:
|
|
|
81
81
|
--chakra-vh: 100dvh;
|
|
82
82
|
}
|
|
83
83
|
}
|
|
84
|
-
|
|
84
|
+
`,z9=()=>d.jsx(Ps,{styles:ep}),L9=({scope:e=""})=>d.jsx(Ps,{styles:Q1`
|
|
85
85
|
html {
|
|
86
86
|
line-height: 1.5;
|
|
87
87
|
-webkit-text-size-adjust: 100%;
|
|
@@ -334,7 +334,7 @@ React keys must be passed directly to JSX without using spread:
|
|
|
334
334
|
}
|
|
335
335
|
|
|
336
336
|
${ep}
|
|
337
|
-
`});function
|
|
337
|
+
`});function B9(e){const{cssVarsRoot:t,theme:n,children:r}=e,o=g.useMemo(()=>V5(n),[n]);return d.jsxs(j9,{theme:o,children:[d.jsx(N9,{root:t}),r]})}function N9({root:e=":host, :root"}){const t=[e,"[data-theme]"].join(",");return d.jsx(Ps,{styles:n=>({[t]:n.__cssVars})})}ht({name:"StylesContext",errorMessage:"useStyles: `styles` is undefined. Seems you forgot to wrap the components in `<StylesProvider />` "});function R9(){const{colorMode:e}=Mc();return d.jsx(Ps,{styles:t=>{const n=$f(t,"styles.global"),r=mn(n,{theme:t,colorMode:e});return r?Zf(r)(t):void 0}})}const[V9,W9]=ht({strict:!1,name:"PortalManagerContext"});function tp(e){const{children:t,zIndex:n}=e;return d.jsx(V9,{value:{zIndex:n},children:t})}tp.displayName="PortalManager";const np=g.createContext({getDocument(){return document},getWindow(){return window}});np.displayName="EnvironmentContext";function rp(e){const{children:t,environment:n,disabled:r}=e,o=g.useRef(null),i=g.useMemo(()=>n||{getDocument:()=>{var s;return((s=o.current)==null?void 0:s.ownerDocument)??document},getWindow:()=>{var s;return((s=o.current)==null?void 0:s.ownerDocument.defaultView)??window}},[n]),a=!r||!n;return d.jsxs(np.Provider,{value:i,children:[t,a&&d.jsx("span",{id:"__chakra_env",hidden:!0,ref:o})]})}rp.displayName="EnvironmentProvider";const H9=e=>{const{children:t,colorModeManager:n,portalZIndex:r,resetScope:o,resetCSS:i=!0,theme:a={},environment:s,cssVarsRoot:l,disableEnvironment:c,disableGlobalStyle:u}=e,f=d.jsx(rp,{environment:s,disabled:c,children:t});return d.jsx(B9,{theme:a,cssVarsRoot:l,children:d.jsxs(J1,{colorModeManager:n,options:a.config,children:[i?d.jsx(L9,{scope:o}):d.jsx(z9,{}),!u&&d.jsx(R9,{}),r?d.jsx(tp,{zIndex:r,children:f}):f]})})},Oc=g.createContext({});function Ic(e){const t=g.useRef(null);return t.current===null&&(t.current=e()),t.current}const Qi=g.createContext(null),Dc=g.createContext({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"});class U9 extends Se.Component{getSnapshotBeforeUpdate(t){const n=this.props.childRef.current;if(n&&t.isPresent&&!this.props.isPresent){const r=this.props.sizeRef.current;r.height=n.offsetHeight||0,r.width=n.offsetWidth||0,r.top=n.offsetTop,r.left=n.offsetLeft}return null}componentDidUpdate(){}render(){return this.props.children}}function q9({children:e,isPresent:t}){const n=g.useId(),r=g.useRef(null),o=g.useRef({width:0,height:0,top:0,left:0}),{nonce:i}=g.useContext(Dc);return g.useInsertionEffect(()=>{const{width:a,height:s,top:l,left:c}=o.current;if(t||!r.current||!a||!s)return;r.current.dataset.motionPopId=n;const u=document.createElement("style");return i&&(u.nonce=i),document.head.appendChild(u),u.sheet&&u.sheet.insertRule(`
|
|
338
338
|
[data-motion-pop-id="${n}"] {
|
|
339
339
|
position: absolute !important;
|
|
340
340
|
width: ${a}px !important;
|
|
@@ -342,14 +342,14 @@ React keys must be passed directly to JSX without using spread:
|
|
|
342
342
|
top: ${l}px !important;
|
|
343
343
|
left: ${c}px !important;
|
|
344
344
|
}
|
|
345
|
-
`),()=>{document.head.removeChild(u)}},[t]),d.jsx(W9,{isPresent:t,childRef:r,sizeRef:o,children:Se.cloneElement(e,{ref:r})})}const U9=({children:e,initial:t,isPresent:n,onExitComplete:r,custom:o,presenceAffectsLayout:i,mode:a})=>{const s=Ic(q9),l=g.useId(),c=g.useCallback(f=>{s.set(f,!0);for(const p of s.values())if(!p)return;r&&r()},[s,r]),u=g.useMemo(()=>({id:l,initial:t,isPresent:n,custom:o,onExitComplete:c,register:f=>(s.set(f,!1),()=>s.delete(f))}),i?[Math.random(),c]:[n,c]);return g.useMemo(()=>{s.forEach((f,p)=>s.set(p,!1))},[n]),Se.useEffect(()=>{!n&&!s.size&&r&&r()},[n]),a==="popLayout"&&(e=d.jsx(H9,{isPresent:n,children:e})),d.jsx(Qi.Provider,{value:u,children:e})};function q9(){return new Map}function $c(e=!0){const t=g.useContext(Qi);if(t===null)return[!0,null];const{isPresent:n,onExitComplete:r,register:o}=t,i=g.useId();g.useEffect(()=>{e&&o(i)},[e]);const a=g.useCallback(()=>e&&r&&r(i),[i,r,e]);return!n&&r?[!1,a]:[!0]}function Z9(){return G9(g.useContext(Qi))}function G9(e){return e===null?!0:e.isPresent}const As=e=>e.key||"";function op(e){const t=[];return g.Children.forEach(e,n=>{g.isValidElement(n)&&t.push(n)}),t}const Fc=typeof window<"u",ip=Fc?g.useLayoutEffect:g.useEffect,no=({children:e,custom:t,initial:n=!0,onExitComplete:r,presenceAffectsLayout:o=!0,mode:i="sync",propagate:a=!1})=>{const[s,l]=$c(a),c=g.useMemo(()=>op(e),[e]),u=a&&!s?[]:c.map(As),f=g.useRef(!0),p=g.useRef(c),h=Ic(()=>new Map),[b,m]=g.useState(c),[v,S]=g.useState(c);ip(()=>{f.current=!1,p.current=c;for(let j=0;j<v.length;j++){const x=As(v[j]);u.includes(x)?h.delete(x):h.get(x)!==!0&&h.set(x,!1)}},[v,u.length,u.join("-")]);const y=[];if(c!==b){let j=[...c];for(let x=0;x<v.length;x++){const E=v[x],P=As(E);u.includes(P)||(j.splice(x,0,E),y.push(E))}i==="wait"&&y.length&&(j=y),S(op(j)),m(c);return}process.env.NODE_ENV!=="production"&&i==="wait"&&v.length>1&&console.warn(`You're attempting to animate multiple children within AnimatePresence, but its mode is set to "wait". This will lead to odd visual behaviour.`);const{forceRender:C}=g.useContext(Oc);return d.jsx(d.Fragment,{children:v.map(j=>{const x=As(j),E=a&&!s?!1:c===v||u.includes(x),P=()=>{if(h.has(x))h.set(x,!0);else return;let D=!0;h.forEach(R=>{R||(D=!1)}),D&&(C==null||C(),S(p.current),a&&(l==null||l()),r&&r())};return d.jsx(U9,{isPresent:E,initial:!f.current||n?void 0:!1,custom:E?void 0:t,presenceAffectsLayout:o,mode:i,onExitComplete:E?void 0:P,children:j},x)})})},sn=e=>e;let Vo=sn,Dr=sn;process.env.NODE_ENV!=="production"&&(Vo=(e,t)=>{!e&&typeof console<"u"&&console.warn(t)},Dr=(e,t)=>{if(!e)throw new Error(t)});function zc(e){let t;return()=>(t===void 0&&(t=e()),t)}const Wo=(e,t,n)=>{const r=t-e;return r===0?1:(n-e)/r},Yn=e=>e*1e3,yr=e=>e/1e3,K9={skipAnimations:!1,useManualTiming:!1};function Y9(e){let t=new Set,n=new Set,r=!1,o=!1;const i=new WeakSet;let a={delta:0,timestamp:0,isProcessing:!1};function s(c){i.has(c)&&(l.schedule(c),e()),c(a)}const l={schedule:(c,u=!1,f=!1)=>{const h=f&&r?t:n;return u&&i.add(c),h.has(c)||h.add(c),c},cancel:c=>{n.delete(c),i.delete(c)},process:c=>{if(a=c,r){o=!0;return}r=!0,[t,n]=[n,t],t.forEach(s),t.clear(),r=!1,o&&(o=!1,l.process(c))}};return l}const Ms=["read","resolveKeyframes","update","preRender","render","postRender"],X9=40;function ap(e,t){let n=!1,r=!0;const o={delta:0,timestamp:0,isProcessing:!1},i=()=>n=!0,a=Ms.reduce((S,y)=>(S[y]=Y9(i),S),{}),{read:s,resolveKeyframes:l,update:c,preRender:u,render:f,postRender:p}=a,h=()=>{const S=performance.now();n=!1,o.delta=r?1e3/60:Math.max(Math.min(S-o.timestamp,X9),1),o.timestamp=S,o.isProcessing=!0,s.process(o),l.process(o),c.process(o),u.process(o),f.process(o),p.process(o),o.isProcessing=!1,n&&t&&(r=!1,e(h))},b=()=>{n=!0,r=!0,o.isProcessing||e(h)};return{schedule:Ms.reduce((S,y)=>{const C=a[y];return S[y]=(j,x=!1,E=!1)=>(n||b(),C.schedule(j,x,E)),S},{}),cancel:S=>{for(let y=0;y<Ms.length;y++)a[Ms[y]].cancel(S)},state:o,steps:a}}const{schedule:vt,cancel:$r,state:Rt,steps:Lc}=ap(typeof requestAnimationFrame<"u"?requestAnimationFrame:sn,!0),sp=g.createContext({strict:!1}),lp={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]},Ho={};for(const e in lp)Ho[e]={isEnabled:t=>lp[e].some(n=>!!t[n])};function J9(e){for(const t in e)Ho[t]={...Ho[t],...e[t]}}const Q9=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","ignoreStrict","viewport"]);function Os(e){return e.startsWith("while")||e.startsWith("drag")&&e!=="draggable"||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||Q9.has(e)}let cp=e=>!Os(e);function ex(e){e&&(cp=t=>t.startsWith("on")?!Os(t):e(t))}try{ex(require("@emotion/is-prop-valid").default)}catch{}function tx(e,t,n){const r={};for(const o in e)o==="values"&&typeof e.values=="object"||(cp(o)||n===!0&&Os(o)||!t&&!Os(o)||e.draggable&&o.startsWith("onDrag"))&&(r[o]=e[o]);return r}const up=new Set;function Is(e,t,n){e||up.has(t)||(console.warn(t),up.add(t))}function nx(e){if(typeof Proxy>"u")return e;const t=new Map,n=(...r)=>(process.env.NODE_ENV!=="production"&&Is(!1,"motion() is deprecated. Use motion.create() instead."),e(...r));return new Proxy(n,{get:(r,o)=>o==="create"?e:(t.has(o)||t.set(o,e(o)),t.get(o))})}const Ds=g.createContext({});function ea(e){return typeof e=="string"||Array.isArray(e)}function $s(e){return e!==null&&typeof e=="object"&&typeof e.start=="function"}const Bc=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],Nc=["initial",...Bc];function Fs(e){return $s(e.animate)||Nc.some(t=>ea(e[t]))}function dp(e){return!!(Fs(e)||e.variants)}function rx(e,t){if(Fs(e)){const{initial:n,animate:r}=e;return{initial:n===!1||ea(n)?n:void 0,animate:ea(r)?r:void 0}}return e.inherit!==!1?t:{}}function ox(e){const{initial:t,animate:n}=rx(e,g.useContext(Ds));return g.useMemo(()=>({initial:t,animate:n}),[fp(t),fp(n)])}function fp(e){return Array.isArray(e)?e.join(" "):e}const ix=Symbol.for("motionComponentSymbol");function Uo(e){return e&&typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}function ax(e,t,n){return g.useCallback(r=>{r&&e.onMount&&e.onMount(r),t&&(r?t.mount(r):t.unmount()),n&&(typeof n=="function"?n(r):Uo(n)&&(n.current=r))},[t])}const Rc=e=>e.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),pp="data-"+Rc("framerAppearId"),{schedule:Vc,cancel:yD}=ap(queueMicrotask,!1),hp=g.createContext({});function sx(e,t,n,r,o){var i,a;const{visualElement:s}=g.useContext(Ds),l=g.useContext(sp),c=g.useContext(Qi),u=g.useContext(Dc).reducedMotion,f=g.useRef(null);r=r||l.renderer,!f.current&&r&&(f.current=r(e,{visualState:t,parent:s,props:n,presenceContext:c,blockInitialAnimation:c?c.initial===!1:!1,reducedMotionConfig:u}));const p=f.current,h=g.useContext(hp);p&&!p.projection&&o&&(p.type==="html"||p.type==="svg")&&lx(f.current,n,o,h);const b=g.useRef(!1);g.useInsertionEffect(()=>{p&&b.current&&p.update(n,c)});const m=n[pp],v=g.useRef(!!m&&!(!((i=window.MotionHandoffIsComplete)===null||i===void 0)&&i.call(window,m))&&((a=window.MotionHasOptimisedAnimation)===null||a===void 0?void 0:a.call(window,m)));return ip(()=>{p&&(b.current=!0,window.MotionIsMounted=!0,p.updateFeatures(),Vc.render(p.render),v.current&&p.animationState&&p.animationState.animateChanges())}),g.useEffect(()=>{p&&(!v.current&&p.animationState&&p.animationState.animateChanges(),v.current&&(queueMicrotask(()=>{var S;(S=window.MotionHandoffMarkAsComplete)===null||S===void 0||S.call(window,m)}),v.current=!1))}),p}function lx(e,t,n,r){const{layoutId:o,layout:i,drag:a,dragConstraints:s,layoutScroll:l,layoutRoot:c}=t;e.projection=new n(e.latestValues,t["data-framer-portal-id"]?void 0:mp(e.parent)),e.projection.setOptions({layoutId:o,layout:i,alwaysMeasureLayout:!!a||s&&Uo(s),visualElement:e,animationType:typeof i=="string"?i:"both",initialPromotionConfig:r,layoutScroll:l,layoutRoot:c})}function mp(e){if(e)return e.options.allowProjection!==!1?e.projection:mp(e.parent)}function cx({preloadedFeatures:e,createVisualElement:t,useRender:n,useVisualState:r,Component:o}){var i,a;e&&J9(e);function s(c,u){let f;const p={...g.useContext(Dc),...c,layoutId:ux(c)},{isStatic:h}=p,b=ox(c),m=r(c,h);if(!h&&Fc){dx(p,e);const v=fx(p);f=v.MeasureLayout,b.visualElement=sx(o,m,p,t,v.ProjectionNode)}return d.jsxs(Ds.Provider,{value:b,children:[f&&b.visualElement?d.jsx(f,{visualElement:b.visualElement,...p}):null,n(o,c,ax(m,b.visualElement,u),m,h,b.visualElement)]})}s.displayName=`motion.${typeof o=="string"?o:`create(${(a=(i=o.displayName)!==null&&i!==void 0?i:o.name)!==null&&a!==void 0?a:""})`}`;const l=g.forwardRef(s);return l[ix]=o,l}function ux({layoutId:e}){const t=g.useContext(Oc).id;return t&&e!==void 0?t+"-"+e:e}function dx(e,t){const n=g.useContext(sp).strict;if(process.env.NODE_ENV!=="production"&&t&&n){const r="You have rendered a `motion` component within a `LazyMotion` component. This will break tree shaking. Import and render a `m` component instead.";e.ignoreStrict?Vo(!1,r):Dr(!1,r)}}function fx(e){const{drag:t,layout:n}=Ho;if(!t&&!n)return{};const r={...t,...n};return{MeasureLayout:t!=null&&t.isEnabled(e)||n!=null&&n.isEnabled(e)?r.MeasureLayout:void 0,ProjectionNode:r.ProjectionNode}}const px=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function Wc(e){return typeof e!="string"||e.includes("-")?!1:!!(px.indexOf(e)>-1||/[A-Z]/u.test(e))}function gp(e){const t=[{},{}];return e==null||e.values.forEach((n,r)=>{t[0][r]=n.get(),t[1][r]=n.getVelocity()}),t}function Hc(e,t,n,r){if(typeof t=="function"){const[o,i]=gp(r);t=t(n!==void 0?n:e.custom,o,i)}if(typeof t=="string"&&(t=e.variants&&e.variants[t]),typeof t=="function"){const[o,i]=gp(r);t=t(n!==void 0?n:e.custom,o,i)}return t}const Uc=e=>Array.isArray(e),hx=e=>!!(e&&typeof e=="object"&&e.mix&&e.toValue),mx=e=>Uc(e)?e[e.length-1]||0:e,Ht=e=>!!(e&&e.getVelocity);function zs(e){const t=Ht(e)?e.get():e;return hx(t)?t.toValue():t}function gx({scrapeMotionValuesFromProps:e,createRenderState:t,onUpdate:n},r,o,i){const a={latestValues:vx(r,o,i,e),renderState:t()};return n&&(a.onMount=s=>n({props:r,current:s,...a}),a.onUpdate=s=>n(s)),a}const vp=e=>(t,n)=>{const r=g.useContext(Ds),o=g.useContext(Qi),i=()=>gx(e,t,r,o);return n?i():Ic(i)};function vx(e,t,n,r){const o={},i=r(e,{});for(const p in i)o[p]=zs(i[p]);let{initial:a,animate:s}=e;const l=Fs(e),c=dp(e);t&&c&&!l&&e.inherit!==!1&&(a===void 0&&(a=t.initial),s===void 0&&(s=t.animate));let u=n?n.initial===!1:!1;u=u||a===!1;const f=u?s:a;if(f&&typeof f!="boolean"&&!$s(f)){const p=Array.isArray(f)?f:[f];for(let h=0;h<p.length;h++){const b=Hc(e,p[h]);if(b){const{transitionEnd:m,transition:v,...S}=b;for(const y in S){let C=S[y];if(Array.isArray(C)){const j=u?C.length-1:0;C=C[j]}C!==null&&(o[y]=C)}for(const y in m)o[y]=m[y]}}}return o}const qo=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],ro=new Set(qo),bp=e=>t=>typeof t=="string"&&t.startsWith(e),yp=bp("--"),bx=bp("var(--"),qc=e=>bx(e)?yx.test(e.split("/*")[0].trim()):!1,yx=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu,xp=(e,t)=>t&&typeof e=="number"?t.transform(e):e,xr=(e,t,n)=>n>t?t:n<e?e:n,Zo={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},ta={...Zo,transform:e=>xr(0,1,e)},Ls={...Zo,default:1},na=e=>({test:t=>typeof t=="string"&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),Fr=na("deg"),Xn=na("%"),Oe=na("px"),xx=na("vh"),Cx=na("vw"),Cp={...Xn,parse:e=>Xn.parse(e)/100,transform:e=>Xn.transform(e*100)},wx={borderWidth:Oe,borderTopWidth:Oe,borderRightWidth:Oe,borderBottomWidth:Oe,borderLeftWidth:Oe,borderRadius:Oe,radius:Oe,borderTopLeftRadius:Oe,borderTopRightRadius:Oe,borderBottomRightRadius:Oe,borderBottomLeftRadius:Oe,width:Oe,maxWidth:Oe,height:Oe,maxHeight:Oe,top:Oe,right:Oe,bottom:Oe,left:Oe,padding:Oe,paddingTop:Oe,paddingRight:Oe,paddingBottom:Oe,paddingLeft:Oe,margin:Oe,marginTop:Oe,marginRight:Oe,marginBottom:Oe,marginLeft:Oe,backgroundPositionX:Oe,backgroundPositionY:Oe},Sx={rotate:Fr,rotateX:Fr,rotateY:Fr,rotateZ:Fr,scale:Ls,scaleX:Ls,scaleY:Ls,scaleZ:Ls,skew:Fr,skewX:Fr,skewY:Fr,distance:Oe,translateX:Oe,translateY:Oe,translateZ:Oe,x:Oe,y:Oe,z:Oe,perspective:Oe,transformPerspective:Oe,opacity:ta,originX:Cp,originY:Cp,originZ:Oe},wp={...Zo,transform:Math.round},Zc={...wx,...Sx,zIndex:wp,size:Oe,fillOpacity:ta,strokeOpacity:ta,numOctaves:wp},kx={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},_x=qo.length;function jx(e,t,n){let r="",o=!0;for(let i=0;i<_x;i++){const a=qo[i],s=e[a];if(s===void 0)continue;let l=!0;if(typeof s=="number"?l=s===(a.startsWith("scale")?1:0):l=parseFloat(s)===0,!l||n){const c=xp(s,Zc[a]);if(!l){o=!1;const u=kx[a]||a;r+=`${u}(${c}) `}n&&(t[a]=c)}}return r=r.trim(),n?r=n(t,o?"":r):o&&(r="none"),r}function Gc(e,t,n){const{style:r,vars:o,transformOrigin:i}=e;let a=!1,s=!1;for(const l in t){const c=t[l];if(ro.has(l)){a=!0;continue}else if(yp(l)){o[l]=c;continue}else{const u=xp(c,Zc[l]);l.startsWith("origin")?(s=!0,i[l]=u):r[l]=u}}if(t.transform||(a||n?r.transform=jx(t,e.transform,n):r.transform&&(r.transform="none")),s){const{originX:l="50%",originY:c="50%",originZ:u=0}=i;r.transformOrigin=`${l} ${c} ${u}`}}const Tx={offset:"stroke-dashoffset",array:"stroke-dasharray"},Px={offset:"strokeDashoffset",array:"strokeDasharray"};function Ex(e,t,n=1,r=0,o=!0){e.pathLength=1;const i=o?Tx:Px;e[i.offset]=Oe.transform(-r);const a=Oe.transform(t),s=Oe.transform(n);e[i.array]=`${a} ${s}`}function Sp(e,t,n){return typeof e=="string"?e:Oe.transform(t+n*e)}function Ax(e,t,n){const r=Sp(t,e.x,e.width),o=Sp(n,e.y,e.height);return`${r} ${o}`}function Kc(e,{attrX:t,attrY:n,attrScale:r,originX:o,originY:i,pathLength:a,pathSpacing:s=1,pathOffset:l=0,...c},u,f){if(Gc(e,c,f),u){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};const{attrs:p,style:h,dimensions:b}=e;p.transform&&(b&&(h.transform=p.transform),delete p.transform),b&&(o!==void 0||i!==void 0||h.transform)&&(h.transformOrigin=Ax(b,o!==void 0?o:.5,i!==void 0?i:.5)),t!==void 0&&(p.x=t),n!==void 0&&(p.y=n),r!==void 0&&(p.scale=r),a!==void 0&&Ex(p,a,s,l,!1)}const Yc=()=>({style:{},transform:{},transformOrigin:{},vars:{}}),kp=()=>({...Yc(),attrs:{}}),Xc=e=>typeof e=="string"&&e.toLowerCase()==="svg";function _p(e,{style:t,vars:n},r,o){Object.assign(e.style,t,o&&o.getProjectionStyles(r));for(const i in n)e.style.setProperty(i,n[i])}const jp=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]);function Tp(e,t,n,r){_p(e,t,void 0,r);for(const o in t.attrs)e.setAttribute(jp.has(o)?o:Rc(o),t.attrs[o])}const Bs={};function Mx(e){Object.assign(Bs,e)}function Pp(e,{layout:t,layoutId:n}){return ro.has(e)||e.startsWith("origin")||(t||n!==void 0)&&(!!Bs[e]||e==="opacity")}function Jc(e,t,n){var r;const{style:o}=e,i={};for(const a in o)(Ht(o[a])||t.style&&Ht(t.style[a])||Pp(a,e)||((r=n==null?void 0:n.getValue(a))===null||r===void 0?void 0:r.liveStyle)!==void 0)&&(i[a]=o[a]);return i}function Ep(e,t,n){const r=Jc(e,t,n);for(const o in e)if(Ht(e[o])||Ht(t[o])){const i=qo.indexOf(o)!==-1?"attr"+o.charAt(0).toUpperCase()+o.substring(1):o;r[i]=e[o]}return r}function Ox(e,t){try{t.dimensions=typeof e.getBBox=="function"?e.getBBox():e.getBoundingClientRect()}catch{t.dimensions={x:0,y:0,width:0,height:0}}}const Ap=["x","y","width","height","cx","cy","r"],Ix={useVisualState:vp({scrapeMotionValuesFromProps:Ep,createRenderState:kp,onUpdate:({props:e,prevProps:t,current:n,renderState:r,latestValues:o})=>{if(!n)return;let i=!!e.drag;if(!i){for(const s in o)if(ro.has(s)){i=!0;break}}if(!i)return;let a=!t;if(t)for(let s=0;s<Ap.length;s++){const l=Ap[s];e[l]!==t[l]&&(a=!0)}a&&vt.read(()=>{Ox(n,r),vt.render(()=>{Kc(r,o,Xc(n.tagName),e.transformTemplate),Tp(n,r)})})}})},Dx={useVisualState:vp({scrapeMotionValuesFromProps:Jc,createRenderState:Yc})};function Mp(e,t,n){for(const r in t)!Ht(t[r])&&!Pp(r,n)&&(e[r]=t[r])}function $x({transformTemplate:e},t){return g.useMemo(()=>{const n=Yc();return Gc(n,t,e),Object.assign({},n.vars,n.style)},[t])}function Fx(e,t){const n=e.style||{},r={};return Mp(r,n,e),Object.assign(r,$x(e,t)),r}function zx(e,t){const n={},r=Fx(e,t);return e.drag&&e.dragListener!==!1&&(n.draggable=!1,r.userSelect=r.WebkitUserSelect=r.WebkitTouchCallout="none",r.touchAction=e.drag===!0?"none":`pan-${e.drag==="x"?"y":"x"}`),e.tabIndex===void 0&&(e.onTap||e.onTapStart||e.whileTap)&&(n.tabIndex=0),n.style=r,n}function Lx(e,t,n,r){const o=g.useMemo(()=>{const i=kp();return Kc(i,t,Xc(r),e.transformTemplate),{...i.attrs,style:{...i.style}}},[t]);if(e.style){const i={};Mp(i,e.style,e),o.style={...i,...o.style}}return o}function Bx(e=!1){return(n,r,o,{latestValues:i},a)=>{const l=(Wc(n)?Lx:zx)(r,i,a,n),c=tx(r,typeof n=="string",e),u=n!==g.Fragment?{...c,...l,ref:o}:{},{children:f}=r,p=g.useMemo(()=>Ht(f)?f.get():f,[f]);return g.createElement(n,{...u,children:p})}}function Nx(e,t){return function(r,{forwardMotionProps:o}={forwardMotionProps:!1}){const a={...Wc(r)?Ix:Dx,preloadedFeatures:e,useRender:Bx(o),createVisualElement:t,Component:r};return cx(a)}}function Op(e,t){if(!Array.isArray(t))return!1;const n=t.length;if(n!==e.length)return!1;for(let r=0;r<n;r++)if(t[r]!==e[r])return!1;return!0}function Ns(e,t,n){const r=e.getProps();return Hc(r,t,n!==void 0?n:r.custom,e)}const Rx=zc(()=>window.ScrollTimeline!==void 0);class Vx{constructor(t){this.stop=()=>this.runAll("stop"),this.animations=t.filter(Boolean)}get finished(){return Promise.all(this.animations.map(t=>"finished"in t?t.finished:t))}getAll(t){return this.animations[0][t]}setAll(t,n){for(let r=0;r<this.animations.length;r++)this.animations[r][t]=n}attachTimeline(t,n){const r=this.animations.map(o=>{if(Rx()&&o.attachTimeline)return o.attachTimeline(t);if(typeof n=="function")return n(o)});return()=>{r.forEach((o,i)=>{o&&o(),this.animations[i].stop()})}}get time(){return this.getAll("time")}set time(t){this.setAll("time",t)}get speed(){return this.getAll("speed")}set speed(t){this.setAll("speed",t)}get startTime(){return this.getAll("startTime")}get duration(){let t=0;for(let n=0;n<this.animations.length;n++)t=Math.max(t,this.animations[n].duration);return t}runAll(t){this.animations.forEach(n=>n[t]())}flatten(){this.runAll("flatten")}play(){this.runAll("play")}pause(){this.runAll("pause")}cancel(){this.runAll("cancel")}complete(){this.runAll("complete")}}class Wx extends Vx{then(t,n){return Promise.all(this.animations).then(t).catch(n)}}function Qc(e,t){return e?e[t]||e.default||e:void 0}const eu=2e4;function Ip(e){let t=0;const n=50;let r=e.next(t);for(;!r.done&&t<eu;)t+=n,r=e.next(t);return t>=eu?1/0:t}function tu(e){return typeof e=="function"}function Dp(e,t){e.timeline=t,e.onfinish=null}const nu=e=>Array.isArray(e)&&typeof e[0]=="number",Hx={linearEasing:void 0};function Ux(e,t){const n=zc(e);return()=>{var r;return(r=Hx[t])!==null&&r!==void 0?r:n()}}const Rs=Ux(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),$p=(e,t,n=10)=>{let r="";const o=Math.max(Math.round(t/n),2);for(let i=0;i<o;i++)r+=e(Wo(0,o-1,i))+", ";return`linear(${r.substring(0,r.length-2)})`};function Fp(e){return!!(typeof e=="function"&&Rs()||!e||typeof e=="string"&&(e in ru||Rs())||nu(e)||Array.isArray(e)&&e.every(Fp))}const ra=([e,t,n,r])=>`cubic-bezier(${e}, ${t}, ${n}, ${r})`,ru={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:ra([0,.65,.55,1]),circOut:ra([.55,0,1,.45]),backIn:ra([.31,.01,.66,-.59]),backOut:ra([.33,1.53,.69,.99])};function zp(e,t){if(e)return typeof e=="function"&&Rs()?$p(e,t):nu(e)?ra(e):Array.isArray(e)?e.map(n=>zp(n,t)||ru.easeOut):ru[e]}const zn={x:!1,y:!1};function Lp(){return zn.x||zn.y}function qx(e,t,n){var r;if(e instanceof Element)return[e];if(typeof e=="string"){let o=document;const i=(r=void 0)!==null&&r!==void 0?r:o.querySelectorAll(e);return i?Array.from(i):[]}return Array.from(e)}function Bp(e,t){const n=qx(e),r=new AbortController,o={passive:!0,...t,signal:r.signal};return[n,o,()=>r.abort()]}function Np(e){return t=>{t.pointerType==="touch"||Lp()||e(t)}}function Zx(e,t,n={}){const[r,o,i]=Bp(e,n),a=Np(s=>{const{target:l}=s,c=t(s);if(typeof c!="function"||!l)return;const u=Np(f=>{c(f),l.removeEventListener("pointerleave",u)});l.addEventListener("pointerleave",u,o)});return r.forEach(s=>{s.addEventListener("pointerenter",a,o)}),i}const Rp=(e,t)=>t?e===t?!0:Rp(e,t.parentElement):!1,ou=e=>e.pointerType==="mouse"?typeof e.button!="number"||e.button<=0:e.isPrimary!==!1,Gx=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function Kx(e){return Gx.has(e.tagName)||e.tabIndex!==-1}const oa=new WeakSet;function Vp(e){return t=>{t.key==="Enter"&&e(t)}}function iu(e,t){e.dispatchEvent(new PointerEvent("pointer"+t,{isPrimary:!0,bubbles:!0}))}const Yx=(e,t)=>{const n=e.currentTarget;if(!n)return;const r=Vp(()=>{if(oa.has(n))return;iu(n,"down");const o=Vp(()=>{iu(n,"up")}),i=()=>iu(n,"cancel");n.addEventListener("keyup",o,t),n.addEventListener("blur",i,t)});n.addEventListener("keydown",r,t),n.addEventListener("blur",()=>n.removeEventListener("keydown",r),t)};function Wp(e){return ou(e)&&!Lp()}function Xx(e,t,n={}){const[r,o,i]=Bp(e,n),a=s=>{const l=s.currentTarget;if(!Wp(s)||oa.has(l))return;oa.add(l);const c=t(s),u=(h,b)=>{window.removeEventListener("pointerup",f),window.removeEventListener("pointercancel",p),!(!Wp(h)||!oa.has(l))&&(oa.delete(l),typeof c=="function"&&c(h,{success:b}))},f=h=>{u(h,n.useGlobalTarget||Rp(l,h.target))},p=h=>{u(h,!1)};window.addEventListener("pointerup",f,o),window.addEventListener("pointercancel",p,o)};return r.forEach(s=>{!Kx(s)&&s.getAttribute("tabindex")===null&&(s.tabIndex=0),(n.useGlobalTarget?window:s).addEventListener("pointerdown",a,o),s.addEventListener("focus",c=>Yx(c,o),o)}),i}function Jx(e){return e==="x"||e==="y"?zn[e]?null:(zn[e]=!0,()=>{zn[e]=!1}):zn.x||zn.y?null:(zn.x=zn.y=!0,()=>{zn.x=zn.y=!1})}const Hp=new Set(["width","height","top","left","right","bottom",...qo]);let Vs;function Qx(){Vs=void 0}const Jn={now:()=>(Vs===void 0&&Jn.set(Rt.isProcessing||K9.useManualTiming?Rt.timestamp:performance.now()),Vs),set:e=>{Vs=e,queueMicrotask(Qx)}};function au(e,t){e.indexOf(t)===-1&&e.push(t)}function su(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}class lu{constructor(){this.subscriptions=[]}add(t){return au(this.subscriptions,t),()=>su(this.subscriptions,t)}notify(t,n,r){const o=this.subscriptions.length;if(o)if(o===1)this.subscriptions[0](t,n,r);else for(let i=0;i<o;i++){const a=this.subscriptions[i];a&&a(t,n,r)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}function Up(e,t){return t?e*(1e3/t):0}const qp=30,eC=e=>!isNaN(parseFloat(e));class tC{constructor(t,n={}){this.version="11.18.2",this.canTrackVelocity=null,this.events={},this.updateAndNotify=(r,o=!0)=>{const i=Jn.now();this.updatedAt!==i&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(r),this.current!==this.prev&&this.events.change&&this.events.change.notify(this.current),o&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.hasAnimated=!1,this.setCurrent(t),this.owner=n.owner}setCurrent(t){this.current=t,this.updatedAt=Jn.now(),this.canTrackVelocity===null&&t!==void 0&&(this.canTrackVelocity=eC(this.current))}setPrevFrameValue(t=this.current){this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt}onChange(t){return process.env.NODE_ENV!=="production"&&Is(!1,'value.onChange(callback) is deprecated. Switch to value.on("change", callback).'),this.on("change",t)}on(t,n){this.events[t]||(this.events[t]=new lu);const r=this.events[t].add(n);return t==="change"?()=>{r(),vt.read(()=>{this.events.change.getSize()||this.stop()})}:r}clearListeners(){for(const t in this.events)this.events[t].clear()}attach(t,n){this.passiveEffect=t,this.stopPassiveEffect=n}set(t,n=!0){!n||!this.passiveEffect?this.updateAndNotify(t,n):this.passiveEffect(t,this.updateAndNotify)}setWithVelocity(t,n,r){this.set(n),this.prev=void 0,this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt-r}jump(t,n=!0){this.updateAndNotify(t),this.prev=t,this.prevUpdatedAt=this.prevFrameValue=void 0,n&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return this.current}getPrevious(){return this.prev}getVelocity(){const t=Jn.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||t-this.updatedAt>qp)return 0;const n=Math.min(this.updatedAt-this.prevUpdatedAt,qp);return Up(parseFloat(this.current)-parseFloat(this.prevFrameValue),n)}start(t){return this.stop(),new Promise(n=>{this.hasAnimated=!0,this.animation=t(n),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function ia(e,t){return new tC(e,t)}function nC(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,ia(n))}function rC(e,t){const n=Ns(e,t);let{transitionEnd:r={},transition:o={},...i}=n||{};i={...i,...r};for(const a in i){const s=mx(i[a]);nC(e,a,s)}}function oC(e){return!!(Ht(e)&&e.add)}function cu(e,t){const n=e.getValue("willChange");if(oC(n))return n.add(t)}function Zp(e){return e.props[pp]}const Gp=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e,iC=1e-7,aC=12;function sC(e,t,n,r,o){let i,a,s=0;do a=t+(n-t)/2,i=Gp(a,r,o)-e,i>0?n=a:t=a;while(Math.abs(i)>iC&&++s<aC);return a}function aa(e,t,n,r){if(e===t&&n===r)return sn;const o=i=>sC(i,0,1,e,n);return i=>i===0||i===1?i:Gp(o(i),t,r)}const Kp=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,Yp=e=>t=>1-e(1-t),Xp=aa(.33,1.53,.69,.99),uu=Yp(Xp),Jp=Kp(uu),Qp=e=>(e*=2)<1?.5*uu(e):.5*(2-Math.pow(2,-10*(e-1))),du=e=>1-Math.sin(Math.acos(e)),e0=Yp(du),t0=Kp(du),n0=e=>/^0[^.\s]+$/u.test(e);function lC(e){return typeof e=="number"?e===0:e!==null?e==="none"||e==="0"||n0(e):!0}const sa=e=>Math.round(e*1e5)/1e5,fu=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function cC(e){return e==null}const uC=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,pu=(e,t)=>n=>!!(typeof n=="string"&&uC.test(n)&&n.startsWith(e)||t&&!cC(n)&&Object.prototype.hasOwnProperty.call(n,t)),r0=(e,t,n)=>r=>{if(typeof r!="string")return r;const[o,i,a,s]=r.match(fu);return{[e]:parseFloat(o),[t]:parseFloat(i),[n]:parseFloat(a),alpha:s!==void 0?parseFloat(s):1}},dC=e=>xr(0,255,e),hu={...Zo,transform:e=>Math.round(dC(e))},oo={test:pu("rgb","red"),parse:r0("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:r=1})=>"rgba("+hu.transform(e)+", "+hu.transform(t)+", "+hu.transform(n)+", "+sa(ta.transform(r))+")"};function fC(e){let t="",n="",r="",o="";return e.length>5?(t=e.substring(1,3),n=e.substring(3,5),r=e.substring(5,7),o=e.substring(7,9)):(t=e.substring(1,2),n=e.substring(2,3),r=e.substring(3,4),o=e.substring(4,5),t+=t,n+=n,r+=r,o+=o),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(r,16),alpha:o?parseInt(o,16)/255:1}}const mu={test:pu("#"),parse:fC,transform:oo.transform},Go={test:pu("hsl","hue"),parse:r0("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>"hsla("+Math.round(e)+", "+Xn.transform(sa(t))+", "+Xn.transform(sa(n))+", "+sa(ta.transform(r))+")"},Ut={test:e=>oo.test(e)||mu.test(e)||Go.test(e),parse:e=>oo.test(e)?oo.parse(e):Go.test(e)?Go.parse(e):mu.parse(e),transform:e=>typeof e=="string"?e:e.hasOwnProperty("red")?oo.transform(e):Go.transform(e)},pC=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function hC(e){var t,n;return isNaN(e)&&typeof e=="string"&&(((t=e.match(fu))===null||t===void 0?void 0:t.length)||0)+(((n=e.match(pC))===null||n===void 0?void 0:n.length)||0)>0}const o0="number",i0="color",mC="var",gC="var(",a0="${}",vC=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function la(e){const t=e.toString(),n=[],r={color:[],number:[],var:[]},o=[];let i=0;const s=t.replace(vC,l=>(Ut.test(l)?(r.color.push(i),o.push(i0),n.push(Ut.parse(l))):l.startsWith(gC)?(r.var.push(i),o.push(mC),n.push(l)):(r.number.push(i),o.push(o0),n.push(parseFloat(l))),++i,a0)).split(a0);return{values:n,split:s,indexes:r,types:o}}function s0(e){return la(e).values}function l0(e){const{split:t,types:n}=la(e),r=t.length;return o=>{let i="";for(let a=0;a<r;a++)if(i+=t[a],o[a]!==void 0){const s=n[a];s===o0?i+=sa(o[a]):s===i0?i+=Ut.transform(o[a]):i+=o[a]}return i}}const bC=e=>typeof e=="number"?0:e;function yC(e){const t=s0(e);return l0(e)(t.map(bC))}const zr={test:hC,parse:s0,createTransformer:l0,getAnimatableNone:yC},xC=new Set(["brightness","contrast","saturate","opacity"]);function CC(e){const[t,n]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;const[r]=n.match(fu)||[];if(!r)return e;const o=n.replace(r,"");let i=xC.has(t)?1:0;return r!==n&&(i*=100),t+"("+i+o+")"}const wC=/\b([a-z-]*)\(.*?\)/gu,gu={...zr,getAnimatableNone:e=>{const t=e.match(wC);return t?t.map(CC).join(" "):e}},SC={...Zc,color:Ut,backgroundColor:Ut,outlineColor:Ut,fill:Ut,stroke:Ut,borderColor:Ut,borderTopColor:Ut,borderRightColor:Ut,borderBottomColor:Ut,borderLeftColor:Ut,filter:gu,WebkitFilter:gu},vu=e=>SC[e];function c0(e,t){let n=vu(e);return n!==gu&&(n=zr),n.getAnimatableNone?n.getAnimatableNone(t):void 0}const kC=new Set(["auto","none","0"]);function _C(e,t,n){let r=0,o;for(;r<e.length&&!o;){const i=e[r];typeof i=="string"&&!kC.has(i)&&la(i).values.length&&(o=e[r]),r++}if(o&&n)for(const i of t)e[i]=c0(n,o)}const u0=e=>e===Zo||e===Oe,d0=(e,t)=>parseFloat(e.split(", ")[t]),f0=(e,t)=>(n,{transform:r})=>{if(r==="none"||!r)return 0;const o=r.match(/^matrix3d\((.+)\)$/u);if(o)return d0(o[1],t);{const i=r.match(/^matrix\((.+)\)$/u);return i?d0(i[1],e):0}},jC=new Set(["x","y","z"]),TC=qo.filter(e=>!jC.has(e));function PC(e){const t=[];return TC.forEach(n=>{const r=e.getValue(n);r!==void 0&&(t.push([n,r.get()]),r.set(n.startsWith("scale")?1:0))}),t}const Ko={width:({x:e},{paddingLeft:t="0",paddingRight:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),height:({y:e},{paddingTop:t="0",paddingBottom:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:f0(4,13),y:f0(5,14)};Ko.translateX=Ko.x,Ko.translateY=Ko.y;const io=new Set;let bu=!1,yu=!1;function p0(){if(yu){const e=Array.from(io).filter(r=>r.needsMeasurement),t=new Set(e.map(r=>r.element)),n=new Map;t.forEach(r=>{const o=PC(r);o.length&&(n.set(r,o),r.render())}),e.forEach(r=>r.measureInitialState()),t.forEach(r=>{r.render();const o=n.get(r);o&&o.forEach(([i,a])=>{var s;(s=r.getValue(i))===null||s===void 0||s.set(a)})}),e.forEach(r=>r.measureEndState()),e.forEach(r=>{r.suspendedScrollY!==void 0&&window.scrollTo(0,r.suspendedScrollY)})}yu=!1,bu=!1,io.forEach(e=>e.complete()),io.clear()}function h0(){io.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(yu=!0)})}function EC(){h0(),p0()}class xu{constructor(t,n,r,o,i,a=!1){this.isComplete=!1,this.isAsync=!1,this.needsMeasurement=!1,this.isScheduled=!1,this.unresolvedKeyframes=[...t],this.onComplete=n,this.name=r,this.motionValue=o,this.element=i,this.isAsync=a}scheduleResolve(){this.isScheduled=!0,this.isAsync?(io.add(this),bu||(bu=!0,vt.read(h0),vt.resolveKeyframes(p0))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:t,name:n,element:r,motionValue:o}=this;for(let i=0;i<t.length;i++)if(t[i]===null)if(i===0){const a=o==null?void 0:o.get(),s=t[t.length-1];if(a!==void 0)t[0]=a;else if(r&&n){const l=r.readValue(n,s);l!=null&&(t[0]=l)}t[0]===void 0&&(t[0]=s),o&&a===void 0&&o.set(t[0])}else t[i]=t[i-1]}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(){this.isComplete=!0,this.onComplete(this.unresolvedKeyframes,this.finalKeyframe),io.delete(this)}cancel(){this.isComplete||(this.isScheduled=!1,io.delete(this))}resume(){this.isComplete||this.scheduleResolve()}}const m0=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e),AC=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function MC(e){const t=AC.exec(e);if(!t)return[,];const[,n,r,o]=t;return[`--${n??r}`,o]}const OC=4;function g0(e,t,n=1){Dr(n<=OC,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`);const[r,o]=MC(e);if(!r)return;const i=window.getComputedStyle(t).getPropertyValue(r);if(i){const a=i.trim();return m0(a)?parseFloat(a):a}return qc(o)?g0(o,t,n+1):o}const v0=e=>t=>t.test(e),b0=[Zo,Oe,Xn,Fr,Cx,xx,{test:e=>e==="auto",parse:e=>e}],y0=e=>b0.find(v0(e));class x0 extends xu{constructor(t,n,r,o,i){super(t,n,r,o,i,!0)}readKeyframes(){const{unresolvedKeyframes:t,element:n,name:r}=this;if(!n||!n.current)return;super.readKeyframes();for(let l=0;l<t.length;l++){let c=t[l];if(typeof c=="string"&&(c=c.trim(),qc(c))){const u=g0(c,n.current);u!==void 0&&(t[l]=u),l===t.length-1&&(this.finalKeyframe=c)}}if(this.resolveNoneKeyframes(),!Hp.has(r)||t.length!==2)return;const[o,i]=t,a=y0(o),s=y0(i);if(a!==s)if(u0(a)&&u0(s))for(let l=0;l<t.length;l++){const c=t[l];typeof c=="string"&&(t[l]=parseFloat(c))}else this.needsMeasurement=!0}resolveNoneKeyframes(){const{unresolvedKeyframes:t,name:n}=this,r=[];for(let o=0;o<t.length;o++)lC(t[o])&&r.push(o);r.length&&_C(t,r,n)}measureInitialState(){const{element:t,unresolvedKeyframes:n,name:r}=this;if(!t||!t.current)return;r==="height"&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=Ko[r](t.measureViewportBox(),window.getComputedStyle(t.current)),n[0]=this.measuredOrigin;const o=n[n.length-1];o!==void 0&&t.getValue(r,o).jump(o,!1)}measureEndState(){var t;const{element:n,name:r,unresolvedKeyframes:o}=this;if(!n||!n.current)return;const i=n.getValue(r);i&&i.jump(this.measuredOrigin,!1);const a=o.length-1,s=o[a];o[a]=Ko[r](n.measureViewportBox(),window.getComputedStyle(n.current)),s!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=s),!((t=this.removedTransforms)===null||t===void 0)&&t.length&&this.removedTransforms.forEach(([l,c])=>{n.getValue(l).set(c)}),this.resolveNoneKeyframes()}}const C0=(e,t)=>t==="zIndex"?!1:!!(typeof e=="number"||Array.isArray(e)||typeof e=="string"&&(zr.test(e)||e==="0")&&!e.startsWith("url("));function IC(e){const t=e[0];if(e.length===1)return!0;for(let n=0;n<e.length;n++)if(e[n]!==t)return!0}function DC(e,t,n,r){const o=e[0];if(o===null)return!1;if(t==="display"||t==="visibility")return!0;const i=e[e.length-1],a=C0(o,t),s=C0(i,t);return Vo(a===s,`You are trying to animate ${t} from "${o}" to "${i}". ${o} is not an animatable value - to enable this animation set ${o} to a value animatable to ${i} via the \`style\` property.`),!a||!s?!1:IC(e)||(n==="spring"||tu(n))&&r}const $C=e=>e!==null;function Ws(e,{repeat:t,repeatType:n="loop"},r){const o=e.filter($C),i=t&&n!=="loop"&&t%2===1?0:o.length-1;return!i||r===void 0?o[i]:r}const FC=40;class w0{constructor({autoplay:t=!0,delay:n=0,type:r="keyframes",repeat:o=0,repeatDelay:i=0,repeatType:a="loop",...s}){this.isStopped=!1,this.hasAttemptedResolve=!1,this.createdAt=Jn.now(),this.options={autoplay:t,delay:n,type:r,repeat:o,repeatDelay:i,repeatType:a,...s},this.updateFinishedPromise()}calcStartTime(){return this.resolvedAt?this.resolvedAt-this.createdAt>FC?this.resolvedAt:this.createdAt:this.createdAt}get resolved(){return!this._resolved&&!this.hasAttemptedResolve&&EC(),this._resolved}onKeyframesResolved(t,n){this.resolvedAt=Jn.now(),this.hasAttemptedResolve=!0;const{name:r,type:o,velocity:i,delay:a,onComplete:s,onUpdate:l,isGenerator:c}=this.options;if(!c&&!DC(t,r,o,i))if(a)this.options.duration=0;else{l&&l(Ws(t,this.options,n)),s&&s(),this.resolveFinishedPromise();return}const u=this.initPlayback(t,n);u!==!1&&(this._resolved={keyframes:t,finalKeyframe:n,...u},this.onPostResolved())}onPostResolved(){}then(t,n){return this.currentFinishedPromise.then(t,n)}flatten(){this.options.type="keyframes",this.options.ease="linear"}updateFinishedPromise(){this.currentFinishedPromise=new Promise(t=>{this.resolveFinishedPromise=t})}}const wt=(e,t,n)=>e+(t-e)*n;function Cu(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+(t-e)*6*n:n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function zC({hue:e,saturation:t,lightness:n,alpha:r}){e/=360,t/=100,n/=100;let o=0,i=0,a=0;if(!t)o=i=a=n;else{const s=n<.5?n*(1+t):n+t-n*t,l=2*n-s;o=Cu(l,s,e+1/3),i=Cu(l,s,e),a=Cu(l,s,e-1/3)}return{red:Math.round(o*255),green:Math.round(i*255),blue:Math.round(a*255),alpha:r}}function Hs(e,t){return n=>n>0?t:e}const wu=(e,t,n)=>{const r=e*e,o=n*(t*t-r)+r;return o<0?0:Math.sqrt(o)},LC=[mu,oo,Go],BC=e=>LC.find(t=>t.test(e));function S0(e){const t=BC(e);if(Vo(!!t,`'${e}' is not an animatable color. Use the equivalent color code instead.`),!t)return!1;let n=t.parse(e);return t===Go&&(n=zC(n)),n}const k0=(e,t)=>{const n=S0(e),r=S0(t);if(!n||!r)return Hs(e,t);const o={...n};return i=>(o.red=wu(n.red,r.red,i),o.green=wu(n.green,r.green,i),o.blue=wu(n.blue,r.blue,i),o.alpha=wt(n.alpha,r.alpha,i),oo.transform(o))},NC=(e,t)=>n=>t(e(n)),ca=(...e)=>e.reduce(NC),Su=new Set(["none","hidden"]);function RC(e,t){return Su.has(e)?n=>n<=0?e:t:n=>n>=1?t:e}function VC(e,t){return n=>wt(e,t,n)}function ku(e){return typeof e=="number"?VC:typeof e=="string"?qc(e)?Hs:Ut.test(e)?k0:UC:Array.isArray(e)?_0:typeof e=="object"?Ut.test(e)?k0:WC:Hs}function _0(e,t){const n=[...e],r=n.length,o=e.map((i,a)=>ku(i)(i,t[a]));return i=>{for(let a=0;a<r;a++)n[a]=o[a](i);return n}}function WC(e,t){const n={...e,...t},r={};for(const o in n)e[o]!==void 0&&t[o]!==void 0&&(r[o]=ku(e[o])(e[o],t[o]));return o=>{for(const i in r)n[i]=r[i](o);return n}}function HC(e,t){var n;const r=[],o={color:0,var:0,number:0};for(let i=0;i<t.values.length;i++){const a=t.types[i],s=e.indexes[a][o[a]],l=(n=e.values[s])!==null&&n!==void 0?n:0;r[i]=l,o[a]++}return r}const UC=(e,t)=>{const n=zr.createTransformer(t),r=la(e),o=la(t);return r.indexes.var.length===o.indexes.var.length&&r.indexes.color.length===o.indexes.color.length&&r.indexes.number.length>=o.indexes.number.length?Su.has(e)&&!o.values.length||Su.has(t)&&!r.values.length?RC(e,t):ca(_0(HC(r,o),o.values),n):(Vo(!0,`Complex values '${e}' and '${t}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`),Hs(e,t))};function j0(e,t,n){return typeof e=="number"&&typeof t=="number"&&typeof n=="number"?wt(e,t,n):ku(e)(e,t)}const qC=5;function T0(e,t,n){const r=Math.max(t-qC,0);return Up(n-e(r),t-r)}const St={stiffness:100,damping:10,mass:1,velocity:0,duration:800,bounce:.3,visualDuration:.3,restSpeed:{granular:.01,default:2},restDelta:{granular:.005,default:.5},minDuration:.01,maxDuration:10,minDamping:.05,maxDamping:1},_u=.001;function ZC({duration:e=St.duration,bounce:t=St.bounce,velocity:n=St.velocity,mass:r=St.mass}){let o,i;Vo(e<=Yn(St.maxDuration),"Spring duration must be 10 seconds or less");let a=1-t;a=xr(St.minDamping,St.maxDamping,a),e=xr(St.minDuration,St.maxDuration,yr(e)),a<1?(o=c=>{const u=c*a,f=u*e,p=u-n,h=ju(c,a),b=Math.exp(-f);return _u-p/h*b},i=c=>{const f=c*a*e,p=f*n+n,h=Math.pow(a,2)*Math.pow(c,2)*e,b=Math.exp(-f),m=ju(Math.pow(c,2),a);return(-o(c)+_u>0?-1:1)*((p-h)*b)/m}):(o=c=>{const u=Math.exp(-c*e),f=(c-n)*e+1;return-_u+u*f},i=c=>{const u=Math.exp(-c*e),f=(n-c)*(e*e);return u*f});const s=5/e,l=KC(o,i,s);if(e=Yn(e),isNaN(l))return{stiffness:St.stiffness,damping:St.damping,duration:e};{const c=Math.pow(l,2)*r;return{stiffness:c,damping:a*2*Math.sqrt(r*c),duration:e}}}const GC=12;function KC(e,t,n){let r=n;for(let o=1;o<GC;o++)r=r-e(r)/t(r);return r}function ju(e,t){return e*Math.sqrt(1-t*t)}const YC=["duration","bounce"],XC=["stiffness","damping","mass"];function P0(e,t){return t.some(n=>e[n]!==void 0)}function JC(e){let t={velocity:St.velocity,stiffness:St.stiffness,damping:St.damping,mass:St.mass,isResolvedFromDuration:!1,...e};if(!P0(e,XC)&&P0(e,YC))if(e.visualDuration){const n=e.visualDuration,r=2*Math.PI/(n*1.2),o=r*r,i=2*xr(.05,1,1-(e.bounce||0))*Math.sqrt(o);t={...t,mass:St.mass,stiffness:o,damping:i}}else{const n=ZC(e);t={...t,...n,mass:St.mass},t.isResolvedFromDuration=!0}return t}function E0(e=St.visualDuration,t=St.bounce){const n=typeof e!="object"?{visualDuration:e,keyframes:[0,1],bounce:t}:e;let{restSpeed:r,restDelta:o}=n;const i=n.keyframes[0],a=n.keyframes[n.keyframes.length-1],s={done:!1,value:i},{stiffness:l,damping:c,mass:u,duration:f,velocity:p,isResolvedFromDuration:h}=JC({...n,velocity:-yr(n.velocity||0)}),b=p||0,m=c/(2*Math.sqrt(l*u)),v=a-i,S=yr(Math.sqrt(l/u)),y=Math.abs(v)<5;r||(r=y?St.restSpeed.granular:St.restSpeed.default),o||(o=y?St.restDelta.granular:St.restDelta.default);let C;if(m<1){const x=ju(S,m);C=E=>{const P=Math.exp(-m*S*E);return a-P*((b+m*S*v)/x*Math.sin(x*E)+v*Math.cos(x*E))}}else if(m===1)C=x=>a-Math.exp(-S*x)*(v+(b+S*v)*x);else{const x=S*Math.sqrt(m*m-1);C=E=>{const P=Math.exp(-m*S*E),D=Math.min(x*E,300);return a-P*((b+m*S*v)*Math.sinh(D)+x*v*Math.cosh(D))/x}}const j={calculatedDuration:h&&f||null,next:x=>{const E=C(x);if(h)s.done=x>=f;else{let P=0;m<1&&(P=x===0?Yn(b):T0(C,x,E));const D=Math.abs(P)<=r,R=Math.abs(a-E)<=o;s.done=D&&R}return s.value=s.done?a:E,s},toString:()=>{const x=Math.min(Ip(j),eu),E=$p(P=>j.next(x*P).value,x,30);return x+"ms "+E}};return j}function A0({keyframes:e,velocity:t=0,power:n=.8,timeConstant:r=325,bounceDamping:o=10,bounceStiffness:i=500,modifyTarget:a,min:s,max:l,restDelta:c=.5,restSpeed:u}){const f=e[0],p={done:!1,value:f},h=D=>s!==void 0&&D<s||l!==void 0&&D>l,b=D=>s===void 0?l:l===void 0||Math.abs(s-D)<Math.abs(l-D)?s:l;let m=n*t;const v=f+m,S=a===void 0?v:a(v);S!==v&&(m=S-f);const y=D=>-m*Math.exp(-D/r),C=D=>S+y(D),j=D=>{const R=y(D),L=C(D);p.done=Math.abs(R)<=c,p.value=p.done?S:L};let x,E;const P=D=>{h(p.value)&&(x=D,E=E0({keyframes:[p.value,b(p.value)],velocity:T0(C,D,p.value),damping:o,stiffness:i,restDelta:c,restSpeed:u}))};return P(0),{calculatedDuration:null,next:D=>{let R=!1;return!E&&x===void 0&&(R=!0,j(D),P(D)),x!==void 0&&D>=x?E.next(D-x):(!R&&j(D),p)}}}const QC=aa(.42,0,1,1),ew=aa(0,0,.58,1),M0=aa(.42,0,.58,1),tw=e=>Array.isArray(e)&&typeof e[0]!="number",O0={linear:sn,easeIn:QC,easeInOut:M0,easeOut:ew,circIn:du,circInOut:t0,circOut:e0,backIn:uu,backInOut:Jp,backOut:Xp,anticipate:Qp},I0=e=>{if(nu(e)){Dr(e.length===4,"Cubic bezier arrays must contain four numerical values.");const[t,n,r,o]=e;return aa(t,n,r,o)}else if(typeof e=="string")return Dr(O0[e]!==void 0,`Invalid easing type '${e}'`),O0[e];return e};function nw(e,t,n){const r=[],o=n||j0,i=e.length-1;for(let a=0;a<i;a++){let s=o(e[a],e[a+1]);if(t){const l=Array.isArray(t)?t[a]||sn:t;s=ca(l,s)}r.push(s)}return r}function rw(e,t,{clamp:n=!0,ease:r,mixer:o}={}){const i=e.length;if(Dr(i===t.length,"Both input and output ranges must be the same length"),i===1)return()=>t[0];if(i===2&&t[0]===t[1])return()=>t[1];const a=e[0]===e[1];e[0]>e[i-1]&&(e=[...e].reverse(),t=[...t].reverse());const s=nw(t,r,o),l=s.length,c=u=>{if(a&&u<e[0])return t[0];let f=0;if(l>1)for(;f<e.length-2&&!(u<e[f+1]);f++);const p=Wo(e[f],e[f+1],u);return s[f](p)};return n?u=>c(xr(e[0],e[i-1],u)):c}function ow(e,t){const n=e[e.length-1];for(let r=1;r<=t;r++){const o=Wo(0,t,r);e.push(wt(n,1,o))}}function iw(e){const t=[0];return ow(t,e.length-1),t}function aw(e,t){return e.map(n=>n*t)}function sw(e,t){return e.map(()=>t||M0).splice(0,e.length-1)}function Us({duration:e=300,keyframes:t,times:n,ease:r="easeInOut"}){const o=tw(r)?r.map(I0):I0(r),i={done:!1,value:t[0]},a=aw(n&&n.length===t.length?n:iw(t),e),s=rw(a,t,{ease:Array.isArray(o)?o:sw(t,o)});return{calculatedDuration:e,next:l=>(i.value=s(l),i.done=l>=e,i)}}const lw=e=>{const t=({timestamp:n})=>e(n);return{start:()=>vt.update(t,!0),stop:()=>$r(t),now:()=>Rt.isProcessing?Rt.timestamp:Jn.now()}},cw={decay:A0,inertia:A0,tween:Us,keyframes:Us,spring:E0},uw=e=>e/100;class Tu extends w0{constructor(t){super(t),this.holdTime=null,this.cancelTime=null,this.currentTime=0,this.playbackSpeed=1,this.pendingPlayState="running",this.startTime=null,this.state="idle",this.stop=()=>{if(this.resolver.cancel(),this.isStopped=!0,this.state==="idle")return;this.teardown();const{onStop:l}=this.options;l&&l()};const{name:n,motionValue:r,element:o,keyframes:i}=this.options,a=(o==null?void 0:o.KeyframeResolver)||xu,s=(l,c)=>this.onKeyframesResolved(l,c);this.resolver=new a(i,s,n,r,o),this.resolver.scheduleResolve()}flatten(){super.flatten(),this._resolved&&Object.assign(this._resolved,this.initPlayback(this._resolved.keyframes))}initPlayback(t){const{type:n="keyframes",repeat:r=0,repeatDelay:o=0,repeatType:i,velocity:a=0}=this.options,s=tu(n)?n:cw[n]||Us;let l,c;s!==Us&&typeof t[0]!="number"&&(process.env.NODE_ENV!=="production"&&Dr(t.length===2,`Only two keyframes currently supported with spring and inertia animations. Trying to animate ${t}`),l=ca(uw,j0(t[0],t[1])),t=[0,100]);const u=s({...this.options,keyframes:t});i==="mirror"&&(c=s({...this.options,keyframes:[...t].reverse(),velocity:-a})),u.calculatedDuration===null&&(u.calculatedDuration=Ip(u));const{calculatedDuration:f}=u,p=f+o,h=p*(r+1)-o;return{generator:u,mirroredGenerator:c,mapPercentToKeyframes:l,calculatedDuration:f,resolvedDuration:p,totalDuration:h}}onPostResolved(){const{autoplay:t=!0}=this.options;this.play(),this.pendingPlayState==="paused"||!t?this.pause():this.state=this.pendingPlayState}tick(t,n=!1){const{resolved:r}=this;if(!r){const{keyframes:D}=this.options;return{done:!0,value:D[D.length-1]}}const{finalKeyframe:o,generator:i,mirroredGenerator:a,mapPercentToKeyframes:s,keyframes:l,calculatedDuration:c,totalDuration:u,resolvedDuration:f}=r;if(this.startTime===null)return i.next(0);const{delay:p,repeat:h,repeatType:b,repeatDelay:m,onUpdate:v}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-u/this.speed,this.startTime)),n?this.currentTime=t:this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=Math.round(t-this.startTime)*this.speed;const S=this.currentTime-p*(this.speed>=0?1:-1),y=this.speed>=0?S<0:S>u;this.currentTime=Math.max(S,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=u);let C=this.currentTime,j=i;if(h){const D=Math.min(this.currentTime,u)/f;let R=Math.floor(D),L=D%1;!L&&D>=1&&(L=1),L===1&&R--,R=Math.min(R,h+1),!!(R%2)&&(b==="reverse"?(L=1-L,m&&(L-=m/f)):b==="mirror"&&(j=a)),C=xr(0,1,L)*f}const x=y?{done:!1,value:l[0]}:j.next(C);s&&(x.value=s(x.value));let{done:E}=x;!y&&c!==null&&(E=this.speed>=0?this.currentTime>=u:this.currentTime<=0);const P=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&E);return P&&o!==void 0&&(x.value=Ws(l,this.options,o)),v&&v(x.value),P&&this.finish(),x}get duration(){const{resolved:t}=this;return t?yr(t.calculatedDuration):0}get time(){return yr(this.currentTime)}set time(t){t=Yn(t),this.currentTime=t,this.holdTime!==null||this.speed===0?this.holdTime=t:this.driver&&(this.startTime=this.driver.now()-t/this.speed)}get speed(){return this.playbackSpeed}set speed(t){const n=this.playbackSpeed!==t;this.playbackSpeed=t,n&&(this.time=yr(this.currentTime))}play(){if(this.resolver.isScheduled||this.resolver.resume(),!this._resolved){this.pendingPlayState="running";return}if(this.isStopped)return;const{driver:t=lw,onPlay:n,startTime:r}=this.options;this.driver||(this.driver=t(i=>this.tick(i))),n&&n();const o=this.driver.now();this.holdTime!==null?this.startTime=o-this.holdTime:this.startTime?this.state==="finished"&&(this.startTime=o):this.startTime=r??this.calcStartTime(),this.state==="finished"&&this.updateFinishedPromise(),this.cancelTime=this.startTime,this.holdTime=null,this.state="running",this.driver.start()}pause(){var t;if(!this._resolved){this.pendingPlayState="paused";return}this.state="paused",this.holdTime=(t=this.currentTime)!==null&&t!==void 0?t:0}complete(){this.state!=="running"&&this.play(),this.pendingPlayState=this.state="finished",this.holdTime=null}finish(){this.teardown(),this.state="finished";const{onComplete:t}=this.options;t&&t()}cancel(){this.cancelTime!==null&&this.tick(this.cancelTime),this.teardown(),this.updateFinishedPromise()}teardown(){this.state="idle",this.stopDriver(),this.resolveFinishedPromise(),this.updateFinishedPromise(),this.startTime=this.cancelTime=null,this.resolver.cancel()}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(t){return this.startTime=0,this.tick(t,!0)}}const dw=new Set(["opacity","clipPath","filter","transform"]);function fw(e,t,n,{delay:r=0,duration:o=300,repeat:i=0,repeatType:a="loop",ease:s="easeInOut",times:l}={}){const c={[t]:n};l&&(c.offset=l);const u=zp(s,o);return Array.isArray(u)&&(c.easing=u),e.animate(c,{delay:r,duration:o,easing:Array.isArray(u)?"linear":u,fill:"both",iterations:i+1,direction:a==="reverse"?"alternate":"normal"})}const pw=zc(()=>Object.hasOwnProperty.call(Element.prototype,"animate")),qs=10,hw=2e4;function mw(e){return tu(e.type)||e.type==="spring"||!Fp(e.ease)}function gw(e,t){const n=new Tu({...t,keyframes:e,repeat:0,delay:0,isGenerator:!0});let r={done:!1,value:e[0]};const o=[];let i=0;for(;!r.done&&i<hw;)r=n.sample(i),o.push(r.value),i+=qs;return{times:void 0,keyframes:o,duration:i-qs,ease:"linear"}}const D0={anticipate:Qp,backInOut:Jp,circInOut:t0};function vw(e){return e in D0}class $0 extends w0{constructor(t){super(t);const{name:n,motionValue:r,element:o,keyframes:i}=this.options;this.resolver=new x0(i,(a,s)=>this.onKeyframesResolved(a,s),n,r,o),this.resolver.scheduleResolve()}initPlayback(t,n){let{duration:r=300,times:o,ease:i,type:a,motionValue:s,name:l,startTime:c}=this.options;if(!s.owner||!s.owner.current)return!1;if(typeof i=="string"&&Rs()&&vw(i)&&(i=D0[i]),mw(this.options)){const{onComplete:f,onUpdate:p,motionValue:h,element:b,...m}=this.options,v=gw(t,m);t=v.keyframes,t.length===1&&(t[1]=t[0]),r=v.duration,o=v.times,i=v.ease,a="keyframes"}const u=fw(s.owner.current,l,t,{...this.options,duration:r,times:o,ease:i});return u.startTime=c??this.calcStartTime(),this.pendingTimeline?(Dp(u,this.pendingTimeline),this.pendingTimeline=void 0):u.onfinish=()=>{const{onComplete:f}=this.options;s.set(Ws(t,this.options,n)),f&&f(),this.cancel(),this.resolveFinishedPromise()},{animation:u,duration:r,times:o,type:a,ease:i,keyframes:t}}get duration(){const{resolved:t}=this;if(!t)return 0;const{duration:n}=t;return yr(n)}get time(){const{resolved:t}=this;if(!t)return 0;const{animation:n}=t;return yr(n.currentTime||0)}set time(t){const{resolved:n}=this;if(!n)return;const{animation:r}=n;r.currentTime=Yn(t)}get speed(){const{resolved:t}=this;if(!t)return 1;const{animation:n}=t;return n.playbackRate}set speed(t){const{resolved:n}=this;if(!n)return;const{animation:r}=n;r.playbackRate=t}get state(){const{resolved:t}=this;if(!t)return"idle";const{animation:n}=t;return n.playState}get startTime(){const{resolved:t}=this;if(!t)return null;const{animation:n}=t;return n.startTime}attachTimeline(t){if(!this._resolved)this.pendingTimeline=t;else{const{resolved:n}=this;if(!n)return sn;const{animation:r}=n;Dp(r,t)}return sn}play(){if(this.isStopped)return;const{resolved:t}=this;if(!t)return;const{animation:n}=t;n.playState==="finished"&&this.updateFinishedPromise(),n.play()}pause(){const{resolved:t}=this;if(!t)return;const{animation:n}=t;n.pause()}stop(){if(this.resolver.cancel(),this.isStopped=!0,this.state==="idle")return;this.resolveFinishedPromise(),this.updateFinishedPromise();const{resolved:t}=this;if(!t)return;const{animation:n,keyframes:r,duration:o,type:i,ease:a,times:s}=t;if(n.playState==="idle"||n.playState==="finished")return;if(this.time){const{motionValue:c,onUpdate:u,onComplete:f,element:p,...h}=this.options,b=new Tu({...h,keyframes:r,duration:o,type:i,ease:a,times:s,isGenerator:!0}),m=Yn(this.time);c.setWithVelocity(b.sample(m-qs).value,b.sample(m).value,qs)}const{onStop:l}=this.options;l&&l(),this.cancel()}complete(){const{resolved:t}=this;t&&t.animation.finish()}cancel(){const{resolved:t}=this;t&&t.animation.cancel()}static supports(t){const{motionValue:n,name:r,repeatDelay:o,repeatType:i,damping:a,type:s}=t;if(!n||!n.owner||!(n.owner.current instanceof HTMLElement))return!1;const{onUpdate:l,transformTemplate:c}=n.owner.getProps();return pw()&&r&&dw.has(r)&&!l&&!c&&!o&&i!=="mirror"&&a!==0&&s!=="inertia"}}const bw={type:"spring",stiffness:500,damping:25,restSpeed:10},yw=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),xw={type:"keyframes",duration:.8},Cw={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},ww=(e,{keyframes:t})=>t.length>2?xw:ro.has(e)?e.startsWith("scale")?yw(t[1]):bw:Cw;function Sw({when:e,delay:t,delayChildren:n,staggerChildren:r,staggerDirection:o,repeat:i,repeatType:a,repeatDelay:s,from:l,elapsed:c,...u}){return!!Object.keys(u).length}const Pu=(e,t,n,r={},o,i)=>a=>{const s=Qc(r,e)||{},l=s.delay||r.delay||0;let{elapsed:c=0}=r;c=c-Yn(l);let u={keyframes:Array.isArray(n)?n:[null,n],ease:"easeOut",velocity:t.getVelocity(),...s,delay:-c,onUpdate:p=>{t.set(p),s.onUpdate&&s.onUpdate(p)},onComplete:()=>{a(),s.onComplete&&s.onComplete()},name:e,motionValue:t,element:i?void 0:o};Sw(s)||(u={...u,...ww(e,u)}),u.duration&&(u.duration=Yn(u.duration)),u.repeatDelay&&(u.repeatDelay=Yn(u.repeatDelay)),u.from!==void 0&&(u.keyframes[0]=u.from);let f=!1;if((u.type===!1||u.duration===0&&!u.repeatDelay)&&(u.duration=0,u.delay===0&&(f=!0)),f&&!i&&t.get()!==void 0){const p=Ws(u.keyframes,s);if(p!==void 0)return vt.update(()=>{u.onUpdate(p),u.onComplete()}),new Wx([])}return!i&&$0.supports(u)?new $0(u):new Tu(u)};function kw({protectedKeys:e,needsAnimating:t},n){const r=e.hasOwnProperty(n)&&t[n]!==!0;return t[n]=!1,r}function F0(e,t,{delay:n=0,transitionOverride:r,type:o}={}){var i;let{transition:a=e.getDefaultTransition(),transitionEnd:s,...l}=t;r&&(a=r);const c=[],u=o&&e.animationState&&e.animationState.getState()[o];for(const f in l){const p=e.getValue(f,(i=e.latestValues[f])!==null&&i!==void 0?i:null),h=l[f];if(h===void 0||u&&kw(u,f))continue;const b={delay:n,...Qc(a||{},f)};let m=!1;if(window.MotionHandoffAnimation){const S=Zp(e);if(S){const y=window.MotionHandoffAnimation(S,f,vt);y!==null&&(b.startTime=y,m=!0)}}cu(e,f),p.start(Pu(f,p,h,e.shouldReduceMotion&&Hp.has(f)?{type:!1}:b,e,m));const v=p.animation;v&&c.push(v)}return s&&Promise.all(c).then(()=>{vt.update(()=>{s&&rC(e,s)})}),c}function Eu(e,t,n={}){var r;const o=Ns(e,t,n.type==="exit"?(r=e.presenceContext)===null||r===void 0?void 0:r.custom:void 0);let{transition:i=e.getDefaultTransition()||{}}=o||{};n.transitionOverride&&(i=n.transitionOverride);const a=o?()=>Promise.all(F0(e,o,n)):()=>Promise.resolve(),s=e.variantChildren&&e.variantChildren.size?(c=0)=>{const{delayChildren:u=0,staggerChildren:f,staggerDirection:p}=i;return _w(e,t,u+c,f,p,n)}:()=>Promise.resolve(),{when:l}=i;if(l){const[c,u]=l==="beforeChildren"?[a,s]:[s,a];return c().then(()=>u())}else return Promise.all([a(),s(n.delay)])}function _w(e,t,n=0,r=0,o=1,i){const a=[],s=(e.variantChildren.size-1)*r,l=o===1?(c=0)=>c*r:(c=0)=>s-c*r;return Array.from(e.variantChildren).sort(jw).forEach((c,u)=>{c.notify("AnimationStart",t),a.push(Eu(c,t,{...i,delay:n+l(u)}).then(()=>c.notify("AnimationComplete",t)))}),Promise.all(a)}function jw(e,t){return e.sortNodePosition(t)}function Tw(e,t,n={}){e.notify("AnimationStart",t);let r;if(Array.isArray(t)){const o=t.map(i=>Eu(e,i,n));r=Promise.all(o)}else if(typeof t=="string")r=Eu(e,t,n);else{const o=typeof t=="function"?Ns(e,t,n.custom):t;r=Promise.all(F0(e,o,n))}return r.then(()=>{e.notify("AnimationComplete",t)})}const Pw=Nc.length;function z0(e){if(!e)return;if(!e.isControllingVariants){const n=e.parent?z0(e.parent)||{}:{};return e.props.initial!==void 0&&(n.initial=e.props.initial),n}const t={};for(let n=0;n<Pw;n++){const r=Nc[n],o=e.props[r];(ea(o)||o===!1)&&(t[r]=o)}return t}const Ew=[...Bc].reverse(),Aw=Bc.length;function Mw(e){return t=>Promise.all(t.map(({animation:n,options:r})=>Tw(e,n,r)))}function Ow(e){let t=Mw(e),n=L0(),r=!0;const o=l=>(c,u)=>{var f;const p=Ns(e,u,l==="exit"?(f=e.presenceContext)===null||f===void 0?void 0:f.custom:void 0);if(p){const{transition:h,transitionEnd:b,...m}=p;c={...c,...m,...b}}return c};function i(l){t=l(e)}function a(l){const{props:c}=e,u=z0(e.parent)||{},f=[],p=new Set;let h={},b=1/0;for(let v=0;v<Aw;v++){const S=Ew[v],y=n[S],C=c[S]!==void 0?c[S]:u[S],j=ea(C),x=S===l?y.isActive:null;x===!1&&(b=v);let E=C===u[S]&&C!==c[S]&&j;if(E&&r&&e.manuallyAnimateOnMount&&(E=!1),y.protectedKeys={...h},!y.isActive&&x===null||!C&&!y.prevProp||$s(C)||typeof C=="boolean")continue;const P=Iw(y.prevProp,C);let D=P||S===l&&y.isActive&&!E&&j||v>b&&j,R=!1;const L=Array.isArray(C)?C:[C];let Z=L.reduce(o(S),{});x===!1&&(Z={});const{prevResolvedValues:ce={}}=y,ae={...ce,...Z},z=N=>{D=!0,p.has(N)&&(R=!0,p.delete(N)),y.needsAnimating[N]=!0;const ue=e.getValue(N);ue&&(ue.liveStyle=!1)};for(const N in ae){const ue=Z[N],he=ce[N];if(h.hasOwnProperty(N))continue;let O=!1;Uc(ue)&&Uc(he)?O=!Op(ue,he):O=ue!==he,O?ue!=null?z(N):p.add(N):ue!==void 0&&p.has(N)?z(N):y.protectedKeys[N]=!0}y.prevProp=C,y.prevResolvedValues=Z,y.isActive&&(h={...h,...Z}),r&&e.blockInitialAnimation&&(D=!1),D&&(!(E&&P)||R)&&f.push(...L.map(N=>({animation:N,options:{type:S}})))}if(p.size){const v={};p.forEach(S=>{const y=e.getBaseTarget(S),C=e.getValue(S);C&&(C.liveStyle=!0),v[S]=y??null}),f.push({animation:v})}let m=!!f.length;return r&&(c.initial===!1||c.initial===c.animate)&&!e.manuallyAnimateOnMount&&(m=!1),r=!1,m?t(f):Promise.resolve()}function s(l,c){var u;if(n[l].isActive===c)return Promise.resolve();(u=e.variantChildren)===null||u===void 0||u.forEach(p=>{var h;return(h=p.animationState)===null||h===void 0?void 0:h.setActive(l,c)}),n[l].isActive=c;const f=a(l);for(const p in n)n[p].protectedKeys={};return f}return{animateChanges:a,setActive:s,setAnimateFunction:i,getState:()=>n,reset:()=>{n=L0(),r=!0}}}function Iw(e,t){return typeof t=="string"?t!==e:Array.isArray(t)?!Op(t,e):!1}function ao(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function L0(){return{animate:ao(!0),whileInView:ao(),whileHover:ao(),whileTap:ao(),whileDrag:ao(),whileFocus:ao(),exit:ao()}}class Lr{constructor(t){this.isMounted=!1,this.node=t}update(){}}class Dw extends Lr{constructor(t){super(t),t.animationState||(t.animationState=Ow(t))}updateAnimationControlsSubscription(){const{animate:t}=this.node.getProps();$s(t)&&(this.unmountControls=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:t}=this.node.getProps(),{animate:n}=this.node.prevProps||{};t!==n&&this.updateAnimationControlsSubscription()}unmount(){var t;this.node.animationState.reset(),(t=this.unmountControls)===null||t===void 0||t.call(this)}}let $w=0;class Fw extends Lr{constructor(){super(...arguments),this.id=$w++}update(){if(!this.node.presenceContext)return;const{isPresent:t,onExitComplete:n}=this.node.presenceContext,{isPresent:r}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===r)return;const o=this.node.animationState.setActive("exit",!t);n&&!t&&o.then(()=>n(this.id))}mount(){const{register:t}=this.node.presenceContext||{};t&&(this.unmount=t(this.id))}unmount(){}}const zw={animation:{Feature:Dw},exit:{Feature:Fw}};function ua(e,t,n,r={passive:!0}){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n)}function da(e){return{point:{x:e.pageX,y:e.pageY}}}const Lw=e=>t=>ou(t)&&e(t,da(t));function fa(e,t,n,r){return ua(e,t,Lw(n),r)}const B0=(e,t)=>Math.abs(e-t);function Bw(e,t){const n=B0(e.x,t.x),r=B0(e.y,t.y);return Math.sqrt(n**2+r**2)}class N0{constructor(t,n,{transformPagePoint:r,contextWindow:o,dragSnapToOrigin:i=!1}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const f=Mu(this.lastMoveEventInfo,this.history),p=this.startEvent!==null,h=Bw(f.offset,{x:0,y:0})>=3;if(!p&&!h)return;const{point:b}=f,{timestamp:m}=Rt;this.history.push({...b,timestamp:m});const{onStart:v,onMove:S}=this.handlers;p||(v&&v(this.lastMoveEvent,f),this.startEvent=this.lastMoveEvent),S&&S(this.lastMoveEvent,f)},this.handlePointerMove=(f,p)=>{this.lastMoveEvent=f,this.lastMoveEventInfo=Au(p,this.transformPagePoint),vt.update(this.updatePoint,!0)},this.handlePointerUp=(f,p)=>{this.end();const{onEnd:h,onSessionEnd:b,resumeAnimation:m}=this.handlers;if(this.dragSnapToOrigin&&m&&m(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const v=Mu(f.type==="pointercancel"?this.lastMoveEventInfo:Au(p,this.transformPagePoint),this.history);this.startEvent&&h&&h(f,v),b&&b(f,v)},!ou(t))return;this.dragSnapToOrigin=i,this.handlers=n,this.transformPagePoint=r,this.contextWindow=o||window;const a=da(t),s=Au(a,this.transformPagePoint),{point:l}=s,{timestamp:c}=Rt;this.history=[{...l,timestamp:c}];const{onSessionStart:u}=n;u&&u(t,Mu(s,this.history)),this.removeListeners=ca(fa(this.contextWindow,"pointermove",this.handlePointerMove),fa(this.contextWindow,"pointerup",this.handlePointerUp),fa(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),$r(this.updatePoint)}}function Au(e,t){return t?{point:t(e.point)}:e}function R0(e,t){return{x:e.x-t.x,y:e.y-t.y}}function Mu({point:e},t){return{point:e,delta:R0(e,V0(t)),offset:R0(e,Nw(t)),velocity:Rw(t,.1)}}function Nw(e){return e[0]}function V0(e){return e[e.length-1]}function Rw(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,r=null;const o=V0(e);for(;n>=0&&(r=e[n],!(o.timestamp-r.timestamp>Yn(t)));)n--;if(!r)return{x:0,y:0};const i=yr(o.timestamp-r.timestamp);if(i===0)return{x:0,y:0};const a={x:(o.x-r.x)/i,y:(o.y-r.y)/i};return a.x===1/0&&(a.x=0),a.y===1/0&&(a.y=0),a}const W0=1e-4,Vw=1-W0,Ww=1+W0,H0=.01,Hw=0-H0,Uw=0+H0;function bn(e){return e.max-e.min}function qw(e,t,n){return Math.abs(e-t)<=n}function U0(e,t,n,r=.5){e.origin=r,e.originPoint=wt(t.min,t.max,e.origin),e.scale=bn(n)/bn(t),e.translate=wt(n.min,n.max,e.origin)-e.originPoint,(e.scale>=Vw&&e.scale<=Ww||isNaN(e.scale))&&(e.scale=1),(e.translate>=Hw&&e.translate<=Uw||isNaN(e.translate))&&(e.translate=0)}function pa(e,t,n,r){U0(e.x,t.x,n.x,r?r.originX:void 0),U0(e.y,t.y,n.y,r?r.originY:void 0)}function q0(e,t,n){e.min=n.min+t.min,e.max=e.min+bn(t)}function Zw(e,t,n){q0(e.x,t.x,n.x),q0(e.y,t.y,n.y)}function Z0(e,t,n){e.min=t.min-n.min,e.max=e.min+bn(t)}function ha(e,t,n){Z0(e.x,t.x,n.x),Z0(e.y,t.y,n.y)}function Gw(e,{min:t,max:n},r){return t!==void 0&&e<t?e=r?wt(t,e,r.min):Math.max(e,t):n!==void 0&&e>n&&(e=r?wt(n,e,r.max):Math.min(e,n)),e}function G0(e,t,n){return{min:t!==void 0?e.min+t:void 0,max:n!==void 0?e.max+n-(e.max-e.min):void 0}}function Kw(e,{top:t,left:n,bottom:r,right:o}){return{x:G0(e.x,n,o),y:G0(e.y,t,r)}}function K0(e,t){let n=t.min-e.min,r=t.max-e.max;return t.max-t.min<e.max-e.min&&([n,r]=[r,n]),{min:n,max:r}}function Yw(e,t){return{x:K0(e.x,t.x),y:K0(e.y,t.y)}}function Xw(e,t){let n=.5;const r=bn(e),o=bn(t);return o>r?n=Wo(t.min,t.max-r,e.min):r>o&&(n=Wo(e.min,e.max-o,t.min)),xr(0,1,n)}function Jw(e,t){const n={};return t.min!==void 0&&(n.min=t.min-e.min),t.max!==void 0&&(n.max=t.max-e.min),n}const Ou=.35;function Qw(e=Ou){return e===!1?e=0:e===!0&&(e=Ou),{x:Y0(e,"left","right"),y:Y0(e,"top","bottom")}}function Y0(e,t,n){return{min:X0(e,t),max:X0(e,n)}}function X0(e,t){return typeof e=="number"?e:e[t]||0}const J0=()=>({translate:0,scale:1,origin:0,originPoint:0}),Yo=()=>({x:J0(),y:J0()}),Q0=()=>({min:0,max:0}),Pt=()=>({x:Q0(),y:Q0()});function Tn(e){return[e("x"),e("y")]}function e2({top:e,left:t,right:n,bottom:r}){return{x:{min:t,max:n},y:{min:e,max:r}}}function eS({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function tS(e,t){if(!t)return e;const n=t({x:e.left,y:e.top}),r=t({x:e.right,y:e.bottom});return{top:n.y,left:n.x,bottom:r.y,right:r.x}}function Iu(e){return e===void 0||e===1}function Du({scale:e,scaleX:t,scaleY:n}){return!Iu(e)||!Iu(t)||!Iu(n)}function so(e){return Du(e)||t2(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function t2(e){return n2(e.x)||n2(e.y)}function n2(e){return e&&e!=="0%"}function Zs(e,t,n){const r=e-n,o=t*r;return n+o}function r2(e,t,n,r,o){return o!==void 0&&(e=Zs(e,o,r)),Zs(e,n,r)+t}function $u(e,t=0,n=1,r,o){e.min=r2(e.min,t,n,r,o),e.max=r2(e.max,t,n,r,o)}function o2(e,{x:t,y:n}){$u(e.x,t.translate,t.scale,t.originPoint),$u(e.y,n.translate,n.scale,n.originPoint)}const i2=.999999999999,a2=1.0000000000001;function nS(e,t,n,r=!1){const o=n.length;if(!o)return;t.x=t.y=1;let i,a;for(let s=0;s<o;s++){i=n[s],a=i.projectionDelta;const{visualElement:l}=i.options;l&&l.props.style&&l.props.style.display==="contents"||(r&&i.options.layoutScroll&&i.scroll&&i!==i.root&&Jo(e,{x:-i.scroll.offset.x,y:-i.scroll.offset.y}),a&&(t.x*=a.x.scale,t.y*=a.y.scale,o2(e,a)),r&&so(i.latestValues)&&Jo(e,i.latestValues))}t.x<a2&&t.x>i2&&(t.x=1),t.y<a2&&t.y>i2&&(t.y=1)}function Xo(e,t){e.min=e.min+t,e.max=e.max+t}function s2(e,t,n,r,o=.5){const i=wt(e.min,e.max,o);$u(e,t,n,i,r)}function Jo(e,t){s2(e.x,t.x,t.scaleX,t.scale,t.originX),s2(e.y,t.y,t.scaleY,t.scale,t.originY)}function l2(e,t){return e2(tS(e.getBoundingClientRect(),t))}function rS(e,t,n){const r=l2(e,n),{scroll:o}=t;return o&&(Xo(r.x,o.offset.x),Xo(r.y,o.offset.y)),r}const c2=({current:e})=>e?e.ownerDocument.defaultView:null,oS=new WeakMap;class iS{constructor(t){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=Pt(),this.visualElement=t}start(t,{snapToCursor:n=!1}={}){const{presenceContext:r}=this.visualElement;if(r&&r.isPresent===!1)return;const o=u=>{const{dragSnapToOrigin:f}=this.getProps();f?this.pauseAnimation():this.stopAnimation(),n&&this.snapToCursor(da(u).point)},i=(u,f)=>{const{drag:p,dragPropagation:h,onDragStart:b}=this.getProps();if(p&&!h&&(this.openDragLock&&this.openDragLock(),this.openDragLock=Jx(p),!this.openDragLock))return;this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),Tn(v=>{let S=this.getAxisMotionValue(v).get()||0;if(Xn.test(S)){const{projection:y}=this.visualElement;if(y&&y.layout){const C=y.layout.layoutBox[v];C&&(S=bn(C)*(parseFloat(S)/100))}}this.originPoint[v]=S}),b&&vt.postRender(()=>b(u,f)),cu(this.visualElement,"transform");const{animationState:m}=this.visualElement;m&&m.setActive("whileDrag",!0)},a=(u,f)=>{const{dragPropagation:p,dragDirectionLock:h,onDirectionLock:b,onDrag:m}=this.getProps();if(!p&&!this.openDragLock)return;const{offset:v}=f;if(h&&this.currentDirection===null){this.currentDirection=aS(v),this.currentDirection!==null&&b&&b(this.currentDirection);return}this.updateAxis("x",f.point,v),this.updateAxis("y",f.point,v),this.visualElement.render(),m&&m(u,f)},s=(u,f)=>this.stop(u,f),l=()=>Tn(u=>{var f;return this.getAnimationState(u)==="paused"&&((f=this.getAxisMotionValue(u).animation)===null||f===void 0?void 0:f.play())}),{dragSnapToOrigin:c}=this.getProps();this.panSession=new N0(t,{onSessionStart:o,onStart:i,onMove:a,onSessionEnd:s,resumeAnimation:l},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:c,contextWindow:c2(this.visualElement)})}stop(t,n){const r=this.isDragging;if(this.cancel(),!r)return;const{velocity:o}=n;this.startAnimation(o);const{onDragEnd:i}=this.getProps();i&&vt.postRender(()=>i(t,n))}cancel(){this.isDragging=!1;const{projection:t,animationState:n}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation:r}=this.getProps();!r&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),n&&n.setActive("whileDrag",!1)}updateAxis(t,n,r){const{drag:o}=this.getProps();if(!r||!Gs(t,o,this.currentDirection))return;const i=this.getAxisMotionValue(t);let a=this.originPoint[t]+r[t];this.constraints&&this.constraints[t]&&(a=Gw(a,this.constraints[t],this.elastic[t])),i.set(a)}resolveConstraints(){var t;const{dragConstraints:n,dragElastic:r}=this.getProps(),o=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):(t=this.visualElement.projection)===null||t===void 0?void 0:t.layout,i=this.constraints;n&&Uo(n)?this.constraints||(this.constraints=this.resolveRefConstraints()):n&&o?this.constraints=Kw(o.layoutBox,n):this.constraints=!1,this.elastic=Qw(r),i!==this.constraints&&o&&this.constraints&&!this.hasMutatedConstraints&&Tn(a=>{this.constraints!==!1&&this.getAxisMotionValue(a)&&(this.constraints[a]=Jw(o.layoutBox[a],this.constraints[a]))})}resolveRefConstraints(){const{dragConstraints:t,onMeasureDragConstraints:n}=this.getProps();if(!t||!Uo(t))return!1;const r=t.current;Dr(r!==null,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.");const{projection:o}=this.visualElement;if(!o||!o.layout)return!1;const i=rS(r,o.root,this.visualElement.getTransformPagePoint());let a=Yw(o.layout.layoutBox,i);if(n){const s=n(eS(a));this.hasMutatedConstraints=!!s,s&&(a=e2(s))}return a}startAnimation(t){const{drag:n,dragMomentum:r,dragElastic:o,dragTransition:i,dragSnapToOrigin:a,onDragTransitionEnd:s}=this.getProps(),l=this.constraints||{},c=Tn(u=>{if(!Gs(u,n,this.currentDirection))return;let f=l&&l[u]||{};a&&(f={min:0,max:0});const p=o?200:1e6,h=o?40:1e7,b={type:"inertia",velocity:r?t[u]:0,bounceStiffness:p,bounceDamping:h,timeConstant:750,restDelta:1,restSpeed:10,...i,...f};return this.startAxisValueAnimation(u,b)});return Promise.all(c).then(s)}startAxisValueAnimation(t,n){const r=this.getAxisMotionValue(t);return cu(this.visualElement,t),r.start(Pu(t,r,0,n,this.visualElement,!1))}stopAnimation(){Tn(t=>this.getAxisMotionValue(t).stop())}pauseAnimation(){Tn(t=>{var n;return(n=this.getAxisMotionValue(t).animation)===null||n===void 0?void 0:n.pause()})}getAnimationState(t){var n;return(n=this.getAxisMotionValue(t).animation)===null||n===void 0?void 0:n.state}getAxisMotionValue(t){const n=`_drag${t.toUpperCase()}`,r=this.visualElement.getProps(),o=r[n];return o||this.visualElement.getValue(t,(r.initial?r.initial[t]:void 0)||0)}snapToCursor(t){Tn(n=>{const{drag:r}=this.getProps();if(!Gs(n,r,this.currentDirection))return;const{projection:o}=this.visualElement,i=this.getAxisMotionValue(n);if(o&&o.layout){const{min:a,max:s}=o.layout.layoutBox[n];i.set(t[n]-wt(a,s,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:t,dragConstraints:n}=this.getProps(),{projection:r}=this.visualElement;if(!Uo(n)||!r||!this.constraints)return;this.stopAnimation();const o={x:0,y:0};Tn(a=>{const s=this.getAxisMotionValue(a);if(s&&this.constraints!==!1){const l=s.get();o[a]=Xw({min:l,max:l},this.constraints[a])}});const{transformTemplate:i}=this.visualElement.getProps();this.visualElement.current.style.transform=i?i({},""):"none",r.root&&r.root.updateScroll(),r.updateLayout(),this.resolveConstraints(),Tn(a=>{if(!Gs(a,t,null))return;const s=this.getAxisMotionValue(a),{min:l,max:c}=this.constraints[a];s.set(wt(l,c,o[a]))})}addListeners(){if(!this.visualElement.current)return;oS.set(this.visualElement,this);const t=this.visualElement.current,n=fa(t,"pointerdown",l=>{const{drag:c,dragListener:u=!0}=this.getProps();c&&u&&this.start(l)}),r=()=>{const{dragConstraints:l}=this.getProps();Uo(l)&&l.current&&(this.constraints=this.resolveRefConstraints())},{projection:o}=this.visualElement,i=o.addEventListener("measure",r);o&&!o.layout&&(o.root&&o.root.updateScroll(),o.updateLayout()),vt.read(r);const a=ua(window,"resize",()=>this.scalePositionWithinConstraints()),s=o.addEventListener("didUpdate",({delta:l,hasLayoutChanged:c})=>{this.isDragging&&c&&(Tn(u=>{const f=this.getAxisMotionValue(u);f&&(this.originPoint[u]+=l[u].translate,f.set(f.get()+l[u].translate))}),this.visualElement.render())});return()=>{a(),n(),i(),s&&s()}}getProps(){const t=this.visualElement.getProps(),{drag:n=!1,dragDirectionLock:r=!1,dragPropagation:o=!1,dragConstraints:i=!1,dragElastic:a=Ou,dragMomentum:s=!0}=t;return{...t,drag:n,dragDirectionLock:r,dragPropagation:o,dragConstraints:i,dragElastic:a,dragMomentum:s}}}function Gs(e,t,n){return(t===!0||t===e)&&(n===null||n===e)}function aS(e,t=10){let n=null;return Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x"),n}class sS extends Lr{constructor(t){super(t),this.removeGroupControls=sn,this.removeListeners=sn,this.controls=new iS(t)}mount(){const{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||sn}unmount(){this.removeGroupControls(),this.removeListeners()}}const u2=e=>(t,n)=>{e&&vt.postRender(()=>e(t,n))};class lS extends Lr{constructor(){super(...arguments),this.removePointerDownListener=sn}onPointerDown(t){this.session=new N0(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:c2(this.node)})}createPanHandlers(){const{onPanSessionStart:t,onPanStart:n,onPan:r,onPanEnd:o}=this.node.getProps();return{onSessionStart:u2(t),onStart:u2(n),onMove:r,onEnd:(i,a)=>{delete this.session,o&&vt.postRender(()=>o(i,a))}}}mount(){this.removePointerDownListener=fa(this.node.current,"pointerdown",t=>this.onPointerDown(t))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}const Ks={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function d2(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const ma={correct:(e,t)=>{if(!t.target)return e;if(typeof e=="string")if(Oe.test(e))e=parseFloat(e);else return e;const n=d2(e,t.target.x),r=d2(e,t.target.y);return`${n}% ${r}%`}},cS={correct:(e,{treeScale:t,projectionDelta:n})=>{const r=e,o=zr.parse(e);if(o.length>5)return r;const i=zr.createTransformer(e),a=typeof o[0]!="number"?1:0,s=n.x.scale*t.x,l=n.y.scale*t.y;o[0+a]/=s,o[1+a]/=l;const c=wt(s,l,.5);return typeof o[2+a]=="number"&&(o[2+a]/=c),typeof o[3+a]=="number"&&(o[3+a]/=c),i(o)}};class uS extends g.Component{componentDidMount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:r,layoutId:o}=this.props,{projection:i}=t;Mx(dS),i&&(n.group&&n.group.add(i),r&&r.register&&o&&r.register(i),i.root.didUpdate(),i.addEventListener("animationComplete",()=>{this.safeToRemove()}),i.setOptions({...i.options,onExitComplete:()=>this.safeToRemove()})),Ks.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){const{layoutDependency:n,visualElement:r,drag:o,isPresent:i}=this.props,a=r.projection;return a&&(a.isPresent=i,o||t.layoutDependency!==n||n===void 0?a.willUpdate():this.safeToRemove(),t.isPresent!==i&&(i?a.promote():a.relegate()||vt.postRender(()=>{const s=a.getStack();(!s||!s.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),Vc.postRender(()=>{!t.currentAnimation&&t.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:r}=this.props,{projection:o}=t;o&&(o.scheduleCheckAfterUnmount(),n&&n.group&&n.group.remove(o),r&&r.deregister&&r.deregister(o))}safeToRemove(){const{safeToRemove:t}=this.props;t&&t()}render(){return null}}function f2(e){const[t,n]=$c(),r=g.useContext(Oc);return d.jsx(uS,{...e,layoutGroup:r,switchLayoutGroup:g.useContext(hp),isPresent:t,safeToRemove:n})}const dS={borderRadius:{...ma,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:ma,borderTopRightRadius:ma,borderBottomLeftRadius:ma,borderBottomRightRadius:ma,boxShadow:cS};function fS(e,t,n){const r=Ht(e)?e:ia(e);return r.start(Pu("",r,t,n)),r.animation}function pS(e){return e instanceof SVGElement&&e.tagName!=="svg"}const hS=(e,t)=>e.depth-t.depth;class mS{constructor(){this.children=[],this.isDirty=!1}add(t){au(this.children,t),this.isDirty=!0}remove(t){su(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(hS),this.isDirty=!1,this.children.forEach(t)}}function gS(e,t){const n=Jn.now(),r=({timestamp:o})=>{const i=o-n;i>=t&&($r(r),e(i-t))};return vt.read(r,!0),()=>$r(r)}const p2=["TopLeft","TopRight","BottomLeft","BottomRight"],vS=p2.length,h2=e=>typeof e=="string"?parseFloat(e):e,m2=e=>typeof e=="number"||Oe.test(e);function bS(e,t,n,r,o,i){o?(e.opacity=wt(0,n.opacity!==void 0?n.opacity:1,yS(r)),e.opacityExit=wt(t.opacity!==void 0?t.opacity:1,0,xS(r))):i&&(e.opacity=wt(t.opacity!==void 0?t.opacity:1,n.opacity!==void 0?n.opacity:1,r));for(let a=0;a<vS;a++){const s=`border${p2[a]}Radius`;let l=g2(t,s),c=g2(n,s);if(l===void 0&&c===void 0)continue;l||(l=0),c||(c=0),l===0||c===0||m2(l)===m2(c)?(e[s]=Math.max(wt(h2(l),h2(c),r),0),(Xn.test(c)||Xn.test(l))&&(e[s]+="%")):e[s]=c}(t.rotate||n.rotate)&&(e.rotate=wt(t.rotate||0,n.rotate||0,r))}function g2(e,t){return e[t]!==void 0?e[t]:e.borderRadius}const yS=v2(0,.5,e0),xS=v2(.5,.95,sn);function v2(e,t,n){return r=>r<e?0:r>t?1:n(Wo(e,t,r))}function b2(e,t){e.min=t.min,e.max=t.max}function Pn(e,t){b2(e.x,t.x),b2(e.y,t.y)}function y2(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}function x2(e,t,n,r,o){return e-=t,e=Zs(e,1/n,r),o!==void 0&&(e=Zs(e,1/o,r)),e}function CS(e,t=0,n=1,r=.5,o,i=e,a=e){if(Xn.test(t)&&(t=parseFloat(t),t=wt(a.min,a.max,t/100)-a.min),typeof t!="number")return;let s=wt(i.min,i.max,r);e===i&&(s-=t),e.min=x2(e.min,t,n,s,o),e.max=x2(e.max,t,n,s,o)}function C2(e,t,[n,r,o],i,a){CS(e,t[n],t[r],t[o],t.scale,i,a)}const wS=["x","scaleX","originX"],SS=["y","scaleY","originY"];function w2(e,t,n,r){C2(e.x,t,wS,n?n.x:void 0,r?r.x:void 0),C2(e.y,t,SS,n?n.y:void 0,r?r.y:void 0)}function S2(e){return e.translate===0&&e.scale===1}function k2(e){return S2(e.x)&&S2(e.y)}function _2(e,t){return e.min===t.min&&e.max===t.max}function kS(e,t){return _2(e.x,t.x)&&_2(e.y,t.y)}function j2(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function T2(e,t){return j2(e.x,t.x)&&j2(e.y,t.y)}function P2(e){return bn(e.x)/bn(e.y)}function E2(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}class _S{constructor(){this.members=[]}add(t){au(this.members,t),t.scheduleRender()}remove(t){if(su(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){const n=this.members[this.members.length-1];n&&this.promote(n)}}relegate(t){const n=this.members.findIndex(o=>t===o);if(n===0)return!1;let r;for(let o=n;o>=0;o--){const i=this.members[o];if(i.isPresent!==!1){r=i;break}}return r?(this.promote(r),!0):!1}promote(t,n){const r=this.lead;if(t!==r&&(this.prevLead=r,this.lead=t,t.show(),r)){r.instance&&r.scheduleRender(),t.scheduleRender(),t.resumeFrom=r,n&&(t.resumeFrom.preserveOpacity=!0),r.snapshot&&(t.snapshot=r.snapshot,t.snapshot.latestValues=r.animationValues||r.latestValues),t.root&&t.root.isUpdating&&(t.isLayoutDirty=!0);const{crossfade:o}=t.options;o===!1&&r.hide()}}exitAnimationComplete(){this.members.forEach(t=>{const{options:n,resumingFrom:r}=t;n.onExitComplete&&n.onExitComplete(),r&&r.options.onExitComplete&&r.options.onExitComplete()})}scheduleRender(){this.members.forEach(t=>{t.instance&&t.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function jS(e,t,n){let r="";const o=e.x.translate/t.x,i=e.y.translate/t.y,a=(n==null?void 0:n.z)||0;if((o||i||a)&&(r=`translate3d(${o}px, ${i}px, ${a}px) `),(t.x!==1||t.y!==1)&&(r+=`scale(${1/t.x}, ${1/t.y}) `),n){const{transformPerspective:c,rotate:u,rotateX:f,rotateY:p,skewX:h,skewY:b}=n;c&&(r=`perspective(${c}px) ${r}`),u&&(r+=`rotate(${u}deg) `),f&&(r+=`rotateX(${f}deg) `),p&&(r+=`rotateY(${p}deg) `),h&&(r+=`skewX(${h}deg) `),b&&(r+=`skewY(${b}deg) `)}const s=e.x.scale*t.x,l=e.y.scale*t.y;return(s!==1||l!==1)&&(r+=`scale(${s}, ${l})`),r||"none"}const lo={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0},ga=typeof window<"u"&&window.MotionDebug!==void 0,Fu=["","X","Y","Z"],TS={visibility:"hidden"},A2=1e3;let PS=0;function zu(e,t,n,r){const{latestValues:o}=t;o[e]&&(n[e]=o[e],t.setStaticValue(e,0),r&&(r[e]=0))}function M2(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;const{visualElement:t}=e.options;if(!t)return;const n=Zp(t);if(window.MotionHasOptimisedAnimation(n,"transform")){const{layout:o,layoutId:i}=e.options;window.MotionCancelOptimisedAnimation(n,"transform",vt,!(o||i))}const{parent:r}=e;r&&!r.hasCheckedOptimisedAppear&&M2(r)}function O2({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:r,resetTransform:o}){return class{constructor(a={},s=t==null?void 0:t()){this.id=PS++,this.animationId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,ga&&(lo.totalNodes=lo.resolvedTargetDeltas=lo.recalculatedProjection=0),this.nodes.forEach(MS),this.nodes.forEach(FS),this.nodes.forEach(zS),this.nodes.forEach(OS),ga&&window.MotionDebug.record(lo)},this.resolvedRelativeTargetAt=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=a,this.root=s?s.root||s:this,this.path=s?[...s.path,s]:[],this.parent=s,this.depth=s?s.depth+1:0;for(let l=0;l<this.path.length;l++)this.path[l].shouldResetTransform=!0;this.root===this&&(this.nodes=new mS)}addEventListener(a,s){return this.eventHandlers.has(a)||this.eventHandlers.set(a,new lu),this.eventHandlers.get(a).add(s)}notifyListeners(a,...s){const l=this.eventHandlers.get(a);l&&l.notify(...s)}hasListeners(a){return this.eventHandlers.has(a)}mount(a,s=this.root.hasTreeAnimated){if(this.instance)return;this.isSVG=pS(a),this.instance=a;const{layoutId:l,layout:c,visualElement:u}=this.options;if(u&&!u.current&&u.mount(a),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),s&&(c||l)&&(this.isLayoutDirty=!0),e){let f;const p=()=>this.root.updateBlockedByResize=!1;e(a,()=>{this.root.updateBlockedByResize=!0,f&&f(),f=gS(p,250),Ks.hasAnimatedSinceResize&&(Ks.hasAnimatedSinceResize=!1,this.nodes.forEach(D2))})}l&&this.root.registerSharedNode(l,this),this.options.animate!==!1&&u&&(l||c)&&this.addEventListener("didUpdate",({delta:f,hasLayoutChanged:p,hasRelativeTargetChanged:h,layout:b})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const m=this.options.transition||u.getDefaultTransition()||VS,{onLayoutAnimationStart:v,onLayoutAnimationComplete:S}=u.getProps(),y=!this.targetLayout||!T2(this.targetLayout,b)||h,C=!p&&h;if(this.options.layoutRoot||this.resumeFrom&&this.resumeFrom.instance||C||p&&(y||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(f,C);const j={...Qc(m,"layout"),onPlay:v,onComplete:S};(u.shouldReduceMotion||this.options.layoutRoot)&&(j.delay=0,j.type=!1),this.startAnimation(j)}else p||D2(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=b})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const a=this.getStack();a&&a.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,$r(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){this.isUpdateBlocked()||(this.isUpdating=!0,this.nodes&&this.nodes.forEach(LS),this.animationId++)}getTransformTemplate(){const{visualElement:a}=this.options;return a&&a.getProps().transformTemplate}willUpdate(a=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&M2(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let u=0;u<this.path.length;u++){const f=this.path[u];f.shouldResetTransform=!0,f.updateScroll("snapshot"),f.options.layoutRoot&&f.willUpdate(!1)}const{layoutId:s,layout:l}=this.options;if(s===void 0&&!l)return;const c=this.getTransformTemplate();this.prevTransformTemplateValue=c?c(this.latestValues,""):void 0,this.updateSnapshot(),a&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(I2);return}this.isUpdating||this.nodes.forEach(DS),this.isUpdating=!1,this.nodes.forEach($S),this.nodes.forEach(ES),this.nodes.forEach(AS),this.clearAllSnapshots();const s=Jn.now();Rt.delta=xr(0,1e3/60,s-Rt.timestamp),Rt.timestamp=s,Rt.isProcessing=!0,Lc.update.process(Rt),Lc.preRender.process(Rt),Lc.render.process(Rt),Rt.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,Vc.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(IS),this.sharedNodes.forEach(BS)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,vt.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){vt.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure())}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let l=0;l<this.path.length;l++)this.path[l].updateScroll();const a=this.layout;this.layout=this.measure(!1),this.layoutCorrected=Pt(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:s}=this.options;s&&s.notify("LayoutMeasure",this.layout.layoutBox,a?a.layoutBox:void 0)}updateScroll(a="measure"){let s=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===a&&(s=!1),s){const l=r(this.instance);this.scroll={animationId:this.root.animationId,phase:a,isRoot:l,offset:n(this.instance),wasRoot:this.scroll?this.scroll.isRoot:l}}}resetTransform(){if(!o)return;const a=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,s=this.projectionDelta&&!k2(this.projectionDelta),l=this.getTransformTemplate(),c=l?l(this.latestValues,""):void 0,u=c!==this.prevTransformTemplateValue;a&&(s||so(this.latestValues)||u)&&(o(this.instance,c),this.shouldResetTransform=!1,this.scheduleRender())}measure(a=!0){const s=this.measurePageBox();let l=this.removeElementScroll(s);return a&&(l=this.removeTransform(l)),WS(l),{animationId:this.root.animationId,measuredBox:s,layoutBox:l,latestValues:{},source:this.id}}measurePageBox(){var a;const{visualElement:s}=this.options;if(!s)return Pt();const l=s.measureViewportBox();if(!(((a=this.scroll)===null||a===void 0?void 0:a.wasRoot)||this.path.some(HS))){const{scroll:u}=this.root;u&&(Xo(l.x,u.offset.x),Xo(l.y,u.offset.y))}return l}removeElementScroll(a){var s;const l=Pt();if(Pn(l,a),!((s=this.scroll)===null||s===void 0)&&s.wasRoot)return l;for(let c=0;c<this.path.length;c++){const u=this.path[c],{scroll:f,options:p}=u;u!==this.root&&f&&p.layoutScroll&&(f.wasRoot&&Pn(l,a),Xo(l.x,f.offset.x),Xo(l.y,f.offset.y))}return l}applyTransform(a,s=!1){const l=Pt();Pn(l,a);for(let c=0;c<this.path.length;c++){const u=this.path[c];!s&&u.options.layoutScroll&&u.scroll&&u!==u.root&&Jo(l,{x:-u.scroll.offset.x,y:-u.scroll.offset.y}),so(u.latestValues)&&Jo(l,u.latestValues)}return so(this.latestValues)&&Jo(l,this.latestValues),l}removeTransform(a){const s=Pt();Pn(s,a);for(let l=0;l<this.path.length;l++){const c=this.path[l];if(!c.instance||!so(c.latestValues))continue;Du(c.latestValues)&&c.updateSnapshot();const u=Pt(),f=c.measurePageBox();Pn(u,f),w2(s,c.latestValues,c.snapshot?c.snapshot.layoutBox:void 0,u)}return so(this.latestValues)&&w2(s,this.latestValues),s}setTargetDelta(a){this.targetDelta=a,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(a){this.options={...this.options,...a,crossfade:a.crossfade!==void 0?a.crossfade:!0}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==Rt.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(a=!1){var s;const l=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=l.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=l.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=l.isSharedProjectionDirty);const c=!!this.resumingFrom||this!==l;if(!(a||c&&this.isSharedProjectionDirty||this.isProjectionDirty||!((s=this.parent)===null||s===void 0)&&s.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:f,layoutId:p}=this.options;if(!(!this.layout||!(f||p))){if(this.resolvedRelativeTargetAt=Rt.timestamp,!this.targetDelta&&!this.relativeTarget){const h=this.getClosestProjectingParent();h&&h.layout&&this.animationProgress!==1?(this.relativeParent=h,this.forceRelativeParentToResolveTarget(),this.relativeTarget=Pt(),this.relativeTargetOrigin=Pt(),ha(this.relativeTargetOrigin,this.layout.layoutBox,h.layout.layoutBox),Pn(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(!(!this.relativeTarget&&!this.targetDelta)){if(this.target||(this.target=Pt(),this.targetWithTransforms=Pt()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),Zw(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):Pn(this.target,this.layout.layoutBox),o2(this.target,this.targetDelta)):Pn(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget){this.attemptToResolveRelativeTarget=!1;const h=this.getClosestProjectingParent();h&&!!h.resumingFrom==!!this.resumingFrom&&!h.options.layoutScroll&&h.target&&this.animationProgress!==1?(this.relativeParent=h,this.forceRelativeParentToResolveTarget(),this.relativeTarget=Pt(),this.relativeTargetOrigin=Pt(),ha(this.relativeTargetOrigin,this.target,h.target),Pn(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}ga&&lo.resolvedTargetDeltas++}}}getClosestProjectingParent(){if(!(!this.parent||Du(this.parent.latestValues)||t2(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}calcProjection(){var a;const s=this.getLead(),l=!!this.resumingFrom||this!==s;let c=!0;if((this.isProjectionDirty||!((a=this.parent)===null||a===void 0)&&a.isProjectionDirty)&&(c=!1),l&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(c=!1),this.resolvedRelativeTargetAt===Rt.timestamp&&(c=!1),c)return;const{layout:u,layoutId:f}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(u||f))return;Pn(this.layoutCorrected,this.layout.layoutBox);const p=this.treeScale.x,h=this.treeScale.y;nS(this.layoutCorrected,this.treeScale,this.path,l),s.layout&&!s.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(s.target=s.layout.layoutBox,s.targetWithTransforms=Pt());const{target:b}=s;if(!b){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(y2(this.prevProjectionDelta.x,this.projectionDelta.x),y2(this.prevProjectionDelta.y,this.projectionDelta.y)),pa(this.projectionDelta,this.layoutCorrected,b,this.latestValues),(this.treeScale.x!==p||this.treeScale.y!==h||!E2(this.projectionDelta.x,this.prevProjectionDelta.x)||!E2(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",b)),ga&&lo.recalculatedProjection++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(a=!0){var s;if((s=this.options.visualElement)===null||s===void 0||s.scheduleRender(),a){const l=this.getStack();l&&l.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=Yo(),this.projectionDelta=Yo(),this.projectionDeltaWithTransform=Yo()}setAnimationOrigin(a,s=!1){const l=this.snapshot,c=l?l.latestValues:{},u={...this.latestValues},f=Yo();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!s;const p=Pt(),h=l?l.source:void 0,b=this.layout?this.layout.source:void 0,m=h!==b,v=this.getStack(),S=!v||v.members.length<=1,y=!!(m&&!S&&this.options.crossfade===!0&&!this.path.some(RS));this.animationProgress=0;let C;this.mixTargetDelta=j=>{const x=j/1e3;$2(f.x,a.x,x),$2(f.y,a.y,x),this.setTargetDelta(f),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(ha(p,this.layout.layoutBox,this.relativeParent.layout.layoutBox),NS(this.relativeTarget,this.relativeTargetOrigin,p,x),C&&kS(this.relativeTarget,C)&&(this.isProjectionDirty=!1),C||(C=Pt()),Pn(C,this.relativeTarget)),m&&(this.animationValues=u,bS(u,c,this.latestValues,x,y,S)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=x},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(a){this.notifyListeners("animationStart"),this.currentAnimation&&this.currentAnimation.stop(),this.resumingFrom&&this.resumingFrom.currentAnimation&&this.resumingFrom.currentAnimation.stop(),this.pendingAnimation&&($r(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=vt.update(()=>{Ks.hasAnimatedSinceResize=!0,this.currentAnimation=fS(0,A2,{...a,onUpdate:s=>{this.mixTargetDelta(s),a.onUpdate&&a.onUpdate(s)},onComplete:()=>{a.onComplete&&a.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);const a=this.getStack();a&&a.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(A2),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const a=this.getLead();let{targetWithTransforms:s,target:l,layout:c,latestValues:u}=a;if(!(!s||!l||!c)){if(this!==a&&this.layout&&c&&N2(this.options.animationType,this.layout.layoutBox,c.layoutBox)){l=this.target||Pt();const f=bn(this.layout.layoutBox.x);l.x.min=a.target.x.min,l.x.max=l.x.min+f;const p=bn(this.layout.layoutBox.y);l.y.min=a.target.y.min,l.y.max=l.y.min+p}Pn(s,l),Jo(s,u),pa(this.projectionDeltaWithTransform,this.layoutCorrected,s,u)}}registerSharedNode(a,s){this.sharedNodes.has(a)||this.sharedNodes.set(a,new _S),this.sharedNodes.get(a).add(s);const c=s.options.initialPromotionConfig;s.promote({transition:c?c.transition:void 0,preserveFollowOpacity:c&&c.shouldPreserveFollowOpacity?c.shouldPreserveFollowOpacity(s):void 0})}isLead(){const a=this.getStack();return a?a.lead===this:!0}getLead(){var a;const{layoutId:s}=this.options;return s?((a=this.getStack())===null||a===void 0?void 0:a.lead)||this:this}getPrevLead(){var a;const{layoutId:s}=this.options;return s?(a=this.getStack())===null||a===void 0?void 0:a.prevLead:void 0}getStack(){const{layoutId:a}=this.options;if(a)return this.root.sharedNodes.get(a)}promote({needsReset:a,transition:s,preserveFollowOpacity:l}={}){const c=this.getStack();c&&c.promote(this,l),a&&(this.projectionDelta=void 0,this.needsReset=!0),s&&this.setOptions({transition:s})}relegate(){const a=this.getStack();return a?a.relegate(this):!1}resetSkewAndRotation(){const{visualElement:a}=this.options;if(!a)return;let s=!1;const{latestValues:l}=a;if((l.z||l.rotate||l.rotateX||l.rotateY||l.rotateZ||l.skewX||l.skewY)&&(s=!0),!s)return;const c={};l.z&&zu("z",a,c,this.animationValues);for(let u=0;u<Fu.length;u++)zu(`rotate${Fu[u]}`,a,c,this.animationValues),zu(`skew${Fu[u]}`,a,c,this.animationValues);a.render();for(const u in c)a.setStaticValue(u,c[u]),this.animationValues&&(this.animationValues[u]=c[u]);a.scheduleRender()}getProjectionStyles(a){var s,l;if(!this.instance||this.isSVG)return;if(!this.isVisible)return TS;const c={visibility:""},u=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,c.opacity="",c.pointerEvents=zs(a==null?void 0:a.pointerEvents)||"",c.transform=u?u(this.latestValues,""):"none",c;const f=this.getLead();if(!this.projectionDelta||!this.layout||!f.target){const m={};return this.options.layoutId&&(m.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,m.pointerEvents=zs(a==null?void 0:a.pointerEvents)||""),this.hasProjected&&!so(this.latestValues)&&(m.transform=u?u({},""):"none",this.hasProjected=!1),m}const p=f.animationValues||f.latestValues;this.applyTransformsToTarget(),c.transform=jS(this.projectionDeltaWithTransform,this.treeScale,p),u&&(c.transform=u(p,c.transform));const{x:h,y:b}=this.projectionDelta;c.transformOrigin=`${h.origin*100}% ${b.origin*100}% 0`,f.animationValues?c.opacity=f===this?(l=(s=p.opacity)!==null&&s!==void 0?s:this.latestValues.opacity)!==null&&l!==void 0?l:1:this.preserveOpacity?this.latestValues.opacity:p.opacityExit:c.opacity=f===this?p.opacity!==void 0?p.opacity:"":p.opacityExit!==void 0?p.opacityExit:0;for(const m in Bs){if(p[m]===void 0)continue;const{correct:v,applyTo:S}=Bs[m],y=c.transform==="none"?p[m]:v(p[m],f);if(S){const C=S.length;for(let j=0;j<C;j++)c[S[j]]=y}else c[m]=y}return this.options.layoutId&&(c.pointerEvents=f===this?zs(a==null?void 0:a.pointerEvents)||"":"none"),c}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(a=>{var s;return(s=a.currentAnimation)===null||s===void 0?void 0:s.stop()}),this.root.nodes.forEach(I2),this.root.sharedNodes.clear()}}}function ES(e){e.updateLayout()}function AS(e){var t;const n=((t=e.resumeFrom)===null||t===void 0?void 0:t.snapshot)||e.snapshot;if(e.isLead()&&e.layout&&n&&e.hasListeners("didUpdate")){const{layoutBox:r,measuredBox:o}=e.layout,{animationType:i}=e.options,a=n.source!==e.layout.source;i==="size"?Tn(f=>{const p=a?n.measuredBox[f]:n.layoutBox[f],h=bn(p);p.min=r[f].min,p.max=p.min+h}):N2(i,n.layoutBox,r)&&Tn(f=>{const p=a?n.measuredBox[f]:n.layoutBox[f],h=bn(r[f]);p.max=p.min+h,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[f].max=e.relativeTarget[f].min+h)});const s=Yo();pa(s,r,n.layoutBox);const l=Yo();a?pa(l,e.applyTransform(o,!0),n.measuredBox):pa(l,r,n.layoutBox);const c=!k2(s);let u=!1;if(!e.resumeFrom){const f=e.getClosestProjectingParent();if(f&&!f.resumeFrom){const{snapshot:p,layout:h}=f;if(p&&h){const b=Pt();ha(b,n.layoutBox,p.layoutBox);const m=Pt();ha(m,r,h.layoutBox),T2(b,m)||(u=!0),f.options.layoutRoot&&(e.relativeTarget=m,e.relativeTargetOrigin=b,e.relativeParent=f)}}}e.notifyListeners("didUpdate",{layout:r,snapshot:n,delta:l,layoutDelta:s,hasLayoutChanged:c,hasRelativeTargetChanged:u})}else if(e.isLead()){const{onExitComplete:r}=e.options;r&&r()}e.options.transition=void 0}function MS(e){ga&&lo.totalNodes++,e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||(e.isSharedProjectionDirty=!!(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty)),e.isTransformDirty||(e.isTransformDirty=e.parent.isTransformDirty))}function OS(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function IS(e){e.clearSnapshot()}function I2(e){e.clearMeasurements()}function DS(e){e.isLayoutDirty=!1}function $S(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function D2(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function FS(e){e.resolveTargetDelta()}function zS(e){e.calcProjection()}function LS(e){e.resetSkewAndRotation()}function BS(e){e.removeLeadSnapshot()}function $2(e,t,n){e.translate=wt(t.translate,0,n),e.scale=wt(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function F2(e,t,n,r){e.min=wt(t.min,n.min,r),e.max=wt(t.max,n.max,r)}function NS(e,t,n,r){F2(e.x,t.x,n.x,r),F2(e.y,t.y,n.y,r)}function RS(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}const VS={duration:.45,ease:[.4,0,.1,1]},z2=e=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),L2=z2("applewebkit/")&&!z2("chrome/")?Math.round:sn;function B2(e){e.min=L2(e.min),e.max=L2(e.max)}function WS(e){B2(e.x),B2(e.y)}function N2(e,t,n){return e==="position"||e==="preserve-aspect"&&!qw(P2(t),P2(n),.2)}function HS(e){var t;return e!==e.root&&((t=e.scroll)===null||t===void 0?void 0:t.wasRoot)}const US=O2({attachResizeListener:(e,t)=>ua(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),Lu={current:void 0},R2=O2({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!Lu.current){const e=new US({});e.mount(window),e.setOptions({layoutScroll:!0}),Lu.current=e}return Lu.current},resetTransform:(e,t)=>{e.style.transform=t!==void 0?t:"none"},checkIsScrollRoot:e=>window.getComputedStyle(e).position==="fixed"}),qS={pan:{Feature:lS},drag:{Feature:sS,ProjectionNode:R2,MeasureLayout:f2}};function V2(e,t,n){const{props:r}=e;e.animationState&&r.whileHover&&e.animationState.setActive("whileHover",n==="Start");const o="onHover"+n,i=r[o];i&&vt.postRender(()=>i(t,da(t)))}class ZS extends Lr{mount(){const{current:t}=this.node;t&&(this.unmount=Zx(t,n=>(V2(this.node,n,"Start"),r=>V2(this.node,r,"End"))))}unmount(){}}class GS extends Lr{constructor(){super(...arguments),this.isActive=!1}onFocus(){let t=!1;try{t=this.node.current.matches(":focus-visible")}catch{t=!0}!t||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){!this.isActive||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=ca(ua(this.node.current,"focus",()=>this.onFocus()),ua(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}function W2(e,t,n){const{props:r}=e;e.animationState&&r.whileTap&&e.animationState.setActive("whileTap",n==="Start");const o="onTap"+(n==="End"?"":n),i=r[o];i&&vt.postRender(()=>i(t,da(t)))}class KS extends Lr{mount(){const{current:t}=this.node;t&&(this.unmount=Xx(t,n=>(W2(this.node,n,"Start"),(r,{success:o})=>W2(this.node,r,o?"End":"Cancel")),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}const Bu=new WeakMap,Nu=new WeakMap,YS=e=>{const t=Bu.get(e.target);t&&t(e)},XS=e=>{e.forEach(YS)};function JS({root:e,...t}){const n=e||document;Nu.has(n)||Nu.set(n,{});const r=Nu.get(n),o=JSON.stringify(t);return r[o]||(r[o]=new IntersectionObserver(XS,{root:e,...t})),r[o]}function QS(e,t,n){const r=JS(t);return Bu.set(e,n),r.observe(e),()=>{Bu.delete(e),r.unobserve(e)}}const ek={some:0,all:1};class tk extends Lr{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:t={}}=this.node.getProps(),{root:n,margin:r,amount:o="some",once:i}=t,a={root:n?n.current:void 0,rootMargin:r,threshold:typeof o=="number"?o:ek[o]},s=l=>{const{isIntersecting:c}=l;if(this.isInView===c||(this.isInView=c,i&&!c&&this.hasEnteredView))return;c&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",c);const{onViewportEnter:u,onViewportLeave:f}=this.node.getProps(),p=c?u:f;p&&p(l)};return QS(this.node.current,a,s)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:t,prevProps:n}=this.node;["amount","margin","root"].some(nk(t,n))&&this.startObserver()}unmount(){}}function nk({viewport:e={}},{viewport:t={}}={}){return n=>e[n]!==t[n]}const rk={inView:{Feature:tk},tap:{Feature:KS},focus:{Feature:GS},hover:{Feature:ZS}},ok={layout:{ProjectionNode:R2,MeasureLayout:f2}},Ru={current:null},H2={current:!1};function ik(){if(H2.current=!0,!!Fc)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>Ru.current=e.matches;e.addListener(t),t()}else Ru.current=!1}const ak=[...b0,Ut,zr],sk=e=>ak.find(v0(e)),U2=new WeakMap;function lk(e,t,n){for(const r in t){const o=t[r],i=n[r];if(Ht(o))e.addValue(r,o),process.env.NODE_ENV==="development"&&Is(o.version==="11.18.2",`Attempting to mix Motion versions ${o.version} with 11.18.2 may not work as expected.`);else if(Ht(i))e.addValue(r,ia(o,{owner:e}));else if(i!==o)if(e.hasValue(r)){const a=e.getValue(r);a.liveStyle===!0?a.jump(o):a.hasAnimated||a.set(o)}else{const a=e.getStaticValue(r);e.addValue(r,ia(a!==void 0?a:o,{owner:e}))}}for(const r in n)t[r]===void 0&&e.removeValue(r);return t}const q2=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class ck{scrapeMotionValuesFromProps(t,n,r){return{}}constructor({parent:t,props:n,presenceContext:r,reducedMotionConfig:o,blockInitialAnimation:i,visualState:a},s={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=xu,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{const h=Jn.now();this.renderScheduledAt<h&&(this.renderScheduledAt=h,vt.render(this.render,!1,!0))};const{latestValues:l,renderState:c,onUpdate:u}=a;this.onUpdate=u,this.latestValues=l,this.baseTarget={...l},this.initialValues=n.initial?{...l}:{},this.renderState=c,this.parent=t,this.props=n,this.presenceContext=r,this.depth=t?t.depth+1:0,this.reducedMotionConfig=o,this.options=s,this.blockInitialAnimation=!!i,this.isControllingVariants=Fs(n),this.isVariantNode=dp(n),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);const{willChange:f,...p}=this.scrapeMotionValuesFromProps(n,{},this);for(const h in p){const b=p[h];l[h]!==void 0&&Ht(b)&&b.set(l[h],!1)}}mount(t){this.current=t,U2.set(t,this),this.projection&&!this.projection.instance&&this.projection.mount(t),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((n,r)=>this.bindToMotionValue(r,n)),H2.current||ik(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:Ru.current,process.env.NODE_ENV!=="production"&&Is(this.shouldReduceMotion!==!0,"You have Reduced Motion enabled on your device. Animations may not appear as expected."),this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){U2.delete(this.current),this.projection&&this.projection.unmount(),$r(this.notifyUpdate),$r(this.render),this.valueSubscriptions.forEach(t=>t()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this);for(const t in this.events)this.events[t].clear();for(const t in this.features){const n=this.features[t];n&&(n.unmount(),n.isMounted=!1)}this.current=null}bindToMotionValue(t,n){this.valueSubscriptions.has(t)&&this.valueSubscriptions.get(t)();const r=ro.has(t),o=n.on("change",s=>{this.latestValues[t]=s,this.props.onUpdate&&vt.preRender(this.notifyUpdate),r&&this.projection&&(this.projection.isTransformDirty=!0)}),i=n.on("renderRequest",this.scheduleRender);let a;window.MotionCheckAppearSync&&(a=window.MotionCheckAppearSync(this,t,n)),this.valueSubscriptions.set(t,()=>{o(),i(),a&&a(),n.owner&&n.stop()})}sortNodePosition(t){return!this.current||!this.sortInstanceNodePosition||this.type!==t.type?0:this.sortInstanceNodePosition(this.current,t.current)}updateFeatures(){let t="animation";for(t in Ho){const n=Ho[t];if(!n)continue;const{isEnabled:r,Feature:o}=n;if(!this.features[t]&&o&&r(this.props)&&(this.features[t]=new o(this)),this.features[t]){const i=this.features[t];i.isMounted?i.update():(i.mount(),i.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):Pt()}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,n){this.latestValues[t]=n}update(t,n){(t.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=t,this.prevPresenceContext=this.presenceContext,this.presenceContext=n;for(let r=0;r<q2.length;r++){const o=q2[r];this.propEventSubscriptions[o]&&(this.propEventSubscriptions[o](),delete this.propEventSubscriptions[o]);const i="on"+o,a=t[i];a&&(this.propEventSubscriptions[o]=this.on(o,a))}this.prevMotionValues=lk(this,this.scrapeMotionValuesFromProps(t,this.prevProps,this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue(),this.onUpdate&&this.onUpdate(this)}getProps(){return this.props}getVariant(t){return this.props.variants?this.props.variants[t]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(t){const n=this.getClosestVariantNode();if(n)return n.variantChildren&&n.variantChildren.add(t),()=>n.variantChildren.delete(t)}addValue(t,n){const r=this.values.get(t);n!==r&&(r&&this.removeValue(t),this.bindToMotionValue(t,n),this.values.set(t,n),this.latestValues[t]=n.get())}removeValue(t){this.values.delete(t);const n=this.valueSubscriptions.get(t);n&&(n(),this.valueSubscriptions.delete(t)),delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState)}hasValue(t){return this.values.has(t)}getValue(t,n){if(this.props.values&&this.props.values[t])return this.props.values[t];let r=this.values.get(t);return r===void 0&&n!==void 0&&(r=ia(n===null?void 0:n,{owner:this}),this.addValue(t,r)),r}readValue(t,n){var r;let o=this.latestValues[t]!==void 0||!this.current?this.latestValues[t]:(r=this.getBaseTargetFromProps(this.props,t))!==null&&r!==void 0?r:this.readValueFromInstance(this.current,t,this.options);return o!=null&&(typeof o=="string"&&(m0(o)||n0(o))?o=parseFloat(o):!sk(o)&&zr.test(n)&&(o=c0(t,n)),this.setBaseTarget(t,Ht(o)?o.get():o)),Ht(o)?o.get():o}setBaseTarget(t,n){this.baseTarget[t]=n}getBaseTarget(t){var n;const{initial:r}=this.props;let o;if(typeof r=="string"||typeof r=="object"){const a=Hc(this.props,r,(n=this.presenceContext)===null||n===void 0?void 0:n.custom);a&&(o=a[t])}if(r&&o!==void 0)return o;const i=this.getBaseTargetFromProps(this.props,t);return i!==void 0&&!Ht(i)?i:this.initialValues[t]!==void 0&&o===void 0?void 0:this.baseTarget[t]}on(t,n){return this.events[t]||(this.events[t]=new lu),this.events[t].add(n)}notify(t,...n){this.events[t]&&this.events[t].notify(...n)}}class Z2 extends ck{constructor(){super(...arguments),this.KeyframeResolver=x0}sortInstanceNodePosition(t,n){return t.compareDocumentPosition(n)&2?1:-1}getBaseTargetFromProps(t,n){return t.style?t.style[n]:void 0}removeValueFromRenderState(t,{vars:n,style:r}){delete n[t],delete r[t]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:t}=this.props;Ht(t)&&(this.childSubscription=t.on("change",n=>{this.current&&(this.current.textContent=`${n}`)}))}}function uk(e){return window.getComputedStyle(e)}class dk extends Z2{constructor(){super(...arguments),this.type="html",this.renderInstance=_p}readValueFromInstance(t,n){if(ro.has(n)){const r=vu(n);return r&&r.default||0}else{const r=uk(t),o=(yp(n)?r.getPropertyValue(n):r[n])||0;return typeof o=="string"?o.trim():o}}measureInstanceViewportBox(t,{transformPagePoint:n}){return l2(t,n)}build(t,n,r){Gc(t,n,r.transformTemplate)}scrapeMotionValuesFromProps(t,n,r){return Jc(t,n,r)}}class fk extends Z2{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=Pt}getBaseTargetFromProps(t,n){return t[n]}readValueFromInstance(t,n){if(ro.has(n)){const r=vu(n);return r&&r.default||0}return n=jp.has(n)?n:Rc(n),t.getAttribute(n)}scrapeMotionValuesFromProps(t,n,r){return Ep(t,n,r)}build(t,n,r){Kc(t,n,this.isSVGTag,r.transformTemplate)}renderInstance(t,n,r,o){Tp(t,n,r,o)}mount(t){this.isSVGTag=Xc(t.tagName),super.mount(t)}}const pk=(e,t)=>Wc(e)?new fk(t):new dk(t,{allowProjection:e!==g.Fragment}),hk=Nx({...zw,...rk,...qS,...ok},pk),Qn=nx(hk),mk=(e,t)=>e.find(n=>n.id===t);function G2(e,t){const n=K2(e,t),r=n?e[n].findIndex(o=>o.id===t):-1;return{position:n,index:r}}function K2(e,t){for(const[n,r]of Object.entries(e))if(mk(r,t))return n}function gk(e){const t=e.includes("right"),n=e.includes("left");let r="center";return t&&(r="flex-end"),n&&(r="flex-start"),{display:"flex",flexDirection:"column",alignItems:r}}function vk(e){const n=e==="top"||e==="bottom"?"0 auto":void 0,r=e.includes("top")?"env(safe-area-inset-top, 0px)":void 0,o=e.includes("bottom")?"env(safe-area-inset-bottom, 0px)":void 0,i=e.includes("left")?void 0:"env(safe-area-inset-right, 0px)",a=e.includes("right")?void 0:"env(safe-area-inset-left, 0px)";return{position:"fixed",zIndex:"var(--toast-z-index, 5500)",pointerEvents:"none",display:"flex",flexDirection:"column",margin:n,top:r,bottom:o,right:i,left:a}}var bk=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,yk=I1(function(e){return bk.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91}),xk=!1,Ck=yk,wk=function(t){return t!=="theme"},Y2=function(t){return typeof t=="string"&&t.charCodeAt(0)>96?Ck:wk},X2=function(t,n,r){var o;if(n){var i=n.shouldForwardProp;o=t.__emotion_forwardProp&&i?function(a){return t.__emotion_forwardProp(a)&&i(a)}:i}return typeof o!="function"&&r&&(o=t.__emotion_forwardProp),o},Sk=function(t){var n=t.cache,r=t.serialized,o=t.isStringTag;return _c(n,r,o),q1(function(){return jc(n,r,o)}),null},kk=function e(t,n){var r=t.__emotion_real===t,o=r&&t.__emotion_base||t,i,a;n!==void 0&&(i=n.label,a=n.target);var s=X2(t,n,r),l=s||Y2(o),c=!l("as");return function(){var u=arguments,f=r&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(i!==void 0&&f.push("label:"+i+";"),u[0]==null||u[0].raw===void 0)f.push.apply(f,u);else{var p=u[0];f.push(p[0]);for(var h=u.length,b=1;b<h;b++)f.push(u[b],p[b])}var m=Ts(function(v,S,y){var C=c&&v.as||o,j="",x=[],E=v;if(v.theme==null){E={};for(var P in v)E[P]=v[P];E.theme=Se.useContext(Ro)}typeof v.className=="string"?j=N1(S.registered,x,v.className):v.className!=null&&(j=v.className+" ");var D=js(f.concat(x),S.registered,E);j+=S.key+"-"+D.name,a!==void 0&&(j+=" "+a);var R=c&&s===void 0?Y2(C):l,L={};for(var Z in v)c&&Z==="as"||R(Z)&&(L[Z]=v[Z]);return L.className=j,y&&(L.ref=y),Se.createElement(Se.Fragment,null,Se.createElement(Sk,{cache:S,serialized:D,isStringTag:typeof C=="string"}),Se.createElement(C,L))});return m.displayName=i!==void 0?i:"Styled("+(typeof o=="string"?o:o.displayName||o.name||"Component")+")",m.defaultProps=t.defaultProps,m.__emotion_real=m,m.__emotion_base=o,m.__emotion_styles=f,m.__emotion_forwardProp=s,Object.defineProperty(m,"toString",{value:function(){return a===void 0&&xk?"NO_COMPONENT_SELECTOR":"."+a}}),m.withComponent=function(v,S){var y=e(v,to({},n,S,{shouldForwardProp:X2(m,S,!0)}));return y.apply(void 0,f)},m}},_k=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"],Vu=kk.bind(null);_k.forEach(function(e){Vu[e]=Vu(e)});const jk=new Set([...f5,"textStyle","layerStyle","apply","noOfLines","focusBorderColor","errorBorderColor","as","__css","css","sx"]),Tk=new Set(["htmlWidth","htmlHeight","htmlSize","htmlTranslate"]);function Pk(e){return(Tk.has(e)||!jk.has(e))&&e[0]!=="_"}const Ek=mg(Vu),Ak=({baseStyle:e})=>t=>{const{theme:n,css:r,__css:o,sx:i,...a}=t,[s]=wg(a,h5),l=mn(e,t),c=og({},o,l,Ei(s),i),u=Zf(c)(t.theme);return r?[u,r]:u};function Wu(e,t){const{baseStyle:n,...r}=t??{};r.shouldForwardProp||(r.shouldForwardProp=Pk);const o=Ak({baseStyle:n}),i=Ek(e,r)(o);return g.forwardRef(function(l,c){const{children:u,...f}=l,{colorMode:p,forced:h}=Mc(),b=h?p:void 0;return g.createElement(i,{ref:c,"data-theme":b,...f},u)})}function Mk(){const e=new Map;return new Proxy(Wu,{apply(t,n,r){return Wu(...r)},get(t,n){return e.has(n)||e.set(n,Wu(n)),e.get(n)}})}const le=Mk(),Ok={initial:e=>{const{position:t}=e,n=["top","bottom"].includes(t)?"y":"x";let r=["top-right","bottom-right"].includes(t)?1:-1;return t==="bottom"&&(r=1),{opacity:0,[n]:r*24}},animate:{opacity:1,y:0,x:0,scale:1,transition:{duration:.4,ease:[.4,0,.2,1]}},exit:{opacity:0,scale:.85,transition:{duration:.2,ease:[.4,0,1,1]}}},J2=g.memo(e=>{const{id:t,message:n,onCloseComplete:r,onRequestRemove:o,requestClose:i=!1,position:a="bottom",duration:s=5e3,containerStyle:l,motionVariants:c=Ok,toastSpacing:u="0.5rem"}=e,[f,p]=g.useState(s),h=Z9();ko(()=>{h||r==null||r()},[h]),ko(()=>{p(s)},[s]);const b=()=>p(null),m=()=>p(s),v=()=>{h&&o()};g.useEffect(()=>{h&&i&&o()},[h,i,o]),Og(v,f);const S=g.useMemo(()=>({pointerEvents:"auto",maxWidth:560,minWidth:300,margin:u,...l}),[l,u]),y=g.useMemo(()=>gk(a),[a]);return d.jsx(Qn.div,{layout:!0,className:"chakra-toast",variants:c,initial:"initial",animate:"animate",exit:"exit",onHoverStart:b,onHoverEnd:m,custom:{position:a},style:y,children:d.jsx(le.div,{role:"status","aria-atomic":"true",className:"chakra-toast__inner",__css:S,children:mn(n,{id:t,onClose:v})})})});J2.displayName="ToastComponent";function ye(e){return g.forwardRef(e)}var Ik=typeof Element<"u",Dk=typeof Map=="function",$k=typeof Set=="function",Fk=typeof ArrayBuffer=="function"&&!!ArrayBuffer.isView;function Ys(e,t){if(e===t)return!0;if(e&&t&&typeof e=="object"&&typeof t=="object"){if(e.constructor!==t.constructor)return!1;var n,r,o;if(Array.isArray(e)){if(n=e.length,n!=t.length)return!1;for(r=n;r--!==0;)if(!Ys(e[r],t[r]))return!1;return!0}var i;if(Dk&&e instanceof Map&&t instanceof Map){if(e.size!==t.size)return!1;for(i=e.entries();!(r=i.next()).done;)if(!t.has(r.value[0]))return!1;for(i=e.entries();!(r=i.next()).done;)if(!Ys(r.value[1],t.get(r.value[0])))return!1;return!0}if($k&&e instanceof Set&&t instanceof Set){if(e.size!==t.size)return!1;for(i=e.entries();!(r=i.next()).done;)if(!t.has(r.value[0]))return!1;return!0}if(Fk&&ArrayBuffer.isView(e)&&ArrayBuffer.isView(t)){if(n=e.length,n!=t.length)return!1;for(r=n;r--!==0;)if(e[r]!==t[r])return!1;return!0}if(e.constructor===RegExp)return e.source===t.source&&e.flags===t.flags;if(e.valueOf!==Object.prototype.valueOf&&typeof e.valueOf=="function"&&typeof t.valueOf=="function")return e.valueOf()===t.valueOf();if(e.toString!==Object.prototype.toString&&typeof e.toString=="function"&&typeof t.toString=="function")return e.toString()===t.toString();if(o=Object.keys(e),n=o.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!Object.prototype.hasOwnProperty.call(t,o[r]))return!1;if(Ik&&e instanceof Element)return!1;for(r=n;r--!==0;)if(!((o[r]==="_owner"||o[r]==="__v"||o[r]==="__o")&&e.$$typeof)&&!Ys(e[o[r]],t[o[r]]))return!1;return!0}return e!==e&&t!==t}var zk=function(t,n){try{return Ys(t,n)}catch(r){if((r.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw r}};const Lk=Ua(zk);function va(){const e=g.useContext(Ro);if(!e)throw Error("useTheme: `theme` is undefined. Seems you forgot to wrap your app in `<ChakraProvider />` or `<ThemeProvider />`");return e}function Q2(){const e=Mc(),t=va();return{...e,theme:t}}function Bk(e,t,n){if(t==null)return t;const r=o=>{var i,a;return(a=(i=e.__cssMap)==null?void 0:i[o])==null?void 0:a.value};return r(t)??r(n)??n}function Xs(e,t,n){const r=va();return Nk(e,t,n)(r)}function Nk(e,t,n){const r=Array.isArray(t)?t:[t],o=Array.isArray(n)?n:[n];return i=>{const a=o.filter(Boolean),s=r.map((l,c)=>{const u=`${e}.${l}`;return Bk(i,u,a[c]??l)});return Array.isArray(t)?s:s[0]}}function eh(e,t={}){const{styleConfig:n,...r}=t,{theme:o,colorMode:i}=Q2(),a=e?$f(o,`components.${e}`):void 0,s=n||a,l=kn({theme:o,colorMode:i},(s==null?void 0:s.defaultProps)??{},Ei(So(r,["children"])),(u,f)=>u?void 0:f),c=g.useRef({});if(s){const f=_5(s)(l);Lk(c.current,f)||(c.current=f)}return c.current}function er(e,t={}){return eh(e,t)}function Yt(e,t={}){return eh(e,t)}const th={path:d.jsxs("g",{stroke:"currentColor",strokeWidth:"1.5",children:[d.jsx("path",{strokeLinecap:"round",fill:"none",d:"M9,9a3,3,0,1,1,4,2.829,1.5,1.5,0,0,0-1,1.415V14.25"}),d.jsx("path",{fill:"currentColor",strokeLinecap:"round",d:"M12,17.25a.375.375,0,1,0,.375.375A.375.375,0,0,0,12,17.25h0"}),d.jsx("circle",{fill:"none",strokeMiterlimit:"10",cx:"12",cy:"12",r:"11.25"})]}),viewBox:"0 0 24 24"},Xt=ye((e,t)=>{const{as:n,viewBox:r,color:o="currentColor",focusable:i=!1,children:a,className:s,__css:l,...c}=e,u=Me("chakra-icon",s),f=er("Icon",e),p={w:"1em",h:"1em",display:"inline-block",lineHeight:"1em",flexShrink:0,color:o,...l,...f},h={ref:t,focusable:i,className:u,__css:p},b=r??th.viewBox;if(n&&typeof n!="string")return d.jsx(le.svg,{as:n,...h,...c});const m=a??th.path;return d.jsx(le.svg,{verticalAlign:"middle",viewBox:b,...h,...c,children:m})});Xt.displayName="Icon";function Rk(e){return d.jsx(Xt,{viewBox:"0 0 24 24",...e,children:d.jsx("path",{fill:"currentColor",d:"M12,0A12,12,0,1,0,24,12,12.014,12.014,0,0,0,12,0Zm6.927,8.2-6.845,9.289a1.011,1.011,0,0,1-1.43.188L5.764,13.769a1,1,0,1,1,1.25-1.562l4.076,3.261,6.227-8.451A1,1,0,1,1,18.927,8.2Z"})})}function Vk(e){return d.jsx(Xt,{viewBox:"0 0 24 24",...e,children:d.jsx("path",{fill:"currentColor",d:"M12,0A12,12,0,1,0,24,12,12.013,12.013,0,0,0,12,0Zm.25,5a1.5,1.5,0,1,1-1.5,1.5A1.5,1.5,0,0,1,12.25,5ZM14.5,18.5h-4a1,1,0,0,1,0-2h.75a.25.25,0,0,0,.25-.25v-4.5a.25.25,0,0,0-.25-.25H10.5a1,1,0,0,1,0-2h1a2,2,0,0,1,2,2v4.75a.25.25,0,0,0,.25.25h.75a1,1,0,1,1,0,2Z"})})}function nh(e){return d.jsx(Xt,{viewBox:"0 0 24 24",...e,children:d.jsx("path",{fill:"currentColor",d:"M11.983,0a12.206,12.206,0,0,0-8.51,3.653A11.8,11.8,0,0,0,0,12.207,11.779,11.779,0,0,0,11.8,24h.214A12.111,12.111,0,0,0,24,11.791h0A11.766,11.766,0,0,0,11.983,0ZM10.5,16.542a1.476,1.476,0,0,1,1.449-1.53h.027a1.527,1.527,0,0,1,1.523,1.47,1.475,1.475,0,0,1-1.449,1.53h-.027A1.529,1.529,0,0,1,10.5,16.542ZM11,12.5v-6a1,1,0,0,1,2,0v6a1,1,0,1,1-2,0Z"})})}const Wk=Ir({"0%":{transform:"rotate(0deg)"},"100%":{transform:"rotate(360deg)"}}),Hu=ye((e,t)=>{const n=er("Spinner",e),{label:r="Loading...",thickness:o="2px",speed:i="0.45s",emptyColor:a="transparent",className:s,...l}=Ct(e),c=Me("chakra-spinner",s),u={display:"inline-block",borderColor:"currentColor",borderStyle:"solid",borderRadius:"99999px",borderWidth:o,borderBottomColor:a,borderLeftColor:a,animation:`${Wk} ${i} linear infinite`,...n};return d.jsx(le.div,{ref:t,__css:u,className:c,...l,children:r&&d.jsx(le.span,{srOnly:!0,children:r})})});Hu.displayName="Spinner";const[Hk,Uu]=ht({name:"AlertContext",hookName:"useAlertContext",providerName:"<Alert />"}),[Uk,qu]=ht({name:"AlertStylesContext",hookName:"useAlertStyles",providerName:"<Alert />"}),rh={info:{icon:Vk,colorScheme:"blue"},warning:{icon:nh,colorScheme:"orange"},success:{icon:Rk,colorScheme:"green"},error:{icon:nh,colorScheme:"red"},loading:{icon:Hu,colorScheme:"blue"}};function qk(e){return rh[e].colorScheme}function Zk(e){return rh[e].icon}const oh=ye(function(t,n){const{status:r="info",addRole:o=!0,...i}=Ct(t),a=t.colorScheme??qk(r),s=Yt("Alert",{...t,colorScheme:a}),l={width:"100%",display:"flex",alignItems:"center",position:"relative",overflow:"hidden",...s.container};return d.jsx(Hk,{value:{status:r},children:d.jsx(Uk,{value:s,children:d.jsx(le.div,{"data-status":r,role:o?"alert":void 0,ref:n,...i,className:Me("chakra-alert",t.className),__css:l})})})});oh.displayName="Alert";function ih(e){const{status:t}=Uu(),n=Zk(t),r=qu(),o=t==="loading"?r.spinner:r.icon;return d.jsx(le.span,{display:"inherit","data-status":t,...e,className:Me("chakra-alert__icon",e.className),__css:o,children:e.children||d.jsx(n,{h:"100%",w:"100%"})})}ih.displayName="AlertIcon";const ah=ye(function(t,n){const r=qu(),{status:o}=Uu();return d.jsx(le.div,{ref:n,"data-status":o,...t,className:Me("chakra-alert__title",t.className),__css:r.title})});ah.displayName="AlertTitle";const sh=ye(function(t,n){const{status:r}=Uu(),o=qu(),i={display:"inline",...o.description};return d.jsx(le.div,{ref:n,"data-status":r,...t,className:Me("chakra-alert__desc",t.className),__css:i})});sh.displayName="AlertDescription";function Gk(e){return d.jsx(Xt,{focusable:"false","aria-hidden":!0,...e,children:d.jsx("path",{fill:"currentColor",d:"M.439,21.44a1.5,1.5,0,0,0,2.122,2.121L11.823,14.3a.25.25,0,0,1,.354,0l9.262,9.263a1.5,1.5,0,1,0,2.122-2.121L14.3,12.177a.25.25,0,0,1,0-.354l9.263-9.262A1.5,1.5,0,0,0,21.439.44L12.177,9.7a.25.25,0,0,1-.354,0L2.561.44A1.5,1.5,0,0,0,.439,2.561L9.7,11.823a.25.25,0,0,1,0,.354Z"})})}const Zu=ye(function(t,n){const r=er("CloseButton",t),{children:o,isDisabled:i,__css:a,...s}=Ct(t),l={outline:0,display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0};return d.jsx(le.button,{type:"button","aria-label":"Close",ref:n,disabled:i,__css:{...l,...r,...a},...s,children:o||d.jsx(Gk,{width:"1em",height:"1em"})})});Zu.displayName="CloseButton";const Kk=e=>{const{status:t,variant:n="solid",id:r,title:o,isClosable:i,onClose:a,description:s,colorScheme:l,icon:c}=e,u=r?{root:`toast-${r}`,title:`toast-${r}-title`,description:`toast-${r}-description`}:void 0;return d.jsxs(oh,{addRole:!1,status:t,variant:n,id:u==null?void 0:u.root,alignItems:"start",borderRadius:"md",boxShadow:"lg",paddingEnd:8,textAlign:"start",width:"auto",colorScheme:l,children:[d.jsx(ih,{children:c}),d.jsxs(le.div,{flex:"1",maxWidth:"100%",children:[o&&d.jsx(ah,{id:u==null?void 0:u.title,children:o}),s&&d.jsx(sh,{id:u==null?void 0:u.description,display:"block",children:s})]}),i&&d.jsx(Zu,{size:"sm",onClick:a,position:"absolute",insetEnd:1,top:1})]})};function lh(e={}){const{render:t,toastComponent:n=Kk}=e;return o=>typeof t=="function"?t({...o,...e}):d.jsx(n,{...o,...e})}const tr=Yk({top:[],"top-left":[],"top-right":[],"bottom-left":[],bottom:[],"bottom-right":[]});function Yk(e){let t=e;const n=new Set,r=o=>{t=o(t),n.forEach(i=>i())};return{getState:()=>t,subscribe:o=>(n.add(o),()=>{r(()=>e),n.delete(o)}),removeToast:(o,i)=>{r(a=>({...a,[i]:a[i].filter(s=>s.id!=o)}))},notify:(o,i)=>{const a=Xk(o,i),{position:s,id:l}=a;return r(c=>{const f=s.includes("top")?[a,...c[s]??[]]:[...c[s]??[],a];return{...c,[s]:f}}),l},update:(o,i)=>{o&&r(a=>{const s={...a},{position:l,index:c}=G2(s,o);return l&&c!==-1&&(s[l][c]={...s[l][c],...i,message:lh(i)}),s})},closeAll:({positions:o}={})=>{r(i=>(o??["bottom","bottom-right","bottom-left","top","top-left","top-right"]).reduce((l,c)=>(l[c]=i[c].map(u=>({...u,requestClose:!0})),l),{...i}))},close:o=>{r(i=>{const a=K2(i,o);return a?{...i,[a]:i[a].map(s=>s.id==o?{...s,requestClose:!0}:s)}:i})},isActive:o=>!!G2(tr.getState(),o).position}}let ch=0;function Xk(e,t={}){ch+=1;const n=t.id??ch,r=t.position??"bottom";return{id:n,message:e,position:r,duration:t.duration,onCloseComplete:t.onCloseComplete,onRequestRemove:()=>tr.removeToast(String(n),r),status:t.status,requestClose:!1,containerStyle:t.containerStyle}}const[uh,Jk]=ht({strict:!1,name:"PortalContext"}),Gu="chakra-portal",Qk=".chakra-portal",e_=e=>d.jsx("div",{className:"chakra-portal-zIndex",style:{position:"absolute",zIndex:e.zIndex,top:0,left:0,right:0},children:e.children}),t_=e=>{const{appendToParentPortal:t,children:n}=e,[r,o]=g.useState(null),i=g.useRef(null),[,a]=g.useState({});g.useEffect(()=>a({}),[]);const s=Jk(),l=R9();Gr(()=>{if(!r)return;const u=r.ownerDocument,f=t?s??u.body:u.body;if(!f)return;i.current=u.createElement("div"),i.current.className=Gu,f.appendChild(i.current),a({});const p=i.current;return()=>{f.contains(p)&&f.removeChild(p)}},[r]);const c=l!=null&&l.zIndex?d.jsx(e_,{zIndex:l==null?void 0:l.zIndex,children:n}):n;return i.current?Sf.createPortal(d.jsx(uh,{value:i.current,children:c}),i.current):d.jsx("span",{ref:u=>{u&&o(u)}})},n_=e=>{const{children:t,containerRef:n,appendToParentPortal:r}=e,o=n.current,i=o??(typeof window<"u"?document.body:void 0),a=g.useMemo(()=>{const l=o==null?void 0:o.ownerDocument.createElement("div");return l&&(l.className=Gu),l},[o]),[,s]=g.useState({});return Gr(()=>s({}),[]),Gr(()=>{if(!(!a||!i))return i.appendChild(a),()=>{i.removeChild(a)}},[a,i]),i&&a?Sf.createPortal(d.jsx(uh,{value:r?a:null,children:t}),a):null};function Qo(e){const t={appendToParentPortal:!0,...e},{containerRef:n,...r}=t;return n?d.jsx(n_,{containerRef:n,...r}):d.jsx(t_,{...r})}Qo.className=Gu,Qo.selector=Qk,Qo.displayName="Portal";const[r_,o_]=ht({name:"ToastOptionsContext",strict:!1}),i_=e=>{const t=g.useSyncExternalStore(tr.subscribe,tr.getState,tr.getState),{motionVariants:n,component:r=J2,portalProps:o,animatePresenceProps:i}=e,s=Object.keys(t).map(l=>{const c=t[l];return d.jsx("div",{role:"region","aria-live":"polite","aria-label":`Notifications-${l}`,id:`chakra-toast-manager-${l}`,style:vk(l),children:d.jsx(no,{...i,initial:!1,children:c.map(u=>d.jsx(r,{motionVariants:n,...u},u.id))})},l)});return d.jsx(Qo,{...o,children:s})},a_=(e=>function({children:n,theme:r=e,toastOptions:o,...i}){return d.jsxs(V9,{theme:r,...i,children:[d.jsx(r_,{value:o==null?void 0:o.defaultOptions,children:n}),d.jsx(i_,{...o})]})})(S1);function dh(e){return e.sort((t,n)=>{const r=t.compareDocumentPosition(n);if(r&Node.DOCUMENT_POSITION_FOLLOWING||r&Node.DOCUMENT_POSITION_CONTAINED_BY)return-1;if(r&Node.DOCUMENT_POSITION_PRECEDING||r&Node.DOCUMENT_POSITION_CONTAINS)return 1;if(r&Node.DOCUMENT_POSITION_DISCONNECTED||r&Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC)throw Error("Cannot sort the given nodes.");return 0})}const s_=e=>typeof e=="object"&&"nodeType"in e&&e.nodeType===Node.ELEMENT_NODE;function fh(e,t,n){let r=e+1;return n&&r>=t&&(r=0),r}function ph(e,t,n){let r=e-1;return n&&r<0&&(r=t),r}const Ku=typeof window<"u"?g.useLayoutEffect:g.useEffect,hh=e=>e;var l_=Object.defineProperty,c_=(e,t,n)=>t in e?l_(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,jt=(e,t,n)=>(c_(e,typeof t!="symbol"?t+"":t,n),n);class u_{constructor(){jt(this,"descendants",new Map),jt(this,"register",t=>{if(t!=null)return s_(t)?this.registerNode(t):n=>{this.registerNode(n,t)}}),jt(this,"unregister",t=>{this.descendants.delete(t);const n=dh(Array.from(this.descendants.keys()));this.assignIndex(n)}),jt(this,"destroy",()=>{this.descendants.clear()}),jt(this,"assignIndex",t=>{this.descendants.forEach(n=>{const r=t.indexOf(n.node);n.index=r,n.node.dataset.index=n.index.toString()})}),jt(this,"count",()=>this.descendants.size),jt(this,"enabledCount",()=>this.enabledValues().length),jt(this,"values",()=>Array.from(this.descendants.values()).sort((n,r)=>n.index-r.index)),jt(this,"enabledValues",()=>this.values().filter(t=>!t.disabled)),jt(this,"item",t=>{if(this.count()!==0)return this.values()[t]}),jt(this,"enabledItem",t=>{if(this.enabledCount()!==0)return this.enabledValues()[t]}),jt(this,"first",()=>this.item(0)),jt(this,"firstEnabled",()=>this.enabledItem(0)),jt(this,"last",()=>this.item(this.descendants.size-1)),jt(this,"lastEnabled",()=>{const t=this.enabledValues().length-1;return this.enabledItem(t)}),jt(this,"indexOf",t=>{var n;return t?((n=this.descendants.get(t))==null?void 0:n.index)??-1:-1}),jt(this,"enabledIndexOf",t=>t==null?-1:this.enabledValues().findIndex(n=>n.node.isSameNode(t))),jt(this,"next",(t,n=!0)=>{const r=fh(t,this.count(),n);return this.item(r)}),jt(this,"nextEnabled",(t,n=!0)=>{const r=this.item(t);if(!r)return;const o=this.enabledIndexOf(r.node),i=fh(o,this.enabledCount(),n);return this.enabledItem(i)}),jt(this,"prev",(t,n=!0)=>{const r=ph(t,this.count()-1,n);return this.item(r)}),jt(this,"prevEnabled",(t,n=!0)=>{const r=this.item(t);if(!r)return;const o=this.enabledIndexOf(r.node),i=ph(o,this.enabledCount()-1,n);return this.enabledItem(i)}),jt(this,"registerNode",(t,n)=>{if(!t||this.descendants.has(t))return;const r=Array.from(this.descendants.keys()).concat(t),o=dh(r);n!=null&&n.disabled&&(n.disabled=!!n.disabled);const i={node:t,index:-1,...n};this.descendants.set(t,i),this.assignIndex(o)})}}function Yu(){const[e,t]=ht({name:"DescendantsProvider",errorMessage:"useDescendantsContext must be used within DescendantsProvider"});return[e,t,()=>{const o=g.useRef(new u_);return Ku(()=>()=>o.current.destroy()),o.current},o=>{const i=t(),[a,s]=g.useState(-1),l=g.useRef(null);Ku(()=>()=>{l.current&&i.unregister(l.current)},[]),Ku(()=>{if(!l.current)return;const u=Number(l.current.dataset.index);a!=u&&!Number.isNaN(u)&&s(u)});const c=hh(o?i.register(o):i.register);return{descendants:i,index:a,enabledIndex:i.enabledIndexOf(l.current),register:Bt(c,l)}}]}const[d_,Js]=ht({name:"AccordionStylesContext",hookName:"useAccordionStyles",providerName:"<Accordion />"}),[f_,Xu]=ht({name:"AccordionItemContext",hookName:"useAccordionItemContext",providerName:"<AccordionItem />"}),[p_,SD,h_,m_]=Yu();function g_(e){const{onChange:t,defaultIndex:n,index:r,allowMultiple:o,allowToggle:i,...a}=e;y_(e),x_(e);const s=h_(),[l,c]=g.useState(-1);g.useEffect(()=>()=>{c(-1)},[]);const[u,f]=Bf({value:r,defaultValue(){return o?n??[]:n??-1},onChange:t});return{index:u,setIndex:f,htmlProps:a,getAccordionItemProps:h=>{let b=!1;return h!==null&&(b=Array.isArray(u)?u.includes(h):u===h),{isOpen:b,onChange:v=>{if(h!==null)if(o&&Array.isArray(u)){const S=v?u.concat(h):u.filter(y=>y!==h);f(S)}else v?f(h):i&&f(-1)}}},focusedIndex:l,setFocusedIndex:c,descendants:s}}const[v_,Ju]=ht({name:"AccordionContext",hookName:"useAccordionContext",providerName:"Accordion"});function b_(e){const{isDisabled:t,isFocusable:n,id:r,...o}=e,{getAccordionItemProps:i,setFocusedIndex:a}=Ju(),s=g.useRef(null),l=g.useId(),c=r??l,u=`accordion-button-${c}`,f=`accordion-panel-${c}`;C_(e);const{register:p,index:h,descendants:b}=m_({disabled:t&&!n}),{isOpen:m,onChange:v}=i(h===-1?null:h);w_({isOpen:m,isDisabled:t});const S=()=>{v==null||v(!0)},y=()=>{v==null||v(!1)},C=g.useCallback(()=>{v==null||v(!m),a(h)},[h,a,m,v]),j=g.useCallback(D=>{const L={ArrowDown:()=>{const Z=b.nextEnabled(h);Z==null||Z.node.focus()},ArrowUp:()=>{const Z=b.prevEnabled(h);Z==null||Z.node.focus()},Home:()=>{const Z=b.firstEnabled();Z==null||Z.node.focus()},End:()=>{const Z=b.lastEnabled();Z==null||Z.node.focus()}}[D.key];L&&(D.preventDefault(),L(D))},[b,h]),x=g.useCallback(()=>{a(h)},[a,h]),E=g.useCallback(function(R={},L=null){return{...R,type:"button",ref:Bt(p,s,L),id:u,disabled:!!t,"aria-expanded":!!m,"aria-controls":f,onClick:Ue(R.onClick,C),onFocus:Ue(R.onFocus,x),onKeyDown:Ue(R.onKeyDown,j)}},[u,t,m,C,x,j,f,p]),P=g.useCallback(function(R={},L=null){return{...R,ref:L,role:"region",id:f,"aria-labelledby":u,hidden:!m}},[u,m,f]);return{isOpen:m,isDisabled:t,isFocusable:n,onOpen:S,onClose:y,getButtonProps:E,getPanelProps:P,htmlProps:o}}function y_(e){const t=e.index||e.defaultIndex,n=t!=null&&!Array.isArray(t)&&e.allowMultiple;Ai({condition:!!n,message:`If 'allowMultiple' is passed, then 'index' or 'defaultIndex' must be an array. You passed: ${typeof t},`})}function x_(e){Ai({condition:!!(e.allowMultiple&&e.allowToggle),message:"If 'allowMultiple' is passed, 'allowToggle' will be ignored. Either remove 'allowToggle' or 'allowMultiple' depending on whether you want multiple accordions visible or not"})}function C_(e){Ai({condition:!!(e.isFocusable&&!e.isDisabled),message:`Using only 'isFocusable', this prop is reserved for situations where you pass 'isDisabled' but you still want the element to receive focus (A11y). Either remove it or pass 'isDisabled' as well.
|
|
346
|
-
`})}function w_(e){Ai({condition:e.isOpen&&!!e.isDisabled,message:"Cannot open a disabled accordion item"})}const mh=ye(function({children:t,reduceMotion:n,...r},o){const i=Yt("Accordion",r),a=Ct(r),{htmlProps:s,descendants:l,...c}=g_(a),u=g.useMemo(()=>({...c,reduceMotion:!!n}),[c,n]);return d.jsx(p_,{value:l,children:d.jsx(v_,{value:u,children:d.jsx(d_,{value:i,children:d.jsx(le.div,{ref:o,...s,className:Me("chakra-accordion",r.className),__css:i.root,children:t})})})})});mh.displayName="Accordion";const gh=ye(function(t,n){const{getButtonProps:r}=Xu(),o=r(t,n),a={display:"flex",alignItems:"center",width:"100%",outline:0,...Js().button};return d.jsx(le.button,{...o,className:Me("chakra-accordion__button",t.className),__css:a})});gh.displayName="AccordionButton";function vh(e){const{isOpen:t,isDisabled:n}=Xu(),{reduceMotion:r}=Ju(),o=Me("chakra-accordion__icon",e.className),i=Js(),a={opacity:n?.4:1,transform:t?"rotate(-180deg)":void 0,transition:r?void 0:"transform 0.2s",transformOrigin:"center",...i.icon};return d.jsx(Xt,{viewBox:"0 0 24 24","aria-hidden":!0,className:o,__css:a,...e,children:d.jsx("path",{fill:"currentColor",d:"M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6z"})})}vh.displayName="AccordionIcon";const bh=ye(function(t,n){const{children:r,className:o}=t,{htmlProps:i,...a}=b_(t),s=Js(),l={...s.container,overflowAnchor:"none"},c=g.useMemo(()=>a,[a]);return d.jsx(f_,{value:c,children:d.jsx(le.div,{ref:n,...i,className:Me("chakra-accordion__item",o),__css:l,children:typeof r=="function"?r({isExpanded:!!a.isOpen,isDisabled:!!a.isDisabled}):r})})});bh.displayName="AccordionItem";const ei={ease:[.25,.1,.25,1],easeIn:[.4,0,1,1],easeOut:[0,0,.2,1],easeInOut:[.4,0,.2,1]},co={enter:{duration:.2,ease:ei.easeOut},exit:{duration:.1,ease:ei.easeIn}},Cr={enter:(e,t)=>({...e,delay:typeof t=="number"?t:t==null?void 0:t.enter}),exit:(e,t)=>({...e,delay:typeof t=="number"?t:t==null?void 0:t.exit})},S_=e=>e!=null&&parseInt(e.toString(),10)>0,yh={exit:{height:{duration:.2,ease:ei.ease},opacity:{duration:.3,ease:ei.ease}},enter:{height:{duration:.3,ease:ei.ease},opacity:{duration:.4,ease:ei.ease}}},k_={exit:({animateOpacity:e,startingHeight:t,transition:n,transitionEnd:r,delay:o})=>({...e&&{opacity:S_(t)?1:0},height:t,transitionEnd:r==null?void 0:r.exit,transition:(n==null?void 0:n.exit)??Cr.exit(yh.exit,o)}),enter:({animateOpacity:e,endingHeight:t,transition:n,transitionEnd:r,delay:o})=>({...e&&{opacity:1},height:t,transitionEnd:r==null?void 0:r.enter,transition:(n==null?void 0:n.enter)??Cr.enter(yh.enter,o)})},xh=g.forwardRef((e,t)=>{const{in:n,unmountOnExit:r,animateOpacity:o=!0,startingHeight:i=0,endingHeight:a="auto",style:s,className:l,transition:c,transitionEnd:u,animatePresenceProps:f,...p}=e,[h,b]=g.useState(!1);g.useEffect(()=>{const C=setTimeout(()=>{b(!0)});return()=>clearTimeout(C)},[]),Ai({condition:Number(i)>0&&!!r,message:"startingHeight and unmountOnExit are mutually exclusive. You can't use them together"});const m=parseFloat(i.toString())>0,v={startingHeight:i,endingHeight:a,animateOpacity:o,transition:h?c:{enter:{duration:0}},transitionEnd:{enter:u==null?void 0:u.enter,exit:r?u==null?void 0:u.exit:{...u==null?void 0:u.exit,display:m?"block":"none"}}},S=r?n:!0,y=n||r?"enter":"exit";return d.jsx(no,{...f,initial:!1,custom:v,children:S&&d.jsx(Qn.div,{ref:t,...p,className:Me("chakra-collapse",l),style:{overflow:"hidden",display:"block",...s},custom:v,variants:k_,initial:r?"exit":!1,animate:y,exit:"exit"})})});xh.displayName="Collapse";const Ch=ye(function(t,n){const{className:r,motionProps:o,...i}=t,{reduceMotion:a}=Ju(),{getPanelProps:s,isOpen:l}=Xu(),c=s(i,n),u=Me("chakra-accordion__panel",r),f=Js();a||delete c.hidden;const p=d.jsx(le.div,{...c,__css:f.panel,className:u});return a?p:d.jsx(xh,{in:l,...o,children:p})});Ch.displayName="AccordionPanel";const[__,j_]=ht({name:"AvatarStylesContext",hookName:"useAvatarStyles",providerName:"<Avatar/>"});function T_(e){const t=e.trim().split(" "),n=t[0]??"",r=t.length>1?t[t.length-1]:"";return n&&r?`${n.charAt(0)}${r.charAt(0)}`:n.charAt(0)}function wh(e){const{name:t,getInitials:n,...r}=e,o=j_();return d.jsx(le.div,{role:"img","aria-label":t,...r,__css:o.label,children:t?n==null?void 0:n(t):null})}wh.displayName="AvatarName";const Sh=e=>d.jsxs(le.svg,{viewBox:"0 0 128 128",color:"#fff",width:"100%",height:"100%",className:"chakra-avatar__svg",...e,children:[d.jsx("path",{fill:"currentColor",d:"M103,102.1388 C93.094,111.92 79.3504,118 64.1638,118 C48.8056,118 34.9294,111.768 25,101.7892 L25,95.2 C25,86.8096 31.981,80 40.6,80 L87.4,80 C96.019,80 103,86.8096 103,95.2 L103,102.1388 Z"}),d.jsx("path",{fill:"currentColor",d:"M63.9961647,24 C51.2938136,24 41,34.2938136 41,46.9961647 C41,59.7061864 51.2938136,70 63.9961647,70 C76.6985159,70 87,59.7061864 87,46.9961647 C87,34.2938136 76.6985159,24 63.9961647,24"})]});function kh(e){const{loading:t,src:n,srcSet:r,onLoad:o,onError:i,crossOrigin:a,sizes:s,ignoreFallback:l}=e,[c,u]=g.useState("pending");g.useEffect(()=>{u(n?"loading":"pending")},[n]);const f=g.useRef(),p=g.useCallback(()=>{if(!n)return;h();const b=new Image;b.src=n,a&&(b.crossOrigin=a),r&&(b.srcset=r),s&&(b.sizes=s),t&&(b.loading=t),b.onload=m=>{h(),u("loaded"),o==null||o(m)},b.onerror=m=>{h(),u("failed"),i==null||i(m)},f.current=b},[n,a,r,s,o,i,t]),h=()=>{f.current&&(f.current.onload=null,f.current.onerror=null,f.current=null)};return Gr(()=>{if(!l)return c==="loading"&&p(),()=>{h()}},[c,p,l]),l?"loaded":c}const P_=(e,t)=>e!=="loaded"&&t==="beforeLoadOrError"||e==="failed"&&t==="onError";function _h(e){const{src:t,srcSet:n,onError:r,onLoad:o,getInitials:i,name:a,borderRadius:s,loading:l,iconLabel:c,icon:u=d.jsx(Sh,{}),ignoreFallback:f,referrerPolicy:p,crossOrigin:h}=e,m=kh({src:t,onError:r,crossOrigin:h,ignoreFallback:f})==="loaded";return!t||!m?a?d.jsx(wh,{className:"chakra-avatar__initials",getInitials:i,name:a}):g.cloneElement(u,{role:"img","aria-label":c}):d.jsx(le.img,{src:t,srcSet:n,alt:a??c,onLoad:o,referrerPolicy:p,crossOrigin:h??void 0,className:"chakra-avatar__img",loading:l,__css:{width:"100%",height:"100%",objectFit:"cover",borderRadius:s}})}_h.displayName="AvatarImage";const E_={display:"inline-flex",alignItems:"center",justifyContent:"center",textAlign:"center",textTransform:"uppercase",fontWeight:"medium",position:"relative",flexShrink:0},jh=ye((e,t)=>{const n=Yt("Avatar",e),[r,o]=g.useState(!1),{src:i,srcSet:a,name:s,showBorder:l,borderRadius:c="full",onError:u,onLoad:f,getInitials:p=T_,icon:h=d.jsx(Sh,{}),iconLabel:b=" avatar",loading:m,children:v,borderColor:S,ignoreFallback:y,crossOrigin:C,referrerPolicy:j,...x}=Ct(e),E={borderRadius:c,borderWidth:l?"2px":void 0,...E_,...n.container};return S&&(E.borderColor=S),d.jsx(le.span,{ref:t,...x,className:Me("chakra-avatar",e.className),"data-loaded":Be(r),__css:E,children:d.jsxs(__,{value:n,children:[d.jsx(_h,{src:i,srcSet:a,loading:m,onLoad:Ue(f,()=>{o(!0)}),onError:u,getInitials:p,name:s,borderRadius:c,icon:h,iconLabel:b,ignoreFallback:y,crossOrigin:C,referrerPolicy:j}),v]})})});jh.displayName="Avatar";const qe=le("div");qe.displayName="Box";const Th=ye(function(t,n){const{size:r,centerContent:o=!0,...i}=t,a=o?{display:"flex",alignItems:"center",justifyContent:"center"}:{};return d.jsx(qe,{ref:n,boxSize:r,__css:{...a,flexShrink:0,flexGrow:0},...i})});Th.displayName="Square";const Ph=ye(function(t,n){const{size:r,...o}=t;return d.jsx(Th,{size:r,ref:n,borderRadius:"9999px",...o})});Ph.displayName="Circle";const[A_,M_]=ht({strict:!1,name:"ButtonGroupContext"});function ba(e){const{children:t,className:n,...r}=e,o=g.isValidElement(t)?g.cloneElement(t,{"aria-hidden":!0,focusable:!1}):t,i=Me("chakra-button__icon",n);return d.jsx(le.span,{display:"inline-flex",alignSelf:"center",flexShrink:0,...r,className:i,children:o})}ba.displayName="ButtonIcon";function Qu(e){const{label:t,placement:n,spacing:r="0.5rem",children:o=d.jsx(Hu,{color:"currentColor",width:"1em",height:"1em"}),className:i,__css:a,...s}=e,l=Me("chakra-button__spinner",i),c=n==="start"?"marginEnd":"marginStart",u=g.useMemo(()=>({display:"flex",alignItems:"center",position:t?"relative":"absolute",[c]:t?r:0,fontSize:"1em",lineHeight:"normal",...a}),[a,t,c,r]);return d.jsx(le.div,{className:l,...s,__css:u,children:o})}Qu.displayName="ButtonSpinner";function O_(e){const[t,n]=g.useState(!e);return{ref:g.useCallback(i=>{i&&n(i.tagName==="BUTTON")},[]),type:t?"button":void 0}}const ln=ye((e,t)=>{const n=M_(),r=er("Button",{...n,...e}),{isDisabled:o=n==null?void 0:n.isDisabled,isLoading:i,isActive:a,children:s,leftIcon:l,rightIcon:c,loadingText:u,iconSpacing:f="0.5rem",type:p,spinner:h,spinnerPlacement:b="start",className:m,as:v,shouldWrapChildren:S,...y}=Ct(e),C=g.useMemo(()=>{const P={...r==null?void 0:r._focus,zIndex:1};return{display:"inline-flex",appearance:"none",alignItems:"center",justifyContent:"center",userSelect:"none",position:"relative",whiteSpace:"nowrap",verticalAlign:"middle",outline:"none",...r,...!!n&&{_focus:P}}},[r,n]),{ref:j,type:x}=O_(v),E={rightIcon:c,leftIcon:l,iconSpacing:f,children:s,shouldWrapChildren:S};return d.jsxs(le.button,{disabled:o||i,ref:Ag(t,j),as:v,type:p??x,"data-active":Be(a),"data-loading":Be(i),__css:C,className:Me("chakra-button",m),...y,children:[i&&b==="start"&&d.jsx(Qu,{className:"chakra-button__spinner--start",label:u,placement:"start",spacing:f,children:h}),i?u||d.jsx(le.span,{opacity:0,children:d.jsx(Eh,{...E})}):d.jsx(Eh,{...E}),i&&b==="end"&&d.jsx(Qu,{className:"chakra-button__spinner--end",label:u,placement:"end",spacing:f,children:h})]})});ln.displayName="Button";function Eh(e){const{leftIcon:t,rightIcon:n,children:r,iconSpacing:o,shouldWrapChildren:i}=e;return i?d.jsxs("span",{style:{display:"contents"},children:[t&&d.jsx(ba,{marginEnd:o,children:t}),r,n&&d.jsx(ba,{marginStart:o,children:n})]}):d.jsxs(d.Fragment,{children:[t&&d.jsx(ba,{marginEnd:o,children:t}),r,n&&d.jsx(ba,{marginStart:o,children:n})]})}const I_={horizontal:{"> *:first-of-type:not(:last-of-type)":{borderEndRadius:0},"> *:not(:first-of-type):not(:last-of-type)":{borderRadius:0},"> *:not(:first-of-type):last-of-type":{borderStartRadius:0}},vertical:{"> *:first-of-type:not(:last-of-type)":{borderBottomRadius:0},"> *:not(:first-of-type):not(:last-of-type)":{borderRadius:0},"> *:not(:first-of-type):last-of-type":{borderTopRadius:0}}},D_={horizontal:e=>({"& > *:not(style) ~ *:not(style)":{marginStart:e}}),vertical:e=>({"& > *:not(style) ~ *:not(style)":{marginTop:e}})},ed=ye(function(t,n){const{size:r,colorScheme:o,variant:i,className:a,spacing:s="0.5rem",isAttached:l,isDisabled:c,orientation:u="horizontal",...f}=t,p=Me("chakra-button__group",a),h=g.useMemo(()=>({size:r,colorScheme:o,variant:i,isDisabled:c}),[r,o,i,c]);let b={display:"inline-flex",...l?I_[u]:D_[u](s)};const m=u==="vertical";return d.jsx(A_,{value:h,children:d.jsx(le.div,{ref:n,role:"group",__css:b,className:p,"data-attached":l?"":void 0,"data-orientation":u,flexDir:m?"column":void 0,...f})})});ed.displayName="ButtonGroup";const qt=ye((e,t)=>{const{icon:n,children:r,isRound:o,"aria-label":i,...a}=e,s=n||r,l=g.isValidElement(s)?g.cloneElement(s,{"aria-hidden":!0,focusable:!1}):null;return d.jsx(ln,{px:"0",py:"0",borderRadius:o?"full":void 0,ref:t,"aria-label":i,...a,children:l})});qt.displayName="IconButton";const[kD,$_]=ht({name:"CheckboxGroupContext",strict:!1});function F_(e){return d.jsx(le.svg,{width:"1.2em",viewBox:"0 0 12 10",style:{fill:"none",strokeWidth:2,stroke:"currentColor",strokeDasharray:16},...e,children:d.jsx("polyline",{points:"1.5 6 4.5 9 10.5 1"})})}function z_(e){return d.jsx(le.svg,{width:"1.2em",viewBox:"0 0 24 24",style:{stroke:"currentColor",strokeWidth:4},...e,children:d.jsx("line",{x1:"21",x2:"3",y1:"12",y2:"12"})})}function L_(e){const{isIndeterminate:t,isChecked:n,...r}=e,o=t?z_:F_;return n||t?d.jsx(le.div,{style:{display:"flex",alignItems:"center",justifyContent:"center",height:"100%"},children:d.jsx(o,{...r})}):null}var B_=()=>typeof document<"u",Ah=!1,ya=null,uo=!1,td=!1,nd=new Set;function rd(e,t){nd.forEach(n=>n(e,t))}var N_=typeof window<"u"&&window.navigator!=null?/^Mac/.test(window.navigator.platform):!1;function R_(e){return!(e.metaKey||!N_&&e.altKey||e.ctrlKey||e.key==="Control"||e.key==="Shift"||e.key==="Meta")}function Mh(e){uo=!0,R_(e)&&(ya="keyboard",rd("keyboard",e))}function ti(e){if(ya="pointer",e.type==="mousedown"||e.type==="pointerdown"){uo=!0;const t=e.composedPath?e.composedPath()[0]:e.target;let n=!1;try{n=t.matches(":focus-visible")}catch{}if(n)return;rd("pointer",e)}}function V_(e){return e.mozInputSource===0&&e.isTrusted?!0:e.detail===0&&!e.pointerType}function W_(e){V_(e)&&(uo=!0,ya="virtual")}function H_(e){e.target===window||e.target===document||e.target instanceof Element&&e.target.hasAttribute("tabindex")||(!uo&&!td&&(ya="virtual",rd("virtual",e)),uo=!1,td=!1)}function U_(){uo=!1,td=!0}function Oh(){return ya!=="pointer"}function q_(){if(!B_()||Ah)return;const{focus:e}=HTMLElement.prototype;HTMLElement.prototype.focus=function(...n){uo=!0,e.apply(this,n)},document.addEventListener("keydown",Mh,!0),document.addEventListener("keyup",Mh,!0),document.addEventListener("click",W_,!0),window.addEventListener("focus",H_,!0),window.addEventListener("blur",U_,!1),typeof PointerEvent<"u"?(document.addEventListener("pointerdown",ti,!0),document.addEventListener("pointermove",ti,!0),document.addEventListener("pointerup",ti,!0)):(document.addEventListener("mousedown",ti,!0),document.addEventListener("mousemove",ti,!0),document.addEventListener("mouseup",ti,!0)),Ah=!0}function Z_(e){q_(),e(Oh());const t=()=>e(Oh());return nd.add(t),()=>{nd.delete(t)}}const[G_,Ih]=ht({name:"FormControlStylesContext",errorMessage:`useFormControlStyles returned is 'undefined'. Seems you forgot to wrap the components in "<FormControl />" `}),[K_,Qs]=ht({strict:!1,name:"FormControlContext"});function Y_(e){const{id:t,isRequired:n,isInvalid:r,isDisabled:o,isReadOnly:i,...a}=e,s=g.useId(),l=t||`field-${s}`,c=`${l}-label`,u=`${l}-feedback`,f=`${l}-helptext`,[p,h]=g.useState(!1),[b,m]=g.useState(!1),[v,S]=g.useState(!1),y=g.useCallback((P={},D=null)=>({id:f,...P,ref:Bt(D,R=>{R&&m(!0)})}),[f]),C=g.useCallback((P={},D=null)=>({...P,ref:D,"data-focus":Be(v),"data-disabled":Be(o),"data-invalid":Be(r),"data-readonly":Be(i),id:P.id!==void 0?P.id:c,htmlFor:P.htmlFor!==void 0?P.htmlFor:l}),[l,o,v,r,i,c]),j=g.useCallback((P={},D=null)=>({id:u,...P,ref:Bt(D,R=>{R&&h(!0)}),"aria-live":"polite"}),[u]),x=g.useCallback((P={},D=null)=>({...P,...a,ref:D,role:"group","data-focus":Be(v),"data-disabled":Be(o),"data-invalid":Be(r),"data-readonly":Be(i)}),[a,o,v,r,i]),E=g.useCallback((P={},D=null)=>({...P,ref:D,role:"presentation","aria-hidden":!0,children:P.children||"*"}),[]);return{isRequired:!!n,isInvalid:!!r,isReadOnly:!!i,isDisabled:!!o,isFocused:!!v,onFocus:()=>S(!0),onBlur:()=>S(!1),hasFeedbackText:p,setHasFeedbackText:h,hasHelpText:b,setHasHelpText:m,id:l,labelId:c,feedbackId:u,helpTextId:f,htmlProps:a,getHelpTextProps:y,getErrorMessageProps:j,getRootProps:x,getLabelProps:C,getRequiredIndicatorProps:E}}const xa=ye(function(t,n){const r=Yt("Form",t),o=Ct(t),{getRootProps:i,htmlProps:a,...s}=Y_(o),l=Me("chakra-form-control",t.className);return d.jsx(K_,{value:s,children:d.jsx(G_,{value:r,children:d.jsx(le.div,{...i({},n),className:l,__css:r.container})})})});xa.displayName="FormControl";const X_=ye(function(t,n){const r=Qs(),o=Ih(),i=Me("chakra-form__helper-text",t.className);return d.jsx(le.div,{...r==null?void 0:r.getHelpTextProps(t,n),__css:o.helperText,className:i})});X_.displayName="FormHelperText";function od(e){const{isDisabled:t,isInvalid:n,isReadOnly:r,isRequired:o,...i}=Dh(e);return{...i,disabled:t,readOnly:r,required:o,"aria-invalid":Dl(n),"aria-required":Dl(o),"aria-readonly":Dl(r)}}function Dh(e){const t=Qs(),{id:n,disabled:r,readOnly:o,required:i,isRequired:a,isInvalid:s,isReadOnly:l,isDisabled:c,onFocus:u,onBlur:f,...p}=e,h=e["aria-describedby"]?[e["aria-describedby"]]:[];return t!=null&&t.hasFeedbackText&&(t!=null&&t.isInvalid)&&h.push(t.feedbackId),t!=null&&t.hasHelpText&&h.push(t.helpTextId),{...p,"aria-describedby":h.join(" ")||void 0,id:n??(t==null?void 0:t.id),isDisabled:r??c??(t==null?void 0:t.isDisabled),isReadOnly:o??l??(t==null?void 0:t.isReadOnly),isRequired:i??a??(t==null?void 0:t.isRequired),isInvalid:s??(t==null?void 0:t.isInvalid),onFocus:Ue(t==null?void 0:t.onFocus,u),onBlur:Ue(t==null?void 0:t.onBlur,f)}}const J_={border:"0",clip:"rect(0, 0, 0, 0)",height:"1px",width:"1px",margin:"-1px",padding:"0",overflow:"hidden",whiteSpace:"nowrap",position:"absolute"};function $h(e={}){const t=Dh(e),{isDisabled:n,isReadOnly:r,isRequired:o,isInvalid:i,id:a,onBlur:s,onFocus:l,"aria-describedby":c}=t,{defaultChecked:u,isChecked:f,isFocusable:p,onChange:h,isIndeterminate:b,name:m,value:v,tabIndex:S=void 0,"aria-label":y,"aria-labelledby":C,"aria-invalid":j,...x}=e,E=So(x,["isDisabled","isReadOnly","isRequired","isInvalid","id","onBlur","onFocus","aria-describedby"]),P=Dn(h),D=Dn(s),R=Dn(l),[L,Z]=g.useState(!1),[ce,ae]=g.useState(!1),[z,Y]=g.useState(!1),[G,N]=g.useState(!1);g.useEffect(()=>Z_(Z),[]);const ue=g.useRef(null),[he,O]=g.useState(!0),[F,K]=g.useState(!!u),V=f!==void 0,B=V?f:F,w=g.useCallback(A=>{if(r||n){A.preventDefault();return}V||K(B?A.currentTarget.checked:b?!0:A.currentTarget.checked),P==null||P(A)},[r,n,B,V,b,P]);Gr(()=>{ue.current&&(ue.current.indeterminate=!!b)},[b]),ko(()=>{n&&ae(!1)},[n,ae]),Gr(()=>{const A=ue.current;if(!(A!=null&&A.form))return;const q=()=>{K(!!u)};return A.form.addEventListener("reset",q),()=>{var re;return(re=A.form)==null?void 0:re.removeEventListener("reset",q)}},[]);const J=n&&!p,Q=g.useCallback(A=>{A.key===" "&&N(!0)},[N]),ee=g.useCallback(A=>{A.key===" "&&N(!1)},[N]);Gr(()=>{if(!ue.current)return;ue.current.checked!==B&&K(ue.current.checked)},[ue.current]);const me=g.useCallback((A={},q=null)=>{const re=xe=>{ce&&xe.preventDefault(),N(!0)};return{...A,ref:q,"data-active":Be(G),"data-hover":Be(z),"data-checked":Be(B),"data-focus":Be(ce),"data-focus-visible":Be(ce&&L),"data-indeterminate":Be(b),"data-disabled":Be(n),"data-invalid":Be(i),"data-readonly":Be(r),"aria-hidden":!0,onMouseDown:Ue(A.onMouseDown,re),onMouseUp:Ue(A.onMouseUp,()=>N(!1)),onMouseEnter:Ue(A.onMouseEnter,()=>Y(!0)),onMouseLeave:Ue(A.onMouseLeave,()=>Y(!1))}},[G,B,n,ce,L,z,b,i,r]),de=g.useCallback((A={},q=null)=>({...A,ref:q,"data-active":Be(G),"data-hover":Be(z),"data-checked":Be(B),"data-focus":Be(ce),"data-focus-visible":Be(ce&&L),"data-indeterminate":Be(b),"data-disabled":Be(n),"data-invalid":Be(i),"data-readonly":Be(r)}),[G,B,n,ce,L,z,b,i,r]),ke=g.useCallback((A={},q=null)=>({...E,...A,ref:Bt(q,re=>{re&&O(re.tagName==="LABEL")}),onClick:Ue(A.onClick,()=>{var re;he||((re=ue.current)==null||re.click(),requestAnimationFrame(()=>{var xe;(xe=ue.current)==null||xe.focus({preventScroll:!0})}))}),"data-disabled":Be(n),"data-checked":Be(B),"data-invalid":Be(i)}),[E,n,B,i,he]),H=g.useCallback((A={},q=null)=>({...A,ref:Bt(ue,q),type:"checkbox",name:m,value:v,id:a,tabIndex:S,onChange:Ue(A.onChange,w),onBlur:Ue(A.onBlur,D,()=>ae(!1)),onFocus:Ue(A.onFocus,R,()=>ae(!0)),onKeyDown:Ue(A.onKeyDown,Q),onKeyUp:Ue(A.onKeyUp,ee),required:o,checked:B,disabled:J,readOnly:r,"aria-label":y,"aria-labelledby":C,"aria-invalid":j?!!j:i,"aria-describedby":c,"aria-disabled":n,style:J_}),[m,v,a,w,D,R,Q,ee,o,B,J,r,y,C,j,i,c,n,S]),Te=g.useCallback((A={},q=null)=>({...A,ref:q,onMouseDown:Ue(A.onMouseDown,Q_),"data-disabled":Be(n),"data-checked":Be(B),"data-invalid":Be(i)}),[B,n,i]);return{state:{isInvalid:i,isFocused:ce,isChecked:B,isActive:G,isHovered:z,isIndeterminate:b,isDisabled:n,isReadOnly:r,isRequired:o},getRootProps:ke,getCheckboxProps:me,getIndicatorProps:de,getInputProps:H,getLabelProps:Te,htmlProps:E}}function Q_(e){e.preventDefault(),e.stopPropagation()}function ej(e){const[t,n]=g.useState(e),[r,o]=g.useState(!1);return e!==t&&(o(!0),n(e)),r}const tj={display:"inline-flex",alignItems:"center",justifyContent:"center",verticalAlign:"top",userSelect:"none",flexShrink:0},nj={cursor:"pointer",display:"inline-flex",alignItems:"center",verticalAlign:"top",position:"relative"},rj=Ir({from:{opacity:0,strokeDashoffset:16,transform:"scale(0.95)"},to:{opacity:1,strokeDashoffset:0,transform:"scale(1)"}}),oj=Ir({from:{opacity:0},to:{opacity:1}}),ij=Ir({from:{transform:"scaleX(0.65)"},to:{transform:"scaleX(1)"}}),Fh=ye(function(t,n){const r=$_(),o={...r,...t},i=Yt("Checkbox",o),a=Ct(t),{spacing:s="0.5rem",className:l,children:c,iconColor:u,iconSize:f,icon:p=d.jsx(L_,{}),isChecked:h,isDisabled:b=r==null?void 0:r.isDisabled,onChange:m,inputProps:v,...S}=a;let y=h;r!=null&&r.value&&a.value&&(y=r.value.includes(a.value));let C=m;r!=null&&r.onChange&&a.value&&(C=Mf(r.onChange,m));const{state:j,getInputProps:x,getCheckboxProps:E,getLabelProps:P,getRootProps:D}=$h({...S,isDisabled:b,isChecked:y,onChange:C}),R=ej(j.isChecked),L=g.useMemo(()=>({animation:R?j.isIndeterminate?`${oj} 20ms linear, ${ij} 200ms linear`:`${rj} 200ms linear`:void 0,...i.icon,...Ei({fontSize:f,color:u})}),[u,f,R,j.isIndeterminate,i.icon]),Z=g.cloneElement(p,{__css:L,isIndeterminate:j.isIndeterminate,isChecked:j.isChecked});return d.jsxs(le.label,{__css:{...nj,...i.container},className:Me("chakra-checkbox",l),...D(),children:[d.jsx("input",{className:"chakra-checkbox__input",...x(v,n)}),d.jsx(le.span,{__css:{...tj,...i.control},className:"chakra-checkbox__control",...E(),children:Z}),c&&d.jsx(le.span,{className:"chakra-checkbox__label",...P(),__css:{marginStart:s,...i.label},children:c})]})});Fh.displayName="Checkbox";const zh=ye(function(t,n){const{borderLeftWidth:r,borderBottomWidth:o,borderTopWidth:i,borderRightWidth:a,borderWidth:s,borderStyle:l,borderColor:c,...u}=er("Divider",t),{className:f,orientation:p="horizontal",__css:h,...b}=Ct(t),m={vertical:{borderLeftWidth:r||a||s||"1px",height:"100%"},horizontal:{borderBottomWidth:o||i||s||"1px",width:"100%"}};return d.jsx(le.hr,{ref:n,"aria-orientation":p,...b,__css:{...u,border:"0",borderColor:c,borderStyle:l,...m[p],...h},className:Me("chakra-divider",f)})});zh.displayName="Divider";function Ca(e){return typeof e=="function"}function aj(...e){return t=>e.reduce((n,r)=>r(n),t)}const sj=(e=>function(...n){let r=[...n],o=n[n.length-1];return M8(o)&&r.length>1?r=r.slice(0,r.length-1):o=e,aj(...r.map(i=>a=>Ca(i)?i(a):lj(a,i)))(o)})(S1);function lj(...e){return kn({},...e,Lh)}function Lh(e,t,n,r){if((Ca(e)||Ca(t))&&Object.prototype.hasOwnProperty.call(r,n))return(...o)=>{const i=Ca(e)?e(...o):e,a=Ca(t)?t(...o):t;return kn({},i,a,Lh)};if(Za(e)&&Za(t))return[...e,...t];if(Za(e)&&rn(t))return t}const ut=ye(function(t,n){const{direction:r,align:o,justify:i,wrap:a,basis:s,grow:l,shrink:c,...u}=t,f={display:"flex",flexDirection:r,alignItems:o,justifyContent:i,flexWrap:a,flexBasis:s,flexGrow:l,flexShrink:c};return d.jsx(le.div,{ref:n,__css:f,...u})});ut.displayName="Flex";function cj(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.includes(r))continue;n[r]=e[r]}return n}var id={exports:{}};/*
|
|
345
|
+
`),()=>{document.head.removeChild(u)}},[t]),d.jsx(U9,{isPresent:t,childRef:r,sizeRef:o,children:Se.cloneElement(e,{ref:r})})}const Z9=({children:e,initial:t,isPresent:n,onExitComplete:r,custom:o,presenceAffectsLayout:i,mode:a})=>{const s=Ic(G9),l=g.useId(),c=g.useCallback(f=>{s.set(f,!0);for(const p of s.values())if(!p)return;r&&r()},[s,r]),u=g.useMemo(()=>({id:l,initial:t,isPresent:n,custom:o,onExitComplete:c,register:f=>(s.set(f,!1),()=>s.delete(f))}),i?[Math.random(),c]:[n,c]);return g.useMemo(()=>{s.forEach((f,p)=>s.set(p,!1))},[n]),Se.useEffect(()=>{!n&&!s.size&&r&&r()},[n]),a==="popLayout"&&(e=d.jsx(q9,{isPresent:n,children:e})),d.jsx(Qi.Provider,{value:u,children:e})};function G9(){return new Map}function $c(e=!0){const t=g.useContext(Qi);if(t===null)return[!0,null];const{isPresent:n,onExitComplete:r,register:o}=t,i=g.useId();g.useEffect(()=>{e&&o(i)},[e]);const a=g.useCallback(()=>e&&r&&r(i),[i,r,e]);return!n&&r?[!1,a]:[!0]}function K9(){return Y9(g.useContext(Qi))}function Y9(e){return e===null?!0:e.isPresent}const As=e=>e.key||"";function op(e){const t=[];return g.Children.forEach(e,n=>{g.isValidElement(n)&&t.push(n)}),t}const Fc=typeof window<"u",ip=Fc?g.useLayoutEffect:g.useEffect,no=({children:e,custom:t,initial:n=!0,onExitComplete:r,presenceAffectsLayout:o=!0,mode:i="sync",propagate:a=!1})=>{const[s,l]=$c(a),c=g.useMemo(()=>op(e),[e]),u=a&&!s?[]:c.map(As),f=g.useRef(!0),p=g.useRef(c),h=Ic(()=>new Map),[b,m]=g.useState(c),[v,S]=g.useState(c);ip(()=>{f.current=!1,p.current=c;for(let j=0;j<v.length;j++){const x=As(v[j]);u.includes(x)?h.delete(x):h.get(x)!==!0&&h.set(x,!1)}},[v,u.length,u.join("-")]);const y=[];if(c!==b){let j=[...c];for(let x=0;x<v.length;x++){const E=v[x],P=As(E);u.includes(P)||(j.splice(x,0,E),y.push(E))}i==="wait"&&y.length&&(j=y),S(op(j)),m(c);return}process.env.NODE_ENV!=="production"&&i==="wait"&&v.length>1&&console.warn(`You're attempting to animate multiple children within AnimatePresence, but its mode is set to "wait". This will lead to odd visual behaviour.`);const{forceRender:w}=g.useContext(Oc);return d.jsx(d.Fragment,{children:v.map(j=>{const x=As(j),E=a&&!s?!1:c===v||u.includes(x),P=()=>{if(h.has(x))h.set(x,!0);else return;let D=!0;h.forEach(R=>{R||(D=!1)}),D&&(w==null||w(),S(p.current),a&&(l==null||l()),r&&r())};return d.jsx(Z9,{isPresent:E,initial:!f.current||n?void 0:!1,custom:E?void 0:t,presenceAffectsLayout:o,mode:i,onExitComplete:E?void 0:P,children:j},x)})})},sn=e=>e;let Vo=sn,Dr=sn;process.env.NODE_ENV!=="production"&&(Vo=(e,t)=>{!e&&typeof console<"u"&&console.warn(t)},Dr=(e,t)=>{if(!e)throw new Error(t)});function zc(e){let t;return()=>(t===void 0&&(t=e()),t)}const Wo=(e,t,n)=>{const r=t-e;return r===0?1:(n-e)/r},Yn=e=>e*1e3,yr=e=>e/1e3,X9={skipAnimations:!1,useManualTiming:!1};function J9(e){let t=new Set,n=new Set,r=!1,o=!1;const i=new WeakSet;let a={delta:0,timestamp:0,isProcessing:!1};function s(c){i.has(c)&&(l.schedule(c),e()),c(a)}const l={schedule:(c,u=!1,f=!1)=>{const h=f&&r?t:n;return u&&i.add(c),h.has(c)||h.add(c),c},cancel:c=>{n.delete(c),i.delete(c)},process:c=>{if(a=c,r){o=!0;return}r=!0,[t,n]=[n,t],t.forEach(s),t.clear(),r=!1,o&&(o=!1,l.process(c))}};return l}const Ms=["read","resolveKeyframes","update","preRender","render","postRender"],Q9=40;function ap(e,t){let n=!1,r=!0;const o={delta:0,timestamp:0,isProcessing:!1},i=()=>n=!0,a=Ms.reduce((S,y)=>(S[y]=J9(i),S),{}),{read:s,resolveKeyframes:l,update:c,preRender:u,render:f,postRender:p}=a,h=()=>{const S=performance.now();n=!1,o.delta=r?1e3/60:Math.max(Math.min(S-o.timestamp,Q9),1),o.timestamp=S,o.isProcessing=!0,s.process(o),l.process(o),c.process(o),u.process(o),f.process(o),p.process(o),o.isProcessing=!1,n&&t&&(r=!1,e(h))},b=()=>{n=!0,r=!0,o.isProcessing||e(h)};return{schedule:Ms.reduce((S,y)=>{const w=a[y];return S[y]=(j,x=!1,E=!1)=>(n||b(),w.schedule(j,x,E)),S},{}),cancel:S=>{for(let y=0;y<Ms.length;y++)a[Ms[y]].cancel(S)},state:o,steps:a}}const{schedule:vt,cancel:$r,state:Rt,steps:Lc}=ap(typeof requestAnimationFrame<"u"?requestAnimationFrame:sn,!0),sp=g.createContext({strict:!1}),lp={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]},Ho={};for(const e in lp)Ho[e]={isEnabled:t=>lp[e].some(n=>!!t[n])};function ex(e){for(const t in e)Ho[t]={...Ho[t],...e[t]}}const tx=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","ignoreStrict","viewport"]);function Os(e){return e.startsWith("while")||e.startsWith("drag")&&e!=="draggable"||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||tx.has(e)}let cp=e=>!Os(e);function nx(e){e&&(cp=t=>t.startsWith("on")?!Os(t):e(t))}try{nx(require("@emotion/is-prop-valid").default)}catch{}function rx(e,t,n){const r={};for(const o in e)o==="values"&&typeof e.values=="object"||(cp(o)||n===!0&&Os(o)||!t&&!Os(o)||e.draggable&&o.startsWith("onDrag"))&&(r[o]=e[o]);return r}const up=new Set;function Is(e,t,n){e||up.has(t)||(console.warn(t),up.add(t))}function ox(e){if(typeof Proxy>"u")return e;const t=new Map,n=(...r)=>(process.env.NODE_ENV!=="production"&&Is(!1,"motion() is deprecated. Use motion.create() instead."),e(...r));return new Proxy(n,{get:(r,o)=>o==="create"?e:(t.has(o)||t.set(o,e(o)),t.get(o))})}const Ds=g.createContext({});function ea(e){return typeof e=="string"||Array.isArray(e)}function $s(e){return e!==null&&typeof e=="object"&&typeof e.start=="function"}const Bc=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],Nc=["initial",...Bc];function Fs(e){return $s(e.animate)||Nc.some(t=>ea(e[t]))}function dp(e){return!!(Fs(e)||e.variants)}function ix(e,t){if(Fs(e)){const{initial:n,animate:r}=e;return{initial:n===!1||ea(n)?n:void 0,animate:ea(r)?r:void 0}}return e.inherit!==!1?t:{}}function ax(e){const{initial:t,animate:n}=ix(e,g.useContext(Ds));return g.useMemo(()=>({initial:t,animate:n}),[fp(t),fp(n)])}function fp(e){return Array.isArray(e)?e.join(" "):e}const sx=Symbol.for("motionComponentSymbol");function Uo(e){return e&&typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}function lx(e,t,n){return g.useCallback(r=>{r&&e.onMount&&e.onMount(r),t&&(r?t.mount(r):t.unmount()),n&&(typeof n=="function"?n(r):Uo(n)&&(n.current=r))},[t])}const Rc=e=>e.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),pp="data-"+Rc("framerAppearId"),{schedule:Vc,cancel:CD}=ap(queueMicrotask,!1),hp=g.createContext({});function cx(e,t,n,r,o){var i,a;const{visualElement:s}=g.useContext(Ds),l=g.useContext(sp),c=g.useContext(Qi),u=g.useContext(Dc).reducedMotion,f=g.useRef(null);r=r||l.renderer,!f.current&&r&&(f.current=r(e,{visualState:t,parent:s,props:n,presenceContext:c,blockInitialAnimation:c?c.initial===!1:!1,reducedMotionConfig:u}));const p=f.current,h=g.useContext(hp);p&&!p.projection&&o&&(p.type==="html"||p.type==="svg")&&ux(f.current,n,o,h);const b=g.useRef(!1);g.useInsertionEffect(()=>{p&&b.current&&p.update(n,c)});const m=n[pp],v=g.useRef(!!m&&!(!((i=window.MotionHandoffIsComplete)===null||i===void 0)&&i.call(window,m))&&((a=window.MotionHasOptimisedAnimation)===null||a===void 0?void 0:a.call(window,m)));return ip(()=>{p&&(b.current=!0,window.MotionIsMounted=!0,p.updateFeatures(),Vc.render(p.render),v.current&&p.animationState&&p.animationState.animateChanges())}),g.useEffect(()=>{p&&(!v.current&&p.animationState&&p.animationState.animateChanges(),v.current&&(queueMicrotask(()=>{var S;(S=window.MotionHandoffMarkAsComplete)===null||S===void 0||S.call(window,m)}),v.current=!1))}),p}function ux(e,t,n,r){const{layoutId:o,layout:i,drag:a,dragConstraints:s,layoutScroll:l,layoutRoot:c}=t;e.projection=new n(e.latestValues,t["data-framer-portal-id"]?void 0:mp(e.parent)),e.projection.setOptions({layoutId:o,layout:i,alwaysMeasureLayout:!!a||s&&Uo(s),visualElement:e,animationType:typeof i=="string"?i:"both",initialPromotionConfig:r,layoutScroll:l,layoutRoot:c})}function mp(e){if(e)return e.options.allowProjection!==!1?e.projection:mp(e.parent)}function dx({preloadedFeatures:e,createVisualElement:t,useRender:n,useVisualState:r,Component:o}){var i,a;e&&ex(e);function s(c,u){let f;const p={...g.useContext(Dc),...c,layoutId:fx(c)},{isStatic:h}=p,b=ax(c),m=r(c,h);if(!h&&Fc){px(p,e);const v=hx(p);f=v.MeasureLayout,b.visualElement=cx(o,m,p,t,v.ProjectionNode)}return d.jsxs(Ds.Provider,{value:b,children:[f&&b.visualElement?d.jsx(f,{visualElement:b.visualElement,...p}):null,n(o,c,lx(m,b.visualElement,u),m,h,b.visualElement)]})}s.displayName=`motion.${typeof o=="string"?o:`create(${(a=(i=o.displayName)!==null&&i!==void 0?i:o.name)!==null&&a!==void 0?a:""})`}`;const l=g.forwardRef(s);return l[sx]=o,l}function fx({layoutId:e}){const t=g.useContext(Oc).id;return t&&e!==void 0?t+"-"+e:e}function px(e,t){const n=g.useContext(sp).strict;if(process.env.NODE_ENV!=="production"&&t&&n){const r="You have rendered a `motion` component within a `LazyMotion` component. This will break tree shaking. Import and render a `m` component instead.";e.ignoreStrict?Vo(!1,r):Dr(!1,r)}}function hx(e){const{drag:t,layout:n}=Ho;if(!t&&!n)return{};const r={...t,...n};return{MeasureLayout:t!=null&&t.isEnabled(e)||n!=null&&n.isEnabled(e)?r.MeasureLayout:void 0,ProjectionNode:r.ProjectionNode}}const mx=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function Wc(e){return typeof e!="string"||e.includes("-")?!1:!!(mx.indexOf(e)>-1||/[A-Z]/u.test(e))}function gp(e){const t=[{},{}];return e==null||e.values.forEach((n,r)=>{t[0][r]=n.get(),t[1][r]=n.getVelocity()}),t}function Hc(e,t,n,r){if(typeof t=="function"){const[o,i]=gp(r);t=t(n!==void 0?n:e.custom,o,i)}if(typeof t=="string"&&(t=e.variants&&e.variants[t]),typeof t=="function"){const[o,i]=gp(r);t=t(n!==void 0?n:e.custom,o,i)}return t}const Uc=e=>Array.isArray(e),gx=e=>!!(e&&typeof e=="object"&&e.mix&&e.toValue),vx=e=>Uc(e)?e[e.length-1]||0:e,Ht=e=>!!(e&&e.getVelocity);function zs(e){const t=Ht(e)?e.get():e;return gx(t)?t.toValue():t}function bx({scrapeMotionValuesFromProps:e,createRenderState:t,onUpdate:n},r,o,i){const a={latestValues:yx(r,o,i,e),renderState:t()};return n&&(a.onMount=s=>n({props:r,current:s,...a}),a.onUpdate=s=>n(s)),a}const vp=e=>(t,n)=>{const r=g.useContext(Ds),o=g.useContext(Qi),i=()=>bx(e,t,r,o);return n?i():Ic(i)};function yx(e,t,n,r){const o={},i=r(e,{});for(const p in i)o[p]=zs(i[p]);let{initial:a,animate:s}=e;const l=Fs(e),c=dp(e);t&&c&&!l&&e.inherit!==!1&&(a===void 0&&(a=t.initial),s===void 0&&(s=t.animate));let u=n?n.initial===!1:!1;u=u||a===!1;const f=u?s:a;if(f&&typeof f!="boolean"&&!$s(f)){const p=Array.isArray(f)?f:[f];for(let h=0;h<p.length;h++){const b=Hc(e,p[h]);if(b){const{transitionEnd:m,transition:v,...S}=b;for(const y in S){let w=S[y];if(Array.isArray(w)){const j=u?w.length-1:0;w=w[j]}w!==null&&(o[y]=w)}for(const y in m)o[y]=m[y]}}}return o}const qo=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],ro=new Set(qo),bp=e=>t=>typeof t=="string"&&t.startsWith(e),yp=bp("--"),xx=bp("var(--"),qc=e=>xx(e)?Cx.test(e.split("/*")[0].trim()):!1,Cx=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu,xp=(e,t)=>t&&typeof e=="number"?t.transform(e):e,xr=(e,t,n)=>n>t?t:n<e?e:n,Zo={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},ta={...Zo,transform:e=>xr(0,1,e)},Ls={...Zo,default:1},na=e=>({test:t=>typeof t=="string"&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),Fr=na("deg"),Xn=na("%"),Oe=na("px"),wx=na("vh"),Sx=na("vw"),Cp={...Xn,parse:e=>Xn.parse(e)/100,transform:e=>Xn.transform(e*100)},kx={borderWidth:Oe,borderTopWidth:Oe,borderRightWidth:Oe,borderBottomWidth:Oe,borderLeftWidth:Oe,borderRadius:Oe,radius:Oe,borderTopLeftRadius:Oe,borderTopRightRadius:Oe,borderBottomRightRadius:Oe,borderBottomLeftRadius:Oe,width:Oe,maxWidth:Oe,height:Oe,maxHeight:Oe,top:Oe,right:Oe,bottom:Oe,left:Oe,padding:Oe,paddingTop:Oe,paddingRight:Oe,paddingBottom:Oe,paddingLeft:Oe,margin:Oe,marginTop:Oe,marginRight:Oe,marginBottom:Oe,marginLeft:Oe,backgroundPositionX:Oe,backgroundPositionY:Oe},_x={rotate:Fr,rotateX:Fr,rotateY:Fr,rotateZ:Fr,scale:Ls,scaleX:Ls,scaleY:Ls,scaleZ:Ls,skew:Fr,skewX:Fr,skewY:Fr,distance:Oe,translateX:Oe,translateY:Oe,translateZ:Oe,x:Oe,y:Oe,z:Oe,perspective:Oe,transformPerspective:Oe,opacity:ta,originX:Cp,originY:Cp,originZ:Oe},wp={...Zo,transform:Math.round},Zc={...kx,..._x,zIndex:wp,size:Oe,fillOpacity:ta,strokeOpacity:ta,numOctaves:wp},jx={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},Tx=qo.length;function Px(e,t,n){let r="",o=!0;for(let i=0;i<Tx;i++){const a=qo[i],s=e[a];if(s===void 0)continue;let l=!0;if(typeof s=="number"?l=s===(a.startsWith("scale")?1:0):l=parseFloat(s)===0,!l||n){const c=xp(s,Zc[a]);if(!l){o=!1;const u=jx[a]||a;r+=`${u}(${c}) `}n&&(t[a]=c)}}return r=r.trim(),n?r=n(t,o?"":r):o&&(r="none"),r}function Gc(e,t,n){const{style:r,vars:o,transformOrigin:i}=e;let a=!1,s=!1;for(const l in t){const c=t[l];if(ro.has(l)){a=!0;continue}else if(yp(l)){o[l]=c;continue}else{const u=xp(c,Zc[l]);l.startsWith("origin")?(s=!0,i[l]=u):r[l]=u}}if(t.transform||(a||n?r.transform=Px(t,e.transform,n):r.transform&&(r.transform="none")),s){const{originX:l="50%",originY:c="50%",originZ:u=0}=i;r.transformOrigin=`${l} ${c} ${u}`}}const Ex={offset:"stroke-dashoffset",array:"stroke-dasharray"},Ax={offset:"strokeDashoffset",array:"strokeDasharray"};function Mx(e,t,n=1,r=0,o=!0){e.pathLength=1;const i=o?Ex:Ax;e[i.offset]=Oe.transform(-r);const a=Oe.transform(t),s=Oe.transform(n);e[i.array]=`${a} ${s}`}function Sp(e,t,n){return typeof e=="string"?e:Oe.transform(t+n*e)}function Ox(e,t,n){const r=Sp(t,e.x,e.width),o=Sp(n,e.y,e.height);return`${r} ${o}`}function Kc(e,{attrX:t,attrY:n,attrScale:r,originX:o,originY:i,pathLength:a,pathSpacing:s=1,pathOffset:l=0,...c},u,f){if(Gc(e,c,f),u){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};const{attrs:p,style:h,dimensions:b}=e;p.transform&&(b&&(h.transform=p.transform),delete p.transform),b&&(o!==void 0||i!==void 0||h.transform)&&(h.transformOrigin=Ox(b,o!==void 0?o:.5,i!==void 0?i:.5)),t!==void 0&&(p.x=t),n!==void 0&&(p.y=n),r!==void 0&&(p.scale=r),a!==void 0&&Mx(p,a,s,l,!1)}const Yc=()=>({style:{},transform:{},transformOrigin:{},vars:{}}),kp=()=>({...Yc(),attrs:{}}),Xc=e=>typeof e=="string"&&e.toLowerCase()==="svg";function _p(e,{style:t,vars:n},r,o){Object.assign(e.style,t,o&&o.getProjectionStyles(r));for(const i in n)e.style.setProperty(i,n[i])}const jp=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]);function Tp(e,t,n,r){_p(e,t,void 0,r);for(const o in t.attrs)e.setAttribute(jp.has(o)?o:Rc(o),t.attrs[o])}const Bs={};function Ix(e){Object.assign(Bs,e)}function Pp(e,{layout:t,layoutId:n}){return ro.has(e)||e.startsWith("origin")||(t||n!==void 0)&&(!!Bs[e]||e==="opacity")}function Jc(e,t,n){var r;const{style:o}=e,i={};for(const a in o)(Ht(o[a])||t.style&&Ht(t.style[a])||Pp(a,e)||((r=n==null?void 0:n.getValue(a))===null||r===void 0?void 0:r.liveStyle)!==void 0)&&(i[a]=o[a]);return i}function Ep(e,t,n){const r=Jc(e,t,n);for(const o in e)if(Ht(e[o])||Ht(t[o])){const i=qo.indexOf(o)!==-1?"attr"+o.charAt(0).toUpperCase()+o.substring(1):o;r[i]=e[o]}return r}function Dx(e,t){try{t.dimensions=typeof e.getBBox=="function"?e.getBBox():e.getBoundingClientRect()}catch{t.dimensions={x:0,y:0,width:0,height:0}}}const Ap=["x","y","width","height","cx","cy","r"],$x={useVisualState:vp({scrapeMotionValuesFromProps:Ep,createRenderState:kp,onUpdate:({props:e,prevProps:t,current:n,renderState:r,latestValues:o})=>{if(!n)return;let i=!!e.drag;if(!i){for(const s in o)if(ro.has(s)){i=!0;break}}if(!i)return;let a=!t;if(t)for(let s=0;s<Ap.length;s++){const l=Ap[s];e[l]!==t[l]&&(a=!0)}a&&vt.read(()=>{Dx(n,r),vt.render(()=>{Kc(r,o,Xc(n.tagName),e.transformTemplate),Tp(n,r)})})}})},Fx={useVisualState:vp({scrapeMotionValuesFromProps:Jc,createRenderState:Yc})};function Mp(e,t,n){for(const r in t)!Ht(t[r])&&!Pp(r,n)&&(e[r]=t[r])}function zx({transformTemplate:e},t){return g.useMemo(()=>{const n=Yc();return Gc(n,t,e),Object.assign({},n.vars,n.style)},[t])}function Lx(e,t){const n=e.style||{},r={};return Mp(r,n,e),Object.assign(r,zx(e,t)),r}function Bx(e,t){const n={},r=Lx(e,t);return e.drag&&e.dragListener!==!1&&(n.draggable=!1,r.userSelect=r.WebkitUserSelect=r.WebkitTouchCallout="none",r.touchAction=e.drag===!0?"none":`pan-${e.drag==="x"?"y":"x"}`),e.tabIndex===void 0&&(e.onTap||e.onTapStart||e.whileTap)&&(n.tabIndex=0),n.style=r,n}function Nx(e,t,n,r){const o=g.useMemo(()=>{const i=kp();return Kc(i,t,Xc(r),e.transformTemplate),{...i.attrs,style:{...i.style}}},[t]);if(e.style){const i={};Mp(i,e.style,e),o.style={...i,...o.style}}return o}function Rx(e=!1){return(n,r,o,{latestValues:i},a)=>{const l=(Wc(n)?Nx:Bx)(r,i,a,n),c=rx(r,typeof n=="string",e),u=n!==g.Fragment?{...c,...l,ref:o}:{},{children:f}=r,p=g.useMemo(()=>Ht(f)?f.get():f,[f]);return g.createElement(n,{...u,children:p})}}function Vx(e,t){return function(r,{forwardMotionProps:o}={forwardMotionProps:!1}){const a={...Wc(r)?$x:Fx,preloadedFeatures:e,useRender:Rx(o),createVisualElement:t,Component:r};return dx(a)}}function Op(e,t){if(!Array.isArray(t))return!1;const n=t.length;if(n!==e.length)return!1;for(let r=0;r<n;r++)if(t[r]!==e[r])return!1;return!0}function Ns(e,t,n){const r=e.getProps();return Hc(r,t,n!==void 0?n:r.custom,e)}const Wx=zc(()=>window.ScrollTimeline!==void 0);class Hx{constructor(t){this.stop=()=>this.runAll("stop"),this.animations=t.filter(Boolean)}get finished(){return Promise.all(this.animations.map(t=>"finished"in t?t.finished:t))}getAll(t){return this.animations[0][t]}setAll(t,n){for(let r=0;r<this.animations.length;r++)this.animations[r][t]=n}attachTimeline(t,n){const r=this.animations.map(o=>{if(Wx()&&o.attachTimeline)return o.attachTimeline(t);if(typeof n=="function")return n(o)});return()=>{r.forEach((o,i)=>{o&&o(),this.animations[i].stop()})}}get time(){return this.getAll("time")}set time(t){this.setAll("time",t)}get speed(){return this.getAll("speed")}set speed(t){this.setAll("speed",t)}get startTime(){return this.getAll("startTime")}get duration(){let t=0;for(let n=0;n<this.animations.length;n++)t=Math.max(t,this.animations[n].duration);return t}runAll(t){this.animations.forEach(n=>n[t]())}flatten(){this.runAll("flatten")}play(){this.runAll("play")}pause(){this.runAll("pause")}cancel(){this.runAll("cancel")}complete(){this.runAll("complete")}}class Ux extends Hx{then(t,n){return Promise.all(this.animations).then(t).catch(n)}}function Qc(e,t){return e?e[t]||e.default||e:void 0}const eu=2e4;function Ip(e){let t=0;const n=50;let r=e.next(t);for(;!r.done&&t<eu;)t+=n,r=e.next(t);return t>=eu?1/0:t}function tu(e){return typeof e=="function"}function Dp(e,t){e.timeline=t,e.onfinish=null}const nu=e=>Array.isArray(e)&&typeof e[0]=="number",qx={linearEasing:void 0};function Zx(e,t){const n=zc(e);return()=>{var r;return(r=qx[t])!==null&&r!==void 0?r:n()}}const Rs=Zx(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),$p=(e,t,n=10)=>{let r="";const o=Math.max(Math.round(t/n),2);for(let i=0;i<o;i++)r+=e(Wo(0,o-1,i))+", ";return`linear(${r.substring(0,r.length-2)})`};function Fp(e){return!!(typeof e=="function"&&Rs()||!e||typeof e=="string"&&(e in ru||Rs())||nu(e)||Array.isArray(e)&&e.every(Fp))}const ra=([e,t,n,r])=>`cubic-bezier(${e}, ${t}, ${n}, ${r})`,ru={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:ra([0,.65,.55,1]),circOut:ra([.55,0,1,.45]),backIn:ra([.31,.01,.66,-.59]),backOut:ra([.33,1.53,.69,.99])};function zp(e,t){if(e)return typeof e=="function"&&Rs()?$p(e,t):nu(e)?ra(e):Array.isArray(e)?e.map(n=>zp(n,t)||ru.easeOut):ru[e]}const zn={x:!1,y:!1};function Lp(){return zn.x||zn.y}function Gx(e,t,n){var r;if(e instanceof Element)return[e];if(typeof e=="string"){let o=document;const i=(r=void 0)!==null&&r!==void 0?r:o.querySelectorAll(e);return i?Array.from(i):[]}return Array.from(e)}function Bp(e,t){const n=Gx(e),r=new AbortController,o={passive:!0,...t,signal:r.signal};return[n,o,()=>r.abort()]}function Np(e){return t=>{t.pointerType==="touch"||Lp()||e(t)}}function Kx(e,t,n={}){const[r,o,i]=Bp(e,n),a=Np(s=>{const{target:l}=s,c=t(s);if(typeof c!="function"||!l)return;const u=Np(f=>{c(f),l.removeEventListener("pointerleave",u)});l.addEventListener("pointerleave",u,o)});return r.forEach(s=>{s.addEventListener("pointerenter",a,o)}),i}const Rp=(e,t)=>t?e===t?!0:Rp(e,t.parentElement):!1,ou=e=>e.pointerType==="mouse"?typeof e.button!="number"||e.button<=0:e.isPrimary!==!1,Yx=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function Xx(e){return Yx.has(e.tagName)||e.tabIndex!==-1}const oa=new WeakSet;function Vp(e){return t=>{t.key==="Enter"&&e(t)}}function iu(e,t){e.dispatchEvent(new PointerEvent("pointer"+t,{isPrimary:!0,bubbles:!0}))}const Jx=(e,t)=>{const n=e.currentTarget;if(!n)return;const r=Vp(()=>{if(oa.has(n))return;iu(n,"down");const o=Vp(()=>{iu(n,"up")}),i=()=>iu(n,"cancel");n.addEventListener("keyup",o,t),n.addEventListener("blur",i,t)});n.addEventListener("keydown",r,t),n.addEventListener("blur",()=>n.removeEventListener("keydown",r),t)};function Wp(e){return ou(e)&&!Lp()}function Qx(e,t,n={}){const[r,o,i]=Bp(e,n),a=s=>{const l=s.currentTarget;if(!Wp(s)||oa.has(l))return;oa.add(l);const c=t(s),u=(h,b)=>{window.removeEventListener("pointerup",f),window.removeEventListener("pointercancel",p),!(!Wp(h)||!oa.has(l))&&(oa.delete(l),typeof c=="function"&&c(h,{success:b}))},f=h=>{u(h,n.useGlobalTarget||Rp(l,h.target))},p=h=>{u(h,!1)};window.addEventListener("pointerup",f,o),window.addEventListener("pointercancel",p,o)};return r.forEach(s=>{!Xx(s)&&s.getAttribute("tabindex")===null&&(s.tabIndex=0),(n.useGlobalTarget?window:s).addEventListener("pointerdown",a,o),s.addEventListener("focus",c=>Jx(c,o),o)}),i}function eC(e){return e==="x"||e==="y"?zn[e]?null:(zn[e]=!0,()=>{zn[e]=!1}):zn.x||zn.y?null:(zn.x=zn.y=!0,()=>{zn.x=zn.y=!1})}const Hp=new Set(["width","height","top","left","right","bottom",...qo]);let Vs;function tC(){Vs=void 0}const Jn={now:()=>(Vs===void 0&&Jn.set(Rt.isProcessing||X9.useManualTiming?Rt.timestamp:performance.now()),Vs),set:e=>{Vs=e,queueMicrotask(tC)}};function au(e,t){e.indexOf(t)===-1&&e.push(t)}function su(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}class lu{constructor(){this.subscriptions=[]}add(t){return au(this.subscriptions,t),()=>su(this.subscriptions,t)}notify(t,n,r){const o=this.subscriptions.length;if(o)if(o===1)this.subscriptions[0](t,n,r);else for(let i=0;i<o;i++){const a=this.subscriptions[i];a&&a(t,n,r)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}function Up(e,t){return t?e*(1e3/t):0}const qp=30,nC=e=>!isNaN(parseFloat(e));class rC{constructor(t,n={}){this.version="11.18.2",this.canTrackVelocity=null,this.events={},this.updateAndNotify=(r,o=!0)=>{const i=Jn.now();this.updatedAt!==i&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(r),this.current!==this.prev&&this.events.change&&this.events.change.notify(this.current),o&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.hasAnimated=!1,this.setCurrent(t),this.owner=n.owner}setCurrent(t){this.current=t,this.updatedAt=Jn.now(),this.canTrackVelocity===null&&t!==void 0&&(this.canTrackVelocity=nC(this.current))}setPrevFrameValue(t=this.current){this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt}onChange(t){return process.env.NODE_ENV!=="production"&&Is(!1,'value.onChange(callback) is deprecated. Switch to value.on("change", callback).'),this.on("change",t)}on(t,n){this.events[t]||(this.events[t]=new lu);const r=this.events[t].add(n);return t==="change"?()=>{r(),vt.read(()=>{this.events.change.getSize()||this.stop()})}:r}clearListeners(){for(const t in this.events)this.events[t].clear()}attach(t,n){this.passiveEffect=t,this.stopPassiveEffect=n}set(t,n=!0){!n||!this.passiveEffect?this.updateAndNotify(t,n):this.passiveEffect(t,this.updateAndNotify)}setWithVelocity(t,n,r){this.set(n),this.prev=void 0,this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt-r}jump(t,n=!0){this.updateAndNotify(t),this.prev=t,this.prevUpdatedAt=this.prevFrameValue=void 0,n&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return this.current}getPrevious(){return this.prev}getVelocity(){const t=Jn.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||t-this.updatedAt>qp)return 0;const n=Math.min(this.updatedAt-this.prevUpdatedAt,qp);return Up(parseFloat(this.current)-parseFloat(this.prevFrameValue),n)}start(t){return this.stop(),new Promise(n=>{this.hasAnimated=!0,this.animation=t(n),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function ia(e,t){return new rC(e,t)}function oC(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,ia(n))}function iC(e,t){const n=Ns(e,t);let{transitionEnd:r={},transition:o={},...i}=n||{};i={...i,...r};for(const a in i){const s=vx(i[a]);oC(e,a,s)}}function aC(e){return!!(Ht(e)&&e.add)}function cu(e,t){const n=e.getValue("willChange");if(aC(n))return n.add(t)}function Zp(e){return e.props[pp]}const Gp=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e,sC=1e-7,lC=12;function cC(e,t,n,r,o){let i,a,s=0;do a=t+(n-t)/2,i=Gp(a,r,o)-e,i>0?n=a:t=a;while(Math.abs(i)>sC&&++s<lC);return a}function aa(e,t,n,r){if(e===t&&n===r)return sn;const o=i=>cC(i,0,1,e,n);return i=>i===0||i===1?i:Gp(o(i),t,r)}const Kp=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,Yp=e=>t=>1-e(1-t),Xp=aa(.33,1.53,.69,.99),uu=Yp(Xp),Jp=Kp(uu),Qp=e=>(e*=2)<1?.5*uu(e):.5*(2-Math.pow(2,-10*(e-1))),du=e=>1-Math.sin(Math.acos(e)),e0=Yp(du),t0=Kp(du),n0=e=>/^0[^.\s]+$/u.test(e);function uC(e){return typeof e=="number"?e===0:e!==null?e==="none"||e==="0"||n0(e):!0}const sa=e=>Math.round(e*1e5)/1e5,fu=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function dC(e){return e==null}const fC=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,pu=(e,t)=>n=>!!(typeof n=="string"&&fC.test(n)&&n.startsWith(e)||t&&!dC(n)&&Object.prototype.hasOwnProperty.call(n,t)),r0=(e,t,n)=>r=>{if(typeof r!="string")return r;const[o,i,a,s]=r.match(fu);return{[e]:parseFloat(o),[t]:parseFloat(i),[n]:parseFloat(a),alpha:s!==void 0?parseFloat(s):1}},pC=e=>xr(0,255,e),hu={...Zo,transform:e=>Math.round(pC(e))},oo={test:pu("rgb","red"),parse:r0("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:r=1})=>"rgba("+hu.transform(e)+", "+hu.transform(t)+", "+hu.transform(n)+", "+sa(ta.transform(r))+")"};function hC(e){let t="",n="",r="",o="";return e.length>5?(t=e.substring(1,3),n=e.substring(3,5),r=e.substring(5,7),o=e.substring(7,9)):(t=e.substring(1,2),n=e.substring(2,3),r=e.substring(3,4),o=e.substring(4,5),t+=t,n+=n,r+=r,o+=o),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(r,16),alpha:o?parseInt(o,16)/255:1}}const mu={test:pu("#"),parse:hC,transform:oo.transform},Go={test:pu("hsl","hue"),parse:r0("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>"hsla("+Math.round(e)+", "+Xn.transform(sa(t))+", "+Xn.transform(sa(n))+", "+sa(ta.transform(r))+")"},Ut={test:e=>oo.test(e)||mu.test(e)||Go.test(e),parse:e=>oo.test(e)?oo.parse(e):Go.test(e)?Go.parse(e):mu.parse(e),transform:e=>typeof e=="string"?e:e.hasOwnProperty("red")?oo.transform(e):Go.transform(e)},mC=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function gC(e){var t,n;return isNaN(e)&&typeof e=="string"&&(((t=e.match(fu))===null||t===void 0?void 0:t.length)||0)+(((n=e.match(mC))===null||n===void 0?void 0:n.length)||0)>0}const o0="number",i0="color",vC="var",bC="var(",a0="${}",yC=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function la(e){const t=e.toString(),n=[],r={color:[],number:[],var:[]},o=[];let i=0;const s=t.replace(yC,l=>(Ut.test(l)?(r.color.push(i),o.push(i0),n.push(Ut.parse(l))):l.startsWith(bC)?(r.var.push(i),o.push(vC),n.push(l)):(r.number.push(i),o.push(o0),n.push(parseFloat(l))),++i,a0)).split(a0);return{values:n,split:s,indexes:r,types:o}}function s0(e){return la(e).values}function l0(e){const{split:t,types:n}=la(e),r=t.length;return o=>{let i="";for(let a=0;a<r;a++)if(i+=t[a],o[a]!==void 0){const s=n[a];s===o0?i+=sa(o[a]):s===i0?i+=Ut.transform(o[a]):i+=o[a]}return i}}const xC=e=>typeof e=="number"?0:e;function CC(e){const t=s0(e);return l0(e)(t.map(xC))}const zr={test:gC,parse:s0,createTransformer:l0,getAnimatableNone:CC},wC=new Set(["brightness","contrast","saturate","opacity"]);function SC(e){const[t,n]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;const[r]=n.match(fu)||[];if(!r)return e;const o=n.replace(r,"");let i=wC.has(t)?1:0;return r!==n&&(i*=100),t+"("+i+o+")"}const kC=/\b([a-z-]*)\(.*?\)/gu,gu={...zr,getAnimatableNone:e=>{const t=e.match(kC);return t?t.map(SC).join(" "):e}},_C={...Zc,color:Ut,backgroundColor:Ut,outlineColor:Ut,fill:Ut,stroke:Ut,borderColor:Ut,borderTopColor:Ut,borderRightColor:Ut,borderBottomColor:Ut,borderLeftColor:Ut,filter:gu,WebkitFilter:gu},vu=e=>_C[e];function c0(e,t){let n=vu(e);return n!==gu&&(n=zr),n.getAnimatableNone?n.getAnimatableNone(t):void 0}const jC=new Set(["auto","none","0"]);function TC(e,t,n){let r=0,o;for(;r<e.length&&!o;){const i=e[r];typeof i=="string"&&!jC.has(i)&&la(i).values.length&&(o=e[r]),r++}if(o&&n)for(const i of t)e[i]=c0(n,o)}const u0=e=>e===Zo||e===Oe,d0=(e,t)=>parseFloat(e.split(", ")[t]),f0=(e,t)=>(n,{transform:r})=>{if(r==="none"||!r)return 0;const o=r.match(/^matrix3d\((.+)\)$/u);if(o)return d0(o[1],t);{const i=r.match(/^matrix\((.+)\)$/u);return i?d0(i[1],e):0}},PC=new Set(["x","y","z"]),EC=qo.filter(e=>!PC.has(e));function AC(e){const t=[];return EC.forEach(n=>{const r=e.getValue(n);r!==void 0&&(t.push([n,r.get()]),r.set(n.startsWith("scale")?1:0))}),t}const Ko={width:({x:e},{paddingLeft:t="0",paddingRight:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),height:({y:e},{paddingTop:t="0",paddingBottom:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:f0(4,13),y:f0(5,14)};Ko.translateX=Ko.x,Ko.translateY=Ko.y;const io=new Set;let bu=!1,yu=!1;function p0(){if(yu){const e=Array.from(io).filter(r=>r.needsMeasurement),t=new Set(e.map(r=>r.element)),n=new Map;t.forEach(r=>{const o=AC(r);o.length&&(n.set(r,o),r.render())}),e.forEach(r=>r.measureInitialState()),t.forEach(r=>{r.render();const o=n.get(r);o&&o.forEach(([i,a])=>{var s;(s=r.getValue(i))===null||s===void 0||s.set(a)})}),e.forEach(r=>r.measureEndState()),e.forEach(r=>{r.suspendedScrollY!==void 0&&window.scrollTo(0,r.suspendedScrollY)})}yu=!1,bu=!1,io.forEach(e=>e.complete()),io.clear()}function h0(){io.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(yu=!0)})}function MC(){h0(),p0()}class xu{constructor(t,n,r,o,i,a=!1){this.isComplete=!1,this.isAsync=!1,this.needsMeasurement=!1,this.isScheduled=!1,this.unresolvedKeyframes=[...t],this.onComplete=n,this.name=r,this.motionValue=o,this.element=i,this.isAsync=a}scheduleResolve(){this.isScheduled=!0,this.isAsync?(io.add(this),bu||(bu=!0,vt.read(h0),vt.resolveKeyframes(p0))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:t,name:n,element:r,motionValue:o}=this;for(let i=0;i<t.length;i++)if(t[i]===null)if(i===0){const a=o==null?void 0:o.get(),s=t[t.length-1];if(a!==void 0)t[0]=a;else if(r&&n){const l=r.readValue(n,s);l!=null&&(t[0]=l)}t[0]===void 0&&(t[0]=s),o&&a===void 0&&o.set(t[0])}else t[i]=t[i-1]}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(){this.isComplete=!0,this.onComplete(this.unresolvedKeyframes,this.finalKeyframe),io.delete(this)}cancel(){this.isComplete||(this.isScheduled=!1,io.delete(this))}resume(){this.isComplete||this.scheduleResolve()}}const m0=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e),OC=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function IC(e){const t=OC.exec(e);if(!t)return[,];const[,n,r,o]=t;return[`--${n??r}`,o]}const DC=4;function g0(e,t,n=1){Dr(n<=DC,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`);const[r,o]=IC(e);if(!r)return;const i=window.getComputedStyle(t).getPropertyValue(r);if(i){const a=i.trim();return m0(a)?parseFloat(a):a}return qc(o)?g0(o,t,n+1):o}const v0=e=>t=>t.test(e),b0=[Zo,Oe,Xn,Fr,Sx,wx,{test:e=>e==="auto",parse:e=>e}],y0=e=>b0.find(v0(e));class x0 extends xu{constructor(t,n,r,o,i){super(t,n,r,o,i,!0)}readKeyframes(){const{unresolvedKeyframes:t,element:n,name:r}=this;if(!n||!n.current)return;super.readKeyframes();for(let l=0;l<t.length;l++){let c=t[l];if(typeof c=="string"&&(c=c.trim(),qc(c))){const u=g0(c,n.current);u!==void 0&&(t[l]=u),l===t.length-1&&(this.finalKeyframe=c)}}if(this.resolveNoneKeyframes(),!Hp.has(r)||t.length!==2)return;const[o,i]=t,a=y0(o),s=y0(i);if(a!==s)if(u0(a)&&u0(s))for(let l=0;l<t.length;l++){const c=t[l];typeof c=="string"&&(t[l]=parseFloat(c))}else this.needsMeasurement=!0}resolveNoneKeyframes(){const{unresolvedKeyframes:t,name:n}=this,r=[];for(let o=0;o<t.length;o++)uC(t[o])&&r.push(o);r.length&&TC(t,r,n)}measureInitialState(){const{element:t,unresolvedKeyframes:n,name:r}=this;if(!t||!t.current)return;r==="height"&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=Ko[r](t.measureViewportBox(),window.getComputedStyle(t.current)),n[0]=this.measuredOrigin;const o=n[n.length-1];o!==void 0&&t.getValue(r,o).jump(o,!1)}measureEndState(){var t;const{element:n,name:r,unresolvedKeyframes:o}=this;if(!n||!n.current)return;const i=n.getValue(r);i&&i.jump(this.measuredOrigin,!1);const a=o.length-1,s=o[a];o[a]=Ko[r](n.measureViewportBox(),window.getComputedStyle(n.current)),s!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=s),!((t=this.removedTransforms)===null||t===void 0)&&t.length&&this.removedTransforms.forEach(([l,c])=>{n.getValue(l).set(c)}),this.resolveNoneKeyframes()}}const C0=(e,t)=>t==="zIndex"?!1:!!(typeof e=="number"||Array.isArray(e)||typeof e=="string"&&(zr.test(e)||e==="0")&&!e.startsWith("url("));function $C(e){const t=e[0];if(e.length===1)return!0;for(let n=0;n<e.length;n++)if(e[n]!==t)return!0}function FC(e,t,n,r){const o=e[0];if(o===null)return!1;if(t==="display"||t==="visibility")return!0;const i=e[e.length-1],a=C0(o,t),s=C0(i,t);return Vo(a===s,`You are trying to animate ${t} from "${o}" to "${i}". ${o} is not an animatable value - to enable this animation set ${o} to a value animatable to ${i} via the \`style\` property.`),!a||!s?!1:$C(e)||(n==="spring"||tu(n))&&r}const zC=e=>e!==null;function Ws(e,{repeat:t,repeatType:n="loop"},r){const o=e.filter(zC),i=t&&n!=="loop"&&t%2===1?0:o.length-1;return!i||r===void 0?o[i]:r}const LC=40;class w0{constructor({autoplay:t=!0,delay:n=0,type:r="keyframes",repeat:o=0,repeatDelay:i=0,repeatType:a="loop",...s}){this.isStopped=!1,this.hasAttemptedResolve=!1,this.createdAt=Jn.now(),this.options={autoplay:t,delay:n,type:r,repeat:o,repeatDelay:i,repeatType:a,...s},this.updateFinishedPromise()}calcStartTime(){return this.resolvedAt?this.resolvedAt-this.createdAt>LC?this.resolvedAt:this.createdAt:this.createdAt}get resolved(){return!this._resolved&&!this.hasAttemptedResolve&&MC(),this._resolved}onKeyframesResolved(t,n){this.resolvedAt=Jn.now(),this.hasAttemptedResolve=!0;const{name:r,type:o,velocity:i,delay:a,onComplete:s,onUpdate:l,isGenerator:c}=this.options;if(!c&&!FC(t,r,o,i))if(a)this.options.duration=0;else{l&&l(Ws(t,this.options,n)),s&&s(),this.resolveFinishedPromise();return}const u=this.initPlayback(t,n);u!==!1&&(this._resolved={keyframes:t,finalKeyframe:n,...u},this.onPostResolved())}onPostResolved(){}then(t,n){return this.currentFinishedPromise.then(t,n)}flatten(){this.options.type="keyframes",this.options.ease="linear"}updateFinishedPromise(){this.currentFinishedPromise=new Promise(t=>{this.resolveFinishedPromise=t})}}const wt=(e,t,n)=>e+(t-e)*n;function Cu(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+(t-e)*6*n:n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function BC({hue:e,saturation:t,lightness:n,alpha:r}){e/=360,t/=100,n/=100;let o=0,i=0,a=0;if(!t)o=i=a=n;else{const s=n<.5?n*(1+t):n+t-n*t,l=2*n-s;o=Cu(l,s,e+1/3),i=Cu(l,s,e),a=Cu(l,s,e-1/3)}return{red:Math.round(o*255),green:Math.round(i*255),blue:Math.round(a*255),alpha:r}}function Hs(e,t){return n=>n>0?t:e}const wu=(e,t,n)=>{const r=e*e,o=n*(t*t-r)+r;return o<0?0:Math.sqrt(o)},NC=[mu,oo,Go],RC=e=>NC.find(t=>t.test(e));function S0(e){const t=RC(e);if(Vo(!!t,`'${e}' is not an animatable color. Use the equivalent color code instead.`),!t)return!1;let n=t.parse(e);return t===Go&&(n=BC(n)),n}const k0=(e,t)=>{const n=S0(e),r=S0(t);if(!n||!r)return Hs(e,t);const o={...n};return i=>(o.red=wu(n.red,r.red,i),o.green=wu(n.green,r.green,i),o.blue=wu(n.blue,r.blue,i),o.alpha=wt(n.alpha,r.alpha,i),oo.transform(o))},VC=(e,t)=>n=>t(e(n)),ca=(...e)=>e.reduce(VC),Su=new Set(["none","hidden"]);function WC(e,t){return Su.has(e)?n=>n<=0?e:t:n=>n>=1?t:e}function HC(e,t){return n=>wt(e,t,n)}function ku(e){return typeof e=="number"?HC:typeof e=="string"?qc(e)?Hs:Ut.test(e)?k0:ZC:Array.isArray(e)?_0:typeof e=="object"?Ut.test(e)?k0:UC:Hs}function _0(e,t){const n=[...e],r=n.length,o=e.map((i,a)=>ku(i)(i,t[a]));return i=>{for(let a=0;a<r;a++)n[a]=o[a](i);return n}}function UC(e,t){const n={...e,...t},r={};for(const o in n)e[o]!==void 0&&t[o]!==void 0&&(r[o]=ku(e[o])(e[o],t[o]));return o=>{for(const i in r)n[i]=r[i](o);return n}}function qC(e,t){var n;const r=[],o={color:0,var:0,number:0};for(let i=0;i<t.values.length;i++){const a=t.types[i],s=e.indexes[a][o[a]],l=(n=e.values[s])!==null&&n!==void 0?n:0;r[i]=l,o[a]++}return r}const ZC=(e,t)=>{const n=zr.createTransformer(t),r=la(e),o=la(t);return r.indexes.var.length===o.indexes.var.length&&r.indexes.color.length===o.indexes.color.length&&r.indexes.number.length>=o.indexes.number.length?Su.has(e)&&!o.values.length||Su.has(t)&&!r.values.length?WC(e,t):ca(_0(qC(r,o),o.values),n):(Vo(!0,`Complex values '${e}' and '${t}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`),Hs(e,t))};function j0(e,t,n){return typeof e=="number"&&typeof t=="number"&&typeof n=="number"?wt(e,t,n):ku(e)(e,t)}const GC=5;function T0(e,t,n){const r=Math.max(t-GC,0);return Up(n-e(r),t-r)}const St={stiffness:100,damping:10,mass:1,velocity:0,duration:800,bounce:.3,visualDuration:.3,restSpeed:{granular:.01,default:2},restDelta:{granular:.005,default:.5},minDuration:.01,maxDuration:10,minDamping:.05,maxDamping:1},_u=.001;function KC({duration:e=St.duration,bounce:t=St.bounce,velocity:n=St.velocity,mass:r=St.mass}){let o,i;Vo(e<=Yn(St.maxDuration),"Spring duration must be 10 seconds or less");let a=1-t;a=xr(St.minDamping,St.maxDamping,a),e=xr(St.minDuration,St.maxDuration,yr(e)),a<1?(o=c=>{const u=c*a,f=u*e,p=u-n,h=ju(c,a),b=Math.exp(-f);return _u-p/h*b},i=c=>{const f=c*a*e,p=f*n+n,h=Math.pow(a,2)*Math.pow(c,2)*e,b=Math.exp(-f),m=ju(Math.pow(c,2),a);return(-o(c)+_u>0?-1:1)*((p-h)*b)/m}):(o=c=>{const u=Math.exp(-c*e),f=(c-n)*e+1;return-_u+u*f},i=c=>{const u=Math.exp(-c*e),f=(n-c)*(e*e);return u*f});const s=5/e,l=XC(o,i,s);if(e=Yn(e),isNaN(l))return{stiffness:St.stiffness,damping:St.damping,duration:e};{const c=Math.pow(l,2)*r;return{stiffness:c,damping:a*2*Math.sqrt(r*c),duration:e}}}const YC=12;function XC(e,t,n){let r=n;for(let o=1;o<YC;o++)r=r-e(r)/t(r);return r}function ju(e,t){return e*Math.sqrt(1-t*t)}const JC=["duration","bounce"],QC=["stiffness","damping","mass"];function P0(e,t){return t.some(n=>e[n]!==void 0)}function ew(e){let t={velocity:St.velocity,stiffness:St.stiffness,damping:St.damping,mass:St.mass,isResolvedFromDuration:!1,...e};if(!P0(e,QC)&&P0(e,JC))if(e.visualDuration){const n=e.visualDuration,r=2*Math.PI/(n*1.2),o=r*r,i=2*xr(.05,1,1-(e.bounce||0))*Math.sqrt(o);t={...t,mass:St.mass,stiffness:o,damping:i}}else{const n=KC(e);t={...t,...n,mass:St.mass},t.isResolvedFromDuration=!0}return t}function E0(e=St.visualDuration,t=St.bounce){const n=typeof e!="object"?{visualDuration:e,keyframes:[0,1],bounce:t}:e;let{restSpeed:r,restDelta:o}=n;const i=n.keyframes[0],a=n.keyframes[n.keyframes.length-1],s={done:!1,value:i},{stiffness:l,damping:c,mass:u,duration:f,velocity:p,isResolvedFromDuration:h}=ew({...n,velocity:-yr(n.velocity||0)}),b=p||0,m=c/(2*Math.sqrt(l*u)),v=a-i,S=yr(Math.sqrt(l/u)),y=Math.abs(v)<5;r||(r=y?St.restSpeed.granular:St.restSpeed.default),o||(o=y?St.restDelta.granular:St.restDelta.default);let w;if(m<1){const x=ju(S,m);w=E=>{const P=Math.exp(-m*S*E);return a-P*((b+m*S*v)/x*Math.sin(x*E)+v*Math.cos(x*E))}}else if(m===1)w=x=>a-Math.exp(-S*x)*(v+(b+S*v)*x);else{const x=S*Math.sqrt(m*m-1);w=E=>{const P=Math.exp(-m*S*E),D=Math.min(x*E,300);return a-P*((b+m*S*v)*Math.sinh(D)+x*v*Math.cosh(D))/x}}const j={calculatedDuration:h&&f||null,next:x=>{const E=w(x);if(h)s.done=x>=f;else{let P=0;m<1&&(P=x===0?Yn(b):T0(w,x,E));const D=Math.abs(P)<=r,R=Math.abs(a-E)<=o;s.done=D&&R}return s.value=s.done?a:E,s},toString:()=>{const x=Math.min(Ip(j),eu),E=$p(P=>j.next(x*P).value,x,30);return x+"ms "+E}};return j}function A0({keyframes:e,velocity:t=0,power:n=.8,timeConstant:r=325,bounceDamping:o=10,bounceStiffness:i=500,modifyTarget:a,min:s,max:l,restDelta:c=.5,restSpeed:u}){const f=e[0],p={done:!1,value:f},h=D=>s!==void 0&&D<s||l!==void 0&&D>l,b=D=>s===void 0?l:l===void 0||Math.abs(s-D)<Math.abs(l-D)?s:l;let m=n*t;const v=f+m,S=a===void 0?v:a(v);S!==v&&(m=S-f);const y=D=>-m*Math.exp(-D/r),w=D=>S+y(D),j=D=>{const R=y(D),z=w(D);p.done=Math.abs(R)<=c,p.value=p.done?S:z};let x,E;const P=D=>{h(p.value)&&(x=D,E=E0({keyframes:[p.value,b(p.value)],velocity:T0(w,D,p.value),damping:o,stiffness:i,restDelta:c,restSpeed:u}))};return P(0),{calculatedDuration:null,next:D=>{let R=!1;return!E&&x===void 0&&(R=!0,j(D),P(D)),x!==void 0&&D>=x?E.next(D-x):(!R&&j(D),p)}}}const tw=aa(.42,0,1,1),nw=aa(0,0,.58,1),M0=aa(.42,0,.58,1),rw=e=>Array.isArray(e)&&typeof e[0]!="number",O0={linear:sn,easeIn:tw,easeInOut:M0,easeOut:nw,circIn:du,circInOut:t0,circOut:e0,backIn:uu,backInOut:Jp,backOut:Xp,anticipate:Qp},I0=e=>{if(nu(e)){Dr(e.length===4,"Cubic bezier arrays must contain four numerical values.");const[t,n,r,o]=e;return aa(t,n,r,o)}else if(typeof e=="string")return Dr(O0[e]!==void 0,`Invalid easing type '${e}'`),O0[e];return e};function ow(e,t,n){const r=[],o=n||j0,i=e.length-1;for(let a=0;a<i;a++){let s=o(e[a],e[a+1]);if(t){const l=Array.isArray(t)?t[a]||sn:t;s=ca(l,s)}r.push(s)}return r}function iw(e,t,{clamp:n=!0,ease:r,mixer:o}={}){const i=e.length;if(Dr(i===t.length,"Both input and output ranges must be the same length"),i===1)return()=>t[0];if(i===2&&t[0]===t[1])return()=>t[1];const a=e[0]===e[1];e[0]>e[i-1]&&(e=[...e].reverse(),t=[...t].reverse());const s=ow(t,r,o),l=s.length,c=u=>{if(a&&u<e[0])return t[0];let f=0;if(l>1)for(;f<e.length-2&&!(u<e[f+1]);f++);const p=Wo(e[f],e[f+1],u);return s[f](p)};return n?u=>c(xr(e[0],e[i-1],u)):c}function aw(e,t){const n=e[e.length-1];for(let r=1;r<=t;r++){const o=Wo(0,t,r);e.push(wt(n,1,o))}}function sw(e){const t=[0];return aw(t,e.length-1),t}function lw(e,t){return e.map(n=>n*t)}function cw(e,t){return e.map(()=>t||M0).splice(0,e.length-1)}function Us({duration:e=300,keyframes:t,times:n,ease:r="easeInOut"}){const o=rw(r)?r.map(I0):I0(r),i={done:!1,value:t[0]},a=lw(n&&n.length===t.length?n:sw(t),e),s=iw(a,t,{ease:Array.isArray(o)?o:cw(t,o)});return{calculatedDuration:e,next:l=>(i.value=s(l),i.done=l>=e,i)}}const uw=e=>{const t=({timestamp:n})=>e(n);return{start:()=>vt.update(t,!0),stop:()=>$r(t),now:()=>Rt.isProcessing?Rt.timestamp:Jn.now()}},dw={decay:A0,inertia:A0,tween:Us,keyframes:Us,spring:E0},fw=e=>e/100;class Tu extends w0{constructor(t){super(t),this.holdTime=null,this.cancelTime=null,this.currentTime=0,this.playbackSpeed=1,this.pendingPlayState="running",this.startTime=null,this.state="idle",this.stop=()=>{if(this.resolver.cancel(),this.isStopped=!0,this.state==="idle")return;this.teardown();const{onStop:l}=this.options;l&&l()};const{name:n,motionValue:r,element:o,keyframes:i}=this.options,a=(o==null?void 0:o.KeyframeResolver)||xu,s=(l,c)=>this.onKeyframesResolved(l,c);this.resolver=new a(i,s,n,r,o),this.resolver.scheduleResolve()}flatten(){super.flatten(),this._resolved&&Object.assign(this._resolved,this.initPlayback(this._resolved.keyframes))}initPlayback(t){const{type:n="keyframes",repeat:r=0,repeatDelay:o=0,repeatType:i,velocity:a=0}=this.options,s=tu(n)?n:dw[n]||Us;let l,c;s!==Us&&typeof t[0]!="number"&&(process.env.NODE_ENV!=="production"&&Dr(t.length===2,`Only two keyframes currently supported with spring and inertia animations. Trying to animate ${t}`),l=ca(fw,j0(t[0],t[1])),t=[0,100]);const u=s({...this.options,keyframes:t});i==="mirror"&&(c=s({...this.options,keyframes:[...t].reverse(),velocity:-a})),u.calculatedDuration===null&&(u.calculatedDuration=Ip(u));const{calculatedDuration:f}=u,p=f+o,h=p*(r+1)-o;return{generator:u,mirroredGenerator:c,mapPercentToKeyframes:l,calculatedDuration:f,resolvedDuration:p,totalDuration:h}}onPostResolved(){const{autoplay:t=!0}=this.options;this.play(),this.pendingPlayState==="paused"||!t?this.pause():this.state=this.pendingPlayState}tick(t,n=!1){const{resolved:r}=this;if(!r){const{keyframes:D}=this.options;return{done:!0,value:D[D.length-1]}}const{finalKeyframe:o,generator:i,mirroredGenerator:a,mapPercentToKeyframes:s,keyframes:l,calculatedDuration:c,totalDuration:u,resolvedDuration:f}=r;if(this.startTime===null)return i.next(0);const{delay:p,repeat:h,repeatType:b,repeatDelay:m,onUpdate:v}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-u/this.speed,this.startTime)),n?this.currentTime=t:this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=Math.round(t-this.startTime)*this.speed;const S=this.currentTime-p*(this.speed>=0?1:-1),y=this.speed>=0?S<0:S>u;this.currentTime=Math.max(S,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=u);let w=this.currentTime,j=i;if(h){const D=Math.min(this.currentTime,u)/f;let R=Math.floor(D),z=D%1;!z&&D>=1&&(z=1),z===1&&R--,R=Math.min(R,h+1),!!(R%2)&&(b==="reverse"?(z=1-z,m&&(z-=m/f)):b==="mirror"&&(j=a)),w=xr(0,1,z)*f}const x=y?{done:!1,value:l[0]}:j.next(w);s&&(x.value=s(x.value));let{done:E}=x;!y&&c!==null&&(E=this.speed>=0?this.currentTime>=u:this.currentTime<=0);const P=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&E);return P&&o!==void 0&&(x.value=Ws(l,this.options,o)),v&&v(x.value),P&&this.finish(),x}get duration(){const{resolved:t}=this;return t?yr(t.calculatedDuration):0}get time(){return yr(this.currentTime)}set time(t){t=Yn(t),this.currentTime=t,this.holdTime!==null||this.speed===0?this.holdTime=t:this.driver&&(this.startTime=this.driver.now()-t/this.speed)}get speed(){return this.playbackSpeed}set speed(t){const n=this.playbackSpeed!==t;this.playbackSpeed=t,n&&(this.time=yr(this.currentTime))}play(){if(this.resolver.isScheduled||this.resolver.resume(),!this._resolved){this.pendingPlayState="running";return}if(this.isStopped)return;const{driver:t=uw,onPlay:n,startTime:r}=this.options;this.driver||(this.driver=t(i=>this.tick(i))),n&&n();const o=this.driver.now();this.holdTime!==null?this.startTime=o-this.holdTime:this.startTime?this.state==="finished"&&(this.startTime=o):this.startTime=r??this.calcStartTime(),this.state==="finished"&&this.updateFinishedPromise(),this.cancelTime=this.startTime,this.holdTime=null,this.state="running",this.driver.start()}pause(){var t;if(!this._resolved){this.pendingPlayState="paused";return}this.state="paused",this.holdTime=(t=this.currentTime)!==null&&t!==void 0?t:0}complete(){this.state!=="running"&&this.play(),this.pendingPlayState=this.state="finished",this.holdTime=null}finish(){this.teardown(),this.state="finished";const{onComplete:t}=this.options;t&&t()}cancel(){this.cancelTime!==null&&this.tick(this.cancelTime),this.teardown(),this.updateFinishedPromise()}teardown(){this.state="idle",this.stopDriver(),this.resolveFinishedPromise(),this.updateFinishedPromise(),this.startTime=this.cancelTime=null,this.resolver.cancel()}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(t){return this.startTime=0,this.tick(t,!0)}}const pw=new Set(["opacity","clipPath","filter","transform"]);function hw(e,t,n,{delay:r=0,duration:o=300,repeat:i=0,repeatType:a="loop",ease:s="easeInOut",times:l}={}){const c={[t]:n};l&&(c.offset=l);const u=zp(s,o);return Array.isArray(u)&&(c.easing=u),e.animate(c,{delay:r,duration:o,easing:Array.isArray(u)?"linear":u,fill:"both",iterations:i+1,direction:a==="reverse"?"alternate":"normal"})}const mw=zc(()=>Object.hasOwnProperty.call(Element.prototype,"animate")),qs=10,gw=2e4;function vw(e){return tu(e.type)||e.type==="spring"||!Fp(e.ease)}function bw(e,t){const n=new Tu({...t,keyframes:e,repeat:0,delay:0,isGenerator:!0});let r={done:!1,value:e[0]};const o=[];let i=0;for(;!r.done&&i<gw;)r=n.sample(i),o.push(r.value),i+=qs;return{times:void 0,keyframes:o,duration:i-qs,ease:"linear"}}const D0={anticipate:Qp,backInOut:Jp,circInOut:t0};function yw(e){return e in D0}class $0 extends w0{constructor(t){super(t);const{name:n,motionValue:r,element:o,keyframes:i}=this.options;this.resolver=new x0(i,(a,s)=>this.onKeyframesResolved(a,s),n,r,o),this.resolver.scheduleResolve()}initPlayback(t,n){let{duration:r=300,times:o,ease:i,type:a,motionValue:s,name:l,startTime:c}=this.options;if(!s.owner||!s.owner.current)return!1;if(typeof i=="string"&&Rs()&&yw(i)&&(i=D0[i]),vw(this.options)){const{onComplete:f,onUpdate:p,motionValue:h,element:b,...m}=this.options,v=bw(t,m);t=v.keyframes,t.length===1&&(t[1]=t[0]),r=v.duration,o=v.times,i=v.ease,a="keyframes"}const u=hw(s.owner.current,l,t,{...this.options,duration:r,times:o,ease:i});return u.startTime=c??this.calcStartTime(),this.pendingTimeline?(Dp(u,this.pendingTimeline),this.pendingTimeline=void 0):u.onfinish=()=>{const{onComplete:f}=this.options;s.set(Ws(t,this.options,n)),f&&f(),this.cancel(),this.resolveFinishedPromise()},{animation:u,duration:r,times:o,type:a,ease:i,keyframes:t}}get duration(){const{resolved:t}=this;if(!t)return 0;const{duration:n}=t;return yr(n)}get time(){const{resolved:t}=this;if(!t)return 0;const{animation:n}=t;return yr(n.currentTime||0)}set time(t){const{resolved:n}=this;if(!n)return;const{animation:r}=n;r.currentTime=Yn(t)}get speed(){const{resolved:t}=this;if(!t)return 1;const{animation:n}=t;return n.playbackRate}set speed(t){const{resolved:n}=this;if(!n)return;const{animation:r}=n;r.playbackRate=t}get state(){const{resolved:t}=this;if(!t)return"idle";const{animation:n}=t;return n.playState}get startTime(){const{resolved:t}=this;if(!t)return null;const{animation:n}=t;return n.startTime}attachTimeline(t){if(!this._resolved)this.pendingTimeline=t;else{const{resolved:n}=this;if(!n)return sn;const{animation:r}=n;Dp(r,t)}return sn}play(){if(this.isStopped)return;const{resolved:t}=this;if(!t)return;const{animation:n}=t;n.playState==="finished"&&this.updateFinishedPromise(),n.play()}pause(){const{resolved:t}=this;if(!t)return;const{animation:n}=t;n.pause()}stop(){if(this.resolver.cancel(),this.isStopped=!0,this.state==="idle")return;this.resolveFinishedPromise(),this.updateFinishedPromise();const{resolved:t}=this;if(!t)return;const{animation:n,keyframes:r,duration:o,type:i,ease:a,times:s}=t;if(n.playState==="idle"||n.playState==="finished")return;if(this.time){const{motionValue:c,onUpdate:u,onComplete:f,element:p,...h}=this.options,b=new Tu({...h,keyframes:r,duration:o,type:i,ease:a,times:s,isGenerator:!0}),m=Yn(this.time);c.setWithVelocity(b.sample(m-qs).value,b.sample(m).value,qs)}const{onStop:l}=this.options;l&&l(),this.cancel()}complete(){const{resolved:t}=this;t&&t.animation.finish()}cancel(){const{resolved:t}=this;t&&t.animation.cancel()}static supports(t){const{motionValue:n,name:r,repeatDelay:o,repeatType:i,damping:a,type:s}=t;if(!n||!n.owner||!(n.owner.current instanceof HTMLElement))return!1;const{onUpdate:l,transformTemplate:c}=n.owner.getProps();return mw()&&r&&pw.has(r)&&!l&&!c&&!o&&i!=="mirror"&&a!==0&&s!=="inertia"}}const xw={type:"spring",stiffness:500,damping:25,restSpeed:10},Cw=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),ww={type:"keyframes",duration:.8},Sw={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},kw=(e,{keyframes:t})=>t.length>2?ww:ro.has(e)?e.startsWith("scale")?Cw(t[1]):xw:Sw;function _w({when:e,delay:t,delayChildren:n,staggerChildren:r,staggerDirection:o,repeat:i,repeatType:a,repeatDelay:s,from:l,elapsed:c,...u}){return!!Object.keys(u).length}const Pu=(e,t,n,r={},o,i)=>a=>{const s=Qc(r,e)||{},l=s.delay||r.delay||0;let{elapsed:c=0}=r;c=c-Yn(l);let u={keyframes:Array.isArray(n)?n:[null,n],ease:"easeOut",velocity:t.getVelocity(),...s,delay:-c,onUpdate:p=>{t.set(p),s.onUpdate&&s.onUpdate(p)},onComplete:()=>{a(),s.onComplete&&s.onComplete()},name:e,motionValue:t,element:i?void 0:o};_w(s)||(u={...u,...kw(e,u)}),u.duration&&(u.duration=Yn(u.duration)),u.repeatDelay&&(u.repeatDelay=Yn(u.repeatDelay)),u.from!==void 0&&(u.keyframes[0]=u.from);let f=!1;if((u.type===!1||u.duration===0&&!u.repeatDelay)&&(u.duration=0,u.delay===0&&(f=!0)),f&&!i&&t.get()!==void 0){const p=Ws(u.keyframes,s);if(p!==void 0)return vt.update(()=>{u.onUpdate(p),u.onComplete()}),new Ux([])}return!i&&$0.supports(u)?new $0(u):new Tu(u)};function jw({protectedKeys:e,needsAnimating:t},n){const r=e.hasOwnProperty(n)&&t[n]!==!0;return t[n]=!1,r}function F0(e,t,{delay:n=0,transitionOverride:r,type:o}={}){var i;let{transition:a=e.getDefaultTransition(),transitionEnd:s,...l}=t;r&&(a=r);const c=[],u=o&&e.animationState&&e.animationState.getState()[o];for(const f in l){const p=e.getValue(f,(i=e.latestValues[f])!==null&&i!==void 0?i:null),h=l[f];if(h===void 0||u&&jw(u,f))continue;const b={delay:n,...Qc(a||{},f)};let m=!1;if(window.MotionHandoffAnimation){const S=Zp(e);if(S){const y=window.MotionHandoffAnimation(S,f,vt);y!==null&&(b.startTime=y,m=!0)}}cu(e,f),p.start(Pu(f,p,h,e.shouldReduceMotion&&Hp.has(f)?{type:!1}:b,e,m));const v=p.animation;v&&c.push(v)}return s&&Promise.all(c).then(()=>{vt.update(()=>{s&&iC(e,s)})}),c}function Eu(e,t,n={}){var r;const o=Ns(e,t,n.type==="exit"?(r=e.presenceContext)===null||r===void 0?void 0:r.custom:void 0);let{transition:i=e.getDefaultTransition()||{}}=o||{};n.transitionOverride&&(i=n.transitionOverride);const a=o?()=>Promise.all(F0(e,o,n)):()=>Promise.resolve(),s=e.variantChildren&&e.variantChildren.size?(c=0)=>{const{delayChildren:u=0,staggerChildren:f,staggerDirection:p}=i;return Tw(e,t,u+c,f,p,n)}:()=>Promise.resolve(),{when:l}=i;if(l){const[c,u]=l==="beforeChildren"?[a,s]:[s,a];return c().then(()=>u())}else return Promise.all([a(),s(n.delay)])}function Tw(e,t,n=0,r=0,o=1,i){const a=[],s=(e.variantChildren.size-1)*r,l=o===1?(c=0)=>c*r:(c=0)=>s-c*r;return Array.from(e.variantChildren).sort(Pw).forEach((c,u)=>{c.notify("AnimationStart",t),a.push(Eu(c,t,{...i,delay:n+l(u)}).then(()=>c.notify("AnimationComplete",t)))}),Promise.all(a)}function Pw(e,t){return e.sortNodePosition(t)}function Ew(e,t,n={}){e.notify("AnimationStart",t);let r;if(Array.isArray(t)){const o=t.map(i=>Eu(e,i,n));r=Promise.all(o)}else if(typeof t=="string")r=Eu(e,t,n);else{const o=typeof t=="function"?Ns(e,t,n.custom):t;r=Promise.all(F0(e,o,n))}return r.then(()=>{e.notify("AnimationComplete",t)})}const Aw=Nc.length;function z0(e){if(!e)return;if(!e.isControllingVariants){const n=e.parent?z0(e.parent)||{}:{};return e.props.initial!==void 0&&(n.initial=e.props.initial),n}const t={};for(let n=0;n<Aw;n++){const r=Nc[n],o=e.props[r];(ea(o)||o===!1)&&(t[r]=o)}return t}const Mw=[...Bc].reverse(),Ow=Bc.length;function Iw(e){return t=>Promise.all(t.map(({animation:n,options:r})=>Ew(e,n,r)))}function Dw(e){let t=Iw(e),n=L0(),r=!0;const o=l=>(c,u)=>{var f;const p=Ns(e,u,l==="exit"?(f=e.presenceContext)===null||f===void 0?void 0:f.custom:void 0);if(p){const{transition:h,transitionEnd:b,...m}=p;c={...c,...m,...b}}return c};function i(l){t=l(e)}function a(l){const{props:c}=e,u=z0(e.parent)||{},f=[],p=new Set;let h={},b=1/0;for(let v=0;v<Ow;v++){const S=Mw[v],y=n[S],w=c[S]!==void 0?c[S]:u[S],j=ea(w),x=S===l?y.isActive:null;x===!1&&(b=v);let E=w===u[S]&&w!==c[S]&&j;if(E&&r&&e.manuallyAnimateOnMount&&(E=!1),y.protectedKeys={...h},!y.isActive&&x===null||!w&&!y.prevProp||$s(w)||typeof w=="boolean")continue;const P=$w(y.prevProp,w);let D=P||S===l&&y.isActive&&!E&&j||v>b&&j,R=!1;const z=Array.isArray(w)?w:[w];let X=z.reduce(o(S),{});x===!1&&(X={});const{prevResolvedValues:ce={}}=y,le={...ce,...X},L=N=>{D=!0,p.has(N)&&(R=!0,p.delete(N)),y.needsAnimating[N]=!0;const ue=e.getValue(N);ue&&(ue.liveStyle=!1)};for(const N in le){const ue=X[N],he=ce[N];if(h.hasOwnProperty(N))continue;let O=!1;Uc(ue)&&Uc(he)?O=!Op(ue,he):O=ue!==he,O?ue!=null?L(N):p.add(N):ue!==void 0&&p.has(N)?L(N):y.protectedKeys[N]=!0}y.prevProp=w,y.prevResolvedValues=X,y.isActive&&(h={...h,...X}),r&&e.blockInitialAnimation&&(D=!1),D&&(!(E&&P)||R)&&f.push(...z.map(N=>({animation:N,options:{type:S}})))}if(p.size){const v={};p.forEach(S=>{const y=e.getBaseTarget(S),w=e.getValue(S);w&&(w.liveStyle=!0),v[S]=y??null}),f.push({animation:v})}let m=!!f.length;return r&&(c.initial===!1||c.initial===c.animate)&&!e.manuallyAnimateOnMount&&(m=!1),r=!1,m?t(f):Promise.resolve()}function s(l,c){var u;if(n[l].isActive===c)return Promise.resolve();(u=e.variantChildren)===null||u===void 0||u.forEach(p=>{var h;return(h=p.animationState)===null||h===void 0?void 0:h.setActive(l,c)}),n[l].isActive=c;const f=a(l);for(const p in n)n[p].protectedKeys={};return f}return{animateChanges:a,setActive:s,setAnimateFunction:i,getState:()=>n,reset:()=>{n=L0(),r=!0}}}function $w(e,t){return typeof t=="string"?t!==e:Array.isArray(t)?!Op(t,e):!1}function ao(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function L0(){return{animate:ao(!0),whileInView:ao(),whileHover:ao(),whileTap:ao(),whileDrag:ao(),whileFocus:ao(),exit:ao()}}class Lr{constructor(t){this.isMounted=!1,this.node=t}update(){}}class Fw extends Lr{constructor(t){super(t),t.animationState||(t.animationState=Dw(t))}updateAnimationControlsSubscription(){const{animate:t}=this.node.getProps();$s(t)&&(this.unmountControls=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:t}=this.node.getProps(),{animate:n}=this.node.prevProps||{};t!==n&&this.updateAnimationControlsSubscription()}unmount(){var t;this.node.animationState.reset(),(t=this.unmountControls)===null||t===void 0||t.call(this)}}let zw=0;class Lw extends Lr{constructor(){super(...arguments),this.id=zw++}update(){if(!this.node.presenceContext)return;const{isPresent:t,onExitComplete:n}=this.node.presenceContext,{isPresent:r}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===r)return;const o=this.node.animationState.setActive("exit",!t);n&&!t&&o.then(()=>n(this.id))}mount(){const{register:t}=this.node.presenceContext||{};t&&(this.unmount=t(this.id))}unmount(){}}const Bw={animation:{Feature:Fw},exit:{Feature:Lw}};function ua(e,t,n,r={passive:!0}){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n)}function da(e){return{point:{x:e.pageX,y:e.pageY}}}const Nw=e=>t=>ou(t)&&e(t,da(t));function fa(e,t,n,r){return ua(e,t,Nw(n),r)}const B0=(e,t)=>Math.abs(e-t);function Rw(e,t){const n=B0(e.x,t.x),r=B0(e.y,t.y);return Math.sqrt(n**2+r**2)}class N0{constructor(t,n,{transformPagePoint:r,contextWindow:o,dragSnapToOrigin:i=!1}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const f=Mu(this.lastMoveEventInfo,this.history),p=this.startEvent!==null,h=Rw(f.offset,{x:0,y:0})>=3;if(!p&&!h)return;const{point:b}=f,{timestamp:m}=Rt;this.history.push({...b,timestamp:m});const{onStart:v,onMove:S}=this.handlers;p||(v&&v(this.lastMoveEvent,f),this.startEvent=this.lastMoveEvent),S&&S(this.lastMoveEvent,f)},this.handlePointerMove=(f,p)=>{this.lastMoveEvent=f,this.lastMoveEventInfo=Au(p,this.transformPagePoint),vt.update(this.updatePoint,!0)},this.handlePointerUp=(f,p)=>{this.end();const{onEnd:h,onSessionEnd:b,resumeAnimation:m}=this.handlers;if(this.dragSnapToOrigin&&m&&m(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const v=Mu(f.type==="pointercancel"?this.lastMoveEventInfo:Au(p,this.transformPagePoint),this.history);this.startEvent&&h&&h(f,v),b&&b(f,v)},!ou(t))return;this.dragSnapToOrigin=i,this.handlers=n,this.transformPagePoint=r,this.contextWindow=o||window;const a=da(t),s=Au(a,this.transformPagePoint),{point:l}=s,{timestamp:c}=Rt;this.history=[{...l,timestamp:c}];const{onSessionStart:u}=n;u&&u(t,Mu(s,this.history)),this.removeListeners=ca(fa(this.contextWindow,"pointermove",this.handlePointerMove),fa(this.contextWindow,"pointerup",this.handlePointerUp),fa(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),$r(this.updatePoint)}}function Au(e,t){return t?{point:t(e.point)}:e}function R0(e,t){return{x:e.x-t.x,y:e.y-t.y}}function Mu({point:e},t){return{point:e,delta:R0(e,V0(t)),offset:R0(e,Vw(t)),velocity:Ww(t,.1)}}function Vw(e){return e[0]}function V0(e){return e[e.length-1]}function Ww(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,r=null;const o=V0(e);for(;n>=0&&(r=e[n],!(o.timestamp-r.timestamp>Yn(t)));)n--;if(!r)return{x:0,y:0};const i=yr(o.timestamp-r.timestamp);if(i===0)return{x:0,y:0};const a={x:(o.x-r.x)/i,y:(o.y-r.y)/i};return a.x===1/0&&(a.x=0),a.y===1/0&&(a.y=0),a}const W0=1e-4,Hw=1-W0,Uw=1+W0,H0=.01,qw=0-H0,Zw=0+H0;function bn(e){return e.max-e.min}function Gw(e,t,n){return Math.abs(e-t)<=n}function U0(e,t,n,r=.5){e.origin=r,e.originPoint=wt(t.min,t.max,e.origin),e.scale=bn(n)/bn(t),e.translate=wt(n.min,n.max,e.origin)-e.originPoint,(e.scale>=Hw&&e.scale<=Uw||isNaN(e.scale))&&(e.scale=1),(e.translate>=qw&&e.translate<=Zw||isNaN(e.translate))&&(e.translate=0)}function pa(e,t,n,r){U0(e.x,t.x,n.x,r?r.originX:void 0),U0(e.y,t.y,n.y,r?r.originY:void 0)}function q0(e,t,n){e.min=n.min+t.min,e.max=e.min+bn(t)}function Kw(e,t,n){q0(e.x,t.x,n.x),q0(e.y,t.y,n.y)}function Z0(e,t,n){e.min=t.min-n.min,e.max=e.min+bn(t)}function ha(e,t,n){Z0(e.x,t.x,n.x),Z0(e.y,t.y,n.y)}function Yw(e,{min:t,max:n},r){return t!==void 0&&e<t?e=r?wt(t,e,r.min):Math.max(e,t):n!==void 0&&e>n&&(e=r?wt(n,e,r.max):Math.min(e,n)),e}function G0(e,t,n){return{min:t!==void 0?e.min+t:void 0,max:n!==void 0?e.max+n-(e.max-e.min):void 0}}function Xw(e,{top:t,left:n,bottom:r,right:o}){return{x:G0(e.x,n,o),y:G0(e.y,t,r)}}function K0(e,t){let n=t.min-e.min,r=t.max-e.max;return t.max-t.min<e.max-e.min&&([n,r]=[r,n]),{min:n,max:r}}function Jw(e,t){return{x:K0(e.x,t.x),y:K0(e.y,t.y)}}function Qw(e,t){let n=.5;const r=bn(e),o=bn(t);return o>r?n=Wo(t.min,t.max-r,e.min):r>o&&(n=Wo(e.min,e.max-o,t.min)),xr(0,1,n)}function eS(e,t){const n={};return t.min!==void 0&&(n.min=t.min-e.min),t.max!==void 0&&(n.max=t.max-e.min),n}const Ou=.35;function tS(e=Ou){return e===!1?e=0:e===!0&&(e=Ou),{x:Y0(e,"left","right"),y:Y0(e,"top","bottom")}}function Y0(e,t,n){return{min:X0(e,t),max:X0(e,n)}}function X0(e,t){return typeof e=="number"?e:e[t]||0}const J0=()=>({translate:0,scale:1,origin:0,originPoint:0}),Yo=()=>({x:J0(),y:J0()}),Q0=()=>({min:0,max:0}),Pt=()=>({x:Q0(),y:Q0()});function Tn(e){return[e("x"),e("y")]}function e2({top:e,left:t,right:n,bottom:r}){return{x:{min:t,max:n},y:{min:e,max:r}}}function nS({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function rS(e,t){if(!t)return e;const n=t({x:e.left,y:e.top}),r=t({x:e.right,y:e.bottom});return{top:n.y,left:n.x,bottom:r.y,right:r.x}}function Iu(e){return e===void 0||e===1}function Du({scale:e,scaleX:t,scaleY:n}){return!Iu(e)||!Iu(t)||!Iu(n)}function so(e){return Du(e)||t2(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function t2(e){return n2(e.x)||n2(e.y)}function n2(e){return e&&e!=="0%"}function Zs(e,t,n){const r=e-n,o=t*r;return n+o}function r2(e,t,n,r,o){return o!==void 0&&(e=Zs(e,o,r)),Zs(e,n,r)+t}function $u(e,t=0,n=1,r,o){e.min=r2(e.min,t,n,r,o),e.max=r2(e.max,t,n,r,o)}function o2(e,{x:t,y:n}){$u(e.x,t.translate,t.scale,t.originPoint),$u(e.y,n.translate,n.scale,n.originPoint)}const i2=.999999999999,a2=1.0000000000001;function oS(e,t,n,r=!1){const o=n.length;if(!o)return;t.x=t.y=1;let i,a;for(let s=0;s<o;s++){i=n[s],a=i.projectionDelta;const{visualElement:l}=i.options;l&&l.props.style&&l.props.style.display==="contents"||(r&&i.options.layoutScroll&&i.scroll&&i!==i.root&&Jo(e,{x:-i.scroll.offset.x,y:-i.scroll.offset.y}),a&&(t.x*=a.x.scale,t.y*=a.y.scale,o2(e,a)),r&&so(i.latestValues)&&Jo(e,i.latestValues))}t.x<a2&&t.x>i2&&(t.x=1),t.y<a2&&t.y>i2&&(t.y=1)}function Xo(e,t){e.min=e.min+t,e.max=e.max+t}function s2(e,t,n,r,o=.5){const i=wt(e.min,e.max,o);$u(e,t,n,i,r)}function Jo(e,t){s2(e.x,t.x,t.scaleX,t.scale,t.originX),s2(e.y,t.y,t.scaleY,t.scale,t.originY)}function l2(e,t){return e2(rS(e.getBoundingClientRect(),t))}function iS(e,t,n){const r=l2(e,n),{scroll:o}=t;return o&&(Xo(r.x,o.offset.x),Xo(r.y,o.offset.y)),r}const c2=({current:e})=>e?e.ownerDocument.defaultView:null,aS=new WeakMap;class sS{constructor(t){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=Pt(),this.visualElement=t}start(t,{snapToCursor:n=!1}={}){const{presenceContext:r}=this.visualElement;if(r&&r.isPresent===!1)return;const o=u=>{const{dragSnapToOrigin:f}=this.getProps();f?this.pauseAnimation():this.stopAnimation(),n&&this.snapToCursor(da(u).point)},i=(u,f)=>{const{drag:p,dragPropagation:h,onDragStart:b}=this.getProps();if(p&&!h&&(this.openDragLock&&this.openDragLock(),this.openDragLock=eC(p),!this.openDragLock))return;this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),Tn(v=>{let S=this.getAxisMotionValue(v).get()||0;if(Xn.test(S)){const{projection:y}=this.visualElement;if(y&&y.layout){const w=y.layout.layoutBox[v];w&&(S=bn(w)*(parseFloat(S)/100))}}this.originPoint[v]=S}),b&&vt.postRender(()=>b(u,f)),cu(this.visualElement,"transform");const{animationState:m}=this.visualElement;m&&m.setActive("whileDrag",!0)},a=(u,f)=>{const{dragPropagation:p,dragDirectionLock:h,onDirectionLock:b,onDrag:m}=this.getProps();if(!p&&!this.openDragLock)return;const{offset:v}=f;if(h&&this.currentDirection===null){this.currentDirection=lS(v),this.currentDirection!==null&&b&&b(this.currentDirection);return}this.updateAxis("x",f.point,v),this.updateAxis("y",f.point,v),this.visualElement.render(),m&&m(u,f)},s=(u,f)=>this.stop(u,f),l=()=>Tn(u=>{var f;return this.getAnimationState(u)==="paused"&&((f=this.getAxisMotionValue(u).animation)===null||f===void 0?void 0:f.play())}),{dragSnapToOrigin:c}=this.getProps();this.panSession=new N0(t,{onSessionStart:o,onStart:i,onMove:a,onSessionEnd:s,resumeAnimation:l},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:c,contextWindow:c2(this.visualElement)})}stop(t,n){const r=this.isDragging;if(this.cancel(),!r)return;const{velocity:o}=n;this.startAnimation(o);const{onDragEnd:i}=this.getProps();i&&vt.postRender(()=>i(t,n))}cancel(){this.isDragging=!1;const{projection:t,animationState:n}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation:r}=this.getProps();!r&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),n&&n.setActive("whileDrag",!1)}updateAxis(t,n,r){const{drag:o}=this.getProps();if(!r||!Gs(t,o,this.currentDirection))return;const i=this.getAxisMotionValue(t);let a=this.originPoint[t]+r[t];this.constraints&&this.constraints[t]&&(a=Yw(a,this.constraints[t],this.elastic[t])),i.set(a)}resolveConstraints(){var t;const{dragConstraints:n,dragElastic:r}=this.getProps(),o=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):(t=this.visualElement.projection)===null||t===void 0?void 0:t.layout,i=this.constraints;n&&Uo(n)?this.constraints||(this.constraints=this.resolveRefConstraints()):n&&o?this.constraints=Xw(o.layoutBox,n):this.constraints=!1,this.elastic=tS(r),i!==this.constraints&&o&&this.constraints&&!this.hasMutatedConstraints&&Tn(a=>{this.constraints!==!1&&this.getAxisMotionValue(a)&&(this.constraints[a]=eS(o.layoutBox[a],this.constraints[a]))})}resolveRefConstraints(){const{dragConstraints:t,onMeasureDragConstraints:n}=this.getProps();if(!t||!Uo(t))return!1;const r=t.current;Dr(r!==null,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.");const{projection:o}=this.visualElement;if(!o||!o.layout)return!1;const i=iS(r,o.root,this.visualElement.getTransformPagePoint());let a=Jw(o.layout.layoutBox,i);if(n){const s=n(nS(a));this.hasMutatedConstraints=!!s,s&&(a=e2(s))}return a}startAnimation(t){const{drag:n,dragMomentum:r,dragElastic:o,dragTransition:i,dragSnapToOrigin:a,onDragTransitionEnd:s}=this.getProps(),l=this.constraints||{},c=Tn(u=>{if(!Gs(u,n,this.currentDirection))return;let f=l&&l[u]||{};a&&(f={min:0,max:0});const p=o?200:1e6,h=o?40:1e7,b={type:"inertia",velocity:r?t[u]:0,bounceStiffness:p,bounceDamping:h,timeConstant:750,restDelta:1,restSpeed:10,...i,...f};return this.startAxisValueAnimation(u,b)});return Promise.all(c).then(s)}startAxisValueAnimation(t,n){const r=this.getAxisMotionValue(t);return cu(this.visualElement,t),r.start(Pu(t,r,0,n,this.visualElement,!1))}stopAnimation(){Tn(t=>this.getAxisMotionValue(t).stop())}pauseAnimation(){Tn(t=>{var n;return(n=this.getAxisMotionValue(t).animation)===null||n===void 0?void 0:n.pause()})}getAnimationState(t){var n;return(n=this.getAxisMotionValue(t).animation)===null||n===void 0?void 0:n.state}getAxisMotionValue(t){const n=`_drag${t.toUpperCase()}`,r=this.visualElement.getProps(),o=r[n];return o||this.visualElement.getValue(t,(r.initial?r.initial[t]:void 0)||0)}snapToCursor(t){Tn(n=>{const{drag:r}=this.getProps();if(!Gs(n,r,this.currentDirection))return;const{projection:o}=this.visualElement,i=this.getAxisMotionValue(n);if(o&&o.layout){const{min:a,max:s}=o.layout.layoutBox[n];i.set(t[n]-wt(a,s,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:t,dragConstraints:n}=this.getProps(),{projection:r}=this.visualElement;if(!Uo(n)||!r||!this.constraints)return;this.stopAnimation();const o={x:0,y:0};Tn(a=>{const s=this.getAxisMotionValue(a);if(s&&this.constraints!==!1){const l=s.get();o[a]=Qw({min:l,max:l},this.constraints[a])}});const{transformTemplate:i}=this.visualElement.getProps();this.visualElement.current.style.transform=i?i({},""):"none",r.root&&r.root.updateScroll(),r.updateLayout(),this.resolveConstraints(),Tn(a=>{if(!Gs(a,t,null))return;const s=this.getAxisMotionValue(a),{min:l,max:c}=this.constraints[a];s.set(wt(l,c,o[a]))})}addListeners(){if(!this.visualElement.current)return;aS.set(this.visualElement,this);const t=this.visualElement.current,n=fa(t,"pointerdown",l=>{const{drag:c,dragListener:u=!0}=this.getProps();c&&u&&this.start(l)}),r=()=>{const{dragConstraints:l}=this.getProps();Uo(l)&&l.current&&(this.constraints=this.resolveRefConstraints())},{projection:o}=this.visualElement,i=o.addEventListener("measure",r);o&&!o.layout&&(o.root&&o.root.updateScroll(),o.updateLayout()),vt.read(r);const a=ua(window,"resize",()=>this.scalePositionWithinConstraints()),s=o.addEventListener("didUpdate",({delta:l,hasLayoutChanged:c})=>{this.isDragging&&c&&(Tn(u=>{const f=this.getAxisMotionValue(u);f&&(this.originPoint[u]+=l[u].translate,f.set(f.get()+l[u].translate))}),this.visualElement.render())});return()=>{a(),n(),i(),s&&s()}}getProps(){const t=this.visualElement.getProps(),{drag:n=!1,dragDirectionLock:r=!1,dragPropagation:o=!1,dragConstraints:i=!1,dragElastic:a=Ou,dragMomentum:s=!0}=t;return{...t,drag:n,dragDirectionLock:r,dragPropagation:o,dragConstraints:i,dragElastic:a,dragMomentum:s}}}function Gs(e,t,n){return(t===!0||t===e)&&(n===null||n===e)}function lS(e,t=10){let n=null;return Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x"),n}class cS extends Lr{constructor(t){super(t),this.removeGroupControls=sn,this.removeListeners=sn,this.controls=new sS(t)}mount(){const{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||sn}unmount(){this.removeGroupControls(),this.removeListeners()}}const u2=e=>(t,n)=>{e&&vt.postRender(()=>e(t,n))};class uS extends Lr{constructor(){super(...arguments),this.removePointerDownListener=sn}onPointerDown(t){this.session=new N0(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:c2(this.node)})}createPanHandlers(){const{onPanSessionStart:t,onPanStart:n,onPan:r,onPanEnd:o}=this.node.getProps();return{onSessionStart:u2(t),onStart:u2(n),onMove:r,onEnd:(i,a)=>{delete this.session,o&&vt.postRender(()=>o(i,a))}}}mount(){this.removePointerDownListener=fa(this.node.current,"pointerdown",t=>this.onPointerDown(t))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}const Ks={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function d2(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const ma={correct:(e,t)=>{if(!t.target)return e;if(typeof e=="string")if(Oe.test(e))e=parseFloat(e);else return e;const n=d2(e,t.target.x),r=d2(e,t.target.y);return`${n}% ${r}%`}},dS={correct:(e,{treeScale:t,projectionDelta:n})=>{const r=e,o=zr.parse(e);if(o.length>5)return r;const i=zr.createTransformer(e),a=typeof o[0]!="number"?1:0,s=n.x.scale*t.x,l=n.y.scale*t.y;o[0+a]/=s,o[1+a]/=l;const c=wt(s,l,.5);return typeof o[2+a]=="number"&&(o[2+a]/=c),typeof o[3+a]=="number"&&(o[3+a]/=c),i(o)}};class fS extends g.Component{componentDidMount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:r,layoutId:o}=this.props,{projection:i}=t;Ix(pS),i&&(n.group&&n.group.add(i),r&&r.register&&o&&r.register(i),i.root.didUpdate(),i.addEventListener("animationComplete",()=>{this.safeToRemove()}),i.setOptions({...i.options,onExitComplete:()=>this.safeToRemove()})),Ks.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){const{layoutDependency:n,visualElement:r,drag:o,isPresent:i}=this.props,a=r.projection;return a&&(a.isPresent=i,o||t.layoutDependency!==n||n===void 0?a.willUpdate():this.safeToRemove(),t.isPresent!==i&&(i?a.promote():a.relegate()||vt.postRender(()=>{const s=a.getStack();(!s||!s.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),Vc.postRender(()=>{!t.currentAnimation&&t.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:r}=this.props,{projection:o}=t;o&&(o.scheduleCheckAfterUnmount(),n&&n.group&&n.group.remove(o),r&&r.deregister&&r.deregister(o))}safeToRemove(){const{safeToRemove:t}=this.props;t&&t()}render(){return null}}function f2(e){const[t,n]=$c(),r=g.useContext(Oc);return d.jsx(fS,{...e,layoutGroup:r,switchLayoutGroup:g.useContext(hp),isPresent:t,safeToRemove:n})}const pS={borderRadius:{...ma,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:ma,borderTopRightRadius:ma,borderBottomLeftRadius:ma,borderBottomRightRadius:ma,boxShadow:dS};function hS(e,t,n){const r=Ht(e)?e:ia(e);return r.start(Pu("",r,t,n)),r.animation}function mS(e){return e instanceof SVGElement&&e.tagName!=="svg"}const gS=(e,t)=>e.depth-t.depth;class vS{constructor(){this.children=[],this.isDirty=!1}add(t){au(this.children,t),this.isDirty=!0}remove(t){su(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(gS),this.isDirty=!1,this.children.forEach(t)}}function bS(e,t){const n=Jn.now(),r=({timestamp:o})=>{const i=o-n;i>=t&&($r(r),e(i-t))};return vt.read(r,!0),()=>$r(r)}const p2=["TopLeft","TopRight","BottomLeft","BottomRight"],yS=p2.length,h2=e=>typeof e=="string"?parseFloat(e):e,m2=e=>typeof e=="number"||Oe.test(e);function xS(e,t,n,r,o,i){o?(e.opacity=wt(0,n.opacity!==void 0?n.opacity:1,CS(r)),e.opacityExit=wt(t.opacity!==void 0?t.opacity:1,0,wS(r))):i&&(e.opacity=wt(t.opacity!==void 0?t.opacity:1,n.opacity!==void 0?n.opacity:1,r));for(let a=0;a<yS;a++){const s=`border${p2[a]}Radius`;let l=g2(t,s),c=g2(n,s);if(l===void 0&&c===void 0)continue;l||(l=0),c||(c=0),l===0||c===0||m2(l)===m2(c)?(e[s]=Math.max(wt(h2(l),h2(c),r),0),(Xn.test(c)||Xn.test(l))&&(e[s]+="%")):e[s]=c}(t.rotate||n.rotate)&&(e.rotate=wt(t.rotate||0,n.rotate||0,r))}function g2(e,t){return e[t]!==void 0?e[t]:e.borderRadius}const CS=v2(0,.5,e0),wS=v2(.5,.95,sn);function v2(e,t,n){return r=>r<e?0:r>t?1:n(Wo(e,t,r))}function b2(e,t){e.min=t.min,e.max=t.max}function Pn(e,t){b2(e.x,t.x),b2(e.y,t.y)}function y2(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}function x2(e,t,n,r,o){return e-=t,e=Zs(e,1/n,r),o!==void 0&&(e=Zs(e,1/o,r)),e}function SS(e,t=0,n=1,r=.5,o,i=e,a=e){if(Xn.test(t)&&(t=parseFloat(t),t=wt(a.min,a.max,t/100)-a.min),typeof t!="number")return;let s=wt(i.min,i.max,r);e===i&&(s-=t),e.min=x2(e.min,t,n,s,o),e.max=x2(e.max,t,n,s,o)}function C2(e,t,[n,r,o],i,a){SS(e,t[n],t[r],t[o],t.scale,i,a)}const kS=["x","scaleX","originX"],_S=["y","scaleY","originY"];function w2(e,t,n,r){C2(e.x,t,kS,n?n.x:void 0,r?r.x:void 0),C2(e.y,t,_S,n?n.y:void 0,r?r.y:void 0)}function S2(e){return e.translate===0&&e.scale===1}function k2(e){return S2(e.x)&&S2(e.y)}function _2(e,t){return e.min===t.min&&e.max===t.max}function jS(e,t){return _2(e.x,t.x)&&_2(e.y,t.y)}function j2(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function T2(e,t){return j2(e.x,t.x)&&j2(e.y,t.y)}function P2(e){return bn(e.x)/bn(e.y)}function E2(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}class TS{constructor(){this.members=[]}add(t){au(this.members,t),t.scheduleRender()}remove(t){if(su(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){const n=this.members[this.members.length-1];n&&this.promote(n)}}relegate(t){const n=this.members.findIndex(o=>t===o);if(n===0)return!1;let r;for(let o=n;o>=0;o--){const i=this.members[o];if(i.isPresent!==!1){r=i;break}}return r?(this.promote(r),!0):!1}promote(t,n){const r=this.lead;if(t!==r&&(this.prevLead=r,this.lead=t,t.show(),r)){r.instance&&r.scheduleRender(),t.scheduleRender(),t.resumeFrom=r,n&&(t.resumeFrom.preserveOpacity=!0),r.snapshot&&(t.snapshot=r.snapshot,t.snapshot.latestValues=r.animationValues||r.latestValues),t.root&&t.root.isUpdating&&(t.isLayoutDirty=!0);const{crossfade:o}=t.options;o===!1&&r.hide()}}exitAnimationComplete(){this.members.forEach(t=>{const{options:n,resumingFrom:r}=t;n.onExitComplete&&n.onExitComplete(),r&&r.options.onExitComplete&&r.options.onExitComplete()})}scheduleRender(){this.members.forEach(t=>{t.instance&&t.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function PS(e,t,n){let r="";const o=e.x.translate/t.x,i=e.y.translate/t.y,a=(n==null?void 0:n.z)||0;if((o||i||a)&&(r=`translate3d(${o}px, ${i}px, ${a}px) `),(t.x!==1||t.y!==1)&&(r+=`scale(${1/t.x}, ${1/t.y}) `),n){const{transformPerspective:c,rotate:u,rotateX:f,rotateY:p,skewX:h,skewY:b}=n;c&&(r=`perspective(${c}px) ${r}`),u&&(r+=`rotate(${u}deg) `),f&&(r+=`rotateX(${f}deg) `),p&&(r+=`rotateY(${p}deg) `),h&&(r+=`skewX(${h}deg) `),b&&(r+=`skewY(${b}deg) `)}const s=e.x.scale*t.x,l=e.y.scale*t.y;return(s!==1||l!==1)&&(r+=`scale(${s}, ${l})`),r||"none"}const lo={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0},ga=typeof window<"u"&&window.MotionDebug!==void 0,Fu=["","X","Y","Z"],ES={visibility:"hidden"},A2=1e3;let AS=0;function zu(e,t,n,r){const{latestValues:o}=t;o[e]&&(n[e]=o[e],t.setStaticValue(e,0),r&&(r[e]=0))}function M2(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;const{visualElement:t}=e.options;if(!t)return;const n=Zp(t);if(window.MotionHasOptimisedAnimation(n,"transform")){const{layout:o,layoutId:i}=e.options;window.MotionCancelOptimisedAnimation(n,"transform",vt,!(o||i))}const{parent:r}=e;r&&!r.hasCheckedOptimisedAppear&&M2(r)}function O2({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:r,resetTransform:o}){return class{constructor(a={},s=t==null?void 0:t()){this.id=AS++,this.animationId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,ga&&(lo.totalNodes=lo.resolvedTargetDeltas=lo.recalculatedProjection=0),this.nodes.forEach(IS),this.nodes.forEach(LS),this.nodes.forEach(BS),this.nodes.forEach(DS),ga&&window.MotionDebug.record(lo)},this.resolvedRelativeTargetAt=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=a,this.root=s?s.root||s:this,this.path=s?[...s.path,s]:[],this.parent=s,this.depth=s?s.depth+1:0;for(let l=0;l<this.path.length;l++)this.path[l].shouldResetTransform=!0;this.root===this&&(this.nodes=new vS)}addEventListener(a,s){return this.eventHandlers.has(a)||this.eventHandlers.set(a,new lu),this.eventHandlers.get(a).add(s)}notifyListeners(a,...s){const l=this.eventHandlers.get(a);l&&l.notify(...s)}hasListeners(a){return this.eventHandlers.has(a)}mount(a,s=this.root.hasTreeAnimated){if(this.instance)return;this.isSVG=mS(a),this.instance=a;const{layoutId:l,layout:c,visualElement:u}=this.options;if(u&&!u.current&&u.mount(a),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),s&&(c||l)&&(this.isLayoutDirty=!0),e){let f;const p=()=>this.root.updateBlockedByResize=!1;e(a,()=>{this.root.updateBlockedByResize=!0,f&&f(),f=bS(p,250),Ks.hasAnimatedSinceResize&&(Ks.hasAnimatedSinceResize=!1,this.nodes.forEach(D2))})}l&&this.root.registerSharedNode(l,this),this.options.animate!==!1&&u&&(l||c)&&this.addEventListener("didUpdate",({delta:f,hasLayoutChanged:p,hasRelativeTargetChanged:h,layout:b})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const m=this.options.transition||u.getDefaultTransition()||HS,{onLayoutAnimationStart:v,onLayoutAnimationComplete:S}=u.getProps(),y=!this.targetLayout||!T2(this.targetLayout,b)||h,w=!p&&h;if(this.options.layoutRoot||this.resumeFrom&&this.resumeFrom.instance||w||p&&(y||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(f,w);const j={...Qc(m,"layout"),onPlay:v,onComplete:S};(u.shouldReduceMotion||this.options.layoutRoot)&&(j.delay=0,j.type=!1),this.startAnimation(j)}else p||D2(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=b})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const a=this.getStack();a&&a.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,$r(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){this.isUpdateBlocked()||(this.isUpdating=!0,this.nodes&&this.nodes.forEach(NS),this.animationId++)}getTransformTemplate(){const{visualElement:a}=this.options;return a&&a.getProps().transformTemplate}willUpdate(a=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&M2(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let u=0;u<this.path.length;u++){const f=this.path[u];f.shouldResetTransform=!0,f.updateScroll("snapshot"),f.options.layoutRoot&&f.willUpdate(!1)}const{layoutId:s,layout:l}=this.options;if(s===void 0&&!l)return;const c=this.getTransformTemplate();this.prevTransformTemplateValue=c?c(this.latestValues,""):void 0,this.updateSnapshot(),a&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(I2);return}this.isUpdating||this.nodes.forEach(FS),this.isUpdating=!1,this.nodes.forEach(zS),this.nodes.forEach(MS),this.nodes.forEach(OS),this.clearAllSnapshots();const s=Jn.now();Rt.delta=xr(0,1e3/60,s-Rt.timestamp),Rt.timestamp=s,Rt.isProcessing=!0,Lc.update.process(Rt),Lc.preRender.process(Rt),Lc.render.process(Rt),Rt.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,Vc.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach($S),this.sharedNodes.forEach(RS)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,vt.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){vt.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure())}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let l=0;l<this.path.length;l++)this.path[l].updateScroll();const a=this.layout;this.layout=this.measure(!1),this.layoutCorrected=Pt(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:s}=this.options;s&&s.notify("LayoutMeasure",this.layout.layoutBox,a?a.layoutBox:void 0)}updateScroll(a="measure"){let s=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===a&&(s=!1),s){const l=r(this.instance);this.scroll={animationId:this.root.animationId,phase:a,isRoot:l,offset:n(this.instance),wasRoot:this.scroll?this.scroll.isRoot:l}}}resetTransform(){if(!o)return;const a=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,s=this.projectionDelta&&!k2(this.projectionDelta),l=this.getTransformTemplate(),c=l?l(this.latestValues,""):void 0,u=c!==this.prevTransformTemplateValue;a&&(s||so(this.latestValues)||u)&&(o(this.instance,c),this.shouldResetTransform=!1,this.scheduleRender())}measure(a=!0){const s=this.measurePageBox();let l=this.removeElementScroll(s);return a&&(l=this.removeTransform(l)),US(l),{animationId:this.root.animationId,measuredBox:s,layoutBox:l,latestValues:{},source:this.id}}measurePageBox(){var a;const{visualElement:s}=this.options;if(!s)return Pt();const l=s.measureViewportBox();if(!(((a=this.scroll)===null||a===void 0?void 0:a.wasRoot)||this.path.some(qS))){const{scroll:u}=this.root;u&&(Xo(l.x,u.offset.x),Xo(l.y,u.offset.y))}return l}removeElementScroll(a){var s;const l=Pt();if(Pn(l,a),!((s=this.scroll)===null||s===void 0)&&s.wasRoot)return l;for(let c=0;c<this.path.length;c++){const u=this.path[c],{scroll:f,options:p}=u;u!==this.root&&f&&p.layoutScroll&&(f.wasRoot&&Pn(l,a),Xo(l.x,f.offset.x),Xo(l.y,f.offset.y))}return l}applyTransform(a,s=!1){const l=Pt();Pn(l,a);for(let c=0;c<this.path.length;c++){const u=this.path[c];!s&&u.options.layoutScroll&&u.scroll&&u!==u.root&&Jo(l,{x:-u.scroll.offset.x,y:-u.scroll.offset.y}),so(u.latestValues)&&Jo(l,u.latestValues)}return so(this.latestValues)&&Jo(l,this.latestValues),l}removeTransform(a){const s=Pt();Pn(s,a);for(let l=0;l<this.path.length;l++){const c=this.path[l];if(!c.instance||!so(c.latestValues))continue;Du(c.latestValues)&&c.updateSnapshot();const u=Pt(),f=c.measurePageBox();Pn(u,f),w2(s,c.latestValues,c.snapshot?c.snapshot.layoutBox:void 0,u)}return so(this.latestValues)&&w2(s,this.latestValues),s}setTargetDelta(a){this.targetDelta=a,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(a){this.options={...this.options,...a,crossfade:a.crossfade!==void 0?a.crossfade:!0}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==Rt.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(a=!1){var s;const l=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=l.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=l.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=l.isSharedProjectionDirty);const c=!!this.resumingFrom||this!==l;if(!(a||c&&this.isSharedProjectionDirty||this.isProjectionDirty||!((s=this.parent)===null||s===void 0)&&s.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:f,layoutId:p}=this.options;if(!(!this.layout||!(f||p))){if(this.resolvedRelativeTargetAt=Rt.timestamp,!this.targetDelta&&!this.relativeTarget){const h=this.getClosestProjectingParent();h&&h.layout&&this.animationProgress!==1?(this.relativeParent=h,this.forceRelativeParentToResolveTarget(),this.relativeTarget=Pt(),this.relativeTargetOrigin=Pt(),ha(this.relativeTargetOrigin,this.layout.layoutBox,h.layout.layoutBox),Pn(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(!(!this.relativeTarget&&!this.targetDelta)){if(this.target||(this.target=Pt(),this.targetWithTransforms=Pt()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),Kw(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):Pn(this.target,this.layout.layoutBox),o2(this.target,this.targetDelta)):Pn(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget){this.attemptToResolveRelativeTarget=!1;const h=this.getClosestProjectingParent();h&&!!h.resumingFrom==!!this.resumingFrom&&!h.options.layoutScroll&&h.target&&this.animationProgress!==1?(this.relativeParent=h,this.forceRelativeParentToResolveTarget(),this.relativeTarget=Pt(),this.relativeTargetOrigin=Pt(),ha(this.relativeTargetOrigin,this.target,h.target),Pn(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}ga&&lo.resolvedTargetDeltas++}}}getClosestProjectingParent(){if(!(!this.parent||Du(this.parent.latestValues)||t2(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}calcProjection(){var a;const s=this.getLead(),l=!!this.resumingFrom||this!==s;let c=!0;if((this.isProjectionDirty||!((a=this.parent)===null||a===void 0)&&a.isProjectionDirty)&&(c=!1),l&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(c=!1),this.resolvedRelativeTargetAt===Rt.timestamp&&(c=!1),c)return;const{layout:u,layoutId:f}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(u||f))return;Pn(this.layoutCorrected,this.layout.layoutBox);const p=this.treeScale.x,h=this.treeScale.y;oS(this.layoutCorrected,this.treeScale,this.path,l),s.layout&&!s.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(s.target=s.layout.layoutBox,s.targetWithTransforms=Pt());const{target:b}=s;if(!b){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(y2(this.prevProjectionDelta.x,this.projectionDelta.x),y2(this.prevProjectionDelta.y,this.projectionDelta.y)),pa(this.projectionDelta,this.layoutCorrected,b,this.latestValues),(this.treeScale.x!==p||this.treeScale.y!==h||!E2(this.projectionDelta.x,this.prevProjectionDelta.x)||!E2(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",b)),ga&&lo.recalculatedProjection++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(a=!0){var s;if((s=this.options.visualElement)===null||s===void 0||s.scheduleRender(),a){const l=this.getStack();l&&l.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=Yo(),this.projectionDelta=Yo(),this.projectionDeltaWithTransform=Yo()}setAnimationOrigin(a,s=!1){const l=this.snapshot,c=l?l.latestValues:{},u={...this.latestValues},f=Yo();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!s;const p=Pt(),h=l?l.source:void 0,b=this.layout?this.layout.source:void 0,m=h!==b,v=this.getStack(),S=!v||v.members.length<=1,y=!!(m&&!S&&this.options.crossfade===!0&&!this.path.some(WS));this.animationProgress=0;let w;this.mixTargetDelta=j=>{const x=j/1e3;$2(f.x,a.x,x),$2(f.y,a.y,x),this.setTargetDelta(f),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(ha(p,this.layout.layoutBox,this.relativeParent.layout.layoutBox),VS(this.relativeTarget,this.relativeTargetOrigin,p,x),w&&jS(this.relativeTarget,w)&&(this.isProjectionDirty=!1),w||(w=Pt()),Pn(w,this.relativeTarget)),m&&(this.animationValues=u,xS(u,c,this.latestValues,x,y,S)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=x},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(a){this.notifyListeners("animationStart"),this.currentAnimation&&this.currentAnimation.stop(),this.resumingFrom&&this.resumingFrom.currentAnimation&&this.resumingFrom.currentAnimation.stop(),this.pendingAnimation&&($r(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=vt.update(()=>{Ks.hasAnimatedSinceResize=!0,this.currentAnimation=hS(0,A2,{...a,onUpdate:s=>{this.mixTargetDelta(s),a.onUpdate&&a.onUpdate(s)},onComplete:()=>{a.onComplete&&a.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);const a=this.getStack();a&&a.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(A2),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const a=this.getLead();let{targetWithTransforms:s,target:l,layout:c,latestValues:u}=a;if(!(!s||!l||!c)){if(this!==a&&this.layout&&c&&N2(this.options.animationType,this.layout.layoutBox,c.layoutBox)){l=this.target||Pt();const f=bn(this.layout.layoutBox.x);l.x.min=a.target.x.min,l.x.max=l.x.min+f;const p=bn(this.layout.layoutBox.y);l.y.min=a.target.y.min,l.y.max=l.y.min+p}Pn(s,l),Jo(s,u),pa(this.projectionDeltaWithTransform,this.layoutCorrected,s,u)}}registerSharedNode(a,s){this.sharedNodes.has(a)||this.sharedNodes.set(a,new TS),this.sharedNodes.get(a).add(s);const c=s.options.initialPromotionConfig;s.promote({transition:c?c.transition:void 0,preserveFollowOpacity:c&&c.shouldPreserveFollowOpacity?c.shouldPreserveFollowOpacity(s):void 0})}isLead(){const a=this.getStack();return a?a.lead===this:!0}getLead(){var a;const{layoutId:s}=this.options;return s?((a=this.getStack())===null||a===void 0?void 0:a.lead)||this:this}getPrevLead(){var a;const{layoutId:s}=this.options;return s?(a=this.getStack())===null||a===void 0?void 0:a.prevLead:void 0}getStack(){const{layoutId:a}=this.options;if(a)return this.root.sharedNodes.get(a)}promote({needsReset:a,transition:s,preserveFollowOpacity:l}={}){const c=this.getStack();c&&c.promote(this,l),a&&(this.projectionDelta=void 0,this.needsReset=!0),s&&this.setOptions({transition:s})}relegate(){const a=this.getStack();return a?a.relegate(this):!1}resetSkewAndRotation(){const{visualElement:a}=this.options;if(!a)return;let s=!1;const{latestValues:l}=a;if((l.z||l.rotate||l.rotateX||l.rotateY||l.rotateZ||l.skewX||l.skewY)&&(s=!0),!s)return;const c={};l.z&&zu("z",a,c,this.animationValues);for(let u=0;u<Fu.length;u++)zu(`rotate${Fu[u]}`,a,c,this.animationValues),zu(`skew${Fu[u]}`,a,c,this.animationValues);a.render();for(const u in c)a.setStaticValue(u,c[u]),this.animationValues&&(this.animationValues[u]=c[u]);a.scheduleRender()}getProjectionStyles(a){var s,l;if(!this.instance||this.isSVG)return;if(!this.isVisible)return ES;const c={visibility:""},u=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,c.opacity="",c.pointerEvents=zs(a==null?void 0:a.pointerEvents)||"",c.transform=u?u(this.latestValues,""):"none",c;const f=this.getLead();if(!this.projectionDelta||!this.layout||!f.target){const m={};return this.options.layoutId&&(m.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,m.pointerEvents=zs(a==null?void 0:a.pointerEvents)||""),this.hasProjected&&!so(this.latestValues)&&(m.transform=u?u({},""):"none",this.hasProjected=!1),m}const p=f.animationValues||f.latestValues;this.applyTransformsToTarget(),c.transform=PS(this.projectionDeltaWithTransform,this.treeScale,p),u&&(c.transform=u(p,c.transform));const{x:h,y:b}=this.projectionDelta;c.transformOrigin=`${h.origin*100}% ${b.origin*100}% 0`,f.animationValues?c.opacity=f===this?(l=(s=p.opacity)!==null&&s!==void 0?s:this.latestValues.opacity)!==null&&l!==void 0?l:1:this.preserveOpacity?this.latestValues.opacity:p.opacityExit:c.opacity=f===this?p.opacity!==void 0?p.opacity:"":p.opacityExit!==void 0?p.opacityExit:0;for(const m in Bs){if(p[m]===void 0)continue;const{correct:v,applyTo:S}=Bs[m],y=c.transform==="none"?p[m]:v(p[m],f);if(S){const w=S.length;for(let j=0;j<w;j++)c[S[j]]=y}else c[m]=y}return this.options.layoutId&&(c.pointerEvents=f===this?zs(a==null?void 0:a.pointerEvents)||"":"none"),c}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(a=>{var s;return(s=a.currentAnimation)===null||s===void 0?void 0:s.stop()}),this.root.nodes.forEach(I2),this.root.sharedNodes.clear()}}}function MS(e){e.updateLayout()}function OS(e){var t;const n=((t=e.resumeFrom)===null||t===void 0?void 0:t.snapshot)||e.snapshot;if(e.isLead()&&e.layout&&n&&e.hasListeners("didUpdate")){const{layoutBox:r,measuredBox:o}=e.layout,{animationType:i}=e.options,a=n.source!==e.layout.source;i==="size"?Tn(f=>{const p=a?n.measuredBox[f]:n.layoutBox[f],h=bn(p);p.min=r[f].min,p.max=p.min+h}):N2(i,n.layoutBox,r)&&Tn(f=>{const p=a?n.measuredBox[f]:n.layoutBox[f],h=bn(r[f]);p.max=p.min+h,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[f].max=e.relativeTarget[f].min+h)});const s=Yo();pa(s,r,n.layoutBox);const l=Yo();a?pa(l,e.applyTransform(o,!0),n.measuredBox):pa(l,r,n.layoutBox);const c=!k2(s);let u=!1;if(!e.resumeFrom){const f=e.getClosestProjectingParent();if(f&&!f.resumeFrom){const{snapshot:p,layout:h}=f;if(p&&h){const b=Pt();ha(b,n.layoutBox,p.layoutBox);const m=Pt();ha(m,r,h.layoutBox),T2(b,m)||(u=!0),f.options.layoutRoot&&(e.relativeTarget=m,e.relativeTargetOrigin=b,e.relativeParent=f)}}}e.notifyListeners("didUpdate",{layout:r,snapshot:n,delta:l,layoutDelta:s,hasLayoutChanged:c,hasRelativeTargetChanged:u})}else if(e.isLead()){const{onExitComplete:r}=e.options;r&&r()}e.options.transition=void 0}function IS(e){ga&&lo.totalNodes++,e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||(e.isSharedProjectionDirty=!!(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty)),e.isTransformDirty||(e.isTransformDirty=e.parent.isTransformDirty))}function DS(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function $S(e){e.clearSnapshot()}function I2(e){e.clearMeasurements()}function FS(e){e.isLayoutDirty=!1}function zS(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function D2(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function LS(e){e.resolveTargetDelta()}function BS(e){e.calcProjection()}function NS(e){e.resetSkewAndRotation()}function RS(e){e.removeLeadSnapshot()}function $2(e,t,n){e.translate=wt(t.translate,0,n),e.scale=wt(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function F2(e,t,n,r){e.min=wt(t.min,n.min,r),e.max=wt(t.max,n.max,r)}function VS(e,t,n,r){F2(e.x,t.x,n.x,r),F2(e.y,t.y,n.y,r)}function WS(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}const HS={duration:.45,ease:[.4,0,.1,1]},z2=e=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),L2=z2("applewebkit/")&&!z2("chrome/")?Math.round:sn;function B2(e){e.min=L2(e.min),e.max=L2(e.max)}function US(e){B2(e.x),B2(e.y)}function N2(e,t,n){return e==="position"||e==="preserve-aspect"&&!Gw(P2(t),P2(n),.2)}function qS(e){var t;return e!==e.root&&((t=e.scroll)===null||t===void 0?void 0:t.wasRoot)}const ZS=O2({attachResizeListener:(e,t)=>ua(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),Lu={current:void 0},R2=O2({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!Lu.current){const e=new ZS({});e.mount(window),e.setOptions({layoutScroll:!0}),Lu.current=e}return Lu.current},resetTransform:(e,t)=>{e.style.transform=t!==void 0?t:"none"},checkIsScrollRoot:e=>window.getComputedStyle(e).position==="fixed"}),GS={pan:{Feature:uS},drag:{Feature:cS,ProjectionNode:R2,MeasureLayout:f2}};function V2(e,t,n){const{props:r}=e;e.animationState&&r.whileHover&&e.animationState.setActive("whileHover",n==="Start");const o="onHover"+n,i=r[o];i&&vt.postRender(()=>i(t,da(t)))}class KS extends Lr{mount(){const{current:t}=this.node;t&&(this.unmount=Kx(t,n=>(V2(this.node,n,"Start"),r=>V2(this.node,r,"End"))))}unmount(){}}class YS extends Lr{constructor(){super(...arguments),this.isActive=!1}onFocus(){let t=!1;try{t=this.node.current.matches(":focus-visible")}catch{t=!0}!t||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){!this.isActive||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=ca(ua(this.node.current,"focus",()=>this.onFocus()),ua(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}function W2(e,t,n){const{props:r}=e;e.animationState&&r.whileTap&&e.animationState.setActive("whileTap",n==="Start");const o="onTap"+(n==="End"?"":n),i=r[o];i&&vt.postRender(()=>i(t,da(t)))}class XS extends Lr{mount(){const{current:t}=this.node;t&&(this.unmount=Qx(t,n=>(W2(this.node,n,"Start"),(r,{success:o})=>W2(this.node,r,o?"End":"Cancel")),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}const Bu=new WeakMap,Nu=new WeakMap,JS=e=>{const t=Bu.get(e.target);t&&t(e)},QS=e=>{e.forEach(JS)};function ek({root:e,...t}){const n=e||document;Nu.has(n)||Nu.set(n,{});const r=Nu.get(n),o=JSON.stringify(t);return r[o]||(r[o]=new IntersectionObserver(QS,{root:e,...t})),r[o]}function tk(e,t,n){const r=ek(t);return Bu.set(e,n),r.observe(e),()=>{Bu.delete(e),r.unobserve(e)}}const nk={some:0,all:1};class rk extends Lr{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:t={}}=this.node.getProps(),{root:n,margin:r,amount:o="some",once:i}=t,a={root:n?n.current:void 0,rootMargin:r,threshold:typeof o=="number"?o:nk[o]},s=l=>{const{isIntersecting:c}=l;if(this.isInView===c||(this.isInView=c,i&&!c&&this.hasEnteredView))return;c&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",c);const{onViewportEnter:u,onViewportLeave:f}=this.node.getProps(),p=c?u:f;p&&p(l)};return tk(this.node.current,a,s)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:t,prevProps:n}=this.node;["amount","margin","root"].some(ok(t,n))&&this.startObserver()}unmount(){}}function ok({viewport:e={}},{viewport:t={}}={}){return n=>e[n]!==t[n]}const ik={inView:{Feature:rk},tap:{Feature:XS},focus:{Feature:YS},hover:{Feature:KS}},ak={layout:{ProjectionNode:R2,MeasureLayout:f2}},Ru={current:null},H2={current:!1};function sk(){if(H2.current=!0,!!Fc)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>Ru.current=e.matches;e.addListener(t),t()}else Ru.current=!1}const lk=[...b0,Ut,zr],ck=e=>lk.find(v0(e)),U2=new WeakMap;function uk(e,t,n){for(const r in t){const o=t[r],i=n[r];if(Ht(o))e.addValue(r,o),process.env.NODE_ENV==="development"&&Is(o.version==="11.18.2",`Attempting to mix Motion versions ${o.version} with 11.18.2 may not work as expected.`);else if(Ht(i))e.addValue(r,ia(o,{owner:e}));else if(i!==o)if(e.hasValue(r)){const a=e.getValue(r);a.liveStyle===!0?a.jump(o):a.hasAnimated||a.set(o)}else{const a=e.getStaticValue(r);e.addValue(r,ia(a!==void 0?a:o,{owner:e}))}}for(const r in n)t[r]===void 0&&e.removeValue(r);return t}const q2=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class dk{scrapeMotionValuesFromProps(t,n,r){return{}}constructor({parent:t,props:n,presenceContext:r,reducedMotionConfig:o,blockInitialAnimation:i,visualState:a},s={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=xu,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{const h=Jn.now();this.renderScheduledAt<h&&(this.renderScheduledAt=h,vt.render(this.render,!1,!0))};const{latestValues:l,renderState:c,onUpdate:u}=a;this.onUpdate=u,this.latestValues=l,this.baseTarget={...l},this.initialValues=n.initial?{...l}:{},this.renderState=c,this.parent=t,this.props=n,this.presenceContext=r,this.depth=t?t.depth+1:0,this.reducedMotionConfig=o,this.options=s,this.blockInitialAnimation=!!i,this.isControllingVariants=Fs(n),this.isVariantNode=dp(n),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);const{willChange:f,...p}=this.scrapeMotionValuesFromProps(n,{},this);for(const h in p){const b=p[h];l[h]!==void 0&&Ht(b)&&b.set(l[h],!1)}}mount(t){this.current=t,U2.set(t,this),this.projection&&!this.projection.instance&&this.projection.mount(t),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((n,r)=>this.bindToMotionValue(r,n)),H2.current||sk(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:Ru.current,process.env.NODE_ENV!=="production"&&Is(this.shouldReduceMotion!==!0,"You have Reduced Motion enabled on your device. Animations may not appear as expected."),this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){U2.delete(this.current),this.projection&&this.projection.unmount(),$r(this.notifyUpdate),$r(this.render),this.valueSubscriptions.forEach(t=>t()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this);for(const t in this.events)this.events[t].clear();for(const t in this.features){const n=this.features[t];n&&(n.unmount(),n.isMounted=!1)}this.current=null}bindToMotionValue(t,n){this.valueSubscriptions.has(t)&&this.valueSubscriptions.get(t)();const r=ro.has(t),o=n.on("change",s=>{this.latestValues[t]=s,this.props.onUpdate&&vt.preRender(this.notifyUpdate),r&&this.projection&&(this.projection.isTransformDirty=!0)}),i=n.on("renderRequest",this.scheduleRender);let a;window.MotionCheckAppearSync&&(a=window.MotionCheckAppearSync(this,t,n)),this.valueSubscriptions.set(t,()=>{o(),i(),a&&a(),n.owner&&n.stop()})}sortNodePosition(t){return!this.current||!this.sortInstanceNodePosition||this.type!==t.type?0:this.sortInstanceNodePosition(this.current,t.current)}updateFeatures(){let t="animation";for(t in Ho){const n=Ho[t];if(!n)continue;const{isEnabled:r,Feature:o}=n;if(!this.features[t]&&o&&r(this.props)&&(this.features[t]=new o(this)),this.features[t]){const i=this.features[t];i.isMounted?i.update():(i.mount(),i.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):Pt()}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,n){this.latestValues[t]=n}update(t,n){(t.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=t,this.prevPresenceContext=this.presenceContext,this.presenceContext=n;for(let r=0;r<q2.length;r++){const o=q2[r];this.propEventSubscriptions[o]&&(this.propEventSubscriptions[o](),delete this.propEventSubscriptions[o]);const i="on"+o,a=t[i];a&&(this.propEventSubscriptions[o]=this.on(o,a))}this.prevMotionValues=uk(this,this.scrapeMotionValuesFromProps(t,this.prevProps,this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue(),this.onUpdate&&this.onUpdate(this)}getProps(){return this.props}getVariant(t){return this.props.variants?this.props.variants[t]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(t){const n=this.getClosestVariantNode();if(n)return n.variantChildren&&n.variantChildren.add(t),()=>n.variantChildren.delete(t)}addValue(t,n){const r=this.values.get(t);n!==r&&(r&&this.removeValue(t),this.bindToMotionValue(t,n),this.values.set(t,n),this.latestValues[t]=n.get())}removeValue(t){this.values.delete(t);const n=this.valueSubscriptions.get(t);n&&(n(),this.valueSubscriptions.delete(t)),delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState)}hasValue(t){return this.values.has(t)}getValue(t,n){if(this.props.values&&this.props.values[t])return this.props.values[t];let r=this.values.get(t);return r===void 0&&n!==void 0&&(r=ia(n===null?void 0:n,{owner:this}),this.addValue(t,r)),r}readValue(t,n){var r;let o=this.latestValues[t]!==void 0||!this.current?this.latestValues[t]:(r=this.getBaseTargetFromProps(this.props,t))!==null&&r!==void 0?r:this.readValueFromInstance(this.current,t,this.options);return o!=null&&(typeof o=="string"&&(m0(o)||n0(o))?o=parseFloat(o):!ck(o)&&zr.test(n)&&(o=c0(t,n)),this.setBaseTarget(t,Ht(o)?o.get():o)),Ht(o)?o.get():o}setBaseTarget(t,n){this.baseTarget[t]=n}getBaseTarget(t){var n;const{initial:r}=this.props;let o;if(typeof r=="string"||typeof r=="object"){const a=Hc(this.props,r,(n=this.presenceContext)===null||n===void 0?void 0:n.custom);a&&(o=a[t])}if(r&&o!==void 0)return o;const i=this.getBaseTargetFromProps(this.props,t);return i!==void 0&&!Ht(i)?i:this.initialValues[t]!==void 0&&o===void 0?void 0:this.baseTarget[t]}on(t,n){return this.events[t]||(this.events[t]=new lu),this.events[t].add(n)}notify(t,...n){this.events[t]&&this.events[t].notify(...n)}}class Z2 extends dk{constructor(){super(...arguments),this.KeyframeResolver=x0}sortInstanceNodePosition(t,n){return t.compareDocumentPosition(n)&2?1:-1}getBaseTargetFromProps(t,n){return t.style?t.style[n]:void 0}removeValueFromRenderState(t,{vars:n,style:r}){delete n[t],delete r[t]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:t}=this.props;Ht(t)&&(this.childSubscription=t.on("change",n=>{this.current&&(this.current.textContent=`${n}`)}))}}function fk(e){return window.getComputedStyle(e)}class pk extends Z2{constructor(){super(...arguments),this.type="html",this.renderInstance=_p}readValueFromInstance(t,n){if(ro.has(n)){const r=vu(n);return r&&r.default||0}else{const r=fk(t),o=(yp(n)?r.getPropertyValue(n):r[n])||0;return typeof o=="string"?o.trim():o}}measureInstanceViewportBox(t,{transformPagePoint:n}){return l2(t,n)}build(t,n,r){Gc(t,n,r.transformTemplate)}scrapeMotionValuesFromProps(t,n,r){return Jc(t,n,r)}}class hk extends Z2{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=Pt}getBaseTargetFromProps(t,n){return t[n]}readValueFromInstance(t,n){if(ro.has(n)){const r=vu(n);return r&&r.default||0}return n=jp.has(n)?n:Rc(n),t.getAttribute(n)}scrapeMotionValuesFromProps(t,n,r){return Ep(t,n,r)}build(t,n,r){Kc(t,n,this.isSVGTag,r.transformTemplate)}renderInstance(t,n,r,o){Tp(t,n,r,o)}mount(t){this.isSVGTag=Xc(t.tagName),super.mount(t)}}const mk=(e,t)=>Wc(e)?new hk(t):new pk(t,{allowProjection:e!==g.Fragment}),gk=Vx({...Bw,...ik,...GS,...ak},mk),Qn=ox(gk),vk=(e,t)=>e.find(n=>n.id===t);function G2(e,t){const n=K2(e,t),r=n?e[n].findIndex(o=>o.id===t):-1;return{position:n,index:r}}function K2(e,t){for(const[n,r]of Object.entries(e))if(vk(r,t))return n}function bk(e){const t=e.includes("right"),n=e.includes("left");let r="center";return t&&(r="flex-end"),n&&(r="flex-start"),{display:"flex",flexDirection:"column",alignItems:r}}function yk(e){const n=e==="top"||e==="bottom"?"0 auto":void 0,r=e.includes("top")?"env(safe-area-inset-top, 0px)":void 0,o=e.includes("bottom")?"env(safe-area-inset-bottom, 0px)":void 0,i=e.includes("left")?void 0:"env(safe-area-inset-right, 0px)",a=e.includes("right")?void 0:"env(safe-area-inset-left, 0px)";return{position:"fixed",zIndex:"var(--toast-z-index, 5500)",pointerEvents:"none",display:"flex",flexDirection:"column",margin:n,top:r,bottom:o,right:i,left:a}}var xk=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,Ck=I1(function(e){return xk.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91}),wk=!1,Sk=Ck,kk=function(t){return t!=="theme"},Y2=function(t){return typeof t=="string"&&t.charCodeAt(0)>96?Sk:kk},X2=function(t,n,r){var o;if(n){var i=n.shouldForwardProp;o=t.__emotion_forwardProp&&i?function(a){return t.__emotion_forwardProp(a)&&i(a)}:i}return typeof o!="function"&&r&&(o=t.__emotion_forwardProp),o},_k=function(t){var n=t.cache,r=t.serialized,o=t.isStringTag;return _c(n,r,o),q1(function(){return jc(n,r,o)}),null},jk=function e(t,n){var r=t.__emotion_real===t,o=r&&t.__emotion_base||t,i,a;n!==void 0&&(i=n.label,a=n.target);var s=X2(t,n,r),l=s||Y2(o),c=!l("as");return function(){var u=arguments,f=r&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(i!==void 0&&f.push("label:"+i+";"),u[0]==null||u[0].raw===void 0)f.push.apply(f,u);else{var p=u[0];f.push(p[0]);for(var h=u.length,b=1;b<h;b++)f.push(u[b],p[b])}var m=Ts(function(v,S,y){var w=c&&v.as||o,j="",x=[],E=v;if(v.theme==null){E={};for(var P in v)E[P]=v[P];E.theme=Se.useContext(Ro)}typeof v.className=="string"?j=N1(S.registered,x,v.className):v.className!=null&&(j=v.className+" ");var D=js(f.concat(x),S.registered,E);j+=S.key+"-"+D.name,a!==void 0&&(j+=" "+a);var R=c&&s===void 0?Y2(w):l,z={};for(var X in v)c&&X==="as"||R(X)&&(z[X]=v[X]);return z.className=j,y&&(z.ref=y),Se.createElement(Se.Fragment,null,Se.createElement(_k,{cache:S,serialized:D,isStringTag:typeof w=="string"}),Se.createElement(w,z))});return m.displayName=i!==void 0?i:"Styled("+(typeof o=="string"?o:o.displayName||o.name||"Component")+")",m.defaultProps=t.defaultProps,m.__emotion_real=m,m.__emotion_base=o,m.__emotion_styles=f,m.__emotion_forwardProp=s,Object.defineProperty(m,"toString",{value:function(){return a===void 0&&wk?"NO_COMPONENT_SELECTOR":"."+a}}),m.withComponent=function(v,S){var y=e(v,to({},n,S,{shouldForwardProp:X2(m,S,!0)}));return y.apply(void 0,f)},m}},Tk=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"],Vu=jk.bind(null);Tk.forEach(function(e){Vu[e]=Vu(e)});const Pk=new Set([...h5,"textStyle","layerStyle","apply","noOfLines","focusBorderColor","errorBorderColor","as","__css","css","sx"]),Ek=new Set(["htmlWidth","htmlHeight","htmlSize","htmlTranslate"]);function Ak(e){return(Ek.has(e)||!Pk.has(e))&&e[0]!=="_"}const Mk=vg(Vu),Ok=({baseStyle:e})=>t=>{const{theme:n,css:r,__css:o,sx:i,...a}=t,[s]=kg(a,g5),l=mn(e,t),c=ag({},o,l,Ei(s),i),u=Zf(c)(t.theme);return r?[u,r]:u};function Wu(e,t){const{baseStyle:n,...r}=t??{};r.shouldForwardProp||(r.shouldForwardProp=Ak);const o=Ok({baseStyle:n}),i=Mk(e,r)(o);return g.forwardRef(function(l,c){const{children:u,...f}=l,{colorMode:p,forced:h}=Mc(),b=h?p:void 0;return g.createElement(i,{ref:c,"data-theme":b,...f},u)})}function Ik(){const e=new Map;return new Proxy(Wu,{apply(t,n,r){return Wu(...r)},get(t,n){return e.has(n)||e.set(n,Wu(n)),e.get(n)}})}const ae=Ik(),Dk={initial:e=>{const{position:t}=e,n=["top","bottom"].includes(t)?"y":"x";let r=["top-right","bottom-right"].includes(t)?1:-1;return t==="bottom"&&(r=1),{opacity:0,[n]:r*24}},animate:{opacity:1,y:0,x:0,scale:1,transition:{duration:.4,ease:[.4,0,.2,1]}},exit:{opacity:0,scale:.85,transition:{duration:.2,ease:[.4,0,1,1]}}},J2=g.memo(e=>{const{id:t,message:n,onCloseComplete:r,onRequestRemove:o,requestClose:i=!1,position:a="bottom",duration:s=5e3,containerStyle:l,motionVariants:c=Dk,toastSpacing:u="0.5rem"}=e,[f,p]=g.useState(s),h=K9();ko(()=>{h||r==null||r()},[h]),ko(()=>{p(s)},[s]);const b=()=>p(null),m=()=>p(s),v=()=>{h&&o()};g.useEffect(()=>{h&&i&&o()},[h,i,o]),Dg(v,f);const S=g.useMemo(()=>({pointerEvents:"auto",maxWidth:560,minWidth:300,margin:u,...l}),[l,u]),y=g.useMemo(()=>bk(a),[a]);return d.jsx(Qn.div,{layout:!0,className:"chakra-toast",variants:c,initial:"initial",animate:"animate",exit:"exit",onHoverStart:b,onHoverEnd:m,custom:{position:a},style:y,children:d.jsx(ae.div,{role:"status","aria-atomic":"true",className:"chakra-toast__inner",__css:S,children:mn(n,{id:t,onClose:v})})})});J2.displayName="ToastComponent";function ge(e){return g.forwardRef(e)}var $k=typeof Element<"u",Fk=typeof Map=="function",zk=typeof Set=="function",Lk=typeof ArrayBuffer=="function"&&!!ArrayBuffer.isView;function Ys(e,t){if(e===t)return!0;if(e&&t&&typeof e=="object"&&typeof t=="object"){if(e.constructor!==t.constructor)return!1;var n,r,o;if(Array.isArray(e)){if(n=e.length,n!=t.length)return!1;for(r=n;r--!==0;)if(!Ys(e[r],t[r]))return!1;return!0}var i;if(Fk&&e instanceof Map&&t instanceof Map){if(e.size!==t.size)return!1;for(i=e.entries();!(r=i.next()).done;)if(!t.has(r.value[0]))return!1;for(i=e.entries();!(r=i.next()).done;)if(!Ys(r.value[1],t.get(r.value[0])))return!1;return!0}if(zk&&e instanceof Set&&t instanceof Set){if(e.size!==t.size)return!1;for(i=e.entries();!(r=i.next()).done;)if(!t.has(r.value[0]))return!1;return!0}if(Lk&&ArrayBuffer.isView(e)&&ArrayBuffer.isView(t)){if(n=e.length,n!=t.length)return!1;for(r=n;r--!==0;)if(e[r]!==t[r])return!1;return!0}if(e.constructor===RegExp)return e.source===t.source&&e.flags===t.flags;if(e.valueOf!==Object.prototype.valueOf&&typeof e.valueOf=="function"&&typeof t.valueOf=="function")return e.valueOf()===t.valueOf();if(e.toString!==Object.prototype.toString&&typeof e.toString=="function"&&typeof t.toString=="function")return e.toString()===t.toString();if(o=Object.keys(e),n=o.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!Object.prototype.hasOwnProperty.call(t,o[r]))return!1;if($k&&e instanceof Element)return!1;for(r=n;r--!==0;)if(!((o[r]==="_owner"||o[r]==="__v"||o[r]==="__o")&&e.$$typeof)&&!Ys(e[o[r]],t[o[r]]))return!1;return!0}return e!==e&&t!==t}var Bk=function(t,n){try{return Ys(t,n)}catch(r){if((r.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw r}};const Nk=Ua(Bk);function va(){const e=g.useContext(Ro);if(!e)throw Error("useTheme: `theme` is undefined. Seems you forgot to wrap your app in `<ChakraProvider />` or `<ThemeProvider />`");return e}function Q2(){const e=Mc(),t=va();return{...e,theme:t}}function Rk(e,t,n){if(t==null)return t;const r=o=>{var i,a;return(a=(i=e.__cssMap)==null?void 0:i[o])==null?void 0:a.value};return r(t)??r(n)??n}function Xs(e,t,n){const r=va();return Vk(e,t,n)(r)}function Vk(e,t,n){const r=Array.isArray(t)?t:[t],o=Array.isArray(n)?n:[n];return i=>{const a=o.filter(Boolean),s=r.map((l,c)=>{const u=`${e}.${l}`;return Rk(i,u,a[c]??l)});return Array.isArray(t)?s:s[0]}}function eh(e,t={}){const{styleConfig:n,...r}=t,{theme:o,colorMode:i}=Q2(),a=e?$f(o,`components.${e}`):void 0,s=n||a,l=kn({theme:o,colorMode:i},(s==null?void 0:s.defaultProps)??{},Ei(So(r,["children"])),(u,f)=>u?void 0:f),c=g.useRef({});if(s){const f=T5(s)(l);Nk(c.current,f)||(c.current=f)}return c.current}function er(e,t={}){return eh(e,t)}function Yt(e,t={}){return eh(e,t)}const th={path:d.jsxs("g",{stroke:"currentColor",strokeWidth:"1.5",children:[d.jsx("path",{strokeLinecap:"round",fill:"none",d:"M9,9a3,3,0,1,1,4,2.829,1.5,1.5,0,0,0-1,1.415V14.25"}),d.jsx("path",{fill:"currentColor",strokeLinecap:"round",d:"M12,17.25a.375.375,0,1,0,.375.375A.375.375,0,0,0,12,17.25h0"}),d.jsx("circle",{fill:"none",strokeMiterlimit:"10",cx:"12",cy:"12",r:"11.25"})]}),viewBox:"0 0 24 24"},Xt=ge((e,t)=>{const{as:n,viewBox:r,color:o="currentColor",focusable:i=!1,children:a,className:s,__css:l,...c}=e,u=Pe("chakra-icon",s),f=er("Icon",e),p={w:"1em",h:"1em",display:"inline-block",lineHeight:"1em",flexShrink:0,color:o,...l,...f},h={ref:t,focusable:i,className:u,__css:p},b=r??th.viewBox;if(n&&typeof n!="string")return d.jsx(ae.svg,{as:n,...h,...c});const m=a??th.path;return d.jsx(ae.svg,{verticalAlign:"middle",viewBox:b,...h,...c,children:m})});Xt.displayName="Icon";function Wk(e){return d.jsx(Xt,{viewBox:"0 0 24 24",...e,children:d.jsx("path",{fill:"currentColor",d:"M12,0A12,12,0,1,0,24,12,12.014,12.014,0,0,0,12,0Zm6.927,8.2-6.845,9.289a1.011,1.011,0,0,1-1.43.188L5.764,13.769a1,1,0,1,1,1.25-1.562l4.076,3.261,6.227-8.451A1,1,0,1,1,18.927,8.2Z"})})}function Hk(e){return d.jsx(Xt,{viewBox:"0 0 24 24",...e,children:d.jsx("path",{fill:"currentColor",d:"M12,0A12,12,0,1,0,24,12,12.013,12.013,0,0,0,12,0Zm.25,5a1.5,1.5,0,1,1-1.5,1.5A1.5,1.5,0,0,1,12.25,5ZM14.5,18.5h-4a1,1,0,0,1,0-2h.75a.25.25,0,0,0,.25-.25v-4.5a.25.25,0,0,0-.25-.25H10.5a1,1,0,0,1,0-2h1a2,2,0,0,1,2,2v4.75a.25.25,0,0,0,.25.25h.75a1,1,0,1,1,0,2Z"})})}function nh(e){return d.jsx(Xt,{viewBox:"0 0 24 24",...e,children:d.jsx("path",{fill:"currentColor",d:"M11.983,0a12.206,12.206,0,0,0-8.51,3.653A11.8,11.8,0,0,0,0,12.207,11.779,11.779,0,0,0,11.8,24h.214A12.111,12.111,0,0,0,24,11.791h0A11.766,11.766,0,0,0,11.983,0ZM10.5,16.542a1.476,1.476,0,0,1,1.449-1.53h.027a1.527,1.527,0,0,1,1.523,1.47,1.475,1.475,0,0,1-1.449,1.53h-.027A1.529,1.529,0,0,1,10.5,16.542ZM11,12.5v-6a1,1,0,0,1,2,0v6a1,1,0,1,1-2,0Z"})})}const Uk=Ir({"0%":{transform:"rotate(0deg)"},"100%":{transform:"rotate(360deg)"}}),Hu=ge((e,t)=>{const n=er("Spinner",e),{label:r="Loading...",thickness:o="2px",speed:i="0.45s",emptyColor:a="transparent",className:s,...l}=Ct(e),c=Pe("chakra-spinner",s),u={display:"inline-block",borderColor:"currentColor",borderStyle:"solid",borderRadius:"99999px",borderWidth:o,borderBottomColor:a,borderLeftColor:a,animation:`${Uk} ${i} linear infinite`,...n};return d.jsx(ae.div,{ref:t,__css:u,className:c,...l,children:r&&d.jsx(ae.span,{srOnly:!0,children:r})})});Hu.displayName="Spinner";const[qk,Uu]=ht({name:"AlertContext",hookName:"useAlertContext",providerName:"<Alert />"}),[Zk,qu]=ht({name:"AlertStylesContext",hookName:"useAlertStyles",providerName:"<Alert />"}),rh={info:{icon:Hk,colorScheme:"blue"},warning:{icon:nh,colorScheme:"orange"},success:{icon:Wk,colorScheme:"green"},error:{icon:nh,colorScheme:"red"},loading:{icon:Hu,colorScheme:"blue"}};function Gk(e){return rh[e].colorScheme}function Kk(e){return rh[e].icon}const oh=ge(function(t,n){const{status:r="info",addRole:o=!0,...i}=Ct(t),a=t.colorScheme??Gk(r),s=Yt("Alert",{...t,colorScheme:a}),l={width:"100%",display:"flex",alignItems:"center",position:"relative",overflow:"hidden",...s.container};return d.jsx(qk,{value:{status:r},children:d.jsx(Zk,{value:s,children:d.jsx(ae.div,{"data-status":r,role:o?"alert":void 0,ref:n,...i,className:Pe("chakra-alert",t.className),__css:l})})})});oh.displayName="Alert";function ih(e){const{status:t}=Uu(),n=Kk(t),r=qu(),o=t==="loading"?r.spinner:r.icon;return d.jsx(ae.span,{display:"inherit","data-status":t,...e,className:Pe("chakra-alert__icon",e.className),__css:o,children:e.children||d.jsx(n,{h:"100%",w:"100%"})})}ih.displayName="AlertIcon";const ah=ge(function(t,n){const r=qu(),{status:o}=Uu();return d.jsx(ae.div,{ref:n,"data-status":o,...t,className:Pe("chakra-alert__title",t.className),__css:r.title})});ah.displayName="AlertTitle";const sh=ge(function(t,n){const{status:r}=Uu(),o=qu(),i={display:"inline",...o.description};return d.jsx(ae.div,{ref:n,"data-status":r,...t,className:Pe("chakra-alert__desc",t.className),__css:i})});sh.displayName="AlertDescription";function Yk(e){return d.jsx(Xt,{focusable:"false","aria-hidden":!0,...e,children:d.jsx("path",{fill:"currentColor",d:"M.439,21.44a1.5,1.5,0,0,0,2.122,2.121L11.823,14.3a.25.25,0,0,1,.354,0l9.262,9.263a1.5,1.5,0,1,0,2.122-2.121L14.3,12.177a.25.25,0,0,1,0-.354l9.263-9.262A1.5,1.5,0,0,0,21.439.44L12.177,9.7a.25.25,0,0,1-.354,0L2.561.44A1.5,1.5,0,0,0,.439,2.561L9.7,11.823a.25.25,0,0,1,0,.354Z"})})}const Zu=ge(function(t,n){const r=er("CloseButton",t),{children:o,isDisabled:i,__css:a,...s}=Ct(t),l={outline:0,display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0};return d.jsx(ae.button,{type:"button","aria-label":"Close",ref:n,disabled:i,__css:{...l,...r,...a},...s,children:o||d.jsx(Yk,{width:"1em",height:"1em"})})});Zu.displayName="CloseButton";const Xk=e=>{const{status:t,variant:n="solid",id:r,title:o,isClosable:i,onClose:a,description:s,colorScheme:l,icon:c}=e,u=r?{root:`toast-${r}`,title:`toast-${r}-title`,description:`toast-${r}-description`}:void 0;return d.jsxs(oh,{addRole:!1,status:t,variant:n,id:u==null?void 0:u.root,alignItems:"start",borderRadius:"md",boxShadow:"lg",paddingEnd:8,textAlign:"start",width:"auto",colorScheme:l,children:[d.jsx(ih,{children:c}),d.jsxs(ae.div,{flex:"1",maxWidth:"100%",children:[o&&d.jsx(ah,{id:u==null?void 0:u.title,children:o}),s&&d.jsx(sh,{id:u==null?void 0:u.description,display:"block",children:s})]}),i&&d.jsx(Zu,{size:"sm",onClick:a,position:"absolute",insetEnd:1,top:1})]})};function lh(e={}){const{render:t,toastComponent:n=Xk}=e;return o=>typeof t=="function"?t({...o,...e}):d.jsx(n,{...o,...e})}const tr=Jk({top:[],"top-left":[],"top-right":[],"bottom-left":[],bottom:[],"bottom-right":[]});function Jk(e){let t=e;const n=new Set,r=o=>{t=o(t),n.forEach(i=>i())};return{getState:()=>t,subscribe:o=>(n.add(o),()=>{r(()=>e),n.delete(o)}),removeToast:(o,i)=>{r(a=>({...a,[i]:a[i].filter(s=>s.id!=o)}))},notify:(o,i)=>{const a=Qk(o,i),{position:s,id:l}=a;return r(c=>{const f=s.includes("top")?[a,...c[s]??[]]:[...c[s]??[],a];return{...c,[s]:f}}),l},update:(o,i)=>{o&&r(a=>{const s={...a},{position:l,index:c}=G2(s,o);return l&&c!==-1&&(s[l][c]={...s[l][c],...i,message:lh(i)}),s})},closeAll:({positions:o}={})=>{r(i=>(o??["bottom","bottom-right","bottom-left","top","top-left","top-right"]).reduce((l,c)=>(l[c]=i[c].map(u=>({...u,requestClose:!0})),l),{...i}))},close:o=>{r(i=>{const a=K2(i,o);return a?{...i,[a]:i[a].map(s=>s.id==o?{...s,requestClose:!0}:s)}:i})},isActive:o=>!!G2(tr.getState(),o).position}}let ch=0;function Qk(e,t={}){ch+=1;const n=t.id??ch,r=t.position??"bottom";return{id:n,message:e,position:r,duration:t.duration,onCloseComplete:t.onCloseComplete,onRequestRemove:()=>tr.removeToast(String(n),r),status:t.status,requestClose:!1,containerStyle:t.containerStyle}}const[uh,e_]=ht({strict:!1,name:"PortalContext"}),Gu="chakra-portal",t_=".chakra-portal",n_=e=>d.jsx("div",{className:"chakra-portal-zIndex",style:{position:"absolute",zIndex:e.zIndex,top:0,left:0,right:0},children:e.children}),r_=e=>{const{appendToParentPortal:t,children:n}=e,[r,o]=g.useState(null),i=g.useRef(null),[,a]=g.useState({});g.useEffect(()=>a({}),[]);const s=e_(),l=W9();Gr(()=>{if(!r)return;const u=r.ownerDocument,f=t?s??u.body:u.body;if(!f)return;i.current=u.createElement("div"),i.current.className=Gu,f.appendChild(i.current),a({});const p=i.current;return()=>{f.contains(p)&&f.removeChild(p)}},[r]);const c=l!=null&&l.zIndex?d.jsx(n_,{zIndex:l==null?void 0:l.zIndex,children:n}):n;return i.current?Sf.createPortal(d.jsx(uh,{value:i.current,children:c}),i.current):d.jsx("span",{ref:u=>{u&&o(u)}})},o_=e=>{const{children:t,containerRef:n,appendToParentPortal:r}=e,o=n.current,i=o??(typeof window<"u"?document.body:void 0),a=g.useMemo(()=>{const l=o==null?void 0:o.ownerDocument.createElement("div");return l&&(l.className=Gu),l},[o]),[,s]=g.useState({});return Gr(()=>s({}),[]),Gr(()=>{if(!(!a||!i))return i.appendChild(a),()=>{i.removeChild(a)}},[a,i]),i&&a?Sf.createPortal(d.jsx(uh,{value:r?a:null,children:t}),a):null};function Qo(e){const t={appendToParentPortal:!0,...e},{containerRef:n,...r}=t;return n?d.jsx(o_,{containerRef:n,...r}):d.jsx(r_,{...r})}Qo.className=Gu,Qo.selector=t_,Qo.displayName="Portal";const[i_,a_]=ht({name:"ToastOptionsContext",strict:!1}),s_=e=>{const t=g.useSyncExternalStore(tr.subscribe,tr.getState,tr.getState),{motionVariants:n,component:r=J2,portalProps:o,animatePresenceProps:i}=e,s=Object.keys(t).map(l=>{const c=t[l];return d.jsx("div",{role:"region","aria-live":"polite","aria-label":`Notifications-${l}`,id:`chakra-toast-manager-${l}`,style:yk(l),children:d.jsx(no,{...i,initial:!1,children:c.map(u=>d.jsx(r,{motionVariants:n,...u},u.id))})},l)});return d.jsx(Qo,{...o,children:s})},l_=(e=>function({children:n,theme:r=e,toastOptions:o,...i}){return d.jsxs(H9,{theme:r,...i,children:[d.jsx(i_,{value:o==null?void 0:o.defaultOptions,children:n}),d.jsx(s_,{...o})]})})(S1);function dh(e){return e.sort((t,n)=>{const r=t.compareDocumentPosition(n);if(r&Node.DOCUMENT_POSITION_FOLLOWING||r&Node.DOCUMENT_POSITION_CONTAINED_BY)return-1;if(r&Node.DOCUMENT_POSITION_PRECEDING||r&Node.DOCUMENT_POSITION_CONTAINS)return 1;if(r&Node.DOCUMENT_POSITION_DISCONNECTED||r&Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC)throw Error("Cannot sort the given nodes.");return 0})}const c_=e=>typeof e=="object"&&"nodeType"in e&&e.nodeType===Node.ELEMENT_NODE;function fh(e,t,n){let r=e+1;return n&&r>=t&&(r=0),r}function ph(e,t,n){let r=e-1;return n&&r<0&&(r=t),r}const Ku=typeof window<"u"?g.useLayoutEffect:g.useEffect,hh=e=>e;var u_=Object.defineProperty,d_=(e,t,n)=>t in e?u_(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,jt=(e,t,n)=>(d_(e,typeof t!="symbol"?t+"":t,n),n);class f_{constructor(){jt(this,"descendants",new Map),jt(this,"register",t=>{if(t!=null)return c_(t)?this.registerNode(t):n=>{this.registerNode(n,t)}}),jt(this,"unregister",t=>{this.descendants.delete(t);const n=dh(Array.from(this.descendants.keys()));this.assignIndex(n)}),jt(this,"destroy",()=>{this.descendants.clear()}),jt(this,"assignIndex",t=>{this.descendants.forEach(n=>{const r=t.indexOf(n.node);n.index=r,n.node.dataset.index=n.index.toString()})}),jt(this,"count",()=>this.descendants.size),jt(this,"enabledCount",()=>this.enabledValues().length),jt(this,"values",()=>Array.from(this.descendants.values()).sort((n,r)=>n.index-r.index)),jt(this,"enabledValues",()=>this.values().filter(t=>!t.disabled)),jt(this,"item",t=>{if(this.count()!==0)return this.values()[t]}),jt(this,"enabledItem",t=>{if(this.enabledCount()!==0)return this.enabledValues()[t]}),jt(this,"first",()=>this.item(0)),jt(this,"firstEnabled",()=>this.enabledItem(0)),jt(this,"last",()=>this.item(this.descendants.size-1)),jt(this,"lastEnabled",()=>{const t=this.enabledValues().length-1;return this.enabledItem(t)}),jt(this,"indexOf",t=>{var n;return t?((n=this.descendants.get(t))==null?void 0:n.index)??-1:-1}),jt(this,"enabledIndexOf",t=>t==null?-1:this.enabledValues().findIndex(n=>n.node.isSameNode(t))),jt(this,"next",(t,n=!0)=>{const r=fh(t,this.count(),n);return this.item(r)}),jt(this,"nextEnabled",(t,n=!0)=>{const r=this.item(t);if(!r)return;const o=this.enabledIndexOf(r.node),i=fh(o,this.enabledCount(),n);return this.enabledItem(i)}),jt(this,"prev",(t,n=!0)=>{const r=ph(t,this.count()-1,n);return this.item(r)}),jt(this,"prevEnabled",(t,n=!0)=>{const r=this.item(t);if(!r)return;const o=this.enabledIndexOf(r.node),i=ph(o,this.enabledCount()-1,n);return this.enabledItem(i)}),jt(this,"registerNode",(t,n)=>{if(!t||this.descendants.has(t))return;const r=Array.from(this.descendants.keys()).concat(t),o=dh(r);n!=null&&n.disabled&&(n.disabled=!!n.disabled);const i={node:t,index:-1,...n};this.descendants.set(t,i),this.assignIndex(o)})}}function Yu(){const[e,t]=ht({name:"DescendantsProvider",errorMessage:"useDescendantsContext must be used within DescendantsProvider"});return[e,t,()=>{const o=g.useRef(new f_);return Ku(()=>()=>o.current.destroy()),o.current},o=>{const i=t(),[a,s]=g.useState(-1),l=g.useRef(null);Ku(()=>()=>{l.current&&i.unregister(l.current)},[]),Ku(()=>{if(!l.current)return;const u=Number(l.current.dataset.index);a!=u&&!Number.isNaN(u)&&s(u)});const c=hh(o?i.register(o):i.register);return{descendants:i,index:a,enabledIndex:i.enabledIndexOf(l.current),register:Bt(c,l)}}]}const[p_,Js]=ht({name:"AccordionStylesContext",hookName:"useAccordionStyles",providerName:"<Accordion />"}),[h_,Xu]=ht({name:"AccordionItemContext",hookName:"useAccordionItemContext",providerName:"<AccordionItem />"}),[m_,_D,g_,v_]=Yu();function b_(e){const{onChange:t,defaultIndex:n,index:r,allowMultiple:o,allowToggle:i,...a}=e;C_(e),w_(e);const s=g_(),[l,c]=g.useState(-1);g.useEffect(()=>()=>{c(-1)},[]);const[u,f]=Bf({value:r,defaultValue(){return o?n??[]:n??-1},onChange:t});return{index:u,setIndex:f,htmlProps:a,getAccordionItemProps:h=>{let b=!1;return h!==null&&(b=Array.isArray(u)?u.includes(h):u===h),{isOpen:b,onChange:v=>{if(h!==null)if(o&&Array.isArray(u)){const S=v?u.concat(h):u.filter(y=>y!==h);f(S)}else v?f(h):i&&f(-1)}}},focusedIndex:l,setFocusedIndex:c,descendants:s}}const[y_,Ju]=ht({name:"AccordionContext",hookName:"useAccordionContext",providerName:"Accordion"});function x_(e){const{isDisabled:t,isFocusable:n,id:r,...o}=e,{getAccordionItemProps:i,setFocusedIndex:a}=Ju(),s=g.useRef(null),l=g.useId(),c=r??l,u=`accordion-button-${c}`,f=`accordion-panel-${c}`;S_(e);const{register:p,index:h,descendants:b}=v_({disabled:t&&!n}),{isOpen:m,onChange:v}=i(h===-1?null:h);k_({isOpen:m,isDisabled:t});const S=()=>{v==null||v(!0)},y=()=>{v==null||v(!1)},w=g.useCallback(()=>{v==null||v(!m),a(h)},[h,a,m,v]),j=g.useCallback(D=>{const z={ArrowDown:()=>{const X=b.nextEnabled(h);X==null||X.node.focus()},ArrowUp:()=>{const X=b.prevEnabled(h);X==null||X.node.focus()},Home:()=>{const X=b.firstEnabled();X==null||X.node.focus()},End:()=>{const X=b.lastEnabled();X==null||X.node.focus()}}[D.key];z&&(D.preventDefault(),z(D))},[b,h]),x=g.useCallback(()=>{a(h)},[a,h]),E=g.useCallback(function(R={},z=null){return{...R,type:"button",ref:Bt(p,s,z),id:u,disabled:!!t,"aria-expanded":!!m,"aria-controls":f,onClick:Ue(R.onClick,w),onFocus:Ue(R.onFocus,x),onKeyDown:Ue(R.onKeyDown,j)}},[u,t,m,w,x,j,f,p]),P=g.useCallback(function(R={},z=null){return{...R,ref:z,role:"region",id:f,"aria-labelledby":u,hidden:!m}},[u,m,f]);return{isOpen:m,isDisabled:t,isFocusable:n,onOpen:S,onClose:y,getButtonProps:E,getPanelProps:P,htmlProps:o}}function C_(e){const t=e.index||e.defaultIndex,n=t!=null&&!Array.isArray(t)&&e.allowMultiple;Ai({condition:!!n,message:`If 'allowMultiple' is passed, then 'index' or 'defaultIndex' must be an array. You passed: ${typeof t},`})}function w_(e){Ai({condition:!!(e.allowMultiple&&e.allowToggle),message:"If 'allowMultiple' is passed, 'allowToggle' will be ignored. Either remove 'allowToggle' or 'allowMultiple' depending on whether you want multiple accordions visible or not"})}function S_(e){Ai({condition:!!(e.isFocusable&&!e.isDisabled),message:`Using only 'isFocusable', this prop is reserved for situations where you pass 'isDisabled' but you still want the element to receive focus (A11y). Either remove it or pass 'isDisabled' as well.
|
|
346
|
+
`})}function k_(e){Ai({condition:e.isOpen&&!!e.isDisabled,message:"Cannot open a disabled accordion item"})}const mh=ge(function({children:t,reduceMotion:n,...r},o){const i=Yt("Accordion",r),a=Ct(r),{htmlProps:s,descendants:l,...c}=b_(a),u=g.useMemo(()=>({...c,reduceMotion:!!n}),[c,n]);return d.jsx(m_,{value:l,children:d.jsx(y_,{value:u,children:d.jsx(p_,{value:i,children:d.jsx(ae.div,{ref:o,...s,className:Pe("chakra-accordion",r.className),__css:i.root,children:t})})})})});mh.displayName="Accordion";const gh=ge(function(t,n){const{getButtonProps:r}=Xu(),o=r(t,n),a={display:"flex",alignItems:"center",width:"100%",outline:0,...Js().button};return d.jsx(ae.button,{...o,className:Pe("chakra-accordion__button",t.className),__css:a})});gh.displayName="AccordionButton";function vh(e){const{isOpen:t,isDisabled:n}=Xu(),{reduceMotion:r}=Ju(),o=Pe("chakra-accordion__icon",e.className),i=Js(),a={opacity:n?.4:1,transform:t?"rotate(-180deg)":void 0,transition:r?void 0:"transform 0.2s",transformOrigin:"center",...i.icon};return d.jsx(Xt,{viewBox:"0 0 24 24","aria-hidden":!0,className:o,__css:a,...e,children:d.jsx("path",{fill:"currentColor",d:"M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6z"})})}vh.displayName="AccordionIcon";const bh=ge(function(t,n){const{children:r,className:o}=t,{htmlProps:i,...a}=x_(t),s=Js(),l={...s.container,overflowAnchor:"none"},c=g.useMemo(()=>a,[a]);return d.jsx(h_,{value:c,children:d.jsx(ae.div,{ref:n,...i,className:Pe("chakra-accordion__item",o),__css:l,children:typeof r=="function"?r({isExpanded:!!a.isOpen,isDisabled:!!a.isDisabled}):r})})});bh.displayName="AccordionItem";const ei={ease:[.25,.1,.25,1],easeIn:[.4,0,1,1],easeOut:[0,0,.2,1],easeInOut:[.4,0,.2,1]},co={enter:{duration:.2,ease:ei.easeOut},exit:{duration:.1,ease:ei.easeIn}},Cr={enter:(e,t)=>({...e,delay:typeof t=="number"?t:t==null?void 0:t.enter}),exit:(e,t)=>({...e,delay:typeof t=="number"?t:t==null?void 0:t.exit})},__=e=>e!=null&&parseInt(e.toString(),10)>0,yh={exit:{height:{duration:.2,ease:ei.ease},opacity:{duration:.3,ease:ei.ease}},enter:{height:{duration:.3,ease:ei.ease},opacity:{duration:.4,ease:ei.ease}}},j_={exit:({animateOpacity:e,startingHeight:t,transition:n,transitionEnd:r,delay:o})=>({...e&&{opacity:__(t)?1:0},height:t,transitionEnd:r==null?void 0:r.exit,transition:(n==null?void 0:n.exit)??Cr.exit(yh.exit,o)}),enter:({animateOpacity:e,endingHeight:t,transition:n,transitionEnd:r,delay:o})=>({...e&&{opacity:1},height:t,transitionEnd:r==null?void 0:r.enter,transition:(n==null?void 0:n.enter)??Cr.enter(yh.enter,o)})},xh=g.forwardRef((e,t)=>{const{in:n,unmountOnExit:r,animateOpacity:o=!0,startingHeight:i=0,endingHeight:a="auto",style:s,className:l,transition:c,transitionEnd:u,animatePresenceProps:f,...p}=e,[h,b]=g.useState(!1);g.useEffect(()=>{const w=setTimeout(()=>{b(!0)});return()=>clearTimeout(w)},[]),Ai({condition:Number(i)>0&&!!r,message:"startingHeight and unmountOnExit are mutually exclusive. You can't use them together"});const m=parseFloat(i.toString())>0,v={startingHeight:i,endingHeight:a,animateOpacity:o,transition:h?c:{enter:{duration:0}},transitionEnd:{enter:u==null?void 0:u.enter,exit:r?u==null?void 0:u.exit:{...u==null?void 0:u.exit,display:m?"block":"none"}}},S=r?n:!0,y=n||r?"enter":"exit";return d.jsx(no,{...f,initial:!1,custom:v,children:S&&d.jsx(Qn.div,{ref:t,...p,className:Pe("chakra-collapse",l),style:{overflow:"hidden",display:"block",...s},custom:v,variants:j_,initial:r?"exit":!1,animate:y,exit:"exit"})})});xh.displayName="Collapse";const Ch=ge(function(t,n){const{className:r,motionProps:o,...i}=t,{reduceMotion:a}=Ju(),{getPanelProps:s,isOpen:l}=Xu(),c=s(i,n),u=Pe("chakra-accordion__panel",r),f=Js();a||delete c.hidden;const p=d.jsx(ae.div,{...c,__css:f.panel,className:u});return a?p:d.jsx(xh,{in:l,...o,children:p})});Ch.displayName="AccordionPanel";const[T_,P_]=ht({name:"AvatarStylesContext",hookName:"useAvatarStyles",providerName:"<Avatar/>"});function E_(e){const t=e.trim().split(" "),n=t[0]??"",r=t.length>1?t[t.length-1]:"";return n&&r?`${n.charAt(0)}${r.charAt(0)}`:n.charAt(0)}function wh(e){const{name:t,getInitials:n,...r}=e,o=P_();return d.jsx(ae.div,{role:"img","aria-label":t,...r,__css:o.label,children:t?n==null?void 0:n(t):null})}wh.displayName="AvatarName";const Sh=e=>d.jsxs(ae.svg,{viewBox:"0 0 128 128",color:"#fff",width:"100%",height:"100%",className:"chakra-avatar__svg",...e,children:[d.jsx("path",{fill:"currentColor",d:"M103,102.1388 C93.094,111.92 79.3504,118 64.1638,118 C48.8056,118 34.9294,111.768 25,101.7892 L25,95.2 C25,86.8096 31.981,80 40.6,80 L87.4,80 C96.019,80 103,86.8096 103,95.2 L103,102.1388 Z"}),d.jsx("path",{fill:"currentColor",d:"M63.9961647,24 C51.2938136,24 41,34.2938136 41,46.9961647 C41,59.7061864 51.2938136,70 63.9961647,70 C76.6985159,70 87,59.7061864 87,46.9961647 C87,34.2938136 76.6985159,24 63.9961647,24"})]});function kh(e){const{loading:t,src:n,srcSet:r,onLoad:o,onError:i,crossOrigin:a,sizes:s,ignoreFallback:l}=e,[c,u]=g.useState("pending");g.useEffect(()=>{u(n?"loading":"pending")},[n]);const f=g.useRef(),p=g.useCallback(()=>{if(!n)return;h();const b=new Image;b.src=n,a&&(b.crossOrigin=a),r&&(b.srcset=r),s&&(b.sizes=s),t&&(b.loading=t),b.onload=m=>{h(),u("loaded"),o==null||o(m)},b.onerror=m=>{h(),u("failed"),i==null||i(m)},f.current=b},[n,a,r,s,o,i,t]),h=()=>{f.current&&(f.current.onload=null,f.current.onerror=null,f.current=null)};return Gr(()=>{if(!l)return c==="loading"&&p(),()=>{h()}},[c,p,l]),l?"loaded":c}const A_=(e,t)=>e!=="loaded"&&t==="beforeLoadOrError"||e==="failed"&&t==="onError";function _h(e){const{src:t,srcSet:n,onError:r,onLoad:o,getInitials:i,name:a,borderRadius:s,loading:l,iconLabel:c,icon:u=d.jsx(Sh,{}),ignoreFallback:f,referrerPolicy:p,crossOrigin:h}=e,m=kh({src:t,onError:r,crossOrigin:h,ignoreFallback:f})==="loaded";return!t||!m?a?d.jsx(wh,{className:"chakra-avatar__initials",getInitials:i,name:a}):g.cloneElement(u,{role:"img","aria-label":c}):d.jsx(ae.img,{src:t,srcSet:n,alt:a??c,onLoad:o,referrerPolicy:p,crossOrigin:h??void 0,className:"chakra-avatar__img",loading:l,__css:{width:"100%",height:"100%",objectFit:"cover",borderRadius:s}})}_h.displayName="AvatarImage";const M_={display:"inline-flex",alignItems:"center",justifyContent:"center",textAlign:"center",textTransform:"uppercase",fontWeight:"medium",position:"relative",flexShrink:0},jh=ge((e,t)=>{const n=Yt("Avatar",e),[r,o]=g.useState(!1),{src:i,srcSet:a,name:s,showBorder:l,borderRadius:c="full",onError:u,onLoad:f,getInitials:p=E_,icon:h=d.jsx(Sh,{}),iconLabel:b=" avatar",loading:m,children:v,borderColor:S,ignoreFallback:y,crossOrigin:w,referrerPolicy:j,...x}=Ct(e),E={borderRadius:c,borderWidth:l?"2px":void 0,...M_,...n.container};return S&&(E.borderColor=S),d.jsx(ae.span,{ref:t,...x,className:Pe("chakra-avatar",e.className),"data-loaded":Le(r),__css:E,children:d.jsxs(T_,{value:n,children:[d.jsx(_h,{src:i,srcSet:a,loading:m,onLoad:Ue(f,()=>{o(!0)}),onError:u,getInitials:p,name:s,borderRadius:c,icon:h,iconLabel:b,ignoreFallback:y,crossOrigin:w,referrerPolicy:j}),v]})})});jh.displayName="Avatar";const qe=ae("div");qe.displayName="Box";const Th=ge(function(t,n){const{size:r,centerContent:o=!0,...i}=t,a=o?{display:"flex",alignItems:"center",justifyContent:"center"}:{};return d.jsx(qe,{ref:n,boxSize:r,__css:{...a,flexShrink:0,flexGrow:0},...i})});Th.displayName="Square";const Ph=ge(function(t,n){const{size:r,...o}=t;return d.jsx(Th,{size:r,ref:n,borderRadius:"9999px",...o})});Ph.displayName="Circle";const[O_,I_]=ht({strict:!1,name:"ButtonGroupContext"});function ba(e){const{children:t,className:n,...r}=e,o=g.isValidElement(t)?g.cloneElement(t,{"aria-hidden":!0,focusable:!1}):t,i=Pe("chakra-button__icon",n);return d.jsx(ae.span,{display:"inline-flex",alignSelf:"center",flexShrink:0,...r,className:i,children:o})}ba.displayName="ButtonIcon";function Qu(e){const{label:t,placement:n,spacing:r="0.5rem",children:o=d.jsx(Hu,{color:"currentColor",width:"1em",height:"1em"}),className:i,__css:a,...s}=e,l=Pe("chakra-button__spinner",i),c=n==="start"?"marginEnd":"marginStart",u=g.useMemo(()=>({display:"flex",alignItems:"center",position:t?"relative":"absolute",[c]:t?r:0,fontSize:"1em",lineHeight:"normal",...a}),[a,t,c,r]);return d.jsx(ae.div,{className:l,...s,__css:u,children:o})}Qu.displayName="ButtonSpinner";function D_(e){const[t,n]=g.useState(!e);return{ref:g.useCallback(i=>{i&&n(i.tagName==="BUTTON")},[]),type:t?"button":void 0}}const ln=ge((e,t)=>{const n=I_(),r=er("Button",{...n,...e}),{isDisabled:o=n==null?void 0:n.isDisabled,isLoading:i,isActive:a,children:s,leftIcon:l,rightIcon:c,loadingText:u,iconSpacing:f="0.5rem",type:p,spinner:h,spinnerPlacement:b="start",className:m,as:v,shouldWrapChildren:S,...y}=Ct(e),w=g.useMemo(()=>{const P={...r==null?void 0:r._focus,zIndex:1};return{display:"inline-flex",appearance:"none",alignItems:"center",justifyContent:"center",userSelect:"none",position:"relative",whiteSpace:"nowrap",verticalAlign:"middle",outline:"none",...r,...!!n&&{_focus:P}}},[r,n]),{ref:j,type:x}=D_(v),E={rightIcon:c,leftIcon:l,iconSpacing:f,children:s,shouldWrapChildren:S};return d.jsxs(ae.button,{disabled:o||i,ref:Og(t,j),as:v,type:p??x,"data-active":Le(a),"data-loading":Le(i),__css:w,className:Pe("chakra-button",m),...y,children:[i&&b==="start"&&d.jsx(Qu,{className:"chakra-button__spinner--start",label:u,placement:"start",spacing:f,children:h}),i?u||d.jsx(ae.span,{opacity:0,children:d.jsx(Eh,{...E})}):d.jsx(Eh,{...E}),i&&b==="end"&&d.jsx(Qu,{className:"chakra-button__spinner--end",label:u,placement:"end",spacing:f,children:h})]})});ln.displayName="Button";function Eh(e){const{leftIcon:t,rightIcon:n,children:r,iconSpacing:o,shouldWrapChildren:i}=e;return i?d.jsxs("span",{style:{display:"contents"},children:[t&&d.jsx(ba,{marginEnd:o,children:t}),r,n&&d.jsx(ba,{marginStart:o,children:n})]}):d.jsxs(d.Fragment,{children:[t&&d.jsx(ba,{marginEnd:o,children:t}),r,n&&d.jsx(ba,{marginStart:o,children:n})]})}const $_={horizontal:{"> *:first-of-type:not(:last-of-type)":{borderEndRadius:0},"> *:not(:first-of-type):not(:last-of-type)":{borderRadius:0},"> *:not(:first-of-type):last-of-type":{borderStartRadius:0}},vertical:{"> *:first-of-type:not(:last-of-type)":{borderBottomRadius:0},"> *:not(:first-of-type):not(:last-of-type)":{borderRadius:0},"> *:not(:first-of-type):last-of-type":{borderTopRadius:0}}},F_={horizontal:e=>({"& > *:not(style) ~ *:not(style)":{marginStart:e}}),vertical:e=>({"& > *:not(style) ~ *:not(style)":{marginTop:e}})},Ah=ge(function(t,n){const{size:r,colorScheme:o,variant:i,className:a,spacing:s="0.5rem",isAttached:l,isDisabled:c,orientation:u="horizontal",...f}=t,p=Pe("chakra-button__group",a),h=g.useMemo(()=>({size:r,colorScheme:o,variant:i,isDisabled:c}),[r,o,i,c]);let b={display:"inline-flex",...l?$_[u]:F_[u](s)};const m=u==="vertical";return d.jsx(O_,{value:h,children:d.jsx(ae.div,{ref:n,role:"group",__css:b,className:p,"data-attached":l?"":void 0,"data-orientation":u,flexDir:m?"column":void 0,...f})})});Ah.displayName="ButtonGroup";const qt=ge((e,t)=>{const{icon:n,children:r,isRound:o,"aria-label":i,...a}=e,s=n||r,l=g.isValidElement(s)?g.cloneElement(s,{"aria-hidden":!0,focusable:!1}):null;return d.jsx(ln,{px:"0",py:"0",borderRadius:o?"full":void 0,ref:t,"aria-label":i,...a,children:l})});qt.displayName="IconButton";const[jD,z_]=ht({name:"CheckboxGroupContext",strict:!1});function L_(e){return d.jsx(ae.svg,{width:"1.2em",viewBox:"0 0 12 10",style:{fill:"none",strokeWidth:2,stroke:"currentColor",strokeDasharray:16},...e,children:d.jsx("polyline",{points:"1.5 6 4.5 9 10.5 1"})})}function B_(e){return d.jsx(ae.svg,{width:"1.2em",viewBox:"0 0 24 24",style:{stroke:"currentColor",strokeWidth:4},...e,children:d.jsx("line",{x1:"21",x2:"3",y1:"12",y2:"12"})})}function N_(e){const{isIndeterminate:t,isChecked:n,...r}=e,o=t?B_:L_;return n||t?d.jsx(ae.div,{style:{display:"flex",alignItems:"center",justifyContent:"center",height:"100%"},children:d.jsx(o,{...r})}):null}var R_=()=>typeof document<"u",Mh=!1,ya=null,uo=!1,ed=!1,td=new Set;function nd(e,t){td.forEach(n=>n(e,t))}var V_=typeof window<"u"&&window.navigator!=null?/^Mac/.test(window.navigator.platform):!1;function W_(e){return!(e.metaKey||!V_&&e.altKey||e.ctrlKey||e.key==="Control"||e.key==="Shift"||e.key==="Meta")}function Oh(e){uo=!0,W_(e)&&(ya="keyboard",nd("keyboard",e))}function ti(e){if(ya="pointer",e.type==="mousedown"||e.type==="pointerdown"){uo=!0;const t=e.composedPath?e.composedPath()[0]:e.target;let n=!1;try{n=t.matches(":focus-visible")}catch{}if(n)return;nd("pointer",e)}}function H_(e){return e.mozInputSource===0&&e.isTrusted?!0:e.detail===0&&!e.pointerType}function U_(e){H_(e)&&(uo=!0,ya="virtual")}function q_(e){e.target===window||e.target===document||e.target instanceof Element&&e.target.hasAttribute("tabindex")||(!uo&&!ed&&(ya="virtual",nd("virtual",e)),uo=!1,ed=!1)}function Z_(){uo=!1,ed=!0}function Ih(){return ya!=="pointer"}function G_(){if(!R_()||Mh)return;const{focus:e}=HTMLElement.prototype;HTMLElement.prototype.focus=function(...n){uo=!0,e.apply(this,n)},document.addEventListener("keydown",Oh,!0),document.addEventListener("keyup",Oh,!0),document.addEventListener("click",U_,!0),window.addEventListener("focus",q_,!0),window.addEventListener("blur",Z_,!1),typeof PointerEvent<"u"?(document.addEventListener("pointerdown",ti,!0),document.addEventListener("pointermove",ti,!0),document.addEventListener("pointerup",ti,!0)):(document.addEventListener("mousedown",ti,!0),document.addEventListener("mousemove",ti,!0),document.addEventListener("mouseup",ti,!0)),Mh=!0}function K_(e){G_(),e(Ih());const t=()=>e(Ih());return td.add(t),()=>{td.delete(t)}}const[Y_,Dh]=ht({name:"FormControlStylesContext",errorMessage:`useFormControlStyles returned is 'undefined'. Seems you forgot to wrap the components in "<FormControl />" `}),[X_,Qs]=ht({strict:!1,name:"FormControlContext"});function J_(e){const{id:t,isRequired:n,isInvalid:r,isDisabled:o,isReadOnly:i,...a}=e,s=g.useId(),l=t||`field-${s}`,c=`${l}-label`,u=`${l}-feedback`,f=`${l}-helptext`,[p,h]=g.useState(!1),[b,m]=g.useState(!1),[v,S]=g.useState(!1),y=g.useCallback((P={},D=null)=>({id:f,...P,ref:Bt(D,R=>{R&&m(!0)})}),[f]),w=g.useCallback((P={},D=null)=>({...P,ref:D,"data-focus":Le(v),"data-disabled":Le(o),"data-invalid":Le(r),"data-readonly":Le(i),id:P.id!==void 0?P.id:c,htmlFor:P.htmlFor!==void 0?P.htmlFor:l}),[l,o,v,r,i,c]),j=g.useCallback((P={},D=null)=>({id:u,...P,ref:Bt(D,R=>{R&&h(!0)}),"aria-live":"polite"}),[u]),x=g.useCallback((P={},D=null)=>({...P,...a,ref:D,role:"group","data-focus":Le(v),"data-disabled":Le(o),"data-invalid":Le(r),"data-readonly":Le(i)}),[a,o,v,r,i]),E=g.useCallback((P={},D=null)=>({...P,ref:D,role:"presentation","aria-hidden":!0,children:P.children||"*"}),[]);return{isRequired:!!n,isInvalid:!!r,isReadOnly:!!i,isDisabled:!!o,isFocused:!!v,onFocus:()=>S(!0),onBlur:()=>S(!1),hasFeedbackText:p,setHasFeedbackText:h,hasHelpText:b,setHasHelpText:m,id:l,labelId:c,feedbackId:u,helpTextId:f,htmlProps:a,getHelpTextProps:y,getErrorMessageProps:j,getRootProps:x,getLabelProps:w,getRequiredIndicatorProps:E}}const xa=ge(function(t,n){const r=Yt("Form",t),o=Ct(t),{getRootProps:i,htmlProps:a,...s}=J_(o),l=Pe("chakra-form-control",t.className);return d.jsx(X_,{value:s,children:d.jsx(Y_,{value:r,children:d.jsx(ae.div,{...i({},n),className:l,__css:r.container})})})});xa.displayName="FormControl";const Q_=ge(function(t,n){const r=Qs(),o=Dh(),i=Pe("chakra-form__helper-text",t.className);return d.jsx(ae.div,{...r==null?void 0:r.getHelpTextProps(t,n),__css:o.helperText,className:i})});Q_.displayName="FormHelperText";function rd(e){const{isDisabled:t,isInvalid:n,isReadOnly:r,isRequired:o,...i}=$h(e);return{...i,disabled:t,readOnly:r,required:o,"aria-invalid":Dl(n),"aria-required":Dl(o),"aria-readonly":Dl(r)}}function $h(e){const t=Qs(),{id:n,disabled:r,readOnly:o,required:i,isRequired:a,isInvalid:s,isReadOnly:l,isDisabled:c,onFocus:u,onBlur:f,...p}=e,h=e["aria-describedby"]?[e["aria-describedby"]]:[];return t!=null&&t.hasFeedbackText&&(t!=null&&t.isInvalid)&&h.push(t.feedbackId),t!=null&&t.hasHelpText&&h.push(t.helpTextId),{...p,"aria-describedby":h.join(" ")||void 0,id:n??(t==null?void 0:t.id),isDisabled:r??c??(t==null?void 0:t.isDisabled),isReadOnly:o??l??(t==null?void 0:t.isReadOnly),isRequired:i??a??(t==null?void 0:t.isRequired),isInvalid:s??(t==null?void 0:t.isInvalid),onFocus:Ue(t==null?void 0:t.onFocus,u),onBlur:Ue(t==null?void 0:t.onBlur,f)}}const ej={border:"0",clip:"rect(0, 0, 0, 0)",height:"1px",width:"1px",margin:"-1px",padding:"0",overflow:"hidden",whiteSpace:"nowrap",position:"absolute"};function Fh(e={}){const t=$h(e),{isDisabled:n,isReadOnly:r,isRequired:o,isInvalid:i,id:a,onBlur:s,onFocus:l,"aria-describedby":c}=t,{defaultChecked:u,isChecked:f,isFocusable:p,onChange:h,isIndeterminate:b,name:m,value:v,tabIndex:S=void 0,"aria-label":y,"aria-labelledby":w,"aria-invalid":j,...x}=e,E=So(x,["isDisabled","isReadOnly","isRequired","isInvalid","id","onBlur","onFocus","aria-describedby"]),P=Dn(h),D=Dn(s),R=Dn(l),[z,X]=g.useState(!1),[ce,le]=g.useState(!1),[L,Y]=g.useState(!1),[K,N]=g.useState(!1);g.useEffect(()=>K_(X),[]);const ue=g.useRef(null),[he,O]=g.useState(!0),[F,Z]=g.useState(!!u),V=f!==void 0,B=V?f:F,C=g.useCallback(A=>{if(r||n){A.preventDefault();return}V||Z(B?A.currentTarget.checked:b?!0:A.currentTarget.checked),P==null||P(A)},[r,n,B,V,b,P]);Gr(()=>{ue.current&&(ue.current.indeterminate=!!b)},[b]),ko(()=>{n&&le(!1)},[n,le]),Gr(()=>{const A=ue.current;if(!(A!=null&&A.form))return;const q=()=>{Z(!!u)};return A.form.addEventListener("reset",q),()=>{var re;return(re=A.form)==null?void 0:re.removeEventListener("reset",q)}},[]);const J=n&&!p,Q=g.useCallback(A=>{A.key===" "&&N(!0)},[N]),ee=g.useCallback(A=>{A.key===" "&&N(!1)},[N]);Gr(()=>{if(!ue.current)return;ue.current.checked!==B&&Z(ue.current.checked)},[ue.current]);const me=g.useCallback((A={},q=null)=>{const re=xe=>{ce&&xe.preventDefault(),N(!0)};return{...A,ref:q,"data-active":Le(K),"data-hover":Le(L),"data-checked":Le(B),"data-focus":Le(ce),"data-focus-visible":Le(ce&&z),"data-indeterminate":Le(b),"data-disabled":Le(n),"data-invalid":Le(i),"data-readonly":Le(r),"aria-hidden":!0,onMouseDown:Ue(A.onMouseDown,re),onMouseUp:Ue(A.onMouseUp,()=>N(!1)),onMouseEnter:Ue(A.onMouseEnter,()=>Y(!0)),onMouseLeave:Ue(A.onMouseLeave,()=>Y(!1))}},[K,B,n,ce,z,L,b,i,r]),de=g.useCallback((A={},q=null)=>({...A,ref:q,"data-active":Le(K),"data-hover":Le(L),"data-checked":Le(B),"data-focus":Le(ce),"data-focus-visible":Le(ce&&z),"data-indeterminate":Le(b),"data-disabled":Le(n),"data-invalid":Le(i),"data-readonly":Le(r)}),[K,B,n,ce,z,L,b,i,r]),ke=g.useCallback((A={},q=null)=>({...E,...A,ref:Bt(q,re=>{re&&O(re.tagName==="LABEL")}),onClick:Ue(A.onClick,()=>{var re;he||((re=ue.current)==null||re.click(),requestAnimationFrame(()=>{var xe;(xe=ue.current)==null||xe.focus({preventScroll:!0})}))}),"data-disabled":Le(n),"data-checked":Le(B),"data-invalid":Le(i)}),[E,n,B,i,he]),H=g.useCallback((A={},q=null)=>({...A,ref:Bt(ue,q),type:"checkbox",name:m,value:v,id:a,tabIndex:S,onChange:Ue(A.onChange,C),onBlur:Ue(A.onBlur,D,()=>le(!1)),onFocus:Ue(A.onFocus,R,()=>le(!0)),onKeyDown:Ue(A.onKeyDown,Q),onKeyUp:Ue(A.onKeyUp,ee),required:o,checked:B,disabled:J,readOnly:r,"aria-label":y,"aria-labelledby":w,"aria-invalid":j?!!j:i,"aria-describedby":c,"aria-disabled":n,style:ej}),[m,v,a,C,D,R,Q,ee,o,B,J,r,y,w,j,i,c,n,S]),Te=g.useCallback((A={},q=null)=>({...A,ref:q,onMouseDown:Ue(A.onMouseDown,tj),"data-disabled":Le(n),"data-checked":Le(B),"data-invalid":Le(i)}),[B,n,i]);return{state:{isInvalid:i,isFocused:ce,isChecked:B,isActive:K,isHovered:L,isIndeterminate:b,isDisabled:n,isReadOnly:r,isRequired:o},getRootProps:ke,getCheckboxProps:me,getIndicatorProps:de,getInputProps:H,getLabelProps:Te,htmlProps:E}}function tj(e){e.preventDefault(),e.stopPropagation()}function nj(e){const[t,n]=g.useState(e),[r,o]=g.useState(!1);return e!==t&&(o(!0),n(e)),r}const rj={display:"inline-flex",alignItems:"center",justifyContent:"center",verticalAlign:"top",userSelect:"none",flexShrink:0},oj={cursor:"pointer",display:"inline-flex",alignItems:"center",verticalAlign:"top",position:"relative"},ij=Ir({from:{opacity:0,strokeDashoffset:16,transform:"scale(0.95)"},to:{opacity:1,strokeDashoffset:0,transform:"scale(1)"}}),aj=Ir({from:{opacity:0},to:{opacity:1}}),sj=Ir({from:{transform:"scaleX(0.65)"},to:{transform:"scaleX(1)"}}),zh=ge(function(t,n){const r=z_(),o={...r,...t},i=Yt("Checkbox",o),a=Ct(t),{spacing:s="0.5rem",className:l,children:c,iconColor:u,iconSize:f,icon:p=d.jsx(N_,{}),isChecked:h,isDisabled:b=r==null?void 0:r.isDisabled,onChange:m,inputProps:v,...S}=a;let y=h;r!=null&&r.value&&a.value&&(y=r.value.includes(a.value));let w=m;r!=null&&r.onChange&&a.value&&(w=Mf(r.onChange,m));const{state:j,getInputProps:x,getCheckboxProps:E,getLabelProps:P,getRootProps:D}=Fh({...S,isDisabled:b,isChecked:y,onChange:w}),R=nj(j.isChecked),z=g.useMemo(()=>({animation:R?j.isIndeterminate?`${aj} 20ms linear, ${sj} 200ms linear`:`${ij} 200ms linear`:void 0,...i.icon,...Ei({fontSize:f,color:u})}),[u,f,R,j.isIndeterminate,i.icon]),X=g.cloneElement(p,{__css:z,isIndeterminate:j.isIndeterminate,isChecked:j.isChecked});return d.jsxs(ae.label,{__css:{...oj,...i.container},className:Pe("chakra-checkbox",l),...D(),children:[d.jsx("input",{className:"chakra-checkbox__input",...x(v,n)}),d.jsx(ae.span,{__css:{...rj,...i.control},className:"chakra-checkbox__control",...E(),children:X}),c&&d.jsx(ae.span,{className:"chakra-checkbox__label",...P(),__css:{marginStart:s,...i.label},children:c})]})});zh.displayName="Checkbox";const Lh=ge(function(t,n){const{borderLeftWidth:r,borderBottomWidth:o,borderTopWidth:i,borderRightWidth:a,borderWidth:s,borderStyle:l,borderColor:c,...u}=er("Divider",t),{className:f,orientation:p="horizontal",__css:h,...b}=Ct(t),m={vertical:{borderLeftWidth:r||a||s||"1px",height:"100%"},horizontal:{borderBottomWidth:o||i||s||"1px",width:"100%"}};return d.jsx(ae.hr,{ref:n,"aria-orientation":p,...b,__css:{...u,border:"0",borderColor:c,borderStyle:l,...m[p],...h},className:Pe("chakra-divider",f)})});Lh.displayName="Divider";function Ca(e){return typeof e=="function"}function lj(...e){return t=>e.reduce((n,r)=>r(n),t)}const cj=(e=>function(...n){let r=[...n],o=n[n.length-1];return I8(o)&&r.length>1?r=r.slice(0,r.length-1):o=e,lj(...r.map(i=>a=>Ca(i)?i(a):uj(a,i)))(o)})(S1);function uj(...e){return kn({},...e,Bh)}function Bh(e,t,n,r){if((Ca(e)||Ca(t))&&Object.prototype.hasOwnProperty.call(r,n))return(...o)=>{const i=Ca(e)?e(...o):e,a=Ca(t)?t(...o):t;return kn({},i,a,Bh)};if(Za(e)&&Za(t))return[...e,...t];if(Za(e)&&rn(t))return t}const dt=ge(function(t,n){const{direction:r,align:o,justify:i,wrap:a,basis:s,grow:l,shrink:c,...u}=t,f={display:"flex",flexDirection:r,alignItems:o,justifyContent:i,flexWrap:a,flexBasis:s,flexGrow:l,flexShrink:c};return d.jsx(ae.div,{ref:n,__css:f,...u})});dt.displayName="Flex";function dj(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.includes(r))continue;n[r]=e[r]}return n}var od={exports:{}};/*
|
|
347
347
|
object-assign
|
|
348
348
|
(c) Sindre Sorhus
|
|
349
349
|
@license MIT
|
|
350
|
-
*/var
|
|
351
|
-
Valid keys: `+JSON.stringify(Object.keys(O),null," "));var H=ke(Q,de,B,w,J+"."+de,n);if(H)return H}return null}return v(F)}function z(O){switch(typeof O){case"number":case"string":case"undefined":return!0;case"boolean":return!O;case"object":if(Array.isArray(O))return O.every(z);if(O===null||s(O))return!0;var F=f(O);if(F){var K=F.call(O),V;if(F!==O.entries){for(;!(V=K.next()).done;)if(!z(V.value))return!1}else for(;!(V=K.next()).done;){var B=V.value;if(B&&!z(B[1]))return!1}}else return!1;return!0;default:return!1}}function Y(O,F){return O==="symbol"?!0:F?F["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&F instanceof Symbol:!1}function G(O){var F=typeof O;return Array.isArray(O)?"array":O instanceof RegExp?"object":Y(F,O)?"symbol":F}function N(O){if(typeof O>"u"||O===null)return""+O;var F=G(O);if(F==="object"){if(O instanceof Date)return"date";if(O instanceof RegExp)return"regexp"}return F}function ue(O){var F=N(O);switch(F){case"array":case"object":return"an "+F;case"boolean":case"date":case"regexp":return"a "+F;default:return F}}function he(O){return!O.constructor||!O.constructor.name?p:O.constructor.name}return h.checkPropTypes=o,h.resetWarningCache=o.resetWarningCache,h.PropTypes=h,h},dd}var fd,Uh;function pj(){if(Uh)return fd;Uh=1;var e=ld();function t(){}function n(){}return n.resetWarningCache=t,fd=function(){function r(a,s,l,c,u,f){if(f!==e){var p=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw p.name="Invariant Violation",p}}r.isRequired=r;function o(){return r}var i={array:r,bigint:r,bool:r,func:r,number:r,object:r,string:r,symbol:r,any:r,arrayOf:o,element:r,elementType:r,instanceOf:o,node:r,objectOf:o,oneOf:o,oneOfType:o,shape:o,exact:o,checkPropTypes:n,resetWarningCache:t};return i.PropTypes=i,i},fd}if(process.env.NODE_ENV!=="production"){var hj=kc,mj=!0;id.exports=fj()(hj.isElement,mj)}else id.exports=pj()();var ft=id.exports;const st=Ua(ft);var pd="data-focus-lock",qh="data-focus-lock-disabled",gj="data-no-focus-lock",vj="data-autofocus-inside",bj="data-no-autofocus";function hd(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}function yj(e,t){var n=g.useState(function(){return{value:e,callback:t,facade:{get current(){return n.value},set current(r){var o=n.value;o!==r&&(n.value=r,n.callback(r,o))}}}})[0];return n.callback=t,n.facade}var xj=typeof window<"u"?Se.useLayoutEffect:Se.useEffect,Zh=new WeakMap;function Gh(e,t){var n=yj(null,function(r){return e.forEach(function(o){return hd(o,r)})});return xj(function(){var r=Zh.get(n);if(r){var o=new Set(r),i=new Set(e),a=n.current;o.forEach(function(s){i.has(s)||hd(s,null)}),i.forEach(function(s){o.has(s)||hd(s,a)})}Zh.set(n,e)},[e]),n}var md={width:"1px",height:"0px",padding:0,overflow:"hidden",position:"fixed",top:"1px",left:"1px"};process.env.NODE_ENV!=="production"&&st.node;var nr=function(){return nr=Object.assign||function(t){for(var n,r=1,o=arguments.length;r<o;r++){n=arguments[r];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t},nr.apply(this,arguments)};function Kh(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n}function fo(e,t,n,r){function o(i){return i instanceof n?i:new n(function(a){a(i)})}return new(n||(n=Promise))(function(i,a){function s(u){try{c(r.next(u))}catch(f){a(f)}}function l(u){try{c(r.throw(u))}catch(f){a(f)}}function c(u){u.done?i(u.value):o(u.value).then(s,l)}c((r=r.apply(e,t||[])).next())})}function Cj(e,t,n){if(n||arguments.length===2)for(var r=0,o=t.length,i;r<o;r++)(i||!(r in t))&&(i||(i=Array.prototype.slice.call(t,0,r)),i[r]=t[r]);return e.concat(i||Array.prototype.slice.call(t))}typeof SuppressedError=="function"&&SuppressedError;function Yh(e){return e}function Xh(e,t){t===void 0&&(t=Yh);var n=[],r=!1,o={read:function(){if(r)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return n.length?n[n.length-1]:e},useMedium:function(i){var a=t(i,r);return n.push(a),function(){n=n.filter(function(s){return s!==a})}},assignSyncMedium:function(i){for(r=!0;n.length;){var a=n;n=[],a.forEach(i)}n={push:function(s){return i(s)},filter:function(){return n}}},assignMedium:function(i){r=!0;var a=[];if(n.length){var s=n;n=[],s.forEach(i),a=n}var l=function(){var u=a;a=[],u.forEach(i)},c=function(){return Promise.resolve().then(l)};c(),n={push:function(u){a.push(u),c()},filter:function(u){return a=a.filter(u),n}}}};return o}function gd(e,t){return t===void 0&&(t=Yh),Xh(e,t)}function Jh(e){e===void 0&&(e={});var t=Xh(null);return t.options=nr({async:!0,ssr:!1},e),t}var Qh=function(e){var t=e.sideCar,n=Kh(e,["sideCar"]);if(!t)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var r=t.read();if(!r)throw new Error("Sidecar medium not found");return Se.createElement(r,nr({},n))};Qh.isSideCarExport=!0;function wj(e,t){return e.useMedium(t),Qh}var em=gd({},function(e){var t=e.target,n=e.currentTarget;return{target:t,currentTarget:n}}),tm=gd(),Sj=gd(),kj=Jh({async:!0,ssr:typeof document<"u"}),_j=g.createContext(void 0),jj=[],vd=g.forwardRef(function(t,n){var r,o=g.useState(),i=o[0],a=o[1],s=g.useRef(),l=g.useRef(!1),c=g.useRef(null),u=g.useState({}),f=u[1],p=t.children,h=t.disabled,b=h===void 0?!1:h,m=t.noFocusGuards,v=m===void 0?!1:m,S=t.persistentFocus,y=S===void 0?!1:S,C=t.crossFrame,j=C===void 0?!0:C,x=t.autoFocus,E=x===void 0?!0:x,P=t.allowTextSelection,D=t.group,R=t.className,L=t.whiteList,Z=t.hasPositiveIndices,ce=t.shards,ae=ce===void 0?jj:ce,z=t.as,Y=z===void 0?"div":z,G=t.lockProps,N=G===void 0?{}:G,ue=t.sideCar,he=t.returnFocus,O=he===void 0?!1:he,F=t.focusOptions,K=t.onActivation,V=t.onDeactivation,B=g.useState({}),w=B[0],J=g.useCallback(function(re){var xe=re.captureFocusRestore;if(!c.current){var ge,ve=(ge=document)==null?void 0:ge.activeElement;c.current=ve,ve!==document.body&&(c.current=xe(ve))}s.current&&K&&K(s.current),l.current=!0,f()},[K]),Q=g.useCallback(function(){l.current=!1,V&&V(s.current),f()},[V]),ee=g.useCallback(function(re){var xe=c.current;if(xe){var ge=(typeof xe=="function"?xe():xe)||document.body,ve=typeof O=="function"?O(ge):O;if(ve){var je=typeof ve=="object"?ve:void 0;c.current=null,re?Promise.resolve().then(function(){return ge.focus(je)}):ge.focus(je)}}},[O]),me=g.useCallback(function(re){l.current&&em.useMedium(re)},[]),de=tm.useMedium,ke=g.useCallback(function(re){s.current!==re&&(s.current=re,a(re))},[]);process.env.NODE_ENV!=="production"&&(typeof P<"u"&&console.warn("React-Focus-Lock: allowTextSelection is deprecated and enabled by default"),g.useEffect(function(){!s.current&&typeof Y!="string"&&console.error("FocusLock: could not obtain ref to internal node")},[]));var H=to((r={},r[qh]=b&&"disabled",r[pd]=D,r),N),Te=v!==!0,De=Te&&v!=="tail",A=Gh([n,ke]),q=g.useMemo(function(){return{observed:s,shards:ae,enabled:!b,active:l.current}},[b,l.current,ae,i]);return g.createElement(g.Fragment,null,Te&&[g.createElement("div",{key:"guard-first","data-focus-guard":!0,tabIndex:b?-1:0,style:md}),Z?g.createElement("div",{key:"guard-nearest","data-focus-guard":!0,tabIndex:b?-1:1,style:md}):null],!b&&g.createElement(ue,{id:w,sideCar:kj,observed:i,disabled:b,persistentFocus:y,crossFrame:j,autoFocus:E,whiteList:L,shards:ae,onActivation:J,onDeactivation:Q,returnFocus:ee,focusOptions:F,noFocusGuards:v}),g.createElement(Y,to({ref:A},H,{className:R,onBlur:de,onFocus:me}),g.createElement(_j.Provider,{value:q},p)),De&&g.createElement("div",{"data-focus-guard":!0,tabIndex:b?-1:0,style:md}))});vd.propTypes=process.env.NODE_ENV!=="production"?{children:ft.node,disabled:ft.bool,returnFocus:ft.oneOfType([ft.bool,ft.object,ft.func]),focusOptions:ft.object,noFocusGuards:ft.bool,hasPositiveIndices:ft.bool,allowTextSelection:ft.bool,autoFocus:ft.bool,persistentFocus:ft.bool,crossFrame:ft.bool,group:ft.string,className:ft.string,whiteList:ft.func,shards:ft.arrayOf(ft.any),as:ft.oneOfType([ft.string,ft.func,ft.object]),lockProps:ft.object,onActivation:ft.func,onDeactivation:ft.func,sideCar:ft.any.isRequired}:{};function bd(e,t){return bd=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,r){return n.__proto__=r,n},bd(e,t)}function Tj(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,bd(e,t)}function wa(e){"@babel/helpers - typeof";return wa=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},wa(e)}function Pj(e,t){if(wa(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if(wa(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Ej(e){var t=Pj(e,"string");return wa(t)=="symbol"?t:t+""}function Aj(e,t,n){return(t=Ej(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Mj(e,t){if(process.env.NODE_ENV!=="production"){if(typeof e!="function")throw new Error("Expected reducePropsToState to be a function.");if(typeof t!="function")throw new Error("Expected handleStateChangeOnClient to be a function.")}function n(r){return r.displayName||r.name||"Component"}return function(o){if(process.env.NODE_ENV!=="production"&&typeof o!="function")throw new Error("Expected WrappedComponent to be a React component.");var i=[],a;function s(){a=e(i.map(function(c){return c.props})),t(a)}var l=function(c){Tj(u,c);function u(){return c.apply(this,arguments)||this}u.peek=function(){return a};var f=u.prototype;return f.componentDidMount=function(){i.push(this),s()},f.componentDidUpdate=function(){s()},f.componentWillUnmount=function(){var h=i.indexOf(this);i.splice(h,1),s()},f.render=function(){return g.createElement(o,this.props)},u}(g.PureComponent);return Aj(l,"displayName","SideEffect("+n(o)+")"),l}}var rr=function(e){for(var t=Array(e.length),n=0;n<e.length;++n)t[n]=e[n];return t},po=function(e){return Array.isArray(e)?e:[e]},nm=function(e){return Array.isArray(e)?e[0]:e},Oj=function(e){if(e.nodeType!==Node.ELEMENT_NODE)return!1;var t=window.getComputedStyle(e,null);return!t||!t.getPropertyValue?!1:t.getPropertyValue("display")==="none"||t.getPropertyValue("visibility")==="hidden"},rm=function(e){return e.parentNode&&e.parentNode.nodeType===Node.DOCUMENT_FRAGMENT_NODE?e.parentNode.host:e.parentNode},om=function(e){return e===document||e&&e.nodeType===Node.DOCUMENT_NODE},Ij=function(e){return e.hasAttribute("inert")},Dj=function(e,t){return!e||om(e)||!Oj(e)&&!Ij(e)&&t(rm(e))},im=function(e,t){var n=e.get(t);if(n!==void 0)return n;var r=Dj(t,im.bind(void 0,e));return e.set(t,r),r},$j=function(e,t){return e&&!om(e)?Lj(e)?t(rm(e)):!1:!0},am=function(e,t){var n=e.get(t);if(n!==void 0)return n;var r=$j(t,am.bind(void 0,e));return e.set(t,r),r},sm=function(e){return e.dataset},Fj=function(e){return e.tagName==="BUTTON"},lm=function(e){return e.tagName==="INPUT"},cm=function(e){return lm(e)&&e.type==="radio"},zj=function(e){return!((lm(e)||Fj(e))&&(e.type==="hidden"||e.disabled))},Lj=function(e){var t=e.getAttribute(bj);return![!0,"true",""].includes(t)},yd=function(e){var t;return!!(e&&(!((t=sm(e))===null||t===void 0)&&t.focusGuard))},xd=function(e){return!yd(e)},Bj=function(e){return!!e},Nj=function(e,t){var n=Math.max(0,e.tabIndex),r=Math.max(0,t.tabIndex),o=n-r,i=e.index-t.index;if(o){if(!n)return 1;if(!r)return-1}return o||i},Rj=function(e){return e.tabIndex<0&&!e.hasAttribute("tabindex")?0:e.tabIndex},Cd=function(e,t,n){return rr(e).map(function(r,o){var i=Rj(r);return{node:r,index:o,tabIndex:n&&i===-1?(r.dataset||{}).focusGuard?0:-1:i}}).filter(function(r){return!t||r.tabIndex>=0}).sort(Nj)},Vj=["button:enabled","select:enabled","textarea:enabled","input:enabled","a[href]","area[href]","summary","iframe","object","embed","audio[controls]","video[controls]","[tabindex]","[contenteditable]","[autofocus]"],wd=Vj.join(","),Wj="".concat(wd,", [data-focus-guard]"),um=function(e,t){return rr((e.shadowRoot||e).children).reduce(function(n,r){return n.concat(r.matches(t?Wj:wd)?[r]:[],um(r))},[])},Hj=function(e,t){var n;return e instanceof HTMLIFrameElement&&(!((n=e.contentDocument)===null||n===void 0)&&n.body)?ni([e.contentDocument.body],t):[e]},ni=function(e,t){return e.reduce(function(n,r){var o,i=um(r,t),a=(o=[]).concat.apply(o,i.map(function(s){return Hj(s,t)}));return n.concat(a,r.parentNode?rr(r.parentNode.querySelectorAll(wd)).filter(function(s){return s===r}):[])},[])},Uj=function(e){var t=e.querySelectorAll("[".concat(vj,"]"));return rr(t).map(function(n){return ni([n])}).reduce(function(n,r){return n.concat(r)},[])},Sd=function(e,t){return rr(e).filter(function(n){return im(t,n)}).filter(function(n){return zj(n)})},dm=function(e,t){return t===void 0&&(t=new Map),rr(e).filter(function(n){return am(t,n)})},kd=function(e,t,n){return Cd(Sd(ni(e,n),t),!0,n)},Sa=function(e,t){return Cd(Sd(ni(e),t),!1)},qj=function(e,t){return Sd(Uj(e),t)},ho=function(e,t){return e.shadowRoot?ho(e.shadowRoot,t):Object.getPrototypeOf(e).contains!==void 0&&Object.getPrototypeOf(e).contains.call(e,t)?!0:rr(e.children).some(function(n){var r;if(n instanceof HTMLIFrameElement){var o=(r=n.contentDocument)===null||r===void 0?void 0:r.body;return o?ho(o,t):!1}return ho(n,t)})},Zj=function(e){for(var t=new Set,n=e.length,r=0;r<n;r+=1)for(var o=r+1;o<n;o+=1){var i=e[r].compareDocumentPosition(e[o]);(i&Node.DOCUMENT_POSITION_CONTAINED_BY)>0&&t.add(o),(i&Node.DOCUMENT_POSITION_CONTAINS)>0&&t.add(r)}return e.filter(function(a,s){return!t.has(s)})},fm=function(e){return e.parentNode?fm(e.parentNode):e},_d=function(e){var t=po(e);return t.filter(Boolean).reduce(function(n,r){var o=r.getAttribute(pd);return n.push.apply(n,o?Zj(rr(fm(r).querySelectorAll("[".concat(pd,'="').concat(o,'"]:not([').concat(qh,'="disabled"])')))):[r]),n},[])},Gj=function(e){try{return e()}catch{return}},ka=function(e){if(e===void 0&&(e=document),!(!e||!e.activeElement)){var t=e.activeElement;return t.shadowRoot?ka(t.shadowRoot):t instanceof HTMLIFrameElement&&Gj(function(){return t.contentWindow.document})?ka(t.contentWindow.document):t}},Kj=function(e,t){return e===t},Yj=function(e,t){return!!rr(e.querySelectorAll("iframe")).some(function(n){return Kj(n,t)})},pm=function(e,t){return t===void 0&&(t=ka(nm(e).ownerDocument)),!t||t.dataset&&t.dataset.focusGuard?!1:_d(e).some(function(n){return ho(n,t)||Yj(n,t)})},Xj=function(e){e===void 0&&(e=document);var t=ka(e);return t?rr(e.querySelectorAll("[".concat(gj,"]"))).some(function(n){return ho(n,t)}):!1},Jj=function(e,t){return t.filter(cm).filter(function(n){return n.name===e.name}).filter(function(n){return n.checked})[0]||e},jd=function(e,t){return cm(e)&&e.name?Jj(e,t):e},Qj=function(e){var t=new Set;return e.forEach(function(n){return t.add(jd(n,e))}),e.filter(function(n){return t.has(n)})},hm=function(e){return e[0]&&e.length>1?jd(e[0],e):e[0]},mm=function(e,t){return e.indexOf(jd(t,e))},Td="NEW_FOCUS",eT=function(e,t,n,r,o){var i=e.length,a=e[0],s=e[i-1],l=yd(r);if(!(r&&e.indexOf(r)>=0)){var c=r!==void 0?n.indexOf(r):-1,u=o?n.indexOf(o):c,f=o?e.indexOf(o):-1;if(c===-1)return f!==-1?f:Td;if(f===-1)return Td;var p=c-u,h=n.indexOf(a),b=n.indexOf(s),m=Qj(n),v=r!==void 0?m.indexOf(r):-1,S=v-(o?m.indexOf(o):c);if(!p&&f>=0||t.length===0)return f;var y=mm(e,t[0]),C=mm(e,t[t.length-1]);if(c<=h&&l&&Math.abs(p)>1)return C;if(c>=b&&l&&Math.abs(p)>1)return y;if(p&&Math.abs(S)>1)return f;if(c<=h)return C;if(c>b)return y;if(p)return Math.abs(p)>1?f:(i+f+p)%i}},tT=function(e){return function(t){var n,r=(n=sm(t))===null||n===void 0?void 0:n.autofocus;return t.autofocus||r!==void 0&&r!=="false"||e.indexOf(t)>=0}},gm=function(e,t,n){var r=e.map(function(i){var a=i.node;return a}),o=dm(r.filter(tT(n)));return o&&o.length?hm(o):hm(dm(t))},Pd=function(e,t){return t===void 0&&(t=[]),t.push(e),e.parentNode&&Pd(e.parentNode.host||e.parentNode,t),t},Ed=function(e,t){for(var n=Pd(e),r=Pd(t),o=0;o<n.length;o+=1){var i=n[o];if(r.indexOf(i)>=0)return i}return!1},vm=function(e,t,n){var r=po(e),o=po(t),i=r[0],a=!1;return o.filter(Boolean).forEach(function(s){a=Ed(a||s,s)||a,n.filter(Boolean).forEach(function(l){var c=Ed(i,l);c&&(!a||ho(c,a)?a=c:a=Ed(c,a))})}),a},bm=function(e,t){return e.reduce(function(n,r){return n.concat(qj(r,t))},[])},nT=function(e,t){var n=new Map;return t.forEach(function(r){return n.set(r.node,r)}),e.map(function(r){return n.get(r)}).filter(Bj)},rT=function(e,t){var n=ka(po(e).length>0?document:nm(e).ownerDocument),r=_d(e).filter(xd),o=vm(n||e,e,r),i=new Map,a=Sa(r,i),s=a.filter(function(b){var m=b.node;return xd(m)});if(s[0]){var l=Sa([o],i).map(function(b){var m=b.node;return m}),c=nT(l,s),u=c.map(function(b){var m=b.node;return m}),f=c.filter(function(b){var m=b.tabIndex;return m>=0}).map(function(b){var m=b.node;return m}),p=eT(u,f,l,n,t);if(p===Td){var h=gm(a,f,bm(r,i))||gm(a,u,bm(r,i));if(h)return{node:h};console.warn("focus-lock: cannot find any node to move focus into");return}return p===void 0?p:c[p]}},oT=function(e){var t=_d(e).filter(xd),n=vm(e,e,t),r=Cd(ni([n],!0),!0,!0),o=ni(t,!1);return r.map(function(i){var a=i.node,s=i.index;return{node:a,index:s,lockItem:o.indexOf(a)>=0,guard:yd(a)}})},Ad=function(e,t){e&&("focus"in e&&e.focus(t),"contentWindow"in e&&e.contentWindow&&e.contentWindow.focus())},Md=0,Od=!1,ym=function(e,t,n){n===void 0&&(n={});var r=rT(e,t);if(!Od&&r){if(Md>2){console.error("FocusLock: focus-fighting detected. Only one focus management system could be active. See https://github.com/theKashey/focus-lock/#focus-fighting"),Od=!0,setTimeout(function(){Od=!1},1);return}Md++,Ad(r.node,n.focusOptions),Md--}};function _a(e){if(!e)return null;if(typeof WeakRef>"u")return function(){return e||null};var t=e?new WeakRef(e):null;return function(){return(t==null?void 0:t.deref())||null}}var iT=function(e){if(!e)return null;for(var t=[],n=e;n&&n!==document.body;)t.push({current:_a(n),parent:_a(n.parentElement),left:_a(n.previousElementSibling),right:_a(n.nextElementSibling)}),n=n.parentElement;return{element:_a(e),stack:t,ownerDocument:e.ownerDocument}},aT=function(e){var t,n,r,o,i;if(e)for(var a=e.stack,s=e.ownerDocument,l=new Map,c=0,u=a;c<u.length;c++){var f=u[c],p=(t=f.parent)===null||t===void 0?void 0:t.call(f);if(p&&s.contains(p)){for(var h=(n=f.left)===null||n===void 0?void 0:n.call(f),b=f.current(),m=p.contains(b)?b:void 0,v=(r=f.right)===null||r===void 0?void 0:r.call(f),S=kd([p],l),y=(i=(o=m??(h==null?void 0:h.nextElementSibling))!==null&&o!==void 0?o:v)!==null&&i!==void 0?i:h;y;){for(var C=0,j=S;C<j.length;C++){var x=j[C];if(y!=null&&y.contains(x.node))return x.node}y=y.nextElementSibling}if(S.length)return S[0].node}}},xm=function(e){var t=iT(e);return function(){return aT(t)}},sT=function(e,t,n){if(!e||!t)return console.error("no element or scope given"),{};var r=po(t);if(r.every(function(a){return!ho(a,e)}))return console.error("Active element is not contained in the scope"),{};var o=n?kd(r,new Map):Sa(r,new Map),i=o.findIndex(function(a){var s=a.node;return s===e});if(i!==-1)return{prev:o[i-1],next:o[i+1],first:o[0],last:o[o.length-1]}},lT=function(e,t){var n=t?kd(po(e),new Map):Sa(po(e),new Map);return{first:n[0],last:n[n.length-1]}},cT=function(e){return Object.assign({scope:document.body,cycle:!0,onlyTabbable:!0},e)},Cm=function(e,t,n){t===void 0&&(t={});var r=cT(t),o=sT(e,r.scope,r.onlyTabbable);if(o){var i=n(o,r.cycle);i&&Ad(i.node,r.focusOptions)}},uT=function(e,t){t===void 0&&(t={}),Cm(e,t,function(n,r){var o=n.next,i=n.first;return o||r&&i})},dT=function(e,t){t===void 0&&(t={}),Cm(e,t,function(n,r){var o=n.prev,i=n.last;return o||r&&i})},wm=function(e,t,n){var r,o=lT(e,(r=t.onlyTabbable)!==null&&r!==void 0?r:!0),i=o[n];i&&Ad(i.node,t.focusOptions)},fT=function(e,t){t===void 0&&(t={}),wm(e,t,"first")},pT=function(e,t){t===void 0&&(t={}),wm(e,t,"last")};function Id(e){setTimeout(e,1)}var hT=function(t){return t&&"current"in t?t.current:t},Sm=function(){return document&&document.activeElement===document.body},mT=function(){return Sm()||Xj()},ri=null,cn=null,km=function(){return null},oi=null,ja=!1,Dd=!1,gT=function(){return!0},vT=function(t){return(ri.whiteList||gT)(t)},bT=function(t,n){oi={observerNode:t,portaledElement:n}},yT=function(t){return oi&&oi.portaledElement===t};function _m(e,t,n,r){var o=null,i=e;do{var a=r[i];if(a.guard)a.node.dataset.focusAutoGuard&&(o=a);else if(a.lockItem){if(i!==e)return;o=null}else break}while((i+=n)!==t);o&&(o.node.tabIndex=0)}var xT=function(t){return t?!!ja:ja==="meanwhile"},CT=function e(t,n,r){return n&&(n.host===t&&(!n.activeElement||r.contains(n.activeElement))||n.parentNode&&e(t,n.parentNode,r))},wT=function(t,n){return n.some(function(r){return CT(t,r,r)})},jm=function(t){return Sa(t,new Map)},ST=function(t){return!jm([t.parentNode]).some(function(n){return n.node===t})},el=function(){var t=!1;if(ri){var n=ri,r=n.observed,o=n.persistentFocus,i=n.autoFocus,a=n.shards,s=n.crossFrame,l=n.focusOptions,c=n.noFocusGuards,u=r||oi&&oi.portaledElement;if(Sm()&&cn&&cn!==document.body&&(!document.body.contains(cn)||ST(cn))){var f=km();f&&f.focus()}var p=document&&document.activeElement;if(u){var h=[u].concat(a.map(hT).filter(Boolean)),b=function(){if(!xT(s)||!c||!cn||Dd)return!1;var C=jm(h),j=C.findIndex(function(x){var E=x.node;return E===cn});return j===0||j===C.length-1};if((!p||vT(p))&&(o||b()||!mT()||!cn&&i)&&(u&&!(pm(h)||p&&wT(p,h)||yT(p))&&(document&&!cn&&p&&!i?(p.blur&&p.blur(),document.body.focus()):(t=ym(h,cn,{focusOptions:l}),oi={})),cn=document&&document.activeElement,cn!==document.body&&(km=xm(cn)),ja=!1),document&&p!==document.activeElement&&document.querySelector("[data-focus-auto-guard]")){var m=document&&document.activeElement,v=oT(h),S=v.map(function(y){var C=y.node;return C}).indexOf(m);S>-1&&(v.filter(function(y){var C=y.guard,j=y.node;return C&&j.dataset.focusAutoGuard}).forEach(function(y){var C=y.node;return C.removeAttribute("tabIndex")}),_m(S,v.length,1,v),_m(S,-1,-1,v))}}}return t},Tm=function(t){el()&&t&&(t.stopPropagation(),t.preventDefault())},$d=function(){return Id(el)},kT=function(t){var n=t.target,r=t.currentTarget;r.contains(n)||bT(r,n)},_T=function(){return null};process.env.NODE_ENV!=="production"&&st.node.isRequired;var Pm=function(){Dd=!0},Em=function(){Dd=!1,ja="just",Id(function(){ja="meanwhile"})},jT=function(){document.addEventListener("focusin",Tm),document.addEventListener("focusout",$d),window.addEventListener("focus",Pm),window.addEventListener("blur",Em)},TT=function(){document.removeEventListener("focusin",Tm),document.removeEventListener("focusout",$d),window.removeEventListener("focus",Pm),window.removeEventListener("blur",Em)};function PT(e){return e.filter(function(t){var n=t.disabled;return!n})}var Am={moveFocusInside:ym,focusInside:pm,focusNextElement:uT,focusPrevElement:dT,focusFirstElement:fT,focusLastElement:pT,captureFocusRestore:xm};function ET(e){var t=e.slice(-1)[0];t&&!ri&&jT();var n=ri,r=n&&t&&t.id===n.id;ri=t,n&&!r&&(n.onDeactivation(),e.filter(function(o){var i=o.id;return i===n.id}).length||n.returnFocus(!t)),t?(cn=null,(!r||n.observed!==t.observed)&&t.onActivation(Am),el(),Id(el)):(TT(),cn=null)}em.assignSyncMedium(kT),tm.assignMedium($d),Sj.assignMedium(function(e){return e(Am)});const AT=Mj(PT,ET)(_T);var Fd=g.forwardRef(function(t,n){return g.createElement(vd,to({sideCar:AT,ref:n},t))}),Mm=vd.propTypes||{};Mm.sideCar;var MT=cj(Mm,["sideCar"]);Fd.propTypes=process.env.NODE_ENV!=="production"?MT:{};const OT=Fd.default??Fd,Om=e=>{const{initialFocusRef:t,finalFocusRef:n,contentRef:r,restoreFocus:o,children:i,isDisabled:a,autoFocus:s,persistentFocus:l,lockFocusAcrossFrames:c}=e,u=g.useCallback(()=>{t!=null&&t.current?t.current.focus():r!=null&&r.current&&hg(r.current).length===0&&requestAnimationFrame(()=>{var b;(b=r.current)==null||b.focus()})},[t,r]),f=g.useCallback(()=>{var h;(h=n==null?void 0:n.current)==null||h.focus()},[n]),p=o&&!n;return d.jsx(OT,{crossFrame:c,persistentFocus:l,autoFocus:s,disabled:a,onActivation:u,onDeactivation:f,returnFocus:p,children:i})};Om.displayName="FocusLock";const ii=ye(function(t,n){const r=er("FormLabel",t),o=Ct(t),{className:i,children:a,requiredIndicator:s=d.jsx(Im,{}),optionalIndicator:l=null,...c}=o,u=Qs(),f=(u==null?void 0:u.getLabelProps(c,n))??{ref:n,...c};return d.jsxs(le.label,{...f,className:Me("chakra-form__label",o.className),__css:{display:"block",textAlign:"start",...r},children:[a,u!=null&&u.isRequired?s:l]})});ii.displayName="FormLabel";const Im=ye(function(t,n){const r=Qs(),o=Ih();if(!(r!=null&&r.isRequired))return null;const i=Me("chakra-form__required-indicator",t.className);return d.jsx(le.span,{...r==null?void 0:r.getRequiredIndicatorProps(t,n),__css:o.requiredIndicator,className:i})});Im.displayName="RequiredIndicator";const Dm=ye(function(t,n){const{templateAreas:r,gap:o,rowGap:i,columnGap:a,column:s,row:l,autoFlow:c,autoRows:u,templateRows:f,autoColumns:p,templateColumns:h,...b}=t,m={display:"grid",gridTemplateAreas:r,gridGap:o,gridRowGap:i,gridColumnGap:a,gridAutoColumns:p,gridColumn:s,gridRow:l,gridAutoFlow:c,gridAutoRows:u,gridTemplateRows:f,gridTemplateColumns:h};return d.jsx(le.div,{ref:n,__css:m,...b})});Dm.displayName="Grid";function Ln(e){const{viewBox:t="0 0 24 24",d:n,displayName:r,defaultProps:o={}}=e,i=g.Children.toArray(e.path),a=ye((s,l)=>d.jsx(Xt,{ref:l,viewBox:t,...o,...s,children:i.length?i:d.jsx("path",{fill:"currentColor",d:n})}));return a.displayName=r,a}const zd=ye(function(t,n){const{htmlWidth:r,htmlHeight:o,alt:i,...a}=t;return d.jsx("img",{width:r,height:o,ref:n,alt:i,...a})});zd.displayName="NativeImage";const $m=ye(function(t,n){const{fallbackSrc:r,fallback:o,src:i,srcSet:a,align:s,fit:l,loading:c,ignoreFallback:u,crossOrigin:f,fallbackStrategy:p="beforeLoadOrError",referrerPolicy:h,...b}=t,m=r!==void 0||o!==void 0,v=c!=null||u||!m,S=kh({...t,crossOrigin:f,ignoreFallback:v}),y=P_(S,p),C={ref:n,objectFit:l,objectPosition:s,...v?b:So(b,["onError","onLoad"])};return y?o||d.jsx(le.img,{as:zd,className:"chakra-image__placeholder",src:r,...C}):d.jsx(le.img,{as:zd,src:i,srcSet:a,crossOrigin:f,loading:c,referrerPolicy:h,className:"chakra-image",...C})});$m.displayName="Image";const Ta=ye(function(t,n){const{htmlSize:r,...o}=t,i=Yt("Input",o),a=Ct(o),s=od(a),l=Me("chakra-input",t.className);return d.jsx(le.input,{size:r,...s,__css:i.field,ref:n,className:l})});Ta.displayName="Input",Ta.id="Input";const[IT,DT]=ht({name:"InputGroupStylesContext",errorMessage:`useInputGroupStyles returned is 'undefined'. Seems you forgot to wrap the components in "<InputGroup />" `}),Fm=ye(function(t,n){const r=Yt("Input",t),{children:o,className:i,...a}=Ct(t),s=Me("chakra-input__group",i),l={},c=zl(o),u=r.field;c.forEach(p=>{r&&(u&&p.type.id==="InputLeftElement"&&(l.paddingStart=u.height??u.h),u&&p.type.id==="InputRightElement"&&(l.paddingEnd=u.height??u.h),p.type.id==="InputRightAddon"&&(l.borderEndRadius=0),p.type.id==="InputLeftAddon"&&(l.borderStartRadius=0))});const f=c.map(p=>{var b,m;const h=Ei({size:((b=p.props)==null?void 0:b.size)||t.size,variant:((m=p.props)==null?void 0:m.variant)||t.variant});return p.type.id!=="Input"?g.cloneElement(p,h):g.cloneElement(p,Object.assign(h,l,p.props))});return d.jsx(le.div,{className:s,ref:n,__css:{width:"100%",display:"flex",position:"relative",isolation:"isolate",...r.group},"data-group":!0,...a,children:d.jsx(IT,{value:r,children:f})})});Fm.displayName="InputGroup";const $T=le("div",{baseStyle:{display:"flex",alignItems:"center",justifyContent:"center",position:"absolute",top:"0",zIndex:2}}),tl=ye(function(t,n){const{placement:r="left",...o}=t,i=DT(),a=i.field,l={[r==="left"?"insetStart":"insetEnd"]:"0",width:(a==null?void 0:a.height)??(a==null?void 0:a.h),height:(a==null?void 0:a.height)??(a==null?void 0:a.h),fontSize:a==null?void 0:a.fontSize,...i.element};return d.jsx($T,{ref:n,__css:l,...o})});tl.id="InputElement",tl.displayName="InputElement";const zm=ye(function(t,n){const{className:r,...o}=t,i=Me("chakra-input__left-element",r);return d.jsx(tl,{ref:n,placement:"left",className:i,...o})});zm.id="InputLeftElement",zm.displayName="InputLeftElement";const Ld=ye(function(t,n){const{className:r,...o}=t,i=Me("chakra-input__right-element",r);return d.jsx(tl,{ref:n,placement:"right",className:i,...o})});Ld.id="InputRightElement",Ld.displayName="InputRightElement";const Lm=ye(function(t,n){const r=er("Link",t),{className:o,isExternal:i,...a}=Ct(t);return d.jsx(le.a,{target:i?"_blank":void 0,rel:i?"noopener":void 0,ref:n,className:Me("chakra-link",o),...a,__css:r})});Lm.displayName="Link";const[FT,Bm]=ht({name:"ListStylesContext",errorMessage:`useListStyles returned is 'undefined'. Seems you forgot to wrap the components in "<List />" `}),nl=ye(function(t,n){const r=Yt("List",t),{children:o,styleType:i="none",stylePosition:a,spacing:s,...l}=Ct(t),c=zl(o),f=s?{["& > *:not(style) ~ *:not(style)"]:{mt:s}}:{};return d.jsx(FT,{value:r,children:d.jsx(le.ul,{ref:n,listStyleType:i,listStylePosition:a,role:"list",__css:{...r.container,...f},...l,children:c})})});nl.displayName="List";const zT=ye((e,t)=>{const{as:n,...r}=e;return d.jsx(nl,{ref:t,as:"ol",styleType:"decimal",marginStart:"1em",...r})});zT.displayName="OrderedList";const LT=ye(function(t,n){const{as:r,...o}=t;return d.jsx(nl,{ref:n,as:"ul",styleType:"initial",marginStart:"1em",...o})});LT.displayName="UnorderedList";const Nm=ye(function(t,n){const r=Bm();return d.jsx(le.li,{ref:n,...t,__css:r.item})});Nm.displayName="ListItem";const Rm=ye(function(t,n){const r=Bm();return d.jsx(Xt,{ref:n,role:"presentation",...t,__css:r.icon})});Rm.displayName="ListIcon";function BT(e,t,n,r){if(t==null)return r;if(!r)return e.find(a=>n(a).toLowerCase().startsWith(t.toLowerCase()));const o=e.filter(i=>n(i).toLowerCase().startsWith(t.toLowerCase()));if(o.length>0){let i;return o.includes(r)?(i=o.indexOf(r)+1,i===o.length&&(i=0),o[i]):(i=e.indexOf(o[0]),e[i])}return r}function NT(e){const{key:t}=e;return t.length===1||t.length>1&&/[^a-zA-Z0-9]/.test(t)}function RT(e={}){const{timeout:t=300,preventDefault:n=()=>!0}=e,[r,o]=g.useState([]),i=g.useRef(),a=()=>{i.current&&(clearTimeout(i.current),i.current=null)},s=()=>{a(),i.current=setTimeout(()=>{o([]),i.current=null},t)};g.useEffect(()=>a,[]);function l(c){return u=>{if(u.key==="Backspace"){const f=[...r];f.pop(),o(f);return}if(NT(u)){const f=r.concat(u.key);n(u)&&(u.preventDefault(),u.stopPropagation()),o(f),c(f.join("")),s()}}}return l}var un="top",En="bottom",An="right",dn="left",Bd="auto",Pa=[un,En,An,dn],ai="start",Ea="end",VT="clippingParents",Vm="viewport",Aa="popper",WT="reference",Wm=Pa.reduce(function(e,t){return e.concat([t+"-"+ai,t+"-"+Ea])},[]),Hm=[].concat(Pa,[Bd]).reduce(function(e,t){return e.concat([t,t+"-"+ai,t+"-"+Ea])},[]),HT="beforeRead",UT="read",qT="afterRead",ZT="beforeMain",GT="main",KT="afterMain",YT="beforeWrite",XT="write",JT="afterWrite",QT=[HT,UT,qT,ZT,GT,KT,YT,XT,JT];function or(e){return e?(e.nodeName||"").toLowerCase():null}function yn(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function mo(e){var t=yn(e).Element;return e instanceof t||e instanceof Element}function Mn(e){var t=yn(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function Nd(e){if(typeof ShadowRoot>"u")return!1;var t=yn(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function eP(e){var t=e.state;Object.keys(t.elements).forEach(function(n){var r=t.styles[n]||{},o=t.attributes[n]||{},i=t.elements[n];!Mn(i)||!or(i)||(Object.assign(i.style,r),Object.keys(o).forEach(function(a){var s=o[a];s===!1?i.removeAttribute(a):i.setAttribute(a,s===!0?"":s)}))})}function tP(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach(function(r){var o=t.elements[r],i=t.attributes[r]||{},a=Object.keys(t.styles.hasOwnProperty(r)?t.styles[r]:n[r]),s=a.reduce(function(l,c){return l[c]="",l},{});!Mn(o)||!or(o)||(Object.assign(o.style,s),Object.keys(i).forEach(function(l){o.removeAttribute(l)}))})}}const nP={name:"applyStyles",enabled:!0,phase:"write",fn:eP,effect:tP,requires:["computeStyles"]};function ir(e){return e.split("-")[0]}var go=Math.max,rl=Math.min,si=Math.round;function Rd(){var e=navigator.userAgentData;return e!=null&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function Um(){return!/^((?!chrome|android).)*safari/i.test(Rd())}function li(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!1);var r=e.getBoundingClientRect(),o=1,i=1;t&&Mn(e)&&(o=e.offsetWidth>0&&si(r.width)/e.offsetWidth||1,i=e.offsetHeight>0&&si(r.height)/e.offsetHeight||1);var a=mo(e)?yn(e):window,s=a.visualViewport,l=!Um()&&n,c=(r.left+(l&&s?s.offsetLeft:0))/o,u=(r.top+(l&&s?s.offsetTop:0))/i,f=r.width/o,p=r.height/i;return{width:f,height:p,top:u,right:c+f,bottom:u+p,left:c,x:c,y:u}}function Vd(e){var t=li(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function qm(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&Nd(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function wr(e){return yn(e).getComputedStyle(e)}function rP(e){return["table","td","th"].indexOf(or(e))>=0}function Br(e){return((mo(e)?e.ownerDocument:e.document)||window.document).documentElement}function ol(e){return or(e)==="html"?e:e.assignedSlot||e.parentNode||(Nd(e)?e.host:null)||Br(e)}function Zm(e){return!Mn(e)||wr(e).position==="fixed"?null:e.offsetParent}function oP(e){var t=/firefox/i.test(Rd()),n=/Trident/i.test(Rd());if(n&&Mn(e)){var r=wr(e);if(r.position==="fixed")return null}var o=ol(e);for(Nd(o)&&(o=o.host);Mn(o)&&["html","body"].indexOf(or(o))<0;){var i=wr(o);if(i.transform!=="none"||i.perspective!=="none"||i.contain==="paint"||["transform","perspective"].indexOf(i.willChange)!==-1||t&&i.willChange==="filter"||t&&i.filter&&i.filter!=="none")return o;o=o.parentNode}return null}function Ma(e){for(var t=yn(e),n=Zm(e);n&&rP(n)&&wr(n).position==="static";)n=Zm(n);return n&&(or(n)==="html"||or(n)==="body"&&wr(n).position==="static")?t:n||oP(e)||t}function Wd(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function Oa(e,t,n){return go(e,rl(t,n))}function iP(e,t,n){var r=Oa(e,t,n);return r>n?n:r}function Gm(){return{top:0,right:0,bottom:0,left:0}}function Km(e){return Object.assign({},Gm(),e)}function Ym(e,t){return t.reduce(function(n,r){return n[r]=e,n},{})}var aP=function(t,n){return t=typeof t=="function"?t(Object.assign({},n.rects,{placement:n.placement})):t,Km(typeof t!="number"?t:Ym(t,Pa))};function sP(e){var t,n=e.state,r=e.name,o=e.options,i=n.elements.arrow,a=n.modifiersData.popperOffsets,s=ir(n.placement),l=Wd(s),c=[dn,An].indexOf(s)>=0,u=c?"height":"width";if(!(!i||!a)){var f=aP(o.padding,n),p=Vd(i),h=l==="y"?un:dn,b=l==="y"?En:An,m=n.rects.reference[u]+n.rects.reference[l]-a[l]-n.rects.popper[u],v=a[l]-n.rects.reference[l],S=Ma(i),y=S?l==="y"?S.clientHeight||0:S.clientWidth||0:0,C=m/2-v/2,j=f[h],x=y-p[u]-f[b],E=y/2-p[u]/2+C,P=Oa(j,E,x),D=l;n.modifiersData[r]=(t={},t[D]=P,t.centerOffset=P-E,t)}}function lP(e){var t=e.state,n=e.options,r=n.element,o=r===void 0?"[data-popper-arrow]":r;o!=null&&(typeof o=="string"&&(o=t.elements.popper.querySelector(o),!o)||qm(t.elements.popper,o)&&(t.elements.arrow=o))}const cP={name:"arrow",enabled:!0,phase:"main",fn:sP,effect:lP,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function ci(e){return e.split("-")[1]}var uP={top:"auto",right:"auto",bottom:"auto",left:"auto"};function dP(e,t){var n=e.x,r=e.y,o=t.devicePixelRatio||1;return{x:si(n*o)/o||0,y:si(r*o)/o||0}}function Xm(e){var t,n=e.popper,r=e.popperRect,o=e.placement,i=e.variation,a=e.offsets,s=e.position,l=e.gpuAcceleration,c=e.adaptive,u=e.roundOffsets,f=e.isFixed,p=a.x,h=p===void 0?0:p,b=a.y,m=b===void 0?0:b,v=typeof u=="function"?u({x:h,y:m}):{x:h,y:m};h=v.x,m=v.y;var S=a.hasOwnProperty("x"),y=a.hasOwnProperty("y"),C=dn,j=un,x=window;if(c){var E=Ma(n),P="clientHeight",D="clientWidth";if(E===yn(n)&&(E=Br(n),wr(E).position!=="static"&&s==="absolute"&&(P="scrollHeight",D="scrollWidth")),E=E,o===un||(o===dn||o===An)&&i===Ea){j=En;var R=f&&E===x&&x.visualViewport?x.visualViewport.height:E[P];m-=R-r.height,m*=l?1:-1}if(o===dn||(o===un||o===En)&&i===Ea){C=An;var L=f&&E===x&&x.visualViewport?x.visualViewport.width:E[D];h-=L-r.width,h*=l?1:-1}}var Z=Object.assign({position:s},c&&uP),ce=u===!0?dP({x:h,y:m},yn(n)):{x:h,y:m};if(h=ce.x,m=ce.y,l){var ae;return Object.assign({},Z,(ae={},ae[j]=y?"0":"",ae[C]=S?"0":"",ae.transform=(x.devicePixelRatio||1)<=1?"translate("+h+"px, "+m+"px)":"translate3d("+h+"px, "+m+"px, 0)",ae))}return Object.assign({},Z,(t={},t[j]=y?m+"px":"",t[C]=S?h+"px":"",t.transform="",t))}function fP(e){var t=e.state,n=e.options,r=n.gpuAcceleration,o=r===void 0?!0:r,i=n.adaptive,a=i===void 0?!0:i,s=n.roundOffsets,l=s===void 0?!0:s,c={placement:ir(t.placement),variation:ci(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:o,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,Xm(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a,roundOffsets:l})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,Xm(Object.assign({},c,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}const pP={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:fP,data:{}};var il={passive:!0};function hP(e){var t=e.state,n=e.instance,r=e.options,o=r.scroll,i=o===void 0?!0:o,a=r.resize,s=a===void 0?!0:a,l=yn(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return i&&c.forEach(function(u){u.addEventListener("scroll",n.update,il)}),s&&l.addEventListener("resize",n.update,il),function(){i&&c.forEach(function(u){u.removeEventListener("scroll",n.update,il)}),s&&l.removeEventListener("resize",n.update,il)}}const mP={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:hP,data:{}};var gP={left:"right",right:"left",bottom:"top",top:"bottom"};function al(e){return e.replace(/left|right|bottom|top/g,function(t){return gP[t]})}var vP={start:"end",end:"start"};function Jm(e){return e.replace(/start|end/g,function(t){return vP[t]})}function Hd(e){var t=yn(e),n=t.pageXOffset,r=t.pageYOffset;return{scrollLeft:n,scrollTop:r}}function Ud(e){return li(Br(e)).left+Hd(e).scrollLeft}function bP(e,t){var n=yn(e),r=Br(e),o=n.visualViewport,i=r.clientWidth,a=r.clientHeight,s=0,l=0;if(o){i=o.width,a=o.height;var c=Um();(c||!c&&t==="fixed")&&(s=o.offsetLeft,l=o.offsetTop)}return{width:i,height:a,x:s+Ud(e),y:l}}function yP(e){var t,n=Br(e),r=Hd(e),o=(t=e.ownerDocument)==null?void 0:t.body,i=go(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),a=go(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),s=-r.scrollLeft+Ud(e),l=-r.scrollTop;return wr(o||n).direction==="rtl"&&(s+=go(n.clientWidth,o?o.clientWidth:0)-i),{width:i,height:a,x:s,y:l}}function qd(e){var t=wr(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+r)}function Qm(e){return["html","body","#document"].indexOf(or(e))>=0?e.ownerDocument.body:Mn(e)&&qd(e)?e:Qm(ol(e))}function Ia(e,t){var n;t===void 0&&(t=[]);var r=Qm(e),o=r===((n=e.ownerDocument)==null?void 0:n.body),i=yn(r),a=o?[i].concat(i.visualViewport||[],qd(r)?r:[]):r,s=t.concat(a);return o?s:s.concat(Ia(ol(a)))}function Zd(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function xP(e,t){var n=li(e,!1,t==="fixed");return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}function e3(e,t,n){return t===Vm?Zd(bP(e,n)):mo(t)?xP(t,n):Zd(yP(Br(e)))}function CP(e){var t=Ia(ol(e)),n=["absolute","fixed"].indexOf(wr(e).position)>=0,r=n&&Mn(e)?Ma(e):e;return mo(r)?t.filter(function(o){return mo(o)&&qm(o,r)&&or(o)!=="body"}):[]}function wP(e,t,n,r){var o=t==="clippingParents"?CP(e):[].concat(t),i=[].concat(o,[n]),a=i[0],s=i.reduce(function(l,c){var u=e3(e,c,r);return l.top=go(u.top,l.top),l.right=rl(u.right,l.right),l.bottom=rl(u.bottom,l.bottom),l.left=go(u.left,l.left),l},e3(e,a,r));return s.width=s.right-s.left,s.height=s.bottom-s.top,s.x=s.left,s.y=s.top,s}function t3(e){var t=e.reference,n=e.element,r=e.placement,o=r?ir(r):null,i=r?ci(r):null,a=t.x+t.width/2-n.width/2,s=t.y+t.height/2-n.height/2,l;switch(o){case un:l={x:a,y:t.y-n.height};break;case En:l={x:a,y:t.y+t.height};break;case An:l={x:t.x+t.width,y:s};break;case dn:l={x:t.x-n.width,y:s};break;default:l={x:t.x,y:t.y}}var c=o?Wd(o):null;if(c!=null){var u=c==="y"?"height":"width";switch(i){case ai:l[c]=l[c]-(t[u]/2-n[u]/2);break;case Ea:l[c]=l[c]+(t[u]/2-n[u]/2);break}}return l}function Da(e,t){t===void 0&&(t={});var n=t,r=n.placement,o=r===void 0?e.placement:r,i=n.strategy,a=i===void 0?e.strategy:i,s=n.boundary,l=s===void 0?VT:s,c=n.rootBoundary,u=c===void 0?Vm:c,f=n.elementContext,p=f===void 0?Aa:f,h=n.altBoundary,b=h===void 0?!1:h,m=n.padding,v=m===void 0?0:m,S=Km(typeof v!="number"?v:Ym(v,Pa)),y=p===Aa?WT:Aa,C=e.rects.popper,j=e.elements[b?y:p],x=wP(mo(j)?j:j.contextElement||Br(e.elements.popper),l,u,a),E=li(e.elements.reference),P=t3({reference:E,element:C,strategy:"absolute",placement:o}),D=Zd(Object.assign({},C,P)),R=p===Aa?D:E,L={top:x.top-R.top+S.top,bottom:R.bottom-x.bottom+S.bottom,left:x.left-R.left+S.left,right:R.right-x.right+S.right},Z=e.modifiersData.offset;if(p===Aa&&Z){var ce=Z[o];Object.keys(L).forEach(function(ae){var z=[An,En].indexOf(ae)>=0?1:-1,Y=[un,En].indexOf(ae)>=0?"y":"x";L[ae]+=ce[Y]*z})}return L}function SP(e,t){t===void 0&&(t={});var n=t,r=n.placement,o=n.boundary,i=n.rootBoundary,a=n.padding,s=n.flipVariations,l=n.allowedAutoPlacements,c=l===void 0?Hm:l,u=ci(r),f=u?s?Wm:Wm.filter(function(b){return ci(b)===u}):Pa,p=f.filter(function(b){return c.indexOf(b)>=0});p.length===0&&(p=f);var h=p.reduce(function(b,m){return b[m]=Da(e,{placement:m,boundary:o,rootBoundary:i,padding:a})[ir(m)],b},{});return Object.keys(h).sort(function(b,m){return h[b]-h[m]})}function kP(e){if(ir(e)===Bd)return[];var t=al(e);return[Jm(e),t,Jm(t)]}function _P(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var o=n.mainAxis,i=o===void 0?!0:o,a=n.altAxis,s=a===void 0?!0:a,l=n.fallbackPlacements,c=n.padding,u=n.boundary,f=n.rootBoundary,p=n.altBoundary,h=n.flipVariations,b=h===void 0?!0:h,m=n.allowedAutoPlacements,v=t.options.placement,S=ir(v),y=S===v,C=l||(y||!b?[al(v)]:kP(v)),j=[v].concat(C).reduce(function(B,w){return B.concat(ir(w)===Bd?SP(t,{placement:w,boundary:u,rootBoundary:f,padding:c,flipVariations:b,allowedAutoPlacements:m}):w)},[]),x=t.rects.reference,E=t.rects.popper,P=new Map,D=!0,R=j[0],L=0;L<j.length;L++){var Z=j[L],ce=ir(Z),ae=ci(Z)===ai,z=[un,En].indexOf(ce)>=0,Y=z?"width":"height",G=Da(t,{placement:Z,boundary:u,rootBoundary:f,altBoundary:p,padding:c}),N=z?ae?An:dn:ae?En:un;x[Y]>E[Y]&&(N=al(N));var ue=al(N),he=[];if(i&&he.push(G[ce]<=0),s&&he.push(G[N]<=0,G[ue]<=0),he.every(function(B){return B})){R=Z,D=!1;break}P.set(Z,he)}if(D)for(var O=b?3:1,F=function(w){var J=j.find(function(Q){var ee=P.get(Q);if(ee)return ee.slice(0,w).every(function(me){return me})});if(J)return R=J,"break"},K=O;K>0;K--){var V=F(K);if(V==="break")break}t.placement!==R&&(t.modifiersData[r]._skip=!0,t.placement=R,t.reset=!0)}}const jP={name:"flip",enabled:!0,phase:"main",fn:_P,requiresIfExists:["offset"],data:{_skip:!1}};function n3(e,t,n){return n===void 0&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function r3(e){return[un,An,En,dn].some(function(t){return e[t]>=0})}function TP(e){var t=e.state,n=e.name,r=t.rects.reference,o=t.rects.popper,i=t.modifiersData.preventOverflow,a=Da(t,{elementContext:"reference"}),s=Da(t,{altBoundary:!0}),l=n3(a,r),c=n3(s,o,i),u=r3(l),f=r3(c);t.modifiersData[n]={referenceClippingOffsets:l,popperEscapeOffsets:c,isReferenceHidden:u,hasPopperEscaped:f},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":f})}const PP={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:TP};function EP(e,t,n){var r=ir(e),o=[dn,un].indexOf(r)>=0?-1:1,i=typeof n=="function"?n(Object.assign({},t,{placement:e})):n,a=i[0],s=i[1];return a=a||0,s=(s||0)*o,[dn,An].indexOf(r)>=0?{x:s,y:a}:{x:a,y:s}}function AP(e){var t=e.state,n=e.options,r=e.name,o=n.offset,i=o===void 0?[0,0]:o,a=Hm.reduce(function(u,f){return u[f]=EP(f,t.rects,i),u},{}),s=a[t.placement],l=s.x,c=s.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=c),t.modifiersData[r]=a}const MP={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:AP};function OP(e){var t=e.state,n=e.name;t.modifiersData[n]=t3({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}const IP={name:"popperOffsets",enabled:!0,phase:"read",fn:OP,data:{}};function DP(e){return e==="x"?"y":"x"}function $P(e){var t=e.state,n=e.options,r=e.name,o=n.mainAxis,i=o===void 0?!0:o,a=n.altAxis,s=a===void 0?!1:a,l=n.boundary,c=n.rootBoundary,u=n.altBoundary,f=n.padding,p=n.tether,h=p===void 0?!0:p,b=n.tetherOffset,m=b===void 0?0:b,v=Da(t,{boundary:l,rootBoundary:c,padding:f,altBoundary:u}),S=ir(t.placement),y=ci(t.placement),C=!y,j=Wd(S),x=DP(j),E=t.modifiersData.popperOffsets,P=t.rects.reference,D=t.rects.popper,R=typeof m=="function"?m(Object.assign({},t.rects,{placement:t.placement})):m,L=typeof R=="number"?{mainAxis:R,altAxis:R}:Object.assign({mainAxis:0,altAxis:0},R),Z=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,ce={x:0,y:0};if(E){if(i){var ae,z=j==="y"?un:dn,Y=j==="y"?En:An,G=j==="y"?"height":"width",N=E[j],ue=N+v[z],he=N-v[Y],O=h?-D[G]/2:0,F=y===ai?P[G]:D[G],K=y===ai?-D[G]:-P[G],V=t.elements.arrow,B=h&&V?Vd(V):{width:0,height:0},w=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:Gm(),J=w[z],Q=w[Y],ee=Oa(0,P[G],B[G]),me=C?P[G]/2-O-ee-J-L.mainAxis:F-ee-J-L.mainAxis,de=C?-P[G]/2+O+ee+Q+L.mainAxis:K+ee+Q+L.mainAxis,ke=t.elements.arrow&&Ma(t.elements.arrow),H=ke?j==="y"?ke.clientTop||0:ke.clientLeft||0:0,Te=(ae=Z==null?void 0:Z[j])!=null?ae:0,De=N+me-Te-H,A=N+de-Te,q=Oa(h?rl(ue,De):ue,N,h?go(he,A):he);E[j]=q,ce[j]=q-N}if(s){var re,xe=j==="x"?un:dn,ge=j==="x"?En:An,ve=E[x],je=x==="y"?"height":"width",$e=ve+v[xe],fe=ve-v[ge],U=[un,dn].indexOf(S)!==-1,oe=(re=Z==null?void 0:Z[x])!=null?re:0,ie=U?$e:ve-P[je]-D[je]-oe+L.altAxis,se=U?ve+P[je]+D[je]-oe-L.altAxis:fe,Ie=h&&U?iP(ie,ve,se):Oa(h?ie:$e,ve,h?se:fe);E[x]=Ie,ce[x]=Ie-ve}t.modifiersData[r]=ce}}const FP={name:"preventOverflow",enabled:!0,phase:"main",fn:$P,requiresIfExists:["offset"]};function zP(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function LP(e){return e===yn(e)||!Mn(e)?Hd(e):zP(e)}function BP(e){var t=e.getBoundingClientRect(),n=si(t.width)/e.offsetWidth||1,r=si(t.height)/e.offsetHeight||1;return n!==1||r!==1}function NP(e,t,n){n===void 0&&(n=!1);var r=Mn(t),o=Mn(t)&&BP(t),i=Br(t),a=li(e,o,n),s={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(r||!r&&!n)&&((or(t)!=="body"||qd(i))&&(s=LP(t)),Mn(t)?(l=li(t,!0),l.x+=t.clientLeft,l.y+=t.clientTop):i&&(l.x=Ud(i))),{x:a.left+s.scrollLeft-l.x,y:a.top+s.scrollTop-l.y,width:a.width,height:a.height}}function RP(e){var t=new Map,n=new Set,r=[];e.forEach(function(i){t.set(i.name,i)});function o(i){n.add(i.name);var a=[].concat(i.requires||[],i.requiresIfExists||[]);a.forEach(function(s){if(!n.has(s)){var l=t.get(s);l&&o(l)}}),r.push(i)}return e.forEach(function(i){n.has(i.name)||o(i)}),r}function VP(e){var t=RP(e);return QT.reduce(function(n,r){return n.concat(t.filter(function(o){return o.phase===r}))},[])}function WP(e){var t;return function(){return t||(t=new Promise(function(n){Promise.resolve().then(function(){t=void 0,n(e())})})),t}}function HP(e){var t=e.reduce(function(n,r){var o=n[r.name];return n[r.name]=o?Object.assign({},o,r,{options:Object.assign({},o.options,r.options),data:Object.assign({},o.data,r.data)}):r,n},{});return Object.keys(t).map(function(n){return t[n]})}var o3={placement:"bottom",modifiers:[],strategy:"absolute"};function i3(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some(function(r){return!(r&&typeof r.getBoundingClientRect=="function")})}function UP(e){e===void 0&&(e={});var t=e,n=t.defaultModifiers,r=n===void 0?[]:n,o=t.defaultOptions,i=o===void 0?o3:o;return function(s,l,c){c===void 0&&(c=i);var u={placement:"bottom",orderedModifiers:[],options:Object.assign({},o3,i),modifiersData:{},elements:{reference:s,popper:l},attributes:{},styles:{}},f=[],p=!1,h={state:u,setOptions:function(S){var y=typeof S=="function"?S(u.options):S;m(),u.options=Object.assign({},i,u.options,y),u.scrollParents={reference:mo(s)?Ia(s):s.contextElement?Ia(s.contextElement):[],popper:Ia(l)};var C=VP(HP([].concat(r,u.options.modifiers)));return u.orderedModifiers=C.filter(function(j){return j.enabled}),b(),h.update()},forceUpdate:function(){if(!p){var S=u.elements,y=S.reference,C=S.popper;if(i3(y,C)){u.rects={reference:NP(y,Ma(C),u.options.strategy==="fixed"),popper:Vd(C)},u.reset=!1,u.placement=u.options.placement,u.orderedModifiers.forEach(function(L){return u.modifiersData[L.name]=Object.assign({},L.data)});for(var j=0;j<u.orderedModifiers.length;j++){if(u.reset===!0){u.reset=!1,j=-1;continue}var x=u.orderedModifiers[j],E=x.fn,P=x.options,D=P===void 0?{}:P,R=x.name;typeof E=="function"&&(u=E({state:u,options:D,name:R,instance:h})||u)}}}},update:WP(function(){return new Promise(function(v){h.forceUpdate(),v(u)})}),destroy:function(){m(),p=!0}};if(!i3(s,l))return h;h.setOptions(c).then(function(v){!p&&c.onFirstUpdate&&c.onFirstUpdate(v)});function b(){u.orderedModifiers.forEach(function(v){var S=v.name,y=v.options,C=y===void 0?{}:y,j=v.effect;if(typeof j=="function"){var x=j({state:u,name:S,instance:h,options:C}),E=function(){};f.push(x||E)}})}function m(){f.forEach(function(v){return v()}),f=[]}return h}}var qP=[mP,IP,pP,nP,MP,jP,FP,cP,PP],ZP=UP({defaultModifiers:qP});const ui=(e,t)=>({var:e,varRef:t?`var(${e}, ${t})`:`var(${e})`}),Vt={arrowShadowColor:ui("--popper-arrow-shadow-color"),arrowSize:ui("--popper-arrow-size","8px"),arrowSizeHalf:ui("--popper-arrow-size-half"),arrowBg:ui("--popper-arrow-bg"),transformOrigin:ui("--popper-transform-origin"),arrowOffset:ui("--popper-arrow-offset")};function GP(e){if(e.includes("top"))return"1px 1px 0px 0 var(--popper-arrow-shadow-color)";if(e.includes("bottom"))return"-1px -1px 0px 0 var(--popper-arrow-shadow-color)";if(e.includes("right"))return"-1px 1px 0px 0 var(--popper-arrow-shadow-color)";if(e.includes("left"))return"1px -1px 0px 0 var(--popper-arrow-shadow-color)"}const KP={top:"bottom center","top-start":"bottom left","top-end":"bottom right",bottom:"top center","bottom-start":"top left","bottom-end":"top right",left:"right center","left-start":"right top","left-end":"right bottom",right:"left center","right-start":"left top","right-end":"left bottom"},YP=e=>KP[e],a3={scroll:!0,resize:!0};function XP(e){let t;return typeof e=="object"?t={enabled:!0,options:{...a3,...e}}:t={enabled:e,options:a3},t}const JP={name:"matchWidth",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:({state:e})=>{e.styles.popper.width=`${e.rects.reference.width}px`},effect:({state:e})=>()=>{const t=e.elements.reference;e.elements.popper.style.width=`${t.offsetWidth}px`}},QP={name:"transformOrigin",enabled:!0,phase:"write",fn:({state:e})=>{s3(e)},effect:({state:e})=>()=>{s3(e)}},s3=e=>{e.elements.popper.style.setProperty(Vt.transformOrigin.var,YP(e.placement))},eE={name:"positionArrow",enabled:!0,phase:"afterWrite",fn:({state:e})=>{tE(e)}},tE=e=>{var n;if(!e.placement)return;const t=nE(e.placement);if((n=e.elements)!=null&&n.arrow&&t){Object.assign(e.elements.arrow.style,{[t.property]:t.value,width:Vt.arrowSize.varRef,height:Vt.arrowSize.varRef,zIndex:-1});const r={[Vt.arrowSizeHalf.var]:`calc(${Vt.arrowSize.varRef} / 2 - 1px)`,[Vt.arrowOffset.var]:`calc(${Vt.arrowSizeHalf.varRef} * -1)`};for(const o in r)e.elements.arrow.style.setProperty(o,r[o])}},nE=e=>{if(e.startsWith("top"))return{property:"bottom",value:Vt.arrowOffset.varRef};if(e.startsWith("bottom"))return{property:"top",value:Vt.arrowOffset.varRef};if(e.startsWith("left"))return{property:"right",value:Vt.arrowOffset.varRef};if(e.startsWith("right"))return{property:"left",value:Vt.arrowOffset.varRef}},rE={name:"innerArrow",enabled:!0,phase:"main",requires:["arrow"],fn:({state:e})=>{l3(e)},effect:({state:e})=>()=>{l3(e)}},l3=e=>{if(!e.elements.arrow)return;const t=e.elements.arrow.querySelector("[data-popper-arrow-inner]");if(!t)return;const n=GP(e.placement);n&&t.style.setProperty("--popper-arrow-default-shadow",n),Object.assign(t.style,{transform:"rotate(45deg)",background:Vt.arrowBg.varRef,top:0,left:0,width:"100%",height:"100%",position:"absolute",zIndex:"inherit",boxShadow:"var(--popper-arrow-shadow, var(--popper-arrow-default-shadow))"})},oE={"start-start":{ltr:"left-start",rtl:"right-start"},"start-end":{ltr:"left-end",rtl:"right-end"},"end-start":{ltr:"right-start",rtl:"left-start"},"end-end":{ltr:"right-end",rtl:"left-end"},start:{ltr:"left",rtl:"right"},end:{ltr:"right",rtl:"left"}},iE={"auto-start":"auto-end","auto-end":"auto-start","top-start":"top-end","top-end":"top-start","bottom-start":"bottom-end","bottom-end":"bottom-start"};function aE(e,t="ltr"){var r;const n=((r=oE[e])==null?void 0:r[t])||e;return t==="ltr"?n:iE[e]??n}function c3(e={}){const{enabled:t=!0,modifiers:n,placement:r="bottom",strategy:o="absolute",arrowPadding:i=8,eventListeners:a=!0,offset:s,gutter:l=8,flip:c=!0,boundary:u="clippingParents",preventOverflow:f=!0,matchWidth:p,direction:h="ltr"}=e,b=g.useRef(null),m=g.useRef(null),v=g.useRef(null),S=aE(r,h),y=g.useRef(()=>{}),C=g.useCallback(()=>{var L;!t||!b.current||!m.current||((L=y.current)==null||L.call(y),v.current=ZP(b.current,m.current,{placement:S,modifiers:[rE,eE,QP,{...JP,enabled:!!p},{name:"eventListeners",...XP(a)},{name:"arrow",options:{padding:i}},{name:"offset",options:{offset:s??[0,l]}},{name:"flip",enabled:!!c,options:{padding:8}},{name:"preventOverflow",enabled:!!f,options:{boundary:u}},...n??[]],strategy:o}),v.current.forceUpdate(),y.current=v.current.destroy)},[S,t,n,p,a,i,s,l,c,f,u,o]);g.useEffect(()=>()=>{var L;!b.current&&!m.current&&((L=v.current)==null||L.destroy(),v.current=null)},[]);const j=g.useCallback(L=>{b.current=L,C()},[C]),x=g.useCallback((L={},Z=null)=>({...L,ref:Bt(j,Z)}),[j]),E=g.useCallback(L=>{m.current=L,C()},[C]),P=g.useCallback((L={},Z=null)=>({...L,ref:Bt(E,Z),style:{...L.style,position:o,minWidth:p?void 0:"max-content",inset:"0 auto auto 0"}}),[o,E,p]),D=g.useCallback((L={},Z=null)=>{const{size:ce,shadowColor:ae,bg:z,style:Y,...G}=L;return{...G,ref:Z,"data-popper-arrow":"",style:sE(L)}},[]),R=g.useCallback((L={},Z=null)=>({...L,ref:Z,"data-popper-arrow-inner":""}),[]);return{update(){var L;(L=v.current)==null||L.update()},forceUpdate(){var L;(L=v.current)==null||L.forceUpdate()},transformOrigin:Vt.transformOrigin.varRef,referenceRef:j,popperRef:E,getPopperProps:P,getArrowProps:D,getArrowInnerProps:R,getReferenceProps:x}}function sE(e){const{size:t,shadowColor:n,bg:r,style:o}=e,i={...o,position:"absolute"};return t&&(i["--popper-arrow-size"]=t),n&&(i["--popper-arrow-shadow-color"]=n),r&&(i["--popper-arrow-bg"]=r),i}function lE(){const e=g.useRef(new Map),t=e.current,n=g.useCallback((o,i,a,s)=>{e.current.set(a,{type:i,el:o,options:s}),o.addEventListener(i,a,s)},[]),r=g.useCallback((o,i,a,s)=>{o.removeEventListener(i,a,s),e.current.delete(a)},[]);return g.useEffect(()=>()=>{t.forEach((o,i)=>{r(o.el,o.type,i,o.options)})},[r,t]),{add:n,remove:r}}function Gd(e){var o,i;const t=((i=(o=e.composedPath)==null?void 0:o.call(e))==null?void 0:i[0])??e.target,{tagName:n,isContentEditable:r}=t;return n!=="INPUT"&&n!=="TEXTAREA"&&r!==!0}function u3(e={}){const{ref:t,isDisabled:n,isFocusable:r,clickOnEnter:o=!0,clickOnSpace:i=!0,onMouseDown:a,onMouseUp:s,onClick:l,onKeyDown:c,onKeyUp:u,tabIndex:f,onMouseOver:p,onMouseLeave:h,...b}=e,[m,v]=g.useState(!0),[S,y]=g.useState(!1),C=lE(),j=N=>{N&&N.tagName!=="BUTTON"&&v(!1)},x=m?f:f||0,E=n&&!r,P=g.useCallback(N=>{if(n){N.stopPropagation(),N.preventDefault();return}N.currentTarget.focus(),l==null||l(N)},[n,l]),D=g.useCallback(N=>{S&&Gd(N)&&(N.preventDefault(),N.stopPropagation(),y(!1),C.remove(document,"keyup",D,!1))},[S,C]),R=g.useCallback(N=>{if(c==null||c(N),n||N.defaultPrevented||N.metaKey||!Gd(N.nativeEvent)||m)return;const ue=o&&N.key==="Enter";i&&N.key===" "&&(N.preventDefault(),y(!0)),ue&&(N.preventDefault(),N.currentTarget.click()),C.add(document,"keyup",D,!1)},[n,m,c,o,i,C,D]),L=g.useCallback(N=>{if(u==null||u(N),n||N.defaultPrevented||N.metaKey||!Gd(N.nativeEvent)||m)return;i&&N.key===" "&&(N.preventDefault(),y(!1),N.currentTarget.click())},[i,m,n,u]),Z=g.useCallback(N=>{N.button===0&&(y(!1),C.remove(document,"mouseup",Z,!1))},[C]),ce=g.useCallback(N=>{if(N.button!==0)return;if(n){N.stopPropagation(),N.preventDefault();return}m||y(!0),N.currentTarget.focus({preventScroll:!0}),C.add(document,"mouseup",Z,!1),a==null||a(N)},[n,m,a,C,Z]),ae=g.useCallback(N=>{N.button===0&&(m||y(!1),s==null||s(N))},[s,m]),z=g.useCallback(N=>{if(n){N.preventDefault();return}p==null||p(N)},[n,p]),Y=g.useCallback(N=>{S&&(N.preventDefault(),y(!1)),h==null||h(N)},[S,h]),G=Bt(t,j);return m?{...b,ref:G,type:"button","aria-disabled":E?void 0:n,disabled:E,onClick:P,onMouseDown:a,onMouseUp:s,onKeyUp:u,onKeyDown:c,onMouseOver:p,onMouseLeave:h}:{...b,ref:G,role:"button","data-active":Be(S),"aria-disabled":n?"true":void 0,tabIndex:E?void 0:x,onClick:P,onMouseDown:ce,onMouseUp:ae,onKeyUp:L,onKeyDown:R,onMouseOver:z,onMouseLeave:Y}}const[cE,uE,dE,fE]=Yu(),[pE,$a]=ht({strict:!1,name:"MenuContext"});function d3(e){return(e==null?void 0:e.ownerDocument)??document}function hE(e){return d3(e).activeElement===e}function mE(e={}){const{id:t,closeOnSelect:n=!0,closeOnBlur:r=!0,initialFocusRef:o,autoSelect:i=!0,isLazy:a,isOpen:s,defaultIsOpen:l,onClose:c,onOpen:u,placement:f="bottom-start",lazyBehavior:p="unmount",direction:h,computePositionOnMount:b=!1,...m}=e,v=g.useRef(null),S=g.useRef(null),y=g.useRef(!0),C=dE(),j=g.useCallback(()=>{requestAnimationFrame(()=>{var V;(V=v.current)==null||V.focus({preventScroll:!1})})},[]),x=g.useCallback(()=>{const V=setTimeout(()=>{var B,w;if(o)(B=o.current)==null||B.focus();else if(!C.count())(w=v.current)==null||w.focus({preventScroll:!1});else{const J=C.firstEnabled();J&&z(J.index)}});he.current.add(V)},[C,o]),E=g.useCallback(()=>{const V=setTimeout(()=>{var B;if(!C.count())(B=v.current)==null||B.focus({preventScroll:!1});else{const w=C.lastEnabled();w&&z(w.index)}});he.current.add(V)},[C]),P=g.useCallback(()=>{u==null||u(),i?x():j()},[i,x,j,u]),{isOpen:D,onOpen:R,onClose:L,onToggle:Z}=Nf({isOpen:s,defaultIsOpen:l,onClose:c,onOpen:P});Mg({enabled:D&&r,ref:v,handler:V=>{var w,J,Q;const B=((J=(w=V.composedPath)==null?void 0:w.call(V))==null?void 0:J[0])??V.target;(Q=S.current)!=null&&Q.contains(B)||L()}});const ce=c3({...m,enabled:D||b,placement:f,direction:h}),[ae,z]=g.useState(-1);jg(v,{focusRef:S,visible:D,shouldFocus:!0});const Y=kg({isOpen:D,ref:v}),[G,N]=Pg(t,"menu-button","menu-list"),ue=g.useCallback(()=>{R(),j()},[R,j]),he=g.useRef(new Set([]));g.useEffect(()=>{const V=he.current;return()=>{V.forEach(B=>clearTimeout(B)),V.clear()}},[]),ko(()=>{var V;D||(z(-1),(V=v.current)==null||V.scrollTo(0,0))},[D]),ko(()=>{D&&ae===-1&&j()},[ae,D]),g.useEffect(()=>{var B;if(!D)return;const V=C.item(ae);(B=V==null?void 0:V.node)==null||B.focus({preventScroll:!y.current})},[C,ae,D]);const O=g.useCallback(()=>{R(),x()},[x,R]),F=g.useCallback(()=>{y.current=!0,R(),E()},[R,E]),K=g.useCallback(()=>{var Q,ee;const V=d3(v.current),B=(Q=v.current)==null?void 0:Q.contains(V.activeElement);if(!(D&&!B))return;const J=(ee=C.item(ae))==null?void 0:ee.node;J==null||J.focus({preventScroll:!y.current})},[D,ae,C]);return{openAndFocusMenu:ue,openAndFocusFirstItem:O,openAndFocusLastItem:F,onTransitionEnd:K,unstable__animationState:Y,descendants:C,popper:ce,buttonId:G,menuId:N,forceUpdate:ce.forceUpdate,orientation:"vertical",isOpen:D,onToggle:Z,onOpen:R,onClose:L,menuRef:v,buttonRef:S,focusedIndex:ae,closeOnSelect:n,closeOnBlur:r,autoSelect:i,setFocusedIndex:z,isLazy:a,lazyBehavior:p,initialFocusRef:o,scrollIntoViewRef:y}}function gE(e={},t=null){const n=$a(),{onToggle:r,popper:o,openAndFocusFirstItem:i,openAndFocusLastItem:a,scrollIntoViewRef:s}=n,l=g.useCallback(c=>{const u=c.key,p={Enter:i,ArrowDown:i,ArrowUp:a}[u];p&&(s.current=!0,c.preventDefault(),c.stopPropagation(),p(c))},[i,a,s]);return{...e,ref:Bt(n.buttonRef,t,o.referenceRef),id:n.buttonId,"data-active":Be(n.isOpen),"aria-expanded":n.isOpen,"aria-haspopup":"menu","aria-controls":n.menuId,onClick:Ue(e.onClick,r),onKeyDown:Ue(e.onKeyDown,l)}}function Kd(e){var t;return xE(e)&&!!((t=e==null?void 0:e.getAttribute("role"))!=null&&t.startsWith("menuitem"))}function vE(e={},t=null){const n=$a();if(!n)throw new Error("useMenuContext: context is undefined. Seems you forgot to wrap component within <Menu>");const{focusedIndex:r,setFocusedIndex:o,menuRef:i,isOpen:a,onClose:s,menuId:l,isLazy:c,lazyBehavior:u,scrollIntoViewRef:f,unstable__animationState:p}=n,h=uE(),b=RT({preventDefault:y=>y.key!==" "&&Kd(y.target)}),m=g.useCallback(y=>{if(!y.currentTarget.contains(y.target))return;const C=y.key,x={Tab:P=>P.preventDefault(),Escape:P=>{P.stopPropagation(),s()},ArrowDown:()=>{f.current=!0;const P=h.nextEnabled(r)??h.firstEnabled();P&&o(P.index)},ArrowUp:()=>{f.current=!0;const P=h.prevEnabled(r)??h.firstEnabled();P&&o(P.index)}}[C];if(x){y.preventDefault(),x(y);return}const E=b(P=>{const D=BT(h.values(),P,R=>{var L;return((L=R==null?void 0:R.node)==null?void 0:L.textContent)??""},h.item(r));if(D){const R=h.indexOf(D.node);o(R)}});Kd(y.target)&&E(y)},[h,r,b,s,o,f]),v=g.useRef(!1);a&&(v.current=!0);const S=gg({wasSelected:v.current,enabled:c,mode:u,isSelected:p.present});return{...e,ref:Bt(i,t),children:S?e.children:null,tabIndex:-1,role:"menu",id:l,style:{...e.style,transformOrigin:"var(--popper-transform-origin)"},"aria-orientation":"vertical",onKeyDown:Ue(e.onKeyDown,m)}}function bE(e={}){const{popper:t,isOpen:n}=$a();return t.getPopperProps({...e,style:{visibility:n?"visible":"hidden",...e.style}})}function yE(e={},t=null){const{onMouseEnter:n,onMouseMove:r,onMouseLeave:o,onClick:i,onFocus:a,isDisabled:s,isFocusable:l,closeOnSelect:c,type:u,...f}=e,p=$a(),{setFocusedIndex:h,focusedIndex:b,closeOnSelect:m,onClose:v,menuId:S,scrollIntoViewRef:y}=p,C=g.useRef(null),j=`${S}-menuitem-${g.useId()}`,{index:x,register:E}=fE({disabled:s&&!l}),P=g.useCallback(z=>{n==null||n(z),!s&&(y.current=!1,h(x))},[h,x,s,n,y]),D=g.useCallback(z=>{r==null||r(z),C.current&&!hE(C.current)&&P(z)},[P,r]),R=g.useCallback(z=>{o==null||o(z),!s&&h(-1)},[h,s,o]),L=g.useCallback(z=>{i==null||i(z),Kd(z.currentTarget)&&(c??m)&&v()},[v,i,m,c]),Z=g.useCallback(z=>{a==null||a(z),h(x)},[h,a,x]),ce=x===b,ae=u3({onClick:L,onFocus:Z,onMouseEnter:P,onMouseMove:D,onMouseLeave:R,ref:Bt(E,C,t),isDisabled:s,isFocusable:l});return{...f,...ae,type:u??ae.type,id:j,role:"menuitem",tabIndex:ce?0:-1}}function xE(e){if(!CE(e))return!1;const t=e.ownerDocument.defaultView??window;return e instanceof t.HTMLElement}function CE(e){return e!=null&&typeof e=="object"&&"nodeType"in e&&e.nodeType===Node.ELEMENT_NODE}const[wE,Fa]=ht({name:"MenuStylesContext",errorMessage:`useMenuStyles returned is 'undefined'. Seems you forgot to wrap the components in "<Menu />" `}),sl=e=>{const{children:t}=e,n=Yt("Menu",e),r=Ct(e),{direction:o}=va(),{descendants:i,...a}=mE({...r,direction:o}),s=g.useMemo(()=>a,[a]),{isOpen:l,onClose:c,forceUpdate:u}=s;return d.jsx(cE,{value:i,children:d.jsx(pE,{value:s,children:d.jsx(wE,{value:n,children:mn(t,{isOpen:l,onClose:c,forceUpdate:u})})})})};sl.displayName="Menu";const SE=ye((e,t)=>{const n=Fa();return d.jsx(le.button,{ref:t,...e,__css:{display:"inline-flex",appearance:"none",alignItems:"center",outline:0,...n.button}})}),ll=ye((e,t)=>{const{children:n,as:r,...o}=e,i=gE(o,t),a=r||SE;return d.jsx(a,{...i,className:Me("chakra-menu__menu-button",e.className),children:d.jsx(le.span,{__css:{pointerEvents:"none",flex:"1 1 auto",minW:0},children:e.children})})});ll.displayName="MenuButton";const f3=ye((e,t)=>{const n=Fa();return d.jsx(le.span,{ref:t,...e,__css:n.command,className:"chakra-menu__command"})});f3.displayName="MenuCommand";const p3=e=>{const{className:t,children:n,...r}=e,o=Fa(),i=g.Children.only(n),a=g.isValidElement(i)?g.cloneElement(i,{focusable:"false","aria-hidden":!0,className:Me("chakra-menu__icon",i.props.className)}):null,s=Me("chakra-menu__icon-wrapper",t);return d.jsx(le.span,{className:s,...r,__css:o.icon,children:a})};p3.displayName="MenuIcon";const kE=ye((e,t)=>{const{type:n,...r}=e,o=Fa(),i=r.as||n?n??void 0:"button",a=g.useMemo(()=>({textDecoration:"none",color:"inherit",userSelect:"none",display:"flex",width:"100%",alignItems:"center",textAlign:"start",flex:"0 0 auto",outline:0,...o.item}),[o.item]);return d.jsx(le.button,{ref:t,type:i,...r,__css:a})}),di=ye((e,t)=>{const{icon:n,iconSpacing:r="0.75rem",command:o,commandSpacing:i="0.75rem",children:a,...s}=e,l=yE(s,t),u=n||o?d.jsx("span",{style:{pointerEvents:"none",flex:1},children:a}):a;return d.jsxs(kE,{...l,className:Me("chakra-menu__menuitem",l.className),children:[n&&d.jsx(p3,{fontSize:"0.8em",marginEnd:r,children:n}),u,o&&d.jsx(f3,{marginStart:i,children:o})]})});di.displayName="MenuItem";const _E={enter:{visibility:"visible",opacity:1,scale:1,transition:{duration:.2,ease:[.4,0,.2,1]}},exit:{transitionEnd:{visibility:"hidden"},opacity:0,scale:.8,transition:{duration:.1,easings:"easeOut"}}},jE=le(Qn.div),cl=ye(function(t,n){var p;const{rootProps:r,motionProps:o,...i}=t,{isOpen:a,onTransitionEnd:s,unstable__animationState:l}=$a(),c=vE(i,n),u=bE(r),f=Fa();return d.jsx(le.div,{...u,__css:{zIndex:t.zIndex??((p=f.list)==null?void 0:p.zIndex)},children:d.jsx(jE,{variants:_E,initial:!1,animate:a?"enter":"exit",__css:{outline:0,...f.list},...o,...c,className:Me("chakra-menu__menu-list",c.className),onUpdate:s,onAnimationComplete:Mf(l.onComplete,c.onAnimationComplete)})})});cl.displayName="MenuList";var TE=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},fi=new WeakMap,ul=new WeakMap,dl={},Yd=0,h3=function(e){return e&&(e.host||h3(e.parentNode))},PE=function(e,t){return t.map(function(n){if(e.contains(n))return n;var r=h3(n);return r&&e.contains(r)?r:(console.error("aria-hidden",n,"in not contained inside",e,". Doing nothing"),null)}).filter(function(n){return!!n})},EE=function(e,t,n,r){var o=PE(t,Array.isArray(e)?e:[e]);dl[n]||(dl[n]=new WeakMap);var i=dl[n],a=[],s=new Set,l=new Set(o),c=function(f){!f||s.has(f)||(s.add(f),c(f.parentNode))};o.forEach(c);var u=function(f){!f||l.has(f)||Array.prototype.forEach.call(f.children,function(p){if(s.has(p))u(p);else try{var h=p.getAttribute(r),b=h!==null&&h!=="false",m=(fi.get(p)||0)+1,v=(i.get(p)||0)+1;fi.set(p,m),i.set(p,v),a.push(p),m===1&&b&&ul.set(p,!0),v===1&&p.setAttribute(n,"true"),b||p.setAttribute(r,"true")}catch(S){console.error("aria-hidden: cannot operate on ",p,S)}})};return u(t),s.clear(),Yd++,function(){a.forEach(function(f){var p=fi.get(f)-1,h=i.get(f)-1;fi.set(f,p),i.set(f,h),p||(ul.has(f)||f.removeAttribute(r),ul.delete(f)),h||f.removeAttribute(n)}),Yd--,Yd||(fi=new WeakMap,fi=new WeakMap,ul=new WeakMap,dl={})}},AE=function(e,t,n){n===void 0&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),o=TE(e);return o?(r.push.apply(r,Array.from(o.querySelectorAll("[aria-live]"))),EE(r,o,n,"aria-hidden")):function(){return null}},ME=Object.defineProperty,OE=(e,t,n)=>t in e?ME(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,IE=(e,t,n)=>(OE(e,t+"",n),n);class DE{constructor(){IE(this,"modals"),this.modals=new Set}add(t){return this.modals.add(t),this.modals.size}remove(t){this.modals.delete(t)}isTopModal(t){if(!t)return!1;const n=Array.from(this.modals)[this.modals.size-1];return t===n}}const Xd=new DE;function m3(e,t){const[n,r]=g.useState(0);return g.useEffect(()=>{const o=e.current;if(o){if(t){const i=Xd.add(o);r(i)}return()=>{Xd.remove(o),r(0)}}},[t,e]),n}function $E(e){const{isOpen:t,onClose:n,id:r,closeOnOverlayClick:o=!0,closeOnEsc:i=!0,useInert:a=!0,onOverlayClick:s,onEsc:l}=e,c=g.useRef(null),u=g.useRef(null),[f,p,h]=zE(r,"chakra-modal","chakra-modal--header","chakra-modal--body");FE(c,t&&a);const b=m3(c,t),m=g.useRef(null),v=g.useCallback(R=>{m.current=R.target},[]),S=g.useCallback(R=>{R.key==="Escape"&&(R.stopPropagation(),i&&(n==null||n()),l==null||l())},[i,n,l]),[y,C]=g.useState(!1),[j,x]=g.useState(!1),E=g.useCallback((R={},L=null)=>({role:"dialog",...R,ref:Bt(L,c),id:f,tabIndex:-1,"aria-modal":!0,"aria-labelledby":y?p:void 0,"aria-describedby":j?h:void 0,onClick:Ue(R.onClick,Z=>Z.stopPropagation())}),[h,j,f,p,y]),P=g.useCallback(R=>{R.stopPropagation(),m.current===R.target&&Xd.isTopModal(c.current)&&(o&&(n==null||n()),s==null||s())},[n,o,s]),D=g.useCallback((R={},L=null)=>({...R,ref:Bt(L,u),onClick:Ue(R.onClick,P),onKeyDown:Ue(R.onKeyDown,S),onMouseDown:Ue(R.onMouseDown,v)}),[S,v,P]);return{isOpen:t,onClose:n,headerId:p,bodyId:h,setBodyMounted:x,setHeaderMounted:C,dialogRef:c,overlayRef:u,getDialogProps:E,getDialogContainerProps:D,index:b}}function FE(e,t){const n=e.current;g.useEffect(()=>{if(!(!e.current||!t))return AE(e.current)},[t,e,n])}function zE(e,...t){const n=g.useId(),r=e||n;return g.useMemo(()=>t.map(o=>`${o}-${r}`),[r,t])}const[LE,pi]=ht({name:"ModalStylesContext",errorMessage:`useModalStyles returned is 'undefined'. Seems you forgot to wrap the components in "<Modal />" `}),[BE,vo]=ht({strict:!0,name:"ModalContext",errorMessage:"useModalContext: `context` is undefined. Seems you forgot to wrap modal components in `<Modal />`"}),fl=e=>{const t={scrollBehavior:"outside",autoFocus:!0,trapFocus:!0,returnFocusOnClose:!0,blockScrollOnMount:!0,allowPinchZoom:!1,preserveScrollBarGap:!0,motionPreset:"scale",...e,lockFocusAcrossFrames:e.lockFocusAcrossFrames||!0},{portalProps:n,children:r,autoFocus:o,trapFocus:i,initialFocusRef:a,finalFocusRef:s,returnFocusOnClose:l,blockScrollOnMount:c,allowPinchZoom:u,preserveScrollBarGap:f,motionPreset:p,lockFocusAcrossFrames:h,animatePresenceProps:b,onCloseComplete:m}=t,v=Yt("Modal",t),y={...$E(t),autoFocus:o,trapFocus:i,initialFocusRef:a,finalFocusRef:s,returnFocusOnClose:l,blockScrollOnMount:c,allowPinchZoom:u,preserveScrollBarGap:f,motionPreset:p,lockFocusAcrossFrames:h};return d.jsx(BE,{value:y,children:d.jsx(LE,{value:v,children:d.jsx(no,{...b,onExitComplete:m,children:y.isOpen&&d.jsx(Qo,{...n,children:r})})})})};fl.displayName="Modal";var pl="right-scroll-bar-position",hl="width-before-scroll-bar",NE="with-scroll-bars-hidden",RE="--removed-body-scroll-bar-size",g3=Jh(),Jd=function(){},ml=Se.forwardRef(function(e,t){var n=Se.useRef(null),r=Se.useState({onScrollCapture:Jd,onWheelCapture:Jd,onTouchMoveCapture:Jd}),o=r[0],i=r[1],a=e.forwardProps,s=e.children,l=e.className,c=e.removeScrollBar,u=e.enabled,f=e.shards,p=e.sideCar,h=e.noIsolation,b=e.inert,m=e.allowPinchZoom,v=e.as,S=v===void 0?"div":v,y=e.gapMode,C=Kh(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as","gapMode"]),j=p,x=Gh([n,t]),E=nr(nr({},C),o);return Se.createElement(Se.Fragment,null,u&&Se.createElement(j,{sideCar:g3,removeScrollBar:c,shards:f,noIsolation:h,inert:b,setCallbacks:i,allowPinchZoom:!!m,lockRef:n,gapMode:y}),a?Se.cloneElement(Se.Children.only(s),nr(nr({},E),{ref:x})):Se.createElement(S,nr({},E,{className:l,ref:x}),s))});ml.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},ml.classNames={fullWidth:hl,zeroRight:pl};var VE=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function WE(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=VE();return t&&e.setAttribute("nonce",t),e}function HE(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function UE(e){var t=document.head||document.getElementsByTagName("head")[0];t.appendChild(e)}var qE=function(){var e=0,t=null;return{add:function(n){e==0&&(t=WE())&&(HE(t,n),UE(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},ZE=function(){var e=qE();return function(t,n){Se.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},v3=function(){var e=ZE(),t=function(n){var r=n.styles,o=n.dynamic;return e(r,o),null};return t},GE={left:0,top:0,right:0,gap:0},Qd=function(e){return parseInt(e||"",10)||0},KE=function(e){var t=window.getComputedStyle(document.body),n=t[e==="padding"?"paddingLeft":"marginLeft"],r=t[e==="padding"?"paddingTop":"marginTop"],o=t[e==="padding"?"paddingRight":"marginRight"];return[Qd(n),Qd(r),Qd(o)]},YE=function(e){if(e===void 0&&(e="margin"),typeof window>"u")return GE;var t=KE(e),n=document.documentElement.clientWidth,r=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,r-n+t[2]-t[0])}},XE=v3(),hi="data-scroll-locked",JE=function(e,t,n,r){var o=e.left,i=e.top,a=e.right,s=e.gap;return n===void 0&&(n="margin"),`
|
|
352
|
-
.`.concat(
|
|
350
|
+
*/var id,Nh;function fj(){if(Nh)return id;Nh=1;var e=Object.getOwnPropertySymbols,t=Object.prototype.hasOwnProperty,n=Object.prototype.propertyIsEnumerable;function r(i){if(i==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(i)}function o(){try{if(!Object.assign)return!1;var i=new String("abc");if(i[5]="de",Object.getOwnPropertyNames(i)[0]==="5")return!1;for(var a={},s=0;s<10;s++)a["_"+String.fromCharCode(s)]=s;var l=Object.getOwnPropertyNames(a).map(function(u){return a[u]});if(l.join("")!=="0123456789")return!1;var c={};return"abcdefghijklmnopqrst".split("").forEach(function(u){c[u]=u}),Object.keys(Object.assign({},c)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}return id=o()?Object.assign:function(i,a){for(var s,l=r(i),c,u=1;u<arguments.length;u++){s=Object(arguments[u]);for(var f in s)t.call(s,f)&&(l[f]=s[f]);if(e){c=e(s);for(var p=0;p<c.length;p++)n.call(s,c[p])&&(l[c[p]]=s[c[p]])}}return l},id}var ad,Rh;function sd(){if(Rh)return ad;Rh=1;var e="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return ad=e,ad}var ld,Vh;function Wh(){return Vh||(Vh=1,ld=Function.call.bind(Object.prototype.hasOwnProperty)),ld}var cd,Hh;function pj(){if(Hh)return cd;Hh=1;var e=function(){};if(process.env.NODE_ENV!=="production"){var t=sd(),n={},r=Wh();e=function(i){var a="Warning: "+i;typeof console<"u"&&console.error(a);try{throw new Error(a)}catch{}}}function o(i,a,s,l,c){if(process.env.NODE_ENV!=="production"){for(var u in i)if(r(i,u)){var f;try{if(typeof i[u]!="function"){var p=Error((l||"React class")+": "+s+" type `"+u+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof i[u]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw p.name="Invariant Violation",p}f=i[u](a,u,l,s,null,t)}catch(b){f=b}if(f&&!(f instanceof Error)&&e((l||"React class")+": type specification of "+s+" `"+u+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof f+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),f instanceof Error&&!(f.message in n)){n[f.message]=!0;var h=c?c():"";e("Failed "+s+" type: "+f.message+(h??""))}}}}return o.resetWarningCache=function(){process.env.NODE_ENV!=="production"&&(n={})},cd=o,cd}var ud,Uh;function hj(){if(Uh)return ud;Uh=1;var e=kc,t=fj(),n=sd(),r=Wh(),o=pj(),i=function(){};process.env.NODE_ENV!=="production"&&(i=function(s){var l="Warning: "+s;typeof console<"u"&&console.error(l);try{throw new Error(l)}catch{}});function a(){return null}return ud=function(s,l){var c=typeof Symbol=="function"&&Symbol.iterator,u="@@iterator";function f(O){var F=O&&(c&&O[c]||O[u]);if(typeof F=="function")return F}var p="<<anonymous>>",h={array:S("array"),bigint:S("bigint"),bool:S("boolean"),func:S("function"),number:S("number"),object:S("object"),string:S("string"),symbol:S("symbol"),any:y(),arrayOf:w,element:j(),elementType:x(),instanceOf:E,node:z(),objectOf:D,oneOf:P,oneOfType:R,shape:ce,exact:le};function b(O,F){return O===F?O!==0||1/O===1/F:O!==O&&F!==F}function m(O,F){this.message=O,this.data=F&&typeof F=="object"?F:{},this.stack=""}m.prototype=Error.prototype;function v(O){if(process.env.NODE_ENV!=="production")var F={},Z=0;function V(C,J,Q,ee,me,de,ke){if(ee=ee||p,de=de||Q,ke!==n){if(l){var H=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types");throw H.name="Invariant Violation",H}else if(process.env.NODE_ENV!=="production"&&typeof console<"u"){var Te=ee+":"+Q;!F[Te]&&Z<3&&(i("You are manually calling a React.PropTypes validation function for the `"+de+"` prop on `"+ee+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),F[Te]=!0,Z++)}}return J[Q]==null?C?J[Q]===null?new m("The "+me+" `"+de+"` is marked as required "+("in `"+ee+"`, but its value is `null`.")):new m("The "+me+" `"+de+"` is marked as required in "+("`"+ee+"`, but its value is `undefined`.")):null:O(J,Q,ee,me,de)}var B=V.bind(null,!1);return B.isRequired=V.bind(null,!0),B}function S(O){function F(Z,V,B,C,J,Q){var ee=Z[V],me=K(ee);if(me!==O){var de=N(ee);return new m("Invalid "+C+" `"+J+"` of type "+("`"+de+"` supplied to `"+B+"`, expected ")+("`"+O+"`."),{expectedType:O})}return null}return v(F)}function y(){return v(a)}function w(O){function F(Z,V,B,C,J){if(typeof O!="function")return new m("Property `"+J+"` of component `"+B+"` has invalid PropType notation inside arrayOf.");var Q=Z[V];if(!Array.isArray(Q)){var ee=K(Q);return new m("Invalid "+C+" `"+J+"` of type "+("`"+ee+"` supplied to `"+B+"`, expected an array."))}for(var me=0;me<Q.length;me++){var de=O(Q,me,B,C,J+"["+me+"]",n);if(de instanceof Error)return de}return null}return v(F)}function j(){function O(F,Z,V,B,C){var J=F[Z];if(!s(J)){var Q=K(J);return new m("Invalid "+B+" `"+C+"` of type "+("`"+Q+"` supplied to `"+V+"`, expected a single ReactElement."))}return null}return v(O)}function x(){function O(F,Z,V,B,C){var J=F[Z];if(!e.isValidElementType(J)){var Q=K(J);return new m("Invalid "+B+" `"+C+"` of type "+("`"+Q+"` supplied to `"+V+"`, expected a single ReactElement type."))}return null}return v(O)}function E(O){function F(Z,V,B,C,J){if(!(Z[V]instanceof O)){var Q=O.name||p,ee=he(Z[V]);return new m("Invalid "+C+" `"+J+"` of type "+("`"+ee+"` supplied to `"+B+"`, expected ")+("instance of `"+Q+"`."))}return null}return v(F)}function P(O){if(!Array.isArray(O))return process.env.NODE_ENV!=="production"&&(arguments.length>1?i("Invalid arguments supplied to oneOf, expected an array, got "+arguments.length+" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."):i("Invalid argument supplied to oneOf, expected an array.")),a;function F(Z,V,B,C,J){for(var Q=Z[V],ee=0;ee<O.length;ee++)if(b(Q,O[ee]))return null;var me=JSON.stringify(O,function(ke,H){var Te=N(H);return Te==="symbol"?String(H):H});return new m("Invalid "+C+" `"+J+"` of value `"+String(Q)+"` "+("supplied to `"+B+"`, expected one of "+me+"."))}return v(F)}function D(O){function F(Z,V,B,C,J){if(typeof O!="function")return new m("Property `"+J+"` of component `"+B+"` has invalid PropType notation inside objectOf.");var Q=Z[V],ee=K(Q);if(ee!=="object")return new m("Invalid "+C+" `"+J+"` of type "+("`"+ee+"` supplied to `"+B+"`, expected an object."));for(var me in Q)if(r(Q,me)){var de=O(Q,me,B,C,J+"."+me,n);if(de instanceof Error)return de}return null}return v(F)}function R(O){if(!Array.isArray(O))return process.env.NODE_ENV!=="production"&&i("Invalid argument supplied to oneOfType, expected an instance of array."),a;for(var F=0;F<O.length;F++){var Z=O[F];if(typeof Z!="function")return i("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+ue(Z)+" at index "+F+"."),a}function V(B,C,J,Q,ee){for(var me=[],de=0;de<O.length;de++){var ke=O[de],H=ke(B,C,J,Q,ee,n);if(H==null)return null;H.data&&r(H.data,"expectedType")&&me.push(H.data.expectedType)}var Te=me.length>0?", expected one of type ["+me.join(", ")+"]":"";return new m("Invalid "+Q+" `"+ee+"` supplied to "+("`"+J+"`"+Te+"."))}return v(V)}function z(){function O(F,Z,V,B,C){return L(F[Z])?null:new m("Invalid "+B+" `"+C+"` supplied to "+("`"+V+"`, expected a ReactNode."))}return v(O)}function X(O,F,Z,V,B){return new m((O||"React class")+": "+F+" type `"+Z+"."+V+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+B+"`.")}function ce(O){function F(Z,V,B,C,J){var Q=Z[V],ee=K(Q);if(ee!=="object")return new m("Invalid "+C+" `"+J+"` of type `"+ee+"` "+("supplied to `"+B+"`, expected `object`."));for(var me in O){var de=O[me];if(typeof de!="function")return X(B,C,J,me,N(de));var ke=de(Q,me,B,C,J+"."+me,n);if(ke)return ke}return null}return v(F)}function le(O){function F(Z,V,B,C,J){var Q=Z[V],ee=K(Q);if(ee!=="object")return new m("Invalid "+C+" `"+J+"` of type `"+ee+"` "+("supplied to `"+B+"`, expected `object`."));var me=t({},Z[V],O);for(var de in me){var ke=O[de];if(r(O,de)&&typeof ke!="function")return X(B,C,J,de,N(ke));if(!ke)return new m("Invalid "+C+" `"+J+"` key `"+de+"` supplied to `"+B+"`.\nBad object: "+JSON.stringify(Z[V],null," ")+`
|
|
351
|
+
Valid keys: `+JSON.stringify(Object.keys(O),null," "));var H=ke(Q,de,B,C,J+"."+de,n);if(H)return H}return null}return v(F)}function L(O){switch(typeof O){case"number":case"string":case"undefined":return!0;case"boolean":return!O;case"object":if(Array.isArray(O))return O.every(L);if(O===null||s(O))return!0;var F=f(O);if(F){var Z=F.call(O),V;if(F!==O.entries){for(;!(V=Z.next()).done;)if(!L(V.value))return!1}else for(;!(V=Z.next()).done;){var B=V.value;if(B&&!L(B[1]))return!1}}else return!1;return!0;default:return!1}}function Y(O,F){return O==="symbol"?!0:F?F["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&F instanceof Symbol:!1}function K(O){var F=typeof O;return Array.isArray(O)?"array":O instanceof RegExp?"object":Y(F,O)?"symbol":F}function N(O){if(typeof O>"u"||O===null)return""+O;var F=K(O);if(F==="object"){if(O instanceof Date)return"date";if(O instanceof RegExp)return"regexp"}return F}function ue(O){var F=N(O);switch(F){case"array":case"object":return"an "+F;case"boolean":case"date":case"regexp":return"a "+F;default:return F}}function he(O){return!O.constructor||!O.constructor.name?p:O.constructor.name}return h.checkPropTypes=o,h.resetWarningCache=o.resetWarningCache,h.PropTypes=h,h},ud}var dd,qh;function mj(){if(qh)return dd;qh=1;var e=sd();function t(){}function n(){}return n.resetWarningCache=t,dd=function(){function r(a,s,l,c,u,f){if(f!==e){var p=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw p.name="Invariant Violation",p}}r.isRequired=r;function o(){return r}var i={array:r,bigint:r,bool:r,func:r,number:r,object:r,string:r,symbol:r,any:r,arrayOf:o,element:r,elementType:r,instanceOf:o,node:r,objectOf:o,oneOf:o,oneOfType:o,shape:o,exact:o,checkPropTypes:n,resetWarningCache:t};return i.PropTypes=i,i},dd}if(process.env.NODE_ENV!=="production"){var gj=kc,vj=!0;od.exports=hj()(gj.isElement,vj)}else od.exports=mj()();var ft=od.exports;const st=Ua(ft);var fd="data-focus-lock",Zh="data-focus-lock-disabled",bj="data-no-focus-lock",yj="data-autofocus-inside",xj="data-no-autofocus";function pd(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}function Cj(e,t){var n=g.useState(function(){return{value:e,callback:t,facade:{get current(){return n.value},set current(r){var o=n.value;o!==r&&(n.value=r,n.callback(r,o))}}}})[0];return n.callback=t,n.facade}var wj=typeof window<"u"?Se.useLayoutEffect:Se.useEffect,Gh=new WeakMap;function Kh(e,t){var n=Cj(null,function(r){return e.forEach(function(o){return pd(o,r)})});return wj(function(){var r=Gh.get(n);if(r){var o=new Set(r),i=new Set(e),a=n.current;o.forEach(function(s){i.has(s)||pd(s,null)}),i.forEach(function(s){o.has(s)||pd(s,a)})}Gh.set(n,e)},[e]),n}var hd={width:"1px",height:"0px",padding:0,overflow:"hidden",position:"fixed",top:"1px",left:"1px"};process.env.NODE_ENV!=="production"&&st.node;var nr=function(){return nr=Object.assign||function(t){for(var n,r=1,o=arguments.length;r<o;r++){n=arguments[r];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t},nr.apply(this,arguments)};function Yh(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n}function fo(e,t,n,r){function o(i){return i instanceof n?i:new n(function(a){a(i)})}return new(n||(n=Promise))(function(i,a){function s(u){try{c(r.next(u))}catch(f){a(f)}}function l(u){try{c(r.throw(u))}catch(f){a(f)}}function c(u){u.done?i(u.value):o(u.value).then(s,l)}c((r=r.apply(e,t||[])).next())})}function Sj(e,t,n){if(n||arguments.length===2)for(var r=0,o=t.length,i;r<o;r++)(i||!(r in t))&&(i||(i=Array.prototype.slice.call(t,0,r)),i[r]=t[r]);return e.concat(i||Array.prototype.slice.call(t))}typeof SuppressedError=="function"&&SuppressedError;function Xh(e){return e}function Jh(e,t){t===void 0&&(t=Xh);var n=[],r=!1,o={read:function(){if(r)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return n.length?n[n.length-1]:e},useMedium:function(i){var a=t(i,r);return n.push(a),function(){n=n.filter(function(s){return s!==a})}},assignSyncMedium:function(i){for(r=!0;n.length;){var a=n;n=[],a.forEach(i)}n={push:function(s){return i(s)},filter:function(){return n}}},assignMedium:function(i){r=!0;var a=[];if(n.length){var s=n;n=[],s.forEach(i),a=n}var l=function(){var u=a;a=[],u.forEach(i)},c=function(){return Promise.resolve().then(l)};c(),n={push:function(u){a.push(u),c()},filter:function(u){return a=a.filter(u),n}}}};return o}function md(e,t){return t===void 0&&(t=Xh),Jh(e,t)}function Qh(e){e===void 0&&(e={});var t=Jh(null);return t.options=nr({async:!0,ssr:!1},e),t}var em=function(e){var t=e.sideCar,n=Yh(e,["sideCar"]);if(!t)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var r=t.read();if(!r)throw new Error("Sidecar medium not found");return Se.createElement(r,nr({},n))};em.isSideCarExport=!0;function kj(e,t){return e.useMedium(t),em}var tm=md({},function(e){var t=e.target,n=e.currentTarget;return{target:t,currentTarget:n}}),nm=md(),_j=md(),jj=Qh({async:!0,ssr:typeof document<"u"}),Tj=g.createContext(void 0),Pj=[],gd=g.forwardRef(function(t,n){var r,o=g.useState(),i=o[0],a=o[1],s=g.useRef(),l=g.useRef(!1),c=g.useRef(null),u=g.useState({}),f=u[1],p=t.children,h=t.disabled,b=h===void 0?!1:h,m=t.noFocusGuards,v=m===void 0?!1:m,S=t.persistentFocus,y=S===void 0?!1:S,w=t.crossFrame,j=w===void 0?!0:w,x=t.autoFocus,E=x===void 0?!0:x,P=t.allowTextSelection,D=t.group,R=t.className,z=t.whiteList,X=t.hasPositiveIndices,ce=t.shards,le=ce===void 0?Pj:ce,L=t.as,Y=L===void 0?"div":L,K=t.lockProps,N=K===void 0?{}:K,ue=t.sideCar,he=t.returnFocus,O=he===void 0?!1:he,F=t.focusOptions,Z=t.onActivation,V=t.onDeactivation,B=g.useState({}),C=B[0],J=g.useCallback(function(re){var xe=re.captureFocusRestore;if(!c.current){var ve,be=(ve=document)==null?void 0:ve.activeElement;c.current=be,be!==document.body&&(c.current=xe(be))}s.current&&Z&&Z(s.current),l.current=!0,f()},[Z]),Q=g.useCallback(function(){l.current=!1,V&&V(s.current),f()},[V]),ee=g.useCallback(function(re){var xe=c.current;if(xe){var ve=(typeof xe=="function"?xe():xe)||document.body,be=typeof O=="function"?O(ve):O;if(be){var je=typeof be=="object"?be:void 0;c.current=null,re?Promise.resolve().then(function(){return ve.focus(je)}):ve.focus(je)}}},[O]),me=g.useCallback(function(re){l.current&&tm.useMedium(re)},[]),de=nm.useMedium,ke=g.useCallback(function(re){s.current!==re&&(s.current=re,a(re))},[]);process.env.NODE_ENV!=="production"&&(typeof P<"u"&&console.warn("React-Focus-Lock: allowTextSelection is deprecated and enabled by default"),g.useEffect(function(){!s.current&&typeof Y!="string"&&console.error("FocusLock: could not obtain ref to internal node")},[]));var H=to((r={},r[Zh]=b&&"disabled",r[fd]=D,r),N),Te=v!==!0,De=Te&&v!=="tail",A=Kh([n,ke]),q=g.useMemo(function(){return{observed:s,shards:le,enabled:!b,active:l.current}},[b,l.current,le,i]);return g.createElement(g.Fragment,null,Te&&[g.createElement("div",{key:"guard-first","data-focus-guard":!0,tabIndex:b?-1:0,style:hd}),X?g.createElement("div",{key:"guard-nearest","data-focus-guard":!0,tabIndex:b?-1:1,style:hd}):null],!b&&g.createElement(ue,{id:C,sideCar:jj,observed:i,disabled:b,persistentFocus:y,crossFrame:j,autoFocus:E,whiteList:z,shards:le,onActivation:J,onDeactivation:Q,returnFocus:ee,focusOptions:F,noFocusGuards:v}),g.createElement(Y,to({ref:A},H,{className:R,onBlur:de,onFocus:me}),g.createElement(Tj.Provider,{value:q},p)),De&&g.createElement("div",{"data-focus-guard":!0,tabIndex:b?-1:0,style:hd}))});gd.propTypes=process.env.NODE_ENV!=="production"?{children:ft.node,disabled:ft.bool,returnFocus:ft.oneOfType([ft.bool,ft.object,ft.func]),focusOptions:ft.object,noFocusGuards:ft.bool,hasPositiveIndices:ft.bool,allowTextSelection:ft.bool,autoFocus:ft.bool,persistentFocus:ft.bool,crossFrame:ft.bool,group:ft.string,className:ft.string,whiteList:ft.func,shards:ft.arrayOf(ft.any),as:ft.oneOfType([ft.string,ft.func,ft.object]),lockProps:ft.object,onActivation:ft.func,onDeactivation:ft.func,sideCar:ft.any.isRequired}:{};function vd(e,t){return vd=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,r){return n.__proto__=r,n},vd(e,t)}function Ej(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,vd(e,t)}function wa(e){"@babel/helpers - typeof";return wa=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},wa(e)}function Aj(e,t){if(wa(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if(wa(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Mj(e){var t=Aj(e,"string");return wa(t)=="symbol"?t:t+""}function Oj(e,t,n){return(t=Mj(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ij(e,t){if(process.env.NODE_ENV!=="production"){if(typeof e!="function")throw new Error("Expected reducePropsToState to be a function.");if(typeof t!="function")throw new Error("Expected handleStateChangeOnClient to be a function.")}function n(r){return r.displayName||r.name||"Component"}return function(o){if(process.env.NODE_ENV!=="production"&&typeof o!="function")throw new Error("Expected WrappedComponent to be a React component.");var i=[],a;function s(){a=e(i.map(function(c){return c.props})),t(a)}var l=function(c){Ej(u,c);function u(){return c.apply(this,arguments)||this}u.peek=function(){return a};var f=u.prototype;return f.componentDidMount=function(){i.push(this),s()},f.componentDidUpdate=function(){s()},f.componentWillUnmount=function(){var h=i.indexOf(this);i.splice(h,1),s()},f.render=function(){return g.createElement(o,this.props)},u}(g.PureComponent);return Oj(l,"displayName","SideEffect("+n(o)+")"),l}}var rr=function(e){for(var t=Array(e.length),n=0;n<e.length;++n)t[n]=e[n];return t},po=function(e){return Array.isArray(e)?e:[e]},rm=function(e){return Array.isArray(e)?e[0]:e},Dj=function(e){if(e.nodeType!==Node.ELEMENT_NODE)return!1;var t=window.getComputedStyle(e,null);return!t||!t.getPropertyValue?!1:t.getPropertyValue("display")==="none"||t.getPropertyValue("visibility")==="hidden"},om=function(e){return e.parentNode&&e.parentNode.nodeType===Node.DOCUMENT_FRAGMENT_NODE?e.parentNode.host:e.parentNode},im=function(e){return e===document||e&&e.nodeType===Node.DOCUMENT_NODE},$j=function(e){return e.hasAttribute("inert")},Fj=function(e,t){return!e||im(e)||!Dj(e)&&!$j(e)&&t(om(e))},am=function(e,t){var n=e.get(t);if(n!==void 0)return n;var r=Fj(t,am.bind(void 0,e));return e.set(t,r),r},zj=function(e,t){return e&&!im(e)?Nj(e)?t(om(e)):!1:!0},sm=function(e,t){var n=e.get(t);if(n!==void 0)return n;var r=zj(t,sm.bind(void 0,e));return e.set(t,r),r},lm=function(e){return e.dataset},Lj=function(e){return e.tagName==="BUTTON"},cm=function(e){return e.tagName==="INPUT"},um=function(e){return cm(e)&&e.type==="radio"},Bj=function(e){return!((cm(e)||Lj(e))&&(e.type==="hidden"||e.disabled))},Nj=function(e){var t=e.getAttribute(xj);return![!0,"true",""].includes(t)},bd=function(e){var t;return!!(e&&(!((t=lm(e))===null||t===void 0)&&t.focusGuard))},yd=function(e){return!bd(e)},Rj=function(e){return!!e},Vj=function(e,t){var n=Math.max(0,e.tabIndex),r=Math.max(0,t.tabIndex),o=n-r,i=e.index-t.index;if(o){if(!n)return 1;if(!r)return-1}return o||i},Wj=function(e){return e.tabIndex<0&&!e.hasAttribute("tabindex")?0:e.tabIndex},xd=function(e,t,n){return rr(e).map(function(r,o){var i=Wj(r);return{node:r,index:o,tabIndex:n&&i===-1?(r.dataset||{}).focusGuard?0:-1:i}}).filter(function(r){return!t||r.tabIndex>=0}).sort(Vj)},Hj=["button:enabled","select:enabled","textarea:enabled","input:enabled","a[href]","area[href]","summary","iframe","object","embed","audio[controls]","video[controls]","[tabindex]","[contenteditable]","[autofocus]"],Cd=Hj.join(","),Uj="".concat(Cd,", [data-focus-guard]"),dm=function(e,t){return rr((e.shadowRoot||e).children).reduce(function(n,r){return n.concat(r.matches(t?Uj:Cd)?[r]:[],dm(r))},[])},qj=function(e,t){var n;return e instanceof HTMLIFrameElement&&(!((n=e.contentDocument)===null||n===void 0)&&n.body)?ni([e.contentDocument.body],t):[e]},ni=function(e,t){return e.reduce(function(n,r){var o,i=dm(r,t),a=(o=[]).concat.apply(o,i.map(function(s){return qj(s,t)}));return n.concat(a,r.parentNode?rr(r.parentNode.querySelectorAll(Cd)).filter(function(s){return s===r}):[])},[])},Zj=function(e){var t=e.querySelectorAll("[".concat(yj,"]"));return rr(t).map(function(n){return ni([n])}).reduce(function(n,r){return n.concat(r)},[])},wd=function(e,t){return rr(e).filter(function(n){return am(t,n)}).filter(function(n){return Bj(n)})},fm=function(e,t){return t===void 0&&(t=new Map),rr(e).filter(function(n){return sm(t,n)})},Sd=function(e,t,n){return xd(wd(ni(e,n),t),!0,n)},Sa=function(e,t){return xd(wd(ni(e),t),!1)},Gj=function(e,t){return wd(Zj(e),t)},ho=function(e,t){return e.shadowRoot?ho(e.shadowRoot,t):Object.getPrototypeOf(e).contains!==void 0&&Object.getPrototypeOf(e).contains.call(e,t)?!0:rr(e.children).some(function(n){var r;if(n instanceof HTMLIFrameElement){var o=(r=n.contentDocument)===null||r===void 0?void 0:r.body;return o?ho(o,t):!1}return ho(n,t)})},Kj=function(e){for(var t=new Set,n=e.length,r=0;r<n;r+=1)for(var o=r+1;o<n;o+=1){var i=e[r].compareDocumentPosition(e[o]);(i&Node.DOCUMENT_POSITION_CONTAINED_BY)>0&&t.add(o),(i&Node.DOCUMENT_POSITION_CONTAINS)>0&&t.add(r)}return e.filter(function(a,s){return!t.has(s)})},pm=function(e){return e.parentNode?pm(e.parentNode):e},kd=function(e){var t=po(e);return t.filter(Boolean).reduce(function(n,r){var o=r.getAttribute(fd);return n.push.apply(n,o?Kj(rr(pm(r).querySelectorAll("[".concat(fd,'="').concat(o,'"]:not([').concat(Zh,'="disabled"])')))):[r]),n},[])},Yj=function(e){try{return e()}catch{return}},ka=function(e){if(e===void 0&&(e=document),!(!e||!e.activeElement)){var t=e.activeElement;return t.shadowRoot?ka(t.shadowRoot):t instanceof HTMLIFrameElement&&Yj(function(){return t.contentWindow.document})?ka(t.contentWindow.document):t}},Xj=function(e,t){return e===t},Jj=function(e,t){return!!rr(e.querySelectorAll("iframe")).some(function(n){return Xj(n,t)})},hm=function(e,t){return t===void 0&&(t=ka(rm(e).ownerDocument)),!t||t.dataset&&t.dataset.focusGuard?!1:kd(e).some(function(n){return ho(n,t)||Jj(n,t)})},Qj=function(e){e===void 0&&(e=document);var t=ka(e);return t?rr(e.querySelectorAll("[".concat(bj,"]"))).some(function(n){return ho(n,t)}):!1},eT=function(e,t){return t.filter(um).filter(function(n){return n.name===e.name}).filter(function(n){return n.checked})[0]||e},_d=function(e,t){return um(e)&&e.name?eT(e,t):e},tT=function(e){var t=new Set;return e.forEach(function(n){return t.add(_d(n,e))}),e.filter(function(n){return t.has(n)})},mm=function(e){return e[0]&&e.length>1?_d(e[0],e):e[0]},gm=function(e,t){return e.indexOf(_d(t,e))},jd="NEW_FOCUS",nT=function(e,t,n,r,o){var i=e.length,a=e[0],s=e[i-1],l=bd(r);if(!(r&&e.indexOf(r)>=0)){var c=r!==void 0?n.indexOf(r):-1,u=o?n.indexOf(o):c,f=o?e.indexOf(o):-1;if(c===-1)return f!==-1?f:jd;if(f===-1)return jd;var p=c-u,h=n.indexOf(a),b=n.indexOf(s),m=tT(n),v=r!==void 0?m.indexOf(r):-1,S=v-(o?m.indexOf(o):c);if(!p&&f>=0||t.length===0)return f;var y=gm(e,t[0]),w=gm(e,t[t.length-1]);if(c<=h&&l&&Math.abs(p)>1)return w;if(c>=b&&l&&Math.abs(p)>1)return y;if(p&&Math.abs(S)>1)return f;if(c<=h)return w;if(c>b)return y;if(p)return Math.abs(p)>1?f:(i+f+p)%i}},rT=function(e){return function(t){var n,r=(n=lm(t))===null||n===void 0?void 0:n.autofocus;return t.autofocus||r!==void 0&&r!=="false"||e.indexOf(t)>=0}},vm=function(e,t,n){var r=e.map(function(i){var a=i.node;return a}),o=fm(r.filter(rT(n)));return o&&o.length?mm(o):mm(fm(t))},Td=function(e,t){return t===void 0&&(t=[]),t.push(e),e.parentNode&&Td(e.parentNode.host||e.parentNode,t),t},Pd=function(e,t){for(var n=Td(e),r=Td(t),o=0;o<n.length;o+=1){var i=n[o];if(r.indexOf(i)>=0)return i}return!1},bm=function(e,t,n){var r=po(e),o=po(t),i=r[0],a=!1;return o.filter(Boolean).forEach(function(s){a=Pd(a||s,s)||a,n.filter(Boolean).forEach(function(l){var c=Pd(i,l);c&&(!a||ho(c,a)?a=c:a=Pd(c,a))})}),a},ym=function(e,t){return e.reduce(function(n,r){return n.concat(Gj(r,t))},[])},oT=function(e,t){var n=new Map;return t.forEach(function(r){return n.set(r.node,r)}),e.map(function(r){return n.get(r)}).filter(Rj)},iT=function(e,t){var n=ka(po(e).length>0?document:rm(e).ownerDocument),r=kd(e).filter(yd),o=bm(n||e,e,r),i=new Map,a=Sa(r,i),s=a.filter(function(b){var m=b.node;return yd(m)});if(s[0]){var l=Sa([o],i).map(function(b){var m=b.node;return m}),c=oT(l,s),u=c.map(function(b){var m=b.node;return m}),f=c.filter(function(b){var m=b.tabIndex;return m>=0}).map(function(b){var m=b.node;return m}),p=nT(u,f,l,n,t);if(p===jd){var h=vm(a,f,ym(r,i))||vm(a,u,ym(r,i));if(h)return{node:h};console.warn("focus-lock: cannot find any node to move focus into");return}return p===void 0?p:c[p]}},aT=function(e){var t=kd(e).filter(yd),n=bm(e,e,t),r=xd(ni([n],!0),!0,!0),o=ni(t,!1);return r.map(function(i){var a=i.node,s=i.index;return{node:a,index:s,lockItem:o.indexOf(a)>=0,guard:bd(a)}})},Ed=function(e,t){e&&("focus"in e&&e.focus(t),"contentWindow"in e&&e.contentWindow&&e.contentWindow.focus())},Ad=0,Md=!1,xm=function(e,t,n){n===void 0&&(n={});var r=iT(e,t);if(!Md&&r){if(Ad>2){console.error("FocusLock: focus-fighting detected. Only one focus management system could be active. See https://github.com/theKashey/focus-lock/#focus-fighting"),Md=!0,setTimeout(function(){Md=!1},1);return}Ad++,Ed(r.node,n.focusOptions),Ad--}};function _a(e){if(!e)return null;if(typeof WeakRef>"u")return function(){return e||null};var t=e?new WeakRef(e):null;return function(){return(t==null?void 0:t.deref())||null}}var sT=function(e){if(!e)return null;for(var t=[],n=e;n&&n!==document.body;)t.push({current:_a(n),parent:_a(n.parentElement),left:_a(n.previousElementSibling),right:_a(n.nextElementSibling)}),n=n.parentElement;return{element:_a(e),stack:t,ownerDocument:e.ownerDocument}},lT=function(e){var t,n,r,o,i;if(e)for(var a=e.stack,s=e.ownerDocument,l=new Map,c=0,u=a;c<u.length;c++){var f=u[c],p=(t=f.parent)===null||t===void 0?void 0:t.call(f);if(p&&s.contains(p)){for(var h=(n=f.left)===null||n===void 0?void 0:n.call(f),b=f.current(),m=p.contains(b)?b:void 0,v=(r=f.right)===null||r===void 0?void 0:r.call(f),S=Sd([p],l),y=(i=(o=m??(h==null?void 0:h.nextElementSibling))!==null&&o!==void 0?o:v)!==null&&i!==void 0?i:h;y;){for(var w=0,j=S;w<j.length;w++){var x=j[w];if(y!=null&&y.contains(x.node))return x.node}y=y.nextElementSibling}if(S.length)return S[0].node}}},Cm=function(e){var t=sT(e);return function(){return lT(t)}},cT=function(e,t,n){if(!e||!t)return console.error("no element or scope given"),{};var r=po(t);if(r.every(function(a){return!ho(a,e)}))return console.error("Active element is not contained in the scope"),{};var o=n?Sd(r,new Map):Sa(r,new Map),i=o.findIndex(function(a){var s=a.node;return s===e});if(i!==-1)return{prev:o[i-1],next:o[i+1],first:o[0],last:o[o.length-1]}},uT=function(e,t){var n=t?Sd(po(e),new Map):Sa(po(e),new Map);return{first:n[0],last:n[n.length-1]}},dT=function(e){return Object.assign({scope:document.body,cycle:!0,onlyTabbable:!0},e)},wm=function(e,t,n){t===void 0&&(t={});var r=dT(t),o=cT(e,r.scope,r.onlyTabbable);if(o){var i=n(o,r.cycle);i&&Ed(i.node,r.focusOptions)}},fT=function(e,t){t===void 0&&(t={}),wm(e,t,function(n,r){var o=n.next,i=n.first;return o||r&&i})},pT=function(e,t){t===void 0&&(t={}),wm(e,t,function(n,r){var o=n.prev,i=n.last;return o||r&&i})},Sm=function(e,t,n){var r,o=uT(e,(r=t.onlyTabbable)!==null&&r!==void 0?r:!0),i=o[n];i&&Ed(i.node,t.focusOptions)},hT=function(e,t){t===void 0&&(t={}),Sm(e,t,"first")},mT=function(e,t){t===void 0&&(t={}),Sm(e,t,"last")};function Od(e){setTimeout(e,1)}var gT=function(t){return t&&"current"in t?t.current:t},km=function(){return document&&document.activeElement===document.body},vT=function(){return km()||Qj()},ri=null,cn=null,_m=function(){return null},oi=null,ja=!1,Id=!1,bT=function(){return!0},yT=function(t){return(ri.whiteList||bT)(t)},xT=function(t,n){oi={observerNode:t,portaledElement:n}},CT=function(t){return oi&&oi.portaledElement===t};function jm(e,t,n,r){var o=null,i=e;do{var a=r[i];if(a.guard)a.node.dataset.focusAutoGuard&&(o=a);else if(a.lockItem){if(i!==e)return;o=null}else break}while((i+=n)!==t);o&&(o.node.tabIndex=0)}var wT=function(t){return t?!!ja:ja==="meanwhile"},ST=function e(t,n,r){return n&&(n.host===t&&(!n.activeElement||r.contains(n.activeElement))||n.parentNode&&e(t,n.parentNode,r))},kT=function(t,n){return n.some(function(r){return ST(t,r,r)})},Tm=function(t){return Sa(t,new Map)},_T=function(t){return!Tm([t.parentNode]).some(function(n){return n.node===t})},el=function(){var t=!1;if(ri){var n=ri,r=n.observed,o=n.persistentFocus,i=n.autoFocus,a=n.shards,s=n.crossFrame,l=n.focusOptions,c=n.noFocusGuards,u=r||oi&&oi.portaledElement;if(km()&&cn&&cn!==document.body&&(!document.body.contains(cn)||_T(cn))){var f=_m();f&&f.focus()}var p=document&&document.activeElement;if(u){var h=[u].concat(a.map(gT).filter(Boolean)),b=function(){if(!wT(s)||!c||!cn||Id)return!1;var w=Tm(h),j=w.findIndex(function(x){var E=x.node;return E===cn});return j===0||j===w.length-1};if((!p||yT(p))&&(o||b()||!vT()||!cn&&i)&&(u&&!(hm(h)||p&&kT(p,h)||CT(p))&&(document&&!cn&&p&&!i?(p.blur&&p.blur(),document.body.focus()):(t=xm(h,cn,{focusOptions:l}),oi={})),cn=document&&document.activeElement,cn!==document.body&&(_m=Cm(cn)),ja=!1),document&&p!==document.activeElement&&document.querySelector("[data-focus-auto-guard]")){var m=document&&document.activeElement,v=aT(h),S=v.map(function(y){var w=y.node;return w}).indexOf(m);S>-1&&(v.filter(function(y){var w=y.guard,j=y.node;return w&&j.dataset.focusAutoGuard}).forEach(function(y){var w=y.node;return w.removeAttribute("tabIndex")}),jm(S,v.length,1,v),jm(S,-1,-1,v))}}}return t},Pm=function(t){el()&&t&&(t.stopPropagation(),t.preventDefault())},Dd=function(){return Od(el)},jT=function(t){var n=t.target,r=t.currentTarget;r.contains(n)||xT(r,n)},TT=function(){return null};process.env.NODE_ENV!=="production"&&st.node.isRequired;var Em=function(){Id=!0},Am=function(){Id=!1,ja="just",Od(function(){ja="meanwhile"})},PT=function(){document.addEventListener("focusin",Pm),document.addEventListener("focusout",Dd),window.addEventListener("focus",Em),window.addEventListener("blur",Am)},ET=function(){document.removeEventListener("focusin",Pm),document.removeEventListener("focusout",Dd),window.removeEventListener("focus",Em),window.removeEventListener("blur",Am)};function AT(e){return e.filter(function(t){var n=t.disabled;return!n})}var Mm={moveFocusInside:xm,focusInside:hm,focusNextElement:fT,focusPrevElement:pT,focusFirstElement:hT,focusLastElement:mT,captureFocusRestore:Cm};function MT(e){var t=e.slice(-1)[0];t&&!ri&&PT();var n=ri,r=n&&t&&t.id===n.id;ri=t,n&&!r&&(n.onDeactivation(),e.filter(function(o){var i=o.id;return i===n.id}).length||n.returnFocus(!t)),t?(cn=null,(!r||n.observed!==t.observed)&&t.onActivation(Mm),el(),Od(el)):(ET(),cn=null)}tm.assignSyncMedium(jT),nm.assignMedium(Dd),_j.assignMedium(function(e){return e(Mm)});const OT=Ij(AT,MT)(TT);var $d=g.forwardRef(function(t,n){return g.createElement(gd,to({sideCar:OT,ref:n},t))}),Om=gd.propTypes||{};Om.sideCar;var IT=dj(Om,["sideCar"]);$d.propTypes=process.env.NODE_ENV!=="production"?IT:{};const DT=$d.default??$d,Im=e=>{const{initialFocusRef:t,finalFocusRef:n,contentRef:r,restoreFocus:o,children:i,isDisabled:a,autoFocus:s,persistentFocus:l,lockFocusAcrossFrames:c}=e,u=g.useCallback(()=>{t!=null&&t.current?t.current.focus():r!=null&&r.current&&gg(r.current).length===0&&requestAnimationFrame(()=>{var b;(b=r.current)==null||b.focus()})},[t,r]),f=g.useCallback(()=>{var h;(h=n==null?void 0:n.current)==null||h.focus()},[n]),p=o&&!n;return d.jsx(DT,{crossFrame:c,persistentFocus:l,autoFocus:s,disabled:a,onActivation:u,onDeactivation:f,returnFocus:p,children:i})};Im.displayName="FocusLock";const ii=ge(function(t,n){const r=er("FormLabel",t),o=Ct(t),{className:i,children:a,requiredIndicator:s=d.jsx(Dm,{}),optionalIndicator:l=null,...c}=o,u=Qs(),f=(u==null?void 0:u.getLabelProps(c,n))??{ref:n,...c};return d.jsxs(ae.label,{...f,className:Pe("chakra-form__label",o.className),__css:{display:"block",textAlign:"start",...r},children:[a,u!=null&&u.isRequired?s:l]})});ii.displayName="FormLabel";const Dm=ge(function(t,n){const r=Qs(),o=Dh();if(!(r!=null&&r.isRequired))return null;const i=Pe("chakra-form__required-indicator",t.className);return d.jsx(ae.span,{...r==null?void 0:r.getRequiredIndicatorProps(t,n),__css:o.requiredIndicator,className:i})});Dm.displayName="RequiredIndicator";const $m=ge(function(t,n){const{templateAreas:r,gap:o,rowGap:i,columnGap:a,column:s,row:l,autoFlow:c,autoRows:u,templateRows:f,autoColumns:p,templateColumns:h,...b}=t,m={display:"grid",gridTemplateAreas:r,gridGap:o,gridRowGap:i,gridColumnGap:a,gridAutoColumns:p,gridColumn:s,gridRow:l,gridAutoFlow:c,gridAutoRows:u,gridTemplateRows:f,gridTemplateColumns:h};return d.jsx(ae.div,{ref:n,__css:m,...b})});$m.displayName="Grid";function Ln(e){const{viewBox:t="0 0 24 24",d:n,displayName:r,defaultProps:o={}}=e,i=g.Children.toArray(e.path),a=ge((s,l)=>d.jsx(Xt,{ref:l,viewBox:t,...o,...s,children:i.length?i:d.jsx("path",{fill:"currentColor",d:n})}));return a.displayName=r,a}const Fd=ge(function(t,n){const{htmlWidth:r,htmlHeight:o,alt:i,...a}=t;return d.jsx("img",{width:r,height:o,ref:n,alt:i,...a})});Fd.displayName="NativeImage";const Fm=ge(function(t,n){const{fallbackSrc:r,fallback:o,src:i,srcSet:a,align:s,fit:l,loading:c,ignoreFallback:u,crossOrigin:f,fallbackStrategy:p="beforeLoadOrError",referrerPolicy:h,...b}=t,m=r!==void 0||o!==void 0,v=c!=null||u||!m,S=kh({...t,crossOrigin:f,ignoreFallback:v}),y=A_(S,p),w={ref:n,objectFit:l,objectPosition:s,...v?b:So(b,["onError","onLoad"])};return y?o||d.jsx(ae.img,{as:Fd,className:"chakra-image__placeholder",src:r,...w}):d.jsx(ae.img,{as:Fd,src:i,srcSet:a,crossOrigin:f,loading:c,referrerPolicy:h,className:"chakra-image",...w})});Fm.displayName="Image";const Ta=ge(function(t,n){const{htmlSize:r,...o}=t,i=Yt("Input",o),a=Ct(o),s=rd(a),l=Pe("chakra-input",t.className);return d.jsx(ae.input,{size:r,...s,__css:i.field,ref:n,className:l})});Ta.displayName="Input",Ta.id="Input";const[$T,FT]=ht({name:"InputGroupStylesContext",errorMessage:`useInputGroupStyles returned is 'undefined'. Seems you forgot to wrap the components in "<InputGroup />" `}),zm=ge(function(t,n){const r=Yt("Input",t),{children:o,className:i,...a}=Ct(t),s=Pe("chakra-input__group",i),l={},c=zl(o),u=r.field;c.forEach(p=>{r&&(u&&p.type.id==="InputLeftElement"&&(l.paddingStart=u.height??u.h),u&&p.type.id==="InputRightElement"&&(l.paddingEnd=u.height??u.h),p.type.id==="InputRightAddon"&&(l.borderEndRadius=0),p.type.id==="InputLeftAddon"&&(l.borderStartRadius=0))});const f=c.map(p=>{var b,m;const h=Ei({size:((b=p.props)==null?void 0:b.size)||t.size,variant:((m=p.props)==null?void 0:m.variant)||t.variant});return p.type.id!=="Input"?g.cloneElement(p,h):g.cloneElement(p,Object.assign(h,l,p.props))});return d.jsx(ae.div,{className:s,ref:n,__css:{width:"100%",display:"flex",position:"relative",isolation:"isolate",...r.group},"data-group":!0,...a,children:d.jsx($T,{value:r,children:f})})});zm.displayName="InputGroup";const zT=ae("div",{baseStyle:{display:"flex",alignItems:"center",justifyContent:"center",position:"absolute",top:"0",zIndex:2}}),tl=ge(function(t,n){const{placement:r="left",...o}=t,i=FT(),a=i.field,l={[r==="left"?"insetStart":"insetEnd"]:"0",width:(a==null?void 0:a.height)??(a==null?void 0:a.h),height:(a==null?void 0:a.height)??(a==null?void 0:a.h),fontSize:a==null?void 0:a.fontSize,...i.element};return d.jsx(zT,{ref:n,__css:l,...o})});tl.id="InputElement",tl.displayName="InputElement";const Lm=ge(function(t,n){const{className:r,...o}=t,i=Pe("chakra-input__left-element",r);return d.jsx(tl,{ref:n,placement:"left",className:i,...o})});Lm.id="InputLeftElement",Lm.displayName="InputLeftElement";const zd=ge(function(t,n){const{className:r,...o}=t,i=Pe("chakra-input__right-element",r);return d.jsx(tl,{ref:n,placement:"right",className:i,...o})});zd.id="InputRightElement",zd.displayName="InputRightElement";const Bm=ge(function(t,n){const r=er("Link",t),{className:o,isExternal:i,...a}=Ct(t);return d.jsx(ae.a,{target:i?"_blank":void 0,rel:i?"noopener":void 0,ref:n,className:Pe("chakra-link",o),...a,__css:r})});Bm.displayName="Link";const[LT,Nm]=ht({name:"ListStylesContext",errorMessage:`useListStyles returned is 'undefined'. Seems you forgot to wrap the components in "<List />" `}),nl=ge(function(t,n){const r=Yt("List",t),{children:o,styleType:i="none",stylePosition:a,spacing:s,...l}=Ct(t),c=zl(o),f=s?{["& > *:not(style) ~ *:not(style)"]:{mt:s}}:{};return d.jsx(LT,{value:r,children:d.jsx(ae.ul,{ref:n,listStyleType:i,listStylePosition:a,role:"list",__css:{...r.container,...f},...l,children:c})})});nl.displayName="List";const BT=ge((e,t)=>{const{as:n,...r}=e;return d.jsx(nl,{ref:t,as:"ol",styleType:"decimal",marginStart:"1em",...r})});BT.displayName="OrderedList";const NT=ge(function(t,n){const{as:r,...o}=t;return d.jsx(nl,{ref:n,as:"ul",styleType:"initial",marginStart:"1em",...o})});NT.displayName="UnorderedList";const Rm=ge(function(t,n){const r=Nm();return d.jsx(ae.li,{ref:n,...t,__css:r.item})});Rm.displayName="ListItem";const Vm=ge(function(t,n){const r=Nm();return d.jsx(Xt,{ref:n,role:"presentation",...t,__css:r.icon})});Vm.displayName="ListIcon";function RT(e,t,n,r){if(t==null)return r;if(!r)return e.find(a=>n(a).toLowerCase().startsWith(t.toLowerCase()));const o=e.filter(i=>n(i).toLowerCase().startsWith(t.toLowerCase()));if(o.length>0){let i;return o.includes(r)?(i=o.indexOf(r)+1,i===o.length&&(i=0),o[i]):(i=e.indexOf(o[0]),e[i])}return r}function VT(e){const{key:t}=e;return t.length===1||t.length>1&&/[^a-zA-Z0-9]/.test(t)}function WT(e={}){const{timeout:t=300,preventDefault:n=()=>!0}=e,[r,o]=g.useState([]),i=g.useRef(),a=()=>{i.current&&(clearTimeout(i.current),i.current=null)},s=()=>{a(),i.current=setTimeout(()=>{o([]),i.current=null},t)};g.useEffect(()=>a,[]);function l(c){return u=>{if(u.key==="Backspace"){const f=[...r];f.pop(),o(f);return}if(VT(u)){const f=r.concat(u.key);n(u)&&(u.preventDefault(),u.stopPropagation()),o(f),c(f.join("")),s()}}}return l}var un="top",En="bottom",An="right",dn="left",Ld="auto",Pa=[un,En,An,dn],ai="start",Ea="end",HT="clippingParents",Wm="viewport",Aa="popper",UT="reference",Hm=Pa.reduce(function(e,t){return e.concat([t+"-"+ai,t+"-"+Ea])},[]),Um=[].concat(Pa,[Ld]).reduce(function(e,t){return e.concat([t,t+"-"+ai,t+"-"+Ea])},[]),qT="beforeRead",ZT="read",GT="afterRead",KT="beforeMain",YT="main",XT="afterMain",JT="beforeWrite",QT="write",eP="afterWrite",tP=[qT,ZT,GT,KT,YT,XT,JT,QT,eP];function or(e){return e?(e.nodeName||"").toLowerCase():null}function yn(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function mo(e){var t=yn(e).Element;return e instanceof t||e instanceof Element}function Mn(e){var t=yn(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function Bd(e){if(typeof ShadowRoot>"u")return!1;var t=yn(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function nP(e){var t=e.state;Object.keys(t.elements).forEach(function(n){var r=t.styles[n]||{},o=t.attributes[n]||{},i=t.elements[n];!Mn(i)||!or(i)||(Object.assign(i.style,r),Object.keys(o).forEach(function(a){var s=o[a];s===!1?i.removeAttribute(a):i.setAttribute(a,s===!0?"":s)}))})}function rP(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach(function(r){var o=t.elements[r],i=t.attributes[r]||{},a=Object.keys(t.styles.hasOwnProperty(r)?t.styles[r]:n[r]),s=a.reduce(function(l,c){return l[c]="",l},{});!Mn(o)||!or(o)||(Object.assign(o.style,s),Object.keys(i).forEach(function(l){o.removeAttribute(l)}))})}}const oP={name:"applyStyles",enabled:!0,phase:"write",fn:nP,effect:rP,requires:["computeStyles"]};function ir(e){return e.split("-")[0]}var go=Math.max,rl=Math.min,si=Math.round;function Nd(){var e=navigator.userAgentData;return e!=null&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function qm(){return!/^((?!chrome|android).)*safari/i.test(Nd())}function li(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!1);var r=e.getBoundingClientRect(),o=1,i=1;t&&Mn(e)&&(o=e.offsetWidth>0&&si(r.width)/e.offsetWidth||1,i=e.offsetHeight>0&&si(r.height)/e.offsetHeight||1);var a=mo(e)?yn(e):window,s=a.visualViewport,l=!qm()&&n,c=(r.left+(l&&s?s.offsetLeft:0))/o,u=(r.top+(l&&s?s.offsetTop:0))/i,f=r.width/o,p=r.height/i;return{width:f,height:p,top:u,right:c+f,bottom:u+p,left:c,x:c,y:u}}function Rd(e){var t=li(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function Zm(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&Bd(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function wr(e){return yn(e).getComputedStyle(e)}function iP(e){return["table","td","th"].indexOf(or(e))>=0}function Br(e){return((mo(e)?e.ownerDocument:e.document)||window.document).documentElement}function ol(e){return or(e)==="html"?e:e.assignedSlot||e.parentNode||(Bd(e)?e.host:null)||Br(e)}function Gm(e){return!Mn(e)||wr(e).position==="fixed"?null:e.offsetParent}function aP(e){var t=/firefox/i.test(Nd()),n=/Trident/i.test(Nd());if(n&&Mn(e)){var r=wr(e);if(r.position==="fixed")return null}var o=ol(e);for(Bd(o)&&(o=o.host);Mn(o)&&["html","body"].indexOf(or(o))<0;){var i=wr(o);if(i.transform!=="none"||i.perspective!=="none"||i.contain==="paint"||["transform","perspective"].indexOf(i.willChange)!==-1||t&&i.willChange==="filter"||t&&i.filter&&i.filter!=="none")return o;o=o.parentNode}return null}function Ma(e){for(var t=yn(e),n=Gm(e);n&&iP(n)&&wr(n).position==="static";)n=Gm(n);return n&&(or(n)==="html"||or(n)==="body"&&wr(n).position==="static")?t:n||aP(e)||t}function Vd(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function Oa(e,t,n){return go(e,rl(t,n))}function sP(e,t,n){var r=Oa(e,t,n);return r>n?n:r}function Km(){return{top:0,right:0,bottom:0,left:0}}function Ym(e){return Object.assign({},Km(),e)}function Xm(e,t){return t.reduce(function(n,r){return n[r]=e,n},{})}var lP=function(t,n){return t=typeof t=="function"?t(Object.assign({},n.rects,{placement:n.placement})):t,Ym(typeof t!="number"?t:Xm(t,Pa))};function cP(e){var t,n=e.state,r=e.name,o=e.options,i=n.elements.arrow,a=n.modifiersData.popperOffsets,s=ir(n.placement),l=Vd(s),c=[dn,An].indexOf(s)>=0,u=c?"height":"width";if(!(!i||!a)){var f=lP(o.padding,n),p=Rd(i),h=l==="y"?un:dn,b=l==="y"?En:An,m=n.rects.reference[u]+n.rects.reference[l]-a[l]-n.rects.popper[u],v=a[l]-n.rects.reference[l],S=Ma(i),y=S?l==="y"?S.clientHeight||0:S.clientWidth||0:0,w=m/2-v/2,j=f[h],x=y-p[u]-f[b],E=y/2-p[u]/2+w,P=Oa(j,E,x),D=l;n.modifiersData[r]=(t={},t[D]=P,t.centerOffset=P-E,t)}}function uP(e){var t=e.state,n=e.options,r=n.element,o=r===void 0?"[data-popper-arrow]":r;o!=null&&(typeof o=="string"&&(o=t.elements.popper.querySelector(o),!o)||Zm(t.elements.popper,o)&&(t.elements.arrow=o))}const dP={name:"arrow",enabled:!0,phase:"main",fn:cP,effect:uP,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function ci(e){return e.split("-")[1]}var fP={top:"auto",right:"auto",bottom:"auto",left:"auto"};function pP(e,t){var n=e.x,r=e.y,o=t.devicePixelRatio||1;return{x:si(n*o)/o||0,y:si(r*o)/o||0}}function Jm(e){var t,n=e.popper,r=e.popperRect,o=e.placement,i=e.variation,a=e.offsets,s=e.position,l=e.gpuAcceleration,c=e.adaptive,u=e.roundOffsets,f=e.isFixed,p=a.x,h=p===void 0?0:p,b=a.y,m=b===void 0?0:b,v=typeof u=="function"?u({x:h,y:m}):{x:h,y:m};h=v.x,m=v.y;var S=a.hasOwnProperty("x"),y=a.hasOwnProperty("y"),w=dn,j=un,x=window;if(c){var E=Ma(n),P="clientHeight",D="clientWidth";if(E===yn(n)&&(E=Br(n),wr(E).position!=="static"&&s==="absolute"&&(P="scrollHeight",D="scrollWidth")),E=E,o===un||(o===dn||o===An)&&i===Ea){j=En;var R=f&&E===x&&x.visualViewport?x.visualViewport.height:E[P];m-=R-r.height,m*=l?1:-1}if(o===dn||(o===un||o===En)&&i===Ea){w=An;var z=f&&E===x&&x.visualViewport?x.visualViewport.width:E[D];h-=z-r.width,h*=l?1:-1}}var X=Object.assign({position:s},c&&fP),ce=u===!0?pP({x:h,y:m},yn(n)):{x:h,y:m};if(h=ce.x,m=ce.y,l){var le;return Object.assign({},X,(le={},le[j]=y?"0":"",le[w]=S?"0":"",le.transform=(x.devicePixelRatio||1)<=1?"translate("+h+"px, "+m+"px)":"translate3d("+h+"px, "+m+"px, 0)",le))}return Object.assign({},X,(t={},t[j]=y?m+"px":"",t[w]=S?h+"px":"",t.transform="",t))}function hP(e){var t=e.state,n=e.options,r=n.gpuAcceleration,o=r===void 0?!0:r,i=n.adaptive,a=i===void 0?!0:i,s=n.roundOffsets,l=s===void 0?!0:s,c={placement:ir(t.placement),variation:ci(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:o,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,Jm(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a,roundOffsets:l})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,Jm(Object.assign({},c,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}const mP={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:hP,data:{}};var il={passive:!0};function gP(e){var t=e.state,n=e.instance,r=e.options,o=r.scroll,i=o===void 0?!0:o,a=r.resize,s=a===void 0?!0:a,l=yn(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return i&&c.forEach(function(u){u.addEventListener("scroll",n.update,il)}),s&&l.addEventListener("resize",n.update,il),function(){i&&c.forEach(function(u){u.removeEventListener("scroll",n.update,il)}),s&&l.removeEventListener("resize",n.update,il)}}const vP={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:gP,data:{}};var bP={left:"right",right:"left",bottom:"top",top:"bottom"};function al(e){return e.replace(/left|right|bottom|top/g,function(t){return bP[t]})}var yP={start:"end",end:"start"};function Qm(e){return e.replace(/start|end/g,function(t){return yP[t]})}function Wd(e){var t=yn(e),n=t.pageXOffset,r=t.pageYOffset;return{scrollLeft:n,scrollTop:r}}function Hd(e){return li(Br(e)).left+Wd(e).scrollLeft}function xP(e,t){var n=yn(e),r=Br(e),o=n.visualViewport,i=r.clientWidth,a=r.clientHeight,s=0,l=0;if(o){i=o.width,a=o.height;var c=qm();(c||!c&&t==="fixed")&&(s=o.offsetLeft,l=o.offsetTop)}return{width:i,height:a,x:s+Hd(e),y:l}}function CP(e){var t,n=Br(e),r=Wd(e),o=(t=e.ownerDocument)==null?void 0:t.body,i=go(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),a=go(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),s=-r.scrollLeft+Hd(e),l=-r.scrollTop;return wr(o||n).direction==="rtl"&&(s+=go(n.clientWidth,o?o.clientWidth:0)-i),{width:i,height:a,x:s,y:l}}function Ud(e){var t=wr(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+r)}function e3(e){return["html","body","#document"].indexOf(or(e))>=0?e.ownerDocument.body:Mn(e)&&Ud(e)?e:e3(ol(e))}function Ia(e,t){var n;t===void 0&&(t=[]);var r=e3(e),o=r===((n=e.ownerDocument)==null?void 0:n.body),i=yn(r),a=o?[i].concat(i.visualViewport||[],Ud(r)?r:[]):r,s=t.concat(a);return o?s:s.concat(Ia(ol(a)))}function qd(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function wP(e,t){var n=li(e,!1,t==="fixed");return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}function t3(e,t,n){return t===Wm?qd(xP(e,n)):mo(t)?wP(t,n):qd(CP(Br(e)))}function SP(e){var t=Ia(ol(e)),n=["absolute","fixed"].indexOf(wr(e).position)>=0,r=n&&Mn(e)?Ma(e):e;return mo(r)?t.filter(function(o){return mo(o)&&Zm(o,r)&&or(o)!=="body"}):[]}function kP(e,t,n,r){var o=t==="clippingParents"?SP(e):[].concat(t),i=[].concat(o,[n]),a=i[0],s=i.reduce(function(l,c){var u=t3(e,c,r);return l.top=go(u.top,l.top),l.right=rl(u.right,l.right),l.bottom=rl(u.bottom,l.bottom),l.left=go(u.left,l.left),l},t3(e,a,r));return s.width=s.right-s.left,s.height=s.bottom-s.top,s.x=s.left,s.y=s.top,s}function n3(e){var t=e.reference,n=e.element,r=e.placement,o=r?ir(r):null,i=r?ci(r):null,a=t.x+t.width/2-n.width/2,s=t.y+t.height/2-n.height/2,l;switch(o){case un:l={x:a,y:t.y-n.height};break;case En:l={x:a,y:t.y+t.height};break;case An:l={x:t.x+t.width,y:s};break;case dn:l={x:t.x-n.width,y:s};break;default:l={x:t.x,y:t.y}}var c=o?Vd(o):null;if(c!=null){var u=c==="y"?"height":"width";switch(i){case ai:l[c]=l[c]-(t[u]/2-n[u]/2);break;case Ea:l[c]=l[c]+(t[u]/2-n[u]/2);break}}return l}function Da(e,t){t===void 0&&(t={});var n=t,r=n.placement,o=r===void 0?e.placement:r,i=n.strategy,a=i===void 0?e.strategy:i,s=n.boundary,l=s===void 0?HT:s,c=n.rootBoundary,u=c===void 0?Wm:c,f=n.elementContext,p=f===void 0?Aa:f,h=n.altBoundary,b=h===void 0?!1:h,m=n.padding,v=m===void 0?0:m,S=Ym(typeof v!="number"?v:Xm(v,Pa)),y=p===Aa?UT:Aa,w=e.rects.popper,j=e.elements[b?y:p],x=kP(mo(j)?j:j.contextElement||Br(e.elements.popper),l,u,a),E=li(e.elements.reference),P=n3({reference:E,element:w,strategy:"absolute",placement:o}),D=qd(Object.assign({},w,P)),R=p===Aa?D:E,z={top:x.top-R.top+S.top,bottom:R.bottom-x.bottom+S.bottom,left:x.left-R.left+S.left,right:R.right-x.right+S.right},X=e.modifiersData.offset;if(p===Aa&&X){var ce=X[o];Object.keys(z).forEach(function(le){var L=[An,En].indexOf(le)>=0?1:-1,Y=[un,En].indexOf(le)>=0?"y":"x";z[le]+=ce[Y]*L})}return z}function _P(e,t){t===void 0&&(t={});var n=t,r=n.placement,o=n.boundary,i=n.rootBoundary,a=n.padding,s=n.flipVariations,l=n.allowedAutoPlacements,c=l===void 0?Um:l,u=ci(r),f=u?s?Hm:Hm.filter(function(b){return ci(b)===u}):Pa,p=f.filter(function(b){return c.indexOf(b)>=0});p.length===0&&(p=f);var h=p.reduce(function(b,m){return b[m]=Da(e,{placement:m,boundary:o,rootBoundary:i,padding:a})[ir(m)],b},{});return Object.keys(h).sort(function(b,m){return h[b]-h[m]})}function jP(e){if(ir(e)===Ld)return[];var t=al(e);return[Qm(e),t,Qm(t)]}function TP(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var o=n.mainAxis,i=o===void 0?!0:o,a=n.altAxis,s=a===void 0?!0:a,l=n.fallbackPlacements,c=n.padding,u=n.boundary,f=n.rootBoundary,p=n.altBoundary,h=n.flipVariations,b=h===void 0?!0:h,m=n.allowedAutoPlacements,v=t.options.placement,S=ir(v),y=S===v,w=l||(y||!b?[al(v)]:jP(v)),j=[v].concat(w).reduce(function(B,C){return B.concat(ir(C)===Ld?_P(t,{placement:C,boundary:u,rootBoundary:f,padding:c,flipVariations:b,allowedAutoPlacements:m}):C)},[]),x=t.rects.reference,E=t.rects.popper,P=new Map,D=!0,R=j[0],z=0;z<j.length;z++){var X=j[z],ce=ir(X),le=ci(X)===ai,L=[un,En].indexOf(ce)>=0,Y=L?"width":"height",K=Da(t,{placement:X,boundary:u,rootBoundary:f,altBoundary:p,padding:c}),N=L?le?An:dn:le?En:un;x[Y]>E[Y]&&(N=al(N));var ue=al(N),he=[];if(i&&he.push(K[ce]<=0),s&&he.push(K[N]<=0,K[ue]<=0),he.every(function(B){return B})){R=X,D=!1;break}P.set(X,he)}if(D)for(var O=b?3:1,F=function(C){var J=j.find(function(Q){var ee=P.get(Q);if(ee)return ee.slice(0,C).every(function(me){return me})});if(J)return R=J,"break"},Z=O;Z>0;Z--){var V=F(Z);if(V==="break")break}t.placement!==R&&(t.modifiersData[r]._skip=!0,t.placement=R,t.reset=!0)}}const PP={name:"flip",enabled:!0,phase:"main",fn:TP,requiresIfExists:["offset"],data:{_skip:!1}};function r3(e,t,n){return n===void 0&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function o3(e){return[un,An,En,dn].some(function(t){return e[t]>=0})}function EP(e){var t=e.state,n=e.name,r=t.rects.reference,o=t.rects.popper,i=t.modifiersData.preventOverflow,a=Da(t,{elementContext:"reference"}),s=Da(t,{altBoundary:!0}),l=r3(a,r),c=r3(s,o,i),u=o3(l),f=o3(c);t.modifiersData[n]={referenceClippingOffsets:l,popperEscapeOffsets:c,isReferenceHidden:u,hasPopperEscaped:f},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":f})}const AP={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:EP};function MP(e,t,n){var r=ir(e),o=[dn,un].indexOf(r)>=0?-1:1,i=typeof n=="function"?n(Object.assign({},t,{placement:e})):n,a=i[0],s=i[1];return a=a||0,s=(s||0)*o,[dn,An].indexOf(r)>=0?{x:s,y:a}:{x:a,y:s}}function OP(e){var t=e.state,n=e.options,r=e.name,o=n.offset,i=o===void 0?[0,0]:o,a=Um.reduce(function(u,f){return u[f]=MP(f,t.rects,i),u},{}),s=a[t.placement],l=s.x,c=s.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=c),t.modifiersData[r]=a}const IP={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:OP};function DP(e){var t=e.state,n=e.name;t.modifiersData[n]=n3({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}const $P={name:"popperOffsets",enabled:!0,phase:"read",fn:DP,data:{}};function FP(e){return e==="x"?"y":"x"}function zP(e){var t=e.state,n=e.options,r=e.name,o=n.mainAxis,i=o===void 0?!0:o,a=n.altAxis,s=a===void 0?!1:a,l=n.boundary,c=n.rootBoundary,u=n.altBoundary,f=n.padding,p=n.tether,h=p===void 0?!0:p,b=n.tetherOffset,m=b===void 0?0:b,v=Da(t,{boundary:l,rootBoundary:c,padding:f,altBoundary:u}),S=ir(t.placement),y=ci(t.placement),w=!y,j=Vd(S),x=FP(j),E=t.modifiersData.popperOffsets,P=t.rects.reference,D=t.rects.popper,R=typeof m=="function"?m(Object.assign({},t.rects,{placement:t.placement})):m,z=typeof R=="number"?{mainAxis:R,altAxis:R}:Object.assign({mainAxis:0,altAxis:0},R),X=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,ce={x:0,y:0};if(E){if(i){var le,L=j==="y"?un:dn,Y=j==="y"?En:An,K=j==="y"?"height":"width",N=E[j],ue=N+v[L],he=N-v[Y],O=h?-D[K]/2:0,F=y===ai?P[K]:D[K],Z=y===ai?-D[K]:-P[K],V=t.elements.arrow,B=h&&V?Rd(V):{width:0,height:0},C=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:Km(),J=C[L],Q=C[Y],ee=Oa(0,P[K],B[K]),me=w?P[K]/2-O-ee-J-z.mainAxis:F-ee-J-z.mainAxis,de=w?-P[K]/2+O+ee+Q+z.mainAxis:Z+ee+Q+z.mainAxis,ke=t.elements.arrow&&Ma(t.elements.arrow),H=ke?j==="y"?ke.clientTop||0:ke.clientLeft||0:0,Te=(le=X==null?void 0:X[j])!=null?le:0,De=N+me-Te-H,A=N+de-Te,q=Oa(h?rl(ue,De):ue,N,h?go(he,A):he);E[j]=q,ce[j]=q-N}if(s){var re,xe=j==="x"?un:dn,ve=j==="x"?En:An,be=E[x],je=x==="y"?"height":"width",$e=be+v[xe],fe=be-v[ve],U=[un,dn].indexOf(S)!==-1,oe=(re=X==null?void 0:X[x])!=null?re:0,ie=U?$e:be-P[je]-D[je]-oe+z.altAxis,se=U?be+P[je]+D[je]-oe-z.altAxis:fe,Ie=h&&U?sP(ie,be,se):Oa(h?ie:$e,be,h?se:fe);E[x]=Ie,ce[x]=Ie-be}t.modifiersData[r]=ce}}const LP={name:"preventOverflow",enabled:!0,phase:"main",fn:zP,requiresIfExists:["offset"]};function BP(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function NP(e){return e===yn(e)||!Mn(e)?Wd(e):BP(e)}function RP(e){var t=e.getBoundingClientRect(),n=si(t.width)/e.offsetWidth||1,r=si(t.height)/e.offsetHeight||1;return n!==1||r!==1}function VP(e,t,n){n===void 0&&(n=!1);var r=Mn(t),o=Mn(t)&&RP(t),i=Br(t),a=li(e,o,n),s={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(r||!r&&!n)&&((or(t)!=="body"||Ud(i))&&(s=NP(t)),Mn(t)?(l=li(t,!0),l.x+=t.clientLeft,l.y+=t.clientTop):i&&(l.x=Hd(i))),{x:a.left+s.scrollLeft-l.x,y:a.top+s.scrollTop-l.y,width:a.width,height:a.height}}function WP(e){var t=new Map,n=new Set,r=[];e.forEach(function(i){t.set(i.name,i)});function o(i){n.add(i.name);var a=[].concat(i.requires||[],i.requiresIfExists||[]);a.forEach(function(s){if(!n.has(s)){var l=t.get(s);l&&o(l)}}),r.push(i)}return e.forEach(function(i){n.has(i.name)||o(i)}),r}function HP(e){var t=WP(e);return tP.reduce(function(n,r){return n.concat(t.filter(function(o){return o.phase===r}))},[])}function UP(e){var t;return function(){return t||(t=new Promise(function(n){Promise.resolve().then(function(){t=void 0,n(e())})})),t}}function qP(e){var t=e.reduce(function(n,r){var o=n[r.name];return n[r.name]=o?Object.assign({},o,r,{options:Object.assign({},o.options,r.options),data:Object.assign({},o.data,r.data)}):r,n},{});return Object.keys(t).map(function(n){return t[n]})}var i3={placement:"bottom",modifiers:[],strategy:"absolute"};function a3(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some(function(r){return!(r&&typeof r.getBoundingClientRect=="function")})}function ZP(e){e===void 0&&(e={});var t=e,n=t.defaultModifiers,r=n===void 0?[]:n,o=t.defaultOptions,i=o===void 0?i3:o;return function(s,l,c){c===void 0&&(c=i);var u={placement:"bottom",orderedModifiers:[],options:Object.assign({},i3,i),modifiersData:{},elements:{reference:s,popper:l},attributes:{},styles:{}},f=[],p=!1,h={state:u,setOptions:function(S){var y=typeof S=="function"?S(u.options):S;m(),u.options=Object.assign({},i,u.options,y),u.scrollParents={reference:mo(s)?Ia(s):s.contextElement?Ia(s.contextElement):[],popper:Ia(l)};var w=HP(qP([].concat(r,u.options.modifiers)));return u.orderedModifiers=w.filter(function(j){return j.enabled}),b(),h.update()},forceUpdate:function(){if(!p){var S=u.elements,y=S.reference,w=S.popper;if(a3(y,w)){u.rects={reference:VP(y,Ma(w),u.options.strategy==="fixed"),popper:Rd(w)},u.reset=!1,u.placement=u.options.placement,u.orderedModifiers.forEach(function(z){return u.modifiersData[z.name]=Object.assign({},z.data)});for(var j=0;j<u.orderedModifiers.length;j++){if(u.reset===!0){u.reset=!1,j=-1;continue}var x=u.orderedModifiers[j],E=x.fn,P=x.options,D=P===void 0?{}:P,R=x.name;typeof E=="function"&&(u=E({state:u,options:D,name:R,instance:h})||u)}}}},update:UP(function(){return new Promise(function(v){h.forceUpdate(),v(u)})}),destroy:function(){m(),p=!0}};if(!a3(s,l))return h;h.setOptions(c).then(function(v){!p&&c.onFirstUpdate&&c.onFirstUpdate(v)});function b(){u.orderedModifiers.forEach(function(v){var S=v.name,y=v.options,w=y===void 0?{}:y,j=v.effect;if(typeof j=="function"){var x=j({state:u,name:S,instance:h,options:w}),E=function(){};f.push(x||E)}})}function m(){f.forEach(function(v){return v()}),f=[]}return h}}var GP=[vP,$P,mP,oP,IP,PP,LP,dP,AP],KP=ZP({defaultModifiers:GP});const ui=(e,t)=>({var:e,varRef:t?`var(${e}, ${t})`:`var(${e})`}),Vt={arrowShadowColor:ui("--popper-arrow-shadow-color"),arrowSize:ui("--popper-arrow-size","8px"),arrowSizeHalf:ui("--popper-arrow-size-half"),arrowBg:ui("--popper-arrow-bg"),transformOrigin:ui("--popper-transform-origin"),arrowOffset:ui("--popper-arrow-offset")};function YP(e){if(e.includes("top"))return"1px 1px 0px 0 var(--popper-arrow-shadow-color)";if(e.includes("bottom"))return"-1px -1px 0px 0 var(--popper-arrow-shadow-color)";if(e.includes("right"))return"-1px 1px 0px 0 var(--popper-arrow-shadow-color)";if(e.includes("left"))return"1px -1px 0px 0 var(--popper-arrow-shadow-color)"}const XP={top:"bottom center","top-start":"bottom left","top-end":"bottom right",bottom:"top center","bottom-start":"top left","bottom-end":"top right",left:"right center","left-start":"right top","left-end":"right bottom",right:"left center","right-start":"left top","right-end":"left bottom"},JP=e=>XP[e],s3={scroll:!0,resize:!0};function QP(e){let t;return typeof e=="object"?t={enabled:!0,options:{...s3,...e}}:t={enabled:e,options:s3},t}const eE={name:"matchWidth",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:({state:e})=>{e.styles.popper.width=`${e.rects.reference.width}px`},effect:({state:e})=>()=>{const t=e.elements.reference;e.elements.popper.style.width=`${t.offsetWidth}px`}},tE={name:"transformOrigin",enabled:!0,phase:"write",fn:({state:e})=>{l3(e)},effect:({state:e})=>()=>{l3(e)}},l3=e=>{e.elements.popper.style.setProperty(Vt.transformOrigin.var,JP(e.placement))},nE={name:"positionArrow",enabled:!0,phase:"afterWrite",fn:({state:e})=>{rE(e)}},rE=e=>{var n;if(!e.placement)return;const t=oE(e.placement);if((n=e.elements)!=null&&n.arrow&&t){Object.assign(e.elements.arrow.style,{[t.property]:t.value,width:Vt.arrowSize.varRef,height:Vt.arrowSize.varRef,zIndex:-1});const r={[Vt.arrowSizeHalf.var]:`calc(${Vt.arrowSize.varRef} / 2 - 1px)`,[Vt.arrowOffset.var]:`calc(${Vt.arrowSizeHalf.varRef} * -1)`};for(const o in r)e.elements.arrow.style.setProperty(o,r[o])}},oE=e=>{if(e.startsWith("top"))return{property:"bottom",value:Vt.arrowOffset.varRef};if(e.startsWith("bottom"))return{property:"top",value:Vt.arrowOffset.varRef};if(e.startsWith("left"))return{property:"right",value:Vt.arrowOffset.varRef};if(e.startsWith("right"))return{property:"left",value:Vt.arrowOffset.varRef}},iE={name:"innerArrow",enabled:!0,phase:"main",requires:["arrow"],fn:({state:e})=>{c3(e)},effect:({state:e})=>()=>{c3(e)}},c3=e=>{if(!e.elements.arrow)return;const t=e.elements.arrow.querySelector("[data-popper-arrow-inner]");if(!t)return;const n=YP(e.placement);n&&t.style.setProperty("--popper-arrow-default-shadow",n),Object.assign(t.style,{transform:"rotate(45deg)",background:Vt.arrowBg.varRef,top:0,left:0,width:"100%",height:"100%",position:"absolute",zIndex:"inherit",boxShadow:"var(--popper-arrow-shadow, var(--popper-arrow-default-shadow))"})},aE={"start-start":{ltr:"left-start",rtl:"right-start"},"start-end":{ltr:"left-end",rtl:"right-end"},"end-start":{ltr:"right-start",rtl:"left-start"},"end-end":{ltr:"right-end",rtl:"left-end"},start:{ltr:"left",rtl:"right"},end:{ltr:"right",rtl:"left"}},sE={"auto-start":"auto-end","auto-end":"auto-start","top-start":"top-end","top-end":"top-start","bottom-start":"bottom-end","bottom-end":"bottom-start"};function lE(e,t="ltr"){var r;const n=((r=aE[e])==null?void 0:r[t])||e;return t==="ltr"?n:sE[e]??n}function u3(e={}){const{enabled:t=!0,modifiers:n,placement:r="bottom",strategy:o="absolute",arrowPadding:i=8,eventListeners:a=!0,offset:s,gutter:l=8,flip:c=!0,boundary:u="clippingParents",preventOverflow:f=!0,matchWidth:p,direction:h="ltr"}=e,b=g.useRef(null),m=g.useRef(null),v=g.useRef(null),S=lE(r,h),y=g.useRef(()=>{}),w=g.useCallback(()=>{var z;!t||!b.current||!m.current||((z=y.current)==null||z.call(y),v.current=KP(b.current,m.current,{placement:S,modifiers:[iE,nE,tE,{...eE,enabled:!!p},{name:"eventListeners",...QP(a)},{name:"arrow",options:{padding:i}},{name:"offset",options:{offset:s??[0,l]}},{name:"flip",enabled:!!c,options:{padding:8}},{name:"preventOverflow",enabled:!!f,options:{boundary:u}},...n??[]],strategy:o}),v.current.forceUpdate(),y.current=v.current.destroy)},[S,t,n,p,a,i,s,l,c,f,u,o]);g.useEffect(()=>()=>{var z;!b.current&&!m.current&&((z=v.current)==null||z.destroy(),v.current=null)},[]);const j=g.useCallback(z=>{b.current=z,w()},[w]),x=g.useCallback((z={},X=null)=>({...z,ref:Bt(j,X)}),[j]),E=g.useCallback(z=>{m.current=z,w()},[w]),P=g.useCallback((z={},X=null)=>({...z,ref:Bt(E,X),style:{...z.style,position:o,minWidth:p?void 0:"max-content",inset:"0 auto auto 0"}}),[o,E,p]),D=g.useCallback((z={},X=null)=>{const{size:ce,shadowColor:le,bg:L,style:Y,...K}=z;return{...K,ref:X,"data-popper-arrow":"",style:cE(z)}},[]),R=g.useCallback((z={},X=null)=>({...z,ref:X,"data-popper-arrow-inner":""}),[]);return{update(){var z;(z=v.current)==null||z.update()},forceUpdate(){var z;(z=v.current)==null||z.forceUpdate()},transformOrigin:Vt.transformOrigin.varRef,referenceRef:j,popperRef:E,getPopperProps:P,getArrowProps:D,getArrowInnerProps:R,getReferenceProps:x}}function cE(e){const{size:t,shadowColor:n,bg:r,style:o}=e,i={...o,position:"absolute"};return t&&(i["--popper-arrow-size"]=t),n&&(i["--popper-arrow-shadow-color"]=n),r&&(i["--popper-arrow-bg"]=r),i}function uE(){const e=g.useRef(new Map),t=e.current,n=g.useCallback((o,i,a,s)=>{e.current.set(a,{type:i,el:o,options:s}),o.addEventListener(i,a,s)},[]),r=g.useCallback((o,i,a,s)=>{o.removeEventListener(i,a,s),e.current.delete(a)},[]);return g.useEffect(()=>()=>{t.forEach((o,i)=>{r(o.el,o.type,i,o.options)})},[r,t]),{add:n,remove:r}}function Zd(e){var o,i;const t=((i=(o=e.composedPath)==null?void 0:o.call(e))==null?void 0:i[0])??e.target,{tagName:n,isContentEditable:r}=t;return n!=="INPUT"&&n!=="TEXTAREA"&&r!==!0}function d3(e={}){const{ref:t,isDisabled:n,isFocusable:r,clickOnEnter:o=!0,clickOnSpace:i=!0,onMouseDown:a,onMouseUp:s,onClick:l,onKeyDown:c,onKeyUp:u,tabIndex:f,onMouseOver:p,onMouseLeave:h,...b}=e,[m,v]=g.useState(!0),[S,y]=g.useState(!1),w=uE(),j=N=>{N&&N.tagName!=="BUTTON"&&v(!1)},x=m?f:f||0,E=n&&!r,P=g.useCallback(N=>{if(n){N.stopPropagation(),N.preventDefault();return}N.currentTarget.focus(),l==null||l(N)},[n,l]),D=g.useCallback(N=>{S&&Zd(N)&&(N.preventDefault(),N.stopPropagation(),y(!1),w.remove(document,"keyup",D,!1))},[S,w]),R=g.useCallback(N=>{if(c==null||c(N),n||N.defaultPrevented||N.metaKey||!Zd(N.nativeEvent)||m)return;const ue=o&&N.key==="Enter";i&&N.key===" "&&(N.preventDefault(),y(!0)),ue&&(N.preventDefault(),N.currentTarget.click()),w.add(document,"keyup",D,!1)},[n,m,c,o,i,w,D]),z=g.useCallback(N=>{if(u==null||u(N),n||N.defaultPrevented||N.metaKey||!Zd(N.nativeEvent)||m)return;i&&N.key===" "&&(N.preventDefault(),y(!1),N.currentTarget.click())},[i,m,n,u]),X=g.useCallback(N=>{N.button===0&&(y(!1),w.remove(document,"mouseup",X,!1))},[w]),ce=g.useCallback(N=>{if(N.button!==0)return;if(n){N.stopPropagation(),N.preventDefault();return}m||y(!0),N.currentTarget.focus({preventScroll:!0}),w.add(document,"mouseup",X,!1),a==null||a(N)},[n,m,a,w,X]),le=g.useCallback(N=>{N.button===0&&(m||y(!1),s==null||s(N))},[s,m]),L=g.useCallback(N=>{if(n){N.preventDefault();return}p==null||p(N)},[n,p]),Y=g.useCallback(N=>{S&&(N.preventDefault(),y(!1)),h==null||h(N)},[S,h]),K=Bt(t,j);return m?{...b,ref:K,type:"button","aria-disabled":E?void 0:n,disabled:E,onClick:P,onMouseDown:a,onMouseUp:s,onKeyUp:u,onKeyDown:c,onMouseOver:p,onMouseLeave:h}:{...b,ref:K,role:"button","data-active":Le(S),"aria-disabled":n?"true":void 0,tabIndex:E?void 0:x,onClick:P,onMouseDown:ce,onMouseUp:le,onKeyUp:z,onKeyDown:R,onMouseOver:L,onMouseLeave:Y}}const[dE,fE,pE,hE]=Yu(),[mE,$a]=ht({strict:!1,name:"MenuContext"});function f3(e){return(e==null?void 0:e.ownerDocument)??document}function gE(e){return f3(e).activeElement===e}function vE(e={}){const{id:t,closeOnSelect:n=!0,closeOnBlur:r=!0,initialFocusRef:o,autoSelect:i=!0,isLazy:a,isOpen:s,defaultIsOpen:l,onClose:c,onOpen:u,placement:f="bottom-start",lazyBehavior:p="unmount",direction:h,computePositionOnMount:b=!1,...m}=e,v=g.useRef(null),S=g.useRef(null),y=g.useRef(!0),w=pE(),j=g.useCallback(()=>{requestAnimationFrame(()=>{var V;(V=v.current)==null||V.focus({preventScroll:!1})})},[]),x=g.useCallback(()=>{const V=setTimeout(()=>{var B,C;if(o)(B=o.current)==null||B.focus();else if(!w.count())(C=v.current)==null||C.focus({preventScroll:!1});else{const J=w.firstEnabled();J&&L(J.index)}});he.current.add(V)},[w,o]),E=g.useCallback(()=>{const V=setTimeout(()=>{var B;if(!w.count())(B=v.current)==null||B.focus({preventScroll:!1});else{const C=w.lastEnabled();C&&L(C.index)}});he.current.add(V)},[w]),P=g.useCallback(()=>{u==null||u(),i?x():j()},[i,x,j,u]),{isOpen:D,onOpen:R,onClose:z,onToggle:X}=Nf({isOpen:s,defaultIsOpen:l,onClose:c,onOpen:P});Ig({enabled:D&&r,ref:v,handler:V=>{var C,J,Q;const B=((J=(C=V.composedPath)==null?void 0:C.call(V))==null?void 0:J[0])??V.target;(Q=S.current)!=null&&Q.contains(B)||z()}});const ce=u3({...m,enabled:D||b,placement:f,direction:h}),[le,L]=g.useState(-1);Pg(v,{focusRef:S,visible:D,shouldFocus:!0});const Y=jg({isOpen:D,ref:v}),[K,N]=Ag(t,"menu-button","menu-list"),ue=g.useCallback(()=>{R(),j()},[R,j]),he=g.useRef(new Set([]));g.useEffect(()=>{const V=he.current;return()=>{V.forEach(B=>clearTimeout(B)),V.clear()}},[]),ko(()=>{var V;D||(L(-1),(V=v.current)==null||V.scrollTo(0,0))},[D]),ko(()=>{D&&le===-1&&j()},[le,D]),g.useEffect(()=>{var B;if(!D)return;const V=w.item(le);(B=V==null?void 0:V.node)==null||B.focus({preventScroll:!y.current})},[w,le,D]);const O=g.useCallback(()=>{R(),x()},[x,R]),F=g.useCallback(()=>{y.current=!0,R(),E()},[R,E]),Z=g.useCallback(()=>{var Q,ee;const V=f3(v.current),B=(Q=v.current)==null?void 0:Q.contains(V.activeElement);if(!(D&&!B))return;const J=(ee=w.item(le))==null?void 0:ee.node;J==null||J.focus({preventScroll:!y.current})},[D,le,w]);return{openAndFocusMenu:ue,openAndFocusFirstItem:O,openAndFocusLastItem:F,onTransitionEnd:Z,unstable__animationState:Y,descendants:w,popper:ce,buttonId:K,menuId:N,forceUpdate:ce.forceUpdate,orientation:"vertical",isOpen:D,onToggle:X,onOpen:R,onClose:z,menuRef:v,buttonRef:S,focusedIndex:le,closeOnSelect:n,closeOnBlur:r,autoSelect:i,setFocusedIndex:L,isLazy:a,lazyBehavior:p,initialFocusRef:o,scrollIntoViewRef:y}}function bE(e={},t=null){const n=$a(),{onToggle:r,popper:o,openAndFocusFirstItem:i,openAndFocusLastItem:a,scrollIntoViewRef:s}=n,l=g.useCallback(c=>{const u=c.key,p={Enter:i,ArrowDown:i,ArrowUp:a}[u];p&&(s.current=!0,c.preventDefault(),c.stopPropagation(),p(c))},[i,a,s]);return{...e,ref:Bt(n.buttonRef,t,o.referenceRef),id:n.buttonId,"data-active":Le(n.isOpen),"aria-expanded":n.isOpen,"aria-haspopup":"menu","aria-controls":n.menuId,onClick:Ue(e.onClick,r),onKeyDown:Ue(e.onKeyDown,l)}}function Gd(e){var t;return wE(e)&&!!((t=e==null?void 0:e.getAttribute("role"))!=null&&t.startsWith("menuitem"))}function yE(e={},t=null){const n=$a();if(!n)throw new Error("useMenuContext: context is undefined. Seems you forgot to wrap component within <Menu>");const{focusedIndex:r,setFocusedIndex:o,menuRef:i,isOpen:a,onClose:s,menuId:l,isLazy:c,lazyBehavior:u,scrollIntoViewRef:f,unstable__animationState:p}=n,h=fE(),b=WT({preventDefault:y=>y.key!==" "&&Gd(y.target)}),m=g.useCallback(y=>{if(!y.currentTarget.contains(y.target))return;const w=y.key,x={Tab:P=>P.preventDefault(),Escape:P=>{P.stopPropagation(),s()},ArrowDown:()=>{f.current=!0;const P=h.nextEnabled(r)??h.firstEnabled();P&&o(P.index)},ArrowUp:()=>{f.current=!0;const P=h.prevEnabled(r)??h.firstEnabled();P&&o(P.index)}}[w];if(x){y.preventDefault(),x(y);return}const E=b(P=>{const D=RT(h.values(),P,R=>{var z;return((z=R==null?void 0:R.node)==null?void 0:z.textContent)??""},h.item(r));if(D){const R=h.indexOf(D.node);o(R)}});Gd(y.target)&&E(y)},[h,r,b,s,o,f]),v=g.useRef(!1);a&&(v.current=!0);const S=bg({wasSelected:v.current,enabled:c,mode:u,isSelected:p.present});return{...e,ref:Bt(i,t),children:S?e.children:null,tabIndex:-1,role:"menu",id:l,style:{...e.style,transformOrigin:"var(--popper-transform-origin)"},"aria-orientation":"vertical",onKeyDown:Ue(e.onKeyDown,m)}}function xE(e={}){const{popper:t,isOpen:n}=$a();return t.getPopperProps({...e,style:{visibility:n?"visible":"hidden",...e.style}})}function CE(e={},t=null){const{onMouseEnter:n,onMouseMove:r,onMouseLeave:o,onClick:i,onFocus:a,isDisabled:s,isFocusable:l,closeOnSelect:c,type:u,...f}=e,p=$a(),{setFocusedIndex:h,focusedIndex:b,closeOnSelect:m,onClose:v,menuId:S,scrollIntoViewRef:y}=p,w=g.useRef(null),j=`${S}-menuitem-${g.useId()}`,{index:x,register:E}=hE({disabled:s&&!l}),P=g.useCallback(L=>{n==null||n(L),!s&&(y.current=!1,h(x))},[h,x,s,n,y]),D=g.useCallback(L=>{r==null||r(L),w.current&&!gE(w.current)&&P(L)},[P,r]),R=g.useCallback(L=>{o==null||o(L),!s&&h(-1)},[h,s,o]),z=g.useCallback(L=>{i==null||i(L),Gd(L.currentTarget)&&(c??m)&&v()},[v,i,m,c]),X=g.useCallback(L=>{a==null||a(L),h(x)},[h,a,x]),ce=x===b,le=d3({onClick:z,onFocus:X,onMouseEnter:P,onMouseMove:D,onMouseLeave:R,ref:Bt(E,w,t),isDisabled:s,isFocusable:l});return{...f,...le,type:u??le.type,id:j,role:"menuitem",tabIndex:ce?0:-1}}function wE(e){if(!SE(e))return!1;const t=e.ownerDocument.defaultView??window;return e instanceof t.HTMLElement}function SE(e){return e!=null&&typeof e=="object"&&"nodeType"in e&&e.nodeType===Node.ELEMENT_NODE}const[kE,Fa]=ht({name:"MenuStylesContext",errorMessage:`useMenuStyles returned is 'undefined'. Seems you forgot to wrap the components in "<Menu />" `}),sl=e=>{const{children:t}=e,n=Yt("Menu",e),r=Ct(e),{direction:o}=va(),{descendants:i,...a}=vE({...r,direction:o}),s=g.useMemo(()=>a,[a]),{isOpen:l,onClose:c,forceUpdate:u}=s;return d.jsx(dE,{value:i,children:d.jsx(mE,{value:s,children:d.jsx(kE,{value:n,children:mn(t,{isOpen:l,onClose:c,forceUpdate:u})})})})};sl.displayName="Menu";const _E=ge((e,t)=>{const n=Fa();return d.jsx(ae.button,{ref:t,...e,__css:{display:"inline-flex",appearance:"none",alignItems:"center",outline:0,...n.button}})}),ll=ge((e,t)=>{const{children:n,as:r,...o}=e,i=bE(o,t),a=r||_E;return d.jsx(a,{...i,className:Pe("chakra-menu__menu-button",e.className),children:d.jsx(ae.span,{__css:{pointerEvents:"none",flex:"1 1 auto",minW:0},children:e.children})})});ll.displayName="MenuButton";const p3=ge((e,t)=>{const n=Fa();return d.jsx(ae.span,{ref:t,...e,__css:n.command,className:"chakra-menu__command"})});p3.displayName="MenuCommand";const h3=e=>{const{className:t,children:n,...r}=e,o=Fa(),i=g.Children.only(n),a=g.isValidElement(i)?g.cloneElement(i,{focusable:"false","aria-hidden":!0,className:Pe("chakra-menu__icon",i.props.className)}):null,s=Pe("chakra-menu__icon-wrapper",t);return d.jsx(ae.span,{className:s,...r,__css:o.icon,children:a})};h3.displayName="MenuIcon";const jE=ge((e,t)=>{const{type:n,...r}=e,o=Fa(),i=r.as||n?n??void 0:"button",a=g.useMemo(()=>({textDecoration:"none",color:"inherit",userSelect:"none",display:"flex",width:"100%",alignItems:"center",textAlign:"start",flex:"0 0 auto",outline:0,...o.item}),[o.item]);return d.jsx(ae.button,{ref:t,type:i,...r,__css:a})}),di=ge((e,t)=>{const{icon:n,iconSpacing:r="0.75rem",command:o,commandSpacing:i="0.75rem",children:a,...s}=e,l=CE(s,t),u=n||o?d.jsx("span",{style:{pointerEvents:"none",flex:1},children:a}):a;return d.jsxs(jE,{...l,className:Pe("chakra-menu__menuitem",l.className),children:[n&&d.jsx(h3,{fontSize:"0.8em",marginEnd:r,children:n}),u,o&&d.jsx(p3,{marginStart:i,children:o})]})});di.displayName="MenuItem";const TE={enter:{visibility:"visible",opacity:1,scale:1,transition:{duration:.2,ease:[.4,0,.2,1]}},exit:{transitionEnd:{visibility:"hidden"},opacity:0,scale:.8,transition:{duration:.1,easings:"easeOut"}}},PE=ae(Qn.div),cl=ge(function(t,n){var p;const{rootProps:r,motionProps:o,...i}=t,{isOpen:a,onTransitionEnd:s,unstable__animationState:l}=$a(),c=yE(i,n),u=xE(r),f=Fa();return d.jsx(ae.div,{...u,__css:{zIndex:t.zIndex??((p=f.list)==null?void 0:p.zIndex)},children:d.jsx(PE,{variants:TE,initial:!1,animate:a?"enter":"exit",__css:{outline:0,...f.list},...o,...c,className:Pe("chakra-menu__menu-list",c.className),onUpdate:s,onAnimationComplete:Mf(l.onComplete,c.onAnimationComplete)})})});cl.displayName="MenuList";var EE=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},fi=new WeakMap,ul=new WeakMap,dl={},Kd=0,m3=function(e){return e&&(e.host||m3(e.parentNode))},AE=function(e,t){return t.map(function(n){if(e.contains(n))return n;var r=m3(n);return r&&e.contains(r)?r:(console.error("aria-hidden",n,"in not contained inside",e,". Doing nothing"),null)}).filter(function(n){return!!n})},ME=function(e,t,n,r){var o=AE(t,Array.isArray(e)?e:[e]);dl[n]||(dl[n]=new WeakMap);var i=dl[n],a=[],s=new Set,l=new Set(o),c=function(f){!f||s.has(f)||(s.add(f),c(f.parentNode))};o.forEach(c);var u=function(f){!f||l.has(f)||Array.prototype.forEach.call(f.children,function(p){if(s.has(p))u(p);else try{var h=p.getAttribute(r),b=h!==null&&h!=="false",m=(fi.get(p)||0)+1,v=(i.get(p)||0)+1;fi.set(p,m),i.set(p,v),a.push(p),m===1&&b&&ul.set(p,!0),v===1&&p.setAttribute(n,"true"),b||p.setAttribute(r,"true")}catch(S){console.error("aria-hidden: cannot operate on ",p,S)}})};return u(t),s.clear(),Kd++,function(){a.forEach(function(f){var p=fi.get(f)-1,h=i.get(f)-1;fi.set(f,p),i.set(f,h),p||(ul.has(f)||f.removeAttribute(r),ul.delete(f)),h||f.removeAttribute(n)}),Kd--,Kd||(fi=new WeakMap,fi=new WeakMap,ul=new WeakMap,dl={})}},OE=function(e,t,n){n===void 0&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),o=EE(e);return o?(r.push.apply(r,Array.from(o.querySelectorAll("[aria-live]"))),ME(r,o,n,"aria-hidden")):function(){return null}},IE=Object.defineProperty,DE=(e,t,n)=>t in e?IE(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,$E=(e,t,n)=>(DE(e,t+"",n),n);class FE{constructor(){$E(this,"modals"),this.modals=new Set}add(t){return this.modals.add(t),this.modals.size}remove(t){this.modals.delete(t)}isTopModal(t){if(!t)return!1;const n=Array.from(this.modals)[this.modals.size-1];return t===n}}const Yd=new FE;function g3(e,t){const[n,r]=g.useState(0);return g.useEffect(()=>{const o=e.current;if(o){if(t){const i=Yd.add(o);r(i)}return()=>{Yd.remove(o),r(0)}}},[t,e]),n}function zE(e){const{isOpen:t,onClose:n,id:r,closeOnOverlayClick:o=!0,closeOnEsc:i=!0,useInert:a=!0,onOverlayClick:s,onEsc:l}=e,c=g.useRef(null),u=g.useRef(null),[f,p,h]=BE(r,"chakra-modal","chakra-modal--header","chakra-modal--body");LE(c,t&&a);const b=g3(c,t),m=g.useRef(null),v=g.useCallback(R=>{m.current=R.target},[]),S=g.useCallback(R=>{R.key==="Escape"&&(R.stopPropagation(),i&&(n==null||n()),l==null||l())},[i,n,l]),[y,w]=g.useState(!1),[j,x]=g.useState(!1),E=g.useCallback((R={},z=null)=>({role:"dialog",...R,ref:Bt(z,c),id:f,tabIndex:-1,"aria-modal":!0,"aria-labelledby":y?p:void 0,"aria-describedby":j?h:void 0,onClick:Ue(R.onClick,X=>X.stopPropagation())}),[h,j,f,p,y]),P=g.useCallback(R=>{R.stopPropagation(),m.current===R.target&&Yd.isTopModal(c.current)&&(o&&(n==null||n()),s==null||s())},[n,o,s]),D=g.useCallback((R={},z=null)=>({...R,ref:Bt(z,u),onClick:Ue(R.onClick,P),onKeyDown:Ue(R.onKeyDown,S),onMouseDown:Ue(R.onMouseDown,v)}),[S,v,P]);return{isOpen:t,onClose:n,headerId:p,bodyId:h,setBodyMounted:x,setHeaderMounted:w,dialogRef:c,overlayRef:u,getDialogProps:E,getDialogContainerProps:D,index:b}}function LE(e,t){const n=e.current;g.useEffect(()=>{if(!(!e.current||!t))return OE(e.current)},[t,e,n])}function BE(e,...t){const n=g.useId(),r=e||n;return g.useMemo(()=>t.map(o=>`${o}-${r}`),[r,t])}const[NE,pi]=ht({name:"ModalStylesContext",errorMessage:`useModalStyles returned is 'undefined'. Seems you forgot to wrap the components in "<Modal />" `}),[RE,vo]=ht({strict:!0,name:"ModalContext",errorMessage:"useModalContext: `context` is undefined. Seems you forgot to wrap modal components in `<Modal />`"}),fl=e=>{const t={scrollBehavior:"outside",autoFocus:!0,trapFocus:!0,returnFocusOnClose:!0,blockScrollOnMount:!0,allowPinchZoom:!1,preserveScrollBarGap:!0,motionPreset:"scale",...e,lockFocusAcrossFrames:e.lockFocusAcrossFrames||!0},{portalProps:n,children:r,autoFocus:o,trapFocus:i,initialFocusRef:a,finalFocusRef:s,returnFocusOnClose:l,blockScrollOnMount:c,allowPinchZoom:u,preserveScrollBarGap:f,motionPreset:p,lockFocusAcrossFrames:h,animatePresenceProps:b,onCloseComplete:m}=t,v=Yt("Modal",t),y={...zE(t),autoFocus:o,trapFocus:i,initialFocusRef:a,finalFocusRef:s,returnFocusOnClose:l,blockScrollOnMount:c,allowPinchZoom:u,preserveScrollBarGap:f,motionPreset:p,lockFocusAcrossFrames:h};return d.jsx(RE,{value:y,children:d.jsx(NE,{value:v,children:d.jsx(no,{...b,onExitComplete:m,children:y.isOpen&&d.jsx(Qo,{...n,children:r})})})})};fl.displayName="Modal";var pl="right-scroll-bar-position",hl="width-before-scroll-bar",VE="with-scroll-bars-hidden",WE="--removed-body-scroll-bar-size",v3=Qh(),Xd=function(){},ml=Se.forwardRef(function(e,t){var n=Se.useRef(null),r=Se.useState({onScrollCapture:Xd,onWheelCapture:Xd,onTouchMoveCapture:Xd}),o=r[0],i=r[1],a=e.forwardProps,s=e.children,l=e.className,c=e.removeScrollBar,u=e.enabled,f=e.shards,p=e.sideCar,h=e.noIsolation,b=e.inert,m=e.allowPinchZoom,v=e.as,S=v===void 0?"div":v,y=e.gapMode,w=Yh(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as","gapMode"]),j=p,x=Kh([n,t]),E=nr(nr({},w),o);return Se.createElement(Se.Fragment,null,u&&Se.createElement(j,{sideCar:v3,removeScrollBar:c,shards:f,noIsolation:h,inert:b,setCallbacks:i,allowPinchZoom:!!m,lockRef:n,gapMode:y}),a?Se.cloneElement(Se.Children.only(s),nr(nr({},E),{ref:x})):Se.createElement(S,nr({},E,{className:l,ref:x}),s))});ml.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},ml.classNames={fullWidth:hl,zeroRight:pl};var HE=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function UE(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=HE();return t&&e.setAttribute("nonce",t),e}function qE(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function ZE(e){var t=document.head||document.getElementsByTagName("head")[0];t.appendChild(e)}var GE=function(){var e=0,t=null;return{add:function(n){e==0&&(t=UE())&&(qE(t,n),ZE(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},KE=function(){var e=GE();return function(t,n){Se.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},b3=function(){var e=KE(),t=function(n){var r=n.styles,o=n.dynamic;return e(r,o),null};return t},YE={left:0,top:0,right:0,gap:0},Jd=function(e){return parseInt(e||"",10)||0},XE=function(e){var t=window.getComputedStyle(document.body),n=t[e==="padding"?"paddingLeft":"marginLeft"],r=t[e==="padding"?"paddingTop":"marginTop"],o=t[e==="padding"?"paddingRight":"marginRight"];return[Jd(n),Jd(r),Jd(o)]},JE=function(e){if(e===void 0&&(e="margin"),typeof window>"u")return YE;var t=XE(e),n=document.documentElement.clientWidth,r=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,r-n+t[2]-t[0])}},QE=b3(),hi="data-scroll-locked",eA=function(e,t,n,r){var o=e.left,i=e.top,a=e.right,s=e.gap;return n===void 0&&(n="margin"),`
|
|
352
|
+
.`.concat(VE,` {
|
|
353
353
|
overflow: hidden `).concat(r,`;
|
|
354
354
|
padding-right: `).concat(s,"px ").concat(r,`;
|
|
355
355
|
}
|
|
@@ -383,21 +383,21 @@ Valid keys: `+JSON.stringify(Object.keys(O),null," "));var H=ke(Q,de,B,w,J+"."+
|
|
|
383
383
|
}
|
|
384
384
|
|
|
385
385
|
body[`).concat(hi,`] {
|
|
386
|
-
`).concat(
|
|
386
|
+
`).concat(WE,": ").concat(s,`px;
|
|
387
387
|
}
|
|
388
|
-
`)},
|
|
388
|
+
`)},y3=function(){var e=parseInt(document.body.getAttribute(hi)||"0",10);return isFinite(e)?e:0},tA=function(){Se.useEffect(function(){return document.body.setAttribute(hi,(y3()+1).toString()),function(){var e=y3()-1;e<=0?document.body.removeAttribute(hi):document.body.setAttribute(hi,e.toString())}},[])},nA=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,o=r===void 0?"margin":r;tA();var i=Se.useMemo(function(){return JE(o)},[o]);return Se.createElement(QE,{styles:eA(i,!t,o,n?"":"!important")})},Qd=!1;if(typeof window<"u")try{var gl=Object.defineProperty({},"passive",{get:function(){return Qd=!0,!0}});window.addEventListener("test",gl,gl),window.removeEventListener("test",gl,gl)}catch{Qd=!1}var mi=Qd?{passive:!1}:!1,rA=function(e){return e.tagName==="TEXTAREA"},x3=function(e,t){if(!(e instanceof Element))return!1;var n=window.getComputedStyle(e);return n[t]!=="hidden"&&!(n.overflowY===n.overflowX&&!rA(e)&&n[t]==="visible")},oA=function(e){return x3(e,"overflowY")},iA=function(e){return x3(e,"overflowX")},C3=function(e,t){var n=t.ownerDocument,r=t;do{typeof ShadowRoot<"u"&&r instanceof ShadowRoot&&(r=r.host);var o=w3(e,r);if(o){var i=S3(e,r),a=i[1],s=i[2];if(a>s)return!0}r=r.parentNode}while(r&&r!==n.body);return!1},aA=function(e){var t=e.scrollTop,n=e.scrollHeight,r=e.clientHeight;return[t,n,r]},sA=function(e){var t=e.scrollLeft,n=e.scrollWidth,r=e.clientWidth;return[t,n,r]},w3=function(e,t){return e==="v"?oA(t):iA(t)},S3=function(e,t){return e==="v"?aA(t):sA(t)},lA=function(e,t){return e==="h"&&t==="rtl"?-1:1},cA=function(e,t,n,r,o){var i=lA(e,window.getComputedStyle(t).direction),a=i*r,s=n.target,l=t.contains(s),c=!1,u=a>0,f=0,p=0;do{var h=S3(e,s),b=h[0],m=h[1],v=h[2],S=m-v-i*b;(b||S)&&w3(e,s)&&(f+=S,p+=b),s instanceof ShadowRoot?s=s.host:s=s.parentNode}while(!l&&s!==document.body||l&&(t.contains(s)||t===s));return(u&&(Math.abs(f)<1||!o)||!u&&(Math.abs(p)<1||!o))&&(c=!0),c},vl=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},k3=function(e){return[e.deltaX,e.deltaY]},_3=function(e){return e&&"current"in e?e.current:e},uA=function(e,t){return e[0]===t[0]&&e[1]===t[1]},dA=function(e){return`
|
|
389
389
|
.block-interactivity-`.concat(e,` {pointer-events: none;}
|
|
390
390
|
.allow-interactivity-`).concat(e,` {pointer-events: all;}
|
|
391
|
-
`)},uA=0,gi=[];function dA(e){var t=Se.useRef([]),n=Se.useRef([0,0]),r=Se.useRef(),o=Se.useState(uA++)[0],i=Se.useState(v3)[0],a=Se.useRef(e);Se.useEffect(function(){a.current=e},[e]),Se.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var m=Cj([e.lockRef.current],(e.shards||[]).map(k3),!0).filter(Boolean);return m.forEach(function(v){return v.classList.add("allow-interactivity-".concat(o))}),function(){document.body.classList.remove("block-interactivity-".concat(o)),m.forEach(function(v){return v.classList.remove("allow-interactivity-".concat(o))})}}},[e.inert,e.lockRef.current,e.shards]);var s=Se.useCallback(function(m,v){if("touches"in m&&m.touches.length===2||m.type==="wheel"&&m.ctrlKey)return!a.current.allowPinchZoom;var S=vl(m),y=n.current,C="deltaX"in m?m.deltaX:y[0]-S[0],j="deltaY"in m?m.deltaY:y[1]-S[1],x,E=m.target,P=Math.abs(C)>Math.abs(j)?"h":"v";if("touches"in m&&P==="h"&&E.type==="range")return!1;var D=x3(P,E);if(!D)return!0;if(D?x=P:(x=P==="v"?"h":"v",D=x3(P,E)),!D)return!1;if(!r.current&&"changedTouches"in m&&(C||j)&&(r.current=x),!x)return!0;var R=r.current||x;return sA(R,v,m,R==="h"?C:j,!0)},[]),l=Se.useCallback(function(m){var v=m;if(!(!gi.length||gi[gi.length-1]!==i)){var S="deltaY"in v?S3(v):vl(v),y=t.current.filter(function(x){return x.name===v.type&&(x.target===v.target||v.target===x.shadowParent)&&lA(x.delta,S)})[0];if(y&&y.should){v.cancelable&&v.preventDefault();return}if(!y){var C=(a.current.shards||[]).map(k3).filter(Boolean).filter(function(x){return x.contains(v.target)}),j=C.length>0?s(v,C[0]):!a.current.noIsolation;j&&v.cancelable&&v.preventDefault()}}},[]),c=Se.useCallback(function(m,v,S,y){var C={name:m,delta:v,target:S,should:y,shadowParent:fA(S)};t.current.push(C),setTimeout(function(){t.current=t.current.filter(function(j){return j!==C})},1)},[]),u=Se.useCallback(function(m){n.current=vl(m),r.current=void 0},[]),f=Se.useCallback(function(m){c(m.type,S3(m),m.target,s(m,e.lockRef.current))},[]),p=Se.useCallback(function(m){c(m.type,vl(m),m.target,s(m,e.lockRef.current))},[]);Se.useEffect(function(){return gi.push(i),e.setCallbacks({onScrollCapture:f,onWheelCapture:f,onTouchMoveCapture:p}),document.addEventListener("wheel",l,mi),document.addEventListener("touchmove",l,mi),document.addEventListener("touchstart",u,mi),function(){gi=gi.filter(function(m){return m!==i}),document.removeEventListener("wheel",l,mi),document.removeEventListener("touchmove",l,mi),document.removeEventListener("touchstart",u,mi)}},[]);var h=e.removeScrollBar,b=e.inert;return Se.createElement(Se.Fragment,null,b?Se.createElement(i,{styles:cA(o)}):null,h?Se.createElement(eA,{gapMode:e.gapMode}):null)}function fA(e){for(var t=null;e!==null;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}const pA=wj(g3,dA);var _3=Se.forwardRef(function(e,t){return Se.createElement(ml,nr({},e,{ref:t,sideCar:pA}))});_3.classNames=ml.classNames;function hA(e){const{autoFocus:t,trapFocus:n,dialogRef:r,initialFocusRef:o,blockScrollOnMount:i,allowPinchZoom:a,finalFocusRef:s,returnFocusOnClose:l,preserveScrollBarGap:c,lockFocusAcrossFrames:u,isOpen:f}=vo(),[p,h]=$c();g.useEffect(()=>{!p&&h&&setTimeout(h)},[p,h]);const b=m3(r,f);return d.jsx(Om,{autoFocus:t,isDisabled:!n,initialFocusRef:o,finalFocusRef:s,restoreFocus:l,contentRef:r,lockFocusAcrossFrames:u,children:d.jsx(_3,{removeScrollBar:!c,allowPinchZoom:a,enabled:b===1&&i,forwardProps:!0,children:e.children})})}const za={initial:"initial",animate:"enter",exit:"exit",variants:{initial:({offsetX:e,offsetY:t,transition:n,transitionEnd:r,delay:o})=>({opacity:0,x:e,y:t,transition:(n==null?void 0:n.exit)??Cr.exit(co.exit,o),transitionEnd:r==null?void 0:r.exit}),enter:({transition:e,transitionEnd:t,delay:n})=>({opacity:1,x:0,y:0,transition:(e==null?void 0:e.enter)??Cr.enter(co.enter,n),transitionEnd:t==null?void 0:t.enter}),exit:({offsetY:e,offsetX:t,transition:n,transitionEnd:r,reverse:o,delay:i})=>{const a={x:t,y:e};return{opacity:0,transition:(n==null?void 0:n.exit)??Cr.exit(co.exit,i),...o?{...a,transitionEnd:r==null?void 0:r.exit}:{transitionEnd:{...a,...r==null?void 0:r.exit}}}}}},mA=g.forwardRef(function(t,n){const{unmountOnExit:r,in:o,reverse:i=!0,className:a,offsetX:s=0,offsetY:l=8,transition:c,transitionEnd:u,delay:f,animatePresenceProps:p,...h}=t,b=r?o&&r:!0,m=o||r?"enter":"exit",v={offsetX:s,offsetY:l,reverse:i,transition:c,transitionEnd:u,delay:f};return d.jsx(no,{...p,custom:v,children:b&&d.jsx(Qn.div,{ref:n,className:Me("chakra-offset-slide",a),custom:v,...za,animate:m,...h})})});mA.displayName="SlideFade";const j3={initial:"exit",animate:"enter",exit:"exit",variants:{exit:({reverse:e,initialScale:t,transition:n,transitionEnd:r,delay:o})=>({opacity:0,...e?{scale:t,transitionEnd:r==null?void 0:r.exit}:{transitionEnd:{scale:t,...r==null?void 0:r.exit}},transition:(n==null?void 0:n.exit)??Cr.exit(co.exit,o)}),enter:({transitionEnd:e,transition:t,delay:n})=>({opacity:1,scale:1,transition:(t==null?void 0:t.enter)??Cr.enter(co.enter,n),transitionEnd:e==null?void 0:e.enter})}},gA=g.forwardRef(function(t,n){const{unmountOnExit:r,in:o,reverse:i=!0,initialScale:a=.95,className:s,transition:l,transitionEnd:c,delay:u,animatePresenceProps:f,...p}=t,h=r?o&&r:!0,b=o||r?"enter":"exit",m={initialScale:a,reverse:i,transition:l,transitionEnd:c,delay:u};return d.jsx(no,{...f,custom:m,children:h&&d.jsx(Qn.div,{ref:n,className:Me("chakra-offset-slide",s),...j3,animate:b,custom:m,...p})})});gA.displayName="ScaleFade";const vA={slideInBottom:{...za,custom:{offsetY:16,reverse:!0}},slideInRight:{...za,custom:{offsetX:16,reverse:!0}},slideInTop:{...za,custom:{offsetY:-16,reverse:!0}},slideInLeft:{...za,custom:{offsetX:-16,reverse:!0}},scale:{...j3,custom:{initialScale:.95,reverse:!0}},none:{}},bA=le(Qn.section),yA=e=>vA[e||"none"],T3=g.forwardRef((e,t)=>{const{preset:n,motionProps:r=yA(n),...o}=e;return d.jsx(bA,{ref:t,...r,...o})});T3.displayName="ModalTransition";const bl=ye((e,t)=>{const{className:n,children:r,containerProps:o,motionProps:i,...a}=e,{getDialogProps:s,getDialogContainerProps:l}=vo(),c=s(a,t),u=l(o),f=Me("chakra-modal__content",n),p=pi(),h={display:"flex",flexDirection:"column",position:"relative",width:"100%",outline:0,...p.dialog},b={display:"flex",width:"100vw",height:"$100vh",position:"fixed",left:0,top:0,...p.dialogContainer},{motionPreset:m}=vo();return d.jsx(hA,{children:d.jsx(le.div,{...u,className:"chakra-modal__content-container",tabIndex:-1,__css:b,children:d.jsx(T3,{preset:m,motionProps:i,className:f,...c,__css:h,children:r})})})});bl.displayName="ModalContent";const yl=ye((e,t)=>{const{className:n,...r}=e,{bodyId:o,setBodyMounted:i}=vo();g.useEffect(()=>(i(!0),()=>i(!1)),[i]);const a=Me("chakra-modal__body",n),s=pi();return d.jsx(le.div,{ref:t,className:a,id:o,...r,__css:s.body})});yl.displayName="ModalBody";const P3=ye((e,t)=>{const{onClick:n,className:r,...o}=e,{onClose:i}=vo(),a=Me("chakra-modal__close-btn",r),s=pi();return d.jsx(Zu,{ref:t,__css:s.closeButton,className:a,onClick:Ue(n,l=>{l.stopPropagation(),i()}),...o})});P3.displayName="ModalCloseButton";const tf=ye((e,t)=>{const{className:n,...r}=e,o=Me("chakra-modal__footer",n),i=pi(),a={display:"flex",alignItems:"center",justifyContent:"flex-end",...i.footer};return d.jsx(le.footer,{ref:t,...r,__css:a,className:o})});tf.displayName="ModalFooter";const xl=ye((e,t)=>{const{className:n,...r}=e,{headerId:o,setHeaderMounted:i}=vo();g.useEffect(()=>(i(!0),()=>i(!1)),[i]);const a=Me("chakra-modal__header",n),s=pi(),l={flex:0,...s.header};return d.jsx(le.header,{ref:t,className:a,id:o,...r,__css:l})});xl.displayName="ModalHeader";const E3={initial:"exit",animate:"enter",exit:"exit",variants:{enter:({transition:e,transitionEnd:t,delay:n}={})=>({opacity:1,transition:(e==null?void 0:e.enter)??Cr.enter(co.enter,n),transitionEnd:t==null?void 0:t.enter}),exit:({transition:e,transitionEnd:t,delay:n}={})=>({opacity:0,transition:(e==null?void 0:e.exit)??Cr.exit(co.exit,n),transitionEnd:t==null?void 0:t.exit})}},xA=g.forwardRef(function(t,n){const{unmountOnExit:r,in:o,className:i,transition:a,transitionEnd:s,delay:l,animatePresenceProps:c,...u}=t,f=o||r?"enter":"exit",p=r?o&&r:!0,h={transition:a,transitionEnd:s,delay:l};return d.jsx(no,{...c,custom:h,children:p&&d.jsx(Qn.div,{ref:n,className:Me("chakra-fade",i),custom:h,...E3,animate:f,...u})})});xA.displayName="Fade";const CA=le(Qn.div),Cl=ye((e,t)=>{const{className:n,transition:r,motionProps:o,...i}=e,a=Me("chakra-modal__overlay",n),l={pos:"fixed",left:"0",top:"0",w:"100vw",h:"100vh",...pi().overlay},{motionPreset:c}=vo(),f=o||(c==="none"?{}:E3);return d.jsx(CA,{...f,__css:l,ref:t,className:a,...i})});Cl.displayName="ModalOverlay";function wA(e,t,n){return(e-t)*100/(n-t)}Ir({"0%":{strokeDasharray:"1, 400",strokeDashoffset:"0"},"50%":{strokeDasharray:"400, 400",strokeDashoffset:"-100"},"100%":{strokeDasharray:"400, 400",strokeDashoffset:"-260"}}),Ir({"0%":{transform:"rotate(0deg)"},"100%":{transform:"rotate(360deg)"}});const SA=Ir({"0%":{left:"-40%"},"100%":{left:"100%"}}),kA=Ir({from:{backgroundPosition:"1rem 0"},to:{backgroundPosition:"0 0"}});function _A(e){const{value:t=0,min:n,max:r,valueText:o,getValueText:i,isIndeterminate:a,role:s="progressbar"}=e,l=wA(t,n,r);return{bind:{"data-indeterminate":a?"":void 0,"aria-valuemax":r,"aria-valuemin":n,"aria-valuenow":a?void 0:t,"aria-valuetext":(()=>{if(t!=null)return typeof i=="function"?i(t,l):o})(),role:s},percent:l,value:t}}const[jA,TA]=ht({name:"ProgressStylesContext",errorMessage:`useProgressStyles returned is 'undefined'. Seems you forgot to wrap the components in "<Progress />" `}),PA=ye((e,t)=>{const{min:n,max:r,value:o,isIndeterminate:i,role:a,...s}=e,l=_A({value:o,min:n,max:r,isIndeterminate:i,role:a}),u={height:"100%",...TA().filledTrack};return d.jsx(le.div,{ref:t,style:{width:`${l.percent}%`,...s.style},...l.bind,...s,__css:u})}),A3=ye((e,t)=>{var P;const{value:n,min:r=0,max:o=100,hasStripe:i,isAnimated:a,children:s,borderRadius:l,isIndeterminate:c,"aria-label":u,"aria-labelledby":f,"aria-valuetext":p,title:h,role:b,...m}=Ct(e),v=Yt("Progress",e),S=l??((P=v.track)==null?void 0:P.borderRadius),y={animation:`${kA} 1s linear infinite`},x={...!c&&i&&a&&y,...c&&{position:"absolute",willChange:"left",minWidth:"50%",animation:`${SA} 1s ease infinite normal none running`}},E={overflow:"hidden",position:"relative",...v.track};return d.jsx(le.div,{ref:t,borderRadius:S,__css:E,...m,children:d.jsxs(jA,{value:v,children:[d.jsx(PA,{"aria-label":u,"aria-labelledby":f,"aria-valuetext":p,min:r,max:o,value:n,isIndeterminate:c,css:x,borderRadius:S,title:h,role:b}),s]})})});A3.displayName="Progress";const M3=ye(function(t,n){const{children:r,placeholder:o,className:i,...a}=t;return d.jsxs(le.select,{...a,ref:n,className:Me("chakra-select",i),children:[o&&d.jsx("option",{value:"",children:o}),r]})});M3.displayName="SelectField";const O3=ye((e,t)=>{var C;const n=Yt("Select",e),{rootProps:r,placeholder:o,icon:i,color:a,height:s,h:l,minH:c,minHeight:u,iconColor:f,iconSize:p,...h}=Ct(e),[b,m]=Cg(h,d5),v=od(m),S={width:"100%",height:"fit-content",position:"relative",color:a},y={paddingEnd:"2rem",...n.field,_focus:{zIndex:"unset",...(C=n.field)==null?void 0:C._focus}};return d.jsxs(le.div,{className:"chakra-select__wrapper",__css:S,...b,...r,children:[d.jsx(M3,{ref:t,height:l??s,minH:c??u,placeholder:o,...v,__css:y,children:e.children}),d.jsx(I3,{"data-disabled":Be(v.disabled),...(f||a)&&{color:f||a},__css:n.icon,...p&&{fontSize:p},children:i})]})});O3.displayName="Select";const EA=e=>d.jsx("svg",{viewBox:"0 0 24 24",...e,children:d.jsx("path",{fill:"currentColor",d:"M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6z"})}),AA=le("div",{baseStyle:{position:"absolute",display:"inline-flex",alignItems:"center",justifyContent:"center",pointerEvents:"none",top:"50%",transform:"translateY(-50%)"}}),I3=e=>{const{children:t=d.jsx(EA,{}),...n}=e,r=g.cloneElement(t,{role:"presentation",className:"chakra-select__icon",focusable:!1,"aria-hidden":!0,style:{width:"1em",height:"1em",color:"currentColor"}});return d.jsx(AA,{...n,className:"chakra-select__icon-wrapper",children:g.isValidElement(t)?r:null})};I3.displayName="SelectIcon";const D3=e=>d.jsx(le.div,{className:"chakra-stack__item",...e,__css:{display:"inline-block",flex:"0 0 auto",minWidth:0,...e.__css}});D3.displayName="StackItem";function MA(e){const{spacing:t,direction:n}=e,r={column:{my:t,mx:0,borderLeftWidth:0,borderBottomWidth:"1px"},"column-reverse":{my:t,mx:0,borderLeftWidth:0,borderBottomWidth:"1px"},row:{mx:t,my:0,borderLeftWidth:"1px",borderBottomWidth:0},"row-reverse":{mx:t,my:0,borderLeftWidth:"1px",borderBottomWidth:0}};return{"&":vg(n,o=>r[o])}}const nf=ye((e,t)=>{const{isInline:n,direction:r,align:o,justify:i,spacing:a="0.5rem",wrap:s,children:l,divider:c,className:u,shouldWrapChildren:f,...p}=e,h=n?"row":r??"column",b=g.useMemo(()=>MA({spacing:a,direction:h}),[a,h]),m=!!c,v=!f&&!m,S=g.useMemo(()=>{const C=zl(l);return v?C:C.map((j,x)=>{const E=typeof j.key<"u"?j.key:x,P=x+1===C.length,R=f?d.jsx(D3,{children:j},E):j;if(!m)return R;const L=g.cloneElement(c,{__css:b}),Z=P?null:L;return d.jsxs(g.Fragment,{children:[R,Z]},E)})},[c,b,m,v,f,l]),y=Me("chakra-stack",u);return d.jsx(le.div,{ref:t,display:"flex",alignItems:o,justifyContent:i,flexDirection:h,flexWrap:s,gap:m?void 0:a,className:y,...p,children:S})});nf.displayName="Stack";const Nr=ye((e,t)=>d.jsx(nf,{align:"center",...e,direction:"row",ref:t}));Nr.displayName="HStack";const ar=ye((e,t)=>d.jsx(nf,{align:"center",...e,direction:"column",ref:t}));ar.displayName="VStack";const $3=ye(function(t,n){const r=Yt("Switch",t),{spacing:o="0.5rem",children:i,...a}=Ct(t),{getIndicatorProps:s,getInputProps:l,getCheckboxProps:c,getRootProps:u,getLabelProps:f}=$h(a),p=g.useMemo(()=>({display:"inline-block",position:"relative",verticalAlign:"middle",lineHeight:0,...r.container}),[r.container]),h=g.useMemo(()=>({display:"inline-flex",flexShrink:0,justifyContent:"flex-start",boxSizing:"content-box",cursor:"pointer",...r.track}),[r.track]),b=g.useMemo(()=>({userSelect:"none",marginStart:o,...r.label}),[o,r.label]);return d.jsxs(le.label,{...u(),className:Me("chakra-switch",t.className),__css:p,children:[d.jsx("input",{className:"chakra-switch__input",...l({},n)}),d.jsx(le.span,{...c(),className:"chakra-switch__track",__css:h,children:d.jsx(le.span,{__css:r.thumb,className:"chakra-switch__thumb",...s()})}),i&&d.jsx(le.span,{className:"chakra-switch__label",...f(),__css:b,children:i})]})});$3.displayName="Switch";const[OA,IA,DA,$A]=Yu();function FA(e){const{defaultIndex:t,onChange:n,index:r,isManual:o,isLazy:i,lazyBehavior:a="unmount",orientation:s="horizontal",direction:l="ltr",...c}=e,[u,f]=g.useState(t??0),[p,h]=Bf({defaultValue:t??0,value:r,onChange:n});g.useEffect(()=>{r!=null&&f(r)},[r]);const b=DA(),m=g.useId();return{id:`tabs-${e.id??m}`,selectedIndex:p,focusedIndex:u,setSelectedIndex:h,setFocusedIndex:f,isManual:o,isLazy:i,lazyBehavior:a,orientation:s,descendants:b,direction:l,htmlProps:c}}const[zA,F3]=ht({name:"TabsContext",errorMessage:"useTabsContext: `context` is undefined. Seems you forgot to wrap all tabs components within <Tabs />"});function LA(e){const{focusedIndex:t,orientation:n,direction:r}=F3(),o=IA(),i=g.useCallback(a=>{const s=()=>{var C;const y=o.nextEnabled(t);y&&((C=y.node)==null||C.focus())},l=()=>{var C;const y=o.prevEnabled(t);y&&((C=y.node)==null||C.focus())},c=()=>{var C;const y=o.firstEnabled();y&&((C=y.node)==null||C.focus())},u=()=>{var C;const y=o.lastEnabled();y&&((C=y.node)==null||C.focus())},f=n==="horizontal",p=n==="vertical",h=a.key,b=r==="ltr"?"ArrowLeft":"ArrowRight",m=r==="ltr"?"ArrowRight":"ArrowLeft",S={[b]:()=>f&&l(),[m]:()=>f&&s(),ArrowDown:()=>p&&s(),ArrowUp:()=>p&&l(),Home:c,End:u}[h];S&&(a.preventDefault(),S(a))},[o,t,n,r]);return{...e,role:"tablist","aria-orientation":n,onKeyDown:Ue(e.onKeyDown,i)}}function BA(e){const{isDisabled:t=!1,isFocusable:n=!1,...r}=e,{setSelectedIndex:o,isManual:i,id:a,setFocusedIndex:s,selectedIndex:l}=F3(),{index:c,register:u}=$A({disabled:t&&!n}),f=c===l,p=()=>{o(c)},h=()=>{s(c),!i&&!(t&&n)&&o(c)};return{...u3({...r,ref:Bt(u,e.ref),isDisabled:t,isFocusable:n,onClick:Ue(e.onClick,p)}),id:NA(a,c),role:"tab",tabIndex:f?0:-1,type:"button","aria-selected":f,"aria-controls":RA(a,c),onFocus:t?void 0:Ue(e.onFocus,h)}}ht({});function NA(e,t){return`${e}--tab-${t}`}function RA(e,t){return`${e}--tabpanel-${t}`}const[VA,z3]=ht({name:"TabsStylesContext",errorMessage:`useTabsStyles returned is 'undefined'. Seems you forgot to wrap the components in "<Tabs />" `}),L3=ye(function(t,n){const r=Yt("Tabs",t),{children:o,className:i,...a}=Ct(t),{htmlProps:s,descendants:l,...c}=FA(a),u=g.useMemo(()=>c,[c]),{isFitted:f,...p}=s,h={position:"relative",...r.root};return d.jsx(OA,{value:l,children:d.jsx(zA,{value:u,children:d.jsx(VA,{value:r,children:d.jsx(le.div,{className:Me("chakra-tabs",i),ref:n,...p,__css:h,children:o})})})})});L3.displayName="Tabs";const B3=ye(function(t,n){const r=z3(),o=BA({...t,ref:n}),i={outline:"0",display:"flex",alignItems:"center",justifyContent:"center",...r.tab};return d.jsx(le.button,{...o,className:Me("chakra-tabs__tab",t.className),__css:i})});B3.displayName="Tab";const N3=ye(function(t,n){const r=LA({...t,ref:n}),o=z3(),i={display:"flex",...o.tablist};return d.jsx(le.div,{...r,className:Me("chakra-tabs__tablist",t.className),__css:i})});N3.displayName="TabList";const[WA,R3]=ht({name:"TagStylesContext",errorMessage:`useTagStyles returned is 'undefined'. Seems you forgot to wrap the components in "<Tag />" `}),rf=ye((e,t)=>{const n=Yt("Tag",e),r=Ct(e),o={display:"inline-flex",verticalAlign:"top",alignItems:"center",maxWidth:"100%",...n.container};return d.jsx(WA,{value:n,children:d.jsx(le.span,{ref:t,...r,__css:o})})});rf.displayName="Tag";const V3=ye((e,t)=>{const n=R3();return d.jsx(le.span,{ref:t,noOfLines:1,...e,__css:n.label})});V3.displayName="TagLabel";const HA=ye((e,t)=>d.jsx(Xt,{ref:t,verticalAlign:"top",marginEnd:"0.5rem",...e}));HA.displayName="TagLeftIcon";const UA=ye((e,t)=>d.jsx(Xt,{ref:t,verticalAlign:"top",marginStart:"0.5rem",...e}));UA.displayName="TagRightIcon";const W3=e=>d.jsx(Xt,{verticalAlign:"inherit",viewBox:"0 0 512 512",...e,children:d.jsx("path",{fill:"currentColor",d:"M289.94 256l95-95A24 24 0 00351 127l-95 95-95-95a24 24 0 00-34 34l95 95-95 95a24 24 0 1034 34l95-95 95 95a24 24 0 0034-34z"})});W3.displayName="TagCloseIcon";const H3=ye((e,t)=>{const{isDisabled:n,children:r,...o}=e,a={display:"flex",alignItems:"center",justifyContent:"center",outline:"0",...R3().closeButton};return d.jsx(le.button,{ref:t,"aria-label":"close",...o,type:"button",disabled:n,__css:a,children:r||d.jsx(W3,{})})});H3.displayName="TagCloseButton";const qA=["h","minH","height","minHeight"],of=ye((e,t)=>{const n=er("Textarea",e),{className:r,rows:o,...i}=Ct(e),a=od(i),s=o?So(n,qA):n;return d.jsx(le.textarea,{ref:t,rows:o,...a,className:Me("chakra-textarea",r),__css:s})});of.displayName="Textarea";function ZA(e,t){const n=e??"bottom",o={"top-start":{ltr:"top-left",rtl:"top-right"},"top-end":{ltr:"top-right",rtl:"top-left"},"bottom-start":{ltr:"bottom-left",rtl:"bottom-right"},"bottom-end":{ltr:"bottom-right",rtl:"bottom-left"}}[n];return(o==null?void 0:o[t])??n}function GA(e,t){const n=o=>({...t,...o,position:ZA((o==null?void 0:o.position)??(t==null?void 0:t.position),e)}),r=o=>{const i=n(o),a=lh(i);return tr.notify(a,i)};return r.update=(o,i)=>{tr.update(o,n(i))},r.promise=(o,i)=>{const a=r({...i.loading,status:"loading",duration:null});o.then(s=>r.update(a,{status:"success",duration:5e3,...mn(i.success,s)})).catch(s=>r.update(a,{status:"error",duration:5e3,...mn(i.error,s)}))},r.closeAll=tr.closeAll,r.close=tr.close,r.isActive=tr.isActive,r}function U3(e){const{theme:t}=Q2(),n=o_();return g.useMemo(()=>GA(t.direction,{...n,...e}),[e,t.direction,n])}const KA={exit:{scale:.85,opacity:0,transition:{opacity:{duration:.15,easings:"easeInOut"},scale:{duration:.2,easings:"easeInOut"}}},enter:{scale:1,opacity:1,transition:{opacity:{easings:"easeOut",duration:.2},scale:{duration:.2,ease:[.175,.885,.4,1.1]}}}},af=e=>{var t;return((t=e.current)==null?void 0:t.ownerDocument)||document},wl=e=>{var t,n;return((n=(t=e.current)==null?void 0:t.ownerDocument)==null?void 0:n.defaultView)||window};function YA(e={}){const{openDelay:t=0,closeDelay:n=0,closeOnClick:r=!0,closeOnMouseDown:o,closeOnScroll:i,closeOnPointerDown:a=o,closeOnEsc:s=!0,onOpen:l,onClose:c,placement:u,id:f,isOpen:p,defaultIsOpen:h,arrowSize:b=10,arrowShadowColor:m,arrowPadding:v,modifiers:S,isDisabled:y,gutter:C,offset:j,direction:x,...E}=e,{isOpen:P,onOpen:D,onClose:R}=Nf({isOpen:p,defaultIsOpen:h,onOpen:l,onClose:c}),{referenceRef:L,getPopperProps:Z,getArrowInnerProps:ce,getArrowProps:ae}=c3({enabled:P,placement:u,arrowPadding:v,modifiers:S,gutter:C,offset:j,direction:x}),z=g.useId(),G=`tooltip-${f??z}`,N=g.useRef(null),ue=g.useRef(),he=g.useCallback(()=>{ue.current&&(clearTimeout(ue.current),ue.current=void 0)},[]),O=g.useRef(),F=g.useCallback(()=>{O.current&&(clearTimeout(O.current),O.current=void 0)},[]),K=g.useCallback(()=>{F(),R()},[R,F]),V=XA(N,K),B=g.useCallback(()=>{if(!y&&!ue.current){P&&V();const H=wl(N);ue.current=H.setTimeout(D,t)}},[V,y,P,D,t]),w=g.useCallback(()=>{he();const H=wl(N);O.current=H.setTimeout(K,n)},[n,K,he]),J=g.useCallback(()=>{P&&r&&w()},[r,w,P]),Q=g.useCallback(()=>{P&&a&&w()},[a,w,P]),ee=g.useCallback(H=>{P&&H.key==="Escape"&&w()},[P,w]);Ka(()=>af(N),"keydown",s?ee:void 0),Ka(()=>{if(!i)return null;const H=N.current;if(!H)return null;const Te=zf(H);return Te.localName==="body"?wl(N):Te},"scroll",()=>{P&&i&&K()},{passive:!0,capture:!0}),g.useEffect(()=>{y&&(he(),P&&R())},[y,P,R,he]),g.useEffect(()=>()=>{he(),F()},[he,F]),Ka(()=>N.current,"pointerleave",w);const me=g.useCallback((H={},Te=null)=>({...H,ref:Bt(N,Te,L),onPointerEnter:Ue(H.onPointerEnter,A=>{A.pointerType!=="touch"&&B()}),onClick:Ue(H.onClick,J),onPointerDown:Ue(H.onPointerDown,Q),onFocus:Ue(H.onFocus,B),onBlur:Ue(H.onBlur,w),"aria-describedby":P?G:void 0}),[B,w,Q,P,G,J,L]),de=g.useCallback((H={},Te=null)=>Z({...H,style:{...H.style,[Vt.arrowSize.var]:b?`${b}px`:void 0,[Vt.arrowShadowColor.var]:m}},Te),[Z,b,m]),ke=g.useCallback((H={},Te=null)=>{const De={...H.style,position:"relative",transformOrigin:Vt.transformOrigin.varRef};return{ref:Te,...E,...H,id:G,role:"tooltip",style:De}},[E,G]);return{isOpen:P,show:B,hide:w,getTriggerProps:me,getTooltipProps:ke,getTooltipPositionerProps:de,getArrowProps:ae,getArrowInnerProps:ce}}const sf="chakra-ui:close-tooltip";function XA(e,t){return g.useEffect(()=>{const n=af(e);return n.addEventListener(sf,t),()=>n.removeEventListener(sf,t)},[t,e]),()=>{const n=af(e),r=wl(e);n.dispatchEvent(new r.CustomEvent(sf))}}const JA=le(Qn.div),Sl=ye((e,t)=>{const n=er("Tooltip",e),r=Ct(e),o=va(),{children:i,label:a,shouldWrapChildren:s,"aria-label":l,hasArrow:c,bg:u,portalProps:f,background:p,backgroundColor:h,bgColor:b,motionProps:m,animatePresenceProps:v,...S}=r,y=p??h??u??b;if(y){n.bg=y;const L=C5(o,"colors",y);n[Vt.arrowBg.var]=L}const C=YA({...S,direction:o.direction}),j=!g.isValidElement(i)||s;let x;if(j)x=d.jsx(le.span,{display:"inline-block",tabIndex:0,...C.getTriggerProps(),children:i});else{const L=g.Children.only(i);x=g.cloneElement(L,C.getTriggerProps(L.props,L.ref))}const E=!!l,P=C.getTooltipProps({},t),D=E?So(P,["role","id"]):P,R=Ff(P,["role","id"]);return a?d.jsxs(d.Fragment,{children:[x,d.jsx(no,{...v,children:C.isOpen&&d.jsx(Qo,{...f,children:d.jsx(le.div,{...C.getTooltipPositionerProps(),__css:{zIndex:n.zIndex,pointerEvents:"none"},children:d.jsxs(JA,{variants:KA,initial:"exit",animate:"enter",exit:"exit",...m,...D,__css:n,children:[a,E&&d.jsx(le.span,{srOnly:!0,...R,children:l}),c&&d.jsx(le.div,{"data-popper-arrow":!0,className:"chakra-tooltip__arrow-wrapper",children:d.jsx(le.div,{"data-popper-arrow-inner":!0,className:"chakra-tooltip__arrow",__css:{bg:n.bg}})})]})})})})]}):d.jsx(d.Fragment,{children:i})});Sl.displayName="Tooltip";const Le=ye(function(t,n){const r=er("Text",t),{className:o,align:i,decoration:a,casing:s,...l}=Ct(t),c=Ei({textAlign:t.align,textDecoration:t.decoration,textTransform:t.casing});return d.jsx(le.p,{ref:n,className:Me("chakra-text",t.className),...c,...l,__css:r})});Le.displayName="Text";const QA={Body:"Sansation-Regular, sans-serif",Heading:"Sansation-Bold, sans-serif",Lato:"Lato-Regular, sans-serif"},eM={global:{body:{color:"#000",textAlign:"center",fontSize:"14px",fontStyle:"normal",fontWeight:400,lineHeight:"normal"},"*":{boxSizing:"border-box"},a:{cursor:"pointer"},...{".chat-wrapper":{background:"#4E4D4D",border:"2px solid #D6D6D6",borderRadius:"8px",fontSize:"16px",minHeight:"240px",overflow:"hidden",padding:"1rem 0",width:"100%"},".message-input":{borderTop:"1px solid #ccc"},".cs-message-list":{background:"#4E4D4D"},".cs-chat-container .cs-message-input":{background:"#4E4D4D",border:"0",padding:"1rem 0"},".scrollbar-container":{background:"transparent"},".cs-message-input__content-editor-wrapper":{background:"#6E6E6E"},".cs-message-input__content-editor":{background:"transparent",color:"#fff",textAlign:"left"},".cs-message--incoming .cs-message__content":{background:"transparent",padding:"1rem 0",color:"#fff",textAlign:"left",fontSize:"16px"},".cs-message.cs-message--outgoing.cs-message--first .cs-message__content":{background:"#efefef",borderRadius:"20px",color:"#000"},".cs-message.cs-message--incoming.cs-message--first .cs-message__content":{background:"transparent",color:"#fff"},".cs-message.cs-message--outgoing.cs-message--single .cs-message__content":{background:"#fff",fontSize:"16px"},".cs-message-list .cs-typing-indicator":{background:"transparent",margin:"0 1.2em 0 .8em",padding:"0"},".cs-typing-indicator__text":{color:"#fff"},".cs-typing-indicator__dot":{backgroundColor:"#fff"}}}},Jt={primary:{200:"#8BBFCB",300:"#67ABBB",400:"#4A94A6",500:"#3B7684",600:"#2B555F"},elevate:{200:"#FFF8FA",300:"#FFD6E2",400:"#FFA3BF",500:"#FF6F9A",600:"#FF3D77",700:"#FF0A53"},assist:{200:"#F9FCFE",300:"#B4D8F4",400:"#87C1ED",500:"#5AA9E6",600:"#2F93DF",700:"#1D79BE"},play:{300:"#FEE2DC",400:"#FCB8AB",500:"#FB8E79",600:"#FA6448",700:"#F93916"},talent:{300:"#D4BBD8",400:"#AB7AB3",500:"#965BA0",600:"#77487F",700:"#58365E"},collect:{300:"#95DAB8",400:"#6FCD9E",500:"#48BF84",600:"#389F6C",700:"#F93916"},ad:{300:"#AA7A60",400:"#8C624B",500:"#694A38",600:"#493427",700:"#281C15"},black:{40:"#EFEFEF",50:"#D7D7D7",100:"#C1C1C1",200:"#999999",300:"#999999",400:"#666666",500:"#333333",600:"#222222"},white:{50:"#EFEFEF",100:"#FFFFFF"},success:{200:"#C6F6D5",300:"#2CD888",400:"#21B06E",500:"#198754",600:"#115A38"},danger:{200:"#FED7D7",300:"#F81C34",400:"#DB071E",500:"#CE0015",600:"#C10004"},warning:{200:"#FEEBCB",300:"#FFCF70",400:"#FFBE3D",500:"#FFAE0C",600:"#D68F00"},info:{200:"#BEE3F8",300:"#47AFFF",400:"#1499FF",500:"#007EDF",600:"#0062AD"}},Rr=sj({config:{initialColorMode:"light",useSystemColorMode:!1},colors:Jt,fonts:QA,styles:eM}),tM=({children:e,...t})=>d.jsx(a_,{theme:Rr,...t,children:e}),nM=Ln({displayName:"CheckCircleIcon",d:"M12,0A12,12,0,1,0,24,12,12.014,12.014,0,0,0,12,0Zm6.927,8.2-6.845,9.289a1.011,1.011,0,0,1-1.43.188L5.764,13.769a1,1,0,1,1,1.25-1.562l4.076,3.261,6.227-8.451A1,1,0,1,1,18.927,8.2Z"}),rM=Ln({d:"M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z",displayName:"ChevronLeftIcon"}),oM=Ln({d:"M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z",displayName:"ChevronRightIcon"}),lf=Ln({displayName:"ChevronDownIcon",d:"M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6z"}),q3=Ln({d:"M12 8l-6 6 1.41 1.41L12 10.83l4.59 4.58L18 14z",displayName:"ChevronUpIcon"}),kl=Ln({displayName:"CloseIcon",d:"M.439,21.44a1.5,1.5,0,0,0,2.122,2.121L11.823,14.3a.25.25,0,0,1,.354,0l9.262,9.263a1.5,1.5,0,1,0,2.122-2.121L14.3,12.177a.25.25,0,0,1,0-.354l9.263-9.262A1.5,1.5,0,0,0,21.439.44L12.177,9.7a.25.25,0,0,1-.354,0L2.561.44A1.5,1.5,0,0,0,.439,2.561L9.7,11.823a.25.25,0,0,1,0,.354Z"}),cf=Ln({displayName:"InfoOutlineIcon",path:d.jsxs("g",{fill:"currentColor",stroke:"currentColor",strokeLinecap:"square",strokeWidth:"2",children:[d.jsx("circle",{cx:"12",cy:"12",fill:"none",r:"11",stroke:"currentColor"}),d.jsx("line",{fill:"none",x1:"11.959",x2:"11.959",y1:"11",y2:"17"}),d.jsx("circle",{cx:"11.959",cy:"7",r:"1",stroke:"none"})]})}),iM=Ln({d:"M12,0A12,12,0,1,0,24,12,12.013,12.013,0,0,0,12,0Zm.25,5a1.5,1.5,0,1,1-1.5,1.5A1.5,1.5,0,0,1,12.25,5ZM14.5,18.5h-4a1,1,0,0,1,0-2h.75a.25.25,0,0,0,.25-.25v-4.5a.25.25,0,0,0-.25-.25H10.5a1,1,0,0,1,0-2h1a2,2,0,0,1,2,2v4.75a.25.25,0,0,0,.25.25h.75a1,1,0,1,1,0,2Z"}),Z3=Ln({d:"M11.983,0a12.206,12.206,0,0,0-8.51,3.653A11.8,11.8,0,0,0,0,12.207,11.779,11.779,0,0,0,11.8,24h.214A12.111,12.111,0,0,0,24,11.791h0A11.766,11.766,0,0,0,11.983,0ZM10.5,16.542a1.476,1.476,0,0,1,1.449-1.53h.027a1.527,1.527,0,0,1,1.523,1.47,1.475,1.475,0,0,1-1.449,1.53h-.027A1.529,1.529,0,0,1,10.5,16.542ZM11,12.5v-6a1,1,0,0,1,2,0v6a1,1,0,1,1-2,0Z",displayName:"WarningIcon"}),aM=Ln({viewBox:"0 0 14 14",path:d.jsx("g",{fill:"currentColor",children:d.jsx("polygon",{points:"5.5 11.9993304 14 3.49933039 12.5 2 5.5 8.99933039 1.5 4.9968652 0 6.49933039"})})}),sM=Ln({displayName:"HamburgerIcon",viewBox:"0 0 24 24",d:"M 3 5 A 1.0001 1.0001 0 1 0 3 7 L 21 7 A 1.0001 1.0001 0 1 0 21 5 L 3 5 z M 3 11 A 1.0001 1.0001 0 1 0 3 13 L 21 13 A 1.0001 1.0001 0 1 0 21 11 L 3 11 z M 3 17 A 1.0001 1.0001 0 1 0 3 19 L 21 19 A 1.0001 1.0001 0 1 0 21 17 L 3 17 z"}),lM=g.forwardRef(({label:e="",fontFamilyLabel:t="sans-serif",fontSizeLabel:n="1rem",options:r,onChange:o,fontFamily:i="sans-serif",fontSize:a="1rem",info:s=!0,infoText:l="",bgColorTooltip:c="rgba(208, 203, 203, 1)",positionTooltip:u="right",borderTooltip:f="1px solid black",borderRadiusTooltip:p=".5rem",fontFamilyTooltip:h="Lato-Regular",fontSizeTooltip:b="0.75rem",textAlignTooltip:m="center",colorTextTooltip:v="black.500",isRequired:S=!0,hasArrowTooltip:y=!1,disableSelect:C=!1,textSubtitle:j="",subtitleAlign:x="left",colorTextSubtitle:E="black.500",spacingTextSubtitle:P="1rem 0",fontSizeSubtitle:D="1rem",fontFamilySubtitle:R="Lato",...L},Z)=>d.jsxs(xa,{isRequired:S,children:[d.jsxs(ii,{display:"flex",alignItems:"center",fontSize:n,fontFamily:t,children:[e,s&&l&&d.jsx(Sl,{label:l,"aria-label":"Más información",p:"10px",bg:c||"rgba(0, 0, 0, .5)",border:f,borderRadius:p,color:v,placement:u,fontFamily:h,fontSize:b,textAlign:m,hasArrow:y,children:d.jsx(qt,{icon:d.jsx(cf,{}),"aria-label":"Información",size:"sm",variant:"ghost",ml:2,color:"info.600"})})]}),d.jsxs(Le,{display:j!==""?"block":"none",textAlign:x,color:E,margin:P,fontSize:D,fontFamily:R,children:[" ",j]}),d.jsx(O3,{onChange:ce=>o(ce.target.value),...L,ref:Z,fontFamily:i,fontSize:a,sx:{"&:focus-visible":{color:"#222222",borderColor:"#c1c1c1",boxShadow:"none"}},...L,disabled:C,children:r.map(ce=>d.jsx("option",{value:ce.value,children:ce.name},ce.value))})]}));var G3={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},K3=g.createContext&&g.createContext(G3),cM=["attr","size","title"];function uM(e,t){if(e==null)return{};var n=dM(e,t),r,o;if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o<i.length;o++)r=i[o],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function dM(e,t){if(e==null)return{};var n={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}function _l(){return _l=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},_l.apply(this,arguments)}function Y3(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function jl(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Y3(Object(n),!0).forEach(function(r){fM(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Y3(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function fM(e,t,n){return t=pM(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function pM(e){var t=hM(e,"string");return typeof t=="symbol"?t:t+""}function hM(e,t){if(typeof e!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if(typeof r!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function X3(e){return e&&e.map((t,n)=>g.createElement(t.tag,jl({key:n},t.attr),X3(t.child)))}function dt(e){return t=>g.createElement(mM,_l({attr:jl({},e.attr)},t),X3(e.child))}function mM(e){var t=n=>{var{attr:r,size:o,title:i}=e,a=uM(e,cM),s=o||n.size||"1em",l;return n.className&&(l=n.className),e.className&&(l=(l?l+" ":"")+e.className),g.createElement("svg",_l({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},n.attr,r,a,{className:l,style:jl(jl({color:e.color||n.color},n.style),e.style),height:s,width:s,xmlns:"http://www.w3.org/2000/svg"}),i&&g.createElement("title",null,i),e.children)};return K3!==void 0?g.createElement(K3.Consumer,null,n=>t(n)):t(G3)}function gM(e){return dt({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"line",attr:{x1:"12",y1:"5",x2:"12",y2:"19"},child:[]},{tag:"polyline",attr:{points:"19 12 12 19 5 12"},child:[]}]})(e)}function vM(e){return dt({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"line",attr:{x1:"19",y1:"12",x2:"5",y2:"12"},child:[]},{tag:"polyline",attr:{points:"12 19 5 12 12 5"},child:[]}]})(e)}function bM(e){return dt({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"line",attr:{x1:"5",y1:"12",x2:"19",y2:"12"},child:[]},{tag:"polyline",attr:{points:"12 5 19 12 12 19"},child:[]}]})(e)}function yM(e){return dt({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"line",attr:{x1:"12",y1:"19",x2:"12",y2:"5"},child:[]},{tag:"polyline",attr:{points:"5 12 12 5 19 12"},child:[]}]})(e)}function xM(e){return dt({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"rect",attr:{x:"9",y:"9",width:"13",height:"13",rx:"2",ry:"2"},child:[]},{tag:"path",attr:{d:"M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1"},child:[]}]})(e)}function CM(e){return dt({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"line",attr:{x1:"12",y1:"1",x2:"12",y2:"23"},child:[]},{tag:"path",attr:{d:"M17 5H9.5a3.5 3.5 0 0 0 0 7h5a3.5 3.5 0 0 1 0 7H6"},child:[]}]})(e)}function wM(e){return dt({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4"},child:[]},{tag:"polyline",attr:{points:"7 10 12 15 17 10"},child:[]},{tag:"line",attr:{x1:"12",y1:"15",x2:"12",y2:"3"},child:[]}]})(e)}function SM(e){return dt({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6"},child:[]},{tag:"polyline",attr:{points:"15 3 21 3 21 9"},child:[]},{tag:"line",attr:{x1:"10",y1:"14",x2:"21",y2:"3"},child:[]}]})(e)}function kM(e){return dt({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M13 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V9z"},child:[]},{tag:"polyline",attr:{points:"13 2 13 9 20 9"},child:[]}]})(e)}function J3(e){return dt({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M12 1a3 3 0 0 0-3 3v8a3 3 0 0 0 6 0V4a3 3 0 0 0-3-3z"},child:[]},{tag:"path",attr:{d:"M19 10v2a7 7 0 0 1-14 0v-2"},child:[]},{tag:"line",attr:{x1:"12",y1:"19",x2:"12",y2:"23"},child:[]},{tag:"line",attr:{x1:"8",y1:"23",x2:"16",y2:"23"},child:[]}]})(e)}function _M(e){return dt({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"rect",attr:{x:"6",y:"4",width:"4",height:"16"},child:[]},{tag:"rect",attr:{x:"14",y:"4",width:"4",height:"16"},child:[]}]})(e)}function jM(e){return dt({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"polygon",attr:{points:"5 3 19 12 5 21 5 3"},child:[]}]})(e)}function TM(e){return dt({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"line",attr:{x1:"12",y1:"5",x2:"12",y2:"19"},child:[]},{tag:"line",attr:{x1:"5",y1:"12",x2:"19",y2:"12"},child:[]}]})(e)}function PM(e){return dt({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M19 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h11l5 5v11a2 2 0 0 1-2 2z"},child:[]},{tag:"polyline",attr:{points:"17 21 17 13 7 13 7 21"},child:[]},{tag:"polyline",attr:{points:"7 3 7 8 15 8"},child:[]}]})(e)}function Q3(e){return dt({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M10 15v4a3 3 0 0 0 3 3l4-9V2H5.72a2 2 0 0 0-2 1.7l-1.38 9a2 2 0 0 0 2 2.3zm7-13h2.67A2.31 2.31 0 0 1 22 4v7a2.31 2.31 0 0 1-2.33 2H17"},child:[]}]})(e)}function e4(e){return dt({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M14 9V5a3 3 0 0 0-3-3l-4 9v11h11.28a2 2 0 0 0 2-1.7l1.38-9a2 2 0 0 0-2-2.3zM7 22H4a2 2 0 0 1-2-2v-7a2 2 0 0 1 2-2h3"},child:[]}]})(e)}function EM(e){return dt({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"polyline",attr:{points:"3 6 5 6 21 6"},child:[]},{tag:"path",attr:{d:"M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6m3 0V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2"},child:[]},{tag:"line",attr:{x1:"10",y1:"11",x2:"10",y2:"17"},child:[]},{tag:"line",attr:{x1:"14",y1:"11",x2:"14",y2:"17"},child:[]}]})(e)}function AM(e){return dt({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"circle",attr:{cx:"12",cy:"12",r:"10"},child:[]},{tag:"line",attr:{x1:"15",y1:"9",x2:"9",y2:"15"},child:[]},{tag:"line",attr:{x1:"9",y1:"9",x2:"15",y2:"15"},child:[]}]})(e)}const MM={arrowLeft:vM,arrowRight:bM,delete:EM,save:PM,added:TM,record:J3,file:kM,download:wM,arrowDownload:gM},OM=({text:e,type:t="solid",color:n,size:r="md",loading:o=!1,onClick:i,icon:a,disabled:s,bgColor:l,...c})=>{const[u]=Xs("colors",[n]),f=a?MM[a]:void 0,p=(()=>{switch(t){case"solid":return Lt(u,.7)({});case"outline":return Lt(u,.1)({});case"surface":return Lt(u,.5)({});case"subtle":return Lt(u,.5)({});default:return"transparent"}})(),h=(()=>{switch(t){case"solid":return{bg:u,color:"white"};case"outline":return{bg:"transparent",color:u,borderColor:u,borderWidth:"1px"};case"surface":return{bg:Lt(u,.3)({}),color:u,borderColor:u,borderWidth:"1px"};case"subtle":return{bg:Lt(u,.3)({}),color:u,borderColor:u};default:return{}}})();return d.jsxs(ln,{onClick:i,size:r,isLoading:o,bg:l||h.bg,color:h.color,borderColor:h.borderColor,borderWidth:h.borderWidth,_hover:{bg:p},disabled:s,...c,children:[f&&d.jsx(Xt,{as:f,mr:2}),e]})};function IM(e){return dt({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M512 144v288c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V144c0-26.5 21.5-48 48-48h88l12.3-32.9c7-18.7 24.9-31.1 44.9-31.1h125.5c20 0 37.9 12.4 44.9 31.1L376 96h88c26.5 0 48 21.5 48 48zM376 288c0-66.2-53.8-120-120-120s-120 53.8-120 120 53.8 120 120 120 120-53.8 120-120zm-32 0c0 48.5-39.5 88-88 88s-88-39.5-88-88 39.5-88 88-88 88 39.5 88 88z"},child:[]}]})(e)}const DM=({title:e,description:t,iconColor:n="elevate.500",onUpload:r,h:o="155px",w:i="155px",initialImage:a,isReadOnly:s=!1})=>{const[l,c]=g.useState(null);g.useEffect(()=>{if(a){const f=URL.createObjectURL(a);c(f)}else c(null)},[a]);const u=async f=>{var h;if(s)return;const p=(h=f.target.files)==null?void 0:h[0];if(p){const b=URL.createObjectURL(p);c(b),r&&await r(p)}};return d.jsxs(ar,{spacing:4,border:"1px dashed",borderColor:"gray.300",rounded:"md",align:"center",justify:"center",width:i,height:o,cursor:s?"default":"pointer",onClick:()=>{var f;s||(f=document.getElementById("file-input"))==null||f.click()},children:[l?d.jsx($m,{src:l,alt:"Uploaded",boxSize:"100%",rounded:"md"}):d.jsxs(d.Fragment,{children:[d.jsx(Xt,{as:IM,color:n,boxSize:8}),d.jsx(Le,{fontWeight:"bold",children:e}),d.jsx(Le,{fontSize:"sm",color:"gray.500",children:t})]}),!s&&d.jsx("input",{id:"file-input",type:"file",style:{display:"none"},accept:"image/*",onChange:u})]})},$M=({steps:e,color:t,onStepClick:n,activeStep:r})=>{var u;const[o,i,a]=Xs("colors",[t,"black.400","black.100"]),s=Lt(o,.3)({}),l=(u=e[r])==null?void 0:u.isCompleted;function c(f){const p=f.split(" ");if(p.length<=2)return f;{const h=p.slice(0,2).join(" "),b=p.slice(2).join(" ");return h+`
|
|
392
|
-
`+b}}return d.jsx(ut,{width:"100%",align:"center",justify:"center",children:e.map((f,p)=>{const h=l&&f.isCompleted&&n;return d.jsxs(ut,{align:"center",children:[d.jsxs(ut,{align:"center",cursor:h?"pointer":"default",onClick:()=>{h&&n(p)},children:[d.jsx(Ph,{ml:p!==0?"10px":void 0,size:"40px",bg:f.isCompleted&&!f.isActive&&p!==r?s:"white",border:`2px solid ${f.isCompleted||f.isActive?o:a}`,children:d.jsx(Le,{fontSize:"14px",color:f.isCompleted||f.isActive?o:i,fontWeight:f.isActive?"bold":"normal",children:f.isCompleted&&p===e.length-1?d.jsx(aM,{color:o}):p+1})}),d.jsx(Le,{ml:3,mr:2,color:f.isCompleted||f.isActive?o:i,fontSize:"sm",fontWeight:f.isCompleted||f.isActive?"bold":"normal",textAlign:"initial",whiteSpace:"pre-line",wordBreak:"break-word",children:c(f.label)})]}),p<e.length-1&&d.jsx(zh,{width:"64px",flex:"1",borderWidth:"2px",borderColor:f.isCompleted||f.isActive?o:a,mx:2})]},p)})})},FM=new Map([["1km","application/vnd.1000minds.decision-model+xml"],["3dml","text/vnd.in3d.3dml"],["3ds","image/x-3ds"],["3g2","video/3gpp2"],["3gp","video/3gp"],["3gpp","video/3gpp"],["3mf","model/3mf"],["7z","application/x-7z-compressed"],["7zip","application/x-7z-compressed"],["123","application/vnd.lotus-1-2-3"],["aab","application/x-authorware-bin"],["aac","audio/x-acc"],["aam","application/x-authorware-map"],["aas","application/x-authorware-seg"],["abw","application/x-abiword"],["ac","application/vnd.nokia.n-gage.ac+xml"],["ac3","audio/ac3"],["acc","application/vnd.americandynamics.acc"],["ace","application/x-ace-compressed"],["acu","application/vnd.acucobol"],["acutc","application/vnd.acucorp"],["adp","audio/adpcm"],["aep","application/vnd.audiograph"],["afm","application/x-font-type1"],["afp","application/vnd.ibm.modcap"],["ahead","application/vnd.ahead.space"],["ai","application/pdf"],["aif","audio/x-aiff"],["aifc","audio/x-aiff"],["aiff","audio/x-aiff"],["air","application/vnd.adobe.air-application-installer-package+zip"],["ait","application/vnd.dvb.ait"],["ami","application/vnd.amiga.ami"],["amr","audio/amr"],["apk","application/vnd.android.package-archive"],["apng","image/apng"],["appcache","text/cache-manifest"],["application","application/x-ms-application"],["apr","application/vnd.lotus-approach"],["arc","application/x-freearc"],["arj","application/x-arj"],["asc","application/pgp-signature"],["asf","video/x-ms-asf"],["asm","text/x-asm"],["aso","application/vnd.accpac.simply.aso"],["asx","video/x-ms-asf"],["atc","application/vnd.acucorp"],["atom","application/atom+xml"],["atomcat","application/atomcat+xml"],["atomdeleted","application/atomdeleted+xml"],["atomsvc","application/atomsvc+xml"],["atx","application/vnd.antix.game-component"],["au","audio/x-au"],["avi","video/x-msvideo"],["avif","image/avif"],["aw","application/applixware"],["azf","application/vnd.airzip.filesecure.azf"],["azs","application/vnd.airzip.filesecure.azs"],["azv","image/vnd.airzip.accelerator.azv"],["azw","application/vnd.amazon.ebook"],["b16","image/vnd.pco.b16"],["bat","application/x-msdownload"],["bcpio","application/x-bcpio"],["bdf","application/x-font-bdf"],["bdm","application/vnd.syncml.dm+wbxml"],["bdoc","application/x-bdoc"],["bed","application/vnd.realvnc.bed"],["bh2","application/vnd.fujitsu.oasysprs"],["bin","application/octet-stream"],["blb","application/x-blorb"],["blorb","application/x-blorb"],["bmi","application/vnd.bmi"],["bmml","application/vnd.balsamiq.bmml+xml"],["bmp","image/bmp"],["book","application/vnd.framemaker"],["box","application/vnd.previewsystems.box"],["boz","application/x-bzip2"],["bpk","application/octet-stream"],["bpmn","application/octet-stream"],["bsp","model/vnd.valve.source.compiled-map"],["btif","image/prs.btif"],["buffer","application/octet-stream"],["bz","application/x-bzip"],["bz2","application/x-bzip2"],["c","text/x-c"],["c4d","application/vnd.clonk.c4group"],["c4f","application/vnd.clonk.c4group"],["c4g","application/vnd.clonk.c4group"],["c4p","application/vnd.clonk.c4group"],["c4u","application/vnd.clonk.c4group"],["c11amc","application/vnd.cluetrust.cartomobile-config"],["c11amz","application/vnd.cluetrust.cartomobile-config-pkg"],["cab","application/vnd.ms-cab-compressed"],["caf","audio/x-caf"],["cap","application/vnd.tcpdump.pcap"],["car","application/vnd.curl.car"],["cat","application/vnd.ms-pki.seccat"],["cb7","application/x-cbr"],["cba","application/x-cbr"],["cbr","application/x-cbr"],["cbt","application/x-cbr"],["cbz","application/x-cbr"],["cc","text/x-c"],["cco","application/x-cocoa"],["cct","application/x-director"],["ccxml","application/ccxml+xml"],["cdbcmsg","application/vnd.contact.cmsg"],["cda","application/x-cdf"],["cdf","application/x-netcdf"],["cdfx","application/cdfx+xml"],["cdkey","application/vnd.mediastation.cdkey"],["cdmia","application/cdmi-capability"],["cdmic","application/cdmi-container"],["cdmid","application/cdmi-domain"],["cdmio","application/cdmi-object"],["cdmiq","application/cdmi-queue"],["cdr","application/cdr"],["cdx","chemical/x-cdx"],["cdxml","application/vnd.chemdraw+xml"],["cdy","application/vnd.cinderella"],["cer","application/pkix-cert"],["cfs","application/x-cfs-compressed"],["cgm","image/cgm"],["chat","application/x-chat"],["chm","application/vnd.ms-htmlhelp"],["chrt","application/vnd.kde.kchart"],["cif","chemical/x-cif"],["cii","application/vnd.anser-web-certificate-issue-initiation"],["cil","application/vnd.ms-artgalry"],["cjs","application/node"],["cla","application/vnd.claymore"],["class","application/octet-stream"],["clkk","application/vnd.crick.clicker.keyboard"],["clkp","application/vnd.crick.clicker.palette"],["clkt","application/vnd.crick.clicker.template"],["clkw","application/vnd.crick.clicker.wordbank"],["clkx","application/vnd.crick.clicker"],["clp","application/x-msclip"],["cmc","application/vnd.cosmocaller"],["cmdf","chemical/x-cmdf"],["cml","chemical/x-cml"],["cmp","application/vnd.yellowriver-custom-menu"],["cmx","image/x-cmx"],["cod","application/vnd.rim.cod"],["coffee","text/coffeescript"],["com","application/x-msdownload"],["conf","text/plain"],["cpio","application/x-cpio"],["cpp","text/x-c"],["cpt","application/mac-compactpro"],["crd","application/x-mscardfile"],["crl","application/pkix-crl"],["crt","application/x-x509-ca-cert"],["crx","application/x-chrome-extension"],["cryptonote","application/vnd.rig.cryptonote"],["csh","application/x-csh"],["csl","application/vnd.citationstyles.style+xml"],["csml","chemical/x-csml"],["csp","application/vnd.commonspace"],["csr","application/octet-stream"],["css","text/css"],["cst","application/x-director"],["csv","text/csv"],["cu","application/cu-seeme"],["curl","text/vnd.curl"],["cww","application/prs.cww"],["cxt","application/x-director"],["cxx","text/x-c"],["dae","model/vnd.collada+xml"],["daf","application/vnd.mobius.daf"],["dart","application/vnd.dart"],["dataless","application/vnd.fdsn.seed"],["davmount","application/davmount+xml"],["dbf","application/vnd.dbf"],["dbk","application/docbook+xml"],["dcr","application/x-director"],["dcurl","text/vnd.curl.dcurl"],["dd2","application/vnd.oma.dd2+xml"],["ddd","application/vnd.fujixerox.ddd"],["ddf","application/vnd.syncml.dmddf+xml"],["dds","image/vnd.ms-dds"],["deb","application/x-debian-package"],["def","text/plain"],["deploy","application/octet-stream"],["der","application/x-x509-ca-cert"],["dfac","application/vnd.dreamfactory"],["dgc","application/x-dgc-compressed"],["dic","text/x-c"],["dir","application/x-director"],["dis","application/vnd.mobius.dis"],["disposition-notification","message/disposition-notification"],["dist","application/octet-stream"],["distz","application/octet-stream"],["djv","image/vnd.djvu"],["djvu","image/vnd.djvu"],["dll","application/octet-stream"],["dmg","application/x-apple-diskimage"],["dmn","application/octet-stream"],["dmp","application/vnd.tcpdump.pcap"],["dms","application/octet-stream"],["dna","application/vnd.dna"],["doc","application/msword"],["docm","application/vnd.ms-word.template.macroEnabled.12"],["docx","application/vnd.openxmlformats-officedocument.wordprocessingml.document"],["dot","application/msword"],["dotm","application/vnd.ms-word.template.macroEnabled.12"],["dotx","application/vnd.openxmlformats-officedocument.wordprocessingml.template"],["dp","application/vnd.osgi.dp"],["dpg","application/vnd.dpgraph"],["dra","audio/vnd.dra"],["drle","image/dicom-rle"],["dsc","text/prs.lines.tag"],["dssc","application/dssc+der"],["dtb","application/x-dtbook+xml"],["dtd","application/xml-dtd"],["dts","audio/vnd.dts"],["dtshd","audio/vnd.dts.hd"],["dump","application/octet-stream"],["dvb","video/vnd.dvb.file"],["dvi","application/x-dvi"],["dwd","application/atsc-dwd+xml"],["dwf","model/vnd.dwf"],["dwg","image/vnd.dwg"],["dxf","image/vnd.dxf"],["dxp","application/vnd.spotfire.dxp"],["dxr","application/x-director"],["ear","application/java-archive"],["ecelp4800","audio/vnd.nuera.ecelp4800"],["ecelp7470","audio/vnd.nuera.ecelp7470"],["ecelp9600","audio/vnd.nuera.ecelp9600"],["ecma","application/ecmascript"],["edm","application/vnd.novadigm.edm"],["edx","application/vnd.novadigm.edx"],["efif","application/vnd.picsel"],["ei6","application/vnd.pg.osasli"],["elc","application/octet-stream"],["emf","image/emf"],["eml","message/rfc822"],["emma","application/emma+xml"],["emotionml","application/emotionml+xml"],["emz","application/x-msmetafile"],["eol","audio/vnd.digital-winds"],["eot","application/vnd.ms-fontobject"],["eps","application/postscript"],["epub","application/epub+zip"],["es","application/ecmascript"],["es3","application/vnd.eszigno3+xml"],["esa","application/vnd.osgi.subsystem"],["esf","application/vnd.epson.esf"],["et3","application/vnd.eszigno3+xml"],["etx","text/x-setext"],["eva","application/x-eva"],["evy","application/x-envoy"],["exe","application/octet-stream"],["exi","application/exi"],["exp","application/express"],["exr","image/aces"],["ext","application/vnd.novadigm.ext"],["ez","application/andrew-inset"],["ez2","application/vnd.ezpix-album"],["ez3","application/vnd.ezpix-package"],["f","text/x-fortran"],["f4v","video/mp4"],["f77","text/x-fortran"],["f90","text/x-fortran"],["fbs","image/vnd.fastbidsheet"],["fcdt","application/vnd.adobe.formscentral.fcdt"],["fcs","application/vnd.isac.fcs"],["fdf","application/vnd.fdf"],["fdt","application/fdt+xml"],["fe_launch","application/vnd.denovo.fcselayout-link"],["fg5","application/vnd.fujitsu.oasysgp"],["fgd","application/x-director"],["fh","image/x-freehand"],["fh4","image/x-freehand"],["fh5","image/x-freehand"],["fh7","image/x-freehand"],["fhc","image/x-freehand"],["fig","application/x-xfig"],["fits","image/fits"],["flac","audio/x-flac"],["fli","video/x-fli"],["flo","application/vnd.micrografx.flo"],["flv","video/x-flv"],["flw","application/vnd.kde.kivio"],["flx","text/vnd.fmi.flexstor"],["fly","text/vnd.fly"],["fm","application/vnd.framemaker"],["fnc","application/vnd.frogans.fnc"],["fo","application/vnd.software602.filler.form+xml"],["for","text/x-fortran"],["fpx","image/vnd.fpx"],["frame","application/vnd.framemaker"],["fsc","application/vnd.fsc.weblaunch"],["fst","image/vnd.fst"],["ftc","application/vnd.fluxtime.clip"],["fti","application/vnd.anser-web-funds-transfer-initiation"],["fvt","video/vnd.fvt"],["fxp","application/vnd.adobe.fxp"],["fxpl","application/vnd.adobe.fxp"],["fzs","application/vnd.fuzzysheet"],["g2w","application/vnd.geoplan"],["g3","image/g3fax"],["g3w","application/vnd.geospace"],["gac","application/vnd.groove-account"],["gam","application/x-tads"],["gbr","application/rpki-ghostbusters"],["gca","application/x-gca-compressed"],["gdl","model/vnd.gdl"],["gdoc","application/vnd.google-apps.document"],["geo","application/vnd.dynageo"],["geojson","application/geo+json"],["gex","application/vnd.geometry-explorer"],["ggb","application/vnd.geogebra.file"],["ggt","application/vnd.geogebra.tool"],["ghf","application/vnd.groove-help"],["gif","image/gif"],["gim","application/vnd.groove-identity-message"],["glb","model/gltf-binary"],["gltf","model/gltf+json"],["gml","application/gml+xml"],["gmx","application/vnd.gmx"],["gnumeric","application/x-gnumeric"],["gpg","application/gpg-keys"],["gph","application/vnd.flographit"],["gpx","application/gpx+xml"],["gqf","application/vnd.grafeq"],["gqs","application/vnd.grafeq"],["gram","application/srgs"],["gramps","application/x-gramps-xml"],["gre","application/vnd.geometry-explorer"],["grv","application/vnd.groove-injector"],["grxml","application/srgs+xml"],["gsf","application/x-font-ghostscript"],["gsheet","application/vnd.google-apps.spreadsheet"],["gslides","application/vnd.google-apps.presentation"],["gtar","application/x-gtar"],["gtm","application/vnd.groove-tool-message"],["gtw","model/vnd.gtw"],["gv","text/vnd.graphviz"],["gxf","application/gxf"],["gxt","application/vnd.geonext"],["gz","application/gzip"],["gzip","application/gzip"],["h","text/x-c"],["h261","video/h261"],["h263","video/h263"],["h264","video/h264"],["hal","application/vnd.hal+xml"],["hbci","application/vnd.hbci"],["hbs","text/x-handlebars-template"],["hdd","application/x-virtualbox-hdd"],["hdf","application/x-hdf"],["heic","image/heic"],["heics","image/heic-sequence"],["heif","image/heif"],["heifs","image/heif-sequence"],["hej2","image/hej2k"],["held","application/atsc-held+xml"],["hh","text/x-c"],["hjson","application/hjson"],["hlp","application/winhlp"],["hpgl","application/vnd.hp-hpgl"],["hpid","application/vnd.hp-hpid"],["hps","application/vnd.hp-hps"],["hqx","application/mac-binhex40"],["hsj2","image/hsj2"],["htc","text/x-component"],["htke","application/vnd.kenameaapp"],["htm","text/html"],["html","text/html"],["hvd","application/vnd.yamaha.hv-dic"],["hvp","application/vnd.yamaha.hv-voice"],["hvs","application/vnd.yamaha.hv-script"],["i2g","application/vnd.intergeo"],["icc","application/vnd.iccprofile"],["ice","x-conference/x-cooltalk"],["icm","application/vnd.iccprofile"],["ico","image/x-icon"],["ics","text/calendar"],["ief","image/ief"],["ifb","text/calendar"],["ifm","application/vnd.shana.informed.formdata"],["iges","model/iges"],["igl","application/vnd.igloader"],["igm","application/vnd.insors.igm"],["igs","model/iges"],["igx","application/vnd.micrografx.igx"],["iif","application/vnd.shana.informed.interchange"],["img","application/octet-stream"],["imp","application/vnd.accpac.simply.imp"],["ims","application/vnd.ms-ims"],["in","text/plain"],["ini","text/plain"],["ink","application/inkml+xml"],["inkml","application/inkml+xml"],["install","application/x-install-instructions"],["iota","application/vnd.astraea-software.iota"],["ipfix","application/ipfix"],["ipk","application/vnd.shana.informed.package"],["irm","application/vnd.ibm.rights-management"],["irp","application/vnd.irepository.package+xml"],["iso","application/x-iso9660-image"],["itp","application/vnd.shana.informed.formtemplate"],["its","application/its+xml"],["ivp","application/vnd.immervision-ivp"],["ivu","application/vnd.immervision-ivu"],["jad","text/vnd.sun.j2me.app-descriptor"],["jade","text/jade"],["jam","application/vnd.jam"],["jar","application/java-archive"],["jardiff","application/x-java-archive-diff"],["java","text/x-java-source"],["jhc","image/jphc"],["jisp","application/vnd.jisp"],["jls","image/jls"],["jlt","application/vnd.hp-jlyt"],["jng","image/x-jng"],["jnlp","application/x-java-jnlp-file"],["joda","application/vnd.joost.joda-archive"],["jp2","image/jp2"],["jpe","image/jpeg"],["jpeg","image/jpeg"],["jpf","image/jpx"],["jpg","image/jpeg"],["jpg2","image/jp2"],["jpgm","video/jpm"],["jpgv","video/jpeg"],["jph","image/jph"],["jpm","video/jpm"],["jpx","image/jpx"],["js","application/javascript"],["json","application/json"],["json5","application/json5"],["jsonld","application/ld+json"],["jsonl","application/jsonl"],["jsonml","application/jsonml+json"],["jsx","text/jsx"],["jxr","image/jxr"],["jxra","image/jxra"],["jxrs","image/jxrs"],["jxs","image/jxs"],["jxsc","image/jxsc"],["jxsi","image/jxsi"],["jxss","image/jxss"],["kar","audio/midi"],["karbon","application/vnd.kde.karbon"],["kdb","application/octet-stream"],["kdbx","application/x-keepass2"],["key","application/x-iwork-keynote-sffkey"],["kfo","application/vnd.kde.kformula"],["kia","application/vnd.kidspiration"],["kml","application/vnd.google-earth.kml+xml"],["kmz","application/vnd.google-earth.kmz"],["kne","application/vnd.kinar"],["knp","application/vnd.kinar"],["kon","application/vnd.kde.kontour"],["kpr","application/vnd.kde.kpresenter"],["kpt","application/vnd.kde.kpresenter"],["kpxx","application/vnd.ds-keypoint"],["ksp","application/vnd.kde.kspread"],["ktr","application/vnd.kahootz"],["ktx","image/ktx"],["ktx2","image/ktx2"],["ktz","application/vnd.kahootz"],["kwd","application/vnd.kde.kword"],["kwt","application/vnd.kde.kword"],["lasxml","application/vnd.las.las+xml"],["latex","application/x-latex"],["lbd","application/vnd.llamagraphics.life-balance.desktop"],["lbe","application/vnd.llamagraphics.life-balance.exchange+xml"],["les","application/vnd.hhe.lesson-player"],["less","text/less"],["lgr","application/lgr+xml"],["lha","application/octet-stream"],["link66","application/vnd.route66.link66+xml"],["list","text/plain"],["list3820","application/vnd.ibm.modcap"],["listafp","application/vnd.ibm.modcap"],["litcoffee","text/coffeescript"],["lnk","application/x-ms-shortcut"],["log","text/plain"],["lostxml","application/lost+xml"],["lrf","application/octet-stream"],["lrm","application/vnd.ms-lrm"],["ltf","application/vnd.frogans.ltf"],["lua","text/x-lua"],["luac","application/x-lua-bytecode"],["lvp","audio/vnd.lucent.voice"],["lwp","application/vnd.lotus-wordpro"],["lzh","application/octet-stream"],["m1v","video/mpeg"],["m2a","audio/mpeg"],["m2v","video/mpeg"],["m3a","audio/mpeg"],["m3u","text/plain"],["m3u8","application/vnd.apple.mpegurl"],["m4a","audio/x-m4a"],["m4p","application/mp4"],["m4s","video/iso.segment"],["m4u","application/vnd.mpegurl"],["m4v","video/x-m4v"],["m13","application/x-msmediaview"],["m14","application/x-msmediaview"],["m21","application/mp21"],["ma","application/mathematica"],["mads","application/mads+xml"],["maei","application/mmt-aei+xml"],["mag","application/vnd.ecowin.chart"],["maker","application/vnd.framemaker"],["man","text/troff"],["manifest","text/cache-manifest"],["map","application/json"],["mar","application/octet-stream"],["markdown","text/markdown"],["mathml","application/mathml+xml"],["mb","application/mathematica"],["mbk","application/vnd.mobius.mbk"],["mbox","application/mbox"],["mc1","application/vnd.medcalcdata"],["mcd","application/vnd.mcd"],["mcurl","text/vnd.curl.mcurl"],["md","text/markdown"],["mdb","application/x-msaccess"],["mdi","image/vnd.ms-modi"],["mdx","text/mdx"],["me","text/troff"],["mesh","model/mesh"],["meta4","application/metalink4+xml"],["metalink","application/metalink+xml"],["mets","application/mets+xml"],["mfm","application/vnd.mfmp"],["mft","application/rpki-manifest"],["mgp","application/vnd.osgeo.mapguide.package"],["mgz","application/vnd.proteus.magazine"],["mid","audio/midi"],["midi","audio/midi"],["mie","application/x-mie"],["mif","application/vnd.mif"],["mime","message/rfc822"],["mj2","video/mj2"],["mjp2","video/mj2"],["mjs","application/javascript"],["mk3d","video/x-matroska"],["mka","audio/x-matroska"],["mkd","text/x-markdown"],["mks","video/x-matroska"],["mkv","video/x-matroska"],["mlp","application/vnd.dolby.mlp"],["mmd","application/vnd.chipnuts.karaoke-mmd"],["mmf","application/vnd.smaf"],["mml","text/mathml"],["mmr","image/vnd.fujixerox.edmics-mmr"],["mng","video/x-mng"],["mny","application/x-msmoney"],["mobi","application/x-mobipocket-ebook"],["mods","application/mods+xml"],["mov","video/quicktime"],["movie","video/x-sgi-movie"],["mp2","audio/mpeg"],["mp2a","audio/mpeg"],["mp3","audio/mpeg"],["mp4","video/mp4"],["mp4a","audio/mp4"],["mp4s","application/mp4"],["mp4v","video/mp4"],["mp21","application/mp21"],["mpc","application/vnd.mophun.certificate"],["mpd","application/dash+xml"],["mpe","video/mpeg"],["mpeg","video/mpeg"],["mpg","video/mpeg"],["mpg4","video/mp4"],["mpga","audio/mpeg"],["mpkg","application/vnd.apple.installer+xml"],["mpm","application/vnd.blueice.multipass"],["mpn","application/vnd.mophun.application"],["mpp","application/vnd.ms-project"],["mpt","application/vnd.ms-project"],["mpy","application/vnd.ibm.minipay"],["mqy","application/vnd.mobius.mqy"],["mrc","application/marc"],["mrcx","application/marcxml+xml"],["ms","text/troff"],["mscml","application/mediaservercontrol+xml"],["mseed","application/vnd.fdsn.mseed"],["mseq","application/vnd.mseq"],["msf","application/vnd.epson.msf"],["msg","application/vnd.ms-outlook"],["msh","model/mesh"],["msi","application/x-msdownload"],["msl","application/vnd.mobius.msl"],["msm","application/octet-stream"],["msp","application/octet-stream"],["msty","application/vnd.muvee.style"],["mtl","model/mtl"],["mts","model/vnd.mts"],["mus","application/vnd.musician"],["musd","application/mmt-usd+xml"],["musicxml","application/vnd.recordare.musicxml+xml"],["mvb","application/x-msmediaview"],["mvt","application/vnd.mapbox-vector-tile"],["mwf","application/vnd.mfer"],["mxf","application/mxf"],["mxl","application/vnd.recordare.musicxml"],["mxmf","audio/mobile-xmf"],["mxml","application/xv+xml"],["mxs","application/vnd.triscape.mxs"],["mxu","video/vnd.mpegurl"],["n-gage","application/vnd.nokia.n-gage.symbian.install"],["n3","text/n3"],["nb","application/mathematica"],["nbp","application/vnd.wolfram.player"],["nc","application/x-netcdf"],["ncx","application/x-dtbncx+xml"],["nfo","text/x-nfo"],["ngdat","application/vnd.nokia.n-gage.data"],["nitf","application/vnd.nitf"],["nlu","application/vnd.neurolanguage.nlu"],["nml","application/vnd.enliven"],["nnd","application/vnd.noblenet-directory"],["nns","application/vnd.noblenet-sealer"],["nnw","application/vnd.noblenet-web"],["npx","image/vnd.net-fpx"],["nq","application/n-quads"],["nsc","application/x-conference"],["nsf","application/vnd.lotus-notes"],["nt","application/n-triples"],["ntf","application/vnd.nitf"],["numbers","application/x-iwork-numbers-sffnumbers"],["nzb","application/x-nzb"],["oa2","application/vnd.fujitsu.oasys2"],["oa3","application/vnd.fujitsu.oasys3"],["oas","application/vnd.fujitsu.oasys"],["obd","application/x-msbinder"],["obgx","application/vnd.openblox.game+xml"],["obj","model/obj"],["oda","application/oda"],["odb","application/vnd.oasis.opendocument.database"],["odc","application/vnd.oasis.opendocument.chart"],["odf","application/vnd.oasis.opendocument.formula"],["odft","application/vnd.oasis.opendocument.formula-template"],["odg","application/vnd.oasis.opendocument.graphics"],["odi","application/vnd.oasis.opendocument.image"],["odm","application/vnd.oasis.opendocument.text-master"],["odp","application/vnd.oasis.opendocument.presentation"],["ods","application/vnd.oasis.opendocument.spreadsheet"],["odt","application/vnd.oasis.opendocument.text"],["oga","audio/ogg"],["ogex","model/vnd.opengex"],["ogg","audio/ogg"],["ogv","video/ogg"],["ogx","application/ogg"],["omdoc","application/omdoc+xml"],["onepkg","application/onenote"],["onetmp","application/onenote"],["onetoc","application/onenote"],["onetoc2","application/onenote"],["opf","application/oebps-package+xml"],["opml","text/x-opml"],["oprc","application/vnd.palm"],["opus","audio/ogg"],["org","text/x-org"],["osf","application/vnd.yamaha.openscoreformat"],["osfpvg","application/vnd.yamaha.openscoreformat.osfpvg+xml"],["osm","application/vnd.openstreetmap.data+xml"],["otc","application/vnd.oasis.opendocument.chart-template"],["otf","font/otf"],["otg","application/vnd.oasis.opendocument.graphics-template"],["oth","application/vnd.oasis.opendocument.text-web"],["oti","application/vnd.oasis.opendocument.image-template"],["otp","application/vnd.oasis.opendocument.presentation-template"],["ots","application/vnd.oasis.opendocument.spreadsheet-template"],["ott","application/vnd.oasis.opendocument.text-template"],["ova","application/x-virtualbox-ova"],["ovf","application/x-virtualbox-ovf"],["owl","application/rdf+xml"],["oxps","application/oxps"],["oxt","application/vnd.openofficeorg.extension"],["p","text/x-pascal"],["p7a","application/x-pkcs7-signature"],["p7b","application/x-pkcs7-certificates"],["p7c","application/pkcs7-mime"],["p7m","application/pkcs7-mime"],["p7r","application/x-pkcs7-certreqresp"],["p7s","application/pkcs7-signature"],["p8","application/pkcs8"],["p10","application/x-pkcs10"],["p12","application/x-pkcs12"],["pac","application/x-ns-proxy-autoconfig"],["pages","application/x-iwork-pages-sffpages"],["pas","text/x-pascal"],["paw","application/vnd.pawaafile"],["pbd","application/vnd.powerbuilder6"],["pbm","image/x-portable-bitmap"],["pcap","application/vnd.tcpdump.pcap"],["pcf","application/x-font-pcf"],["pcl","application/vnd.hp-pcl"],["pclxl","application/vnd.hp-pclxl"],["pct","image/x-pict"],["pcurl","application/vnd.curl.pcurl"],["pcx","image/x-pcx"],["pdb","application/x-pilot"],["pde","text/x-processing"],["pdf","application/pdf"],["pem","application/x-x509-user-cert"],["pfa","application/x-font-type1"],["pfb","application/x-font-type1"],["pfm","application/x-font-type1"],["pfr","application/font-tdpfr"],["pfx","application/x-pkcs12"],["pgm","image/x-portable-graymap"],["pgn","application/x-chess-pgn"],["pgp","application/pgp"],["php","application/x-httpd-php"],["php3","application/x-httpd-php"],["php4","application/x-httpd-php"],["phps","application/x-httpd-php-source"],["phtml","application/x-httpd-php"],["pic","image/x-pict"],["pkg","application/octet-stream"],["pki","application/pkixcmp"],["pkipath","application/pkix-pkipath"],["pkpass","application/vnd.apple.pkpass"],["pl","application/x-perl"],["plb","application/vnd.3gpp.pic-bw-large"],["plc","application/vnd.mobius.plc"],["plf","application/vnd.pocketlearn"],["pls","application/pls+xml"],["pm","application/x-perl"],["pml","application/vnd.ctc-posml"],["png","image/png"],["pnm","image/x-portable-anymap"],["portpkg","application/vnd.macports.portpkg"],["pot","application/vnd.ms-powerpoint"],["potm","application/vnd.ms-powerpoint.presentation.macroEnabled.12"],["potx","application/vnd.openxmlformats-officedocument.presentationml.template"],["ppa","application/vnd.ms-powerpoint"],["ppam","application/vnd.ms-powerpoint.addin.macroEnabled.12"],["ppd","application/vnd.cups-ppd"],["ppm","image/x-portable-pixmap"],["pps","application/vnd.ms-powerpoint"],["ppsm","application/vnd.ms-powerpoint.slideshow.macroEnabled.12"],["ppsx","application/vnd.openxmlformats-officedocument.presentationml.slideshow"],["ppt","application/powerpoint"],["pptm","application/vnd.ms-powerpoint.presentation.macroEnabled.12"],["pptx","application/vnd.openxmlformats-officedocument.presentationml.presentation"],["pqa","application/vnd.palm"],["prc","application/x-pilot"],["pre","application/vnd.lotus-freelance"],["prf","application/pics-rules"],["provx","application/provenance+xml"],["ps","application/postscript"],["psb","application/vnd.3gpp.pic-bw-small"],["psd","application/x-photoshop"],["psf","application/x-font-linux-psf"],["pskcxml","application/pskc+xml"],["pti","image/prs.pti"],["ptid","application/vnd.pvi.ptid1"],["pub","application/x-mspublisher"],["pvb","application/vnd.3gpp.pic-bw-var"],["pwn","application/vnd.3m.post-it-notes"],["pya","audio/vnd.ms-playready.media.pya"],["pyv","video/vnd.ms-playready.media.pyv"],["qam","application/vnd.epson.quickanime"],["qbo","application/vnd.intu.qbo"],["qfx","application/vnd.intu.qfx"],["qps","application/vnd.publishare-delta-tree"],["qt","video/quicktime"],["qwd","application/vnd.quark.quarkxpress"],["qwt","application/vnd.quark.quarkxpress"],["qxb","application/vnd.quark.quarkxpress"],["qxd","application/vnd.quark.quarkxpress"],["qxl","application/vnd.quark.quarkxpress"],["qxt","application/vnd.quark.quarkxpress"],["ra","audio/x-realaudio"],["ram","audio/x-pn-realaudio"],["raml","application/raml+yaml"],["rapd","application/route-apd+xml"],["rar","application/x-rar"],["ras","image/x-cmu-raster"],["rcprofile","application/vnd.ipunplugged.rcprofile"],["rdf","application/rdf+xml"],["rdz","application/vnd.data-vision.rdz"],["relo","application/p2p-overlay+xml"],["rep","application/vnd.businessobjects"],["res","application/x-dtbresource+xml"],["rgb","image/x-rgb"],["rif","application/reginfo+xml"],["rip","audio/vnd.rip"],["ris","application/x-research-info-systems"],["rl","application/resource-lists+xml"],["rlc","image/vnd.fujixerox.edmics-rlc"],["rld","application/resource-lists-diff+xml"],["rm","audio/x-pn-realaudio"],["rmi","audio/midi"],["rmp","audio/x-pn-realaudio-plugin"],["rms","application/vnd.jcp.javame.midlet-rms"],["rmvb","application/vnd.rn-realmedia-vbr"],["rnc","application/relax-ng-compact-syntax"],["rng","application/xml"],["roa","application/rpki-roa"],["roff","text/troff"],["rp9","application/vnd.cloanto.rp9"],["rpm","audio/x-pn-realaudio-plugin"],["rpss","application/vnd.nokia.radio-presets"],["rpst","application/vnd.nokia.radio-preset"],["rq","application/sparql-query"],["rs","application/rls-services+xml"],["rsa","application/x-pkcs7"],["rsat","application/atsc-rsat+xml"],["rsd","application/rsd+xml"],["rsheet","application/urc-ressheet+xml"],["rss","application/rss+xml"],["rtf","text/rtf"],["rtx","text/richtext"],["run","application/x-makeself"],["rusd","application/route-usd+xml"],["rv","video/vnd.rn-realvideo"],["s","text/x-asm"],["s3m","audio/s3m"],["saf","application/vnd.yamaha.smaf-audio"],["sass","text/x-sass"],["sbml","application/sbml+xml"],["sc","application/vnd.ibm.secure-container"],["scd","application/x-msschedule"],["scm","application/vnd.lotus-screencam"],["scq","application/scvp-cv-request"],["scs","application/scvp-cv-response"],["scss","text/x-scss"],["scurl","text/vnd.curl.scurl"],["sda","application/vnd.stardivision.draw"],["sdc","application/vnd.stardivision.calc"],["sdd","application/vnd.stardivision.impress"],["sdkd","application/vnd.solent.sdkm+xml"],["sdkm","application/vnd.solent.sdkm+xml"],["sdp","application/sdp"],["sdw","application/vnd.stardivision.writer"],["sea","application/octet-stream"],["see","application/vnd.seemail"],["seed","application/vnd.fdsn.seed"],["sema","application/vnd.sema"],["semd","application/vnd.semd"],["semf","application/vnd.semf"],["senmlx","application/senml+xml"],["sensmlx","application/sensml+xml"],["ser","application/java-serialized-object"],["setpay","application/set-payment-initiation"],["setreg","application/set-registration-initiation"],["sfd-hdstx","application/vnd.hydrostatix.sof-data"],["sfs","application/vnd.spotfire.sfs"],["sfv","text/x-sfv"],["sgi","image/sgi"],["sgl","application/vnd.stardivision.writer-global"],["sgm","text/sgml"],["sgml","text/sgml"],["sh","application/x-sh"],["shar","application/x-shar"],["shex","text/shex"],["shf","application/shf+xml"],["shtml","text/html"],["sid","image/x-mrsid-image"],["sieve","application/sieve"],["sig","application/pgp-signature"],["sil","audio/silk"],["silo","model/mesh"],["sis","application/vnd.symbian.install"],["sisx","application/vnd.symbian.install"],["sit","application/x-stuffit"],["sitx","application/x-stuffitx"],["siv","application/sieve"],["skd","application/vnd.koan"],["skm","application/vnd.koan"],["skp","application/vnd.koan"],["skt","application/vnd.koan"],["sldm","application/vnd.ms-powerpoint.slide.macroenabled.12"],["sldx","application/vnd.openxmlformats-officedocument.presentationml.slide"],["slim","text/slim"],["slm","text/slim"],["sls","application/route-s-tsid+xml"],["slt","application/vnd.epson.salt"],["sm","application/vnd.stepmania.stepchart"],["smf","application/vnd.stardivision.math"],["smi","application/smil"],["smil","application/smil"],["smv","video/x-smv"],["smzip","application/vnd.stepmania.package"],["snd","audio/basic"],["snf","application/x-font-snf"],["so","application/octet-stream"],["spc","application/x-pkcs7-certificates"],["spdx","text/spdx"],["spf","application/vnd.yamaha.smaf-phrase"],["spl","application/x-futuresplash"],["spot","text/vnd.in3d.spot"],["spp","application/scvp-vp-response"],["spq","application/scvp-vp-request"],["spx","audio/ogg"],["sql","application/x-sql"],["src","application/x-wais-source"],["srt","application/x-subrip"],["sru","application/sru+xml"],["srx","application/sparql-results+xml"],["ssdl","application/ssdl+xml"],["sse","application/vnd.kodak-descriptor"],["ssf","application/vnd.epson.ssf"],["ssml","application/ssml+xml"],["sst","application/octet-stream"],["st","application/vnd.sailingtracker.track"],["stc","application/vnd.sun.xml.calc.template"],["std","application/vnd.sun.xml.draw.template"],["stf","application/vnd.wt.stf"],["sti","application/vnd.sun.xml.impress.template"],["stk","application/hyperstudio"],["stl","model/stl"],["stpx","model/step+xml"],["stpxz","model/step-xml+zip"],["stpz","model/step+zip"],["str","application/vnd.pg.format"],["stw","application/vnd.sun.xml.writer.template"],["styl","text/stylus"],["stylus","text/stylus"],["sub","text/vnd.dvb.subtitle"],["sus","application/vnd.sus-calendar"],["susp","application/vnd.sus-calendar"],["sv4cpio","application/x-sv4cpio"],["sv4crc","application/x-sv4crc"],["svc","application/vnd.dvb.service"],["svd","application/vnd.svd"],["svg","image/svg+xml"],["svgz","image/svg+xml"],["swa","application/x-director"],["swf","application/x-shockwave-flash"],["swi","application/vnd.aristanetworks.swi"],["swidtag","application/swid+xml"],["sxc","application/vnd.sun.xml.calc"],["sxd","application/vnd.sun.xml.draw"],["sxg","application/vnd.sun.xml.writer.global"],["sxi","application/vnd.sun.xml.impress"],["sxm","application/vnd.sun.xml.math"],["sxw","application/vnd.sun.xml.writer"],["t","text/troff"],["t3","application/x-t3vm-image"],["t38","image/t38"],["taglet","application/vnd.mynfc"],["tao","application/vnd.tao.intent-module-archive"],["tap","image/vnd.tencent.tap"],["tar","application/x-tar"],["tcap","application/vnd.3gpp2.tcap"],["tcl","application/x-tcl"],["td","application/urc-targetdesc+xml"],["teacher","application/vnd.smart.teacher"],["tei","application/tei+xml"],["teicorpus","application/tei+xml"],["tex","application/x-tex"],["texi","application/x-texinfo"],["texinfo","application/x-texinfo"],["text","text/plain"],["tfi","application/thraud+xml"],["tfm","application/x-tex-tfm"],["tfx","image/tiff-fx"],["tga","image/x-tga"],["tgz","application/x-tar"],["thmx","application/vnd.ms-officetheme"],["tif","image/tiff"],["tiff","image/tiff"],["tk","application/x-tcl"],["tmo","application/vnd.tmobile-livetv"],["toml","application/toml"],["torrent","application/x-bittorrent"],["tpl","application/vnd.groove-tool-template"],["tpt","application/vnd.trid.tpt"],["tr","text/troff"],["tra","application/vnd.trueapp"],["trig","application/trig"],["trm","application/x-msterminal"],["ts","video/mp2t"],["tsd","application/timestamped-data"],["tsv","text/tab-separated-values"],["ttc","font/collection"],["ttf","font/ttf"],["ttl","text/turtle"],["ttml","application/ttml+xml"],["twd","application/vnd.simtech-mindmapper"],["twds","application/vnd.simtech-mindmapper"],["txd","application/vnd.genomatix.tuxedo"],["txf","application/vnd.mobius.txf"],["txt","text/plain"],["u8dsn","message/global-delivery-status"],["u8hdr","message/global-headers"],["u8mdn","message/global-disposition-notification"],["u8msg","message/global"],["u32","application/x-authorware-bin"],["ubj","application/ubjson"],["udeb","application/x-debian-package"],["ufd","application/vnd.ufdl"],["ufdl","application/vnd.ufdl"],["ulx","application/x-glulx"],["umj","application/vnd.umajin"],["unityweb","application/vnd.unity"],["uoml","application/vnd.uoml+xml"],["uri","text/uri-list"],["uris","text/uri-list"],["urls","text/uri-list"],["usdz","model/vnd.usdz+zip"],["ustar","application/x-ustar"],["utz","application/vnd.uiq.theme"],["uu","text/x-uuencode"],["uva","audio/vnd.dece.audio"],["uvd","application/vnd.dece.data"],["uvf","application/vnd.dece.data"],["uvg","image/vnd.dece.graphic"],["uvh","video/vnd.dece.hd"],["uvi","image/vnd.dece.graphic"],["uvm","video/vnd.dece.mobile"],["uvp","video/vnd.dece.pd"],["uvs","video/vnd.dece.sd"],["uvt","application/vnd.dece.ttml+xml"],["uvu","video/vnd.uvvu.mp4"],["uvv","video/vnd.dece.video"],["uvva","audio/vnd.dece.audio"],["uvvd","application/vnd.dece.data"],["uvvf","application/vnd.dece.data"],["uvvg","image/vnd.dece.graphic"],["uvvh","video/vnd.dece.hd"],["uvvi","image/vnd.dece.graphic"],["uvvm","video/vnd.dece.mobile"],["uvvp","video/vnd.dece.pd"],["uvvs","video/vnd.dece.sd"],["uvvt","application/vnd.dece.ttml+xml"],["uvvu","video/vnd.uvvu.mp4"],["uvvv","video/vnd.dece.video"],["uvvx","application/vnd.dece.unspecified"],["uvvz","application/vnd.dece.zip"],["uvx","application/vnd.dece.unspecified"],["uvz","application/vnd.dece.zip"],["vbox","application/x-virtualbox-vbox"],["vbox-extpack","application/x-virtualbox-vbox-extpack"],["vcard","text/vcard"],["vcd","application/x-cdlink"],["vcf","text/x-vcard"],["vcg","application/vnd.groove-vcard"],["vcs","text/x-vcalendar"],["vcx","application/vnd.vcx"],["vdi","application/x-virtualbox-vdi"],["vds","model/vnd.sap.vds"],["vhd","application/x-virtualbox-vhd"],["vis","application/vnd.visionary"],["viv","video/vnd.vivo"],["vlc","application/videolan"],["vmdk","application/x-virtualbox-vmdk"],["vob","video/x-ms-vob"],["vor","application/vnd.stardivision.writer"],["vox","application/x-authorware-bin"],["vrml","model/vrml"],["vsd","application/vnd.visio"],["vsf","application/vnd.vsf"],["vss","application/vnd.visio"],["vst","application/vnd.visio"],["vsw","application/vnd.visio"],["vtf","image/vnd.valve.source.texture"],["vtt","text/vtt"],["vtu","model/vnd.vtu"],["vxml","application/voicexml+xml"],["w3d","application/x-director"],["wad","application/x-doom"],["wadl","application/vnd.sun.wadl+xml"],["war","application/java-archive"],["wasm","application/wasm"],["wav","audio/x-wav"],["wax","audio/x-ms-wax"],["wbmp","image/vnd.wap.wbmp"],["wbs","application/vnd.criticaltools.wbs+xml"],["wbxml","application/wbxml"],["wcm","application/vnd.ms-works"],["wdb","application/vnd.ms-works"],["wdp","image/vnd.ms-photo"],["weba","audio/webm"],["webapp","application/x-web-app-manifest+json"],["webm","video/webm"],["webmanifest","application/manifest+json"],["webp","image/webp"],["wg","application/vnd.pmi.widget"],["wgt","application/widget"],["wks","application/vnd.ms-works"],["wm","video/x-ms-wm"],["wma","audio/x-ms-wma"],["wmd","application/x-ms-wmd"],["wmf","image/wmf"],["wml","text/vnd.wap.wml"],["wmlc","application/wmlc"],["wmls","text/vnd.wap.wmlscript"],["wmlsc","application/vnd.wap.wmlscriptc"],["wmv","video/x-ms-wmv"],["wmx","video/x-ms-wmx"],["wmz","application/x-msmetafile"],["woff","font/woff"],["woff2","font/woff2"],["word","application/msword"],["wpd","application/vnd.wordperfect"],["wpl","application/vnd.ms-wpl"],["wps","application/vnd.ms-works"],["wqd","application/vnd.wqd"],["wri","application/x-mswrite"],["wrl","model/vrml"],["wsc","message/vnd.wfa.wsc"],["wsdl","application/wsdl+xml"],["wspolicy","application/wspolicy+xml"],["wtb","application/vnd.webturbo"],["wvx","video/x-ms-wvx"],["x3d","model/x3d+xml"],["x3db","model/x3d+fastinfoset"],["x3dbz","model/x3d+binary"],["x3dv","model/x3d-vrml"],["x3dvz","model/x3d+vrml"],["x3dz","model/x3d+xml"],["x32","application/x-authorware-bin"],["x_b","model/vnd.parasolid.transmit.binary"],["x_t","model/vnd.parasolid.transmit.text"],["xaml","application/xaml+xml"],["xap","application/x-silverlight-app"],["xar","application/vnd.xara"],["xav","application/xcap-att+xml"],["xbap","application/x-ms-xbap"],["xbd","application/vnd.fujixerox.docuworks.binder"],["xbm","image/x-xbitmap"],["xca","application/xcap-caps+xml"],["xcs","application/calendar+xml"],["xdf","application/xcap-diff+xml"],["xdm","application/vnd.syncml.dm+xml"],["xdp","application/vnd.adobe.xdp+xml"],["xdssc","application/dssc+xml"],["xdw","application/vnd.fujixerox.docuworks"],["xel","application/xcap-el+xml"],["xenc","application/xenc+xml"],["xer","application/patch-ops-error+xml"],["xfdf","application/vnd.adobe.xfdf"],["xfdl","application/vnd.xfdl"],["xht","application/xhtml+xml"],["xhtml","application/xhtml+xml"],["xhvml","application/xv+xml"],["xif","image/vnd.xiff"],["xl","application/excel"],["xla","application/vnd.ms-excel"],["xlam","application/vnd.ms-excel.addin.macroEnabled.12"],["xlc","application/vnd.ms-excel"],["xlf","application/xliff+xml"],["xlm","application/vnd.ms-excel"],["xls","application/vnd.ms-excel"],["xlsb","application/vnd.ms-excel.sheet.binary.macroEnabled.12"],["xlsm","application/vnd.ms-excel.sheet.macroEnabled.12"],["xlsx","application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"],["xlt","application/vnd.ms-excel"],["xltm","application/vnd.ms-excel.template.macroEnabled.12"],["xltx","application/vnd.openxmlformats-officedocument.spreadsheetml.template"],["xlw","application/vnd.ms-excel"],["xm","audio/xm"],["xml","application/xml"],["xns","application/xcap-ns+xml"],["xo","application/vnd.olpc-sugar"],["xop","application/xop+xml"],["xpi","application/x-xpinstall"],["xpl","application/xproc+xml"],["xpm","image/x-xpixmap"],["xpr","application/vnd.is-xpr"],["xps","application/vnd.ms-xpsdocument"],["xpw","application/vnd.intercon.formnet"],["xpx","application/vnd.intercon.formnet"],["xsd","application/xml"],["xsl","application/xml"],["xslt","application/xslt+xml"],["xsm","application/vnd.syncml+xml"],["xspf","application/xspf+xml"],["xul","application/vnd.mozilla.xul+xml"],["xvm","application/xv+xml"],["xvml","application/xv+xml"],["xwd","image/x-xwindowdump"],["xyz","chemical/x-xyz"],["xz","application/x-xz"],["yaml","text/yaml"],["yang","application/yang"],["yin","application/yin+xml"],["yml","text/yaml"],["ymp","text/x-suse-ymp"],["z","application/x-compress"],["z1","application/x-zmachine"],["z2","application/x-zmachine"],["z3","application/x-zmachine"],["z4","application/x-zmachine"],["z5","application/x-zmachine"],["z6","application/x-zmachine"],["z7","application/x-zmachine"],["z8","application/x-zmachine"],["zaz","application/vnd.zzazz.deck+xml"],["zip","application/zip"],["zir","application/vnd.zul"],["zirz","application/vnd.zul"],["zmm","application/vnd.handheld-entertainment+xml"],["zsh","text/x-scriptzsh"]]);function vi(e,t,n){const r=zM(e),{webkitRelativePath:o}=e,i=typeof t=="string"?t:typeof o=="string"&&o.length>0?o:`./${e.name}`;return typeof r.path!="string"&&t4(r,"path",i),t4(r,"relativePath",i),r}function zM(e){const{name:t}=e;if(t&&t.lastIndexOf(".")!==-1&&!e.type){const r=t.split(".").pop().toLowerCase(),o=FM.get(r);o&&Object.defineProperty(e,"type",{value:o,writable:!1,configurable:!1,enumerable:!0})}return e}function t4(e,t,n){Object.defineProperty(e,t,{value:n,writable:!1,configurable:!1,enumerable:!0})}const LM=[".DS_Store","Thumbs.db"];function BM(e){return fo(this,void 0,void 0,function*(){return Tl(e)&&NM(e.dataTransfer)?HM(e.dataTransfer,e.type):RM(e)?VM(e):Array.isArray(e)&&e.every(t=>"getFile"in t&&typeof t.getFile=="function")?WM(e):[]})}function NM(e){return Tl(e)}function RM(e){return Tl(e)&&Tl(e.target)}function Tl(e){return typeof e=="object"&&e!==null}function VM(e){return uf(e.target.files).map(t=>vi(t))}function WM(e){return fo(this,void 0,void 0,function*(){return(yield Promise.all(e.map(n=>n.getFile()))).map(n=>vi(n))})}function HM(e,t){return fo(this,void 0,void 0,function*(){if(e.items){const n=uf(e.items).filter(o=>o.kind==="file");if(t!=="drop")return n;const r=yield Promise.all(n.map(UM));return n4(r4(r))}return n4(uf(e.files).map(n=>vi(n)))})}function n4(e){return e.filter(t=>LM.indexOf(t.name)===-1)}function uf(e){if(e===null)return[];const t=[];for(let n=0;n<e.length;n++){const r=e[n];t.push(r)}return t}function UM(e){if(typeof e.webkitGetAsEntry!="function")return o4(e);const t=e.webkitGetAsEntry();return t&&t.isDirectory?i4(t):o4(e,t)}function r4(e){return e.reduce((t,n)=>[...t,...Array.isArray(n)?r4(n):[n]],[])}function o4(e,t){return fo(this,void 0,void 0,function*(){var n;if(globalThis.isSecureContext&&typeof e.getAsFileSystemHandle=="function"){const i=yield e.getAsFileSystemHandle();if(i===null)throw new Error(`${e} is not a File`);if(i!==void 0){const a=yield i.getFile();return a.handle=i,vi(a)}}const r=e.getAsFile();if(!r)throw new Error(`${e} is not a File`);return vi(r,(n=t==null?void 0:t.fullPath)!==null&&n!==void 0?n:void 0)})}function qM(e){return fo(this,void 0,void 0,function*(){return e.isDirectory?i4(e):ZM(e)})}function i4(e){const t=e.createReader();return new Promise((n,r)=>{const o=[];function i(){t.readEntries(a=>fo(this,void 0,void 0,function*(){if(a.length){const s=Promise.all(a.map(qM));o.push(s),i()}else try{const s=yield Promise.all(o);n(s)}catch(s){r(s)}}),a=>{r(a)})}i()})}function ZM(e){return fo(this,void 0,void 0,function*(){return new Promise((t,n)=>{e.file(r=>{const o=vi(r,e.fullPath);t(o)},r=>{n(r)})})})}var df=function(e,t){if(e&&t){var n=Array.isArray(t)?t:t.split(",");if(n.length===0)return!0;var r=e.name||"",o=(e.type||"").toLowerCase(),i=o.replace(/\/.*$/,"");return n.some(function(a){var s=a.trim().toLowerCase();return s.charAt(0)==="."?r.toLowerCase().endsWith(s):s.endsWith("/*")?i===s.replace(/\/.*$/,""):o===s})}return!0};function a4(e){return YM(e)||KM(e)||u4(e)||GM()}function GM(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
393
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function
|
|
394
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function
|
|
395
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function
|
|
396
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function b4(e,t){if(e){if(typeof e=="string")return hf(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return hf(e,t)}}function hf(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function _O(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r=[],o=!0,i=!1,a,s;try{for(n=n.call(e);!(o=(a=n.next()).done)&&(r.push(a.value),!(t&&r.length===t));o=!0);}catch(l){i=!0,s=l}finally{try{!o&&n.return!=null&&n.return()}finally{if(i)throw s}}return r}}function jO(e){if(Array.isArray(e))return e}function y4(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function kt(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?y4(Object(n),!0).forEach(function(r){mf(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):y4(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function mf(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Al(e,t){if(e==null)return{};var n=TO(e,t),r,o;if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o<i.length;o++)r=i[o],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function TO(e,t){if(e==null)return{};var n={},r=Object.keys(e),o,i;for(i=0;i<r.length;i++)o=r[i],!(t.indexOf(o)>=0)&&(n[o]=e[o]);return n}var gf=g.forwardRef(function(e,t){var n=e.children,r=Al(e,gO),o=C4(r),i=o.open,a=Al(o,vO);return g.useImperativeHandle(t,function(){return{open:i}},[i]),g.createElement(g.Fragment,null,n(kt(kt({},a),{},{open:i})))});gf.displayName="Dropzone";var x4={disabled:!1,getFilesFromEvent:BM,maxSize:1/0,minSize:0,multiple:!0,maxFiles:0,preventDropOnDocument:!0,noClick:!1,noKeyboard:!1,noDrag:!1,noDragEventsBubbling:!1,validator:null,useFsAccessApi:!1,autoFocus:!1};gf.defaultProps=x4,gf.propTypes={children:st.func,accept:st.objectOf(st.arrayOf(st.string)),multiple:st.bool,preventDropOnDocument:st.bool,noClick:st.bool,noKeyboard:st.bool,noDrag:st.bool,noDragEventsBubbling:st.bool,minSize:st.number,maxSize:st.number,maxFiles:st.number,disabled:st.bool,getFilesFromEvent:st.func,onFileDialogCancel:st.func,onFileDialogOpen:st.func,useFsAccessApi:st.bool,autoFocus:st.bool,onDragEnter:st.func,onDragLeave:st.func,onDragOver:st.func,onDrop:st.func,onDropAccepted:st.func,onDropRejected:st.func,onError:st.func,validator:st.func};var vf={isFocused:!1,isFileDialogActive:!1,isDragActive:!1,isDragAccept:!1,isDragReject:!1,acceptedFiles:[],fileRejections:[]};function C4(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=kt(kt({},x4),e),n=t.accept,r=t.disabled,o=t.getFilesFromEvent,i=t.maxSize,a=t.minSize,s=t.multiple,l=t.maxFiles,c=t.onDragEnter,u=t.onDragLeave,f=t.onDragOver,p=t.onDrop,h=t.onDropAccepted,b=t.onDropRejected,m=t.onFileDialogCancel,v=t.onFileDialogOpen,S=t.useFsAccessApi,y=t.autoFocus,C=t.preventDropOnDocument,j=t.noClick,x=t.noKeyboard,E=t.noDrag,P=t.noDragEventsBubbling,D=t.onError,R=t.validator,L=g.useMemo(function(){return pO(n)},[n]),Z=g.useMemo(function(){return fO(n)},[n]),ce=g.useMemo(function(){return typeof v=="function"?v:w4},[v]),ae=g.useMemo(function(){return typeof m=="function"?m:w4},[m]),z=g.useRef(null),Y=g.useRef(null),G=g.useReducer(PO,vf),N=pf(G,2),ue=N[0],he=N[1],O=ue.isFocused,F=ue.isFileDialogActive,K=g.useRef(typeof window<"u"&&window.isSecureContext&&S&&dO()),V=function(){!K.current&&F&&setTimeout(function(){if(Y.current){var oe=Y.current.files;oe.length||(he({type:"closeDialog"}),ae())}},300)};g.useEffect(function(){return window.addEventListener("focus",V,!1),function(){window.removeEventListener("focus",V,!1)}},[Y,F,ae,K]);var B=g.useRef([]),w=function(oe){z.current&&z.current.contains(oe.target)||(oe.preventDefault(),B.current=[])};g.useEffect(function(){return C&&(document.addEventListener("dragover",m4,!1),document.addEventListener("drop",w,!1)),function(){C&&(document.removeEventListener("dragover",m4),document.removeEventListener("drop",w))}},[z,C]),g.useEffect(function(){return!r&&y&&z.current&&z.current.focus(),function(){}},[z,y,r]);var J=g.useCallback(function(U){D?D(U):console.error(U)},[D]),Q=g.useCallback(function(U){U.preventDefault(),U.persist(),ve(U),B.current=[].concat(xO(B.current),[U.target]),El(U)&&Promise.resolve(o(U)).then(function(oe){if(!(Pl(U)&&!P)){var ie=oe.length,se=ie>0&&sO({files:oe,accept:L,minSize:a,maxSize:i,multiple:s,maxFiles:l,validator:R}),Ie=ie>0&&!se;he({isDragAccept:se,isDragReject:Ie,isDragActive:!0,type:"setDraggedFiles"}),c&&c(U)}}).catch(function(oe){return J(oe)})},[o,c,J,P,L,a,i,s,l,R]),ee=g.useCallback(function(U){U.preventDefault(),U.persist(),ve(U);var oe=El(U);if(oe&&U.dataTransfer)try{U.dataTransfer.dropEffect="copy"}catch{}return oe&&f&&f(U),!1},[f,P]),me=g.useCallback(function(U){U.preventDefault(),U.persist(),ve(U);var oe=B.current.filter(function(se){return z.current&&z.current.contains(se)}),ie=oe.indexOf(U.target);ie!==-1&&oe.splice(ie,1),B.current=oe,!(oe.length>0)&&(he({type:"setDraggedFiles",isDragActive:!1,isDragAccept:!1,isDragReject:!1}),El(U)&&u&&u(U))},[z,u,P]),de=g.useCallback(function(U,oe){var ie=[],se=[];U.forEach(function(Ie){var bt=p4(Ie,L),ot=pf(bt,2),_t=ot[0],$t=ot[1],Qt=h4(Ie,a,i),lt=pf(Qt,2),Mt=lt[0],Zt=lt[1],Bn=R?R(Ie):null;if(_t&&Mt&&!Bn)ie.push(Ie);else{var fn=[$t,Zt];Bn&&(fn=fn.concat(Bn)),se.push({file:Ie,errors:fn.filter(function(xn){return xn})})}}),(!s&&ie.length>1||s&&l>=1&&ie.length>l)&&(ie.forEach(function(Ie){se.push({file:Ie,errors:[aO]})}),ie.splice(0)),he({acceptedFiles:ie,fileRejections:se,isDragReject:se.length>0,type:"setFiles"}),p&&p(ie,se,oe),se.length>0&&b&&b(se,oe),ie.length>0&&h&&h(ie,oe)},[he,s,L,a,i,l,p,h,b,R]),ke=g.useCallback(function(U){U.preventDefault(),U.persist(),ve(U),B.current=[],El(U)&&Promise.resolve(o(U)).then(function(oe){Pl(U)&&!P||de(oe,U)}).catch(function(oe){return J(oe)}),he({type:"reset"})},[o,de,J,P]),H=g.useCallback(function(){if(K.current){he({type:"openDialog"}),ce();var U={multiple:s,types:Z};window.showOpenFilePicker(U).then(function(oe){return o(oe)}).then(function(oe){de(oe,null),he({type:"closeDialog"})}).catch(function(oe){hO(oe)?(ae(oe),he({type:"closeDialog"})):mO(oe)?(K.current=!1,Y.current?(Y.current.value=null,Y.current.click()):J(new Error("Cannot open the file picker because the https://developer.mozilla.org/en-US/docs/Web/API/File_System_Access_API is not supported and no <input> was provided."))):J(oe)});return}Y.current&&(he({type:"openDialog"}),ce(),Y.current.value=null,Y.current.click())},[he,ce,ae,S,de,J,Z,s]),Te=g.useCallback(function(U){!z.current||!z.current.isEqualNode(U.target)||(U.key===" "||U.key==="Enter"||U.keyCode===32||U.keyCode===13)&&(U.preventDefault(),H())},[z,H]),De=g.useCallback(function(){he({type:"focus"})},[]),A=g.useCallback(function(){he({type:"blur"})},[]),q=g.useCallback(function(){j||(uO()?setTimeout(H,0):H())},[j,H]),re=function(oe){return r?null:oe},xe=function(oe){return x?null:re(oe)},ge=function(oe){return E?null:re(oe)},ve=function(oe){P&&oe.stopPropagation()},je=g.useMemo(function(){return function(){var U=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},oe=U.refKey,ie=oe===void 0?"ref":oe,se=U.role,Ie=U.onKeyDown,bt=U.onFocus,ot=U.onBlur,_t=U.onClick,$t=U.onDragEnter,Qt=U.onDragOver,lt=U.onDragLeave,Mt=U.onDrop,Zt=Al(U,bO);return kt(kt(mf({onKeyDown:xe(sr(Ie,Te)),onFocus:xe(sr(bt,De)),onBlur:xe(sr(ot,A)),onClick:re(sr(_t,q)),onDragEnter:ge(sr($t,Q)),onDragOver:ge(sr(Qt,ee)),onDragLeave:ge(sr(lt,me)),onDrop:ge(sr(Mt,ke)),role:typeof se=="string"&&se!==""?se:"presentation"},ie,z),!r&&!x?{tabIndex:0}:{}),Zt)}},[z,Te,De,A,q,Q,ee,me,ke,x,E,r]),$e=g.useCallback(function(U){U.stopPropagation()},[]),fe=g.useMemo(function(){return function(){var U=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},oe=U.refKey,ie=oe===void 0?"ref":oe,se=U.onChange,Ie=U.onClick,bt=Al(U,yO),ot=mf({accept:L,multiple:s,type:"file",style:{border:0,clip:"rect(0, 0, 0, 0)",clipPath:"inset(50%)",height:"1px",margin:"0 -1px -1px 0",overflow:"hidden",padding:0,position:"absolute",width:"1px",whiteSpace:"nowrap"},onChange:re(sr(se,ke)),onClick:re(sr(Ie,$e)),tabIndex:-1},ie,Y);return kt(kt({},ot),bt)}},[Y,n,s,ke,r]);return kt(kt({},ue),{},{isFocused:O&&!r,getRootProps:je,getInputProps:fe,rootRef:z,inputRef:Y,open:re(H)})}function PO(e,t){switch(t.type){case"focus":return kt(kt({},e),{},{isFocused:!0});case"blur":return kt(kt({},e),{},{isFocused:!1});case"openDialog":return kt(kt({},vf),{},{isFileDialogActive:!0});case"closeDialog":return kt(kt({},e),{},{isFileDialogActive:!1});case"setDraggedFiles":return kt(kt({},e),{},{isDragActive:t.isDragActive,isDragAccept:t.isDragAccept,isDragReject:t.isDragReject});case"setFiles":return kt(kt({},e),{},{acceptedFiles:t.acceptedFiles,fileRejections:t.fileRejections,isDragReject:t.isDragReject});case"reset":return kt({},vf);default:return e}}function w4(){}function EO(e){return dt({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{d:"M13 19v-4h3l-4-5-4 5h3v4z"},child:[]},{tag:"path",attr:{d:"M7 19h2v-2H7c-1.654 0-3-1.346-3-3 0-1.404 1.199-2.756 2.673-3.015l.581-.102.192-.558C8.149 8.274 9.895 7 12 7c2.757 0 5 2.243 5 5v1h1c1.103 0 2 .897 2 2s-.897 2-2 2h-3v2h3c2.206 0 4-1.794 4-4a4.01 4.01 0 0 0-3.056-3.888C18.507 7.67 15.56 5 12 5 9.244 5 6.85 6.611 5.757 9.15 3.609 9.792 2 11.82 2 14c0 2.757 2.243 5 5 5z"},child:[]}]})(e)}const AO=({onFilesDropped:e,color:t="elevate.500",typeAccept:n="file",fileAccept:r=[".pdf",".doc",".docx",".xls",".xlsx",".txt",".csv"],maxSize:o="5MB",title:i="",description:a="Arrastra y suelta tus archivos aquí",buttonText:s="Seleccionar archivos",colorTitle:l="black.600",colorTextDrag:c="black.600",colorTextFormats:u="black.600"})=>{const f=U3(),[p,h,b]=Xs("colors",[t,"white.50","black.300"]),m=Lt(p,.7)({}),[v,S]=g.useState(""),y=typeof o=="string"&&o.includes("MB")?parseInt(o)*1024*1024:parseInt(o),C=g.useMemo(()=>r.length>0?r.map(Z=>Z.startsWith(".")?Z:`.${Z}`):n==="image"?[".jpeg",".jpg",".png",".gif"]:n==="file"?[".pdf",".doc",".docx",".xls",".xlsx",".txt",".csv"]:[],[r,n]),j={".pdf":"application/pdf",".doc":"application/msword",".docx":"application/vnd.openxmlformats-officedocument.wordprocessingml.document",".xls":"application/vnd.ms-excel",".xlsx":"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",".txt":"text/plain",".csv":"text/csv",".jpeg":"image/jpeg",".jpg":"image/jpeg",".png":"image/png",".gif":"image/gif"},x=C.length>0?C.reduce((Z,ce)=>{const ae=j[ce];return ae&&(Z[ae]=[...Z[ae]||[],ce]),Z},{}):void 0;g.useEffect(()=>{C.length>0?S(`Formatos compatibles: ${C.map(Z=>Z.replace(".","")).join(", ")}`):S("Acepta cualquier archivo")},[C]);const E=g.useCallback((Z,ce)=>{const ae=Z.filter(z=>C.some(Y=>z.name.endsWith(Y)));ce.forEach(z=>{const{file:Y,errors:G}=z;G.forEach(N=>{N.code==="file-too-large"?f({title:"Archivo demasiado grande",description:`El archivo "${Y.name}" supera el tamaño máximo permitido.`,status:"warning",duration:4e3,isClosable:!0,variant:"solid",containerStyle:{color:`${h} !important`}}):N.code==="file-invalid-type"&&f({title:"Extensión no permitida",description:`El archivo "${Y.name}" no tiene una extensión válida.`,status:"info",duration:4e3,isClosable:!0,variant:"solid",containerStyle:{color:`${h} !important`}})})}),ae.length>0&&e(ae)},[C,e,f]),{getRootProps:P,getInputProps:D,isDragActive:R}=C4({onDrop:E,multiple:!0,accept:x,maxSize:y}),L=y?`Max: ${y/1024/1024} MB`:"Sin límite de tamaño";return d.jsxs(qe,{children:[d.jsx(ut,{mt:4,alignItems:"flex-start",children:i.trim()&&d.jsx(Le,{fontSize:"20px",fontWeight:"700",color:l,mb:2,children:i})}),d.jsxs(qe,{...P(),py:"70px",px:"41px",border:`2px dashed ${R?p:b}`,borderRadius:"lg",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",textAlign:"center",cursor:"pointer",_hover:{borderColor:m},bg:R?Lt(p,.1)({}):"transparent",children:[d.jsx("input",{...D()}),d.jsx(Xt,{as:EO,boxSize:"40px",color:p,mb:"16px"}),d.jsx(Le,{fontSize:"16px",fontWeight:"16px",color:c,mb:4,children:a}),d.jsx(ln,{bg:p,color:h,_hover:{bg:m},size:"lg",children:s})]}),d.jsxs(ut,{mt:4,justifyContent:"space-between",children:[v&&d.jsx(Le,{fontSize:"14px",color:u,children:v}),L&&d.jsx(Le,{fontSize:"14px",color:u,children:L})]})]})},MO=({text:e,fontSize:t="md",...n})=>d.jsx(Le,{fontSize:t,...n,children:e}),OO=g.forwardRef(({label:e,colorLabelText:t="black.400",fontFamilyText:n="sans-serif",fontSizeText:r="1rem",placeholder:o,value:i="",onChange:a=L=>{console.log(L)},isRequired:s=!1,info:l=!1,infoText:c="",product:u="info",textArea:f=!1,description:p="",dropdown:h=!1,isReadOnly:b=!1,isDisabled:m=!1,colorText:v="#222222",minHeight:S="auto",type:y="text",textSubtitle:C="",subtitleAlign:j="left",colorTextSubtitle:x="black.500",spacingTextSubtitle:E="1rem 0",fontSizeSubtitle:P="1rem",fontFamilySubtitle:D="Lato"},R)=>{const[L,Z]=g.useState(!0),ce=G=>{a(G.target.value)},ae=Jt[u],z=ae[200],Y=ae[300];return d.jsxs(xa,{isRequired:s,children:[d.jsxs(ii,{display:"flex",alignItems:"center",fontSize:r,color:t,fontFamily:n,children:[h&&d.jsx(qt,{"aria-label":"Toggle Description",icon:L?d.jsx(lf,{}):d.jsx(q3,{}),size:"sm",variant:"ghost",onClick:()=>Z(!L),_hover:{bg:"transparent"}}),e,l&&c&&d.jsx(Sl,{label:c,"aria-label":"Más información",p:"10px",borderRadius:"5px",bg:z,border:`1px solid ${Y}`,color:"black.500",placement:"top",hasArrow:!0,children:d.jsx(qt,{icon:d.jsx(cf,{}),"aria-label":"Información",size:"sm",variant:"ghost",ml:2,color:"info.600"})})]}),h&&L&&p&&d.jsx(Le,{fontSize:"14px",color:"gray.500",mb:"10px",textAlign:"start",children:p}),d.jsxs(Le,{display:C!==""?"block":"none",textAlign:j,color:x,margin:E,fontSize:P,fontFamily:D,children:[" ",C]}),f?d.jsx(of,{ref:R,placeholder:o,value:i,onChange:ce,bg:"white",isReadOnly:b,isDisabled:m,minHeight:S,color:v,sx:{resize:"none"}}):d.jsx(Ta,{ref:R,placeholder:o,value:i,onChange:ce,bg:"white",type:y,isReadOnly:b,isDisabled:m,minHeight:S,color:v})]})});var IO=function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(r,o,i){n.o(r,o)||Object.defineProperty(r,o,{enumerable:!0,get:i})},n.r=function(r){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(r,"__esModule",{value:!0})},n.t=function(r,o){if(1&o&&(r=n(r)),8&o||4&o&&typeof r=="object"&&r&&r.__esModule)return r;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:r}),2&o&&typeof r!="string")for(var a in r)n.d(i,a,(function(s){return r[s]}).bind(null,a));return i},n.n=function(r){var o=r&&r.__esModule?function(){return r.default}:function(){return r};return n.d(o,"a",o),o},n.o=function(r,o){return Object.prototype.hasOwnProperty.call(r,o)},n.p="",n(n.s=9)}([function(e,t){e.exports=g},function(e,t,n){var r;/*!
|
|
391
|
+
`)},fA=0,gi=[];function pA(e){var t=Se.useRef([]),n=Se.useRef([0,0]),r=Se.useRef(),o=Se.useState(fA++)[0],i=Se.useState(b3)[0],a=Se.useRef(e);Se.useEffect(function(){a.current=e},[e]),Se.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var m=Sj([e.lockRef.current],(e.shards||[]).map(_3),!0).filter(Boolean);return m.forEach(function(v){return v.classList.add("allow-interactivity-".concat(o))}),function(){document.body.classList.remove("block-interactivity-".concat(o)),m.forEach(function(v){return v.classList.remove("allow-interactivity-".concat(o))})}}},[e.inert,e.lockRef.current,e.shards]);var s=Se.useCallback(function(m,v){if("touches"in m&&m.touches.length===2||m.type==="wheel"&&m.ctrlKey)return!a.current.allowPinchZoom;var S=vl(m),y=n.current,w="deltaX"in m?m.deltaX:y[0]-S[0],j="deltaY"in m?m.deltaY:y[1]-S[1],x,E=m.target,P=Math.abs(w)>Math.abs(j)?"h":"v";if("touches"in m&&P==="h"&&E.type==="range")return!1;var D=C3(P,E);if(!D)return!0;if(D?x=P:(x=P==="v"?"h":"v",D=C3(P,E)),!D)return!1;if(!r.current&&"changedTouches"in m&&(w||j)&&(r.current=x),!x)return!0;var R=r.current||x;return cA(R,v,m,R==="h"?w:j,!0)},[]),l=Se.useCallback(function(m){var v=m;if(!(!gi.length||gi[gi.length-1]!==i)){var S="deltaY"in v?k3(v):vl(v),y=t.current.filter(function(x){return x.name===v.type&&(x.target===v.target||v.target===x.shadowParent)&&uA(x.delta,S)})[0];if(y&&y.should){v.cancelable&&v.preventDefault();return}if(!y){var w=(a.current.shards||[]).map(_3).filter(Boolean).filter(function(x){return x.contains(v.target)}),j=w.length>0?s(v,w[0]):!a.current.noIsolation;j&&v.cancelable&&v.preventDefault()}}},[]),c=Se.useCallback(function(m,v,S,y){var w={name:m,delta:v,target:S,should:y,shadowParent:hA(S)};t.current.push(w),setTimeout(function(){t.current=t.current.filter(function(j){return j!==w})},1)},[]),u=Se.useCallback(function(m){n.current=vl(m),r.current=void 0},[]),f=Se.useCallback(function(m){c(m.type,k3(m),m.target,s(m,e.lockRef.current))},[]),p=Se.useCallback(function(m){c(m.type,vl(m),m.target,s(m,e.lockRef.current))},[]);Se.useEffect(function(){return gi.push(i),e.setCallbacks({onScrollCapture:f,onWheelCapture:f,onTouchMoveCapture:p}),document.addEventListener("wheel",l,mi),document.addEventListener("touchmove",l,mi),document.addEventListener("touchstart",u,mi),function(){gi=gi.filter(function(m){return m!==i}),document.removeEventListener("wheel",l,mi),document.removeEventListener("touchmove",l,mi),document.removeEventListener("touchstart",u,mi)}},[]);var h=e.removeScrollBar,b=e.inert;return Se.createElement(Se.Fragment,null,b?Se.createElement(i,{styles:dA(o)}):null,h?Se.createElement(nA,{gapMode:e.gapMode}):null)}function hA(e){for(var t=null;e!==null;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}const mA=kj(v3,pA);var j3=Se.forwardRef(function(e,t){return Se.createElement(ml,nr({},e,{ref:t,sideCar:mA}))});j3.classNames=ml.classNames;function gA(e){const{autoFocus:t,trapFocus:n,dialogRef:r,initialFocusRef:o,blockScrollOnMount:i,allowPinchZoom:a,finalFocusRef:s,returnFocusOnClose:l,preserveScrollBarGap:c,lockFocusAcrossFrames:u,isOpen:f}=vo(),[p,h]=$c();g.useEffect(()=>{!p&&h&&setTimeout(h)},[p,h]);const b=g3(r,f);return d.jsx(Im,{autoFocus:t,isDisabled:!n,initialFocusRef:o,finalFocusRef:s,restoreFocus:l,contentRef:r,lockFocusAcrossFrames:u,children:d.jsx(j3,{removeScrollBar:!c,allowPinchZoom:a,enabled:b===1&&i,forwardProps:!0,children:e.children})})}const za={initial:"initial",animate:"enter",exit:"exit",variants:{initial:({offsetX:e,offsetY:t,transition:n,transitionEnd:r,delay:o})=>({opacity:0,x:e,y:t,transition:(n==null?void 0:n.exit)??Cr.exit(co.exit,o),transitionEnd:r==null?void 0:r.exit}),enter:({transition:e,transitionEnd:t,delay:n})=>({opacity:1,x:0,y:0,transition:(e==null?void 0:e.enter)??Cr.enter(co.enter,n),transitionEnd:t==null?void 0:t.enter}),exit:({offsetY:e,offsetX:t,transition:n,transitionEnd:r,reverse:o,delay:i})=>{const a={x:t,y:e};return{opacity:0,transition:(n==null?void 0:n.exit)??Cr.exit(co.exit,i),...o?{...a,transitionEnd:r==null?void 0:r.exit}:{transitionEnd:{...a,...r==null?void 0:r.exit}}}}}},vA=g.forwardRef(function(t,n){const{unmountOnExit:r,in:o,reverse:i=!0,className:a,offsetX:s=0,offsetY:l=8,transition:c,transitionEnd:u,delay:f,animatePresenceProps:p,...h}=t,b=r?o&&r:!0,m=o||r?"enter":"exit",v={offsetX:s,offsetY:l,reverse:i,transition:c,transitionEnd:u,delay:f};return d.jsx(no,{...p,custom:v,children:b&&d.jsx(Qn.div,{ref:n,className:Pe("chakra-offset-slide",a),custom:v,...za,animate:m,...h})})});vA.displayName="SlideFade";const T3={initial:"exit",animate:"enter",exit:"exit",variants:{exit:({reverse:e,initialScale:t,transition:n,transitionEnd:r,delay:o})=>({opacity:0,...e?{scale:t,transitionEnd:r==null?void 0:r.exit}:{transitionEnd:{scale:t,...r==null?void 0:r.exit}},transition:(n==null?void 0:n.exit)??Cr.exit(co.exit,o)}),enter:({transitionEnd:e,transition:t,delay:n})=>({opacity:1,scale:1,transition:(t==null?void 0:t.enter)??Cr.enter(co.enter,n),transitionEnd:e==null?void 0:e.enter})}},bA=g.forwardRef(function(t,n){const{unmountOnExit:r,in:o,reverse:i=!0,initialScale:a=.95,className:s,transition:l,transitionEnd:c,delay:u,animatePresenceProps:f,...p}=t,h=r?o&&r:!0,b=o||r?"enter":"exit",m={initialScale:a,reverse:i,transition:l,transitionEnd:c,delay:u};return d.jsx(no,{...f,custom:m,children:h&&d.jsx(Qn.div,{ref:n,className:Pe("chakra-offset-slide",s),...T3,animate:b,custom:m,...p})})});bA.displayName="ScaleFade";const yA={slideInBottom:{...za,custom:{offsetY:16,reverse:!0}},slideInRight:{...za,custom:{offsetX:16,reverse:!0}},slideInTop:{...za,custom:{offsetY:-16,reverse:!0}},slideInLeft:{...za,custom:{offsetX:-16,reverse:!0}},scale:{...T3,custom:{initialScale:.95,reverse:!0}},none:{}},xA=ae(Qn.section),CA=e=>yA[e||"none"],P3=g.forwardRef((e,t)=>{const{preset:n,motionProps:r=CA(n),...o}=e;return d.jsx(xA,{ref:t,...r,...o})});P3.displayName="ModalTransition";const bl=ge((e,t)=>{const{className:n,children:r,containerProps:o,motionProps:i,...a}=e,{getDialogProps:s,getDialogContainerProps:l}=vo(),c=s(a,t),u=l(o),f=Pe("chakra-modal__content",n),p=pi(),h={display:"flex",flexDirection:"column",position:"relative",width:"100%",outline:0,...p.dialog},b={display:"flex",width:"100vw",height:"$100vh",position:"fixed",left:0,top:0,...p.dialogContainer},{motionPreset:m}=vo();return d.jsx(gA,{children:d.jsx(ae.div,{...u,className:"chakra-modal__content-container",tabIndex:-1,__css:b,children:d.jsx(P3,{preset:m,motionProps:i,className:f,...c,__css:h,children:r})})})});bl.displayName="ModalContent";const yl=ge((e,t)=>{const{className:n,...r}=e,{bodyId:o,setBodyMounted:i}=vo();g.useEffect(()=>(i(!0),()=>i(!1)),[i]);const a=Pe("chakra-modal__body",n),s=pi();return d.jsx(ae.div,{ref:t,className:a,id:o,...r,__css:s.body})});yl.displayName="ModalBody";const E3=ge((e,t)=>{const{onClick:n,className:r,...o}=e,{onClose:i}=vo(),a=Pe("chakra-modal__close-btn",r),s=pi();return d.jsx(Zu,{ref:t,__css:s.closeButton,className:a,onClick:Ue(n,l=>{l.stopPropagation(),i()}),...o})});E3.displayName="ModalCloseButton";const ef=ge((e,t)=>{const{className:n,...r}=e,o=Pe("chakra-modal__footer",n),i=pi(),a={display:"flex",alignItems:"center",justifyContent:"flex-end",...i.footer};return d.jsx(ae.footer,{ref:t,...r,__css:a,className:o})});ef.displayName="ModalFooter";const xl=ge((e,t)=>{const{className:n,...r}=e,{headerId:o,setHeaderMounted:i}=vo();g.useEffect(()=>(i(!0),()=>i(!1)),[i]);const a=Pe("chakra-modal__header",n),s=pi(),l={flex:0,...s.header};return d.jsx(ae.header,{ref:t,className:a,id:o,...r,__css:l})});xl.displayName="ModalHeader";const A3={initial:"exit",animate:"enter",exit:"exit",variants:{enter:({transition:e,transitionEnd:t,delay:n}={})=>({opacity:1,transition:(e==null?void 0:e.enter)??Cr.enter(co.enter,n),transitionEnd:t==null?void 0:t.enter}),exit:({transition:e,transitionEnd:t,delay:n}={})=>({opacity:0,transition:(e==null?void 0:e.exit)??Cr.exit(co.exit,n),transitionEnd:t==null?void 0:t.exit})}},wA=g.forwardRef(function(t,n){const{unmountOnExit:r,in:o,className:i,transition:a,transitionEnd:s,delay:l,animatePresenceProps:c,...u}=t,f=o||r?"enter":"exit",p=r?o&&r:!0,h={transition:a,transitionEnd:s,delay:l};return d.jsx(no,{...c,custom:h,children:p&&d.jsx(Qn.div,{ref:n,className:Pe("chakra-fade",i),custom:h,...A3,animate:f,...u})})});wA.displayName="Fade";const SA=ae(Qn.div),Cl=ge((e,t)=>{const{className:n,transition:r,motionProps:o,...i}=e,a=Pe("chakra-modal__overlay",n),l={pos:"fixed",left:"0",top:"0",w:"100vw",h:"100vh",...pi().overlay},{motionPreset:c}=vo(),f=o||(c==="none"?{}:A3);return d.jsx(SA,{...f,__css:l,ref:t,className:a,...i})});Cl.displayName="ModalOverlay";function kA(e,t,n){return(e-t)*100/(n-t)}Ir({"0%":{strokeDasharray:"1, 400",strokeDashoffset:"0"},"50%":{strokeDasharray:"400, 400",strokeDashoffset:"-100"},"100%":{strokeDasharray:"400, 400",strokeDashoffset:"-260"}}),Ir({"0%":{transform:"rotate(0deg)"},"100%":{transform:"rotate(360deg)"}});const _A=Ir({"0%":{left:"-40%"},"100%":{left:"100%"}}),jA=Ir({from:{backgroundPosition:"1rem 0"},to:{backgroundPosition:"0 0"}});function TA(e){const{value:t=0,min:n,max:r,valueText:o,getValueText:i,isIndeterminate:a,role:s="progressbar"}=e,l=kA(t,n,r);return{bind:{"data-indeterminate":a?"":void 0,"aria-valuemax":r,"aria-valuemin":n,"aria-valuenow":a?void 0:t,"aria-valuetext":(()=>{if(t!=null)return typeof i=="function"?i(t,l):o})(),role:s},percent:l,value:t}}const[PA,EA]=ht({name:"ProgressStylesContext",errorMessage:`useProgressStyles returned is 'undefined'. Seems you forgot to wrap the components in "<Progress />" `}),AA=ge((e,t)=>{const{min:n,max:r,value:o,isIndeterminate:i,role:a,...s}=e,l=TA({value:o,min:n,max:r,isIndeterminate:i,role:a}),u={height:"100%",...EA().filledTrack};return d.jsx(ae.div,{ref:t,style:{width:`${l.percent}%`,...s.style},...l.bind,...s,__css:u})}),M3=ge((e,t)=>{var P;const{value:n,min:r=0,max:o=100,hasStripe:i,isAnimated:a,children:s,borderRadius:l,isIndeterminate:c,"aria-label":u,"aria-labelledby":f,"aria-valuetext":p,title:h,role:b,...m}=Ct(e),v=Yt("Progress",e),S=l??((P=v.track)==null?void 0:P.borderRadius),y={animation:`${jA} 1s linear infinite`},x={...!c&&i&&a&&y,...c&&{position:"absolute",willChange:"left",minWidth:"50%",animation:`${_A} 1s ease infinite normal none running`}},E={overflow:"hidden",position:"relative",...v.track};return d.jsx(ae.div,{ref:t,borderRadius:S,__css:E,...m,children:d.jsxs(PA,{value:v,children:[d.jsx(AA,{"aria-label":u,"aria-labelledby":f,"aria-valuetext":p,min:r,max:o,value:n,isIndeterminate:c,css:x,borderRadius:S,title:h,role:b}),s]})})});M3.displayName="Progress";const O3=ge(function(t,n){const{children:r,placeholder:o,className:i,...a}=t;return d.jsxs(ae.select,{...a,ref:n,className:Pe("chakra-select",i),children:[o&&d.jsx("option",{value:"",children:o}),r]})});O3.displayName="SelectField";const I3=ge((e,t)=>{var w;const n=Yt("Select",e),{rootProps:r,placeholder:o,icon:i,color:a,height:s,h:l,minH:c,minHeight:u,iconColor:f,iconSize:p,...h}=Ct(e),[b,m]=Sg(h,p5),v=rd(m),S={width:"100%",height:"fit-content",position:"relative",color:a},y={paddingEnd:"2rem",...n.field,_focus:{zIndex:"unset",...(w=n.field)==null?void 0:w._focus}};return d.jsxs(ae.div,{className:"chakra-select__wrapper",__css:S,...b,...r,children:[d.jsx(O3,{ref:t,height:l??s,minH:c??u,placeholder:o,...v,__css:y,children:e.children}),d.jsx(D3,{"data-disabled":Le(v.disabled),...(f||a)&&{color:f||a},__css:n.icon,...p&&{fontSize:p},children:i})]})});I3.displayName="Select";const MA=e=>d.jsx("svg",{viewBox:"0 0 24 24",...e,children:d.jsx("path",{fill:"currentColor",d:"M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6z"})}),OA=ae("div",{baseStyle:{position:"absolute",display:"inline-flex",alignItems:"center",justifyContent:"center",pointerEvents:"none",top:"50%",transform:"translateY(-50%)"}}),D3=e=>{const{children:t=d.jsx(MA,{}),...n}=e,r=g.cloneElement(t,{role:"presentation",className:"chakra-select__icon",focusable:!1,"aria-hidden":!0,style:{width:"1em",height:"1em",color:"currentColor"}});return d.jsx(OA,{...n,className:"chakra-select__icon-wrapper",children:g.isValidElement(t)?r:null})};D3.displayName="SelectIcon";const $3=e=>d.jsx(ae.div,{className:"chakra-stack__item",...e,__css:{display:"inline-block",flex:"0 0 auto",minWidth:0,...e.__css}});$3.displayName="StackItem";function IA(e){const{spacing:t,direction:n}=e,r={column:{my:t,mx:0,borderLeftWidth:0,borderBottomWidth:"1px"},"column-reverse":{my:t,mx:0,borderLeftWidth:0,borderBottomWidth:"1px"},row:{mx:t,my:0,borderLeftWidth:"1px",borderBottomWidth:0},"row-reverse":{mx:t,my:0,borderLeftWidth:"1px",borderBottomWidth:0}};return{"&":yg(n,o=>r[o])}}const tf=ge((e,t)=>{const{isInline:n,direction:r,align:o,justify:i,spacing:a="0.5rem",wrap:s,children:l,divider:c,className:u,shouldWrapChildren:f,...p}=e,h=n?"row":r??"column",b=g.useMemo(()=>IA({spacing:a,direction:h}),[a,h]),m=!!c,v=!f&&!m,S=g.useMemo(()=>{const w=zl(l);return v?w:w.map((j,x)=>{const E=typeof j.key<"u"?j.key:x,P=x+1===w.length,R=f?d.jsx($3,{children:j},E):j;if(!m)return R;const z=g.cloneElement(c,{__css:b}),X=P?null:z;return d.jsxs(g.Fragment,{children:[R,X]},E)})},[c,b,m,v,f,l]),y=Pe("chakra-stack",u);return d.jsx(ae.div,{ref:t,display:"flex",alignItems:o,justifyContent:i,flexDirection:h,flexWrap:s,gap:m?void 0:a,className:y,...p,children:S})});tf.displayName="Stack";const Nr=ge((e,t)=>d.jsx(tf,{align:"center",...e,direction:"row",ref:t}));Nr.displayName="HStack";const ar=ge((e,t)=>d.jsx(tf,{align:"center",...e,direction:"column",ref:t}));ar.displayName="VStack";const F3=ge(function(t,n){const r=Yt("Switch",t),{spacing:o="0.5rem",children:i,...a}=Ct(t),{getIndicatorProps:s,getInputProps:l,getCheckboxProps:c,getRootProps:u,getLabelProps:f}=Fh(a),p=g.useMemo(()=>({display:"inline-block",position:"relative",verticalAlign:"middle",lineHeight:0,...r.container}),[r.container]),h=g.useMemo(()=>({display:"inline-flex",flexShrink:0,justifyContent:"flex-start",boxSizing:"content-box",cursor:"pointer",...r.track}),[r.track]),b=g.useMemo(()=>({userSelect:"none",marginStart:o,...r.label}),[o,r.label]);return d.jsxs(ae.label,{...u(),className:Pe("chakra-switch",t.className),__css:p,children:[d.jsx("input",{className:"chakra-switch__input",...l({},n)}),d.jsx(ae.span,{...c(),className:"chakra-switch__track",__css:h,children:d.jsx(ae.span,{__css:r.thumb,className:"chakra-switch__thumb",...s()})}),i&&d.jsx(ae.span,{className:"chakra-switch__label",...f(),__css:b,children:i})]})});F3.displayName="Switch";const[DA,$A,FA,zA]=Yu();function LA(e){const{defaultIndex:t,onChange:n,index:r,isManual:o,isLazy:i,lazyBehavior:a="unmount",orientation:s="horizontal",direction:l="ltr",...c}=e,[u,f]=g.useState(t??0),[p,h]=Bf({defaultValue:t??0,value:r,onChange:n});g.useEffect(()=>{r!=null&&f(r)},[r]);const b=FA(),m=g.useId();return{id:`tabs-${e.id??m}`,selectedIndex:p,focusedIndex:u,setSelectedIndex:h,setFocusedIndex:f,isManual:o,isLazy:i,lazyBehavior:a,orientation:s,descendants:b,direction:l,htmlProps:c}}const[BA,z3]=ht({name:"TabsContext",errorMessage:"useTabsContext: `context` is undefined. Seems you forgot to wrap all tabs components within <Tabs />"});function NA(e){const{focusedIndex:t,orientation:n,direction:r}=z3(),o=$A(),i=g.useCallback(a=>{const s=()=>{var w;const y=o.nextEnabled(t);y&&((w=y.node)==null||w.focus())},l=()=>{var w;const y=o.prevEnabled(t);y&&((w=y.node)==null||w.focus())},c=()=>{var w;const y=o.firstEnabled();y&&((w=y.node)==null||w.focus())},u=()=>{var w;const y=o.lastEnabled();y&&((w=y.node)==null||w.focus())},f=n==="horizontal",p=n==="vertical",h=a.key,b=r==="ltr"?"ArrowLeft":"ArrowRight",m=r==="ltr"?"ArrowRight":"ArrowLeft",S={[b]:()=>f&&l(),[m]:()=>f&&s(),ArrowDown:()=>p&&s(),ArrowUp:()=>p&&l(),Home:c,End:u}[h];S&&(a.preventDefault(),S(a))},[o,t,n,r]);return{...e,role:"tablist","aria-orientation":n,onKeyDown:Ue(e.onKeyDown,i)}}function RA(e){const{isDisabled:t=!1,isFocusable:n=!1,...r}=e,{setSelectedIndex:o,isManual:i,id:a,setFocusedIndex:s,selectedIndex:l}=z3(),{index:c,register:u}=zA({disabled:t&&!n}),f=c===l,p=()=>{o(c)},h=()=>{s(c),!i&&!(t&&n)&&o(c)};return{...d3({...r,ref:Bt(u,e.ref),isDisabled:t,isFocusable:n,onClick:Ue(e.onClick,p)}),id:VA(a,c),role:"tab",tabIndex:f?0:-1,type:"button","aria-selected":f,"aria-controls":WA(a,c),onFocus:t?void 0:Ue(e.onFocus,h)}}ht({});function VA(e,t){return`${e}--tab-${t}`}function WA(e,t){return`${e}--tabpanel-${t}`}const[HA,L3]=ht({name:"TabsStylesContext",errorMessage:`useTabsStyles returned is 'undefined'. Seems you forgot to wrap the components in "<Tabs />" `}),B3=ge(function(t,n){const r=Yt("Tabs",t),{children:o,className:i,...a}=Ct(t),{htmlProps:s,descendants:l,...c}=LA(a),u=g.useMemo(()=>c,[c]),{isFitted:f,...p}=s,h={position:"relative",...r.root};return d.jsx(DA,{value:l,children:d.jsx(BA,{value:u,children:d.jsx(HA,{value:r,children:d.jsx(ae.div,{className:Pe("chakra-tabs",i),ref:n,...p,__css:h,children:o})})})})});B3.displayName="Tabs";const N3=ge(function(t,n){const r=L3(),o=RA({...t,ref:n}),i={outline:"0",display:"flex",alignItems:"center",justifyContent:"center",...r.tab};return d.jsx(ae.button,{...o,className:Pe("chakra-tabs__tab",t.className),__css:i})});N3.displayName="Tab";const R3=ge(function(t,n){const r=NA({...t,ref:n}),o=L3(),i={display:"flex",...o.tablist};return d.jsx(ae.div,{...r,className:Pe("chakra-tabs__tablist",t.className),__css:i})});R3.displayName="TabList";const[UA,V3]=ht({name:"TagStylesContext",errorMessage:`useTagStyles returned is 'undefined'. Seems you forgot to wrap the components in "<Tag />" `}),nf=ge((e,t)=>{const n=Yt("Tag",e),r=Ct(e),o={display:"inline-flex",verticalAlign:"top",alignItems:"center",maxWidth:"100%",...n.container};return d.jsx(UA,{value:n,children:d.jsx(ae.span,{ref:t,...r,__css:o})})});nf.displayName="Tag";const W3=ge((e,t)=>{const n=V3();return d.jsx(ae.span,{ref:t,noOfLines:1,...e,__css:n.label})});W3.displayName="TagLabel";const qA=ge((e,t)=>d.jsx(Xt,{ref:t,verticalAlign:"top",marginEnd:"0.5rem",...e}));qA.displayName="TagLeftIcon";const ZA=ge((e,t)=>d.jsx(Xt,{ref:t,verticalAlign:"top",marginStart:"0.5rem",...e}));ZA.displayName="TagRightIcon";const H3=e=>d.jsx(Xt,{verticalAlign:"inherit",viewBox:"0 0 512 512",...e,children:d.jsx("path",{fill:"currentColor",d:"M289.94 256l95-95A24 24 0 00351 127l-95 95-95-95a24 24 0 00-34 34l95 95-95 95a24 24 0 1034 34l95-95 95 95a24 24 0 0034-34z"})});H3.displayName="TagCloseIcon";const U3=ge((e,t)=>{const{isDisabled:n,children:r,...o}=e,a={display:"flex",alignItems:"center",justifyContent:"center",outline:"0",...V3().closeButton};return d.jsx(ae.button,{ref:t,"aria-label":"close",...o,type:"button",disabled:n,__css:a,children:r||d.jsx(H3,{})})});U3.displayName="TagCloseButton";const GA=["h","minH","height","minHeight"],rf=ge((e,t)=>{const n=er("Textarea",e),{className:r,rows:o,...i}=Ct(e),a=rd(i),s=o?So(n,GA):n;return d.jsx(ae.textarea,{ref:t,rows:o,...a,className:Pe("chakra-textarea",r),__css:s})});rf.displayName="Textarea";function KA(e,t){const n=e??"bottom",o={"top-start":{ltr:"top-left",rtl:"top-right"},"top-end":{ltr:"top-right",rtl:"top-left"},"bottom-start":{ltr:"bottom-left",rtl:"bottom-right"},"bottom-end":{ltr:"bottom-right",rtl:"bottom-left"}}[n];return(o==null?void 0:o[t])??n}function YA(e,t){const n=o=>({...t,...o,position:KA((o==null?void 0:o.position)??(t==null?void 0:t.position),e)}),r=o=>{const i=n(o),a=lh(i);return tr.notify(a,i)};return r.update=(o,i)=>{tr.update(o,n(i))},r.promise=(o,i)=>{const a=r({...i.loading,status:"loading",duration:null});o.then(s=>r.update(a,{status:"success",duration:5e3,...mn(i.success,s)})).catch(s=>r.update(a,{status:"error",duration:5e3,...mn(i.error,s)}))},r.closeAll=tr.closeAll,r.close=tr.close,r.isActive=tr.isActive,r}function q3(e){const{theme:t}=Q2(),n=a_();return g.useMemo(()=>YA(t.direction,{...n,...e}),[e,t.direction,n])}const XA={exit:{scale:.85,opacity:0,transition:{opacity:{duration:.15,easings:"easeInOut"},scale:{duration:.2,easings:"easeInOut"}}},enter:{scale:1,opacity:1,transition:{opacity:{easings:"easeOut",duration:.2},scale:{duration:.2,ease:[.175,.885,.4,1.1]}}}},of=e=>{var t;return((t=e.current)==null?void 0:t.ownerDocument)||document},wl=e=>{var t,n;return((n=(t=e.current)==null?void 0:t.ownerDocument)==null?void 0:n.defaultView)||window};function JA(e={}){const{openDelay:t=0,closeDelay:n=0,closeOnClick:r=!0,closeOnMouseDown:o,closeOnScroll:i,closeOnPointerDown:a=o,closeOnEsc:s=!0,onOpen:l,onClose:c,placement:u,id:f,isOpen:p,defaultIsOpen:h,arrowSize:b=10,arrowShadowColor:m,arrowPadding:v,modifiers:S,isDisabled:y,gutter:w,offset:j,direction:x,...E}=e,{isOpen:P,onOpen:D,onClose:R}=Nf({isOpen:p,defaultIsOpen:h,onOpen:l,onClose:c}),{referenceRef:z,getPopperProps:X,getArrowInnerProps:ce,getArrowProps:le}=u3({enabled:P,placement:u,arrowPadding:v,modifiers:S,gutter:w,offset:j,direction:x}),L=g.useId(),K=`tooltip-${f??L}`,N=g.useRef(null),ue=g.useRef(),he=g.useCallback(()=>{ue.current&&(clearTimeout(ue.current),ue.current=void 0)},[]),O=g.useRef(),F=g.useCallback(()=>{O.current&&(clearTimeout(O.current),O.current=void 0)},[]),Z=g.useCallback(()=>{F(),R()},[R,F]),V=QA(N,Z),B=g.useCallback(()=>{if(!y&&!ue.current){P&&V();const H=wl(N);ue.current=H.setTimeout(D,t)}},[V,y,P,D,t]),C=g.useCallback(()=>{he();const H=wl(N);O.current=H.setTimeout(Z,n)},[n,Z,he]),J=g.useCallback(()=>{P&&r&&C()},[r,C,P]),Q=g.useCallback(()=>{P&&a&&C()},[a,C,P]),ee=g.useCallback(H=>{P&&H.key==="Escape"&&C()},[P,C]);Ka(()=>of(N),"keydown",s?ee:void 0),Ka(()=>{if(!i)return null;const H=N.current;if(!H)return null;const Te=zf(H);return Te.localName==="body"?wl(N):Te},"scroll",()=>{P&&i&&Z()},{passive:!0,capture:!0}),g.useEffect(()=>{y&&(he(),P&&R())},[y,P,R,he]),g.useEffect(()=>()=>{he(),F()},[he,F]),Ka(()=>N.current,"pointerleave",C);const me=g.useCallback((H={},Te=null)=>({...H,ref:Bt(N,Te,z),onPointerEnter:Ue(H.onPointerEnter,A=>{A.pointerType!=="touch"&&B()}),onClick:Ue(H.onClick,J),onPointerDown:Ue(H.onPointerDown,Q),onFocus:Ue(H.onFocus,B),onBlur:Ue(H.onBlur,C),"aria-describedby":P?K:void 0}),[B,C,Q,P,K,J,z]),de=g.useCallback((H={},Te=null)=>X({...H,style:{...H.style,[Vt.arrowSize.var]:b?`${b}px`:void 0,[Vt.arrowShadowColor.var]:m}},Te),[X,b,m]),ke=g.useCallback((H={},Te=null)=>{const De={...H.style,position:"relative",transformOrigin:Vt.transformOrigin.varRef};return{ref:Te,...E,...H,id:K,role:"tooltip",style:De}},[E,K]);return{isOpen:P,show:B,hide:C,getTriggerProps:me,getTooltipProps:ke,getTooltipPositionerProps:de,getArrowProps:le,getArrowInnerProps:ce}}const af="chakra-ui:close-tooltip";function QA(e,t){return g.useEffect(()=>{const n=of(e);return n.addEventListener(af,t),()=>n.removeEventListener(af,t)},[t,e]),()=>{const n=of(e),r=wl(e);n.dispatchEvent(new r.CustomEvent(af))}}const eM=ae(Qn.div),Sl=ge((e,t)=>{const n=er("Tooltip",e),r=Ct(e),o=va(),{children:i,label:a,shouldWrapChildren:s,"aria-label":l,hasArrow:c,bg:u,portalProps:f,background:p,backgroundColor:h,bgColor:b,motionProps:m,animatePresenceProps:v,...S}=r,y=p??h??u??b;if(y){n.bg=y;const z=S5(o,"colors",y);n[Vt.arrowBg.var]=z}const w=JA({...S,direction:o.direction}),j=!g.isValidElement(i)||s;let x;if(j)x=d.jsx(ae.span,{display:"inline-block",tabIndex:0,...w.getTriggerProps(),children:i});else{const z=g.Children.only(i);x=g.cloneElement(z,w.getTriggerProps(z.props,z.ref))}const E=!!l,P=w.getTooltipProps({},t),D=E?So(P,["role","id"]):P,R=Ff(P,["role","id"]);return a?d.jsxs(d.Fragment,{children:[x,d.jsx(no,{...v,children:w.isOpen&&d.jsx(Qo,{...f,children:d.jsx(ae.div,{...w.getTooltipPositionerProps(),__css:{zIndex:n.zIndex,pointerEvents:"none"},children:d.jsxs(eM,{variants:XA,initial:"exit",animate:"enter",exit:"exit",...m,...D,__css:n,children:[a,E&&d.jsx(ae.span,{srOnly:!0,...R,children:l}),c&&d.jsx(ae.div,{"data-popper-arrow":!0,className:"chakra-tooltip__arrow-wrapper",children:d.jsx(ae.div,{"data-popper-arrow-inner":!0,className:"chakra-tooltip__arrow",__css:{bg:n.bg}})})]})})})})]}):d.jsx(d.Fragment,{children:i})});Sl.displayName="Tooltip";const Be=ge(function(t,n){const r=er("Text",t),{className:o,align:i,decoration:a,casing:s,...l}=Ct(t),c=Ei({textAlign:t.align,textDecoration:t.decoration,textTransform:t.casing});return d.jsx(ae.p,{ref:n,className:Pe("chakra-text",t.className),...c,...l,__css:r})});Be.displayName="Text";const Z3=ge(function(t,n){const{spacing:r="0.5rem",spacingX:o,spacingY:i,children:a,justify:s,direction:l,align:c,className:u,shouldWrapChildren:f,...p}=t,h=g.useMemo(()=>f?g.Children.map(a,(b,m)=>d.jsx(sf,{children:b},m)):a,[a,f]);return d.jsx(ae.div,{ref:n,className:Pe("chakra-wrap",u),...p,children:d.jsx(ae.ul,{className:"chakra-wrap__list",__css:{display:"flex",flexWrap:"wrap",justifyContent:s,alignItems:c,flexDirection:l,listStyleType:"none",gap:r,columnGap:o,rowGap:i,padding:"0"},children:h})})});Z3.displayName="Wrap";const sf=ge(function(t,n){const{className:r,...o}=t;return d.jsx(ae.li,{ref:n,__css:{display:"flex",alignItems:"flex-start"},className:Pe("chakra-wrap__listitem",r),...o})});sf.displayName="WrapItem";const tM={Body:"Sansation-Regular, sans-serif",Heading:"Sansation-Bold, sans-serif",Lato:"Lato-Regular, sans-serif"},nM={global:{body:{color:"#000",textAlign:"center",fontSize:"14px",fontStyle:"normal",fontWeight:400,lineHeight:"normal"},"*":{boxSizing:"border-box"},a:{cursor:"pointer"},...{".chat-wrapper":{background:"#4E4D4D",border:"2px solid #D6D6D6",borderRadius:"8px",fontSize:"16px",minHeight:"240px",overflow:"hidden",padding:"1rem 0",width:"100%"},".message-input":{borderTop:"1px solid #ccc"},".cs-message-list":{background:"#4E4D4D"},".cs-chat-container .cs-message-input":{background:"#4E4D4D",border:"0",padding:"1rem 0"},".scrollbar-container":{background:"transparent"},".cs-message-input__content-editor-wrapper":{background:"#6E6E6E"},".cs-message-input__content-editor":{background:"transparent",color:"#fff",textAlign:"left"},".cs-message--incoming .cs-message__content":{background:"transparent",padding:"1rem 0",color:"#fff",textAlign:"left",fontSize:"16px"},".cs-message.cs-message--outgoing.cs-message--first .cs-message__content":{background:"#efefef",borderRadius:"20px",color:"#000"},".cs-message.cs-message--incoming.cs-message--first .cs-message__content":{background:"transparent",color:"#fff"},".cs-message.cs-message--outgoing.cs-message--single .cs-message__content":{background:"#fff",fontSize:"16px"},".cs-message-list .cs-typing-indicator":{background:"transparent",margin:"0 1.2em 0 .8em",padding:"0"},".cs-typing-indicator__text":{color:"#fff"},".cs-typing-indicator__dot":{backgroundColor:"#fff"}}}},Jt={primary:{200:"#8BBFCB",300:"#67ABBB",400:"#4A94A6",500:"#3B7684",600:"#2B555F"},elevate:{200:"#FFF8FA",300:"#FFD6E2",400:"#FFA3BF",500:"#FF6F9A",600:"#FF3D77",700:"#FF0A53"},assist:{200:"#F9FCFE",300:"#B4D8F4",400:"#87C1ED",500:"#5AA9E6",600:"#2F93DF",700:"#1D79BE"},play:{300:"#FEE2DC",400:"#FCB8AB",500:"#FB8E79",600:"#FA6448",700:"#F93916"},talent:{300:"#D4BBD8",400:"#AB7AB3",500:"#965BA0",600:"#77487F",700:"#58365E"},collect:{300:"#95DAB8",400:"#6FCD9E",500:"#48BF84",600:"#389F6C",700:"#F93916"},ad:{300:"#AA7A60",400:"#8C624B",500:"#694A38",600:"#493427",700:"#281C15"},black:{40:"#EFEFEF",50:"#D7D7D7",100:"#C1C1C1",200:"#999999",300:"#999999",400:"#666666",500:"#333333",600:"#222222"},white:{50:"#EFEFEF",100:"#FFFFFF"},success:{200:"#C6F6D5",300:"#2CD888",400:"#21B06E",500:"#198754",600:"#115A38"},danger:{200:"#FED7D7",300:"#F81C34",400:"#DB071E",500:"#CE0015",600:"#C10004"},warning:{200:"#FEEBCB",300:"#FFCF70",400:"#FFBE3D",500:"#FFAE0C",600:"#D68F00"},info:{200:"#BEE3F8",300:"#47AFFF",400:"#1499FF",500:"#007EDF",600:"#0062AD"}},Rr=cj({config:{initialColorMode:"light",useSystemColorMode:!1},colors:Jt,fonts:tM,styles:nM}),rM=({children:e,...t})=>d.jsx(l_,{theme:Rr,...t,children:e}),oM=Ln({displayName:"CheckCircleIcon",d:"M12,0A12,12,0,1,0,24,12,12.014,12.014,0,0,0,12,0Zm6.927,8.2-6.845,9.289a1.011,1.011,0,0,1-1.43.188L5.764,13.769a1,1,0,1,1,1.25-1.562l4.076,3.261,6.227-8.451A1,1,0,1,1,18.927,8.2Z"}),iM=Ln({d:"M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z",displayName:"ChevronLeftIcon"}),aM=Ln({d:"M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z",displayName:"ChevronRightIcon"}),lf=Ln({displayName:"ChevronDownIcon",d:"M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6z"}),G3=Ln({d:"M12 8l-6 6 1.41 1.41L12 10.83l4.59 4.58L18 14z",displayName:"ChevronUpIcon"}),kl=Ln({displayName:"CloseIcon",d:"M.439,21.44a1.5,1.5,0,0,0,2.122,2.121L11.823,14.3a.25.25,0,0,1,.354,0l9.262,9.263a1.5,1.5,0,1,0,2.122-2.121L14.3,12.177a.25.25,0,0,1,0-.354l9.263-9.262A1.5,1.5,0,0,0,21.439.44L12.177,9.7a.25.25,0,0,1-.354,0L2.561.44A1.5,1.5,0,0,0,.439,2.561L9.7,11.823a.25.25,0,0,1,0,.354Z"}),cf=Ln({displayName:"InfoOutlineIcon",path:d.jsxs("g",{fill:"currentColor",stroke:"currentColor",strokeLinecap:"square",strokeWidth:"2",children:[d.jsx("circle",{cx:"12",cy:"12",fill:"none",r:"11",stroke:"currentColor"}),d.jsx("line",{fill:"none",x1:"11.959",x2:"11.959",y1:"11",y2:"17"}),d.jsx("circle",{cx:"11.959",cy:"7",r:"1",stroke:"none"})]})}),sM=Ln({d:"M12,0A12,12,0,1,0,24,12,12.013,12.013,0,0,0,12,0Zm.25,5a1.5,1.5,0,1,1-1.5,1.5A1.5,1.5,0,0,1,12.25,5ZM14.5,18.5h-4a1,1,0,0,1,0-2h.75a.25.25,0,0,0,.25-.25v-4.5a.25.25,0,0,0-.25-.25H10.5a1,1,0,0,1,0-2h1a2,2,0,0,1,2,2v4.75a.25.25,0,0,0,.25.25h.75a1,1,0,1,1,0,2Z"}),K3=Ln({d:"M11.983,0a12.206,12.206,0,0,0-8.51,3.653A11.8,11.8,0,0,0,0,12.207,11.779,11.779,0,0,0,11.8,24h.214A12.111,12.111,0,0,0,24,11.791h0A11.766,11.766,0,0,0,11.983,0ZM10.5,16.542a1.476,1.476,0,0,1,1.449-1.53h.027a1.527,1.527,0,0,1,1.523,1.47,1.475,1.475,0,0,1-1.449,1.53h-.027A1.529,1.529,0,0,1,10.5,16.542ZM11,12.5v-6a1,1,0,0,1,2,0v6a1,1,0,1,1-2,0Z",displayName:"WarningIcon"}),lM=Ln({viewBox:"0 0 14 14",path:d.jsx("g",{fill:"currentColor",children:d.jsx("polygon",{points:"5.5 11.9993304 14 3.49933039 12.5 2 5.5 8.99933039 1.5 4.9968652 0 6.49933039"})})}),cM=Ln({displayName:"HamburgerIcon",viewBox:"0 0 24 24",d:"M 3 5 A 1.0001 1.0001 0 1 0 3 7 L 21 7 A 1.0001 1.0001 0 1 0 21 5 L 3 5 z M 3 11 A 1.0001 1.0001 0 1 0 3 13 L 21 13 A 1.0001 1.0001 0 1 0 21 11 L 3 11 z M 3 17 A 1.0001 1.0001 0 1 0 3 19 L 21 19 A 1.0001 1.0001 0 1 0 21 17 L 3 17 z"}),uM=g.forwardRef(({label:e="",fontFamilyLabel:t="sans-serif",fontSizeLabel:n="1rem",options:r,onChange:o,fontFamily:i="sans-serif",fontSize:a="1rem",info:s=!0,infoText:l="",bgColorTooltip:c="rgba(208, 203, 203, 1)",positionTooltip:u="right",borderTooltip:f="1px solid black",borderRadiusTooltip:p=".5rem",fontFamilyTooltip:h="Lato-Regular",fontSizeTooltip:b="0.75rem",textAlignTooltip:m="center",colorTextTooltip:v="black.500",isRequired:S=!0,hasArrowTooltip:y=!1,disableSelect:w=!1,textSubtitle:j="",subtitleAlign:x="left",colorTextSubtitle:E="black.500",spacingTextSubtitle:P="1rem 0",fontSizeSubtitle:D="1rem",fontFamilySubtitle:R="Lato",...z},X)=>d.jsxs(xa,{isRequired:S,children:[d.jsxs(ii,{display:"flex",alignItems:"center",fontSize:n,fontFamily:t,children:[e,s&&l&&d.jsx(Sl,{label:l,"aria-label":"Más información",p:"10px",bg:c||"rgba(0, 0, 0, .5)",border:f,borderRadius:p,color:v,placement:u,fontFamily:h,fontSize:b,textAlign:m,hasArrow:y,children:d.jsx(qt,{icon:d.jsx(cf,{}),"aria-label":"Información",size:"sm",variant:"ghost",ml:2,color:"info.600"})})]}),d.jsxs(Be,{display:j!==""?"block":"none",textAlign:x,color:E,margin:P,fontSize:D,fontFamily:R,children:[" ",j]}),d.jsx(I3,{onChange:ce=>o(ce.target.value),...z,ref:X,fontFamily:i,fontSize:a,sx:{"&:focus-visible":{color:"#222222",borderColor:"#c1c1c1",boxShadow:"none"}},...z,disabled:w,children:r.map(ce=>d.jsx("option",{value:ce.value,children:ce.name},ce.value))})]}));var Y3={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},X3=g.createContext&&g.createContext(Y3),dM=["attr","size","title"];function fM(e,t){if(e==null)return{};var n=pM(e,t),r,o;if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o<i.length;o++)r=i[o],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function pM(e,t){if(e==null)return{};var n={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}function _l(){return _l=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},_l.apply(this,arguments)}function J3(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function jl(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?J3(Object(n),!0).forEach(function(r){hM(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):J3(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function hM(e,t,n){return t=mM(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function mM(e){var t=gM(e,"string");return typeof t=="symbol"?t:t+""}function gM(e,t){if(typeof e!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if(typeof r!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Q3(e){return e&&e.map((t,n)=>g.createElement(t.tag,jl({key:n},t.attr),Q3(t.child)))}function ut(e){return t=>g.createElement(vM,_l({attr:jl({},e.attr)},t),Q3(e.child))}function vM(e){var t=n=>{var{attr:r,size:o,title:i}=e,a=fM(e,dM),s=o||n.size||"1em",l;return n.className&&(l=n.className),e.className&&(l=(l?l+" ":"")+e.className),g.createElement("svg",_l({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},n.attr,r,a,{className:l,style:jl(jl({color:e.color||n.color},n.style),e.style),height:s,width:s,xmlns:"http://www.w3.org/2000/svg"}),i&&g.createElement("title",null,i),e.children)};return X3!==void 0?g.createElement(X3.Consumer,null,n=>t(n)):t(Y3)}function bM(e){return ut({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"line",attr:{x1:"12",y1:"5",x2:"12",y2:"19"},child:[]},{tag:"polyline",attr:{points:"19 12 12 19 5 12"},child:[]}]})(e)}function yM(e){return ut({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"line",attr:{x1:"19",y1:"12",x2:"5",y2:"12"},child:[]},{tag:"polyline",attr:{points:"12 19 5 12 12 5"},child:[]}]})(e)}function xM(e){return ut({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"line",attr:{x1:"5",y1:"12",x2:"19",y2:"12"},child:[]},{tag:"polyline",attr:{points:"12 5 19 12 12 19"},child:[]}]})(e)}function CM(e){return ut({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"line",attr:{x1:"12",y1:"19",x2:"12",y2:"5"},child:[]},{tag:"polyline",attr:{points:"5 12 12 5 19 12"},child:[]}]})(e)}function wM(e){return ut({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"rect",attr:{x:"9",y:"9",width:"13",height:"13",rx:"2",ry:"2"},child:[]},{tag:"path",attr:{d:"M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1"},child:[]}]})(e)}function SM(e){return ut({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"line",attr:{x1:"12",y1:"1",x2:"12",y2:"23"},child:[]},{tag:"path",attr:{d:"M17 5H9.5a3.5 3.5 0 0 0 0 7h5a3.5 3.5 0 0 1 0 7H6"},child:[]}]})(e)}function kM(e){return ut({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4"},child:[]},{tag:"polyline",attr:{points:"7 10 12 15 17 10"},child:[]},{tag:"line",attr:{x1:"12",y1:"15",x2:"12",y2:"3"},child:[]}]})(e)}function _M(e){return ut({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6"},child:[]},{tag:"polyline",attr:{points:"15 3 21 3 21 9"},child:[]},{tag:"line",attr:{x1:"10",y1:"14",x2:"21",y2:"3"},child:[]}]})(e)}function jM(e){return ut({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M13 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V9z"},child:[]},{tag:"polyline",attr:{points:"13 2 13 9 20 9"},child:[]}]})(e)}function e4(e){return ut({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M12 1a3 3 0 0 0-3 3v8a3 3 0 0 0 6 0V4a3 3 0 0 0-3-3z"},child:[]},{tag:"path",attr:{d:"M19 10v2a7 7 0 0 1-14 0v-2"},child:[]},{tag:"line",attr:{x1:"12",y1:"19",x2:"12",y2:"23"},child:[]},{tag:"line",attr:{x1:"8",y1:"23",x2:"16",y2:"23"},child:[]}]})(e)}function TM(e){return ut({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"rect",attr:{x:"6",y:"4",width:"4",height:"16"},child:[]},{tag:"rect",attr:{x:"14",y:"4",width:"4",height:"16"},child:[]}]})(e)}function PM(e){return ut({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"polygon",attr:{points:"5 3 19 12 5 21 5 3"},child:[]}]})(e)}function EM(e){return ut({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"line",attr:{x1:"12",y1:"5",x2:"12",y2:"19"},child:[]},{tag:"line",attr:{x1:"5",y1:"12",x2:"19",y2:"12"},child:[]}]})(e)}function AM(e){return ut({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M19 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h11l5 5v11a2 2 0 0 1-2 2z"},child:[]},{tag:"polyline",attr:{points:"17 21 17 13 7 13 7 21"},child:[]},{tag:"polyline",attr:{points:"7 3 7 8 15 8"},child:[]}]})(e)}function t4(e){return ut({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M10 15v4a3 3 0 0 0 3 3l4-9V2H5.72a2 2 0 0 0-2 1.7l-1.38 9a2 2 0 0 0 2 2.3zm7-13h2.67A2.31 2.31 0 0 1 22 4v7a2.31 2.31 0 0 1-2.33 2H17"},child:[]}]})(e)}function n4(e){return ut({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M14 9V5a3 3 0 0 0-3-3l-4 9v11h11.28a2 2 0 0 0 2-1.7l1.38-9a2 2 0 0 0-2-2.3zM7 22H4a2 2 0 0 1-2-2v-7a2 2 0 0 1 2-2h3"},child:[]}]})(e)}function MM(e){return ut({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"polyline",attr:{points:"3 6 5 6 21 6"},child:[]},{tag:"path",attr:{d:"M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6m3 0V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2"},child:[]},{tag:"line",attr:{x1:"10",y1:"11",x2:"10",y2:"17"},child:[]},{tag:"line",attr:{x1:"14",y1:"11",x2:"14",y2:"17"},child:[]}]})(e)}function OM(e){return ut({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"circle",attr:{cx:"12",cy:"12",r:"10"},child:[]},{tag:"line",attr:{x1:"15",y1:"9",x2:"9",y2:"15"},child:[]},{tag:"line",attr:{x1:"9",y1:"9",x2:"15",y2:"15"},child:[]}]})(e)}const IM={arrowLeft:yM,arrowRight:xM,delete:MM,save:AM,added:EM,record:e4,file:jM,download:kM,arrowDownload:bM},DM=({text:e,type:t="solid",color:n,size:r="md",loading:o=!1,onClick:i,icon:a,buttonIcon:s=!1,iconSize:l="md",disabled:c,bgColor:u,...f})=>{const[p]=Xs("colors",[n]),h=a?IM[a]:void 0,b=(()=>{switch(t){case"solid":return Lt(p,.7)({});case"outline":return Lt(p,.1)({});case"surface":return Lt(p,.5)({});case"subtle":return Lt(p,.5)({});default:return"transparent"}})(),m=(()=>{switch(t){case"solid":return{bg:p,color:"white"};case"outline":return{bg:"transparent",color:p,borderColor:p,borderWidth:"1px"};case"surface":return{bg:Lt(p,.3)({}),color:p,borderColor:p,borderWidth:"1px"};case"subtle":return{bg:Lt(p,.3)({}),color:p,borderColor:p};default:return{}}})();return d.jsxs(ln,{onClick:i,size:r,isLoading:o,bg:u||m.bg,color:m.color,borderColor:m.borderColor,borderWidth:m.borderWidth,_hover:{bg:b},disabled:c,...f,children:[h&&d.jsx(Xt,{fontSize:l,as:h,mr:s?0:2}),!s&&e]})};function $M(e){return ut({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M512 144v288c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V144c0-26.5 21.5-48 48-48h88l12.3-32.9c7-18.7 24.9-31.1 44.9-31.1h125.5c20 0 37.9 12.4 44.9 31.1L376 96h88c26.5 0 48 21.5 48 48zM376 288c0-66.2-53.8-120-120-120s-120 53.8-120 120 53.8 120 120 120 120-53.8 120-120zm-32 0c0 48.5-39.5 88-88 88s-88-39.5-88-88 39.5-88 88-88 88 39.5 88 88z"},child:[]}]})(e)}const FM=({title:e,description:t,iconColor:n="elevate.500",onUpload:r,h:o="155px",w:i="155px",initialImage:a,isReadOnly:s=!1})=>{const[l,c]=g.useState(null);g.useEffect(()=>{if(a){const f=URL.createObjectURL(a);c(f)}else c(null)},[a]);const u=async f=>{var h;if(s)return;const p=(h=f.target.files)==null?void 0:h[0];if(p){const b=URL.createObjectURL(p);c(b),r&&await r(p)}};return d.jsxs(ar,{spacing:4,border:"1px dashed",borderColor:"gray.300",rounded:"md",align:"center",justify:"center",width:i,height:o,cursor:s?"default":"pointer",onClick:()=>{var f;s||(f=document.getElementById("file-input"))==null||f.click()},children:[l?d.jsx(Fm,{src:l,alt:"Uploaded",boxSize:"100%",rounded:"md"}):d.jsxs(d.Fragment,{children:[d.jsx(Xt,{as:$M,color:n,boxSize:8}),d.jsx(Be,{fontWeight:"bold",children:e}),d.jsx(Be,{fontSize:"sm",color:"gray.500",children:t})]}),!s&&d.jsx("input",{id:"file-input",type:"file",style:{display:"none"},accept:"image/*",onChange:u})]})},zM=({steps:e,color:t,onStepClick:n,activeStep:r})=>{var u;const[o,i,a]=Xs("colors",[t,"black.400","black.100"]),s=Lt(o,.3)({}),l=(u=e[r])==null?void 0:u.isCompleted;function c(f){const p=f.split(" ");if(p.length<=2)return f;{const h=p.slice(0,2).join(" "),b=p.slice(2).join(" ");return h+`
|
|
392
|
+
`+b}}return d.jsx(dt,{width:"100%",align:"center",justify:"center",children:e.map((f,p)=>{const h=l&&f.isCompleted&&n;return d.jsxs(dt,{align:"center",children:[d.jsxs(dt,{align:"center",cursor:h?"pointer":"default",onClick:()=>{h&&n(p)},children:[d.jsx(Ph,{ml:p!==0?"10px":void 0,size:"40px",bg:f.isCompleted&&!f.isActive&&p!==r?s:"white",border:`2px solid ${f.isCompleted||f.isActive?o:a}`,children:d.jsx(Be,{fontSize:"14px",color:f.isCompleted||f.isActive?o:i,fontWeight:f.isActive?"bold":"normal",children:f.isCompleted&&p===e.length-1?d.jsx(lM,{color:o}):p+1})}),d.jsx(Be,{ml:3,mr:2,color:f.isCompleted||f.isActive?o:i,fontSize:"sm",fontWeight:f.isCompleted||f.isActive?"bold":"normal",textAlign:"initial",whiteSpace:"pre-line",wordBreak:"break-word",children:c(f.label)})]}),p<e.length-1&&d.jsx(Lh,{width:"64px",flex:"1",borderWidth:"2px",borderColor:f.isCompleted||f.isActive?o:a,mx:2})]},p)})})},LM=new Map([["1km","application/vnd.1000minds.decision-model+xml"],["3dml","text/vnd.in3d.3dml"],["3ds","image/x-3ds"],["3g2","video/3gpp2"],["3gp","video/3gp"],["3gpp","video/3gpp"],["3mf","model/3mf"],["7z","application/x-7z-compressed"],["7zip","application/x-7z-compressed"],["123","application/vnd.lotus-1-2-3"],["aab","application/x-authorware-bin"],["aac","audio/x-acc"],["aam","application/x-authorware-map"],["aas","application/x-authorware-seg"],["abw","application/x-abiword"],["ac","application/vnd.nokia.n-gage.ac+xml"],["ac3","audio/ac3"],["acc","application/vnd.americandynamics.acc"],["ace","application/x-ace-compressed"],["acu","application/vnd.acucobol"],["acutc","application/vnd.acucorp"],["adp","audio/adpcm"],["aep","application/vnd.audiograph"],["afm","application/x-font-type1"],["afp","application/vnd.ibm.modcap"],["ahead","application/vnd.ahead.space"],["ai","application/pdf"],["aif","audio/x-aiff"],["aifc","audio/x-aiff"],["aiff","audio/x-aiff"],["air","application/vnd.adobe.air-application-installer-package+zip"],["ait","application/vnd.dvb.ait"],["ami","application/vnd.amiga.ami"],["amr","audio/amr"],["apk","application/vnd.android.package-archive"],["apng","image/apng"],["appcache","text/cache-manifest"],["application","application/x-ms-application"],["apr","application/vnd.lotus-approach"],["arc","application/x-freearc"],["arj","application/x-arj"],["asc","application/pgp-signature"],["asf","video/x-ms-asf"],["asm","text/x-asm"],["aso","application/vnd.accpac.simply.aso"],["asx","video/x-ms-asf"],["atc","application/vnd.acucorp"],["atom","application/atom+xml"],["atomcat","application/atomcat+xml"],["atomdeleted","application/atomdeleted+xml"],["atomsvc","application/atomsvc+xml"],["atx","application/vnd.antix.game-component"],["au","audio/x-au"],["avi","video/x-msvideo"],["avif","image/avif"],["aw","application/applixware"],["azf","application/vnd.airzip.filesecure.azf"],["azs","application/vnd.airzip.filesecure.azs"],["azv","image/vnd.airzip.accelerator.azv"],["azw","application/vnd.amazon.ebook"],["b16","image/vnd.pco.b16"],["bat","application/x-msdownload"],["bcpio","application/x-bcpio"],["bdf","application/x-font-bdf"],["bdm","application/vnd.syncml.dm+wbxml"],["bdoc","application/x-bdoc"],["bed","application/vnd.realvnc.bed"],["bh2","application/vnd.fujitsu.oasysprs"],["bin","application/octet-stream"],["blb","application/x-blorb"],["blorb","application/x-blorb"],["bmi","application/vnd.bmi"],["bmml","application/vnd.balsamiq.bmml+xml"],["bmp","image/bmp"],["book","application/vnd.framemaker"],["box","application/vnd.previewsystems.box"],["boz","application/x-bzip2"],["bpk","application/octet-stream"],["bpmn","application/octet-stream"],["bsp","model/vnd.valve.source.compiled-map"],["btif","image/prs.btif"],["buffer","application/octet-stream"],["bz","application/x-bzip"],["bz2","application/x-bzip2"],["c","text/x-c"],["c4d","application/vnd.clonk.c4group"],["c4f","application/vnd.clonk.c4group"],["c4g","application/vnd.clonk.c4group"],["c4p","application/vnd.clonk.c4group"],["c4u","application/vnd.clonk.c4group"],["c11amc","application/vnd.cluetrust.cartomobile-config"],["c11amz","application/vnd.cluetrust.cartomobile-config-pkg"],["cab","application/vnd.ms-cab-compressed"],["caf","audio/x-caf"],["cap","application/vnd.tcpdump.pcap"],["car","application/vnd.curl.car"],["cat","application/vnd.ms-pki.seccat"],["cb7","application/x-cbr"],["cba","application/x-cbr"],["cbr","application/x-cbr"],["cbt","application/x-cbr"],["cbz","application/x-cbr"],["cc","text/x-c"],["cco","application/x-cocoa"],["cct","application/x-director"],["ccxml","application/ccxml+xml"],["cdbcmsg","application/vnd.contact.cmsg"],["cda","application/x-cdf"],["cdf","application/x-netcdf"],["cdfx","application/cdfx+xml"],["cdkey","application/vnd.mediastation.cdkey"],["cdmia","application/cdmi-capability"],["cdmic","application/cdmi-container"],["cdmid","application/cdmi-domain"],["cdmio","application/cdmi-object"],["cdmiq","application/cdmi-queue"],["cdr","application/cdr"],["cdx","chemical/x-cdx"],["cdxml","application/vnd.chemdraw+xml"],["cdy","application/vnd.cinderella"],["cer","application/pkix-cert"],["cfs","application/x-cfs-compressed"],["cgm","image/cgm"],["chat","application/x-chat"],["chm","application/vnd.ms-htmlhelp"],["chrt","application/vnd.kde.kchart"],["cif","chemical/x-cif"],["cii","application/vnd.anser-web-certificate-issue-initiation"],["cil","application/vnd.ms-artgalry"],["cjs","application/node"],["cla","application/vnd.claymore"],["class","application/octet-stream"],["clkk","application/vnd.crick.clicker.keyboard"],["clkp","application/vnd.crick.clicker.palette"],["clkt","application/vnd.crick.clicker.template"],["clkw","application/vnd.crick.clicker.wordbank"],["clkx","application/vnd.crick.clicker"],["clp","application/x-msclip"],["cmc","application/vnd.cosmocaller"],["cmdf","chemical/x-cmdf"],["cml","chemical/x-cml"],["cmp","application/vnd.yellowriver-custom-menu"],["cmx","image/x-cmx"],["cod","application/vnd.rim.cod"],["coffee","text/coffeescript"],["com","application/x-msdownload"],["conf","text/plain"],["cpio","application/x-cpio"],["cpp","text/x-c"],["cpt","application/mac-compactpro"],["crd","application/x-mscardfile"],["crl","application/pkix-crl"],["crt","application/x-x509-ca-cert"],["crx","application/x-chrome-extension"],["cryptonote","application/vnd.rig.cryptonote"],["csh","application/x-csh"],["csl","application/vnd.citationstyles.style+xml"],["csml","chemical/x-csml"],["csp","application/vnd.commonspace"],["csr","application/octet-stream"],["css","text/css"],["cst","application/x-director"],["csv","text/csv"],["cu","application/cu-seeme"],["curl","text/vnd.curl"],["cww","application/prs.cww"],["cxt","application/x-director"],["cxx","text/x-c"],["dae","model/vnd.collada+xml"],["daf","application/vnd.mobius.daf"],["dart","application/vnd.dart"],["dataless","application/vnd.fdsn.seed"],["davmount","application/davmount+xml"],["dbf","application/vnd.dbf"],["dbk","application/docbook+xml"],["dcr","application/x-director"],["dcurl","text/vnd.curl.dcurl"],["dd2","application/vnd.oma.dd2+xml"],["ddd","application/vnd.fujixerox.ddd"],["ddf","application/vnd.syncml.dmddf+xml"],["dds","image/vnd.ms-dds"],["deb","application/x-debian-package"],["def","text/plain"],["deploy","application/octet-stream"],["der","application/x-x509-ca-cert"],["dfac","application/vnd.dreamfactory"],["dgc","application/x-dgc-compressed"],["dic","text/x-c"],["dir","application/x-director"],["dis","application/vnd.mobius.dis"],["disposition-notification","message/disposition-notification"],["dist","application/octet-stream"],["distz","application/octet-stream"],["djv","image/vnd.djvu"],["djvu","image/vnd.djvu"],["dll","application/octet-stream"],["dmg","application/x-apple-diskimage"],["dmn","application/octet-stream"],["dmp","application/vnd.tcpdump.pcap"],["dms","application/octet-stream"],["dna","application/vnd.dna"],["doc","application/msword"],["docm","application/vnd.ms-word.template.macroEnabled.12"],["docx","application/vnd.openxmlformats-officedocument.wordprocessingml.document"],["dot","application/msword"],["dotm","application/vnd.ms-word.template.macroEnabled.12"],["dotx","application/vnd.openxmlformats-officedocument.wordprocessingml.template"],["dp","application/vnd.osgi.dp"],["dpg","application/vnd.dpgraph"],["dra","audio/vnd.dra"],["drle","image/dicom-rle"],["dsc","text/prs.lines.tag"],["dssc","application/dssc+der"],["dtb","application/x-dtbook+xml"],["dtd","application/xml-dtd"],["dts","audio/vnd.dts"],["dtshd","audio/vnd.dts.hd"],["dump","application/octet-stream"],["dvb","video/vnd.dvb.file"],["dvi","application/x-dvi"],["dwd","application/atsc-dwd+xml"],["dwf","model/vnd.dwf"],["dwg","image/vnd.dwg"],["dxf","image/vnd.dxf"],["dxp","application/vnd.spotfire.dxp"],["dxr","application/x-director"],["ear","application/java-archive"],["ecelp4800","audio/vnd.nuera.ecelp4800"],["ecelp7470","audio/vnd.nuera.ecelp7470"],["ecelp9600","audio/vnd.nuera.ecelp9600"],["ecma","application/ecmascript"],["edm","application/vnd.novadigm.edm"],["edx","application/vnd.novadigm.edx"],["efif","application/vnd.picsel"],["ei6","application/vnd.pg.osasli"],["elc","application/octet-stream"],["emf","image/emf"],["eml","message/rfc822"],["emma","application/emma+xml"],["emotionml","application/emotionml+xml"],["emz","application/x-msmetafile"],["eol","audio/vnd.digital-winds"],["eot","application/vnd.ms-fontobject"],["eps","application/postscript"],["epub","application/epub+zip"],["es","application/ecmascript"],["es3","application/vnd.eszigno3+xml"],["esa","application/vnd.osgi.subsystem"],["esf","application/vnd.epson.esf"],["et3","application/vnd.eszigno3+xml"],["etx","text/x-setext"],["eva","application/x-eva"],["evy","application/x-envoy"],["exe","application/octet-stream"],["exi","application/exi"],["exp","application/express"],["exr","image/aces"],["ext","application/vnd.novadigm.ext"],["ez","application/andrew-inset"],["ez2","application/vnd.ezpix-album"],["ez3","application/vnd.ezpix-package"],["f","text/x-fortran"],["f4v","video/mp4"],["f77","text/x-fortran"],["f90","text/x-fortran"],["fbs","image/vnd.fastbidsheet"],["fcdt","application/vnd.adobe.formscentral.fcdt"],["fcs","application/vnd.isac.fcs"],["fdf","application/vnd.fdf"],["fdt","application/fdt+xml"],["fe_launch","application/vnd.denovo.fcselayout-link"],["fg5","application/vnd.fujitsu.oasysgp"],["fgd","application/x-director"],["fh","image/x-freehand"],["fh4","image/x-freehand"],["fh5","image/x-freehand"],["fh7","image/x-freehand"],["fhc","image/x-freehand"],["fig","application/x-xfig"],["fits","image/fits"],["flac","audio/x-flac"],["fli","video/x-fli"],["flo","application/vnd.micrografx.flo"],["flv","video/x-flv"],["flw","application/vnd.kde.kivio"],["flx","text/vnd.fmi.flexstor"],["fly","text/vnd.fly"],["fm","application/vnd.framemaker"],["fnc","application/vnd.frogans.fnc"],["fo","application/vnd.software602.filler.form+xml"],["for","text/x-fortran"],["fpx","image/vnd.fpx"],["frame","application/vnd.framemaker"],["fsc","application/vnd.fsc.weblaunch"],["fst","image/vnd.fst"],["ftc","application/vnd.fluxtime.clip"],["fti","application/vnd.anser-web-funds-transfer-initiation"],["fvt","video/vnd.fvt"],["fxp","application/vnd.adobe.fxp"],["fxpl","application/vnd.adobe.fxp"],["fzs","application/vnd.fuzzysheet"],["g2w","application/vnd.geoplan"],["g3","image/g3fax"],["g3w","application/vnd.geospace"],["gac","application/vnd.groove-account"],["gam","application/x-tads"],["gbr","application/rpki-ghostbusters"],["gca","application/x-gca-compressed"],["gdl","model/vnd.gdl"],["gdoc","application/vnd.google-apps.document"],["geo","application/vnd.dynageo"],["geojson","application/geo+json"],["gex","application/vnd.geometry-explorer"],["ggb","application/vnd.geogebra.file"],["ggt","application/vnd.geogebra.tool"],["ghf","application/vnd.groove-help"],["gif","image/gif"],["gim","application/vnd.groove-identity-message"],["glb","model/gltf-binary"],["gltf","model/gltf+json"],["gml","application/gml+xml"],["gmx","application/vnd.gmx"],["gnumeric","application/x-gnumeric"],["gpg","application/gpg-keys"],["gph","application/vnd.flographit"],["gpx","application/gpx+xml"],["gqf","application/vnd.grafeq"],["gqs","application/vnd.grafeq"],["gram","application/srgs"],["gramps","application/x-gramps-xml"],["gre","application/vnd.geometry-explorer"],["grv","application/vnd.groove-injector"],["grxml","application/srgs+xml"],["gsf","application/x-font-ghostscript"],["gsheet","application/vnd.google-apps.spreadsheet"],["gslides","application/vnd.google-apps.presentation"],["gtar","application/x-gtar"],["gtm","application/vnd.groove-tool-message"],["gtw","model/vnd.gtw"],["gv","text/vnd.graphviz"],["gxf","application/gxf"],["gxt","application/vnd.geonext"],["gz","application/gzip"],["gzip","application/gzip"],["h","text/x-c"],["h261","video/h261"],["h263","video/h263"],["h264","video/h264"],["hal","application/vnd.hal+xml"],["hbci","application/vnd.hbci"],["hbs","text/x-handlebars-template"],["hdd","application/x-virtualbox-hdd"],["hdf","application/x-hdf"],["heic","image/heic"],["heics","image/heic-sequence"],["heif","image/heif"],["heifs","image/heif-sequence"],["hej2","image/hej2k"],["held","application/atsc-held+xml"],["hh","text/x-c"],["hjson","application/hjson"],["hlp","application/winhlp"],["hpgl","application/vnd.hp-hpgl"],["hpid","application/vnd.hp-hpid"],["hps","application/vnd.hp-hps"],["hqx","application/mac-binhex40"],["hsj2","image/hsj2"],["htc","text/x-component"],["htke","application/vnd.kenameaapp"],["htm","text/html"],["html","text/html"],["hvd","application/vnd.yamaha.hv-dic"],["hvp","application/vnd.yamaha.hv-voice"],["hvs","application/vnd.yamaha.hv-script"],["i2g","application/vnd.intergeo"],["icc","application/vnd.iccprofile"],["ice","x-conference/x-cooltalk"],["icm","application/vnd.iccprofile"],["ico","image/x-icon"],["ics","text/calendar"],["ief","image/ief"],["ifb","text/calendar"],["ifm","application/vnd.shana.informed.formdata"],["iges","model/iges"],["igl","application/vnd.igloader"],["igm","application/vnd.insors.igm"],["igs","model/iges"],["igx","application/vnd.micrografx.igx"],["iif","application/vnd.shana.informed.interchange"],["img","application/octet-stream"],["imp","application/vnd.accpac.simply.imp"],["ims","application/vnd.ms-ims"],["in","text/plain"],["ini","text/plain"],["ink","application/inkml+xml"],["inkml","application/inkml+xml"],["install","application/x-install-instructions"],["iota","application/vnd.astraea-software.iota"],["ipfix","application/ipfix"],["ipk","application/vnd.shana.informed.package"],["irm","application/vnd.ibm.rights-management"],["irp","application/vnd.irepository.package+xml"],["iso","application/x-iso9660-image"],["itp","application/vnd.shana.informed.formtemplate"],["its","application/its+xml"],["ivp","application/vnd.immervision-ivp"],["ivu","application/vnd.immervision-ivu"],["jad","text/vnd.sun.j2me.app-descriptor"],["jade","text/jade"],["jam","application/vnd.jam"],["jar","application/java-archive"],["jardiff","application/x-java-archive-diff"],["java","text/x-java-source"],["jhc","image/jphc"],["jisp","application/vnd.jisp"],["jls","image/jls"],["jlt","application/vnd.hp-jlyt"],["jng","image/x-jng"],["jnlp","application/x-java-jnlp-file"],["joda","application/vnd.joost.joda-archive"],["jp2","image/jp2"],["jpe","image/jpeg"],["jpeg","image/jpeg"],["jpf","image/jpx"],["jpg","image/jpeg"],["jpg2","image/jp2"],["jpgm","video/jpm"],["jpgv","video/jpeg"],["jph","image/jph"],["jpm","video/jpm"],["jpx","image/jpx"],["js","application/javascript"],["json","application/json"],["json5","application/json5"],["jsonld","application/ld+json"],["jsonl","application/jsonl"],["jsonml","application/jsonml+json"],["jsx","text/jsx"],["jxr","image/jxr"],["jxra","image/jxra"],["jxrs","image/jxrs"],["jxs","image/jxs"],["jxsc","image/jxsc"],["jxsi","image/jxsi"],["jxss","image/jxss"],["kar","audio/midi"],["karbon","application/vnd.kde.karbon"],["kdb","application/octet-stream"],["kdbx","application/x-keepass2"],["key","application/x-iwork-keynote-sffkey"],["kfo","application/vnd.kde.kformula"],["kia","application/vnd.kidspiration"],["kml","application/vnd.google-earth.kml+xml"],["kmz","application/vnd.google-earth.kmz"],["kne","application/vnd.kinar"],["knp","application/vnd.kinar"],["kon","application/vnd.kde.kontour"],["kpr","application/vnd.kde.kpresenter"],["kpt","application/vnd.kde.kpresenter"],["kpxx","application/vnd.ds-keypoint"],["ksp","application/vnd.kde.kspread"],["ktr","application/vnd.kahootz"],["ktx","image/ktx"],["ktx2","image/ktx2"],["ktz","application/vnd.kahootz"],["kwd","application/vnd.kde.kword"],["kwt","application/vnd.kde.kword"],["lasxml","application/vnd.las.las+xml"],["latex","application/x-latex"],["lbd","application/vnd.llamagraphics.life-balance.desktop"],["lbe","application/vnd.llamagraphics.life-balance.exchange+xml"],["les","application/vnd.hhe.lesson-player"],["less","text/less"],["lgr","application/lgr+xml"],["lha","application/octet-stream"],["link66","application/vnd.route66.link66+xml"],["list","text/plain"],["list3820","application/vnd.ibm.modcap"],["listafp","application/vnd.ibm.modcap"],["litcoffee","text/coffeescript"],["lnk","application/x-ms-shortcut"],["log","text/plain"],["lostxml","application/lost+xml"],["lrf","application/octet-stream"],["lrm","application/vnd.ms-lrm"],["ltf","application/vnd.frogans.ltf"],["lua","text/x-lua"],["luac","application/x-lua-bytecode"],["lvp","audio/vnd.lucent.voice"],["lwp","application/vnd.lotus-wordpro"],["lzh","application/octet-stream"],["m1v","video/mpeg"],["m2a","audio/mpeg"],["m2v","video/mpeg"],["m3a","audio/mpeg"],["m3u","text/plain"],["m3u8","application/vnd.apple.mpegurl"],["m4a","audio/x-m4a"],["m4p","application/mp4"],["m4s","video/iso.segment"],["m4u","application/vnd.mpegurl"],["m4v","video/x-m4v"],["m13","application/x-msmediaview"],["m14","application/x-msmediaview"],["m21","application/mp21"],["ma","application/mathematica"],["mads","application/mads+xml"],["maei","application/mmt-aei+xml"],["mag","application/vnd.ecowin.chart"],["maker","application/vnd.framemaker"],["man","text/troff"],["manifest","text/cache-manifest"],["map","application/json"],["mar","application/octet-stream"],["markdown","text/markdown"],["mathml","application/mathml+xml"],["mb","application/mathematica"],["mbk","application/vnd.mobius.mbk"],["mbox","application/mbox"],["mc1","application/vnd.medcalcdata"],["mcd","application/vnd.mcd"],["mcurl","text/vnd.curl.mcurl"],["md","text/markdown"],["mdb","application/x-msaccess"],["mdi","image/vnd.ms-modi"],["mdx","text/mdx"],["me","text/troff"],["mesh","model/mesh"],["meta4","application/metalink4+xml"],["metalink","application/metalink+xml"],["mets","application/mets+xml"],["mfm","application/vnd.mfmp"],["mft","application/rpki-manifest"],["mgp","application/vnd.osgeo.mapguide.package"],["mgz","application/vnd.proteus.magazine"],["mid","audio/midi"],["midi","audio/midi"],["mie","application/x-mie"],["mif","application/vnd.mif"],["mime","message/rfc822"],["mj2","video/mj2"],["mjp2","video/mj2"],["mjs","application/javascript"],["mk3d","video/x-matroska"],["mka","audio/x-matroska"],["mkd","text/x-markdown"],["mks","video/x-matroska"],["mkv","video/x-matroska"],["mlp","application/vnd.dolby.mlp"],["mmd","application/vnd.chipnuts.karaoke-mmd"],["mmf","application/vnd.smaf"],["mml","text/mathml"],["mmr","image/vnd.fujixerox.edmics-mmr"],["mng","video/x-mng"],["mny","application/x-msmoney"],["mobi","application/x-mobipocket-ebook"],["mods","application/mods+xml"],["mov","video/quicktime"],["movie","video/x-sgi-movie"],["mp2","audio/mpeg"],["mp2a","audio/mpeg"],["mp3","audio/mpeg"],["mp4","video/mp4"],["mp4a","audio/mp4"],["mp4s","application/mp4"],["mp4v","video/mp4"],["mp21","application/mp21"],["mpc","application/vnd.mophun.certificate"],["mpd","application/dash+xml"],["mpe","video/mpeg"],["mpeg","video/mpeg"],["mpg","video/mpeg"],["mpg4","video/mp4"],["mpga","audio/mpeg"],["mpkg","application/vnd.apple.installer+xml"],["mpm","application/vnd.blueice.multipass"],["mpn","application/vnd.mophun.application"],["mpp","application/vnd.ms-project"],["mpt","application/vnd.ms-project"],["mpy","application/vnd.ibm.minipay"],["mqy","application/vnd.mobius.mqy"],["mrc","application/marc"],["mrcx","application/marcxml+xml"],["ms","text/troff"],["mscml","application/mediaservercontrol+xml"],["mseed","application/vnd.fdsn.mseed"],["mseq","application/vnd.mseq"],["msf","application/vnd.epson.msf"],["msg","application/vnd.ms-outlook"],["msh","model/mesh"],["msi","application/x-msdownload"],["msl","application/vnd.mobius.msl"],["msm","application/octet-stream"],["msp","application/octet-stream"],["msty","application/vnd.muvee.style"],["mtl","model/mtl"],["mts","model/vnd.mts"],["mus","application/vnd.musician"],["musd","application/mmt-usd+xml"],["musicxml","application/vnd.recordare.musicxml+xml"],["mvb","application/x-msmediaview"],["mvt","application/vnd.mapbox-vector-tile"],["mwf","application/vnd.mfer"],["mxf","application/mxf"],["mxl","application/vnd.recordare.musicxml"],["mxmf","audio/mobile-xmf"],["mxml","application/xv+xml"],["mxs","application/vnd.triscape.mxs"],["mxu","video/vnd.mpegurl"],["n-gage","application/vnd.nokia.n-gage.symbian.install"],["n3","text/n3"],["nb","application/mathematica"],["nbp","application/vnd.wolfram.player"],["nc","application/x-netcdf"],["ncx","application/x-dtbncx+xml"],["nfo","text/x-nfo"],["ngdat","application/vnd.nokia.n-gage.data"],["nitf","application/vnd.nitf"],["nlu","application/vnd.neurolanguage.nlu"],["nml","application/vnd.enliven"],["nnd","application/vnd.noblenet-directory"],["nns","application/vnd.noblenet-sealer"],["nnw","application/vnd.noblenet-web"],["npx","image/vnd.net-fpx"],["nq","application/n-quads"],["nsc","application/x-conference"],["nsf","application/vnd.lotus-notes"],["nt","application/n-triples"],["ntf","application/vnd.nitf"],["numbers","application/x-iwork-numbers-sffnumbers"],["nzb","application/x-nzb"],["oa2","application/vnd.fujitsu.oasys2"],["oa3","application/vnd.fujitsu.oasys3"],["oas","application/vnd.fujitsu.oasys"],["obd","application/x-msbinder"],["obgx","application/vnd.openblox.game+xml"],["obj","model/obj"],["oda","application/oda"],["odb","application/vnd.oasis.opendocument.database"],["odc","application/vnd.oasis.opendocument.chart"],["odf","application/vnd.oasis.opendocument.formula"],["odft","application/vnd.oasis.opendocument.formula-template"],["odg","application/vnd.oasis.opendocument.graphics"],["odi","application/vnd.oasis.opendocument.image"],["odm","application/vnd.oasis.opendocument.text-master"],["odp","application/vnd.oasis.opendocument.presentation"],["ods","application/vnd.oasis.opendocument.spreadsheet"],["odt","application/vnd.oasis.opendocument.text"],["oga","audio/ogg"],["ogex","model/vnd.opengex"],["ogg","audio/ogg"],["ogv","video/ogg"],["ogx","application/ogg"],["omdoc","application/omdoc+xml"],["onepkg","application/onenote"],["onetmp","application/onenote"],["onetoc","application/onenote"],["onetoc2","application/onenote"],["opf","application/oebps-package+xml"],["opml","text/x-opml"],["oprc","application/vnd.palm"],["opus","audio/ogg"],["org","text/x-org"],["osf","application/vnd.yamaha.openscoreformat"],["osfpvg","application/vnd.yamaha.openscoreformat.osfpvg+xml"],["osm","application/vnd.openstreetmap.data+xml"],["otc","application/vnd.oasis.opendocument.chart-template"],["otf","font/otf"],["otg","application/vnd.oasis.opendocument.graphics-template"],["oth","application/vnd.oasis.opendocument.text-web"],["oti","application/vnd.oasis.opendocument.image-template"],["otp","application/vnd.oasis.opendocument.presentation-template"],["ots","application/vnd.oasis.opendocument.spreadsheet-template"],["ott","application/vnd.oasis.opendocument.text-template"],["ova","application/x-virtualbox-ova"],["ovf","application/x-virtualbox-ovf"],["owl","application/rdf+xml"],["oxps","application/oxps"],["oxt","application/vnd.openofficeorg.extension"],["p","text/x-pascal"],["p7a","application/x-pkcs7-signature"],["p7b","application/x-pkcs7-certificates"],["p7c","application/pkcs7-mime"],["p7m","application/pkcs7-mime"],["p7r","application/x-pkcs7-certreqresp"],["p7s","application/pkcs7-signature"],["p8","application/pkcs8"],["p10","application/x-pkcs10"],["p12","application/x-pkcs12"],["pac","application/x-ns-proxy-autoconfig"],["pages","application/x-iwork-pages-sffpages"],["pas","text/x-pascal"],["paw","application/vnd.pawaafile"],["pbd","application/vnd.powerbuilder6"],["pbm","image/x-portable-bitmap"],["pcap","application/vnd.tcpdump.pcap"],["pcf","application/x-font-pcf"],["pcl","application/vnd.hp-pcl"],["pclxl","application/vnd.hp-pclxl"],["pct","image/x-pict"],["pcurl","application/vnd.curl.pcurl"],["pcx","image/x-pcx"],["pdb","application/x-pilot"],["pde","text/x-processing"],["pdf","application/pdf"],["pem","application/x-x509-user-cert"],["pfa","application/x-font-type1"],["pfb","application/x-font-type1"],["pfm","application/x-font-type1"],["pfr","application/font-tdpfr"],["pfx","application/x-pkcs12"],["pgm","image/x-portable-graymap"],["pgn","application/x-chess-pgn"],["pgp","application/pgp"],["php","application/x-httpd-php"],["php3","application/x-httpd-php"],["php4","application/x-httpd-php"],["phps","application/x-httpd-php-source"],["phtml","application/x-httpd-php"],["pic","image/x-pict"],["pkg","application/octet-stream"],["pki","application/pkixcmp"],["pkipath","application/pkix-pkipath"],["pkpass","application/vnd.apple.pkpass"],["pl","application/x-perl"],["plb","application/vnd.3gpp.pic-bw-large"],["plc","application/vnd.mobius.plc"],["plf","application/vnd.pocketlearn"],["pls","application/pls+xml"],["pm","application/x-perl"],["pml","application/vnd.ctc-posml"],["png","image/png"],["pnm","image/x-portable-anymap"],["portpkg","application/vnd.macports.portpkg"],["pot","application/vnd.ms-powerpoint"],["potm","application/vnd.ms-powerpoint.presentation.macroEnabled.12"],["potx","application/vnd.openxmlformats-officedocument.presentationml.template"],["ppa","application/vnd.ms-powerpoint"],["ppam","application/vnd.ms-powerpoint.addin.macroEnabled.12"],["ppd","application/vnd.cups-ppd"],["ppm","image/x-portable-pixmap"],["pps","application/vnd.ms-powerpoint"],["ppsm","application/vnd.ms-powerpoint.slideshow.macroEnabled.12"],["ppsx","application/vnd.openxmlformats-officedocument.presentationml.slideshow"],["ppt","application/powerpoint"],["pptm","application/vnd.ms-powerpoint.presentation.macroEnabled.12"],["pptx","application/vnd.openxmlformats-officedocument.presentationml.presentation"],["pqa","application/vnd.palm"],["prc","application/x-pilot"],["pre","application/vnd.lotus-freelance"],["prf","application/pics-rules"],["provx","application/provenance+xml"],["ps","application/postscript"],["psb","application/vnd.3gpp.pic-bw-small"],["psd","application/x-photoshop"],["psf","application/x-font-linux-psf"],["pskcxml","application/pskc+xml"],["pti","image/prs.pti"],["ptid","application/vnd.pvi.ptid1"],["pub","application/x-mspublisher"],["pvb","application/vnd.3gpp.pic-bw-var"],["pwn","application/vnd.3m.post-it-notes"],["pya","audio/vnd.ms-playready.media.pya"],["pyv","video/vnd.ms-playready.media.pyv"],["qam","application/vnd.epson.quickanime"],["qbo","application/vnd.intu.qbo"],["qfx","application/vnd.intu.qfx"],["qps","application/vnd.publishare-delta-tree"],["qt","video/quicktime"],["qwd","application/vnd.quark.quarkxpress"],["qwt","application/vnd.quark.quarkxpress"],["qxb","application/vnd.quark.quarkxpress"],["qxd","application/vnd.quark.quarkxpress"],["qxl","application/vnd.quark.quarkxpress"],["qxt","application/vnd.quark.quarkxpress"],["ra","audio/x-realaudio"],["ram","audio/x-pn-realaudio"],["raml","application/raml+yaml"],["rapd","application/route-apd+xml"],["rar","application/x-rar"],["ras","image/x-cmu-raster"],["rcprofile","application/vnd.ipunplugged.rcprofile"],["rdf","application/rdf+xml"],["rdz","application/vnd.data-vision.rdz"],["relo","application/p2p-overlay+xml"],["rep","application/vnd.businessobjects"],["res","application/x-dtbresource+xml"],["rgb","image/x-rgb"],["rif","application/reginfo+xml"],["rip","audio/vnd.rip"],["ris","application/x-research-info-systems"],["rl","application/resource-lists+xml"],["rlc","image/vnd.fujixerox.edmics-rlc"],["rld","application/resource-lists-diff+xml"],["rm","audio/x-pn-realaudio"],["rmi","audio/midi"],["rmp","audio/x-pn-realaudio-plugin"],["rms","application/vnd.jcp.javame.midlet-rms"],["rmvb","application/vnd.rn-realmedia-vbr"],["rnc","application/relax-ng-compact-syntax"],["rng","application/xml"],["roa","application/rpki-roa"],["roff","text/troff"],["rp9","application/vnd.cloanto.rp9"],["rpm","audio/x-pn-realaudio-plugin"],["rpss","application/vnd.nokia.radio-presets"],["rpst","application/vnd.nokia.radio-preset"],["rq","application/sparql-query"],["rs","application/rls-services+xml"],["rsa","application/x-pkcs7"],["rsat","application/atsc-rsat+xml"],["rsd","application/rsd+xml"],["rsheet","application/urc-ressheet+xml"],["rss","application/rss+xml"],["rtf","text/rtf"],["rtx","text/richtext"],["run","application/x-makeself"],["rusd","application/route-usd+xml"],["rv","video/vnd.rn-realvideo"],["s","text/x-asm"],["s3m","audio/s3m"],["saf","application/vnd.yamaha.smaf-audio"],["sass","text/x-sass"],["sbml","application/sbml+xml"],["sc","application/vnd.ibm.secure-container"],["scd","application/x-msschedule"],["scm","application/vnd.lotus-screencam"],["scq","application/scvp-cv-request"],["scs","application/scvp-cv-response"],["scss","text/x-scss"],["scurl","text/vnd.curl.scurl"],["sda","application/vnd.stardivision.draw"],["sdc","application/vnd.stardivision.calc"],["sdd","application/vnd.stardivision.impress"],["sdkd","application/vnd.solent.sdkm+xml"],["sdkm","application/vnd.solent.sdkm+xml"],["sdp","application/sdp"],["sdw","application/vnd.stardivision.writer"],["sea","application/octet-stream"],["see","application/vnd.seemail"],["seed","application/vnd.fdsn.seed"],["sema","application/vnd.sema"],["semd","application/vnd.semd"],["semf","application/vnd.semf"],["senmlx","application/senml+xml"],["sensmlx","application/sensml+xml"],["ser","application/java-serialized-object"],["setpay","application/set-payment-initiation"],["setreg","application/set-registration-initiation"],["sfd-hdstx","application/vnd.hydrostatix.sof-data"],["sfs","application/vnd.spotfire.sfs"],["sfv","text/x-sfv"],["sgi","image/sgi"],["sgl","application/vnd.stardivision.writer-global"],["sgm","text/sgml"],["sgml","text/sgml"],["sh","application/x-sh"],["shar","application/x-shar"],["shex","text/shex"],["shf","application/shf+xml"],["shtml","text/html"],["sid","image/x-mrsid-image"],["sieve","application/sieve"],["sig","application/pgp-signature"],["sil","audio/silk"],["silo","model/mesh"],["sis","application/vnd.symbian.install"],["sisx","application/vnd.symbian.install"],["sit","application/x-stuffit"],["sitx","application/x-stuffitx"],["siv","application/sieve"],["skd","application/vnd.koan"],["skm","application/vnd.koan"],["skp","application/vnd.koan"],["skt","application/vnd.koan"],["sldm","application/vnd.ms-powerpoint.slide.macroenabled.12"],["sldx","application/vnd.openxmlformats-officedocument.presentationml.slide"],["slim","text/slim"],["slm","text/slim"],["sls","application/route-s-tsid+xml"],["slt","application/vnd.epson.salt"],["sm","application/vnd.stepmania.stepchart"],["smf","application/vnd.stardivision.math"],["smi","application/smil"],["smil","application/smil"],["smv","video/x-smv"],["smzip","application/vnd.stepmania.package"],["snd","audio/basic"],["snf","application/x-font-snf"],["so","application/octet-stream"],["spc","application/x-pkcs7-certificates"],["spdx","text/spdx"],["spf","application/vnd.yamaha.smaf-phrase"],["spl","application/x-futuresplash"],["spot","text/vnd.in3d.spot"],["spp","application/scvp-vp-response"],["spq","application/scvp-vp-request"],["spx","audio/ogg"],["sql","application/x-sql"],["src","application/x-wais-source"],["srt","application/x-subrip"],["sru","application/sru+xml"],["srx","application/sparql-results+xml"],["ssdl","application/ssdl+xml"],["sse","application/vnd.kodak-descriptor"],["ssf","application/vnd.epson.ssf"],["ssml","application/ssml+xml"],["sst","application/octet-stream"],["st","application/vnd.sailingtracker.track"],["stc","application/vnd.sun.xml.calc.template"],["std","application/vnd.sun.xml.draw.template"],["stf","application/vnd.wt.stf"],["sti","application/vnd.sun.xml.impress.template"],["stk","application/hyperstudio"],["stl","model/stl"],["stpx","model/step+xml"],["stpxz","model/step-xml+zip"],["stpz","model/step+zip"],["str","application/vnd.pg.format"],["stw","application/vnd.sun.xml.writer.template"],["styl","text/stylus"],["stylus","text/stylus"],["sub","text/vnd.dvb.subtitle"],["sus","application/vnd.sus-calendar"],["susp","application/vnd.sus-calendar"],["sv4cpio","application/x-sv4cpio"],["sv4crc","application/x-sv4crc"],["svc","application/vnd.dvb.service"],["svd","application/vnd.svd"],["svg","image/svg+xml"],["svgz","image/svg+xml"],["swa","application/x-director"],["swf","application/x-shockwave-flash"],["swi","application/vnd.aristanetworks.swi"],["swidtag","application/swid+xml"],["sxc","application/vnd.sun.xml.calc"],["sxd","application/vnd.sun.xml.draw"],["sxg","application/vnd.sun.xml.writer.global"],["sxi","application/vnd.sun.xml.impress"],["sxm","application/vnd.sun.xml.math"],["sxw","application/vnd.sun.xml.writer"],["t","text/troff"],["t3","application/x-t3vm-image"],["t38","image/t38"],["taglet","application/vnd.mynfc"],["tao","application/vnd.tao.intent-module-archive"],["tap","image/vnd.tencent.tap"],["tar","application/x-tar"],["tcap","application/vnd.3gpp2.tcap"],["tcl","application/x-tcl"],["td","application/urc-targetdesc+xml"],["teacher","application/vnd.smart.teacher"],["tei","application/tei+xml"],["teicorpus","application/tei+xml"],["tex","application/x-tex"],["texi","application/x-texinfo"],["texinfo","application/x-texinfo"],["text","text/plain"],["tfi","application/thraud+xml"],["tfm","application/x-tex-tfm"],["tfx","image/tiff-fx"],["tga","image/x-tga"],["tgz","application/x-tar"],["thmx","application/vnd.ms-officetheme"],["tif","image/tiff"],["tiff","image/tiff"],["tk","application/x-tcl"],["tmo","application/vnd.tmobile-livetv"],["toml","application/toml"],["torrent","application/x-bittorrent"],["tpl","application/vnd.groove-tool-template"],["tpt","application/vnd.trid.tpt"],["tr","text/troff"],["tra","application/vnd.trueapp"],["trig","application/trig"],["trm","application/x-msterminal"],["ts","video/mp2t"],["tsd","application/timestamped-data"],["tsv","text/tab-separated-values"],["ttc","font/collection"],["ttf","font/ttf"],["ttl","text/turtle"],["ttml","application/ttml+xml"],["twd","application/vnd.simtech-mindmapper"],["twds","application/vnd.simtech-mindmapper"],["txd","application/vnd.genomatix.tuxedo"],["txf","application/vnd.mobius.txf"],["txt","text/plain"],["u8dsn","message/global-delivery-status"],["u8hdr","message/global-headers"],["u8mdn","message/global-disposition-notification"],["u8msg","message/global"],["u32","application/x-authorware-bin"],["ubj","application/ubjson"],["udeb","application/x-debian-package"],["ufd","application/vnd.ufdl"],["ufdl","application/vnd.ufdl"],["ulx","application/x-glulx"],["umj","application/vnd.umajin"],["unityweb","application/vnd.unity"],["uoml","application/vnd.uoml+xml"],["uri","text/uri-list"],["uris","text/uri-list"],["urls","text/uri-list"],["usdz","model/vnd.usdz+zip"],["ustar","application/x-ustar"],["utz","application/vnd.uiq.theme"],["uu","text/x-uuencode"],["uva","audio/vnd.dece.audio"],["uvd","application/vnd.dece.data"],["uvf","application/vnd.dece.data"],["uvg","image/vnd.dece.graphic"],["uvh","video/vnd.dece.hd"],["uvi","image/vnd.dece.graphic"],["uvm","video/vnd.dece.mobile"],["uvp","video/vnd.dece.pd"],["uvs","video/vnd.dece.sd"],["uvt","application/vnd.dece.ttml+xml"],["uvu","video/vnd.uvvu.mp4"],["uvv","video/vnd.dece.video"],["uvva","audio/vnd.dece.audio"],["uvvd","application/vnd.dece.data"],["uvvf","application/vnd.dece.data"],["uvvg","image/vnd.dece.graphic"],["uvvh","video/vnd.dece.hd"],["uvvi","image/vnd.dece.graphic"],["uvvm","video/vnd.dece.mobile"],["uvvp","video/vnd.dece.pd"],["uvvs","video/vnd.dece.sd"],["uvvt","application/vnd.dece.ttml+xml"],["uvvu","video/vnd.uvvu.mp4"],["uvvv","video/vnd.dece.video"],["uvvx","application/vnd.dece.unspecified"],["uvvz","application/vnd.dece.zip"],["uvx","application/vnd.dece.unspecified"],["uvz","application/vnd.dece.zip"],["vbox","application/x-virtualbox-vbox"],["vbox-extpack","application/x-virtualbox-vbox-extpack"],["vcard","text/vcard"],["vcd","application/x-cdlink"],["vcf","text/x-vcard"],["vcg","application/vnd.groove-vcard"],["vcs","text/x-vcalendar"],["vcx","application/vnd.vcx"],["vdi","application/x-virtualbox-vdi"],["vds","model/vnd.sap.vds"],["vhd","application/x-virtualbox-vhd"],["vis","application/vnd.visionary"],["viv","video/vnd.vivo"],["vlc","application/videolan"],["vmdk","application/x-virtualbox-vmdk"],["vob","video/x-ms-vob"],["vor","application/vnd.stardivision.writer"],["vox","application/x-authorware-bin"],["vrml","model/vrml"],["vsd","application/vnd.visio"],["vsf","application/vnd.vsf"],["vss","application/vnd.visio"],["vst","application/vnd.visio"],["vsw","application/vnd.visio"],["vtf","image/vnd.valve.source.texture"],["vtt","text/vtt"],["vtu","model/vnd.vtu"],["vxml","application/voicexml+xml"],["w3d","application/x-director"],["wad","application/x-doom"],["wadl","application/vnd.sun.wadl+xml"],["war","application/java-archive"],["wasm","application/wasm"],["wav","audio/x-wav"],["wax","audio/x-ms-wax"],["wbmp","image/vnd.wap.wbmp"],["wbs","application/vnd.criticaltools.wbs+xml"],["wbxml","application/wbxml"],["wcm","application/vnd.ms-works"],["wdb","application/vnd.ms-works"],["wdp","image/vnd.ms-photo"],["weba","audio/webm"],["webapp","application/x-web-app-manifest+json"],["webm","video/webm"],["webmanifest","application/manifest+json"],["webp","image/webp"],["wg","application/vnd.pmi.widget"],["wgt","application/widget"],["wks","application/vnd.ms-works"],["wm","video/x-ms-wm"],["wma","audio/x-ms-wma"],["wmd","application/x-ms-wmd"],["wmf","image/wmf"],["wml","text/vnd.wap.wml"],["wmlc","application/wmlc"],["wmls","text/vnd.wap.wmlscript"],["wmlsc","application/vnd.wap.wmlscriptc"],["wmv","video/x-ms-wmv"],["wmx","video/x-ms-wmx"],["wmz","application/x-msmetafile"],["woff","font/woff"],["woff2","font/woff2"],["word","application/msword"],["wpd","application/vnd.wordperfect"],["wpl","application/vnd.ms-wpl"],["wps","application/vnd.ms-works"],["wqd","application/vnd.wqd"],["wri","application/x-mswrite"],["wrl","model/vrml"],["wsc","message/vnd.wfa.wsc"],["wsdl","application/wsdl+xml"],["wspolicy","application/wspolicy+xml"],["wtb","application/vnd.webturbo"],["wvx","video/x-ms-wvx"],["x3d","model/x3d+xml"],["x3db","model/x3d+fastinfoset"],["x3dbz","model/x3d+binary"],["x3dv","model/x3d-vrml"],["x3dvz","model/x3d+vrml"],["x3dz","model/x3d+xml"],["x32","application/x-authorware-bin"],["x_b","model/vnd.parasolid.transmit.binary"],["x_t","model/vnd.parasolid.transmit.text"],["xaml","application/xaml+xml"],["xap","application/x-silverlight-app"],["xar","application/vnd.xara"],["xav","application/xcap-att+xml"],["xbap","application/x-ms-xbap"],["xbd","application/vnd.fujixerox.docuworks.binder"],["xbm","image/x-xbitmap"],["xca","application/xcap-caps+xml"],["xcs","application/calendar+xml"],["xdf","application/xcap-diff+xml"],["xdm","application/vnd.syncml.dm+xml"],["xdp","application/vnd.adobe.xdp+xml"],["xdssc","application/dssc+xml"],["xdw","application/vnd.fujixerox.docuworks"],["xel","application/xcap-el+xml"],["xenc","application/xenc+xml"],["xer","application/patch-ops-error+xml"],["xfdf","application/vnd.adobe.xfdf"],["xfdl","application/vnd.xfdl"],["xht","application/xhtml+xml"],["xhtml","application/xhtml+xml"],["xhvml","application/xv+xml"],["xif","image/vnd.xiff"],["xl","application/excel"],["xla","application/vnd.ms-excel"],["xlam","application/vnd.ms-excel.addin.macroEnabled.12"],["xlc","application/vnd.ms-excel"],["xlf","application/xliff+xml"],["xlm","application/vnd.ms-excel"],["xls","application/vnd.ms-excel"],["xlsb","application/vnd.ms-excel.sheet.binary.macroEnabled.12"],["xlsm","application/vnd.ms-excel.sheet.macroEnabled.12"],["xlsx","application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"],["xlt","application/vnd.ms-excel"],["xltm","application/vnd.ms-excel.template.macroEnabled.12"],["xltx","application/vnd.openxmlformats-officedocument.spreadsheetml.template"],["xlw","application/vnd.ms-excel"],["xm","audio/xm"],["xml","application/xml"],["xns","application/xcap-ns+xml"],["xo","application/vnd.olpc-sugar"],["xop","application/xop+xml"],["xpi","application/x-xpinstall"],["xpl","application/xproc+xml"],["xpm","image/x-xpixmap"],["xpr","application/vnd.is-xpr"],["xps","application/vnd.ms-xpsdocument"],["xpw","application/vnd.intercon.formnet"],["xpx","application/vnd.intercon.formnet"],["xsd","application/xml"],["xsl","application/xml"],["xslt","application/xslt+xml"],["xsm","application/vnd.syncml+xml"],["xspf","application/xspf+xml"],["xul","application/vnd.mozilla.xul+xml"],["xvm","application/xv+xml"],["xvml","application/xv+xml"],["xwd","image/x-xwindowdump"],["xyz","chemical/x-xyz"],["xz","application/x-xz"],["yaml","text/yaml"],["yang","application/yang"],["yin","application/yin+xml"],["yml","text/yaml"],["ymp","text/x-suse-ymp"],["z","application/x-compress"],["z1","application/x-zmachine"],["z2","application/x-zmachine"],["z3","application/x-zmachine"],["z4","application/x-zmachine"],["z5","application/x-zmachine"],["z6","application/x-zmachine"],["z7","application/x-zmachine"],["z8","application/x-zmachine"],["zaz","application/vnd.zzazz.deck+xml"],["zip","application/zip"],["zir","application/vnd.zul"],["zirz","application/vnd.zul"],["zmm","application/vnd.handheld-entertainment+xml"],["zsh","text/x-scriptzsh"]]);function vi(e,t,n){const r=BM(e),{webkitRelativePath:o}=e,i=typeof t=="string"?t:typeof o=="string"&&o.length>0?o:`./${e.name}`;return typeof r.path!="string"&&r4(r,"path",i),r4(r,"relativePath",i),r}function BM(e){const{name:t}=e;if(t&&t.lastIndexOf(".")!==-1&&!e.type){const r=t.split(".").pop().toLowerCase(),o=LM.get(r);o&&Object.defineProperty(e,"type",{value:o,writable:!1,configurable:!1,enumerable:!0})}return e}function r4(e,t,n){Object.defineProperty(e,t,{value:n,writable:!1,configurable:!1,enumerable:!0})}const NM=[".DS_Store","Thumbs.db"];function RM(e){return fo(this,void 0,void 0,function*(){return Tl(e)&&VM(e.dataTransfer)?qM(e.dataTransfer,e.type):WM(e)?HM(e):Array.isArray(e)&&e.every(t=>"getFile"in t&&typeof t.getFile=="function")?UM(e):[]})}function VM(e){return Tl(e)}function WM(e){return Tl(e)&&Tl(e.target)}function Tl(e){return typeof e=="object"&&e!==null}function HM(e){return uf(e.target.files).map(t=>vi(t))}function UM(e){return fo(this,void 0,void 0,function*(){return(yield Promise.all(e.map(n=>n.getFile()))).map(n=>vi(n))})}function qM(e,t){return fo(this,void 0,void 0,function*(){if(e.items){const n=uf(e.items).filter(o=>o.kind==="file");if(t!=="drop")return n;const r=yield Promise.all(n.map(ZM));return o4(i4(r))}return o4(uf(e.files).map(n=>vi(n)))})}function o4(e){return e.filter(t=>NM.indexOf(t.name)===-1)}function uf(e){if(e===null)return[];const t=[];for(let n=0;n<e.length;n++){const r=e[n];t.push(r)}return t}function ZM(e){if(typeof e.webkitGetAsEntry!="function")return a4(e);const t=e.webkitGetAsEntry();return t&&t.isDirectory?s4(t):a4(e,t)}function i4(e){return e.reduce((t,n)=>[...t,...Array.isArray(n)?i4(n):[n]],[])}function a4(e,t){return fo(this,void 0,void 0,function*(){var n;if(globalThis.isSecureContext&&typeof e.getAsFileSystemHandle=="function"){const i=yield e.getAsFileSystemHandle();if(i===null)throw new Error(`${e} is not a File`);if(i!==void 0){const a=yield i.getFile();return a.handle=i,vi(a)}}const r=e.getAsFile();if(!r)throw new Error(`${e} is not a File`);return vi(r,(n=t==null?void 0:t.fullPath)!==null&&n!==void 0?n:void 0)})}function GM(e){return fo(this,void 0,void 0,function*(){return e.isDirectory?s4(e):KM(e)})}function s4(e){const t=e.createReader();return new Promise((n,r)=>{const o=[];function i(){t.readEntries(a=>fo(this,void 0,void 0,function*(){if(a.length){const s=Promise.all(a.map(GM));o.push(s),i()}else try{const s=yield Promise.all(o);n(s)}catch(s){r(s)}}),a=>{r(a)})}i()})}function KM(e){return fo(this,void 0,void 0,function*(){return new Promise((t,n)=>{e.file(r=>{const o=vi(r,e.fullPath);t(o)},r=>{n(r)})})})}var df=function(e,t){if(e&&t){var n=Array.isArray(t)?t:t.split(",");if(n.length===0)return!0;var r=e.name||"",o=(e.type||"").toLowerCase(),i=o.replace(/\/.*$/,"");return n.some(function(a){var s=a.trim().toLowerCase();return s.charAt(0)==="."?r.toLowerCase().endsWith(s):s.endsWith("/*")?i===s.replace(/\/.*$/,""):o===s})}return!0};function l4(e){return JM(e)||XM(e)||f4(e)||YM()}function YM(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
393
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function XM(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function JM(e){if(Array.isArray(e))return ff(e)}function c4(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function u4(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?c4(Object(n),!0).forEach(function(r){d4(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c4(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function d4(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function La(e,t){return tO(e)||eO(e,t)||f4(e,t)||QM()}function QM(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
394
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function f4(e,t){if(e){if(typeof e=="string")return ff(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return ff(e,t)}}function ff(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function eO(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r=[],o=!0,i=!1,a,s;try{for(n=n.call(e);!(o=(a=n.next()).done)&&(r.push(a.value),!(t&&r.length===t));o=!0);}catch(l){i=!0,s=l}finally{try{!o&&n.return!=null&&n.return()}finally{if(i)throw s}}return r}}function tO(e){if(Array.isArray(e))return e}var nO=typeof df=="function"?df:df.default,rO="file-invalid-type",oO="file-too-large",iO="file-too-small",aO="too-many-files",sO=function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",n=t.split(","),r=n.length>1?"one of ".concat(n.join(", ")):n[0];return{code:rO,message:"File type must be ".concat(r)}},p4=function(t){return{code:oO,message:"File is larger than ".concat(t," ").concat(t===1?"byte":"bytes")}},h4=function(t){return{code:iO,message:"File is smaller than ".concat(t," ").concat(t===1?"byte":"bytes")}},lO={code:aO,message:"Too many files"};function m4(e,t){var n=e.type==="application/x-moz-file"||nO(e,t);return[n,n?null:sO(t)]}function g4(e,t,n){if(bo(e.size))if(bo(t)&&bo(n)){if(e.size>n)return[!1,p4(n)];if(e.size<t)return[!1,h4(t)]}else{if(bo(t)&&e.size<t)return[!1,h4(t)];if(bo(n)&&e.size>n)return[!1,p4(n)]}return[!0,null]}function bo(e){return e!=null}function cO(e){var t=e.files,n=e.accept,r=e.minSize,o=e.maxSize,i=e.multiple,a=e.maxFiles,s=e.validator;return!i&&t.length>1||i&&a>=1&&t.length>a?!1:t.every(function(l){var c=m4(l,n),u=La(c,1),f=u[0],p=g4(l,r,o),h=La(p,1),b=h[0],m=s?s(l):null;return f&&b&&!m})}function Pl(e){return typeof e.isPropagationStopped=="function"?e.isPropagationStopped():typeof e.cancelBubble<"u"?e.cancelBubble:!1}function El(e){return e.dataTransfer?Array.prototype.some.call(e.dataTransfer.types,function(t){return t==="Files"||t==="application/x-moz-file"}):!!e.target&&!!e.target.files}function v4(e){e.preventDefault()}function uO(e){return e.indexOf("MSIE")!==-1||e.indexOf("Trident/")!==-1}function dO(e){return e.indexOf("Edge/")!==-1}function fO(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:window.navigator.userAgent;return uO(e)||dO(e)}function sr(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(r){for(var o=arguments.length,i=new Array(o>1?o-1:0),a=1;a<o;a++)i[a-1]=arguments[a];return t.some(function(s){return!Pl(r)&&s&&s.apply(void 0,[r].concat(i)),Pl(r)})}}function pO(){return"showOpenFilePicker"in window}function hO(e){if(bo(e)){var t=Object.entries(e).filter(function(n){var r=La(n,2),o=r[0],i=r[1],a=!0;return b4(o)||(console.warn('Skipped "'.concat(o,'" because it is not a valid MIME type. Check https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types/Common_types for a list of valid MIME types.')),a=!1),(!Array.isArray(i)||!i.every(y4))&&(console.warn('Skipped "'.concat(o,'" because an invalid file extension was provided.')),a=!1),a}).reduce(function(n,r){var o=La(r,2),i=o[0],a=o[1];return u4(u4({},n),{},d4({},i,a))},{});return[{description:"Files",accept:t}]}return e}function mO(e){if(bo(e))return Object.entries(e).reduce(function(t,n){var r=La(n,2),o=r[0],i=r[1];return[].concat(l4(t),[o],l4(i))},[]).filter(function(t){return b4(t)||y4(t)}).join(",")}function gO(e){return e instanceof DOMException&&(e.name==="AbortError"||e.code===e.ABORT_ERR)}function vO(e){return e instanceof DOMException&&(e.name==="SecurityError"||e.code===e.SECURITY_ERR)}function b4(e){return e==="audio/*"||e==="video/*"||e==="image/*"||e==="text/*"||e==="application/*"||/\w+\/[-+.\w]+/g.test(e)}function y4(e){return/^.*\.[\w]+$/.test(e)}var bO=["children"],yO=["open"],xO=["refKey","role","onKeyDown","onFocus","onBlur","onClick","onDragEnter","onDragOver","onDragLeave","onDrop"],CO=["refKey","onChange","onClick"];function wO(e){return _O(e)||kO(e)||x4(e)||SO()}function SO(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
395
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function kO(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function _O(e){if(Array.isArray(e))return hf(e)}function pf(e,t){return PO(e)||TO(e,t)||x4(e,t)||jO()}function jO(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
396
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function x4(e,t){if(e){if(typeof e=="string")return hf(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return hf(e,t)}}function hf(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function TO(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r=[],o=!0,i=!1,a,s;try{for(n=n.call(e);!(o=(a=n.next()).done)&&(r.push(a.value),!(t&&r.length===t));o=!0);}catch(l){i=!0,s=l}finally{try{!o&&n.return!=null&&n.return()}finally{if(i)throw s}}return r}}function PO(e){if(Array.isArray(e))return e}function C4(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function kt(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?C4(Object(n),!0).forEach(function(r){mf(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):C4(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function mf(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Al(e,t){if(e==null)return{};var n=EO(e,t),r,o;if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o<i.length;o++)r=i[o],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function EO(e,t){if(e==null)return{};var n={},r=Object.keys(e),o,i;for(i=0;i<r.length;i++)o=r[i],!(t.indexOf(o)>=0)&&(n[o]=e[o]);return n}var gf=g.forwardRef(function(e,t){var n=e.children,r=Al(e,bO),o=S4(r),i=o.open,a=Al(o,yO);return g.useImperativeHandle(t,function(){return{open:i}},[i]),g.createElement(g.Fragment,null,n(kt(kt({},a),{},{open:i})))});gf.displayName="Dropzone";var w4={disabled:!1,getFilesFromEvent:RM,maxSize:1/0,minSize:0,multiple:!0,maxFiles:0,preventDropOnDocument:!0,noClick:!1,noKeyboard:!1,noDrag:!1,noDragEventsBubbling:!1,validator:null,useFsAccessApi:!1,autoFocus:!1};gf.defaultProps=w4,gf.propTypes={children:st.func,accept:st.objectOf(st.arrayOf(st.string)),multiple:st.bool,preventDropOnDocument:st.bool,noClick:st.bool,noKeyboard:st.bool,noDrag:st.bool,noDragEventsBubbling:st.bool,minSize:st.number,maxSize:st.number,maxFiles:st.number,disabled:st.bool,getFilesFromEvent:st.func,onFileDialogCancel:st.func,onFileDialogOpen:st.func,useFsAccessApi:st.bool,autoFocus:st.bool,onDragEnter:st.func,onDragLeave:st.func,onDragOver:st.func,onDrop:st.func,onDropAccepted:st.func,onDropRejected:st.func,onError:st.func,validator:st.func};var vf={isFocused:!1,isFileDialogActive:!1,isDragActive:!1,isDragAccept:!1,isDragReject:!1,acceptedFiles:[],fileRejections:[]};function S4(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=kt(kt({},w4),e),n=t.accept,r=t.disabled,o=t.getFilesFromEvent,i=t.maxSize,a=t.minSize,s=t.multiple,l=t.maxFiles,c=t.onDragEnter,u=t.onDragLeave,f=t.onDragOver,p=t.onDrop,h=t.onDropAccepted,b=t.onDropRejected,m=t.onFileDialogCancel,v=t.onFileDialogOpen,S=t.useFsAccessApi,y=t.autoFocus,w=t.preventDropOnDocument,j=t.noClick,x=t.noKeyboard,E=t.noDrag,P=t.noDragEventsBubbling,D=t.onError,R=t.validator,z=g.useMemo(function(){return mO(n)},[n]),X=g.useMemo(function(){return hO(n)},[n]),ce=g.useMemo(function(){return typeof v=="function"?v:k4},[v]),le=g.useMemo(function(){return typeof m=="function"?m:k4},[m]),L=g.useRef(null),Y=g.useRef(null),K=g.useReducer(AO,vf),N=pf(K,2),ue=N[0],he=N[1],O=ue.isFocused,F=ue.isFileDialogActive,Z=g.useRef(typeof window<"u"&&window.isSecureContext&&S&&pO()),V=function(){!Z.current&&F&&setTimeout(function(){if(Y.current){var oe=Y.current.files;oe.length||(he({type:"closeDialog"}),le())}},300)};g.useEffect(function(){return window.addEventListener("focus",V,!1),function(){window.removeEventListener("focus",V,!1)}},[Y,F,le,Z]);var B=g.useRef([]),C=function(oe){L.current&&L.current.contains(oe.target)||(oe.preventDefault(),B.current=[])};g.useEffect(function(){return w&&(document.addEventListener("dragover",v4,!1),document.addEventListener("drop",C,!1)),function(){w&&(document.removeEventListener("dragover",v4),document.removeEventListener("drop",C))}},[L,w]),g.useEffect(function(){return!r&&y&&L.current&&L.current.focus(),function(){}},[L,y,r]);var J=g.useCallback(function(U){D?D(U):console.error(U)},[D]),Q=g.useCallback(function(U){U.preventDefault(),U.persist(),be(U),B.current=[].concat(wO(B.current),[U.target]),El(U)&&Promise.resolve(o(U)).then(function(oe){if(!(Pl(U)&&!P)){var ie=oe.length,se=ie>0&&cO({files:oe,accept:z,minSize:a,maxSize:i,multiple:s,maxFiles:l,validator:R}),Ie=ie>0&&!se;he({isDragAccept:se,isDragReject:Ie,isDragActive:!0,type:"setDraggedFiles"}),c&&c(U)}}).catch(function(oe){return J(oe)})},[o,c,J,P,z,a,i,s,l,R]),ee=g.useCallback(function(U){U.preventDefault(),U.persist(),be(U);var oe=El(U);if(oe&&U.dataTransfer)try{U.dataTransfer.dropEffect="copy"}catch{}return oe&&f&&f(U),!1},[f,P]),me=g.useCallback(function(U){U.preventDefault(),U.persist(),be(U);var oe=B.current.filter(function(se){return L.current&&L.current.contains(se)}),ie=oe.indexOf(U.target);ie!==-1&&oe.splice(ie,1),B.current=oe,!(oe.length>0)&&(he({type:"setDraggedFiles",isDragActive:!1,isDragAccept:!1,isDragReject:!1}),El(U)&&u&&u(U))},[L,u,P]),de=g.useCallback(function(U,oe){var ie=[],se=[];U.forEach(function(Ie){var bt=m4(Ie,z),ot=pf(bt,2),_t=ot[0],$t=ot[1],Qt=g4(Ie,a,i),lt=pf(Qt,2),Mt=lt[0],Zt=lt[1],Bn=R?R(Ie):null;if(_t&&Mt&&!Bn)ie.push(Ie);else{var fn=[$t,Zt];Bn&&(fn=fn.concat(Bn)),se.push({file:Ie,errors:fn.filter(function(xn){return xn})})}}),(!s&&ie.length>1||s&&l>=1&&ie.length>l)&&(ie.forEach(function(Ie){se.push({file:Ie,errors:[lO]})}),ie.splice(0)),he({acceptedFiles:ie,fileRejections:se,isDragReject:se.length>0,type:"setFiles"}),p&&p(ie,se,oe),se.length>0&&b&&b(se,oe),ie.length>0&&h&&h(ie,oe)},[he,s,z,a,i,l,p,h,b,R]),ke=g.useCallback(function(U){U.preventDefault(),U.persist(),be(U),B.current=[],El(U)&&Promise.resolve(o(U)).then(function(oe){Pl(U)&&!P||de(oe,U)}).catch(function(oe){return J(oe)}),he({type:"reset"})},[o,de,J,P]),H=g.useCallback(function(){if(Z.current){he({type:"openDialog"}),ce();var U={multiple:s,types:X};window.showOpenFilePicker(U).then(function(oe){return o(oe)}).then(function(oe){de(oe,null),he({type:"closeDialog"})}).catch(function(oe){gO(oe)?(le(oe),he({type:"closeDialog"})):vO(oe)?(Z.current=!1,Y.current?(Y.current.value=null,Y.current.click()):J(new Error("Cannot open the file picker because the https://developer.mozilla.org/en-US/docs/Web/API/File_System_Access_API is not supported and no <input> was provided."))):J(oe)});return}Y.current&&(he({type:"openDialog"}),ce(),Y.current.value=null,Y.current.click())},[he,ce,le,S,de,J,X,s]),Te=g.useCallback(function(U){!L.current||!L.current.isEqualNode(U.target)||(U.key===" "||U.key==="Enter"||U.keyCode===32||U.keyCode===13)&&(U.preventDefault(),H())},[L,H]),De=g.useCallback(function(){he({type:"focus"})},[]),A=g.useCallback(function(){he({type:"blur"})},[]),q=g.useCallback(function(){j||(fO()?setTimeout(H,0):H())},[j,H]),re=function(oe){return r?null:oe},xe=function(oe){return x?null:re(oe)},ve=function(oe){return E?null:re(oe)},be=function(oe){P&&oe.stopPropagation()},je=g.useMemo(function(){return function(){var U=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},oe=U.refKey,ie=oe===void 0?"ref":oe,se=U.role,Ie=U.onKeyDown,bt=U.onFocus,ot=U.onBlur,_t=U.onClick,$t=U.onDragEnter,Qt=U.onDragOver,lt=U.onDragLeave,Mt=U.onDrop,Zt=Al(U,xO);return kt(kt(mf({onKeyDown:xe(sr(Ie,Te)),onFocus:xe(sr(bt,De)),onBlur:xe(sr(ot,A)),onClick:re(sr(_t,q)),onDragEnter:ve(sr($t,Q)),onDragOver:ve(sr(Qt,ee)),onDragLeave:ve(sr(lt,me)),onDrop:ve(sr(Mt,ke)),role:typeof se=="string"&&se!==""?se:"presentation"},ie,L),!r&&!x?{tabIndex:0}:{}),Zt)}},[L,Te,De,A,q,Q,ee,me,ke,x,E,r]),$e=g.useCallback(function(U){U.stopPropagation()},[]),fe=g.useMemo(function(){return function(){var U=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},oe=U.refKey,ie=oe===void 0?"ref":oe,se=U.onChange,Ie=U.onClick,bt=Al(U,CO),ot=mf({accept:z,multiple:s,type:"file",style:{border:0,clip:"rect(0, 0, 0, 0)",clipPath:"inset(50%)",height:"1px",margin:"0 -1px -1px 0",overflow:"hidden",padding:0,position:"absolute",width:"1px",whiteSpace:"nowrap"},onChange:re(sr(se,ke)),onClick:re(sr(Ie,$e)),tabIndex:-1},ie,Y);return kt(kt({},ot),bt)}},[Y,n,s,ke,r]);return kt(kt({},ue),{},{isFocused:O&&!r,getRootProps:je,getInputProps:fe,rootRef:L,inputRef:Y,open:re(H)})}function AO(e,t){switch(t.type){case"focus":return kt(kt({},e),{},{isFocused:!0});case"blur":return kt(kt({},e),{},{isFocused:!1});case"openDialog":return kt(kt({},vf),{},{isFileDialogActive:!0});case"closeDialog":return kt(kt({},e),{},{isFileDialogActive:!1});case"setDraggedFiles":return kt(kt({},e),{},{isDragActive:t.isDragActive,isDragAccept:t.isDragAccept,isDragReject:t.isDragReject});case"setFiles":return kt(kt({},e),{},{acceptedFiles:t.acceptedFiles,fileRejections:t.fileRejections,isDragReject:t.isDragReject});case"reset":return kt({},vf);default:return e}}function k4(){}function MO(e){return ut({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{d:"M13 19v-4h3l-4-5-4 5h3v4z"},child:[]},{tag:"path",attr:{d:"M7 19h2v-2H7c-1.654 0-3-1.346-3-3 0-1.404 1.199-2.756 2.673-3.015l.581-.102.192-.558C8.149 8.274 9.895 7 12 7c2.757 0 5 2.243 5 5v1h1c1.103 0 2 .897 2 2s-.897 2-2 2h-3v2h3c2.206 0 4-1.794 4-4a4.01 4.01 0 0 0-3.056-3.888C18.507 7.67 15.56 5 12 5 9.244 5 6.85 6.611 5.757 9.15 3.609 9.792 2 11.82 2 14c0 2.757 2.243 5 5 5z"},child:[]}]})(e)}const OO=({onFilesDropped:e,color:t="elevate.500",typeAccept:n="file",fileAccept:r=[".pdf",".doc",".docx",".xls",".xlsx",".txt",".csv"],maxSize:o="5MB",title:i="",description:a="Arrastra y suelta tus archivos aquí",buttonText:s="Seleccionar archivos",colorTitle:l="black.600",colorTextDrag:c="black.600",filesExisting:u=[]})=>{const f=q3(),[p,h,b]=Xs("colors",[t,"white.50","black.300"]),m=Lt(p,.7)({}),v=typeof o=="string"&&o.includes("MB")?parseInt(o)*1024*1024:parseInt(o),S=g.useMemo(()=>r.length>0?r.map(D=>D.startsWith(".")?D:`.${D}`):n==="image"?[".jpeg",".jpg",".png",".gif"]:n==="file"?[".pdf",".doc",".docx",".xls",".xlsx",".txt",".csv"]:[],[r,n]),y={".pdf":"application/pdf",".doc":"application/msword",".docx":"application/vnd.openxmlformats-officedocument.wordprocessingml.document",".xls":"application/vnd.ms-excel",".xlsx":"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",".txt":"text/plain",".csv":"text/csv",".jpeg":"image/jpeg",".jpg":"image/jpeg",".png":"image/png",".gif":"image/gif"};g.useEffect(()=>{u.length>0&&e(u)},[u]);const w=S.length>0?S.reduce((D,R)=>{const z=y[R];return z&&(D[z]=[...D[z]||[],R]),D},{}):void 0,j=g.useCallback((D,R)=>{const z=D.filter(X=>S.some(ce=>X.name.endsWith(ce)));R.forEach(X=>{const{file:ce,errors:le}=X;le.forEach(L=>{L.code==="file-too-large"?f({title:"Archivo demasiado grande",description:`El archivo "${ce.name}" supera el tamaño máximo permitido.`,status:"warning",duration:4e3,isClosable:!0,variant:"solid",containerStyle:{color:`${h} !important`}}):L.code==="file-invalid-type"&&f({title:"Extensión no permitida",description:`El archivo "${ce.name}" no tiene una extensión válida.`,status:"info",duration:4e3,isClosable:!0,variant:"solid",containerStyle:{color:`${h} !important`}})})}),z.length>0&&e(z)},[S,e,f]),{getRootProps:x,getInputProps:E,isDragActive:P}=S4({onDrop:j,multiple:!0,accept:w,maxSize:v});return d.jsxs(qe,{children:[d.jsx(dt,{mt:4,alignItems:"flex-start",children:i.trim()&&d.jsx(Be,{fontSize:"20px",fontWeight:"700",color:l,mb:2,children:i})}),d.jsxs(qe,{...x(),py:"70px",px:"41px",border:`2px dashed ${P?p:b}`,borderRadius:"lg",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",textAlign:"center",cursor:"pointer",_hover:{borderColor:m},bg:P?Lt(p,.1)({}):"transparent",children:[d.jsx("input",{...E()}),d.jsx(Xt,{as:MO,boxSize:"40px",color:p,mb:"16px"}),d.jsx(Be,{fontSize:"16px",fontWeight:"16px",color:c,mb:4,children:a}),d.jsx(ln,{bg:p,color:h,_hover:{bg:m},size:"lg",children:s})]})]})},IO=({text:e,fontSize:t="md",...n})=>d.jsx(Be,{fontSize:t,...n,children:e}),DO=g.forwardRef(({label:e,colorLabelText:t="black.400",fontFamilyText:n="sans-serif",fontSizeText:r="1rem",placeholder:o,value:i="",onChange:a=z=>{console.log(z)},isRequired:s=!1,info:l=!1,infoText:c="",product:u="info",textArea:f=!1,description:p="",dropdown:h=!1,isReadOnly:b=!1,isDisabled:m=!1,colorText:v="#222222",minHeight:S="auto",type:y="text",textSubtitle:w="",subtitleAlign:j="left",colorTextSubtitle:x="black.500",spacingTextSubtitle:E="1rem 0",fontSizeSubtitle:P="1rem",fontFamilySubtitle:D="Lato"},R)=>{const[z,X]=g.useState(!0),ce=K=>{a(K.target.value)},le=Jt[u],L=le[200],Y=le[300];return d.jsxs(xa,{isRequired:s,children:[d.jsxs(ii,{display:"flex",alignItems:"center",fontSize:r,color:t,fontFamily:n,children:[h&&d.jsx(qt,{"aria-label":"Toggle Description",icon:z?d.jsx(lf,{}):d.jsx(G3,{}),size:"sm",variant:"ghost",onClick:()=>X(!z),_hover:{bg:"transparent"}}),e,l&&c&&d.jsx(Sl,{label:c,"aria-label":"Más información",p:"10px",borderRadius:"5px",bg:L,border:`1px solid ${Y}`,color:"black.500",placement:"top",hasArrow:!0,children:d.jsx(qt,{icon:d.jsx(cf,{}),"aria-label":"Información",size:"sm",variant:"ghost",ml:2,color:"info.600"})})]}),h&&z&&p&&d.jsx(Be,{fontSize:"14px",color:"gray.500",mb:"10px",textAlign:"start",children:p}),d.jsxs(Be,{display:w!==""?"block":"none",textAlign:j,color:x,margin:E,fontSize:P,fontFamily:D,children:[" ",w]}),f?d.jsx(rf,{ref:R,placeholder:o,value:i,onChange:ce,bg:"white",isReadOnly:b,isDisabled:m,minHeight:S,color:v,sx:{resize:"none"}}):d.jsx(Ta,{ref:R,placeholder:o,value:i,onChange:ce,bg:"white",type:y,isReadOnly:b,isDisabled:m,minHeight:S,color:v})]})});var $O=function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(r,o,i){n.o(r,o)||Object.defineProperty(r,o,{enumerable:!0,get:i})},n.r=function(r){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(r,"__esModule",{value:!0})},n.t=function(r,o){if(1&o&&(r=n(r)),8&o||4&o&&typeof r=="object"&&r&&r.__esModule)return r;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:r}),2&o&&typeof r!="string")for(var a in r)n.d(i,a,(function(s){return r[s]}).bind(null,a));return i},n.n=function(r){var o=r&&r.__esModule?function(){return r.default}:function(){return r};return n.d(o,"a",o),o},n.o=function(r,o){return Object.prototype.hasOwnProperty.call(r,o)},n.p="",n(n.s=9)}([function(e,t){e.exports=g},function(e,t,n){var r;/*!
|
|
397
397
|
Copyright (c) 2017 Jed Watson.
|
|
398
398
|
Licensed under the MIT License (MIT), see
|
|
399
399
|
http://jedwatson.github.io/classnames
|
|
400
|
-
*/(function(){var o={}.hasOwnProperty;function i(){for(var a=[],s=0;s<arguments.length;s++){var l=arguments[s];if(l){var c=typeof l;if(c==="string"||c==="number")a.push(l);else if(Array.isArray(l)&&l.length){var u=i.apply(null,l);u&&a.push(u)}else if(c==="object")for(var f in l)o.call(l,f)&&l[f]&&a.push(f)}}return a.join(" ")}e.exports?(i.default=i,e.exports=i):(r=(function(){return i}).apply(t,[]))===void 0||(e.exports=r)})()},function(e,t,n){(function(r){var o=/^\s+|\s+$/g,i=/^[-+]0x[0-9a-f]+$/i,a=/^0b[01]+$/i,s=/^0o[0-7]+$/i,l=parseInt,c=typeof r=="object"&&r&&r.Object===Object&&r,u=typeof self=="object"&&self&&self.Object===Object&&self,f=c||u||Function("return this")(),p=Object.prototype.toString,h=f.Symbol,b=h?h.prototype:void 0,m=b?b.toString:void 0;function v(j){if(typeof j=="string")return j;if(y(j))return m?m.call(j):"";var x=j+"";return x=="0"&&1/j==-1/0?"-0":x}function S(j){var x=typeof j;return!!j&&(x=="object"||x=="function")}function y(j){return typeof j=="symbol"||function(x){return!!x&&typeof x=="object"}(j)&&p.call(j)=="[object Symbol]"}function C(j){return j?(j=function(x){if(typeof x=="number")return x;if(y(x))return NaN;if(S(x)){var E=typeof x.valueOf=="function"?x.valueOf():x;x=S(E)?E+"":E}if(typeof x!="string")return x===0?x:+x;x=x.replace(o,"");var P=a.test(x);return P||s.test(x)?l(x.slice(2),P?2:8):i.test(x)?NaN:+x}(j))===1/0||j===-1/0?17976931348623157e292*(j<0?-1:1):j==j?j:0:j===0?j:0}e.exports=function(j,x,E){var P,D,R,L;return j=(P=j)==null?"":v(P),D=function(Z){var ce=C(Z),ae=ce%1;return ce==ce?ae?ce-ae:ce:0}(E),R=0,L=j.length,D==D&&(L!==void 0&&(D=D<=L?D:L),R!==void 0&&(D=D>=R?D:R)),E=D,x=v(x),j.slice(E,E+x.length)==x}}).call(this,n(3))},function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch{typeof window=="object"&&(n=window)}e.exports=n},function(e,t,n){(function(r){var o=/^\[object .+?Constructor\]$/,i=typeof r=="object"&&r&&r.Object===Object&&r,a=typeof self=="object"&&self&&self.Object===Object&&self,s=i||a||Function("return this")(),l,c=Array.prototype,u=Function.prototype,f=Object.prototype,p=s["__core-js_shared__"],h=(l=/[^.]+$/.exec(p&&p.keys&&p.keys.IE_PROTO||""))?"Symbol(src)_1."+l:"",b=u.toString,m=f.hasOwnProperty,v=f.toString,S=RegExp("^"+b.call(m).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),y=c.splice,C=Z(s,"Map"),j=Z(Object,"create");function x(z){var Y=-1,G=z?z.length:0;for(this.clear();++Y<G;){var N=z[Y];this.set(N[0],N[1])}}function E(z){var Y=-1,G=z?z.length:0;for(this.clear();++Y<G;){var N=z[Y];this.set(N[0],N[1])}}function P(z){var Y=-1,G=z?z.length:0;for(this.clear();++Y<G;){var N=z[Y];this.set(N[0],N[1])}}function D(z,Y){for(var G,N,ue=z.length;ue--;)if((G=z[ue][0])===(N=Y)||G!=G&&N!=N)return ue;return-1}function R(z){return!(!ae(z)||(Y=z,h&&h in Y))&&(function(G){var N=ae(G)?v.call(G):"";return N=="[object Function]"||N=="[object GeneratorFunction]"}(z)||function(G){var N=!1;if(G!=null&&typeof G.toString!="function")try{N=!!(G+"")}catch{}return N}(z)?S:o).test(function(G){if(G!=null){try{return b.call(G)}catch{}try{return G+""}catch{}}return""}(z));var Y}function L(z,Y){var G,N,ue=z.__data__;return((N=typeof(G=Y))=="string"||N=="number"||N=="symbol"||N=="boolean"?G!=="__proto__":G===null)?ue[typeof Y=="string"?"string":"hash"]:ue.map}function Z(z,Y){var G=function(N,ue){return N==null?void 0:N[ue]}(z,Y);return R(G)?G:void 0}function ce(z,Y){if(typeof z!="function"||Y&&typeof Y!="function")throw new TypeError("Expected a function");var G=function(){var N=arguments,ue=Y?Y.apply(this,N):N[0],he=G.cache;if(he.has(ue))return he.get(ue);var O=z.apply(this,N);return G.cache=he.set(ue,O),O};return G.cache=new(ce.Cache||P),G}function ae(z){var Y=typeof z;return!!z&&(Y=="object"||Y=="function")}x.prototype.clear=function(){this.__data__=j?j(null):{}},x.prototype.delete=function(z){return this.has(z)&&delete this.__data__[z]},x.prototype.get=function(z){var Y=this.__data__;if(j){var G=Y[z];return G==="__lodash_hash_undefined__"?void 0:G}return m.call(Y,z)?Y[z]:void 0},x.prototype.has=function(z){var Y=this.__data__;return j?Y[z]!==void 0:m.call(Y,z)},x.prototype.set=function(z,Y){return this.__data__[z]=j&&Y===void 0?"__lodash_hash_undefined__":Y,this},E.prototype.clear=function(){this.__data__=[]},E.prototype.delete=function(z){var Y=this.__data__,G=D(Y,z);return!(G<0)&&(G==Y.length-1?Y.pop():y.call(Y,G,1),!0)},E.prototype.get=function(z){var Y=this.__data__,G=D(Y,z);return G<0?void 0:Y[G][1]},E.prototype.has=function(z){return D(this.__data__,z)>-1},E.prototype.set=function(z,Y){var G=this.__data__,N=D(G,z);return N<0?G.push([z,Y]):G[N][1]=Y,this},P.prototype.clear=function(){this.__data__={hash:new x,map:new(C||E),string:new x}},P.prototype.delete=function(z){return L(this,z).delete(z)},P.prototype.get=function(z){return L(this,z).get(z)},P.prototype.has=function(z){return L(this,z).has(z)},P.prototype.set=function(z,Y){return L(this,z).set(z,Y),this},ce.Cache=P,e.exports=ce}).call(this,n(3))},function(e,t,n){(function(r){var o=/^\s+|\s+$/g,i=/^[-+]0x[0-9a-f]+$/i,a=/^0b[01]+$/i,s=/^0o[0-7]+$/i,l=parseInt,c=typeof r=="object"&&r&&r.Object===Object&&r,u=typeof self=="object"&&self&&self.Object===Object&&self,f=c||u||Function("return this")(),p=Object.prototype.toString,h=Math.max,b=Math.min,m=function(){return f.Date.now()};function v(y){var C=typeof y;return!!y&&(C=="object"||C=="function")}function S(y){if(typeof y=="number")return y;if(function(x){return typeof x=="symbol"||function(E){return!!E&&typeof E=="object"}(x)&&p.call(x)=="[object Symbol]"}(y))return NaN;if(v(y)){var C=typeof y.valueOf=="function"?y.valueOf():y;y=v(C)?C+"":C}if(typeof y!="string")return y===0?y:+y;y=y.replace(o,"");var j=a.test(y);return j||s.test(y)?l(y.slice(2),j?2:8):i.test(y)?NaN:+y}e.exports=function(y,C,j){var x,E,P,D,R,L,Z=0,ce=!1,ae=!1,z=!0;if(typeof y!="function")throw new TypeError("Expected a function");function Y(F){var K=x,V=E;return x=E=void 0,Z=F,D=y.apply(V,K)}function G(F){return Z=F,R=setTimeout(ue,C),ce?Y(F):D}function N(F){var K=F-L;return L===void 0||K>=C||K<0||ae&&F-Z>=P}function ue(){var F=m();if(N(F))return he(F);R=setTimeout(ue,function(K){var V=C-(K-L);return ae?b(V,P-(K-Z)):V}(F))}function he(F){return R=void 0,z&&x?Y(F):(x=E=void 0,D)}function O(){var F=m(),K=N(F);if(x=arguments,E=this,L=F,K){if(R===void 0)return G(L);if(ae)return R=setTimeout(ue,C),Y(L)}return R===void 0&&(R=setTimeout(ue,C)),D}return C=S(C)||0,v(j)&&(ce=!!j.leading,P=(ae="maxWait"in j)?h(S(j.maxWait)||0,C):P,z="trailing"in j?!!j.trailing:z),O.cancel=function(){R!==void 0&&clearTimeout(R),Z=0,x=L=E=R=void 0},O.flush=function(){return R===void 0?D:he(m())},O}}).call(this,n(3))},function(e,t,n){(function(r,o){var i="[object Arguments]",a="[object Map]",s="[object Object]",l="[object Set]",c=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,u=/^\w*$/,f=/^\./,p=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,h=/\\(\\)?/g,b=/^\[object .+?Constructor\]$/,m=/^(?:0|[1-9]\d*)$/,v={};v["[object Float32Array]"]=v["[object Float64Array]"]=v["[object Int8Array]"]=v["[object Int16Array]"]=v["[object Int32Array]"]=v["[object Uint8Array]"]=v["[object Uint8ClampedArray]"]=v["[object Uint16Array]"]=v["[object Uint32Array]"]=!0,v[i]=v["[object Array]"]=v["[object ArrayBuffer]"]=v["[object Boolean]"]=v["[object DataView]"]=v["[object Date]"]=v["[object Error]"]=v["[object Function]"]=v[a]=v["[object Number]"]=v[s]=v["[object RegExp]"]=v[l]=v["[object String]"]=v["[object WeakMap]"]=!1;var S=typeof r=="object"&&r&&r.Object===Object&&r,y=typeof self=="object"&&self&&self.Object===Object&&self,C=S||y||Function("return this")(),j=t&&!t.nodeType&&t,x=j&&typeof o=="object"&&o&&!o.nodeType&&o,E=x&&x.exports===j&&S.process,P=function(){try{return E&&E.binding("util")}catch{}}(),D=P&&P.isTypedArray;function R(k,$,X,ne){var Ce=-1,be=k?k.length:0;for(ne&&be&&(X=k[++Ce]);++Ce<be;)X=$(X,k[Ce],Ce,k);return X}function L(k,$){for(var X=-1,ne=k?k.length:0;++X<ne;)if($(k[X],X,k))return!0;return!1}function Z(k,$,X,ne,Ce){return Ce(k,function(be,Ae,it){X=ne?(ne=!1,be):$(X,be,Ae,it)}),X}function ce(k){var $=!1;if(k!=null&&typeof k.toString!="function")try{$=!!(k+"")}catch{}return $}function ae(k){var $=-1,X=Array(k.size);return k.forEach(function(ne,Ce){X[++$]=[Ce,ne]}),X}function z(k){var $=-1,X=Array(k.size);return k.forEach(function(ne){X[++$]=ne}),X}var Y,G,N,ue=Array.prototype,he=Function.prototype,O=Object.prototype,F=C["__core-js_shared__"],K=(Y=/[^.]+$/.exec(F&&F.keys&&F.keys.IE_PROTO||""))?"Symbol(src)_1."+Y:"",V=he.toString,B=O.hasOwnProperty,w=O.toString,J=RegExp("^"+V.call(B).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Q=C.Symbol,ee=C.Uint8Array,me=O.propertyIsEnumerable,de=ue.splice,ke=(G=Object.keys,N=Object,function(k){return G(N(k))}),H=lr(C,"DataView"),Te=lr(C,"Map"),De=lr(C,"Promise"),A=lr(C,"Set"),q=lr(C,"WeakMap"),re=lr(Object,"create"),xe=On(H),ge=On(Te),ve=On(De),je=On(A),$e=On(q),fe=Q?Q.prototype:void 0,U=fe?fe.valueOf:void 0,oe=fe?fe.toString:void 0;function ie(k){var $=-1,X=k?k.length:0;for(this.clear();++$<X;){var ne=k[$];this.set(ne[0],ne[1])}}function se(k){var $=-1,X=k?k.length:0;for(this.clear();++$<X;){var ne=k[$];this.set(ne[0],ne[1])}}function Ie(k){var $=-1,X=k?k.length:0;for(this.clear();++$<X;){var ne=k[$];this.set(ne[0],ne[1])}}function bt(k){var $=-1,X=k?k.length:0;for(this.__data__=new Ie;++$<X;)this.add(k[$])}function ot(k){this.__data__=new se(k)}function _t(k,$){var X=In(k)||xi(k)?function(Ae,it){for(var ct=-1,at=Array(Ae);++ct<Ae;)at[ct]=it(ct);return at}(k.length,String):[],ne=X.length,Ce=!!ne;for(var be in k)!B.call(k,be)||Ce&&(be=="length"||bi(be,ne))||X.push(be);return X}function $t(k,$){for(var X=k.length;X--;)if(Nn(k[X][0],$))return X;return-1}ie.prototype.clear=function(){this.__data__=re?re(null):{}},ie.prototype.delete=function(k){return this.has(k)&&delete this.__data__[k]},ie.prototype.get=function(k){var $=this.__data__;if(re){var X=$[k];return X==="__lodash_hash_undefined__"?void 0:X}return B.call($,k)?$[k]:void 0},ie.prototype.has=function(k){var $=this.__data__;return re?$[k]!==void 0:B.call($,k)},ie.prototype.set=function(k,$){return this.__data__[k]=re&&$===void 0?"__lodash_hash_undefined__":$,this},se.prototype.clear=function(){this.__data__=[]},se.prototype.delete=function(k){var $=this.__data__,X=$t($,k);return!(X<0)&&(X==$.length-1?$.pop():de.call($,X,1),!0)},se.prototype.get=function(k){var $=this.__data__,X=$t($,k);return X<0?void 0:$[X][1]},se.prototype.has=function(k){return $t(this.__data__,k)>-1},se.prototype.set=function(k,$){var X=this.__data__,ne=$t(X,k);return ne<0?X.push([k,$]):X[ne][1]=$,this},Ie.prototype.clear=function(){this.__data__={hash:new ie,map:new(Te||se),string:new ie}},Ie.prototype.delete=function(k){return kr(this,k).delete(k)},Ie.prototype.get=function(k){return kr(this,k).get(k)},Ie.prototype.has=function(k){return kr(this,k).has(k)},Ie.prototype.set=function(k,$){return kr(this,k).set(k,$),this},bt.prototype.add=bt.prototype.push=function(k){return this.__data__.set(k,"__lodash_hash_undefined__"),this},bt.prototype.has=function(k){return this.__data__.has(k)},ot.prototype.clear=function(){this.__data__=new se},ot.prototype.delete=function(k){return this.__data__.delete(k)},ot.prototype.get=function(k){return this.__data__.get(k)},ot.prototype.has=function(k){return this.__data__.has(k)},ot.prototype.set=function(k,$){var X=this.__data__;if(X instanceof se){var ne=X.__data__;if(!Te||ne.length<199)return ne.push([k,$]),this;X=this.__data__=new Ie(ne)}return X.set(k,$),this};var Qt,lt=(Qt=function(k,$){return k&&Mt(k,$,ze)},function(k,$){if(k==null)return k;if(!T(k))return Qt(k,$);for(var X=k.length,ne=-1,Ce=Object(k);++ne<X&&$(Ce[ne],ne,Ce)!==!1;);return k}),Mt=function(k){return function($,X,ne){for(var Ce=-1,be=Object($),Ae=ne($),it=Ae.length;it--;){var ct=Ae[++Ce];if(X(be[ct],ct,be)===!1)break}return $}}();function Zt(k,$){for(var X=0,ne=($=_r($,k)?[$]:Vr($)).length;k!=null&&X<ne;)k=k[jr($[X++])];return X&&X==ne?k:void 0}function Bn(k,$){return k!=null&&$ in Object(k)}function fn(k,$,X,ne,Ce){return k===$||(k==null||$==null||!_e(k)&&!Re($)?k!=k&&$!=$:function(be,Ae,it,ct,at,We){var tn=In(be),zt=In(Ae),Et="[object Array]",Ot="[object Array]";tn||(Et=(Et=Cn(be))==i?s:Et),zt||(Ot=(Ot=Cn(Ae))==i?s:Ot);var wn=Et==s&&!ce(be),Wr=Ot==s&&!ce(Ae),cr=Et==Ot;if(cr&&!wn)return We||(We=new ot),tn||Ne(be)?hn(be,Ae,it,ct,at,We):function(Ke,Ge,Na,Tr,Co,nn,Rn){switch(Na){case"[object DataView]":if(Ke.byteLength!=Ge.byteLength||Ke.byteOffset!=Ge.byteOffset)return!1;Ke=Ke.buffer,Ge=Ge.buffer;case"[object ArrayBuffer]":return!(Ke.byteLength!=Ge.byteLength||!Tr(new ee(Ke),new ee(Ge)));case"[object Boolean]":case"[object Date]":case"[object Number]":return Nn(+Ke,+Ge);case"[object Error]":return Ke.name==Ge.name&&Ke.message==Ge.message;case"[object RegExp]":case"[object String]":return Ke==Ge+"";case a:var ur=ae;case l:var Hr=2&nn;if(ur||(ur=z),Ke.size!=Ge.size&&!Hr)return!1;var Ci=Rn.get(Ke);if(Ci)return Ci==Ge;nn|=1,Rn.set(Ke,Ge);var Ur=hn(ur(Ke),ur(Ge),Tr,Co,nn,Rn);return Rn.delete(Ke),Ur;case"[object Symbol]":if(U)return U.call(Ke)==U.call(Ge)}return!1}(be,Ae,Et,it,ct,at,We);if(!(2&at)){var Ml=wn&&B.call(be,"__wrapped__"),Ol=Wr&&B.call(Ae,"__wrapped__");if(Ml||Ol){var bf=Ml?be.value():be,yf=Ol?Ae.value():Ae;return We||(We=new ot),it(bf,yf,ct,at,We)}}return cr?(We||(We=new ot),function(Ke,Ge,Na,Tr,Co,nn){var Rn=2&Co,ur=ze(Ke),Hr=ur.length,Ci=ze(Ge).length;if(Hr!=Ci&&!Rn)return!1;for(var Ur=Hr;Ur--;){var dr=ur[Ur];if(!(Rn?dr in Ge:B.call(Ge,dr)))return!1}var wi=nn.get(Ke);if(wi&&nn.get(Ge))return wi==Ge;var Si=!0;nn.set(Ke,Ge),nn.set(Ge,Ke);for(var Ra=Rn;++Ur<Hr;){dr=ur[Ur];var ki=Ke[dr],Pr=Ge[dr];if(Tr)var _i=Rn?Tr(Pr,ki,dr,Ge,Ke,nn):Tr(ki,Pr,dr,Ke,Ge,nn);if(!(_i===void 0?ki===Pr||Na(ki,Pr,Tr,Co,nn):_i)){Si=!1;break}Ra||(Ra=dr=="constructor")}if(Si&&!Ra){var qr=Ke.constructor,Zr=Ge.constructor;qr==Zr||!("constructor"in Ke)||!("constructor"in Ge)||typeof qr=="function"&&qr instanceof qr&&typeof Zr=="function"&&Zr instanceof Zr||(Si=!1)}return nn.delete(Ke),nn.delete(Ge),Si}(be,Ae,it,ct,at,We)):!1}(k,$,fn,X,ne,Ce))}function xn(k){return!(!_e(k)||function($){return!!K&&K in $}(k))&&(te(k)||ce(k)?J:b).test(On(k))}function yo(k){return typeof k=="function"?k:k==null?Ft:typeof k=="object"?In(k)?function(ne,Ce){return _r(ne)&&en(Ce)?yi(jr(ne),Ce):function(be){var Ae=function(it,ct,at){var We=it==null?void 0:Zt(it,ct);return We===void 0?at:We}(be,ne);return Ae===void 0&&Ae===Ce?function(it,ct){return it!=null&&function(at,We,tn){We=_r(We,at)?[We]:Vr(We);for(var zt,Et=-1,Ot=We.length;++Et<Ot;){var wn=jr(We[Et]);if(!(zt=at!=null&&tn(at,wn)))break;at=at[wn]}return zt||!!(Ot=at?at.length:0)&&pe(Ot)&&bi(wn,Ot)&&(In(at)||xi(at))}(it,ct,Bn)}(be,ne):fn(Ce,Ae,void 0,3)}}(k[0],k[1]):function(ne){var Ce=function(be){for(var Ae=ze(be),it=Ae.length;it--;){var ct=Ae[it],at=be[ct];Ae[it]=[ct,at,en(at)]}return Ae}(ne);return Ce.length==1&&Ce[0][2]?yi(Ce[0][0],Ce[0][1]):function(be){return be===ne||function(Ae,it,ct,at){var We=ct.length,tn=We;if(Ae==null)return!tn;for(Ae=Object(Ae);We--;){var zt=ct[We];if(zt[2]?zt[1]!==Ae[zt[0]]:!(zt[0]in Ae))return!1}for(;++We<tn;){var Et=(zt=ct[We])[0],Ot=Ae[Et],wn=zt[1];if(zt[2]){if(Ot===void 0&&!(Et in Ae))return!1}else{var Wr=new ot,cr;if(!(cr===void 0?fn(wn,Ot,at,3,Wr):cr))return!1}}return!0}(be,ne,Ce)}}(k):_r($=k)?(X=jr($),function(ne){return ne==null?void 0:ne[X]}):function(ne){return function(Ce){return Zt(Ce,ne)}}($);var $,X}function pn(k){if(X=($=k)&&$.constructor,ne=typeof X=="function"&&X.prototype||O,$!==ne)return ke(k);var $,X,ne,Ce=[];for(var be in Object(k))B.call(k,be)&&be!="constructor"&&Ce.push(be);return Ce}function Vr(k){return In(k)?k:Ba(k)}function hn(k,$,X,ne,Ce,be){var Ae=2&Ce,it=k.length,ct=$.length;if(it!=ct&&!(Ae&&ct>it))return!1;var at=be.get(k);if(at&&be.get($))return at==$;var We=-1,tn=!0,zt=1&Ce?new bt:void 0;for(be.set(k,$),be.set($,k);++We<it;){var Et=k[We],Ot=$[We];if(ne)var wn=Ae?ne(Ot,Et,We,$,k,be):ne(Et,Ot,We,k,$,be);if(wn!==void 0){if(wn)continue;tn=!1;break}if(zt){if(!L($,function(Wr,cr){if(!zt.has(cr)&&(Et===Wr||X(Et,Wr,ne,Ce,be)))return zt.add(cr)})){tn=!1;break}}else if(Et!==Ot&&!X(Et,Ot,ne,Ce,be)){tn=!1;break}}return be.delete(k),be.delete($),tn}function kr(k,$){var X,ne,Ce=k.__data__;return((ne=typeof(X=$))=="string"||ne=="number"||ne=="symbol"||ne=="boolean"?X!=="__proto__":X===null)?Ce[typeof $=="string"?"string":"hash"]:Ce.map}function lr(k,$){var X=function(ne,Ce){return ne==null?void 0:ne[Ce]}(k,$);return xn(X)?X:void 0}var Cn=function(k){return w.call(k)};function bi(k,$){return!!($=$??9007199254740991)&&(typeof k=="number"||m.test(k))&&k>-1&&k%1==0&&k<$}function _r(k,$){if(In(k))return!1;var X=typeof k;return!(X!="number"&&X!="symbol"&&X!="boolean"&&k!=null&&!Ze(k))||u.test(k)||!c.test(k)||$!=null&&k in Object($)}function en(k){return k==k&&!_e(k)}function yi(k,$){return function(X){return X!=null&&X[k]===$&&($!==void 0||k in Object(X))}}(H&&Cn(new H(new ArrayBuffer(1)))!="[object DataView]"||Te&&Cn(new Te)!=a||De&&Cn(De.resolve())!="[object Promise]"||A&&Cn(new A)!=l||q&&Cn(new q)!="[object WeakMap]")&&(Cn=function(k){var $=w.call(k),X=$==s?k.constructor:void 0,ne=X?On(X):void 0;if(ne)switch(ne){case xe:return"[object DataView]";case ge:return a;case ve:return"[object Promise]";case je:return l;case $e:return"[object WeakMap]"}return $});var Ba=xo(function(k){var $;k=($=k)==null?"":function(ne){if(typeof ne=="string")return ne;if(Ze(ne))return oe?oe.call(ne):"";var Ce=ne+"";return Ce=="0"&&1/ne==-1/0?"-0":Ce}($);var X=[];return f.test(k)&&X.push(""),k.replace(p,function(ne,Ce,be,Ae){X.push(be?Ae.replace(h,"$1"):Ce||ne)}),X});function jr(k){if(typeof k=="string"||Ze(k))return k;var $=k+"";return $=="0"&&1/k==-1/0?"-0":$}function On(k){if(k!=null){try{return V.call(k)}catch{}try{return k+""}catch{}}return""}function xo(k,$){if(typeof k!="function"||$&&typeof $!="function")throw new TypeError("Expected a function");var X=function(){var ne=arguments,Ce=$?$.apply(this,ne):ne[0],be=X.cache;if(be.has(Ce))return be.get(Ce);var Ae=k.apply(this,ne);return X.cache=be.set(Ce,Ae),Ae};return X.cache=new(xo.Cache||Ie),X}function Nn(k,$){return k===$||k!=k&&$!=$}function xi(k){return function($){return Re($)&&T($)}(k)&&B.call(k,"callee")&&(!me.call(k,"callee")||w.call(k)==i)}xo.Cache=Ie;var In=Array.isArray;function T(k){return k!=null&&pe(k.length)&&!te(k)}function te(k){var $=_e(k)?w.call(k):"";return $=="[object Function]"||$=="[object GeneratorFunction]"}function pe(k){return typeof k=="number"&&k>-1&&k%1==0&&k<=9007199254740991}function _e(k){var $=typeof k;return!!k&&($=="object"||$=="function")}function Re(k){return!!k&&typeof k=="object"}function Ze(k){return typeof k=="symbol"||Re(k)&&w.call(k)=="[object Symbol]"}var Ne=D?function(k){return function($){return k($)}}(D):function(k){return Re(k)&&pe(k.length)&&!!v[w.call(k)]};function ze(k){return T(k)?_t(k):pn(k)}function Ft(k){return k}o.exports=function(k,$,X){var ne=In(k)?R:Z,Ce=arguments.length<3;return ne(k,yo($),X,Ce,lt)}}).call(this,n(3),n(7)(e))},function(e,t){e.exports=function(n){return n.webpackPolyfill||(n.deprecate=function(){},n.paths=[],n.children||(n.children=[]),Object.defineProperty(n,"loaded",{enumerable:!0,get:function(){return n.l}}),Object.defineProperty(n,"id",{enumerable:!0,get:function(){return n.i}}),n.webpackPolyfill=1),n}},function(e,t){String.prototype.padEnd||(String.prototype.padEnd=function(n,r){return n>>=0,r=String(r!==void 0?r:" "),this.length>n?String(this):((n-=this.length)>r.length&&(r+=r.repeat(n/r.length)),String(this)+r.slice(0,n))})},function(e,t,n){function r(O,F,K){return F in O?Object.defineProperty(O,F,{value:K,enumerable:!0,configurable:!0,writable:!0}):O[F]=K,O}function o(O){if(Symbol.iterator in Object(O)||Object.prototype.toString.call(O)==="[object Arguments]")return Array.from(O)}function i(O){return function(F){if(Array.isArray(F)){for(var K=0,V=new Array(F.length);K<F.length;K++)V[K]=F[K];return V}}(O)||o(O)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function a(O){if(Array.isArray(O))return O}function s(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}function l(O,F){if(!(O instanceof F))throw new TypeError("Cannot call a class as a function")}function c(O,F){for(var K=0;K<F.length;K++){var V=F[K];V.enumerable=V.enumerable||!1,V.configurable=!0,"value"in V&&(V.writable=!0),Object.defineProperty(O,V.key,V)}}function u(O){return(u=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(F){return typeof F}:function(F){return F&&typeof Symbol=="function"&&F.constructor===Symbol&&F!==Symbol.prototype?"symbol":typeof F})(O)}function f(O){return(f=typeof Symbol=="function"&&u(Symbol.iterator)==="symbol"?function(F){return u(F)}:function(F){return F&&typeof Symbol=="function"&&F.constructor===Symbol&&F!==Symbol.prototype?"symbol":u(F)})(O)}function p(O){if(O===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return O}function h(O){return(h=Object.setPrototypeOf?Object.getPrototypeOf:function(F){return F.__proto__||Object.getPrototypeOf(F)})(O)}function b(O,F){return(b=Object.setPrototypeOf||function(K,V){return K.__proto__=V,K})(O,F)}n.r(t);var m=n(0),v=n.n(m),S=n(5),y=n.n(S),C=n(4),j=n.n(C),x=n(6),E=n.n(x),P=n(2),D=n.n(P),R=n(1),L=n.n(R);n(8);function Z(O,F){return a(O)||function(K,V){var B=[],w=!0,J=!1,Q=void 0;try{for(var ee,me=K[Symbol.iterator]();!(w=(ee=me.next()).done)&&(B.push(ee.value),!V||B.length!==V);w=!0);}catch(de){J=!0,Q=de}finally{try{w||me.return==null||me.return()}finally{if(J)throw Q}}return B}(O,F)||s()}var ce=[["Afghanistan",["asia"],"af","93"],["Albania",["europe"],"al","355"],["Algeria",["africa","north-africa"],"dz","213"],["Andorra",["europe"],"ad","376"],["Angola",["africa"],"ao","244"],["Antigua and Barbuda",["america","carribean"],"ag","1268"],["Argentina",["america","south-america"],"ar","54","(..) ........",0,["11","221","223","261","264","2652","280","2905","291","2920","2966","299","341","342","343","351","376","379","381","3833","385","387","388"]],["Armenia",["asia","ex-ussr"],"am","374",".. ......"],["Aruba",["america","carribean"],"aw","297"],["Australia",["oceania"],"au","61","(..) .... ....",0,["2","3","4","7","8","02","03","04","07","08"]],["Austria",["europe","eu-union"],"at","43"],["Azerbaijan",["asia","ex-ussr"],"az","994","(..) ... .. .."],["Bahamas",["america","carribean"],"bs","1242"],["Bahrain",["middle-east"],"bh","973"],["Bangladesh",["asia"],"bd","880"],["Barbados",["america","carribean"],"bb","1246"],["Belarus",["europe","ex-ussr"],"by","375","(..) ... .. .."],["Belgium",["europe","eu-union"],"be","32","... .. .. .."],["Belize",["america","central-america"],"bz","501"],["Benin",["africa"],"bj","229"],["Bhutan",["asia"],"bt","975"],["Bolivia",["america","south-america"],"bo","591"],["Bosnia and Herzegovina",["europe","ex-yugos"],"ba","387"],["Botswana",["africa"],"bw","267"],["Brazil",["america","south-america"],"br","55","(..) ........."],["British Indian Ocean Territory",["asia"],"io","246"],["Brunei",["asia"],"bn","673"],["Bulgaria",["europe","eu-union"],"bg","359"],["Burkina Faso",["africa"],"bf","226"],["Burundi",["africa"],"bi","257"],["Cambodia",["asia"],"kh","855"],["Cameroon",["africa"],"cm","237"],["Canada",["america","north-america"],"ca","1","(...) ...-....",1,["204","226","236","249","250","289","306","343","365","387","403","416","418","431","437","438","450","506","514","519","548","579","581","587","604","613","639","647","672","705","709","742","778","780","782","807","819","825","867","873","902","905"]],["Cape Verde",["africa"],"cv","238"],["Caribbean Netherlands",["america","carribean"],"bq","599","",1],["Central African Republic",["africa"],"cf","236"],["Chad",["africa"],"td","235"],["Chile",["america","south-america"],"cl","56"],["China",["asia"],"cn","86","..-........."],["Colombia",["america","south-america"],"co","57","... ... ...."],["Comoros",["africa"],"km","269"],["Congo",["africa"],"cd","243"],["Congo",["africa"],"cg","242"],["Costa Rica",["america","central-america"],"cr","506","....-...."],["Côte d’Ivoire",["africa"],"ci","225",".. .. .. .."],["Croatia",["europe","eu-union","ex-yugos"],"hr","385"],["Cuba",["america","carribean"],"cu","53"],["Curaçao",["america","carribean"],"cw","599","",0],["Cyprus",["europe","eu-union"],"cy","357",".. ......"],["Czech Republic",["europe","eu-union"],"cz","420","... ... ..."],["Denmark",["europe","eu-union","baltic"],"dk","45",".. .. .. .."],["Djibouti",["africa"],"dj","253"],["Dominica",["america","carribean"],"dm","1767"],["Dominican Republic",["america","carribean"],"do","1","",2,["809","829","849"]],["Ecuador",["america","south-america"],"ec","593"],["Egypt",["africa","north-africa"],"eg","20"],["El Salvador",["america","central-america"],"sv","503","....-...."],["Equatorial Guinea",["africa"],"gq","240"],["Eritrea",["africa"],"er","291"],["Estonia",["europe","eu-union","ex-ussr","baltic"],"ee","372",".... ......"],["Ethiopia",["africa"],"et","251"],["Fiji",["oceania"],"fj","679"],["Finland",["europe","eu-union","baltic"],"fi","358",".. ... .. .."],["France",["europe","eu-union"],"fr","33",". .. .. .. .."],["French Guiana",["america","south-america"],"gf","594"],["French Polynesia",["oceania"],"pf","689"],["Gabon",["africa"],"ga","241"],["Gambia",["africa"],"gm","220"],["Georgia",["asia","ex-ussr"],"ge","995"],["Germany",["europe","eu-union","baltic"],"de","49",".... ........"],["Ghana",["africa"],"gh","233"],["Greece",["europe","eu-union"],"gr","30"],["Grenada",["america","carribean"],"gd","1473"],["Guadeloupe",["america","carribean"],"gp","590","",0],["Guam",["oceania"],"gu","1671"],["Guatemala",["america","central-america"],"gt","502","....-...."],["Guinea",["africa"],"gn","224"],["Guinea-Bissau",["africa"],"gw","245"],["Guyana",["america","south-america"],"gy","592"],["Haiti",["america","carribean"],"ht","509","....-...."],["Honduras",["america","central-america"],"hn","504"],["Hong Kong",["asia"],"hk","852",".... ...."],["Hungary",["europe","eu-union"],"hu","36"],["Iceland",["europe"],"is","354","... ...."],["India",["asia"],"in","91",".....-....."],["Indonesia",["asia"],"id","62"],["Iran",["middle-east"],"ir","98","... ... ...."],["Iraq",["middle-east"],"iq","964"],["Ireland",["europe","eu-union"],"ie","353",".. ......."],["Israel",["middle-east"],"il","972","... ... ...."],["Italy",["europe","eu-union"],"it","39","... .......",0],["Jamaica",["america","carribean"],"jm","1876"],["Japan",["asia"],"jp","81",".. .... ...."],["Jordan",["middle-east"],"jo","962"],["Kazakhstan",["asia","ex-ussr"],"kz","7","... ...-..-..",1,["310","311","312","313","315","318","321","324","325","326","327","336","7172","73622"]],["Kenya",["africa"],"ke","254"],["Kiribati",["oceania"],"ki","686"],["Kosovo",["europe","ex-yugos"],"xk","383"],["Kuwait",["middle-east"],"kw","965"],["Kyrgyzstan",["asia","ex-ussr"],"kg","996","... ... ..."],["Laos",["asia"],"la","856"],["Latvia",["europe","eu-union","ex-ussr","baltic"],"lv","371",".. ... ..."],["Lebanon",["middle-east"],"lb","961"],["Lesotho",["africa"],"ls","266"],["Liberia",["africa"],"lr","231"],["Libya",["africa","north-africa"],"ly","218"],["Liechtenstein",["europe"],"li","423"],["Lithuania",["europe","eu-union","ex-ussr","baltic"],"lt","370"],["Luxembourg",["europe","eu-union"],"lu","352"],["Macau",["asia"],"mo","853"],["Macedonia",["europe","ex-yugos"],"mk","389"],["Madagascar",["africa"],"mg","261"],["Malawi",["africa"],"mw","265"],["Malaysia",["asia"],"my","60","..-....-...."],["Maldives",["asia"],"mv","960"],["Mali",["africa"],"ml","223"],["Malta",["europe","eu-union"],"mt","356"],["Marshall Islands",["oceania"],"mh","692"],["Martinique",["america","carribean"],"mq","596"],["Mauritania",["africa"],"mr","222"],["Mauritius",["africa"],"mu","230"],["Mexico",["america","central-america"],"mx","52","... ... ....",0,["55","81","33","656","664","998","774","229"]],["Micronesia",["oceania"],"fm","691"],["Moldova",["europe"],"md","373","(..) ..-..-.."],["Monaco",["europe"],"mc","377"],["Mongolia",["asia"],"mn","976"],["Montenegro",["europe","ex-yugos"],"me","382"],["Morocco",["africa","north-africa"],"ma","212"],["Mozambique",["africa"],"mz","258"],["Myanmar",["asia"],"mm","95"],["Namibia",["africa"],"na","264"],["Nauru",["africa"],"nr","674"],["Nepal",["asia"],"np","977"],["Netherlands",["europe","eu-union"],"nl","31",".. ........"],["New Caledonia",["oceania"],"nc","687"],["New Zealand",["oceania"],"nz","64","...-...-...."],["Nicaragua",["america","central-america"],"ni","505"],["Niger",["africa"],"ne","227"],["Nigeria",["africa"],"ng","234"],["North Korea",["asia"],"kp","850"],["Norway",["europe","baltic"],"no","47","... .. ..."],["Oman",["middle-east"],"om","968"],["Pakistan",["asia"],"pk","92","...-......."],["Palau",["oceania"],"pw","680"],["Palestine",["middle-east"],"ps","970"],["Panama",["america","central-america"],"pa","507"],["Papua New Guinea",["oceania"],"pg","675"],["Paraguay",["america","south-america"],"py","595"],["Peru",["america","south-america"],"pe","51"],["Philippines",["asia"],"ph","63",".... ......."],["Poland",["europe","eu-union","baltic"],"pl","48","...-...-..."],["Portugal",["europe","eu-union"],"pt","351"],["Puerto Rico",["america","carribean"],"pr","1","",3,["787","939"]],["Qatar",["middle-east"],"qa","974"],["Réunion",["africa"],"re","262"],["Romania",["europe","eu-union"],"ro","40"],["Russia",["europe","asia","ex-ussr","baltic"],"ru","7","(...) ...-..-..",0],["Rwanda",["africa"],"rw","250"],["Saint Kitts and Nevis",["america","carribean"],"kn","1869"],["Saint Lucia",["america","carribean"],"lc","1758"],["Saint Vincent and the Grenadines",["america","carribean"],"vc","1784"],["Samoa",["oceania"],"ws","685"],["San Marino",["europe"],"sm","378"],["São Tomé and Príncipe",["africa"],"st","239"],["Saudi Arabia",["middle-east"],"sa","966"],["Senegal",["africa"],"sn","221"],["Serbia",["europe","ex-yugos"],"rs","381"],["Seychelles",["africa"],"sc","248"],["Sierra Leone",["africa"],"sl","232"],["Singapore",["asia"],"sg","65","....-...."],["Slovakia",["europe","eu-union"],"sk","421"],["Slovenia",["europe","eu-union","ex-yugos"],"si","386"],["Solomon Islands",["oceania"],"sb","677"],["Somalia",["africa"],"so","252"],["South Africa",["africa"],"za","27"],["South Korea",["asia"],"kr","82","... .... ...."],["South Sudan",["africa","north-africa"],"ss","211"],["Spain",["europe","eu-union"],"es","34","... ... ..."],["Sri Lanka",["asia"],"lk","94"],["Sudan",["africa"],"sd","249"],["Suriname",["america","south-america"],"sr","597"],["Swaziland",["africa"],"sz","268"],["Sweden",["europe","eu-union","baltic"],"se","46","(...) ...-..."],["Switzerland",["europe"],"ch","41",".. ... .. .."],["Syria",["middle-east"],"sy","963"],["Taiwan",["asia"],"tw","886"],["Tajikistan",["asia","ex-ussr"],"tj","992"],["Tanzania",["africa"],"tz","255"],["Thailand",["asia"],"th","66"],["Timor-Leste",["asia"],"tl","670"],["Togo",["africa"],"tg","228"],["Tonga",["oceania"],"to","676"],["Trinidad and Tobago",["america","carribean"],"tt","1868"],["Tunisia",["africa","north-africa"],"tn","216"],["Turkey",["europe"],"tr","90","... ... .. .."],["Turkmenistan",["asia","ex-ussr"],"tm","993"],["Tuvalu",["asia"],"tv","688"],["Uganda",["africa"],"ug","256"],["Ukraine",["europe","ex-ussr"],"ua","380","(..) ... .. .."],["United Arab Emirates",["middle-east"],"ae","971"],["United Kingdom",["europe","eu-union"],"gb","44",".... ......"],["United States",["america","north-america"],"us","1","(...) ...-....",0,["907","205","251","256","334","479","501","870","480","520","602","623","928","209","213","310","323","408","415","510","530","559","562","619","626","650","661","707","714","760","805","818","831","858","909","916","925","949","951","303","719","970","203","860","202","302","239","305","321","352","386","407","561","727","772","813","850","863","904","941","954","229","404","478","706","770","912","808","319","515","563","641","712","208","217","309","312","618","630","708","773","815","847","219","260","317","574","765","812","316","620","785","913","270","502","606","859","225","318","337","504","985","413","508","617","781","978","301","410","207","231","248","269","313","517","586","616","734","810","906","989","218","320","507","612","651","763","952","314","417","573","636","660","816","228","601","662","406","252","336","704","828","910","919","701","308","402","603","201","609","732","856","908","973","505","575","702","775","212","315","516","518","585","607","631","716","718","845","914","216","330","419","440","513","614","740","937","405","580","918","503","541","215","412","570","610","717","724","814","401","803","843","864","605","423","615","731","865","901","931","210","214","254","281","325","361","409","432","512","713","806","817","830","903","915","936","940","956","972","979","435","801","276","434","540","703","757","804","802","206","253","360","425","509","262","414","608","715","920","304","307"]],["Uruguay",["america","south-america"],"uy","598"],["Uzbekistan",["asia","ex-ussr"],"uz","998",".. ... .. .."],["Vanuatu",["oceania"],"vu","678"],["Vatican City",["europe"],"va","39",".. .... ....",1],["Venezuela",["america","south-america"],"ve","58"],["Vietnam",["asia"],"vn","84"],["Yemen",["middle-east"],"ye","967"],["Zambia",["africa"],"zm","260"],["Zimbabwe",["africa"],"zw","263"]],ae=[["American Samoa",["oceania"],"as","1684"],["Anguilla",["america","carribean"],"ai","1264"],["Bermuda",["america","north-america"],"bm","1441"],["British Virgin Islands",["america","carribean"],"vg","1284"],["Cayman Islands",["america","carribean"],"ky","1345"],["Cook Islands",["oceania"],"ck","682"],["Falkland Islands",["america","south-america"],"fk","500"],["Faroe Islands",["europe"],"fo","298"],["Gibraltar",["europe"],"gi","350"],["Greenland",["america"],"gl","299"],["Jersey",["europe","eu-union"],"je","44",".... ......"],["Montserrat",["america","carribean"],"ms","1664"],["Niue",["asia"],"nu","683"],["Norfolk Island",["oceania"],"nf","672"],["Northern Mariana Islands",["oceania"],"mp","1670"],["Saint Barthélemy",["america","carribean"],"bl","590","",1],["Saint Helena",["africa"],"sh","290"],["Saint Martin",["america","carribean"],"mf","590","",2],["Saint Pierre and Miquelon",["america","north-america"],"pm","508"],["Sint Maarten",["america","carribean"],"sx","1721"],["Tokelau",["oceania"],"tk","690"],["Turks and Caicos Islands",["america","carribean"],"tc","1649"],["U.S. Virgin Islands",["america","carribean"],"vi","1340"],["Wallis and Futuna",["oceania"],"wf","681"]];function z(O,F,K,V,B){return!K||B?O+"".padEnd(F.length,".")+" "+V:O+"".padEnd(F.length,".")+" "+K}function Y(O,F,K,V,B){var w,J,Q=[];return J=F===!0,[(w=[]).concat.apply(w,i(O.map(function(ee){var me={name:ee[0],regions:ee[1],iso2:ee[2],countryCode:ee[3],dialCode:ee[3],format:z(K,ee[3],ee[4],V,B),priority:ee[5]||0},de=[];return ee[6]&&ee[6].map(function(ke){var H=function(Te){for(var De=1;De<arguments.length;De++){var A=arguments[De]!=null?arguments[De]:{},q=Object.keys(A);typeof Object.getOwnPropertySymbols=="function"&&(q=q.concat(Object.getOwnPropertySymbols(A).filter(function(re){return Object.getOwnPropertyDescriptor(A,re).enumerable}))),q.forEach(function(re){r(Te,re,A[re])})}return Te}({},me);H.dialCode=ee[3]+ke,H.isAreaCode=!0,H.areaCodeLength=ke.length,de.push(H)}),de.length>0?(me.mainCode=!0,J||F.constructor.name==="Array"&&F.includes(ee[2])?(me.hasAreaCodes=!0,[me].concat(de)):(Q=Q.concat(de),[me])):[me]}))),Q]}function G(O,F,K,V){if(K!==null){var B=Object.keys(K),w=Object.values(K);B.forEach(function(J,Q){if(V)return O.push([J,w[Q]]);var ee=O.findIndex(function(de){return de[0]===J});if(ee===-1){var me=[J];me[F]=w[Q],O.push(me)}else O[ee][F]=w[Q]})}}function N(O,F){return F.length===0?O:O.map(function(K){var V=F.findIndex(function(w){return w[0]===K[2]});if(V===-1)return K;var B=F[V];return B[1]&&(K[4]=B[1]),B[3]&&(K[5]=B[3]),B[2]&&(K[6]=B[2]),K})}var ue=function O(F,K,V,B,w,J,Q,ee,me,de,ke,H,Te,De){l(this,O),this.filterRegions=function(fe,U){if(typeof fe=="string"){var oe=fe;return U.filter(function(ie){return ie.regions.some(function(se){return se===oe})})}return U.filter(function(ie){return fe.map(function(se){return ie.regions.some(function(Ie){return Ie===se})}).some(function(se){return se})})},this.sortTerritories=function(fe,U){var oe=[].concat(i(fe),i(U));return oe.sort(function(ie,se){return ie.name<se.name?-1:ie.name>se.name?1:0}),oe},this.getFilteredCountryList=function(fe,U,oe){return fe.length===0?U:oe?fe.map(function(ie){var se=U.find(function(Ie){return Ie.iso2===ie});if(se)return se}).filter(function(ie){return ie}):U.filter(function(ie){return fe.some(function(se){return se===ie.iso2})})},this.localizeCountries=function(fe,U,oe){for(var ie=0;ie<fe.length;ie++)U[fe[ie].iso2]!==void 0?fe[ie].localName=U[fe[ie].iso2]:U[fe[ie].name]!==void 0&&(fe[ie].localName=U[fe[ie].name]);return oe||fe.sort(function(se,Ie){return se.localName<Ie.localName?-1:se.localName>Ie.localName?1:0}),fe},this.getCustomAreas=function(fe,U){for(var oe=[],ie=0;ie<U.length;ie++){var se=JSON.parse(JSON.stringify(fe));se.dialCode+=U[ie],oe.push(se)}return oe},this.excludeCountries=function(fe,U){return U.length===0?fe:fe.filter(function(oe){return!U.includes(oe.iso2)})};var A=function(fe,U,oe){var ie=[];return G(ie,1,fe,!0),G(ie,3,U),G(ie,2,oe),ie}(ee,me,de),q=N(JSON.parse(JSON.stringify(ce)),A),re=N(JSON.parse(JSON.stringify(ae)),A),xe=Z(Y(q,F,H,Te,De),2),ge=xe[0],ve=xe[1];if(K){var je=Z(Y(re,F,H,Te,De),2),$e=je[0];je[1],ge=this.sortTerritories($e,ge)}V&&(ge=this.filterRegions(V,ge)),this.onlyCountries=this.localizeCountries(this.excludeCountries(this.getFilteredCountryList(B,ge,Q.includes("onlyCountries")),J),ke,Q.includes("onlyCountries")),this.preferredCountries=w.length===0?[]:this.localizeCountries(this.getFilteredCountryList(w,ge,Q.includes("preferredCountries")),ke,Q.includes("preferredCountries")),this.hiddenAreaCodes=this.excludeCountries(this.getFilteredCountryList(B,ve),J)},he=function(O){function F(B){var w;l(this,F),(w=function(A,q){return!q||f(q)!=="object"&&typeof q!="function"?p(A):q}(this,h(F).call(this,B))).getProbableCandidate=j()(function(A){return A&&A.length!==0?w.state.onlyCountries.filter(function(q){return D()(q.name.toLowerCase(),A.toLowerCase())},p(p(w)))[0]:null}),w.guessSelectedCountry=j()(function(A,q,re,xe){var ge;if(w.props.enableAreaCodes===!1&&(xe.some(function($e){if(D()(A,$e.dialCode))return re.some(function(fe){if($e.iso2===fe.iso2&&fe.mainCode)return ge=fe,!0}),!0}),ge))return ge;var ve=re.find(function($e){return $e.iso2==q});if(A.trim()==="")return ve;var je=re.reduce(function($e,fe){return D()(A,fe.dialCode)&&(fe.dialCode.length>$e.dialCode.length||fe.dialCode.length===$e.dialCode.length&&fe.priority<$e.priority)?fe:$e},{dialCode:"",priority:10001},p(p(w)));return je.name?je:ve}),w.updateCountry=function(A){var q,re=w.state.onlyCountries;(q=A.indexOf(0)>="0"&&A.indexOf(0)<="9"?re.find(function(xe){return xe.dialCode==+A}):re.find(function(xe){return xe.iso2==A}))&&q.dialCode&&w.setState({selectedCountry:q,formattedNumber:w.props.disableCountryCode?"":w.formatNumber(q.dialCode,q)})},w.scrollTo=function(A,q){if(A){var re=w.dropdownRef;if(re&&document.body){var xe=re.offsetHeight,ge=re.getBoundingClientRect().top+document.body.scrollTop,ve=ge+xe,je=A,$e=je.getBoundingClientRect(),fe=je.offsetHeight,U=$e.top+document.body.scrollTop,oe=U+fe,ie=U-ge+re.scrollTop,se=xe/2-fe/2;if(w.props.enableSearch?U<ge+32:U<ge)q&&(ie-=se),re.scrollTop=ie;else if(oe>ve){q&&(ie+=se);var Ie=xe-fe;re.scrollTop=ie-Ie}}}},w.scrollToTop=function(){var A=w.dropdownRef;A&&document.body&&(A.scrollTop=0)},w.formatNumber=function(A,q){if(!q)return A;var re,xe=q.format,ge=w.props,ve=ge.disableCountryCode,je=ge.enableAreaCodeStretch,$e=ge.enableLongNumbers,fe=ge.autoFormat;if(ve?((re=xe.split(" ")).shift(),re=re.join(" ")):je&&q.isAreaCode?((re=xe.split(" "))[1]=re[1].replace(/\.+/,"".padEnd(q.areaCodeLength,".")),re=re.join(" ")):re=xe,!A||A.length===0)return ve?"":w.props.prefix;if(A&&A.length<2||!re||!fe)return ve?A:w.props.prefix+A;var U,oe=E()(re,function(ie,se){if(ie.remainingText.length===0)return ie;if(se!==".")return{formattedText:ie.formattedText+se,remainingText:ie.remainingText};var Ie,bt=a(Ie=ie.remainingText)||o(Ie)||s(),ot=bt[0],_t=bt.slice(1);return{formattedText:ie.formattedText+ot,remainingText:_t}},{formattedText:"",remainingText:A.split("")});return(U=$e?oe.formattedText+oe.remainingText.join(""):oe.formattedText).includes("(")&&!U.includes(")")&&(U+=")"),U},w.cursorToEnd=function(){var A=w.numberInputRef;if(document.activeElement===A){A.focus();var q=A.value.length;A.value.charAt(q-1)===")"&&(q-=1),A.setSelectionRange(q,q)}},w.getElement=function(A){return w["flag_no_".concat(A)]},w.getCountryData=function(){return w.state.selectedCountry?{name:w.state.selectedCountry.name||"",dialCode:w.state.selectedCountry.dialCode||"",countryCode:w.state.selectedCountry.iso2||"",format:w.state.selectedCountry.format||""}:{}},w.handleFlagDropdownClick=function(A){if(A.preventDefault(),w.state.showDropdown||!w.props.disabled){var q=w.state,re=q.preferredCountries,xe=q.onlyCountries,ge=q.selectedCountry,ve=w.concatPreferredCountries(re,xe).findIndex(function(je){return je.dialCode===ge.dialCode&&je.iso2===ge.iso2});w.setState({showDropdown:!w.state.showDropdown,highlightCountryIndex:ve},function(){w.state.showDropdown&&w.scrollTo(w.getElement(w.state.highlightCountryIndex))})}},w.handleInput=function(A){var q=A.target.value,re=w.props,xe=re.prefix,ge=re.onChange,ve=w.props.disableCountryCode?"":xe,je=w.state.selectedCountry,$e=w.state.freezeSelection;if(!w.props.countryCodeEditable){var fe=xe+(je.hasAreaCodes?w.state.onlyCountries.find(function(lt){return lt.iso2===je.iso2&<.mainCode}).dialCode:je.dialCode);if(q.slice(0,fe.length)!==fe)return}if(q===xe)return ge&&ge("",w.getCountryData(),A,""),w.setState({formattedNumber:""});if(!(q.replace(/\D/g,"").length>15&&(w.props.enableLongNumbers===!1||typeof w.props.enableLongNumbers=="number"&&q.replace(/\D/g,"").length>w.props.enableLongNumbers))&&q!==w.state.formattedNumber){A.preventDefault?A.preventDefault():A.returnValue=!1;var U=w.props.country,oe=w.state,ie=oe.onlyCountries,se=oe.selectedCountry,Ie=oe.hiddenAreaCodes;if(ge&&A.persist(),q.length>0){var bt=q.replace(/\D/g,"");(!w.state.freezeSelection||se&&se.dialCode.length>bt.length)&&(je=w.props.disableCountryGuess?se:w.guessSelectedCountry(bt.substring(0,6),U,ie,Ie)||se,$e=!1),ve=w.formatNumber(bt,je),je=je.dialCode?je:se}var ot=A.target.selectionStart,_t=A.target.selectionStart,$t=w.state.formattedNumber,Qt=ve.length-$t.length;w.setState({formattedNumber:ve,freezeSelection:$e,selectedCountry:je},function(){Qt>0&&(_t-=Qt),ve.charAt(ve.length-1)==")"?w.numberInputRef.setSelectionRange(ve.length-1,ve.length-1):_t>0&&$t.length>=ve.length?w.numberInputRef.setSelectionRange(_t,_t):ot<$t.length&&w.numberInputRef.setSelectionRange(ot,ot),ge&&ge(ve.replace(/[^0-9]+/g,""),w.getCountryData(),A,ve)})}},w.handleInputClick=function(A){w.setState({showDropdown:!1}),w.props.onClick&&w.props.onClick(A,w.getCountryData())},w.handleDoubleClick=function(A){var q=A.target.value.length;A.target.setSelectionRange(0,q)},w.handleFlagItemClick=function(A,q){var re=w.state.selectedCountry,xe=w.state.onlyCountries.find(function($e){return $e==A});if(xe){var ge=w.state.formattedNumber.replace(" ","").replace("(","").replace(")","").replace("-",""),ve=ge.length>1?ge.replace(re.dialCode,xe.dialCode):xe.dialCode,je=w.formatNumber(ve.replace(/\D/g,""),xe);w.setState({showDropdown:!1,selectedCountry:xe,freezeSelection:!0,formattedNumber:je,searchValue:""},function(){w.cursorToEnd(),w.props.onChange&&w.props.onChange(je.replace(/[^0-9]+/g,""),w.getCountryData(),q,je)})}},w.handleInputFocus=function(A){w.numberInputRef&&w.numberInputRef.value===w.props.prefix&&w.state.selectedCountry&&!w.props.disableCountryCode&&w.setState({formattedNumber:w.props.prefix+w.state.selectedCountry.dialCode},function(){w.props.jumpCursorToEnd&&setTimeout(w.cursorToEnd,0)}),w.setState({placeholder:""}),w.props.onFocus&&w.props.onFocus(A,w.getCountryData()),w.props.jumpCursorToEnd&&setTimeout(w.cursorToEnd,0)},w.handleInputBlur=function(A){A.target.value||w.setState({placeholder:w.props.placeholder}),w.props.onBlur&&w.props.onBlur(A,w.getCountryData())},w.handleInputCopy=function(A){if(w.props.copyNumbersOnly){var q=window.getSelection().toString().replace(/[^0-9]+/g,"");A.clipboardData.setData("text/plain",q),A.preventDefault()}},w.getHighlightCountryIndex=function(A){var q=w.state.highlightCountryIndex+A;return q<0||q>=w.state.onlyCountries.length+w.state.preferredCountries.length?q-A:w.props.enableSearch&&q>w.getSearchFilteredCountries().length?0:q},w.searchCountry=function(){var A=w.getProbableCandidate(w.state.queryString)||w.state.onlyCountries[0],q=w.state.onlyCountries.findIndex(function(re){return re==A})+w.state.preferredCountries.length;w.scrollTo(w.getElement(q),!0),w.setState({queryString:"",highlightCountryIndex:q})},w.handleKeydown=function(A){var q=w.props.keys,re=A.target.className;if(re.includes("selected-flag")&&A.which===q.ENTER&&!w.state.showDropdown)return w.handleFlagDropdownClick(A);if(re.includes("form-control")&&(A.which===q.ENTER||A.which===q.ESC))return A.target.blur();if(w.state.showDropdown&&!w.props.disabled&&(!re.includes("search-box")||A.which===q.UP||A.which===q.DOWN||A.which===q.ENTER||A.which===q.ESC&&A.target.value==="")){A.preventDefault?A.preventDefault():A.returnValue=!1;var xe=function(ge){w.setState({highlightCountryIndex:w.getHighlightCountryIndex(ge)},function(){w.scrollTo(w.getElement(w.state.highlightCountryIndex),!0)})};switch(A.which){case q.DOWN:xe(1);break;case q.UP:xe(-1);break;case q.ENTER:w.props.enableSearch?w.handleFlagItemClick(w.getSearchFilteredCountries()[w.state.highlightCountryIndex]||w.getSearchFilteredCountries()[0],A):w.handleFlagItemClick([].concat(i(w.state.preferredCountries),i(w.state.onlyCountries))[w.state.highlightCountryIndex],A);break;case q.ESC:case q.TAB:w.setState({showDropdown:!1},w.cursorToEnd);break;default:(A.which>=q.A&&A.which<=q.Z||A.which===q.SPACE)&&w.setState({queryString:w.state.queryString+String.fromCharCode(A.which)},w.state.debouncedQueryStingSearcher)}}},w.handleInputKeyDown=function(A){var q=w.props,re=q.keys,xe=q.onEnterKeyPress,ge=q.onKeyDown;A.which===re.ENTER&&xe&&xe(A),ge&&ge(A)},w.handleClickOutside=function(A){w.dropdownRef&&!w.dropdownContainerRef.contains(A.target)&&w.state.showDropdown&&w.setState({showDropdown:!1})},w.handleSearchChange=function(A){var q=A.currentTarget.value,re=w.state,xe=re.preferredCountries,ge=re.selectedCountry,ve=0;if(q===""&&ge){var je=w.state.onlyCountries;ve=w.concatPreferredCountries(xe,je).findIndex(function($e){return $e==ge}),setTimeout(function(){return w.scrollTo(w.getElement(ve))},100)}w.setState({searchValue:q,highlightCountryIndex:ve})},w.concatPreferredCountries=function(A,q){return A.length>0?i(new Set(A.concat(q))):q},w.getDropdownCountryName=function(A){return A.localName||A.name},w.getSearchFilteredCountries=function(){var A=w.state,q=A.preferredCountries,re=A.onlyCountries,xe=A.searchValue,ge=w.props.enableSearch,ve=w.concatPreferredCountries(q,re),je=xe.trim().toLowerCase().replace("+","");if(ge&&je){if(/^\d+$/.test(je))return ve.filter(function(U){var oe=U.dialCode;return["".concat(oe)].some(function(ie){return ie.toLowerCase().includes(je)})});var $e=ve.filter(function(U){var oe=U.iso2;return["".concat(oe)].some(function(ie){return ie.toLowerCase().includes(je)})}),fe=ve.filter(function(U){var oe=U.name,ie=U.localName;return U.iso2,["".concat(oe),"".concat(ie||"")].some(function(se){return se.toLowerCase().includes(je)})});return w.scrollToTop(),i(new Set([].concat($e,fe)))}return ve},w.getCountryDropdownList=function(){var A=w.state,q=A.preferredCountries,re=A.highlightCountryIndex,xe=A.showDropdown,ge=A.searchValue,ve=w.props,je=ve.disableDropdown,$e=ve.prefix,fe=w.props,U=fe.enableSearch,oe=fe.searchNotFound,ie=fe.disableSearchIcon,se=fe.searchClass,Ie=fe.searchStyle,bt=fe.searchPlaceholder,ot=fe.autocompleteSearch,_t=w.getSearchFilteredCountries().map(function(lt,Mt){var Zt=re===Mt,Bn=L()({country:!0,preferred:lt.iso2==="us"||lt.iso2==="gb",active:lt.iso2==="us",highlight:Zt}),fn="flag ".concat(lt.iso2);return v.a.createElement("li",Object.assign({ref:function(xn){return w["flag_no_".concat(Mt)]=xn},key:"flag_no_".concat(Mt),"data-flag-key":"flag_no_".concat(Mt),className:Bn,"data-dial-code":"1",tabIndex:je?"-1":"0","data-country-code":lt.iso2,onClick:function(xn){return w.handleFlagItemClick(lt,xn)},role:"option"},Zt?{"aria-selected":!0}:{}),v.a.createElement("div",{className:fn}),v.a.createElement("span",{className:"country-name"},w.getDropdownCountryName(lt)),v.a.createElement("span",{className:"dial-code"},lt.format?w.formatNumber(lt.dialCode,lt):$e+lt.dialCode))}),$t=v.a.createElement("li",{key:"dashes",className:"divider"});q.length>0&&(!U||U&&!ge.trim())&&_t.splice(q.length,0,$t);var Qt=L()(r({"country-list":!0,hide:!xe},w.props.dropdownClass,!0));return v.a.createElement("ul",{ref:function(lt){return!U&<&<.focus(),w.dropdownRef=lt},className:Qt,style:w.props.dropdownStyle,role:"listbox",tabIndex:"0"},U&&v.a.createElement("li",{className:L()(r({search:!0},se,se))},!ie&&v.a.createElement("span",{className:L()(r({"search-emoji":!0},"".concat(se,"-emoji"),se)),role:"img","aria-label":"Magnifying glass"},"🔎"),v.a.createElement("input",{className:L()(r({"search-box":!0},"".concat(se,"-box"),se)),style:Ie,type:"search",placeholder:bt,autoFocus:!0,autoComplete:ot?"on":"off",value:ge,onChange:w.handleSearchChange})),_t.length>0?_t:v.a.createElement("li",{className:"no-entries-message"},v.a.createElement("span",null,oe)))};var J,Q=new ue(B.enableAreaCodes,B.enableTerritories,B.regions,B.onlyCountries,B.preferredCountries,B.excludeCountries,B.preserveOrder,B.masks,B.priority,B.areaCodes,B.localization,B.prefix,B.defaultMask,B.alwaysDefaultMask),ee=Q.onlyCountries,me=Q.preferredCountries,de=Q.hiddenAreaCodes,ke=B.value?B.value.replace(/\D/g,""):"";J=B.disableInitialCountryGuess?0:ke.length>1?w.guessSelectedCountry(ke.substring(0,6),B.country,ee,de)||0:B.country&&ee.find(function(A){return A.iso2==B.country})||0;var H,Te=ke.length<2&&J&&!D()(ke,J.dialCode)?J.dialCode:"";H=ke===""&&J===0?"":w.formatNumber((B.disableCountryCode?"":Te)+ke,J.name?J:void 0);var De=ee.findIndex(function(A){return A==J});return w.state={showDropdown:B.showDropdown,formattedNumber:H,onlyCountries:ee,preferredCountries:me,hiddenAreaCodes:de,selectedCountry:J,highlightCountryIndex:De,queryString:"",freezeSelection:!1,debouncedQueryStingSearcher:y()(w.searchCountry,250),searchValue:""},w}var K,V;return function(B,w){if(typeof w!="function"&&w!==null)throw new TypeError("Super expression must either be null or a function");B.prototype=Object.create(w&&w.prototype,{constructor:{value:B,writable:!0,configurable:!0}}),w&&b(B,w)}(F,O),K=F,(V=[{key:"componentDidMount",value:function(){document.addEventListener&&this.props.enableClickOutside&&document.addEventListener("mousedown",this.handleClickOutside),this.props.onMount&&this.props.onMount(this.state.formattedNumber.replace(/[^0-9]+/g,""),this.getCountryData(),this.state.formattedNumber)}},{key:"componentWillUnmount",value:function(){document.removeEventListener&&this.props.enableClickOutside&&document.removeEventListener("mousedown",this.handleClickOutside)}},{key:"componentDidUpdate",value:function(B,w,J){B.country!==this.props.country?this.updateCountry(this.props.country):B.value!==this.props.value&&this.updateFormattedNumber(this.props.value)}},{key:"updateFormattedNumber",value:function(B){if(B===null)return this.setState({selectedCountry:0,formattedNumber:""});var w=this.state,J=w.onlyCountries,Q=w.selectedCountry,ee=w.hiddenAreaCodes,me=this.props,de=me.country,ke=me.prefix;if(B==="")return this.setState({selectedCountry:Q,formattedNumber:""});var H,Te,De=B.replace(/\D/g,"");if(Q&&D()(B,ke+Q.dialCode))Te=this.formatNumber(De,Q),this.setState({formattedNumber:Te});else{var A=(H=this.props.disableCountryGuess?Q:this.guessSelectedCountry(De.substring(0,6),de,J,ee)||Q)&&D()(De,ke+H.dialCode)?H.dialCode:"";Te=this.formatNumber((this.props.disableCountryCode?"":A)+De,H||void 0),this.setState({selectedCountry:H,formattedNumber:Te})}}},{key:"render",value:function(){var B,w,J,Q=this,ee=this.state,me=ee.onlyCountries,de=ee.selectedCountry,ke=ee.showDropdown,H=ee.formattedNumber,Te=ee.hiddenAreaCodes,De=this.props,A=De.disableDropdown,q=De.renderStringAsFlag,re=De.isValid,xe=De.defaultErrorMessage,ge=De.specialLabel;if(typeof re=="boolean")w=re;else{var ve=re(H.replace(/\D/g,""),de,me,Te);typeof ve=="boolean"?(w=ve)===!1&&(J=xe):(w=!1,J=ve)}var je=L()((r(B={},this.props.containerClass,!0),r(B,"react-tel-input",!0),B)),$e=L()({arrow:!0,up:ke}),fe=L()(r({"form-control":!0,"invalid-number":!w,open:ke},this.props.inputClass,!0)),U=L()({"selected-flag":!0,open:ke}),oe=L()(r({"flag-dropdown":!0,"invalid-number":!w,open:ke},this.props.buttonClass,!0)),ie="flag ".concat(de&&de.iso2);return v.a.createElement("div",{className:"".concat(je," ").concat(this.props.className),style:this.props.style||this.props.containerStyle,onKeyDown:this.handleKeydown},ge&&v.a.createElement("div",{className:"special-label"},ge),J&&v.a.createElement("div",{className:"invalid-number-message"},J),v.a.createElement("input",Object.assign({className:fe,style:this.props.inputStyle,onChange:this.handleInput,onClick:this.handleInputClick,onDoubleClick:this.handleDoubleClick,onFocus:this.handleInputFocus,onBlur:this.handleInputBlur,onCopy:this.handleInputCopy,value:H,onKeyDown:this.handleInputKeyDown,placeholder:this.props.placeholder,disabled:this.props.disabled,type:"tel"},this.props.inputProps,{ref:function(se){Q.numberInputRef=se,typeof Q.props.inputProps.ref=="function"?Q.props.inputProps.ref(se):typeof Q.props.inputProps.ref=="object"&&(Q.props.inputProps.ref.current=se)}})),v.a.createElement("div",{className:oe,style:this.props.buttonStyle,ref:function(se){return Q.dropdownContainerRef=se}},q?v.a.createElement("div",{className:U},q):v.a.createElement("div",{onClick:A?void 0:this.handleFlagDropdownClick,className:U,title:de?"".concat(de.localName||de.name,": + ").concat(de.dialCode):"",tabIndex:A?"-1":"0",role:"button","aria-haspopup":"listbox","aria-expanded":!!ke||void 0},v.a.createElement("div",{className:ie},!A&&v.a.createElement("div",{className:$e}))),ke&&this.getCountryDropdownList()))}}])&&c(K.prototype,V),F}(v.a.Component);he.defaultProps={country:"",value:"",onlyCountries:[],preferredCountries:[],excludeCountries:[],placeholder:"1 (702) 123-4567",searchPlaceholder:"search",searchNotFound:"No entries to show",flagsImagePath:"./flags.png",disabled:!1,containerStyle:{},inputStyle:{},buttonStyle:{},dropdownStyle:{},searchStyle:{},containerClass:"",inputClass:"",buttonClass:"",dropdownClass:"",searchClass:"",className:"",autoFormat:!0,enableAreaCodes:!1,enableTerritories:!1,disableCountryCode:!1,disableDropdown:!1,enableLongNumbers:!1,countryCodeEditable:!0,enableSearch:!1,disableSearchIcon:!1,disableInitialCountryGuess:!1,disableCountryGuess:!1,regions:"",inputProps:{},localization:{},masks:null,priority:null,areaCodes:null,preserveOrder:[],defaultMask:"... ... ... ... ..",alwaysDefaultMask:!1,prefix:"+",copyNumbersOnly:!0,renderStringAsFlag:"",autocompleteSearch:!1,jumpCursorToEnd:!0,enableAreaCodeStretch:!1,enableClickOutside:!0,showDropdown:!1,isValid:!0,defaultErrorMessage:"",specialLabel:"Phone",onEnterKeyPress:null,keys:{UP:38,DOWN:40,RIGHT:39,LEFT:37,ENTER:13,ESC:27,PLUS:43,A:65,Z:90,SPACE:32,TAB:9}},t.default=he}]);const DO=Ua(IO),$O=({label:e,value:t="",onChange:n=a=>{console.log(a)},placeholder:r="Introduce tu número de teléfono",isRequired:o=!1,error:i=""})=>d.jsxs(xa,{isRequired:o,children:[e&&d.jsx(ii,{fontSize:"16px",children:e}),d.jsx(DO,{country:"es",defaultCountry:"es",regions:"europe",dropdownClass:"custom-dropdown",value:t,onChange:n,inputStyle:{width:"100%",borderRadius:"5px",height:"40px",border:i?"1px solid red":"1px solid #ccc"},dropdownStyle:{borderRadius:"5px"},placeholder:r}),i&&d.jsx(Le,{fontSize:"sm",color:"red.500",mt:1,children:i})]}),FO=({label:e="",description:t="",placeholders:n=[],values:r=[],onChange:o,dropdown:i=!1,info:a=!1,infoText:s="",product:l="info",isRequired:c=!1,isDisabled:u=!1,isReadOnly:f=!1})=>{const[p,h]=g.useState(!0),b=Jt[l],m=b[200],v=b[300],S=(y,C)=>{o&&o(y,C)};return d.jsx(qe,{children:d.jsxs(xa,{isRequired:c,children:[d.jsxs(ii,{fontSize:"16px",children:[i&&d.jsx(qt,{"aria-label":"Toggle Description",icon:p?d.jsx(q3,{}):d.jsx(lf,{}),size:"sm",variant:"ghost",onClick:()=>h(!p),_hover:{bg:"transparent"}}),e,a&&s&&d.jsx(Sl,{label:s,"aria-label":"Más información",p:"10px",borderRadius:"5px",bg:m,border:`1px solid ${v}`,color:"black.500",placement:"top",hasArrow:!0,children:d.jsx(qt,{icon:d.jsx(cf,{}),"aria-label":"Información",size:"sm",variant:"ghost",ml:2,color:"info.600"})})]}),i&&p&&t&&d.jsx(Le,{fontSize:"14px",color:"gray.500",mb:"10px",textAlign:"start",children:t}),d.jsx(ut,{wrap:"wrap",mb:2,gap:4,children:n.map((y,C)=>d.jsx(qe,{flexBasis:{base:"100%",sm:"48%"},children:d.jsx(Ta,{placeholder:y,value:r[C]||"",onChange:j=>S(C,j.target.value),bg:"white",isDisabled:u,isReadOnly:f})},C))})]})})},Sr={toast:"_toast_aqtd5_1",success:"_success_aqtd5_29",error:"_error_aqtd5_45",info:"_info_aqtd5_61",warning:"_warning_aqtd5_77",toastIcon:"_toastIcon_aqtd5_93",toastText:"_toastText_aqtd5_103",toastButton:"_toastButton_aqtd5_111",toastButtonWrapper:"_toastButtonWrapper_aqtd5_119",toastCloseButton:"_toastCloseButton_aqtd5_131",customToast:"_customToast_aqtd5_151",customContent:"_customContent_aqtd5_169"},S4=({type:e,title:t,description:n,customContent:r,onClose:o})=>{const i={success:nM,error:Z3,info:iM,warning:Z3};return e==="custom"?d.jsx("div",{className:`${Sr.toast} ${Sr.customToast}`,children:d.jsxs(ut,{direction:"row",align:"center",flex:"1",children:[r&&d.jsx("div",{className:Sr.customContent,children:r}),o&&d.jsx(ln,{className:Sr.toastCloseButton,size:"sm",position:"absolute",onClick:o,variant:"link","aria-label":"Close Toast",children:d.jsx(kl,{boxSize:4})})]})}):d.jsx("div",{className:`${Sr.toast} ${Sr[e]}`,children:d.jsxs(ut,{direction:"row",align:"center",flex:"1",children:[d.jsx(Xt,{as:i[e],className:Sr.toastIcon,boxSize:6}),d.jsxs(ut,{direction:"column",flex:"1",ml:3,children:[d.jsx(Le,{className:Sr.toastText,children:t}),n&&d.jsx(Le,{mt:1,children:n})]}),o&&d.jsx(ln,{className:Sr.toastCloseButton,size:"sm",position:"absolute",onClick:o,variant:"link","aria-label":"Close Toast",children:d.jsx(kl,{boxSize:4})})]})})},k4=()=>{const e=U3();return({type:t,title:n,description:r,duration:o=3e3,customContent:i,position:a="bottom-right"})=>{e({position:a,duration:o,render:({onClose:s})=>d.jsx(S4,{type:t,title:n,description:r,onClose:s,customContent:i})})}},zO=({message:e,userImage:t,timestamp:n,isError:r=!1,userName:o="User",type:i="text",src:a="",alt:s=""})=>d.jsxs(Nr,{justify:"flex-end",spacing:2,w:"100%",py:2,children:[d.jsxs(qe,{bg:i!=="text"?"transparent":"white.100",color:"black",borderRadius:"30px",border:r?"2px solid":"none",borderColor:r?"red.400":"transparent",px:5,py:3,maxW:"65%",boxShadow:"sm",wordBreak:"break-word",children:[i==="image"?d.jsx(qe,{maxWidth:"24.3125rem",height:"13.4375rem",children:d.jsx("img",{src:a,alt:s,style:{width:"100%",objectFit:"contain",height:"100%"}})}):d.jsx(Le,{textAlign:"right",fontSize:"md",whiteSpace:"normal",children:e}),n&&d.jsx(Le,{fontSize:"xs",color:"gray.500",textAlign:"right",mt:1,children:n})]}),d.jsx(jh,{src:t,name:o,size:"sm"})]}),LO=({width:e=24,height:t=24,color:n="#666666"})=>d.jsxs("svg",{width:e,height:t,viewBox:"0 0 22 24",fill:n,xmlns:"http://www.w3.org/2000/svg",children:[d.jsx("path",{d:"M10.7626 3.15604C11.6262 3.31919 12.4588 2.75379 12.6248 1.89021C12.7879 1.02664 12.2225 0.194002 11.359 0.0280381C10.4954 -0.135113 9.66275 0.43029 9.49679 1.29387C9.33364 2.15744 9.89904 2.99007 10.7626 3.15604Z",fill:n}),d.jsx("path",{d:"M11.9891 7.96331C15.373 8.40776 17.9947 11.3107 17.9947 14.8157C17.9947 18.6272 14.8948 21.7271 11.0805 21.7271C7.26612 21.7271 4.16625 18.6272 4.16625 14.8157C4.16625 11.3473 6.73447 8.46683 10.0706 7.97738V5.69045C6.31815 6.10114 3.24078 8.78188 2.24219 12.3262C2.58537 12.4753 2.88917 12.7594 3.12827 13.1588C3.46301 13.7158 3.65429 14.4584 3.66554 15.2517C3.68523 16.5597 3.22953 17.6511 2.52911 18.1603C3.86807 21.5752 7.19579 23.9999 11.0805 23.9999C14.9652 23.9999 18.2282 21.6202 19.5925 18.2587C19.3196 18.0956 19.0721 17.848 18.8724 17.5133C18.5376 16.9563 18.3463 16.2137 18.3351 15.4204C18.3238 14.6272 18.4926 13.8705 18.8133 13.2854C19.0946 12.7735 19.4743 12.4275 19.9075 12.2812C18.8836 8.72844 15.7697 6.05332 11.9891 5.6792V7.96613V7.96331Z",fill:n}),d.jsx("path",{d:"M2.32675 13.4795C2.24236 13.3389 2.14953 13.2207 2.05389 13.1279C1.89918 12.976 1.73603 12.8944 1.59257 12.9001C1.58132 12.9001 1.57288 12.9001 1.56163 12.9001C1.33659 12.9282 1.07499 13.1673 0.875267 13.5358C0.605224 14.0337 0.464576 14.6863 0.473015 15.3811C0.484267 16.0759 0.644605 16.7172 0.9259 17.187C1.14812 17.5527 1.42942 17.7749 1.66008 17.7665C1.84573 17.758 2.05952 17.6033 2.24799 17.3304C2.54616 16.9057 2.79089 16.194 2.77682 15.2854C2.76557 14.5906 2.60523 13.9493 2.32394 13.4795H2.32675Z",fill:n}),d.jsx("path",{d:"M21.0748 13.4795C20.8526 13.1138 20.5713 12.8916 20.3406 12.9C20.3294 12.9 20.3209 12.9 20.3097 12.9C20.2365 12.9085 20.1578 12.9422 20.0818 12.9957C19.9215 13.1025 19.7583 13.291 19.6233 13.5386C19.3533 14.0308 19.2126 14.6834 19.2211 15.3782C19.2323 16.073 19.3927 16.7144 19.6739 17.1841C19.7358 17.2882 19.8033 17.3782 19.8737 17.457C20.0509 17.6567 20.2422 17.772 20.4081 17.7636C20.8835 17.7383 21.5474 16.7678 21.5277 15.2826C21.5164 14.5878 21.3561 13.9464 21.0748 13.4767V13.4795Z",fill:n}),d.jsx("path",{d:"M7.68316 12.3741C7.02774 12.346 6.49609 13.294 6.49609 14.4923C6.49609 15.6906 7.02774 16.6864 7.68597 16.7145C8.3442 16.7427 8.87304 15.7947 8.87304 14.5964C8.87304 13.3981 8.34139 12.4023 7.68316 12.3741ZM8.09385 16.3882C7.80693 16.6555 7.39061 16.5739 7.16276 16.2082C6.93491 15.8425 6.97992 15.3277 7.26684 15.0605C7.55376 14.7933 7.97008 14.8749 8.19793 15.2405C8.42578 15.6062 8.38077 16.121 8.09385 16.3882Z",fill:n}),d.jsx("path",{d:"M13.6179 12.2306C12.9624 12.2025 12.4308 13.1504 12.4336 14.3487C12.4336 15.5471 12.9681 16.54 13.6235 16.5682C14.2789 16.5963 14.8105 15.6483 14.8077 14.45C14.8077 13.2517 14.2733 12.2587 13.6179 12.2306ZM14.006 16.2981C13.7163 16.5597 13.3 16.4753 13.0778 16.104C12.8555 15.7355 12.909 15.2208 13.1987 14.9592C13.4885 14.6975 13.9048 14.7819 14.127 15.1532C14.3492 15.5246 14.2958 16.0365 14.006 16.2981Z",fill:n}),d.jsx("path",{d:"M11.3514 7.90999V3.94373H10.7129V7.91561C10.8367 7.90998 10.9604 7.90436 11.0842 7.90436C11.1742 7.90436 11.2642 7.90717 11.3514 7.90999Z",fill:n})]}),BO=({message:e,colorTextMessage:t="#333333",color:n=Rr.colors.primary[400],isError:r=!1,thumbUp:o=!1,thumbDown:i=!1,withFeedback:a=!1,onThumbUp:s,onThumbDown:l,toastSuccessMsg:c="Text copied",isTyping:u=!1,colorCopyIcon:f="#333333",colorThumbUp:p="#333333",colorThumbDown:h="#333333"})=>{const b=r?"red.400":o?"success.400":i?"red.400":"transparent",m=a||r?"2px solid":"none",v=n||Rr.colors.primary[500],S=k4(),y=async()=>{try{typeof e=="string"&&await navigator.clipboard.writeText(e),S({type:"success",title:c,duration:2e3,position:"bottom-right"})}catch(j){console.error("Error al copiar el mensaje:",j);const x=j instanceof Error?j.message:String(j);S({type:"error",title:x,duration:2e3,position:"bottom-right"})}},C=j=>{if(typeof j=="string"){const x=/([.?!;:])\s*/g;return j.split(x).map((E,P)=>E.match(x)?d.jsxs("span",{children:[E,d.jsx("br",{})]},P):E)}return j};return d.jsxs(ar,{align:"flex-start",spacing:2,w:"100%",py:2,children:[d.jsxs(Nr,{spacing:2,w:"100%",children:[d.jsx(qe,{display:"flex",alignItems:"center",justifyContent:"center",boxSize:"34px",borderRadius:"50%",bg:v,flexShrink:0,children:d.jsx(LO,{width:20,height:20,color:Rr.colors.white[100]})}),d.jsx(qe,{bg:"transparent",color:"black",px:5,py:3,w:"100%",border:m,borderColor:b,borderRadius:"50px",children:d.jsxs(ut,{justify:"space-between",align:"center",w:"100%",children:[d.jsx(Le,{fontSize:"md",whiteSpace:"pre-wrap",wordBreak:"break-word",w:"85%",textAlign:"left",color:t||"#333333",children:u?d.jsxs(Le,{fontStyle:"italic",color:"gray.500",children:[d.jsx("span",{children:"."}),d.jsx("span",{children:"."}),d.jsx("span",{children:"."})]}):C(e)}),a&&d.jsxs(Nr,{spacing:1,justify:"flex-end",w:"15%",children:[o&&d.jsx(e4,{size:24,color:Rr.colors.green[400]}),i&&d.jsx(Q3,{size:24,color:Rr.colors.red[400]})]})]})})]}),a&&d.jsxs(Nr,{spacing:2,children:[d.jsx(qt,{"aria-label":"Copy",icon:d.jsx(xM,{size:20,color:f}),variant:"ghost",onClick:y}),d.jsx(qt,{"aria-label":"Thumbs Up",icon:d.jsx(e4,{size:20,color:p}),variant:"ghost",onClick:s}),d.jsx(qt,{"aria-label":"Thumbs Down",icon:d.jsx(Q3,{size:20,color:h}),variant:"ghost",onClick:l})]})]})},NO=({width:e=33,height:t=32,color:n=Jt.black[50]})=>d.jsxs("svg",{width:e,height:t,viewBox:"0 0 33 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[d.jsxs("g",{id:"hinton-plot 1",clipPath:"url(#clip0_3937_23354)",children:[d.jsx("path",{id:"Vector",d:"M6.5 2H2.5V6H6.5V2Z",fill:n}),d.jsx("path",{id:"Vector_2",d:"M14.5 2H10.5V6H14.5V2Z",fill:n}),d.jsx("path",{id:"Vector_3",d:"M22.5 2H18.5V6H22.5V2Z",fill:n}),d.jsx("path",{id:"Vector_4",d:"M30.5 2H26.5V6H30.5V2Z",fill:n}),d.jsx("path",{id:"Vector_5",d:"M6.5 10H2.5V14H6.5V10Z",fill:n}),d.jsx("path",{id:"Vector_6",d:"M14.5 10H10.5V14H14.5V10Z",fill:n}),d.jsx("path",{id:"Vector_7",d:"M22.5 10H18.5V14H22.5V10Z",fill:n}),d.jsx("path",{id:"Vector_8",d:"M30.5 10H26.5V14H30.5V10Z",fill:n}),d.jsx("path",{id:"Vector_9",d:"M6.5 18H2.5V22H6.5V18Z",fill:n}),d.jsx("path",{id:"Vector_10",d:"M14.5 18H10.5V22H14.5V18Z",fill:n}),d.jsx("path",{id:"Vector_11",d:"M22.5 18H18.5V22H22.5V18Z",fill:n}),d.jsx("path",{id:"Vector_12",d:"M30.5 18H26.5V22H30.5V18Z",fill:n}),d.jsx("path",{id:"Vector_13",d:"M6.5 26H2.5V30H6.5V26Z",fill:n}),d.jsx("path",{id:"Vector_14",d:"M14.5 26H10.5V30H14.5V26Z",fill:n}),d.jsx("path",{id:"Vector_15",d:"M22.5 26H18.5V30H22.5V26Z",fill:n}),d.jsx("path",{id:"Vector_16",d:"M30.5 26H26.5V30H30.5V26Z",fill:n})]}),d.jsx("defs",{children:d.jsx("clipPath",{id:"clip0_3937_23354",children:d.jsx("rect",{width:"32",height:"32",fill:"white",transform:"translate(0.5)"})})})]}),RO=({width:e=24,height:t=24})=>d.jsxs("svg",{width:e,height:t,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[d.jsx("g",{clipPath:"url(#clip0_389_1416)",children:d.jsx("path",{d:"M12.4592 1.66031C12.3261 1.55642 12.1621 1.5 11.9932 1.5C11.8243 1.5 11.6603 1.55642 11.5272 1.66031L0.75 10.0645L1.68203 11.2433L3 10.2156V19.5C3.00081 19.8975 3.15911 20.2786 3.44024 20.5597C3.72137 20.8409 4.10242 20.9991 4.5 21H19.5C19.8976 20.9992 20.2787 20.841 20.5599 20.5598C20.841 20.2787 20.9993 19.8976 21 19.5V10.2225L22.318 11.25L23.25 10.0711L12.4592 1.66031ZM13.5 19.5H10.5V13.5H13.5V19.5ZM15 19.5V13.5C14.9995 13.1023 14.8414 12.721 14.5602 12.4398C14.279 12.1586 13.8977 12.0004 13.5 12H10.5C10.1023 12.0004 9.721 12.1585 9.43978 12.4397C9.15856 12.721 9.0004 13.1023 9 13.5V19.5H4.5V9.04608L12 3.20358L19.5 9.05396V19.5H15Z",fill:"white"})}),d.jsx("defs",{children:d.jsx("clipPath",{id:"clip0_389_1416",children:d.jsx("rect",{width:"24",height:"24",fill:"white"})})})]}),VO=({width:e=24,height:t=24})=>d.jsxs("svg",{width:e,height:t,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[d.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M22.7071 1.29289C23.0976 1.68342 23.0976 2.31658 22.7071 2.70711L11.7071 13.7071C11.3166 14.0976 10.6834 14.0976 10.2929 13.7071C9.90237 13.3166 9.90237 12.6834 10.2929 12.2929L21.2929 1.29289C21.6834 0.902369 22.3166 0.902369 22.7071 1.29289Z",fill:"white"}),d.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M22.7071 1.29292C22.9788 1.56456 23.0708 1.96779 22.9439 2.33038L15.9439 22.3304C15.8084 22.7174 15.4504 22.9825 15.0408 22.9992C14.6311 23.0159 14.2527 22.7808 14.0862 22.4062L10.2424 13.7576L1.59387 9.91384C1.21919 9.74731 0.984122 9.36894 1.00084 8.95926C1.01755 8.54959 1.28265 8.19162 1.66965 8.05617L21.6697 1.05617C22.0322 0.929264 22.4355 1.02128 22.7071 1.29292ZM4.71108 9.11063L11.4061 12.0862C11.6324 12.1868 11.8133 12.3677 11.9138 12.5939L14.8894 19.289L20.37 3.63L4.71108 9.11063Z",fill:"white"})]}),WO=({width:e=24,height:t=24})=>d.jsxs("svg",{width:e,height:t,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[d.jsxs("g",{clipPath:"url(#clip0_960_8687)",children:[d.jsx("path",{d:"M20.6719 0C21.3534 0.135469 21.9558 0.335156 22.5155 0.757969C23.3489 1.3875 23.8261 2.30391 24 3.32812V13.2188C23.7586 14.145 22.5089 14.2467 22.1742 13.3336C22.0598 10.0945 22.1583 6.83344 22.1241 3.58687C22.0064 2.62547 21.2958 1.94062 20.3222 1.87312H3.63094C2.68406 1.95469 1.94813 2.68031 1.87312 3.63141V20.3691C1.94672 21.3052 2.65875 22.02 3.58641 22.1245L13.5961 22.1461C14.6039 22.3786 14.5791 23.7408 13.5938 24H3.32812C2.30109 23.8266 1.39172 23.348 0.757969 22.5155C0.334219 21.9586 0.135938 21.3511 0 20.6719V3.32812C0.2175 1.65516 1.62187 0.172969 3.32812 0H20.6719Z",fill:"white"}),d.jsx("path",{d:"M24.0001 22.8749V23.2499C23.8782 23.6432 23.6434 23.878 23.2501 23.9999H22.8751C22.0562 23.623 21.5256 22.7437 20.8262 22.1779C20.3321 22.3766 19.9065 22.5866 19.3693 22.6738C14.7245 23.4252 12.5359 17.2119 16.5039 14.8865C20.3786 12.6158 24.5884 17.1144 22.1832 20.8363C22.7528 21.5263 23.6242 22.0612 24.0001 22.8749ZM18.3648 16.1849C15.1867 16.5444 15.9676 21.5915 19.2559 20.7791C21.9976 20.1018 21.3034 15.8526 18.3648 16.1849Z",fill:"white"}),d.jsx("path",{d:"M10.1608 5.30859L18.445 5.29688C19.5995 5.41406 19.5995 7.05375 18.445 7.17094H10.2428C9.12484 7.0575 9.07844 5.50781 10.1608 5.30859Z",fill:"white"}),d.jsx("path",{d:"M10.1608 10.9336L18.445 10.9219C19.5995 11.0391 19.5995 12.6787 18.445 12.7959H10.2428C9.12484 12.6825 9.07844 11.1328 10.1608 10.9336Z",fill:"white"}),d.jsx("path",{d:"M10.1609 16.8868C10.5218 16.8339 11.7598 16.831 12.0626 16.9759C12.7507 17.3054 12.7155 18.4018 11.9993 18.6784C11.7119 18.7895 10.5869 18.7834 10.2424 18.7487C9.10382 18.6334 9.10382 17.042 10.1604 16.8864L10.1609 16.8868Z",fill:"white"}),d.jsx("path",{d:"M5.47343 5.30896C5.79265 5.26209 6.68937 5.26021 6.97015 5.38162C7.68593 5.69146 7.66718 6.81787 6.93734 7.101C6.66593 7.206 5.82078 7.20365 5.51328 7.16662C4.43093 7.03678 4.42015 5.46412 5.47343 5.30896Z",fill:"white"}),d.jsx("path",{d:"M5.47343 10.934C5.79265 10.8871 6.68937 10.8852 6.97015 11.0066C7.68593 11.3165 7.66718 12.4429 6.93734 12.726C6.66593 12.831 5.82078 12.8287 5.51328 12.7916C4.43093 12.6618 4.42015 11.0891 5.47343 10.934Z",fill:"white"}),d.jsx("path",{d:"M5.47343 16.8871C5.79265 16.8402 6.68937 16.8383 6.97015 16.9597C7.68593 17.2696 7.66718 18.396 6.93734 18.6791C6.66593 18.7841 5.82078 18.7818 5.51328 18.7447C4.43093 18.6149 4.42015 17.0422 5.47343 16.8871Z",fill:"white"})]}),d.jsx("defs",{children:d.jsx("clipPath",{id:"clip0_960_8687",children:d.jsx("rect",{width:"24",height:"24",fill:"white"})})})]}),HO=({width:e=24,height:t=24})=>d.jsx("svg",{width:e,height:t,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:d.jsx("path",{d:"M1.5 4.24194C2.8275 3.68694 4.731 3.08844 6.582 2.90244C8.577 2.70144 10.269 2.99694 11.25 4.03044V18.6494C9.8475 17.8544 8.07 17.7449 6.4305 17.9099C4.6605 18.0899 2.8755 18.6014 1.5 19.1264V4.24194ZM12.75 4.03044C13.731 2.99694 15.423 2.70144 17.418 2.90244C19.269 3.08844 21.1725 3.68694 22.5 4.24194V19.1264C21.123 18.6014 19.3395 18.0884 17.5695 17.9114C15.9285 17.7449 14.1525 17.8529 12.75 18.6494V4.03044ZM12 2.67444C10.5225 1.40394 8.3805 1.21494 6.4305 1.40994C4.1595 1.63944 1.8675 2.41794 0.4395 3.06744C0.308474 3.12704 0.197363 3.22307 0.119432 3.34409C0.0415 3.46511 3.98571e-05 3.606 0 3.74994L0 20.2499C3.4743e-05 20.3754 0.0315557 20.4989 0.0916756 20.6091C0.151796 20.7192 0.238593 20.8125 0.344116 20.8804C0.44964 20.9483 0.570517 20.9887 0.695675 20.9978C0.820833 21.0069 0.946271 20.9844 1.0605 20.9324C2.3835 20.3324 4.515 19.6109 6.5805 19.4024C8.694 19.1894 10.4655 19.5329 11.415 20.7179C11.4853 20.8055 11.5743 20.8762 11.6756 20.9248C11.7768 20.9734 11.8877 20.9986 12 20.9986C12.1123 20.9986 12.2232 20.9734 12.3244 20.9248C12.4257 20.8762 12.5147 20.8055 12.585 20.7179C13.5345 19.5329 15.306 19.1894 17.418 19.4024C19.485 19.6109 21.618 20.3324 22.9395 20.9324C23.0537 20.9844 23.1792 21.0069 23.3043 20.9978C23.4295 20.9887 23.5504 20.9483 23.6559 20.8804C23.7614 20.8125 23.8482 20.7192 23.9083 20.6091C23.9684 20.4989 24 20.3754 24 20.2499V3.74994C24 3.606 23.9585 3.46511 23.8806 3.34409C23.8026 3.22307 23.6915 3.12704 23.5605 3.06744C22.1325 2.41794 19.8405 1.63944 17.5695 1.40994C15.6195 1.21344 13.4775 1.40394 12 2.67444Z",fill:"white"})}),UO=({width:e=24,height:t=24})=>d.jsxs("svg",{width:e,height:t,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[d.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 0C12.5523 0 13 0.447715 13 1V23C13 23.5523 12.5523 24 12 24C11.4477 24 11 23.5523 11 23V1C11 0.447715 11.4477 0 12 0Z",fill:"white"}),d.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.31802 5.31802C7.16193 4.47411 8.30653 4 9.5 4H17C17.5523 4 18 4.44772 18 5C18 5.55228 17.5523 6 17 6H9.5C8.83696 6 8.20107 6.26339 7.73223 6.73223C7.26339 7.20107 7 7.83696 7 8.5C7 9.16304 7.26339 9.79893 7.73223 10.2678C8.20107 10.7366 8.83696 11 9.5 11H14.5C15.6935 11 16.8381 11.4741 17.682 12.318C18.5259 13.1619 19 14.3065 19 15.5C19 16.6935 18.5259 17.8381 17.682 18.682C16.8381 19.5259 15.6935 20 14.5 20H6C5.44772 20 5 19.5523 5 19C5 18.4477 5.44772 18 6 18H14.5C15.163 18 15.7989 17.7366 16.2678 17.2678C16.7366 16.7989 17 16.163 17 15.5C17 14.837 16.7366 14.2011 16.2678 13.7322C15.7989 13.2634 15.163 13 14.5 13H9.5C8.30653 13 7.16193 12.5259 6.31802 11.682C5.47411 10.8381 5 9.69347 5 8.5C5 7.30653 5.47411 6.16193 6.31802 5.31802Z",fill:"white"})]}),qO=({width:e=24,height:t=24})=>d.jsxs("svg",{width:e,height:t,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[d.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M23.7071 5.29289C24.0976 5.68342 24.0976 6.31658 23.7071 6.70711L14.2071 16.2071C13.8166 16.5976 13.1834 16.5976 12.7929 16.2071L8.5 11.9142L1.70711 18.7071C1.31658 19.0976 0.683417 19.0976 0.292893 18.7071C-0.0976311 18.3166 -0.0976311 17.6834 0.292893 17.2929L7.79289 9.79289C8.18342 9.40237 8.81658 9.40237 9.20711 9.79289L13.5 14.0858L22.2929 5.29289C22.6834 4.90237 23.3166 4.90237 23.7071 5.29289Z",fill:"white"}),d.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16 6C16 5.44772 16.4477 5 17 5H23C23.5523 5 24 5.44772 24 6V12C24 12.5523 23.5523 13 23 13C22.4477 13 22 12.5523 22 12V7H17C16.4477 7 16 6.55228 16 6Z",fill:"white"})]}),ZO=({width:e=24,height:t=27})=>d.jsxs("svg",{width:e,height:t,viewBox:"0 0 24 28",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[d.jsx("path",{d:"M11.7297 3.59735C12.714 3.78332 13.6631 3.13885 13.8522 2.15452C14.0382 1.17019 13.3937 0.22113 12.4094 0.0319587C11.4251 -0.154006 10.476 0.490458 10.2868 1.47479C10.1009 2.45912 10.7453 3.40818 11.7297 3.59735Z",fill:"white"}),d.jsx("path",{d:"M13.1274 9.07714C16.9845 9.58373 19.9728 12.8926 19.9728 16.8877C19.9728 21.2322 16.4395 24.7655 12.0917 24.7655C7.74401 24.7655 4.21068 21.2322 4.21068 16.8877C4.21068 12.9343 7.13802 9.65106 10.9407 9.09317V6.48646C6.66349 6.95458 3.15581 10.0102 2.01758 14.0501C2.40875 14.22 2.75502 14.5439 3.02756 14.9992C3.40911 15.634 3.62714 16.4805 3.63996 17.3846C3.6624 18.8756 3.14299 20.1196 2.34462 20.6999C3.87081 24.5924 7.66385 27.3562 12.0917 27.3562C16.5196 27.3562 20.2389 24.6437 21.794 20.8122C21.483 20.6262 21.2008 20.344 20.9732 19.9625C20.5916 19.3276 20.3736 18.4812 20.3608 17.577C20.3479 16.6728 20.5403 15.8103 20.9058 15.1434C21.2265 14.5599 21.6593 14.1655 22.1531 13.9988C20.986 9.94925 17.4366 6.90007 13.1274 6.47363V9.08034V9.07714Z",fill:"white"}),d.jsx("path",{d:"M2.11335 15.3649C2.01716 15.2046 1.91136 15.0699 1.80234 14.9641C1.626 14.791 1.44003 14.698 1.27651 14.7044C1.26369 14.7044 1.25407 14.7044 1.24124 14.7044C0.984739 14.7365 0.686555 15.009 0.458908 15.429C0.151104 15.9965 -0.00921001 16.7404 0.000408858 17.5324C0.013234 18.3243 0.195992 19.0553 0.516621 19.5908C0.769918 20.0076 1.09055 20.2609 1.35346 20.2513C1.56508 20.2417 1.80876 20.0653 2.02358 19.7543C2.36344 19.2702 2.64239 18.459 2.62636 17.4233C2.61353 16.6314 2.43078 15.9004 2.11015 15.3649H2.11335Z",fill:"white"}),d.jsx("path",{d:"M23.4835 15.3649C23.2302 14.948 22.9095 14.6947 22.6466 14.7044C22.6338 14.7044 22.6242 14.7044 22.6114 14.7044C22.528 14.714 22.4382 14.7525 22.3516 14.8134C22.1689 14.9352 21.9829 15.15 21.829 15.4322C21.5212 15.9933 21.3609 16.7372 21.3705 17.5291C21.3834 18.3211 21.5661 19.0521 21.8867 19.5875C21.9573 19.7062 22.0342 19.8088 22.1144 19.8986C22.3164 20.1262 22.5344 20.2577 22.7236 20.248C23.2654 20.2192 24.0221 19.113 23.9997 17.4201C23.9869 16.6281 23.8041 15.8971 23.4835 15.3617V15.3649Z",fill:"white"}),d.jsx("path",{d:"M8.21829 14.1042C7.47122 14.0721 6.86523 15.1527 6.86523 16.5185C6.86523 17.8844 7.47122 19.0195 8.22149 19.0515C8.97177 19.0836 9.57455 18.0031 9.57455 16.6372C9.57455 15.2713 8.96856 14.1363 8.21829 14.1042ZM8.68641 18.6796C8.35936 18.9842 7.88483 18.8912 7.62513 18.4744C7.36542 18.0576 7.41672 17.4708 7.74376 17.1662C8.0708 16.8616 8.54533 16.9546 8.80504 17.3714C9.06475 17.7882 9.01345 18.375 8.68641 18.6796Z",fill:"white"}),d.jsx("path",{d:"M14.9836 13.9411C14.2366 13.9091 13.6306 14.9896 13.6338 16.3555C13.6338 17.7213 14.243 18.8532 14.9901 18.8852C15.7371 18.9173 16.3431 17.8368 16.3399 16.4709C16.3399 15.105 15.7307 13.9732 14.9836 13.9411ZM15.4261 18.5774C15.0959 18.8756 14.6213 18.7794 14.368 18.3562C14.1147 17.9362 14.1757 17.3494 14.5059 17.0512C14.8362 16.753 15.3107 16.8492 15.564 17.2725C15.8173 17.6957 15.7564 18.2792 15.4261 18.5774Z",fill:"white"}),d.jsx("path",{d:"M12.3987 9.01598V4.49512H11.6709V9.0224C11.812 9.01598 11.9531 9.00957 12.0941 9.00957C12.1967 9.00957 12.2993 9.01278 12.3987 9.01598Z",fill:"white"})]}),GO={hub:"https://staging.hub.canaia.ai",assist:"https://staging.assist.canaia.ai",play:"https://staging.play.canaia.ai",elevate:"https://staging.elevate.canaia.ai",talent:"https://staging.talent.canaia.ai",collect:"https://staging.collect.canaia.ai",ad:"https://staging.ad.canaia.ai"},KO={hub:"https://hub.canaia.ai",assist:"https://assist.canaia.ai",play:"https://play.canaia.ai",elevate:"https://elevate.canaia.ai",talent:"https://talent.canaia.ai",collect:"https://collect.canaia.ai",ad:"https://ad.canaia.ai"},YO=[{name:"Hub",icon:d.jsx(RO,{}),bgColor:"primary.400"},{name:"Play",icon:d.jsx(VO,{}),bgColor:"play.500"},{name:"Assist",icon:d.jsx(ZO,{}),bgColor:"assist.500"},{name:"Elevate",icon:d.jsx(WO,{}),bgColor:"elevate.500"},{name:"Talent",icon:d.jsx(HO,{}),bgColor:"talent.500"},{name:"Collect",icon:d.jsx(UO,{}),bgColor:"collect.500"},{name:"Ad",icon:d.jsx(qO,{}),bgColor:"ad.500"}],XO=e=>e?KO:GO,JO=({isProduction:e,showMenuItems:t,platform:n})=>{const r=XO(e),o=t&&t.length>0?t:["hub"],i=n==="canaia"?"hub":n,a=YO.filter(l=>o.includes(l.name.toLowerCase())),s=l=>{window.location.href=l};return d.jsx(Dm,{templateColumns:"repeat(4, 1fr)",gap:1,children:a.map(l=>{const c=i===l.name.toLowerCase();return d.jsxs(di,{as:"div",p:3,borderRadius:"full",display:"flex",flexDirection:"column",alignItems:"center",w:"100%",_hover:{bg:"transparent",cursor:"pointer"},_focus:{bg:"transparent"},_active:{bg:"transparent"},onClick:()=>s(r[l.name.toLowerCase()]),sx:{boxShadow:c?"0px 4px 6px -1px rgba(0, 0, 0, 0.08)":"none",borderTop:c?"1px solid rgba(0, 0, 0, 0.08)":"none",borderRadius:"8px"},children:[d.jsx(qe,{fontSize:"2xl",as:"div",children:d.jsx(ut,{w:"42px",h:"42px",bg:l.bgColor,borderRadius:"full",align:"center",justify:"center",children:l.icon})}),d.jsx(Le,{textAlign:"center",mt:2,fontWeight:c?"bold":"normal",children:l.name})]},l.name)})})},QO=({width:e=129,height:t=50})=>d.jsxs("svg",{width:e,height:t,viewBox:"0 0 266 93",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[d.jsx("path",{d:"M31.7903 42.22C34.5628 42.22 36.8103 39.9725 36.8103 37.2C36.8103 34.4275 34.5628 32.18 31.7903 32.18C29.0178 32.18 26.7703 34.4275 26.7703 37.2C26.7703 39.9725 29.0178 42.22 31.7903 42.22Z",fill:"#FB8E79"}),d.jsx("path",{d:"M45.5403 42.22C48.3128 42.22 50.5603 39.9725 50.5603 37.2C50.5603 34.4275 48.3128 32.18 45.5403 32.18C42.7678 32.18 40.5203 34.4275 40.5203 37.2C40.5203 39.9725 42.7678 42.22 45.5403 42.22Z",fill:"#FB8E79"}),d.jsx("path",{d:"M59.2803 42.22C62.0528 42.22 64.3003 39.9725 64.3003 37.2C64.3003 34.4275 62.0528 32.18 59.2803 32.18C56.5078 32.18 54.2603 34.4275 54.2603 37.2C54.2603 39.9725 56.5078 42.22 59.2803 42.22Z",fill:"#FB8E79"}),d.jsx("path",{d:"M63.3403 55.74C61.2003 54.14 58.1503 54.29 56.3103 56.23C54.5703 58.06 52.5703 59.61 50.3103 60.9C46.6903 62.96 42.7203 63.99 38.3903 63.99C34.8703 63.99 31.5803 63.28 28.5003 61.86C25.4203 60.44 22.7303 58.51 20.4403 56.08C18.1403 53.65 16.3203 50.81 14.9603 47.56C13.6103 44.31 12.9303 40.83 12.9303 37.11C12.9303 33.39 13.6103 29.91 14.9603 26.66C16.3103 23.42 18.1403 20.58 20.4403 18.14C22.7403 15.71 25.4303 13.78 28.5003 12.36C31.5803 10.94 34.8703 10.23 38.3903 10.23C42.7203 10.23 46.6903 11.26 50.3103 13.32C52.5703 14.61 54.5703 16.16 56.3103 17.99C58.1603 19.92 61.2003 20.08 63.3403 18.48C66.0203 16.48 66.2503 12.55 63.8403 10.23C61.3203 7.8 58.4703 5.74 55.2703 4.04C50.1703 1.35 44.5403 0 38.3903 0C33.3203 0 28.5503 0.98 24.0903 2.94C19.6303 4.9 15.7403 7.55 12.4303 10.9C9.1203 14.25 6.5003 18.17 4.5703 22.66C2.6403 27.16 1.6803 31.97 1.6803 37.11C1.6803 42.25 2.6403 47.07 4.5703 51.56C5.4203 53.54 6.4203 55.39 7.5403 57.15L0.960297 77.97L23.4903 71C23.6903 71.09 23.8803 71.2 24.0903 71.29C28.5503 73.25 33.3203 74.23 38.3903 74.23C44.5403 74.23 50.1703 72.88 55.2803 70.17C58.4703 68.48 61.3303 66.42 63.8503 63.98C66.2603 61.66 66.0303 57.73 63.3503 55.73L63.3403 55.74Z",fill:"#FB8E79"}),d.jsx("path",{d:"M111.324 53.33V66.93C111.324 68.12 110.914 69.13 110.094 69.95C109.274 70.77 108.264 71.18 107.074 71.18C105.884 71.18 104.874 70.77 104.054 69.95C103.234 69.13 102.824 68.12 102.824 66.93V15.93C102.824 14.74 103.234 13.73 104.054 12.91C104.874 12.09 105.884 11.68 107.074 11.68H124.504C127.394 11.68 130.094 12.23 132.624 13.34C135.144 14.44 137.344 15.93 139.214 17.8C141.084 19.67 142.574 21.87 143.674 24.39C144.774 26.91 145.334 29.62 145.334 32.51C145.334 35.4 144.784 38.11 143.674 40.63C142.574 43.15 141.084 45.35 139.214 47.22C137.344 49.09 135.144 50.58 132.624 51.68C130.104 52.78 127.394 53.34 124.504 53.34H111.324V53.33ZM124.504 44.83C126.204 44.83 127.804 44.5 129.304 43.85C130.804 43.2 132.114 42.32 133.214 41.22C134.314 40.11 135.194 38.81 135.844 37.31C136.494 35.81 136.824 34.21 136.824 32.51C136.824 30.81 136.494 29.21 135.844 27.71C135.194 26.21 134.314 24.91 133.214 23.8C132.114 22.7 130.804 21.82 129.304 21.17C127.804 20.52 126.204 20.19 124.504 20.19H111.324V44.84H124.504V44.83Z",fill:"#333333"}),d.jsx("path",{d:"M154.674 11.68C154.674 10.49 155.084 9.48 155.904 8.66C156.724 7.84 157.734 7.43 158.924 7.43C160.114 7.43 161.124 7.84 161.944 8.66C162.764 9.48 163.174 10.49 163.174 11.68V66.93C163.174 68.12 162.764 69.13 161.944 69.95C161.124 70.77 160.114 71.18 158.924 71.18C157.734 71.18 156.724 70.77 155.904 69.95C155.084 69.13 154.674 68.12 154.674 66.93V11.68Z",fill:"#333333"}),d.jsx("path",{d:"M204.824 66.85C203.014 68.21 201.024 69.26 198.874 70C196.724 70.74 194.454 71.1 192.074 71.1C189.124 71.1 186.364 70.55 183.784 69.44C181.204 68.33 178.954 66.82 177.024 64.89C175.094 62.96 173.584 60.71 172.474 58.13C171.374 55.55 170.814 52.79 170.814 49.84C170.814 46.89 171.364 44.13 172.474 41.55C173.584 38.97 175.094 36.72 177.024 34.79C178.954 32.86 181.204 31.35 183.784 30.24C186.364 29.14 189.124 28.58 192.074 28.58C195.024 28.58 197.784 29.13 200.364 30.24C202.944 31.35 205.194 32.86 207.124 34.79C209.054 36.72 210.564 38.97 211.674 41.55C212.784 44.13 213.334 46.89 213.334 49.84V66.92C213.334 68.11 212.924 69.12 212.104 69.94C211.284 70.76 210.274 71.17 209.084 71.17C207.894 71.17 206.884 70.76 206.064 69.94C205.244 69.12 204.834 68.11 204.834 66.92V66.84L204.824 66.85ZM192.074 62.6C193.834 62.6 195.484 62.26 197.044 61.58C198.604 60.9 199.944 59.99 201.084 58.86C202.224 57.73 203.124 56.38 203.804 54.82C204.484 53.26 204.824 51.6 204.824 49.85C204.824 48.1 204.484 46.44 203.804 44.88C203.124 43.32 202.214 41.98 201.084 40.84C199.954 39.71 198.604 38.8 197.044 38.12C195.484 37.44 193.824 37.1 192.074 37.1C190.324 37.1 188.654 37.44 187.104 38.12C185.544 38.8 184.194 39.71 183.064 40.84C181.934 41.97 181.024 43.32 180.344 44.88C179.664 46.44 179.324 48.1 179.324 49.85C179.324 51.6 179.664 53.27 180.344 54.82C181.024 56.38 181.934 57.72 183.064 58.86C184.194 59.99 185.544 60.9 187.104 61.58C188.664 62.26 190.314 62.6 192.074 62.6Z",fill:"#333333"}),d.jsx("path",{d:"M238.994 67.02L222.924 34.81C222.414 33.79 222.344 32.73 222.714 31.62C223.084 30.52 223.804 29.68 224.884 29.11C225.904 28.6 226.964 28.53 228.074 28.9C229.184 29.27 230.014 29.99 230.584 31.07L243.754 57.42L256.924 30.98C257.494 29.96 258.324 29.27 259.434 28.9C260.544 28.53 261.634 28.6 262.704 29.11C263.724 29.68 264.414 30.51 264.784 31.62C265.154 32.73 265.084 33.82 264.574 34.89L241.704 80.71C239.894 84.22 237.314 87.06 233.974 89.21C230.634 91.36 226.864 92.44 222.664 92.44C221.474 92.44 220.464 92.03 219.644 91.21C218.824 90.39 218.414 89.38 218.414 88.19C218.414 87 218.824 85.99 219.644 85.17C220.464 84.35 221.474 83.94 222.664 83.94C223.854 83.94 224.934 83.77 226.064 83.43C227.194 83.09 228.264 82.62 229.254 82.03C230.244 81.44 231.124 80.77 231.884 80.03C232.644 79.29 233.254 78.5 233.714 77.65L238.984 67.03L238.994 67.02Z",fill:"#333333"})]}),_4=({width:e=170,height:t=40})=>d.jsxs("svg",{width:e,height:t,viewBox:"0 0 645 160",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[d.jsxs("g",{clipPath:"url(#clip0_859_97)",children:[d.jsx("mask",{id:"mask0_859_97",maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"645",height:"160",children:d.jsx("path",{d:"M645 0H0V160H645V0Z",fill:"white"})}),d.jsxs("g",{mask:"url(#mask0_859_97)",children:[d.jsx("path",{d:"M202.9 55.2001C209.3 55.2001 215.3 56.4001 220.9 58.9001C226.5 61.3001 231.5 64.6001 235.7 68.8001C239.9 73.0001 243.3 77.9001 245.7 83.6001C248.1 89.3001 249.4 95.3001 249.4 101.7V146.9H231.4V138.4C227.4 141.4 223.1 143.8 218.3 145.5C213.5 147.2 208.4 148.1 202.9 148.1C197.4 148.1 190.5 146.9 184.8 144.4C179.2 142 174.2 138.6 170.1 134.4C165.9 130.2 162.6 125.3 160.2 119.7C157.8 114.1 156.5 108 156.5 101.6C156.5 95.2001 157.7 89.2001 160.2 83.5001C162.6 77.8001 166 72.9001 170.1 68.7001C174.3 64.5001 179.2 61.2001 184.8 58.8001C190.4 56.4001 196.4 55.1001 202.8 55.1001L202.9 55.2001ZM203 130.2C207 130.2 210.7 129.4 214.1 127.9C217.5 126.4 220.5 124.3 223.1 121.8C225.7 119.2 227.7 116.2 229.2 112.8C230.7 109.4 231.5 105.7 231.5 101.8C231.5 97.9001 230.7 94.1001 229.2 90.7001C227.7 87.3001 225.6 84.2001 223.1 81.6001C220.5 79.0001 217.5 77.0001 214.1 75.5001C210.7 74.0001 207 73.2001 203 73.2001C199 73.2001 195.3 74.0001 191.9 75.5001C188.5 77.0001 185.5 79.1001 182.9 81.6001C180.3 84.2001 178.3 87.2001 176.8 90.7001C175.3 94.1001 174.5 97.9001 174.5 101.8C174.5 105.7 175.3 109.3 176.8 112.8C178.3 116.2 180.4 119.3 182.9 121.8C185.5 124.4 188.5 126.4 191.9 127.9C195.3 129.4 199 130.2 203 130.2Z",fill:"#1D1D1B"}),d.jsx("path",{d:"M339.7 61.1C345.2 64.8 349.6 69.6 352.8 75.5C356 81.4 357.6 87.8 357.6 94.8V147.3H339.6V94.8C339.6 91.8 339 88.9 337.9 86.2C336.7 83.5 335.1 81.1 333.1 79.1C331 77.1 328.7 75.5 326 74.3C323.3 73.1 320.5 72.6 317.4 72.6C314.3 72.6 311.5 73.2 308.7 74.3C305.9 75.5 303.6 77.1 301.6 79.1C299.6 81.1 298 83.5 296.9 86.2C295.7 88.9 295.2 91.8 295.2 94.8V147.3H277.2V54.5H295.2V61.1C298.5 59 302 57.4 305.7 56.2C309.5 55 313.4 54.5 317.5 54.5C321.6 54.5 325.5 55.1 329.3 56.2C333.1 57.4 336.5 59 339.7 61.1Z",fill:"#1D1D1B"}),d.jsx("path",{d:"M429.3 55.2001C435.7 55.2001 441.7 56.4001 447.3 58.9001C452.9 61.3001 457.9 64.6001 462.1 68.8001C466.3 73.0001 469.7 77.9001 472.1 83.6001C474.5 89.3001 475.8 95.3001 475.8 101.7V146.9H457.8V138.4C453.8 141.4 449.5 143.8 444.7 145.5C439.9 147.2 434.8 148.1 429.3 148.1C423.8 148.1 416.9 146.9 411.2 144.4C405.6 142 400.6 138.6 396.5 134.4C392.3 130.2 389 125.3 386.5 119.7C384.1 114.1 382.8 108 382.8 101.6C382.8 95.2001 384 89.2001 386.5 83.5001C388.9 77.8001 392.3 72.9001 396.4 68.7001C400.6 64.5001 405.5 61.2001 411.1 58.8001C416.7 56.4001 422.7 55.1001 429.1 55.1001L429.3 55.2001ZM429.4 130.2C433.4 130.2 437 129.4 440.5 127.9C443.9 126.4 446.9 124.3 449.5 121.8C452.1 119.3 454.1 116.2 455.6 112.8C457.1 109.4 457.9 105.7 457.9 101.8C457.9 97.9001 457.1 94.1001 455.6 90.7001C454.1 87.3001 452 84.2001 449.5 81.6001C446.9 79.0001 443.9 77.0001 440.5 75.5001C437.1 74.0001 433.4 73.2001 429.4 73.2001C425.4 73.2001 421.7 74.0001 418.3 75.5001C414.9 77.0001 411.9 79.1001 409.3 81.6001C406.7 84.2001 404.7 87.2001 403.2 90.7001C401.7 94.1001 400.9 97.9001 400.9 101.8C400.9 105.7 401.7 109.3 403.2 112.8C404.7 116.2 406.8 119.3 409.3 121.8C411.9 124.4 414.9 126.4 418.3 127.9C421.7 129.4 425.4 130.2 429.4 130.2Z",fill:"#3A7684"}),d.jsx("path",{d:"M524.4 54.9999V147.1H506.4V54.9999H524.4ZM527.5 34.4999C527.5 41.1999 522.1 46.5999 515.4 46.5999C508.7 46.5999 503.3 41.1999 503.3 34.4999C503.3 27.7999 508.7 22.3999 515.4 22.3999C522.1 22.3999 527.5 27.7999 527.5 34.4999Z",fill:"#3A7684"}),d.jsx("path",{d:"M598.5 55.2001C604.9 55.2001 610.9 56.4001 616.5 58.9001C622.1 61.3001 627.1 64.6001 631.3 68.8001C635.5 73.0001 638.9 77.9001 641.3 83.6001C643.8 89.3001 645 95.3001 645 101.7V146.9H627V138.4C623 141.4 618.7 143.8 613.9 145.5C609.1 147.2 604 148.1 598.5 148.1C593 148.1 586.1 146.9 580.4 144.4C574.7 142 569.8 138.6 565.7 134.4C561.5 130.2 558.2 125.3 555.7 119.7C553.3 114.1 552 108 552 101.6C552 95.2001 553.2 89.2001 555.7 83.5001C558.1 77.8001 561.5 72.9001 565.6 68.7001C569.8 64.5001 574.7 61.2001 580.3 58.8001C585.9 56.4001 591.9 55.1001 598.3 55.1001L598.5 55.2001ZM598.6 130.2C602.6 130.2 606.3 129.4 609.7 127.9C613.1 126.4 616.1 124.3 618.7 121.8C621.3 119.2 623.3 116.2 624.8 112.8C626.3 109.4 627.1 105.7 627.1 101.8C627.1 97.9001 626.3 94.1001 624.8 90.7001C623.3 87.3001 621.2 84.2001 618.7 81.6001C616.1 79.0001 613.1 77.0001 609.7 75.5001C606.3 74.0001 602.6 73.2001 598.6 73.2001C594.6 73.2001 590.9 74.0001 587.5 75.5001C584.1 77.0001 581.1 79.1001 578.5 81.6001C575.9 84.2001 573.9 87.2001 572.4 90.7001C570.9 94.1001 570.1 97.9001 570.1 101.8C570.1 105.7 570.9 109.3 572.4 112.8C573.9 116.2 576 119.3 578.5 121.8C581.1 124.4 584.1 126.4 587.5 127.9C590.9 129.4 594.6 130.2 598.6 130.2Z",fill:"#1D1D1B"}),d.jsx("path",{d:"M63.3 86.6C69 86.6 73.6 82 73.6 76.3C73.6 70.6 69 66 63.3 66C57.6 66 53 70.6 53 76.3C53 82 57.6 86.6 63.3 86.6Z",fill:"#3A7684"}),d.jsx("path",{d:"M90.8 86.6C96.5 86.6 101.1 82 101.1 76.3C101.1 70.6 96.5 66 90.8 66C85.1 66 80.5 70.6 80.5 76.3C80.5 82 85.1 86.6 90.8 86.6Z",fill:"#3A7684"}),d.jsx("path",{d:"M119.8 86.6C125.5 86.6 130.1 82 130.1 76.3C130.1 70.6 125.5 66 119.8 66C114.1 66 109.5 70.6 109.5 76.3C109.5 82 114.1 86.6 119.8 86.6Z",fill:"#3A7684"}),d.jsx("path",{d:"M128.1 114.4C123.7 111.1 117.4 111.4 113.7 115.4C110.1 119.2 106 122.3 101.4 125C94 129.2 85.8 131.3 76.9 131.3C68 131.3 62.9 129.8 56.6 126.9C50.3 124 44.7 120 40 115C35.3 110 31.5 104.2 28.7 97.5C25.9 90.8 24.5 83.7 24.5 76.1C24.5 68.5 25.9 61.3 28.7 54.7C31.5 48.1 35.2 42.2 40 37.2C44.7 32.2 50.2 28.3 56.6 25.3C62.9 22.4 69.7 20.9 76.9 20.9C84.1 20.9 93.9 23 101.4 27.2C106 29.8 110.1 33 113.7 36.8C117.5 40.8 123.7 41.1 128.1 37.8C133.6 33.7 134.1 25.6 129.1 20.9C123.9 15.9 118.1 11.7 111.5 8.2C101.1 2.8 89.5 0 76.9 0C64.3 0 56.7 2 47.5 6C38.3 10 30.4 15.5 23.6 22.3C16.8 29.2 11.4 37.2 7.5 46.4C3.5 55.6 1.6 65.5 1.6 76.1C1.6 86.7 3.6 96.5 7.5 105.8C9.2 109.9 11.3 113.7 13.6 117.3L0 160L46.3 145.7C46.7 145.9 47.1 146.1 47.5 146.3C56.7 150.3 66.5 152.3 76.9 152.3C87.3 152.3 101.1 149.5 111.6 144C118.2 140.5 124 136.3 129.2 131.3C134.1 126.5 133.7 118.5 128.2 114.4H128.1Z",fill:"#3A7684"})]})]}),d.jsx("defs",{children:d.jsx("clipPath",{id:"clip0_859_97",children:d.jsx("rect",{width:"645",height:"160",fill:"white"})})})]}),eI=({width:e=166,height:t=42})=>d.jsxs("svg",{width:e,height:t,viewBox:"0 0 324 78",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[d.jsx("path",{d:"M136.87 51.51H111.37V64.26C111.37 65.45 110.96 66.46 110.14 67.28C109.32 68.1 108.31 68.51 107.12 68.51C105.93 68.51 104.92 68.1 104.1 67.28C103.28 66.46 102.87 65.45 102.87 64.26V30.26C102.87 27.31 103.42 24.55 104.53 21.97C105.64 19.39 107.15 17.14 109.08 15.21C111.01 13.28 113.26 11.77 115.84 10.66C118.42 9.56 121.18 9 124.13 9C127.08 9 129.84 9.55 132.42 10.66C135 11.77 137.25 13.28 139.18 15.21C141.11 17.14 142.62 19.39 143.73 21.97C144.84 24.55 145.39 27.31 145.39 30.26V64.26C145.39 65.45 144.98 66.46 144.16 67.28C143.34 68.1 142.33 68.51 141.14 68.51C139.95 68.51 138.94 68.1 138.12 67.28C137.3 66.46 136.89 65.45 136.89 64.26V51.51H136.87ZM136.87 30.26C136.87 28.5 136.53 26.85 135.85 25.29C135.17 23.73 134.26 22.39 133.13 21.25C132 20.12 130.65 19.21 129.09 18.53C127.53 17.85 125.87 17.51 124.12 17.51C122.37 17.51 120.7 17.85 119.15 18.53C117.59 19.21 116.24 20.12 115.11 21.25C113.98 22.38 113.07 23.73 112.39 25.29C111.71 26.85 111.37 28.51 111.37 30.26V43.01H136.87V30.26Z",fill:"#333333"}),d.jsx("path",{d:"M159.99 68.51C158.8 68.51 157.79 68.1 156.97 67.28C156.15 66.46 155.74 65.45 155.74 64.26C155.74 63.07 156.15 62.06 156.97 61.24C157.79 60.42 158.8 60.01 159.99 60.01H176.99C178.18 60.01 179.19 59.6 180.01 58.78C180.83 57.96 181.24 56.95 181.24 55.76C181.24 54.57 180.83 53.56 180.01 52.74C179.19 51.92 178.18 51.51 176.99 51.51H168.49C166.73 51.51 165.07 51.17 163.52 50.49C161.96 49.81 160.62 48.9 159.48 47.77C158.35 46.64 157.44 45.29 156.76 43.73C156.08 42.17 155.74 40.51 155.74 38.76C155.74 37.01 156.08 35.35 156.76 33.79C157.44 32.23 158.35 30.89 159.48 29.75C160.61 28.62 161.96 27.71 163.52 27.03C165.08 26.35 166.74 26.01 168.49 26.01H180.48C181.61 26.01 182.6 26.42 183.45 27.24C184.3 28.06 184.73 29.07 184.73 30.26C184.73 31.45 184.3 32.46 183.45 33.28C182.6 34.1 181.61 34.51 180.48 34.51H168.49C167.3 34.51 166.29 34.92 165.47 35.74C164.65 36.56 164.24 37.57 164.24 38.76C164.24 39.95 164.65 40.96 165.47 41.78C166.29 42.6 167.3 43.01 168.49 43.01H176.99C178.75 43.01 180.4 43.35 181.96 44.03C183.52 44.71 184.86 45.62 186 46.75C187.13 47.88 188.04 49.23 188.72 50.79C189.4 52.35 189.74 54.01 189.74 55.76C189.74 57.51 189.4 59.17 188.72 60.73C188.04 62.29 187.13 63.63 186 64.77C184.87 65.9 183.52 66.81 181.96 67.49C180.4 68.17 178.74 68.51 176.99 68.51H159.99Z",fill:"#333333"}),d.jsx("path",{d:"M201.64 68.51C200.45 68.51 199.44 68.1 198.62 67.28C197.8 66.46 197.39 65.45 197.39 64.26C197.39 63.07 197.8 62.06 198.62 61.24C199.44 60.42 200.45 60.01 201.64 60.01H218.64C219.83 60.01 220.84 59.6 221.66 58.78C222.48 57.96 222.89 56.95 222.89 55.76C222.89 54.57 222.48 53.56 221.66 52.74C220.84 51.92 219.83 51.51 218.64 51.51H210.14C208.38 51.51 206.72 51.17 205.17 50.49C203.61 49.81 202.27 48.9 201.13 47.77C200 46.64 199.09 45.29 198.41 43.73C197.73 42.17 197.39 40.51 197.39 38.76C197.39 37.01 197.73 35.35 198.41 33.79C199.09 32.23 200 30.89 201.13 29.75C202.26 28.62 203.61 27.71 205.17 27.03C206.73 26.35 208.38 26.01 210.14 26.01H222.12C223.25 26.01 224.24 26.42 225.09 27.24C225.94 28.06 226.37 29.07 226.37 30.26C226.37 31.45 225.95 32.46 225.09 33.28C224.24 34.1 223.25 34.51 222.12 34.51H210.14C208.95 34.51 207.94 34.92 207.12 35.74C206.3 36.56 205.89 37.57 205.89 38.76C205.89 39.95 206.3 40.96 207.12 41.78C207.94 42.6 208.95 43.01 210.14 43.01H218.64C220.4 43.01 222.05 43.35 223.61 44.03C225.17 44.71 226.51 45.62 227.65 46.75C228.78 47.88 229.69 49.23 230.37 50.79C231.05 52.35 231.39 54.01 231.39 55.76C231.39 57.51 231.05 59.17 230.37 60.73C229.69 62.29 228.78 63.63 227.65 64.77C226.52 65.9 225.17 66.81 223.61 67.49C222.05 68.17 220.39 68.51 218.64 68.51H201.64Z",fill:"#333333"}),d.jsx("path",{d:"M248.22 13.69C248.22 14.99 247.77 16.1 246.86 17.01C245.95 17.92 244.85 18.37 243.55 18.37C242.25 18.37 241.14 17.92 240.23 17.01C239.32 16.1 238.87 15 238.87 13.69C238.87 12.38 239.32 11.28 240.23 10.37C241.14 9.46 242.24 9.01 243.55 9.01C244.86 9.01 245.96 9.46 246.86 10.37C247.77 11.28 248.22 12.38 248.22 13.69ZM239.3 64.26C239.3 65.45 239.71 66.46 240.53 67.28C241.35 68.1 242.36 68.51 243.55 68.51C244.74 68.51 245.75 68.1 246.57 67.28C247.39 66.46 247.8 65.45 247.8 64.26V30.26C247.8 29.07 247.39 28.06 246.57 27.24C245.75 26.42 244.74 26.01 243.55 26.01C242.36 26.01 241.35 26.42 240.53 27.24C239.71 28.06 239.3 29.07 239.3 30.26V64.26Z",fill:"#333333"}),d.jsx("path",{d:"M263.69 68.51C262.5 68.51 261.49 68.1 260.67 67.28C259.85 66.46 259.44 65.45 259.44 64.26C259.44 63.07 259.85 62.06 260.67 61.24C261.49 60.42 262.5 60.01 263.69 60.01H280.69C281.88 60.01 282.89 59.6 283.71 58.78C284.53 57.96 284.94 56.95 284.94 55.76C284.94 54.57 284.53 53.56 283.71 52.74C282.89 51.92 281.88 51.51 280.69 51.51H272.19C270.43 51.51 268.77 51.17 267.22 50.49C265.66 49.81 264.32 48.9 263.18 47.77C262.05 46.64 261.14 45.29 260.46 43.73C259.78 42.17 259.44 40.51 259.44 38.76C259.44 37.01 259.78 35.35 260.46 33.79C261.14 32.23 262.05 30.89 263.18 29.75C264.31 28.62 265.66 27.71 267.22 27.03C268.78 26.35 270.44 26.01 272.19 26.01H284.18C285.31 26.01 286.3 26.42 287.15 27.24C288 28.06 288.43 29.07 288.43 30.26C288.43 31.45 288.01 32.46 287.15 33.28C286.3 34.1 285.31 34.51 284.18 34.51H272.19C271 34.51 269.99 34.92 269.17 35.74C268.35 36.56 267.94 37.57 267.94 38.76C267.94 39.95 268.35 40.96 269.17 41.78C269.99 42.6 271 43.01 272.19 43.01H280.69C282.45 43.01 284.1 43.35 285.66 44.03C287.22 44.71 288.56 45.62 289.7 46.75C290.83 47.88 291.74 49.23 292.42 50.79C293.1 52.35 293.44 54.01 293.44 55.76C293.44 57.51 293.1 59.17 292.42 60.73C291.74 62.29 290.83 63.63 289.7 64.77C288.57 65.91 287.22 66.81 285.66 67.49C284.1 68.17 282.44 68.51 280.69 68.51H263.69Z",fill:"#333333"}),d.jsx("path",{d:"M300.92 13.26C300.92 12.07 301.33 11.06 302.15 10.24C302.97 9.42 303.98 9.01 305.17 9.01C306.36 9.01 307.37 9.42 308.19 10.24C309.01 11.06 309.42 12.07 309.42 13.26V26.01H316.22C317.41 26.01 318.42 26.42 319.24 27.24C320.06 28.06 320.47 29.07 320.47 30.26C320.47 31.45 320.06 32.46 319.24 33.28C318.42 34.1 317.41 34.51 316.22 34.51H309.42V55.76C309.42 56.89 309.83 57.88 310.65 58.73C311.47 59.58 312.48 60.01 313.67 60.01C314.86 60.01 315.79 59.59 316.65 58.73C317.51 57.87 318.52 57.46 319.71 57.46C320.9 57.46 321.89 57.88 322.68 58.73C323.53 59.52 323.96 60.52 323.96 61.71C323.96 62.9 323.54 63.92 322.68 64.77C321.55 65.9 320.2 66.81 318.64 67.49C317.08 68.17 315.42 68.51 313.67 68.51C311.92 68.51 310.26 68.17 308.7 67.49C307.14 66.81 305.8 65.9 304.66 64.77C303.53 63.64 302.62 62.29 301.94 60.73C301.26 59.17 300.92 57.51 300.92 55.76V13.26Z",fill:"#333333"}),d.jsx("path",{d:"M31.3788 42.22C34.1512 42.22 36.3988 39.9725 36.3988 37.2C36.3988 34.4275 34.1512 32.18 31.3788 32.18C28.6063 32.18 26.3588 34.4275 26.3588 37.2C26.3588 39.9725 28.6063 42.22 31.3788 42.22Z",fill:"#5AA9E6"}),d.jsx("path",{d:"M45.1288 42.22C47.9012 42.22 50.1488 39.9725 50.1488 37.2C50.1488 34.4275 47.9012 32.18 45.1288 32.18C42.3563 32.18 40.1088 34.4275 40.1088 37.2C40.1088 39.9725 42.3563 42.22 45.1288 42.22Z",fill:"#5AA9E6"}),d.jsx("path",{d:"M58.8688 42.22C61.6412 42.22 63.8888 39.9725 63.8888 37.2C63.8888 34.4275 61.6412 32.18 58.8688 32.18C56.0963 32.18 53.8488 34.4275 53.8488 37.2C53.8488 39.9725 56.0963 42.22 58.8688 42.22Z",fill:"#5AA9E6"}),d.jsx("path",{d:"M62.9288 55.74C60.7888 54.14 57.7388 54.29 55.8988 56.23C54.1588 58.06 52.1588 59.61 49.8988 60.9C46.2788 62.96 42.3088 63.99 37.9788 63.99C34.4588 63.99 31.1688 63.28 28.0888 61.86C25.0088 60.44 22.3188 58.51 20.0288 56.08C17.7288 53.65 15.9088 50.81 14.5488 47.56C13.1988 44.31 12.5188 40.83 12.5188 37.11C12.5188 33.39 13.1988 29.91 14.5488 26.66C15.8988 23.42 17.7288 20.58 20.0288 18.14C22.3288 15.71 25.0188 13.78 28.0888 12.36C31.1688 10.94 34.4588 10.23 37.9788 10.23C42.3088 10.23 46.2788 11.26 49.8988 13.32C52.1588 14.61 54.1588 16.16 55.8988 17.99C57.7488 19.92 60.7888 20.08 62.9288 18.48C65.6088 16.48 65.8388 12.55 63.4288 10.23C60.9088 7.8 58.0588 5.74 54.8588 4.04C49.7588 1.35 44.1288 0 37.9788 0C32.9088 0 28.1388 0.98 23.6788 2.94C19.2188 4.9 15.3288 7.55 12.0188 10.9C8.70877 14.25 6.08877 18.17 4.15877 22.66C2.22877 27.16 1.26877 31.97 1.26877 37.11C1.26877 42.25 2.22877 47.07 4.15877 51.56C5.00877 53.54 6.00877 55.39 7.12877 57.15L0.548767 77.97L23.0788 71C23.2788 71.09 23.4688 71.2 23.6788 71.29C28.1388 73.25 32.9088 74.23 37.9788 74.23C44.1288 74.23 49.7588 72.88 54.8688 70.17C58.0588 68.48 60.9188 66.42 63.4388 63.98C65.8488 61.66 65.6188 57.73 62.9388 55.73L62.9288 55.74Z",fill:"#5AA9E6"})]}),tI=({width:e=198,height:t=42})=>d.jsxs("svg",{width:e,height:t,viewBox:"0 0 393 78",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[d.jsx("path",{d:"M30.973 42.22C33.7455 42.22 35.993 39.9725 35.993 37.2C35.993 34.4275 33.7455 32.18 30.973 32.18C28.2005 32.18 25.953 34.4275 25.953 37.2C25.953 39.9725 28.2005 42.22 30.973 42.22Z",fill:"#FF6F9A"}),d.jsx("path",{d:"M44.723 42.22C47.4955 42.22 49.743 39.9725 49.743 37.2C49.743 34.4275 47.4955 32.18 44.723 32.18C41.9505 32.18 39.703 34.4275 39.703 37.2C39.703 39.9725 41.9505 42.22 44.723 42.22Z",fill:"#FF6F9A"}),d.jsx("path",{d:"M58.463 42.22C61.2355 42.22 63.483 39.9725 63.483 37.2C63.483 34.4275 61.2355 32.18 58.463 32.18C55.6905 32.18 53.443 34.4275 53.443 37.2C53.443 39.9725 55.6905 42.22 58.463 42.22Z",fill:"#FF6F9A"}),d.jsx("path",{d:"M62.523 55.74C60.383 54.14 57.333 54.29 55.493 56.23C53.753 58.06 51.753 59.61 49.493 60.9C45.873 62.96 41.903 63.99 37.573 63.99C34.053 63.99 30.763 63.28 27.683 61.86C24.603 60.44 21.913 58.51 19.623 56.08C17.323 53.65 15.503 50.81 14.143 47.56C12.793 44.31 12.113 40.83 12.113 37.11C12.113 33.39 12.793 29.91 14.143 26.66C15.493 23.42 17.323 20.58 19.623 18.14C21.923 15.71 24.613 13.78 27.683 12.36C30.763 10.94 34.053 10.23 37.573 10.23C41.903 10.23 45.873 11.26 49.493 13.32C51.753 14.61 53.753 16.16 55.493 17.99C57.343 19.92 60.383 20.08 62.523 18.48C65.203 16.48 65.433 12.55 63.023 10.23C60.503 7.8 57.653 5.74 54.453 4.04C49.353 1.35 43.723 0 37.573 0C32.503 0 27.733 0.98 23.273 2.94C18.813 4.9 14.923 7.55 11.613 10.9C8.30301 14.25 5.68301 18.17 3.75301 22.66C1.82301 27.16 0.863005 31.97 0.863005 37.11C0.863005 42.25 1.82301 47.07 3.75301 51.56C4.60301 53.54 5.60301 55.39 6.72301 57.15L0.143005 77.97L22.673 71C22.873 71.09 23.063 71.2 23.273 71.29C27.733 73.25 32.503 74.23 37.573 74.23C43.723 74.23 49.353 72.88 54.463 70.17C57.653 68.48 60.513 66.42 63.033 63.98C65.443 61.66 65.213 57.73 62.533 55.73L62.523 55.74Z",fill:"#FF6F9A"}),d.jsx("path",{d:"M107.021 70.75C105.831 70.75 104.821 70.34 104.001 69.52C103.181 68.7 102.771 67.69 102.771 66.5V15.5C102.771 14.31 103.181 13.3 104.001 12.48C104.821 11.66 105.831 11.25 107.021 11.25H141.021C142.211 11.25 143.221 11.66 144.041 12.48C144.861 13.3 145.271 14.31 145.271 15.5C145.271 16.69 144.861 17.7 144.041 18.52C143.221 19.34 142.211 19.75 141.021 19.75H111.271V45.25H135.411C136.541 45.25 137.531 45.66 138.391 46.48C139.241 47.3 139.661 48.31 139.661 49.5C139.661 50.69 139.251 51.67 138.431 52.43C137.611 53.19 136.601 53.64 135.411 53.75H111.271V62.25H141.021C142.211 62.25 143.221 62.66 144.041 63.48C144.861 64.3 145.271 65.31 145.271 66.5C145.271 67.69 144.861 68.7 144.041 69.52C143.221 70.34 142.211 70.75 141.021 70.75H107.021Z",fill:"#333333"}),d.jsx("path",{d:"M154.621 11.25C154.621 10.06 155.031 9.05 155.851 8.23C156.671 7.41 157.681 7 158.871 7C160.061 7 161.071 7.41 161.891 8.23C162.711 9.05 163.121 10.06 163.121 11.25V66.5C163.121 67.69 162.711 68.7 161.891 69.52C161.071 70.34 160.061 70.75 158.871 70.75C157.681 70.75 156.671 70.34 155.851 69.52C155.031 68.7 154.621 67.69 154.621 66.5V11.25Z",fill:"#333333"}),d.jsx("path",{d:"M180.041 53.75C180.891 56.24 182.411 58.28 184.591 59.87C186.771 61.46 189.251 62.25 192.031 62.25C193.791 62.25 195.441 61.91 197.001 61.23C198.561 60.55 199.901 59.64 201.041 58.51C201.831 57.72 202.831 57.32 204.021 57.32C205.211 57.32 206.231 57.72 207.081 58.51C207.871 59.36 208.271 60.37 208.271 61.53C208.271 62.69 207.871 63.7 207.081 64.55C205.101 66.48 202.831 67.99 200.281 69.1C197.731 70.2 194.981 70.76 192.031 70.76C189.081 70.76 186.321 70.21 183.741 69.1C181.161 67.99 178.911 66.48 176.981 64.55C175.051 62.62 173.541 60.37 172.431 57.79C171.321 55.21 170.771 52.45 170.771 49.5C170.771 46.55 171.321 43.79 172.431 41.21C173.541 38.63 175.051 36.38 176.981 34.45C178.911 32.52 181.161 31.01 183.741 29.9C186.321 28.79 189.081 28.24 192.031 28.24C194.981 28.24 197.741 28.79 200.321 29.9C202.901 31 205.151 32.52 207.081 34.45C209.011 36.38 210.521 38.63 211.631 41.21C212.731 43.79 213.291 46.55 213.291 49.5C213.291 50.63 212.881 51.62 212.061 52.48C211.241 53.33 210.231 53.75 209.041 53.75H180.061H180.041ZM204.011 45.25C203.161 42.76 201.641 40.72 199.461 39.13C197.281 37.55 194.801 36.75 192.021 36.75C189.241 36.75 186.761 37.54 184.581 39.13C182.401 40.72 180.851 42.76 179.951 45.25H204.011Z",fill:"#333333"}),d.jsx("path",{d:"M219.731 34.37C219.221 33.35 219.151 32.29 219.521 31.18C219.891 30.08 220.611 29.24 221.691 28.67C222.711 28.16 223.771 28.09 224.881 28.46C225.981 28.83 226.821 29.55 227.391 30.63L240.571 56.98L253.741 30.54C254.311 29.52 255.141 28.83 256.251 28.46C257.361 28.09 258.451 28.16 259.521 28.67C260.541 29.24 261.231 30.07 261.601 31.18C261.971 32.29 261.901 33.38 261.391 34.45L244.391 68.37C244.111 68.82 243.801 69.22 243.461 69.56C243.181 69.84 242.791 70.11 242.311 70.37C241.831 70.62 241.251 70.75 240.571 70.75C239.891 70.75 239.291 70.62 238.781 70.37C238.271 70.11 237.871 69.85 237.591 69.56C237.251 69.22 236.971 68.82 236.741 68.37L219.741 34.37H219.731Z",fill:"#333333"}),d.jsx("path",{d:"M301.841 66.42C300.031 67.78 298.041 68.83 295.891 69.57C293.741 70.31 291.471 70.67 289.091 70.67C286.141 70.67 283.381 70.12 280.801 69.01C278.221 67.9 275.971 66.39 274.041 64.46C272.111 62.53 270.601 60.28 269.491 57.7C268.381 55.12 267.831 52.36 267.831 49.41C267.831 46.46 268.381 43.7 269.491 41.12C270.591 38.54 272.111 36.29 274.041 34.36C275.971 32.43 278.221 30.92 280.801 29.81C283.381 28.71 286.141 28.15 289.091 28.15C292.041 28.15 294.801 28.7 297.381 29.81C299.961 30.92 302.211 32.43 304.141 34.36C306.071 36.29 307.581 38.54 308.691 41.12C309.801 43.7 310.351 46.46 310.351 49.41V66.49C310.351 67.68 309.941 68.69 309.121 69.51C308.301 70.33 307.291 70.74 306.101 70.74C304.911 70.74 303.901 70.33 303.081 69.51C302.261 68.69 301.851 67.68 301.851 66.49V66.41L301.841 66.42ZM289.091 62.17C290.851 62.17 292.501 61.83 294.061 61.15C295.621 60.47 296.961 59.56 298.101 58.43C299.241 57.3 300.141 55.95 300.821 54.39C301.501 52.83 301.841 51.17 301.841 49.42C301.841 47.67 301.501 46.01 300.821 44.45C300.141 42.89 299.231 41.55 298.101 40.41C296.971 39.28 295.621 38.37 294.061 37.69C292.501 37.01 290.841 36.67 289.091 36.67C287.341 36.67 285.681 37.01 284.121 37.69C282.561 38.37 281.221 39.28 280.081 40.41C278.951 41.54 278.041 42.89 277.361 44.45C276.681 46.01 276.341 47.67 276.341 49.42C276.341 51.17 276.681 52.84 277.361 54.39C278.041 55.95 278.951 57.29 280.081 58.43C281.211 59.56 282.561 60.47 284.121 61.15C285.681 61.83 287.331 62.17 289.091 62.17Z",fill:"#333333"}),d.jsx("path",{d:"M319.691 15.5C319.691 14.31 320.101 13.3 320.921 12.48C321.741 11.66 322.751 11.25 323.941 11.25C325.131 11.25 326.141 11.66 326.961 12.48C327.781 13.3 328.191 14.31 328.191 15.5V28.25H334.991C336.181 28.25 337.191 28.66 338.011 29.48C338.831 30.3 339.241 31.31 339.241 32.5C339.241 33.69 338.831 34.7 338.011 35.52C337.191 36.34 336.181 36.75 334.991 36.75H328.191V58C328.191 59.13 328.601 60.12 329.421 60.98C330.241 61.83 331.251 62.25 332.441 62.25C333.631 62.25 334.561 61.83 335.411 60.98C336.261 60.13 337.281 59.7 338.471 59.7C339.661 59.7 340.651 60.12 341.441 60.98C342.291 61.77 342.721 62.76 342.721 63.95C342.721 65.14 342.291 66.16 341.441 67.01C340.311 68.14 338.961 69.05 337.401 69.73C335.841 70.41 334.181 70.75 332.431 70.75C330.681 70.75 329.021 70.41 327.461 69.73C325.901 69.05 324.561 68.14 323.421 67.01C322.291 65.88 321.381 64.53 320.701 62.97C320.021 61.41 319.681 59.76 319.681 58V15.5H319.691Z",fill:"#333333"}),d.jsx("path",{d:"M359.221 53.75C360.071 56.24 361.591 58.28 363.771 59.87C365.951 61.46 368.431 62.25 371.211 62.25C372.971 62.25 374.621 61.91 376.181 61.23C377.741 60.55 379.081 59.64 380.221 58.51C381.011 57.72 382.011 57.32 383.191 57.32C384.371 57.32 385.401 57.72 386.251 58.51C387.041 59.36 387.441 60.37 387.441 61.53C387.441 62.69 387.041 63.7 386.251 64.55C384.271 66.48 382.001 67.99 379.451 69.1C376.901 70.2 374.151 70.76 371.211 70.76C368.271 70.76 365.501 70.21 362.921 69.1C360.341 67.99 358.091 66.48 356.161 64.55C354.231 62.62 352.721 60.37 351.611 57.79C350.511 55.21 349.951 52.45 349.951 49.5C349.951 46.55 350.501 43.79 351.611 41.21C352.721 38.63 354.231 36.38 356.161 34.45C358.091 32.52 360.341 31.01 362.921 29.9C365.501 28.79 368.261 28.24 371.211 28.24C374.161 28.24 376.921 28.79 379.501 29.9C382.081 31 384.331 32.52 386.261 34.45C388.191 36.38 389.701 38.63 390.811 41.21C391.921 43.79 392.471 46.55 392.471 49.5C392.471 50.63 392.061 51.62 391.241 52.48C390.421 53.33 389.411 53.75 388.221 53.75H359.241H359.221ZM383.181 45.25C382.331 42.76 380.811 40.72 378.631 39.13C376.451 37.55 373.971 36.75 371.191 36.75C368.411 36.75 365.931 37.54 363.751 39.13C361.571 40.72 360.021 42.76 359.121 45.25H383.171H383.181Z",fill:"#333333"})]}),nI=({width:e=177,height:t=42})=>d.jsxs("svg",{width:e,height:t,viewBox:"0 0 355 79",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[d.jsx("path",{d:"M31.7903 42.66C34.5628 42.66 36.8103 40.4125 36.8103 37.64C36.8103 34.8675 34.5628 32.62 31.7903 32.62C29.0178 32.62 26.7703 34.8675 26.7703 37.64C26.7703 40.4125 29.0178 42.66 31.7903 42.66Z",fill:"#48BF84"}),d.jsx("path",{d:"M45.5403 42.66C48.3128 42.66 50.5603 40.4125 50.5603 37.64C50.5603 34.8675 48.3128 32.62 45.5403 32.62C42.7678 32.62 40.5203 34.8675 40.5203 37.64C40.5203 40.4125 42.7678 42.66 45.5403 42.66Z",fill:"#48BF84"}),d.jsx("path",{d:"M59.2803 42.66C62.0528 42.66 64.3003 40.4125 64.3003 37.64C64.3003 34.8675 62.0528 32.62 59.2803 32.62C56.5078 32.62 54.2603 34.8675 54.2603 37.64C54.2603 40.4125 56.5078 42.66 59.2803 42.66Z",fill:"#48BF84"}),d.jsx("path",{d:"M63.3403 56.18C61.2003 54.58 58.1503 54.73 56.3103 56.67C54.5703 58.5 52.5703 60.05 50.3103 61.34C46.6903 63.4 42.7203 64.43 38.3903 64.43C34.8703 64.43 31.5803 63.72 28.5003 62.3C25.4203 60.88 22.7303 58.95 20.4403 56.52C18.1403 54.09 16.3203 51.25 14.9603 48C13.6103 44.75 12.9303 41.27 12.9303 37.55C12.9303 33.83 13.6103 30.35 14.9603 27.1C16.3103 23.86 18.1403 21.02 20.4403 18.58C22.7403 16.15 25.4303 14.22 28.5003 12.8C31.5803 11.38 34.8703 10.67 38.3903 10.67C42.7203 10.67 46.6903 11.7 50.3103 13.76C52.5703 15.05 54.5703 16.6 56.3103 18.43C58.1603 20.36 61.2003 20.52 63.3403 18.92C66.0203 16.92 66.2503 12.99 63.8403 10.67C61.3203 8.24 58.4703 6.18 55.2703 4.48C50.1703 1.79 44.5403 0.440002 38.3903 0.440002C33.3203 0.440002 28.5503 1.42 24.0903 3.38C19.6303 5.34 15.7403 7.99 12.4303 11.34C9.1203 14.69 6.5003 18.61 4.5703 23.1C2.6403 27.6 1.6803 32.41 1.6803 37.55C1.6803 42.69 2.6403 47.51 4.5703 52C5.4203 53.98 6.4203 55.83 7.5403 57.59L0.960297 78.41L23.4903 71.44C23.6903 71.53 23.8803 71.64 24.0903 71.73C28.5503 73.69 33.3203 74.67 38.3903 74.67C44.5403 74.67 50.1703 73.32 55.2803 70.61C58.4703 68.92 61.3303 66.86 63.8503 64.42C66.2603 62.1 66.0303 58.17 63.3503 56.17L63.3403 56.18Z",fill:"#48BF84"}),d.jsx("path",{d:"M103.813 33.94C103.813 30.99 104.363 28.23 105.473 25.65C106.583 23.07 108.093 20.82 110.023 18.89C111.953 16.96 114.203 15.45 116.783 14.34C119.363 13.24 122.123 12.68 125.073 12.68C128.023 12.68 130.773 13.23 133.323 14.34C135.873 15.45 138.143 16.96 140.123 18.89C140.913 19.74 141.313 20.75 141.313 21.91C141.313 23.07 140.913 24.08 140.123 24.93C139.273 25.72 138.253 26.12 137.063 26.12C135.873 26.12 134.883 25.72 134.093 24.93C132.963 23.8 131.613 22.89 130.053 22.21C128.493 21.53 126.833 21.19 125.083 21.19C123.333 21.19 121.663 21.53 120.113 22.21C118.553 22.89 117.203 23.8 116.073 24.93C114.943 26.06 114.033 27.41 113.353 28.97C112.673 30.53 112.333 32.19 112.333 33.94V50.94C112.333 52.7 112.673 54.36 113.353 55.91C114.033 57.47 114.943 58.81 116.073 59.95C117.203 61.08 118.553 61.99 120.113 62.67C121.673 63.35 123.323 63.69 125.083 63.69C126.843 63.69 128.493 63.35 130.053 62.67C131.613 61.99 132.953 61.08 134.093 59.95C134.943 59.1 135.953 58.68 137.113 58.68C138.273 58.68 139.283 59.1 140.133 59.95C140.923 60.74 141.323 61.74 141.323 62.93C141.323 64.12 140.923 65.11 140.133 65.9C138.203 67.88 135.953 69.43 133.373 70.53C130.793 71.63 128.033 72.19 125.083 72.19C122.133 72.19 119.373 71.64 116.793 70.53C114.213 69.42 111.963 67.91 110.033 65.98C108.103 64.05 106.593 61.8 105.483 59.22C104.383 56.64 103.823 53.88 103.823 50.93V33.93L103.813 33.94Z",fill:"#333333"}),d.jsx("path",{d:"M168.583 72.19C165.633 72.19 162.873 71.64 160.293 70.53C157.713 69.42 155.463 67.91 153.533 65.98C151.603 64.05 150.093 61.8 148.983 59.22C147.883 56.64 147.323 53.88 147.323 50.93C147.323 47.98 147.873 45.22 148.983 42.64C150.093 40.06 151.603 37.81 153.533 35.88C155.463 33.95 157.713 32.44 160.293 31.33C162.873 30.23 165.633 29.67 168.583 29.67C171.533 29.67 174.293 30.22 176.873 31.33C179.453 32.44 181.703 33.95 183.633 35.88C185.563 37.81 187.073 40.06 188.183 42.64C189.293 45.22 189.843 47.98 189.843 50.93C189.843 53.88 189.293 56.64 188.183 59.22C187.073 61.8 185.563 64.05 183.633 65.98C181.703 67.91 179.453 69.42 176.873 70.53C174.293 71.63 171.533 72.19 168.583 72.19ZM168.583 63.69C170.343 63.69 171.993 63.35 173.553 62.67C175.113 61.99 176.453 61.08 177.593 59.95C178.723 58.82 179.633 57.47 180.313 55.91C180.993 54.35 181.333 52.69 181.333 50.94C181.333 49.19 180.993 47.53 180.313 45.97C179.633 44.41 178.723 43.07 177.593 41.93C176.463 40.8 175.113 39.89 173.553 39.21C171.993 38.53 170.333 38.19 168.583 38.19C166.833 38.19 165.163 38.53 163.613 39.21C162.053 39.89 160.703 40.8 159.573 41.93C158.443 43.06 157.533 44.41 156.853 45.97C156.173 47.53 155.833 49.19 155.833 50.94C155.833 52.69 156.173 54.36 156.853 55.91C157.533 57.47 158.443 58.81 159.573 59.95C160.703 61.08 162.053 61.99 163.613 62.67C165.173 63.35 166.823 63.69 168.583 63.69Z",fill:"#333333"}),d.jsx("path",{d:"M199.183 12.69C199.183 11.5 199.593 10.49 200.413 9.67C201.233 8.85 202.243 8.44 203.433 8.44C204.623 8.44 205.633 8.85 206.453 9.67C207.273 10.49 207.683 11.5 207.683 12.69V67.94C207.683 69.13 207.273 70.14 206.453 70.96C205.633 71.78 204.623 72.19 203.433 72.19C202.243 72.19 201.233 71.78 200.413 70.96C199.593 70.14 199.183 69.13 199.183 67.94V12.69Z",fill:"#333333"}),d.jsx("path",{d:"M217.033 12.69C217.033 11.5 217.443 10.49 218.263 9.67C219.083 8.85 220.093 8.44 221.283 8.44C222.473 8.44 223.483 8.85 224.303 9.67C225.123 10.49 225.533 11.5 225.533 12.69V67.94C225.533 69.13 225.123 70.14 224.303 70.96C223.483 71.78 222.473 72.19 221.283 72.19C220.093 72.19 219.083 71.78 218.263 70.96C217.443 70.14 217.033 69.13 217.033 67.94V12.69Z",fill:"#333333"}),d.jsx("path",{d:"M242.453 55.19C243.303 57.68 244.823 59.72 247.003 61.31C249.183 62.9 251.663 63.69 254.443 63.69C256.203 63.69 257.853 63.35 259.413 62.67C260.973 61.99 262.313 61.08 263.453 59.95C264.243 59.16 265.243 58.76 266.423 58.76C267.603 58.76 268.633 59.16 269.483 59.95C270.273 60.8 270.673 61.81 270.673 62.97C270.673 64.13 270.273 65.14 269.483 65.99C267.503 67.92 265.233 69.43 262.683 70.54C260.133 71.64 257.383 72.2 254.443 72.2C251.503 72.2 248.733 71.65 246.153 70.54C243.573 69.43 241.323 67.92 239.393 65.99C237.463 64.06 235.953 61.81 234.843 59.23C233.733 56.65 233.183 53.89 233.183 50.94C233.183 47.99 233.733 45.23 234.843 42.65C235.943 40.07 237.463 37.82 239.393 35.89C241.323 33.96 243.573 32.45 246.153 31.34C248.733 30.24 251.493 29.68 254.443 29.68C257.393 29.68 260.153 30.23 262.733 31.34C265.313 32.45 267.563 33.96 269.493 35.89C271.423 37.82 272.933 40.07 274.043 42.65C275.153 45.23 275.703 47.99 275.703 50.94C275.703 52.07 275.293 53.06 274.473 53.92C273.653 54.77 272.643 55.19 271.453 55.19H242.463H242.453ZM266.423 46.69C265.573 44.2 264.053 42.16 261.873 40.57C259.693 38.98 257.213 38.19 254.433 38.19C251.653 38.19 249.173 38.98 246.993 40.57C244.813 42.16 243.263 44.2 242.363 46.69H266.413H266.423Z",fill:"#333333"}),d.jsx("path",{d:"M318.783 65.98C316.853 67.91 314.603 69.42 312.023 70.53C309.443 71.63 306.683 72.19 303.733 72.19C300.783 72.19 298.023 71.64 295.443 70.53C292.863 69.42 290.613 67.91 288.683 65.98C286.753 64.05 285.243 61.8 284.133 59.22C283.033 56.64 282.473 53.88 282.473 50.93C282.473 47.98 283.023 45.22 284.133 42.64C285.243 40.06 286.753 37.81 288.683 35.88C290.613 33.95 292.863 32.44 295.443 31.33C298.023 30.23 300.783 29.67 303.733 29.67C306.683 29.67 309.433 30.22 311.973 31.33C314.523 32.44 316.793 33.95 318.773 35.88C319.563 36.73 319.963 37.74 319.963 38.9C319.963 40.06 319.563 41.07 318.773 41.92C317.923 42.71 316.903 43.11 315.713 43.11C314.523 43.11 313.533 42.71 312.743 41.92C311.613 40.79 310.263 39.88 308.703 39.2C307.143 38.52 305.483 38.18 303.733 38.18C301.983 38.18 300.323 38.52 298.763 39.2C297.203 39.88 295.863 40.79 294.723 41.92C293.593 43.05 292.683 44.4 292.003 45.96C291.323 47.52 290.983 49.18 290.983 50.93C290.983 52.68 291.323 54.35 292.003 55.9C292.683 57.46 293.593 58.8 294.723 59.94C295.853 61.07 297.203 61.98 298.763 62.66C300.323 63.34 301.973 63.68 303.733 63.68C305.493 63.68 307.143 63.34 308.703 62.66C310.263 61.98 311.603 61.07 312.743 59.94C313.593 59.15 314.603 58.75 315.763 58.75C316.923 58.75 317.933 59.15 318.783 59.94C319.573 60.79 319.973 61.8 319.973 62.96C319.973 64.12 319.573 65.13 318.783 65.98Z",fill:"#333333"}),d.jsx("path",{d:"M331.103 16.94C331.103 15.75 331.513 14.74 332.333 13.92C333.153 13.1 334.163 12.69 335.353 12.69C336.543 12.69 337.553 13.1 338.373 13.92C339.193 14.74 339.603 15.75 339.603 16.94V29.69H346.403C347.593 29.69 348.603 30.1 349.423 30.92C350.243 31.74 350.653 32.75 350.653 33.94C350.653 35.13 350.243 36.14 349.423 36.96C348.603 37.78 347.593 38.19 346.403 38.19H339.603V59.44C339.603 60.57 340.013 61.56 340.833 62.42C341.653 63.27 342.663 63.69 343.853 63.69C345.043 63.69 345.973 63.27 346.833 62.42C347.683 61.57 348.703 61.14 349.893 61.14C351.083 61.14 352.073 61.56 352.863 62.42C353.713 63.21 354.143 64.2 354.143 65.39C354.143 66.58 353.723 67.6 352.863 68.45C351.733 69.58 350.383 70.49 348.823 71.17C347.263 71.85 345.603 72.19 343.853 72.19C342.103 72.19 340.443 71.85 338.883 71.17C337.323 70.49 335.983 69.58 334.843 68.45C333.713 67.32 332.803 65.97 332.123 64.41C331.443 62.85 331.103 61.19 331.103 59.44V16.94Z",fill:"#333333"})]}),rI=({width:e=168,height:t=42})=>d.jsxs("svg",{width:e,height:t,viewBox:"0 0 332 79",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[d.jsx("path",{d:"M112.694 20.75H99.9443C98.7543 20.75 97.7443 20.34 96.9243 19.52C96.1043 18.7 95.6943 17.69 95.6943 16.5C95.6943 15.31 96.1043 14.3 96.9243 13.48C97.7443 12.66 98.7543 12.25 99.9443 12.25H133.944C135.134 12.25 136.144 12.66 136.964 13.48C137.784 14.3 138.194 15.31 138.194 16.5C138.194 17.69 137.784 18.7 136.964 19.52C136.144 20.34 135.134 20.75 133.944 20.75H121.194V67.5C121.194 68.69 120.784 69.7 119.964 70.52C119.144 71.34 118.134 71.75 116.944 71.75C115.754 71.75 114.744 71.34 113.924 70.52C113.104 69.7 112.694 68.69 112.694 67.5V20.75Z",fill:"#333333"}),d.jsx("path",{d:"M172.194 67.41C170.384 68.77 168.394 69.82 166.244 70.56C164.094 71.3 161.824 71.66 159.444 71.66C156.494 71.66 153.734 71.11 151.154 70C148.574 68.89 146.324 67.38 144.394 65.45C142.464 63.52 140.954 61.27 139.844 58.69C138.744 56.11 138.184 53.35 138.184 50.4C138.184 47.45 138.734 44.69 139.844 42.11C140.954 39.53 142.464 37.28 144.394 35.35C146.324 33.42 148.574 31.91 151.154 30.8C153.734 29.69 156.494 29.14 159.444 29.14C162.394 29.14 165.154 29.69 167.734 30.8C170.314 31.91 172.564 33.42 174.494 35.35C176.424 37.28 177.934 39.53 179.044 42.11C180.154 44.69 180.704 47.45 180.704 50.4V67.48C180.704 68.67 180.294 69.68 179.474 70.5C178.654 71.32 177.644 71.73 176.454 71.73C175.264 71.73 174.254 71.32 173.434 70.5C172.614 69.68 172.204 68.67 172.204 67.48V67.4L172.194 67.41ZM159.444 63.16C161.204 63.16 162.854 62.82 164.414 62.14C165.974 61.46 167.314 60.55 168.454 59.42C169.584 58.29 170.494 56.94 171.174 55.38C171.854 53.82 172.194 52.16 172.194 50.41C172.194 48.66 171.854 47 171.174 45.44C170.494 43.88 169.584 42.54 168.454 41.4C167.324 40.27 165.974 39.36 164.414 38.68C162.854 38 161.194 37.66 159.444 37.66C157.694 37.66 156.024 38 154.474 38.68C152.914 39.36 151.564 40.27 150.434 41.4C149.304 42.53 148.394 43.88 147.714 45.44C147.034 47 146.694 48.66 146.694 50.41C146.694 52.16 147.034 53.83 147.714 55.38C148.394 56.94 149.304 58.28 150.434 59.42C151.564 60.55 152.914 61.46 154.474 62.14C156.034 62.82 157.684 63.16 159.444 63.16Z",fill:"#333333"}),d.jsx("path",{d:"M190.044 12.25C190.044 11.06 190.454 10.05 191.274 9.23C192.094 8.41 193.104 8 194.294 8C195.484 8 196.494 8.41 197.314 9.23C198.134 10.05 198.544 11.06 198.544 12.25V67.5C198.544 68.69 198.134 69.7 197.314 70.52C196.494 71.34 195.484 71.75 194.294 71.75C193.104 71.75 192.094 71.34 191.274 70.52C190.454 69.7 190.044 68.69 190.044 67.5V12.25Z",fill:"#333333"}),d.jsx("path",{d:"M215.464 54.75C216.314 57.24 217.834 59.28 220.014 60.87C222.194 62.46 224.674 63.25 227.454 63.25C229.214 63.25 230.864 62.91 232.424 62.23C233.984 61.55 235.324 60.64 236.464 59.51C237.254 58.72 238.254 58.32 239.444 58.32C240.634 58.32 241.654 58.72 242.504 59.51C243.294 60.36 243.694 61.37 243.694 62.53C243.694 63.69 243.294 64.7 242.504 65.55C240.524 67.48 238.254 68.99 235.704 70.1C233.154 71.21 230.404 71.76 227.454 71.76C224.504 71.76 221.744 71.21 219.164 70.1C216.584 69 214.334 67.48 212.404 65.55C210.474 63.62 208.964 61.37 207.854 58.79C206.744 56.21 206.194 53.45 206.194 50.5C206.194 47.55 206.744 44.79 207.854 42.21C208.954 39.63 210.474 37.38 212.404 35.45C214.334 33.52 216.584 32.01 219.164 30.9C221.744 29.79 224.504 29.24 227.454 29.24C230.404 29.24 233.164 29.79 235.744 30.9C238.324 32 240.574 33.52 242.504 35.45C244.434 37.38 245.944 39.63 247.054 42.21C248.164 44.79 248.714 47.55 248.714 50.5C248.714 51.63 248.304 52.62 247.484 53.47C246.664 54.32 245.654 54.75 244.464 54.75H215.484H215.464ZM239.434 46.25C238.584 43.76 237.064 41.72 234.884 40.13C232.704 38.55 230.224 37.75 227.444 37.75C224.664 37.75 222.184 38.54 220.004 40.13C217.824 41.72 216.274 43.76 215.374 46.25H239.434Z",fill:"#333333"}),d.jsx("path",{d:"M256.344 33.5C256.344 32.31 256.754 31.3 257.574 30.48C258.394 29.66 259.404 29.25 260.594 29.25C261.784 29.25 262.794 29.66 263.614 30.48C264.434 31.3 264.844 32.31 264.844 33.5C266.654 32.2 268.644 31.16 270.794 30.4C272.944 29.64 275.214 29.25 277.594 29.25C280.544 29.25 283.304 29.8 285.884 30.91C288.464 32.01 290.714 33.53 292.644 35.46C294.574 37.39 296.084 39.64 297.194 42.22C298.294 44.8 298.854 47.56 298.854 50.51V67.51C298.854 68.7 298.444 69.71 297.624 70.53C296.804 71.35 295.794 71.76 294.604 71.76C293.414 71.76 292.404 71.35 291.584 70.53C290.764 69.71 290.354 68.7 290.354 67.51V50.51C290.354 48.75 290.014 47.1 289.334 45.54C288.654 43.98 287.744 42.64 286.614 41.5C285.484 40.37 284.134 39.46 282.574 38.78C281.014 38.1 279.354 37.76 277.604 37.76C275.854 37.76 274.194 38.1 272.634 38.78C271.074 39.46 269.734 40.37 268.594 41.5C267.454 42.63 266.554 43.98 265.874 45.54C265.194 47.1 264.854 48.76 264.854 50.51V67.51C264.854 68.7 264.444 69.71 263.624 70.53C262.804 71.35 261.794 71.76 260.604 71.76C259.414 71.76 258.404 71.35 257.584 70.53C256.764 69.71 256.354 68.7 256.354 67.51V33.51L256.344 33.5Z",fill:"#333333"}),d.jsx("path",{d:"M308.194 16.5C308.194 15.31 308.604 14.3 309.424 13.48C310.244 12.66 311.254 12.25 312.444 12.25C313.634 12.25 314.644 12.66 315.464 13.48C316.284 14.3 316.694 15.31 316.694 16.5V29.25H323.494C324.684 29.25 325.694 29.66 326.514 30.48C327.334 31.3 327.744 32.31 327.744 33.5C327.744 34.69 327.334 35.7 326.514 36.52C325.694 37.34 324.684 37.75 323.494 37.75H316.694V59C316.694 60.13 317.104 61.12 317.924 61.97C318.744 62.82 319.754 63.25 320.944 63.25C322.134 63.25 323.064 62.83 323.924 61.97C324.784 61.11 325.794 60.7 326.984 60.7C328.174 60.7 329.164 61.12 329.954 61.97C330.804 62.76 331.234 63.76 331.234 64.95C331.234 66.14 330.814 67.16 329.954 68.01C328.824 69.14 327.474 70.05 325.914 70.73C324.354 71.41 322.694 71.75 320.944 71.75C319.194 71.75 317.534 71.41 315.974 70.73C314.414 70.05 313.074 69.14 311.934 68.01C310.804 66.88 309.894 65.53 309.214 63.97C308.534 62.41 308.194 60.76 308.194 59V16.5Z",fill:"#333333"}),d.jsx("path",{d:"M31.3788 43.22C34.1512 43.22 36.3988 40.9725 36.3988 38.2C36.3988 35.4275 34.1512 33.18 31.3788 33.18C28.6063 33.18 26.3588 35.4275 26.3588 38.2C26.3588 40.9725 28.6063 43.22 31.3788 43.22Z",fill:"#965BA0"}),d.jsx("path",{d:"M45.1288 43.22C47.9012 43.22 50.1488 40.9725 50.1488 38.2C50.1488 35.4275 47.9012 33.18 45.1288 33.18C42.3563 33.18 40.1088 35.4275 40.1088 38.2C40.1088 40.9725 42.3563 43.22 45.1288 43.22Z",fill:"#965BA0"}),d.jsx("path",{d:"M58.8688 43.22C61.6412 43.22 63.8888 40.9725 63.8888 38.2C63.8888 35.4275 61.6412 33.18 58.8688 33.18C56.0963 33.18 53.8488 35.4275 53.8488 38.2C53.8488 40.9725 56.0963 43.22 58.8688 43.22Z",fill:"#965BA0"}),d.jsx("path",{d:"M62.9288 56.74C60.7888 55.14 57.7388 55.29 55.8988 57.23C54.1588 59.06 52.1588 60.61 49.8988 61.9C46.2788 63.96 42.3088 64.99 37.9788 64.99C34.4588 64.99 31.1688 64.28 28.0888 62.86C25.0088 61.44 22.3188 59.51 20.0288 57.08C17.7288 54.65 15.9088 51.81 14.5488 48.56C13.1988 45.31 12.5188 41.83 12.5188 38.11C12.5188 34.39 13.1988 30.91 14.5488 27.66C15.8988 24.42 17.7288 21.58 20.0288 19.14C22.3288 16.71 25.0188 14.78 28.0888 13.36C31.1688 11.94 34.4588 11.23 37.9788 11.23C42.3088 11.23 46.2788 12.26 49.8988 14.32C52.1588 15.61 54.1588 17.16 55.8988 18.99C57.7488 20.92 60.7888 21.08 62.9288 19.48C65.6088 17.48 65.8388 13.55 63.4288 11.23C60.9088 8.8 58.0588 6.74 54.8588 5.04C49.7588 2.35 44.1288 1 37.9788 1C32.9088 1 28.1388 1.98 23.6788 3.94C19.2188 5.9 15.3288 8.55 12.0188 11.9C8.70877 15.25 6.08877 19.17 4.15877 23.66C2.22877 28.16 1.26877 32.97 1.26877 38.11C1.26877 43.25 2.22877 48.07 4.15877 52.56C5.00877 54.54 6.00877 56.39 7.12877 58.15L0.548767 78.97L23.0788 72C23.2788 72.09 23.4688 72.2 23.6788 72.29C28.1388 74.25 32.9088 75.23 37.9788 75.23C44.1288 75.23 49.7588 73.88 54.8688 71.17C58.0588 69.48 60.9188 67.42 63.4388 64.98C65.8488 62.66 65.6188 58.73 62.9388 56.73L62.9288 56.74Z",fill:"#965BA0"})]}),oI=({width:e=92,height:t=42})=>d.jsxs("svg",{width:e,height:t,viewBox:"0 0 199 79",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[d.jsx("path",{d:"M139.787 54.72H114.287V67.47C114.287 68.66 113.877 69.67 113.057 70.49C112.237 71.31 111.227 71.72 110.037 71.72C108.847 71.72 107.837 71.31 107.017 70.49C106.197 69.67 105.787 68.66 105.787 67.47V33.47C105.787 30.52 106.337 27.76 107.447 25.18C108.557 22.6 110.067 20.35 111.997 18.42C113.927 16.49 116.177 14.98 118.757 13.87C121.337 12.77 124.097 12.21 127.047 12.21C129.997 12.21 132.757 12.76 135.337 13.87C137.917 14.98 140.167 16.49 142.097 18.42C144.027 20.35 145.537 22.6 146.647 25.18C147.757 27.76 148.307 30.52 148.307 33.47V67.47C148.307 68.66 147.897 69.67 147.077 70.49C146.257 71.31 145.247 71.72 144.057 71.72C142.867 71.72 141.857 71.31 141.037 70.49C140.217 69.67 139.807 68.66 139.807 67.47V54.72H139.787ZM139.787 33.47C139.787 31.71 139.447 30.06 138.767 28.5C138.087 26.94 137.177 25.6 136.047 24.46C134.917 23.33 133.567 22.42 132.007 21.74C130.447 21.06 128.787 20.72 127.037 20.72C125.287 20.72 123.617 21.06 122.067 21.74C120.507 22.42 119.157 23.33 118.027 24.46C116.897 25.59 115.987 26.94 115.307 28.5C114.627 30.06 114.287 31.72 114.287 33.47V46.22H139.787V33.47Z",fill:"#333333"}),d.jsx("path",{d:"M198.437 67.47C198.437 68.66 198.027 69.67 197.207 70.49C196.387 71.31 195.377 71.72 194.187 71.72C192.997 71.72 191.987 71.31 191.167 70.49C190.347 69.67 189.937 68.66 189.937 67.47C188.127 68.77 186.137 69.81 183.987 70.57C181.837 71.34 179.567 71.72 177.187 71.72C174.237 71.72 171.477 71.17 168.897 70.06C166.317 68.95 164.067 67.44 162.137 65.51C160.207 63.58 158.697 61.33 157.587 58.75C156.477 56.17 155.927 53.41 155.927 50.46C155.927 47.51 156.477 44.75 157.587 42.17C158.697 39.59 160.207 37.34 162.137 35.41C164.067 33.48 166.317 31.97 168.897 30.86C171.477 29.76 174.237 29.2 177.187 29.2C179.567 29.2 181.837 29.58 183.987 30.35C186.137 31.12 188.127 32.15 189.937 33.45V12.22C189.937 11.03 190.347 10.02 191.167 9.2C191.987 8.38 192.997 7.97 194.187 7.97C195.377 7.97 196.387 8.38 197.207 9.2C198.027 10.02 198.437 11.03 198.437 12.22V67.47ZM177.187 63.22C178.947 63.22 180.597 62.88 182.157 62.2C183.717 61.52 185.057 60.61 186.197 59.48C187.337 58.35 188.237 57 188.917 55.44C189.597 53.88 189.937 52.22 189.937 50.47C189.937 48.72 189.597 47.06 188.917 45.5C188.237 43.94 187.327 42.6 186.197 41.46C185.067 40.33 183.717 39.42 182.157 38.74C180.597 38.06 178.937 37.72 177.187 37.72C175.437 37.72 173.777 38.06 172.217 38.74C170.657 39.42 169.307 40.33 168.177 41.46C167.047 42.59 166.137 43.94 165.457 45.5C164.777 47.06 164.437 48.72 164.437 50.47C164.437 52.22 164.777 53.89 165.457 55.44C166.137 57 167.047 58.34 168.177 59.48C169.307 60.61 170.657 61.52 172.217 62.2C173.777 62.88 175.437 63.22 177.187 63.22Z",fill:"#333333"}),d.jsx("path",{d:"M30.973 43.19C33.7455 43.19 35.993 40.9425 35.993 38.17C35.993 35.3975 33.7455 33.15 30.973 33.15C28.2005 33.15 25.953 35.3975 25.953 38.17C25.953 40.9425 28.2005 43.19 30.973 43.19Z",fill:"#694A38"}),d.jsx("path",{d:"M44.723 43.19C47.4955 43.19 49.743 40.9425 49.743 38.17C49.743 35.3975 47.4955 33.15 44.723 33.15C41.9505 33.15 39.703 35.3975 39.703 38.17C39.703 40.9425 41.9505 43.19 44.723 43.19Z",fill:"#694A38"}),d.jsx("path",{d:"M58.463 43.19C61.2355 43.19 63.483 40.9425 63.483 38.17C63.483 35.3975 61.2355 33.15 58.463 33.15C55.6905 33.15 53.443 35.3975 53.443 38.17C53.443 40.9425 55.6905 43.19 58.463 43.19Z",fill:"#694A38"}),d.jsx("path",{d:"M62.523 56.71C60.383 55.11 57.333 55.26 55.493 57.2C53.753 59.03 51.753 60.58 49.493 61.87C45.873 63.93 41.903 64.96 37.573 64.96C34.053 64.96 30.763 64.25 27.683 62.83C24.603 61.41 21.913 59.48 19.623 57.05C17.323 54.62 15.503 51.78 14.143 48.53C12.793 45.28 12.113 41.8 12.113 38.08C12.113 34.36 12.793 30.88 14.143 27.63C15.493 24.39 17.323 21.55 19.623 19.11C21.923 16.68 24.613 14.75 27.683 13.33C30.763 11.91 34.053 11.2 37.573 11.2C41.903 11.2 45.873 12.23 49.493 14.29C51.753 15.58 53.753 17.13 55.493 18.96C57.343 20.89 60.383 21.05 62.523 19.45C65.203 17.45 65.433 13.52 63.023 11.2C60.503 8.77 57.653 6.71 54.453 5.01C49.353 2.32 43.723 0.970001 37.573 0.970001C32.503 0.970001 27.733 1.95 23.273 3.91C18.813 5.87 14.923 8.52 11.613 11.87C8.30301 15.22 5.68301 19.14 3.75301 23.63C1.82301 28.13 0.863005 32.94 0.863005 38.08C0.863005 43.22 1.82301 48.04 3.75301 52.53C4.60301 54.51 5.60301 56.36 6.72301 58.12L0.143005 78.94L22.673 71.97C22.873 72.06 23.063 72.17 23.273 72.26C27.733 74.22 32.503 75.2 37.573 75.2C43.723 75.2 49.353 73.85 54.463 71.14C57.653 69.45 60.513 67.39 63.033 64.95C65.443 62.63 65.213 58.7 62.533 56.7L62.523 56.71Z",fill:"#694A38"})]}),iI=({platform:e,width:t,height:n})=>{switch(e){case"play":return d.jsx(QO,{width:t,height:n});case"canaia":return d.jsx(_4,{width:t,height:n});case"assist":return d.jsx(eI,{width:t,height:n});case"elevate":return d.jsx(tI,{width:t,height:n});case"collect":return d.jsx(nI,{width:t,height:n});case"talent":return d.jsx(rI,{width:t,height:n});case"ad":return d.jsx(oI,{width:t,height:n});default:return d.jsx(_4,{width:t,height:n})}};function aI(e){return dt({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{d:"M12 1c6.075 0 11 4.925 11 11s-4.925 11-11 11S1 18.075 1 12 5.925 1 12 1ZM5.834 19.227A9.464 9.464 0 0 0 12 21.5a9.5 9.5 0 0 0 9.5-9.5 9.464 9.464 0 0 0-2.273-6.166ZM2.5 12a9.464 9.464 0 0 0 2.273 6.166L18.166 4.773A9.463 9.463 0 0 0 12 2.5 9.5 9.5 0 0 0 2.5 12Z"},child:[]}]})(e)}function sI(e){return dt({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{d:"M12 2.5a5.5 5.5 0 0 1 3.096 10.047 9.005 9.005 0 0 1 5.9 8.181.75.75 0 1 1-1.499.044 7.5 7.5 0 0 0-14.993 0 .75.75 0 0 1-1.5-.045 9.005 9.005 0 0 1 5.9-8.18A5.5 5.5 0 0 1 12 2.5ZM8 8a4 4 0 1 0 8 0 4 4 0 0 0-8 0Z"},child:[]}]})(e)}function lI(e){return dt({tag:"svg",attr:{viewBox:"0 0 1024 1024"},child:[{tag:"path",attr:{d:"M868 732h-70.3c-4.8 0-9.3 2.1-12.3 5.8-7 8.5-14.5 16.7-22.4 24.5a353.84 353.84 0 0 1-112.7 75.9A352.8 352.8 0 0 1 512.4 866c-47.9 0-94.3-9.4-137.9-27.8a353.84 353.84 0 0 1-112.7-75.9 353.28 353.28 0 0 1-76-112.5C167.3 606.2 158 559.9 158 512s9.4-94.2 27.8-137.8c17.8-42.1 43.4-80 76-112.5s70.5-58.1 112.7-75.9c43.6-18.4 90-27.8 137.9-27.8 47.9 0 94.3 9.3 137.9 27.8 42.2 17.8 80.1 43.4 112.7 75.9 7.9 7.9 15.3 16.1 22.4 24.5 3 3.7 7.6 5.8 12.3 5.8H868c6.3 0 10.2-7 6.7-12.3C798 160.5 663.8 81.6 511.3 82 271.7 82.6 79.6 277.1 82 516.4 84.4 751.9 276.2 942 512.4 942c152.1 0 285.7-78.8 362.3-197.7 3.4-5.3-.4-12.3-6.7-12.3zm88.9-226.3L815 393.7c-5.3-4.2-13-.4-13 6.3v76H488c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h314v76c0 6.7 7.8 10.5 13 6.3l141.9-112a8 8 0 0 0 0-12.6z"},child:[]}]})(e)}const cI=({platform:e="canaia",color:t=Jt.primary[500],onSettingsClick:n,onLogOutClick:r=()=>{},onSubscriptionClick:o=()=>{},onLogoClick:i=()=>{window.location.hash="/"},userName:a="Nombre de Usuario",settingsName:s="Settings",logoutName:l="Logout",subscriptionName:c="Subscription",isProduction:u=!1,showMenuItems:f})=>{const p=t||Rr.colors.primary[500],h=Lt(p,.7),b=Lt(p,.8),m=t||Rr.colors.primary[500],S=n||(()=>{window.location.href=u?"https://hub.canaia.ai/settings":"https://staging.hub.canaia.ai"});return d.jsx(qe,{position:"fixed",top:"0",left:"0",width:"100%",zIndex:"1000",bg:Jt.white[100],boxShadow:"sm",pt:"14px",pb:"14px",px:{base:"10px",md:"24px"},children:d.jsxs(ut,{justify:"space-between",align:"center",children:[d.jsxs(ut,{align:"center",children:[d.jsxs(sl,{children:[d.jsx(ll,{as:qt,"aria-label":"App Menu",icon:d.jsx(NO,{color:Jt.black[600]}),variant:"ghost",fontSize:"2xl",marginRight:"40px",width:"32px",height:"32px",_hover:{bg:"transparent"},_focus:{bg:"transparent"},_active:{bg:"transparent"}}),d.jsx(cl,{px:4,borderRadius:"lg",boxShadow:"lg",bg:"white",children:d.jsx(ut,{wrap:"wrap",maxW:"300px",justify:"flex-start",children:d.jsx(JO,{isProduction:u,showMenuItems:f,platform:e})})})]}),d.jsx(qe,{as:"a",onClick:i,cursor:"pointer",children:d.jsx(iI,{platform:e})})]}),d.jsxs(sl,{children:[d.jsx(ll,{border:"2px solid",borderColor:p,borderRadius:"md",px:"14px",py:"12px",_hover:{borderColor:h},_active:{borderColor:b},_focus:{borderColor:p,boxShadow:"0 0 0 3px rgba(66, 153, 225, 0.6)"},children:d.jsx(ar,{align:"flex-end",spacing:0,children:d.jsxs(ut,{align:"center",gap:"10px",children:[d.jsx(qe,{as:sI,color:t,size:18}),d.jsx(Le,{color:t,fontSize:"md",fontWeight:"medium",marginRight:2,children:a}),d.jsx(lf,{color:t})]})})}),d.jsxs(cl,{_hover:{boxShadow:"none"},children:[d.jsx(di,{as:"a",display:"flex",bg:"transparent",alignItems:"center",onClick:S,_hover:{bg:"transparent",color:m},children:d.jsxs(ut,{align:"center",gap:"10px",children:[d.jsx(SM,{size:24}),d.jsx(Le,{children:s})]})}),e!=="elevate"&&d.jsx(di,{as:"a",bg:"transparent",display:"flex",alignItems:"center",onClick:o,_hover:{bg:"transparent",color:m},children:d.jsxs(ut,{align:"center",gap:"10px",children:[d.jsx(CM,{size:24}),d.jsx(Le,{children:c})]})}),d.jsx(di,{as:"a",bg:"transparent",display:"flex",alignItems:"center",onClick:r,_hover:{bg:"transparent",color:m},children:d.jsxs(ut,{align:"center",gap:"10px",children:[d.jsx(lI,{size:24}),d.jsx(Le,{children:l})]})})]})]})]})})},uI=({placeholder:e="Escribe tu mensaje aquí...",onSend:t,disabled:n=!1})=>{const[r,o]=g.useState(""),i=()=>{n||r.trim()===""||(t(r.trim()),o(""))},a=s=>{s.key==="Enter"&&!n&&(s.preventDefault(),i())};return d.jsx(qe,{w:"100%",children:d.jsxs(Fm,{children:[d.jsx(Ta,{placeholder:e,value:r,borderRadius:"3xl",onChange:s=>o(s.target.value),onKeyPress:a,size:"md",background:"white.100",borderColor:"black.100"}),d.jsx(Ld,{children:d.jsx(qt,{onClick:i,"aria-label":"Enviar mensaje",icon:d.jsx(yM,{}),bg:"black.400",color:"white.100",borderRadius:"50%",w:"30px",h:"30px",minW:"30px",minH:"30px",isDisabled:n||r.trim()==="",_hover:{bg:"black.500"},_active:{bg:"black.600"}})})]})})},dI=({iconDefault:e,iconHover:t,isActive:n})=>{const[r,o]=g.useState(!1);return d.jsx("span",{onMouseEnter:()=>o(!0),onMouseLeave:()=>o(!1),style:{display:"inline-flex"},children:n||r?t:e})},fI=({color:e,menuOptions:t,currentUrl:n})=>{const[r,o]=g.useState(!1),i=e||Jt.primary[400],a=Df(Jt,`${i.split(".")[0]}.300`),s=()=>{o(l=>!l)};return d.jsx(qe,{bg:Jt.white[100],color:Jt.black[400],borderRight:`1px solid ${Jt.black[50]}`,minWidth:r?"200px":"72px",transition:"min-width 0.3s ease, background-color 0.3s ease",minHeight:"100vh",boxShadow:"xl",position:"sticky",top:"0",h:"100vh",zIndex:9,children:d.jsxs(ar,{align:"start",spacing:4,p:4,pt:"120px",position:"relative",children:[d.jsx(qt,{icon:r?d.jsx(rM,{boxSize:"24px"}):d.jsx(oM,{boxSize:"24px"}),onClick:s,position:"absolute",top:"125px",right:"-20px",size:"sm","aria-label":"Toggle Menu",bg:Jt.white[100],color:Jt.black[400],boxShadow:"md",zIndex:2,transition:"all 0.3s ease",_hover:{bg:a}}),t.map((l,c)=>d.jsxs(ln,{justifyContent:r?"flex-start":"center",width:"100%",variant:"ghost",color:Jt.black[400],px:r?4:0,transition:"all 0.3s ease",iconSpacing:r?2:0,display:"flex",alignItems:"center",_hover:{svg:{color:i},"> p":{fontWeight:"bold"}},_active:{svg:{color:i},"> p":{fontWeight:"bold"}},onClick:()=>l.onClick(),isActive:n===l.url,children:[d.jsx(dI,{iconDefault:l.icon,iconHover:l.iconHover,isActive:n===l.url}),r&&d.jsx(Le,{ml:2,fontWeight:n===l.url?"bold":"normal",transition:"font-weight 0.3s ease",children:l.title})]},c))]})})},pI=({showTitle:e=!0,title:t="Delete user",fontSizeTitle:n="2xl",titleAlign:r="center",disableOverlay:o=!1,children:i,buttonAcceptTextColor:a="white.100",buttonAcceptVisible:s=!1,buttonAcceptBackground:l="primary.400",buttonCancelVisible:c=!1,buttonCancelBackground:u="white.100",buttonCancelBorder:f="primary.600",buttonCancelText:p="primary.600",backgroundColorModal:h="play.500",buttonAcceptDisable:b=!1,buttonCancelDisable:m=!1,isOpen:v,onClose:S=()=>{},maxWidth:y,isCenteredModal:C=!0,onAcceptClick:j=()=>{},onCancelClick:x=()=>{},onAcceptText:E="Aceptar",onCancelText:P="Cancelar",backgroundOverlayColor:D="rgba(0, 0, 0, 0.1)"})=>d.jsx(ar,{alignItems:"center",justifyContent:"center",children:d.jsxs(fl,{isOpen:v,onClose:S,isCentered:C,children:[d.jsx(Cl,{display:o?"none":"block",opacity:o?.5:1,backgroundColor:D||"rgba(0, 0, 0, 0.1)"}),d.jsxs(bl,{borderRadius:"1rem",backgroundColor:h,maxWidth:y,children:[d.jsx(xl,{display:e?"block":"none",fontSize:n,textAlign:r,children:t}),d.jsx(P3,{_hover:{backgroundColor:"white.100"}}),d.jsxs(yl,{fontSize:"1rem",paddingTop:e?".5rem":"2.5rem",paddingBottom:"1rem",children:[i,d.jsxs(ut,{justifyContent:"center",marginTop:"1rem",children:[d.jsx(ln,{variant:"primary",border:"1px solid",borderColor:f,color:p,backgroundColor:u,disabled:m,display:c?"block":"none",onClick:()=>{x==null||x()},children:P}),d.jsx(ln,{variant:"secondary",backgroundColor:l,disabled:b,color:a,display:s?"block":"none",marginLeft:"2.5rem",onClick:()=>{j==null||j()},children:E})]})]})]})]})});function hI(e){return dt({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"m22 9.24-7.19-.62L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21 12 17.27 18.18 21l-1.63-7.03L22 9.24zM12 15.4l-3.76 2.27 1-4.28-3.32-2.88 4.38-.38L12 6.1l1.71 4.04 4.38.38-3.32 2.88 1 4.28L12 15.4z"},child:[]}]})(e)}function mI(e){return dt({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M12 17.27 18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z"},child:[]}]})(e)}const gI=({items:e,colorIcon:t,onClickPinned:n,onClickConversation:r})=>{const[o,i]=g.useState(()=>e.map(s=>Array.isArray(s.content)?s.content.map(l=>l.is_pinned):[]));g.useEffect(()=>{i(s=>e.map((l,c)=>{if(!Array.isArray(l.content))return[];const u=s[c]||[];return l.content.map((f,p)=>p<u.length?u[p]:l.title==="Favorites"?!0:f.is_pinned)}))},[e]);const a=(s,l,c)=>{if(i(u=>{const f=[...u],p=[...f[s]],h=!p[l];return p[l]=h,f[s]=p,f}),n){const u=!o[s][l];n(c,u)}};return d.jsx(ar,{borderRadius:"1px",width:"100%",padding:".5rem",children:d.jsx(mh,{defaultIndex:[0],allowMultiple:!0,width:"100%",children:e.map((s,l)=>!Array.isArray(s.content)||s.content.length===0?null:d.jsxs(bh,{border:"none",children:[d.jsx("h2",{children:d.jsxs(gh,{children:[d.jsx(qe,{as:"span",flex:"1",textAlign:"left",fontSize:"1rem",lineHeight:"1.5rem",fontWeight:700,children:s.title}),d.jsx(vh,{boxSize:4})]})}),d.jsx(Ch,{pb:4,textAlign:"left",children:d.jsx(nl,{children:s.content.map((c,u)=>d.jsxs(Nm,{display:"flex",alignItems:"center",fontFamily:"Lato",fontSize:"16px",fontWeight:400,margin:".5rem",justifyContent:"space-between",width:"95%",position:"relative",_hover:{".pin-icon":o[l][u]?{}:{visibility:"visible",opacity:1}},cursor:r?"pointer":"default",onClick:()=>{r&&r(c.id)},children:[c.title,t&&d.jsx(qe,{className:"pin-icon",cursor:"pointer",visibility:o[l][u]?"visible":"hidden",opacity:o[l][u]?1:0,transition:"opacity 0.2s ease, visibility 0.2s ease",onClick:f=>{f.stopPropagation(),a(l,u,c.id)},children:d.jsx(Rm,{as:o[l][u]?mI:hI,color:t,boxSize:6})})]},c.id))})})]},l))})})},vI=({items:e,navigation:t})=>{const n=(r,o)=>{o.startsWith("/")?(r.preventDefault(),t(o)):window.open(o,"_blank")};return d.jsxs(sl,{children:[d.jsx(ll,{as:qt,"aria-label":"Options",icon:d.jsx(sM,{}),variant:"outline"}),d.jsx(cl,{children:e.map((r,o)=>d.jsx(di,{icon:r.icon,onClick:i=>n(i,r.link),className:"custom-menulist",fontSize:"1rem",lineHeight:"1.75rem",children:r.link.startsWith("http")?d.jsx("a",{href:r.link,target:"_blank",rel:"noopener noreferrer",children:r.option}):d.jsx(Lm,{href:r.link,children:r.option})},o))})]})},bI=({title:e="",isEditable:t=!0,placeholder:n="",size:r="md",onChange:o,textValue:i=""})=>{const[a,s]=g.useState(i);g.useEffect(()=>{t&&s(i)},[i,t]);const l=c=>{t&&s(c.target.value),o&&o(c)};return d.jsxs(ar,{align:"start",children:[d.jsx(Le,{fontSize:"1.875rem",fontWeight:"bold",color:"black.300",children:e}),d.jsx(of,{border:"1px solid",borderColor:"black.100",borderRadius:".5rem",color:"black.600",isReadOnly:!t,value:t?a:i,onChange:l,placeholder:n,size:r,resize:"none",minHeight:"5rem",opacity:1,sx:{"::placeholder":{color:"black.100"},_focus:{borderColor:"black.100",boxShadow:"none"}}})]})};function yI(e){return dt({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"currentColor"},child:[{tag:"path",attr:{d:"M2 12C2 17.5228 6.47715 22 12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12ZM20 12C20 16.4183 16.4183 20 12 20C7.58172 20 4 16.4183 4 12C4 7.58172 7.58172 4 12 4C16.4183 4 20 7.58172 20 12ZM12 12V6C15.3137 6 18 8.68629 18 12H12Z"},child:[]}]})(e)}function xI(e){return dt({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M170.718 216.482L141.6 245.6l93.6 93.6 208-208-29.118-29.118L235.2 279.918l-64.482-63.436zM422.4 256c0 91.518-74.883 166.4-166.4 166.4S89.6 347.518 89.6 256 164.482 89.6 256 89.6c15.6 0 31.2 2.082 45.764 6.241L334 63.6C310.082 53.2 284.082 48 256 48 141.6 48 48 141.6 48 256s93.6 208 208 208 208-93.6 208-208h-41.6z"},child:[]}]})(e)}const CI=({type:e="progress"})=>{let t,n,r="#007edf";switch(e.toLowerCase()){case"progress":t=d.jsx(yI,{size:20,style:{color:r,marginRight:".5rem"}}),n="Procesando";break;case"ready":t=d.jsx(xI,{size:20,style:{color:"#21B06e",marginRight:".5rem"}}),n="Completado",r="#21B06e";break;case"failed":t=d.jsx(AM,{size:20,style:{color:"#ce0015",marginRight:".5rem"}}),n="Error",r="#ce0015";break;case"inactive":t=d.jsx(aI,{size:20,style:{color:"#666666",marginRight:".5rem",transform:"rotate(90deg)"}}),n="Inactivo",r="#666666";break}return d.jsx(ar,{children:d.jsxs(ut,{alignItems:"center",children:[t,d.jsx(Le,{color:r,fontWeight:"900",fontSize:"1rem",lineHeight:"1.375rem",children:n})]})})},wI=({value:e=50,size:t="sm",backgroundColor:n="black.40",status:r="loading"})=>{const o=`${e}%`,i={completed:"success.400",error:"danger.400",loading:"info.400"}[r]||"info.500";return d.jsxs(ut,{alignContent:"center",children:[d.jsx(ut,{maxWidth:"30rem",width:"100%",alignItems:"center",children:d.jsx(A3,{width:"100%",value:e,size:t,backgroundColor:n,borderRadius:".5rem",padding:".1rem",sx:{"& > div":{backgroundColor:i}}})}),d.jsx(Le,{fontWeight:"bold",fontSize:"1rem",marginLeft:"1.75rem",children:o})]})},SI=({items:e,colorBackground:t,colorTitle:n,colorOption:r})=>d.jsx(ut,{backgroundColor:t,width:"100%",borderTopLeftRadius:".75rem",borderTopRightRadius:".75rem",justifyContent:"space-around",children:e.map((o,i)=>d.jsxs(qe,{maxWidth:"max-content",textAlign:"center",padding:"1rem",children:[d.jsx(Le,{color:n,fontSize:"1rem",fontWeight:"bold",children:o.title}),d.jsx(Le,{fontSize:"0.875rem",color:r,paddingTop:".25rem",children:o.option})]},i))}),kI=({backgroundColor:e="#fff",boxShadow:t="1px 1px 4px #d7d7d7",maxWidth:n="34.125rem",padding:r="1.5rem",borderRadius:o=".5rem",children:i})=>d.jsx(qe,{backgroundColor:e,boxShadow:t,maxWidth:n,width:"100%",padding:r,borderRadius:o,children:i}),_I=({text:e="Positive Ranking",value:t="1,302"})=>d.jsxs(qe,{color:"black.600",maxWidth:"max-content",width:"100%",children:[d.jsx(Le,{fontSize:"1rem",children:e}),d.jsx(Le,{fontSize:"1.75rem",fontWeight:"bold",textAlign:"left",marginTop:"0.25rem",children:t})]}),jI=({color:e})=>d.jsxs(qe,{position:"relative",width:"89px",height:"89px",children:[d.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"89",height:"89",viewBox:"-10 -10 60 60",style:{display:"block"},children:[d.jsx("path",{d:"M33.6022 30.0254C32.4494 29.1635 30.8065 29.2443 29.8153 30.2893C28.878 31.2751 27.8007 32.11 26.5833 32.8049C24.6333 33.9146 22.4948 34.4694 20.1624 34.4694C18.2663 34.4694 16.494 34.087 14.8349 33.322C13.1758 32.5571 11.7268 31.5175 10.4933 30.2085C9.25433 28.8996 8.27395 27.3698 7.54136 25.6191C6.81416 23.8684 6.44786 21.9938 6.44786 19.99C6.44786 17.9861 6.81416 16.1116 7.54136 14.3609C8.26856 12.6156 9.25433 11.0858 10.4933 9.77145C11.7322 8.46248 13.1812 7.42285 14.8349 6.65794C16.494 5.89304 18.2663 5.51058 20.1624 5.51058C22.4948 5.51058 24.6333 6.06541 26.5833 7.17507C27.8007 7.86995 28.878 8.70489 29.8153 9.69065C30.8118 10.7303 32.4494 10.8165 33.6022 9.9546C35.0458 8.87726 35.1697 6.76029 33.8715 5.51058C32.514 4.20162 30.9788 3.09196 29.2551 2.17622C26.5079 0.727203 23.4752 0 20.1624 0C17.4313 0 14.8619 0.527895 12.4594 1.58369C10.0569 2.63948 7.96152 4.06695 6.17853 5.87149C4.39554 7.67603 2.98422 9.78761 1.94459 12.2062C0.904963 14.6302 0.387841 17.2212 0.387841 19.99C0.387841 22.7588 0.904963 25.3551 1.94459 27.7738C2.40246 28.8403 2.94113 29.8369 3.54444 30.7849L0 42L12.1362 38.2455C12.2439 38.294 12.3463 38.3532 12.4594 38.4017C14.8619 39.4575 17.4313 39.9854 20.1624 39.9854C23.4752 39.9854 26.5079 39.2582 29.2605 37.7984C30.9788 36.888 32.5194 35.7784 33.8769 34.464C35.1751 33.2143 35.0512 31.0973 33.6075 30.02L33.6022 30.0254Z",fill:e,style:{animation:"colorAnimation 2s infinite"}}),d.jsx("path",{d:"M16.6065 22.7426C18.0999 22.7426 19.3106 21.5319 19.3106 20.0385C19.3106 18.545 18.0999 17.3344 16.6065 17.3344C15.113 17.3344 13.9023 18.545 13.9023 20.0385C13.9023 21.5319 15.113 22.7426 16.6065 22.7426Z",fill:e,style:{animation:"colorAnimation 2s infinite"}}),d.jsx("path",{d:"M23.8154 22.7426C25.3089 22.7426 26.5196 21.5319 26.5196 20.0385C26.5196 18.545 25.3089 17.3344 23.8154 17.3344C22.322 17.3344 21.1113 18.545 21.1113 20.0385C21.1113 21.5319 22.322 22.7426 23.8154 22.7426Z",fill:e,style:{animation:"colorAnimation 2s infinite 0.5s"}}),d.jsx("path",{d:"M31.4151 22.7426C32.9085 22.7426 34.1192 21.5319 34.1192 20.0385C34.1192 18.545 32.9085 17.3344 31.4151 17.3344C29.9216 17.3344 28.7109 18.545 28.7109 20.0385C28.7109 21.5319 29.9216 22.7426 31.4151 22.7426Z",fill:e,style:{animation:"colorAnimation 2s infinite 1s"}})]}),d.jsx("style",{children:`
|
|
400
|
+
*/(function(){var o={}.hasOwnProperty;function i(){for(var a=[],s=0;s<arguments.length;s++){var l=arguments[s];if(l){var c=typeof l;if(c==="string"||c==="number")a.push(l);else if(Array.isArray(l)&&l.length){var u=i.apply(null,l);u&&a.push(u)}else if(c==="object")for(var f in l)o.call(l,f)&&l[f]&&a.push(f)}}return a.join(" ")}e.exports?(i.default=i,e.exports=i):(r=(function(){return i}).apply(t,[]))===void 0||(e.exports=r)})()},function(e,t,n){(function(r){var o=/^\s+|\s+$/g,i=/^[-+]0x[0-9a-f]+$/i,a=/^0b[01]+$/i,s=/^0o[0-7]+$/i,l=parseInt,c=typeof r=="object"&&r&&r.Object===Object&&r,u=typeof self=="object"&&self&&self.Object===Object&&self,f=c||u||Function("return this")(),p=Object.prototype.toString,h=f.Symbol,b=h?h.prototype:void 0,m=b?b.toString:void 0;function v(j){if(typeof j=="string")return j;if(y(j))return m?m.call(j):"";var x=j+"";return x=="0"&&1/j==-1/0?"-0":x}function S(j){var x=typeof j;return!!j&&(x=="object"||x=="function")}function y(j){return typeof j=="symbol"||function(x){return!!x&&typeof x=="object"}(j)&&p.call(j)=="[object Symbol]"}function w(j){return j?(j=function(x){if(typeof x=="number")return x;if(y(x))return NaN;if(S(x)){var E=typeof x.valueOf=="function"?x.valueOf():x;x=S(E)?E+"":E}if(typeof x!="string")return x===0?x:+x;x=x.replace(o,"");var P=a.test(x);return P||s.test(x)?l(x.slice(2),P?2:8):i.test(x)?NaN:+x}(j))===1/0||j===-1/0?17976931348623157e292*(j<0?-1:1):j==j?j:0:j===0?j:0}e.exports=function(j,x,E){var P,D,R,z;return j=(P=j)==null?"":v(P),D=function(X){var ce=w(X),le=ce%1;return ce==ce?le?ce-le:ce:0}(E),R=0,z=j.length,D==D&&(z!==void 0&&(D=D<=z?D:z),R!==void 0&&(D=D>=R?D:R)),E=D,x=v(x),j.slice(E,E+x.length)==x}}).call(this,n(3))},function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch{typeof window=="object"&&(n=window)}e.exports=n},function(e,t,n){(function(r){var o=/^\[object .+?Constructor\]$/,i=typeof r=="object"&&r&&r.Object===Object&&r,a=typeof self=="object"&&self&&self.Object===Object&&self,s=i||a||Function("return this")(),l,c=Array.prototype,u=Function.prototype,f=Object.prototype,p=s["__core-js_shared__"],h=(l=/[^.]+$/.exec(p&&p.keys&&p.keys.IE_PROTO||""))?"Symbol(src)_1."+l:"",b=u.toString,m=f.hasOwnProperty,v=f.toString,S=RegExp("^"+b.call(m).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),y=c.splice,w=X(s,"Map"),j=X(Object,"create");function x(L){var Y=-1,K=L?L.length:0;for(this.clear();++Y<K;){var N=L[Y];this.set(N[0],N[1])}}function E(L){var Y=-1,K=L?L.length:0;for(this.clear();++Y<K;){var N=L[Y];this.set(N[0],N[1])}}function P(L){var Y=-1,K=L?L.length:0;for(this.clear();++Y<K;){var N=L[Y];this.set(N[0],N[1])}}function D(L,Y){for(var K,N,ue=L.length;ue--;)if((K=L[ue][0])===(N=Y)||K!=K&&N!=N)return ue;return-1}function R(L){return!(!le(L)||(Y=L,h&&h in Y))&&(function(K){var N=le(K)?v.call(K):"";return N=="[object Function]"||N=="[object GeneratorFunction]"}(L)||function(K){var N=!1;if(K!=null&&typeof K.toString!="function")try{N=!!(K+"")}catch{}return N}(L)?S:o).test(function(K){if(K!=null){try{return b.call(K)}catch{}try{return K+""}catch{}}return""}(L));var Y}function z(L,Y){var K,N,ue=L.__data__;return((N=typeof(K=Y))=="string"||N=="number"||N=="symbol"||N=="boolean"?K!=="__proto__":K===null)?ue[typeof Y=="string"?"string":"hash"]:ue.map}function X(L,Y){var K=function(N,ue){return N==null?void 0:N[ue]}(L,Y);return R(K)?K:void 0}function ce(L,Y){if(typeof L!="function"||Y&&typeof Y!="function")throw new TypeError("Expected a function");var K=function(){var N=arguments,ue=Y?Y.apply(this,N):N[0],he=K.cache;if(he.has(ue))return he.get(ue);var O=L.apply(this,N);return K.cache=he.set(ue,O),O};return K.cache=new(ce.Cache||P),K}function le(L){var Y=typeof L;return!!L&&(Y=="object"||Y=="function")}x.prototype.clear=function(){this.__data__=j?j(null):{}},x.prototype.delete=function(L){return this.has(L)&&delete this.__data__[L]},x.prototype.get=function(L){var Y=this.__data__;if(j){var K=Y[L];return K==="__lodash_hash_undefined__"?void 0:K}return m.call(Y,L)?Y[L]:void 0},x.prototype.has=function(L){var Y=this.__data__;return j?Y[L]!==void 0:m.call(Y,L)},x.prototype.set=function(L,Y){return this.__data__[L]=j&&Y===void 0?"__lodash_hash_undefined__":Y,this},E.prototype.clear=function(){this.__data__=[]},E.prototype.delete=function(L){var Y=this.__data__,K=D(Y,L);return!(K<0)&&(K==Y.length-1?Y.pop():y.call(Y,K,1),!0)},E.prototype.get=function(L){var Y=this.__data__,K=D(Y,L);return K<0?void 0:Y[K][1]},E.prototype.has=function(L){return D(this.__data__,L)>-1},E.prototype.set=function(L,Y){var K=this.__data__,N=D(K,L);return N<0?K.push([L,Y]):K[N][1]=Y,this},P.prototype.clear=function(){this.__data__={hash:new x,map:new(w||E),string:new x}},P.prototype.delete=function(L){return z(this,L).delete(L)},P.prototype.get=function(L){return z(this,L).get(L)},P.prototype.has=function(L){return z(this,L).has(L)},P.prototype.set=function(L,Y){return z(this,L).set(L,Y),this},ce.Cache=P,e.exports=ce}).call(this,n(3))},function(e,t,n){(function(r){var o=/^\s+|\s+$/g,i=/^[-+]0x[0-9a-f]+$/i,a=/^0b[01]+$/i,s=/^0o[0-7]+$/i,l=parseInt,c=typeof r=="object"&&r&&r.Object===Object&&r,u=typeof self=="object"&&self&&self.Object===Object&&self,f=c||u||Function("return this")(),p=Object.prototype.toString,h=Math.max,b=Math.min,m=function(){return f.Date.now()};function v(y){var w=typeof y;return!!y&&(w=="object"||w=="function")}function S(y){if(typeof y=="number")return y;if(function(x){return typeof x=="symbol"||function(E){return!!E&&typeof E=="object"}(x)&&p.call(x)=="[object Symbol]"}(y))return NaN;if(v(y)){var w=typeof y.valueOf=="function"?y.valueOf():y;y=v(w)?w+"":w}if(typeof y!="string")return y===0?y:+y;y=y.replace(o,"");var j=a.test(y);return j||s.test(y)?l(y.slice(2),j?2:8):i.test(y)?NaN:+y}e.exports=function(y,w,j){var x,E,P,D,R,z,X=0,ce=!1,le=!1,L=!0;if(typeof y!="function")throw new TypeError("Expected a function");function Y(F){var Z=x,V=E;return x=E=void 0,X=F,D=y.apply(V,Z)}function K(F){return X=F,R=setTimeout(ue,w),ce?Y(F):D}function N(F){var Z=F-z;return z===void 0||Z>=w||Z<0||le&&F-X>=P}function ue(){var F=m();if(N(F))return he(F);R=setTimeout(ue,function(Z){var V=w-(Z-z);return le?b(V,P-(Z-X)):V}(F))}function he(F){return R=void 0,L&&x?Y(F):(x=E=void 0,D)}function O(){var F=m(),Z=N(F);if(x=arguments,E=this,z=F,Z){if(R===void 0)return K(z);if(le)return R=setTimeout(ue,w),Y(z)}return R===void 0&&(R=setTimeout(ue,w)),D}return w=S(w)||0,v(j)&&(ce=!!j.leading,P=(le="maxWait"in j)?h(S(j.maxWait)||0,w):P,L="trailing"in j?!!j.trailing:L),O.cancel=function(){R!==void 0&&clearTimeout(R),X=0,x=z=E=R=void 0},O.flush=function(){return R===void 0?D:he(m())},O}}).call(this,n(3))},function(e,t,n){(function(r,o){var i="[object Arguments]",a="[object Map]",s="[object Object]",l="[object Set]",c=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,u=/^\w*$/,f=/^\./,p=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,h=/\\(\\)?/g,b=/^\[object .+?Constructor\]$/,m=/^(?:0|[1-9]\d*)$/,v={};v["[object Float32Array]"]=v["[object Float64Array]"]=v["[object Int8Array]"]=v["[object Int16Array]"]=v["[object Int32Array]"]=v["[object Uint8Array]"]=v["[object Uint8ClampedArray]"]=v["[object Uint16Array]"]=v["[object Uint32Array]"]=!0,v[i]=v["[object Array]"]=v["[object ArrayBuffer]"]=v["[object Boolean]"]=v["[object DataView]"]=v["[object Date]"]=v["[object Error]"]=v["[object Function]"]=v[a]=v["[object Number]"]=v[s]=v["[object RegExp]"]=v[l]=v["[object String]"]=v["[object WeakMap]"]=!1;var S=typeof r=="object"&&r&&r.Object===Object&&r,y=typeof self=="object"&&self&&self.Object===Object&&self,w=S||y||Function("return this")(),j=t&&!t.nodeType&&t,x=j&&typeof o=="object"&&o&&!o.nodeType&&o,E=x&&x.exports===j&&S.process,P=function(){try{return E&&E.binding("util")}catch{}}(),D=P&&P.isTypedArray;function R(k,$,G,ne){var Ce=-1,ye=k?k.length:0;for(ne&&ye&&(G=k[++Ce]);++Ce<ye;)G=$(G,k[Ce],Ce,k);return G}function z(k,$){for(var G=-1,ne=k?k.length:0;++G<ne;)if($(k[G],G,k))return!0;return!1}function X(k,$,G,ne,Ce){return Ce(k,function(ye,Me,it){G=ne?(ne=!1,ye):$(G,ye,Me,it)}),G}function ce(k){var $=!1;if(k!=null&&typeof k.toString!="function")try{$=!!(k+"")}catch{}return $}function le(k){var $=-1,G=Array(k.size);return k.forEach(function(ne,Ce){G[++$]=[Ce,ne]}),G}function L(k){var $=-1,G=Array(k.size);return k.forEach(function(ne){G[++$]=ne}),G}var Y,K,N,ue=Array.prototype,he=Function.prototype,O=Object.prototype,F=w["__core-js_shared__"],Z=(Y=/[^.]+$/.exec(F&&F.keys&&F.keys.IE_PROTO||""))?"Symbol(src)_1."+Y:"",V=he.toString,B=O.hasOwnProperty,C=O.toString,J=RegExp("^"+V.call(B).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Q=w.Symbol,ee=w.Uint8Array,me=O.propertyIsEnumerable,de=ue.splice,ke=(K=Object.keys,N=Object,function(k){return K(N(k))}),H=lr(w,"DataView"),Te=lr(w,"Map"),De=lr(w,"Promise"),A=lr(w,"Set"),q=lr(w,"WeakMap"),re=lr(Object,"create"),xe=On(H),ve=On(Te),be=On(De),je=On(A),$e=On(q),fe=Q?Q.prototype:void 0,U=fe?fe.valueOf:void 0,oe=fe?fe.toString:void 0;function ie(k){var $=-1,G=k?k.length:0;for(this.clear();++$<G;){var ne=k[$];this.set(ne[0],ne[1])}}function se(k){var $=-1,G=k?k.length:0;for(this.clear();++$<G;){var ne=k[$];this.set(ne[0],ne[1])}}function Ie(k){var $=-1,G=k?k.length:0;for(this.clear();++$<G;){var ne=k[$];this.set(ne[0],ne[1])}}function bt(k){var $=-1,G=k?k.length:0;for(this.__data__=new Ie;++$<G;)this.add(k[$])}function ot(k){this.__data__=new se(k)}function _t(k,$){var G=In(k)||xi(k)?function(Me,it){for(var ct=-1,at=Array(Me);++ct<Me;)at[ct]=it(ct);return at}(k.length,String):[],ne=G.length,Ce=!!ne;for(var ye in k)!B.call(k,ye)||Ce&&(ye=="length"||bi(ye,ne))||G.push(ye);return G}function $t(k,$){for(var G=k.length;G--;)if(Nn(k[G][0],$))return G;return-1}ie.prototype.clear=function(){this.__data__=re?re(null):{}},ie.prototype.delete=function(k){return this.has(k)&&delete this.__data__[k]},ie.prototype.get=function(k){var $=this.__data__;if(re){var G=$[k];return G==="__lodash_hash_undefined__"?void 0:G}return B.call($,k)?$[k]:void 0},ie.prototype.has=function(k){var $=this.__data__;return re?$[k]!==void 0:B.call($,k)},ie.prototype.set=function(k,$){return this.__data__[k]=re&&$===void 0?"__lodash_hash_undefined__":$,this},se.prototype.clear=function(){this.__data__=[]},se.prototype.delete=function(k){var $=this.__data__,G=$t($,k);return!(G<0)&&(G==$.length-1?$.pop():de.call($,G,1),!0)},se.prototype.get=function(k){var $=this.__data__,G=$t($,k);return G<0?void 0:$[G][1]},se.prototype.has=function(k){return $t(this.__data__,k)>-1},se.prototype.set=function(k,$){var G=this.__data__,ne=$t(G,k);return ne<0?G.push([k,$]):G[ne][1]=$,this},Ie.prototype.clear=function(){this.__data__={hash:new ie,map:new(Te||se),string:new ie}},Ie.prototype.delete=function(k){return kr(this,k).delete(k)},Ie.prototype.get=function(k){return kr(this,k).get(k)},Ie.prototype.has=function(k){return kr(this,k).has(k)},Ie.prototype.set=function(k,$){return kr(this,k).set(k,$),this},bt.prototype.add=bt.prototype.push=function(k){return this.__data__.set(k,"__lodash_hash_undefined__"),this},bt.prototype.has=function(k){return this.__data__.has(k)},ot.prototype.clear=function(){this.__data__=new se},ot.prototype.delete=function(k){return this.__data__.delete(k)},ot.prototype.get=function(k){return this.__data__.get(k)},ot.prototype.has=function(k){return this.__data__.has(k)},ot.prototype.set=function(k,$){var G=this.__data__;if(G instanceof se){var ne=G.__data__;if(!Te||ne.length<199)return ne.push([k,$]),this;G=this.__data__=new Ie(ne)}return G.set(k,$),this};var Qt,lt=(Qt=function(k,$){return k&&Mt(k,$,ze)},function(k,$){if(k==null)return k;if(!T(k))return Qt(k,$);for(var G=k.length,ne=-1,Ce=Object(k);++ne<G&&$(Ce[ne],ne,Ce)!==!1;);return k}),Mt=function(k){return function($,G,ne){for(var Ce=-1,ye=Object($),Me=ne($),it=Me.length;it--;){var ct=Me[++Ce];if(G(ye[ct],ct,ye)===!1)break}return $}}();function Zt(k,$){for(var G=0,ne=($=_r($,k)?[$]:Vr($)).length;k!=null&&G<ne;)k=k[jr($[G++])];return G&&G==ne?k:void 0}function Bn(k,$){return k!=null&&$ in Object(k)}function fn(k,$,G,ne,Ce){return k===$||(k==null||$==null||!_e(k)&&!Re($)?k!=k&&$!=$:function(ye,Me,it,ct,at,We){var tn=In(ye),zt=In(Me),Et="[object Array]",Ot="[object Array]";tn||(Et=(Et=Cn(ye))==i?s:Et),zt||(Ot=(Ot=Cn(Me))==i?s:Ot);var wn=Et==s&&!ce(ye),Wr=Ot==s&&!ce(Me),cr=Et==Ot;if(cr&&!wn)return We||(We=new ot),tn||Ne(ye)?hn(ye,Me,it,ct,at,We):function(Ke,Ge,Na,Tr,Co,nn,Rn){switch(Na){case"[object DataView]":if(Ke.byteLength!=Ge.byteLength||Ke.byteOffset!=Ge.byteOffset)return!1;Ke=Ke.buffer,Ge=Ge.buffer;case"[object ArrayBuffer]":return!(Ke.byteLength!=Ge.byteLength||!Tr(new ee(Ke),new ee(Ge)));case"[object Boolean]":case"[object Date]":case"[object Number]":return Nn(+Ke,+Ge);case"[object Error]":return Ke.name==Ge.name&&Ke.message==Ge.message;case"[object RegExp]":case"[object String]":return Ke==Ge+"";case a:var ur=le;case l:var Hr=2&nn;if(ur||(ur=L),Ke.size!=Ge.size&&!Hr)return!1;var Ci=Rn.get(Ke);if(Ci)return Ci==Ge;nn|=1,Rn.set(Ke,Ge);var Ur=hn(ur(Ke),ur(Ge),Tr,Co,nn,Rn);return Rn.delete(Ke),Ur;case"[object Symbol]":if(U)return U.call(Ke)==U.call(Ge)}return!1}(ye,Me,Et,it,ct,at,We);if(!(2&at)){var Ml=wn&&B.call(ye,"__wrapped__"),Ol=Wr&&B.call(Me,"__wrapped__");if(Ml||Ol){var bf=Ml?ye.value():ye,yf=Ol?Me.value():Me;return We||(We=new ot),it(bf,yf,ct,at,We)}}return cr?(We||(We=new ot),function(Ke,Ge,Na,Tr,Co,nn){var Rn=2&Co,ur=ze(Ke),Hr=ur.length,Ci=ze(Ge).length;if(Hr!=Ci&&!Rn)return!1;for(var Ur=Hr;Ur--;){var dr=ur[Ur];if(!(Rn?dr in Ge:B.call(Ge,dr)))return!1}var wi=nn.get(Ke);if(wi&&nn.get(Ge))return wi==Ge;var Si=!0;nn.set(Ke,Ge),nn.set(Ge,Ke);for(var Ra=Rn;++Ur<Hr;){dr=ur[Ur];var ki=Ke[dr],Pr=Ge[dr];if(Tr)var _i=Rn?Tr(Pr,ki,dr,Ge,Ke,nn):Tr(ki,Pr,dr,Ke,Ge,nn);if(!(_i===void 0?ki===Pr||Na(ki,Pr,Tr,Co,nn):_i)){Si=!1;break}Ra||(Ra=dr=="constructor")}if(Si&&!Ra){var qr=Ke.constructor,Zr=Ge.constructor;qr==Zr||!("constructor"in Ke)||!("constructor"in Ge)||typeof qr=="function"&&qr instanceof qr&&typeof Zr=="function"&&Zr instanceof Zr||(Si=!1)}return nn.delete(Ke),nn.delete(Ge),Si}(ye,Me,it,ct,at,We)):!1}(k,$,fn,G,ne,Ce))}function xn(k){return!(!_e(k)||function($){return!!Z&&Z in $}(k))&&(te(k)||ce(k)?J:b).test(On(k))}function yo(k){return typeof k=="function"?k:k==null?Ft:typeof k=="object"?In(k)?function(ne,Ce){return _r(ne)&&en(Ce)?yi(jr(ne),Ce):function(ye){var Me=function(it,ct,at){var We=it==null?void 0:Zt(it,ct);return We===void 0?at:We}(ye,ne);return Me===void 0&&Me===Ce?function(it,ct){return it!=null&&function(at,We,tn){We=_r(We,at)?[We]:Vr(We);for(var zt,Et=-1,Ot=We.length;++Et<Ot;){var wn=jr(We[Et]);if(!(zt=at!=null&&tn(at,wn)))break;at=at[wn]}return zt||!!(Ot=at?at.length:0)&&pe(Ot)&&bi(wn,Ot)&&(In(at)||xi(at))}(it,ct,Bn)}(ye,ne):fn(Ce,Me,void 0,3)}}(k[0],k[1]):function(ne){var Ce=function(ye){for(var Me=ze(ye),it=Me.length;it--;){var ct=Me[it],at=ye[ct];Me[it]=[ct,at,en(at)]}return Me}(ne);return Ce.length==1&&Ce[0][2]?yi(Ce[0][0],Ce[0][1]):function(ye){return ye===ne||function(Me,it,ct,at){var We=ct.length,tn=We;if(Me==null)return!tn;for(Me=Object(Me);We--;){var zt=ct[We];if(zt[2]?zt[1]!==Me[zt[0]]:!(zt[0]in Me))return!1}for(;++We<tn;){var Et=(zt=ct[We])[0],Ot=Me[Et],wn=zt[1];if(zt[2]){if(Ot===void 0&&!(Et in Me))return!1}else{var Wr=new ot,cr;if(!(cr===void 0?fn(wn,Ot,at,3,Wr):cr))return!1}}return!0}(ye,ne,Ce)}}(k):_r($=k)?(G=jr($),function(ne){return ne==null?void 0:ne[G]}):function(ne){return function(Ce){return Zt(Ce,ne)}}($);var $,G}function pn(k){if(G=($=k)&&$.constructor,ne=typeof G=="function"&&G.prototype||O,$!==ne)return ke(k);var $,G,ne,Ce=[];for(var ye in Object(k))B.call(k,ye)&&ye!="constructor"&&Ce.push(ye);return Ce}function Vr(k){return In(k)?k:Ba(k)}function hn(k,$,G,ne,Ce,ye){var Me=2&Ce,it=k.length,ct=$.length;if(it!=ct&&!(Me&&ct>it))return!1;var at=ye.get(k);if(at&&ye.get($))return at==$;var We=-1,tn=!0,zt=1&Ce?new bt:void 0;for(ye.set(k,$),ye.set($,k);++We<it;){var Et=k[We],Ot=$[We];if(ne)var wn=Me?ne(Ot,Et,We,$,k,ye):ne(Et,Ot,We,k,$,ye);if(wn!==void 0){if(wn)continue;tn=!1;break}if(zt){if(!z($,function(Wr,cr){if(!zt.has(cr)&&(Et===Wr||G(Et,Wr,ne,Ce,ye)))return zt.add(cr)})){tn=!1;break}}else if(Et!==Ot&&!G(Et,Ot,ne,Ce,ye)){tn=!1;break}}return ye.delete(k),ye.delete($),tn}function kr(k,$){var G,ne,Ce=k.__data__;return((ne=typeof(G=$))=="string"||ne=="number"||ne=="symbol"||ne=="boolean"?G!=="__proto__":G===null)?Ce[typeof $=="string"?"string":"hash"]:Ce.map}function lr(k,$){var G=function(ne,Ce){return ne==null?void 0:ne[Ce]}(k,$);return xn(G)?G:void 0}var Cn=function(k){return C.call(k)};function bi(k,$){return!!($=$??9007199254740991)&&(typeof k=="number"||m.test(k))&&k>-1&&k%1==0&&k<$}function _r(k,$){if(In(k))return!1;var G=typeof k;return!(G!="number"&&G!="symbol"&&G!="boolean"&&k!=null&&!Ze(k))||u.test(k)||!c.test(k)||$!=null&&k in Object($)}function en(k){return k==k&&!_e(k)}function yi(k,$){return function(G){return G!=null&&G[k]===$&&($!==void 0||k in Object(G))}}(H&&Cn(new H(new ArrayBuffer(1)))!="[object DataView]"||Te&&Cn(new Te)!=a||De&&Cn(De.resolve())!="[object Promise]"||A&&Cn(new A)!=l||q&&Cn(new q)!="[object WeakMap]")&&(Cn=function(k){var $=C.call(k),G=$==s?k.constructor:void 0,ne=G?On(G):void 0;if(ne)switch(ne){case xe:return"[object DataView]";case ve:return a;case be:return"[object Promise]";case je:return l;case $e:return"[object WeakMap]"}return $});var Ba=xo(function(k){var $;k=($=k)==null?"":function(ne){if(typeof ne=="string")return ne;if(Ze(ne))return oe?oe.call(ne):"";var Ce=ne+"";return Ce=="0"&&1/ne==-1/0?"-0":Ce}($);var G=[];return f.test(k)&&G.push(""),k.replace(p,function(ne,Ce,ye,Me){G.push(ye?Me.replace(h,"$1"):Ce||ne)}),G});function jr(k){if(typeof k=="string"||Ze(k))return k;var $=k+"";return $=="0"&&1/k==-1/0?"-0":$}function On(k){if(k!=null){try{return V.call(k)}catch{}try{return k+""}catch{}}return""}function xo(k,$){if(typeof k!="function"||$&&typeof $!="function")throw new TypeError("Expected a function");var G=function(){var ne=arguments,Ce=$?$.apply(this,ne):ne[0],ye=G.cache;if(ye.has(Ce))return ye.get(Ce);var Me=k.apply(this,ne);return G.cache=ye.set(Ce,Me),Me};return G.cache=new(xo.Cache||Ie),G}function Nn(k,$){return k===$||k!=k&&$!=$}function xi(k){return function($){return Re($)&&T($)}(k)&&B.call(k,"callee")&&(!me.call(k,"callee")||C.call(k)==i)}xo.Cache=Ie;var In=Array.isArray;function T(k){return k!=null&&pe(k.length)&&!te(k)}function te(k){var $=_e(k)?C.call(k):"";return $=="[object Function]"||$=="[object GeneratorFunction]"}function pe(k){return typeof k=="number"&&k>-1&&k%1==0&&k<=9007199254740991}function _e(k){var $=typeof k;return!!k&&($=="object"||$=="function")}function Re(k){return!!k&&typeof k=="object"}function Ze(k){return typeof k=="symbol"||Re(k)&&C.call(k)=="[object Symbol]"}var Ne=D?function(k){return function($){return k($)}}(D):function(k){return Re(k)&&pe(k.length)&&!!v[C.call(k)]};function ze(k){return T(k)?_t(k):pn(k)}function Ft(k){return k}o.exports=function(k,$,G){var ne=In(k)?R:X,Ce=arguments.length<3;return ne(k,yo($),G,Ce,lt)}}).call(this,n(3),n(7)(e))},function(e,t){e.exports=function(n){return n.webpackPolyfill||(n.deprecate=function(){},n.paths=[],n.children||(n.children=[]),Object.defineProperty(n,"loaded",{enumerable:!0,get:function(){return n.l}}),Object.defineProperty(n,"id",{enumerable:!0,get:function(){return n.i}}),n.webpackPolyfill=1),n}},function(e,t){String.prototype.padEnd||(String.prototype.padEnd=function(n,r){return n>>=0,r=String(r!==void 0?r:" "),this.length>n?String(this):((n-=this.length)>r.length&&(r+=r.repeat(n/r.length)),String(this)+r.slice(0,n))})},function(e,t,n){function r(O,F,Z){return F in O?Object.defineProperty(O,F,{value:Z,enumerable:!0,configurable:!0,writable:!0}):O[F]=Z,O}function o(O){if(Symbol.iterator in Object(O)||Object.prototype.toString.call(O)==="[object Arguments]")return Array.from(O)}function i(O){return function(F){if(Array.isArray(F)){for(var Z=0,V=new Array(F.length);Z<F.length;Z++)V[Z]=F[Z];return V}}(O)||o(O)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function a(O){if(Array.isArray(O))return O}function s(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}function l(O,F){if(!(O instanceof F))throw new TypeError("Cannot call a class as a function")}function c(O,F){for(var Z=0;Z<F.length;Z++){var V=F[Z];V.enumerable=V.enumerable||!1,V.configurable=!0,"value"in V&&(V.writable=!0),Object.defineProperty(O,V.key,V)}}function u(O){return(u=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(F){return typeof F}:function(F){return F&&typeof Symbol=="function"&&F.constructor===Symbol&&F!==Symbol.prototype?"symbol":typeof F})(O)}function f(O){return(f=typeof Symbol=="function"&&u(Symbol.iterator)==="symbol"?function(F){return u(F)}:function(F){return F&&typeof Symbol=="function"&&F.constructor===Symbol&&F!==Symbol.prototype?"symbol":u(F)})(O)}function p(O){if(O===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return O}function h(O){return(h=Object.setPrototypeOf?Object.getPrototypeOf:function(F){return F.__proto__||Object.getPrototypeOf(F)})(O)}function b(O,F){return(b=Object.setPrototypeOf||function(Z,V){return Z.__proto__=V,Z})(O,F)}n.r(t);var m=n(0),v=n.n(m),S=n(5),y=n.n(S),w=n(4),j=n.n(w),x=n(6),E=n.n(x),P=n(2),D=n.n(P),R=n(1),z=n.n(R);n(8);function X(O,F){return a(O)||function(Z,V){var B=[],C=!0,J=!1,Q=void 0;try{for(var ee,me=Z[Symbol.iterator]();!(C=(ee=me.next()).done)&&(B.push(ee.value),!V||B.length!==V);C=!0);}catch(de){J=!0,Q=de}finally{try{C||me.return==null||me.return()}finally{if(J)throw Q}}return B}(O,F)||s()}var ce=[["Afghanistan",["asia"],"af","93"],["Albania",["europe"],"al","355"],["Algeria",["africa","north-africa"],"dz","213"],["Andorra",["europe"],"ad","376"],["Angola",["africa"],"ao","244"],["Antigua and Barbuda",["america","carribean"],"ag","1268"],["Argentina",["america","south-america"],"ar","54","(..) ........",0,["11","221","223","261","264","2652","280","2905","291","2920","2966","299","341","342","343","351","376","379","381","3833","385","387","388"]],["Armenia",["asia","ex-ussr"],"am","374",".. ......"],["Aruba",["america","carribean"],"aw","297"],["Australia",["oceania"],"au","61","(..) .... ....",0,["2","3","4","7","8","02","03","04","07","08"]],["Austria",["europe","eu-union"],"at","43"],["Azerbaijan",["asia","ex-ussr"],"az","994","(..) ... .. .."],["Bahamas",["america","carribean"],"bs","1242"],["Bahrain",["middle-east"],"bh","973"],["Bangladesh",["asia"],"bd","880"],["Barbados",["america","carribean"],"bb","1246"],["Belarus",["europe","ex-ussr"],"by","375","(..) ... .. .."],["Belgium",["europe","eu-union"],"be","32","... .. .. .."],["Belize",["america","central-america"],"bz","501"],["Benin",["africa"],"bj","229"],["Bhutan",["asia"],"bt","975"],["Bolivia",["america","south-america"],"bo","591"],["Bosnia and Herzegovina",["europe","ex-yugos"],"ba","387"],["Botswana",["africa"],"bw","267"],["Brazil",["america","south-america"],"br","55","(..) ........."],["British Indian Ocean Territory",["asia"],"io","246"],["Brunei",["asia"],"bn","673"],["Bulgaria",["europe","eu-union"],"bg","359"],["Burkina Faso",["africa"],"bf","226"],["Burundi",["africa"],"bi","257"],["Cambodia",["asia"],"kh","855"],["Cameroon",["africa"],"cm","237"],["Canada",["america","north-america"],"ca","1","(...) ...-....",1,["204","226","236","249","250","289","306","343","365","387","403","416","418","431","437","438","450","506","514","519","548","579","581","587","604","613","639","647","672","705","709","742","778","780","782","807","819","825","867","873","902","905"]],["Cape Verde",["africa"],"cv","238"],["Caribbean Netherlands",["america","carribean"],"bq","599","",1],["Central African Republic",["africa"],"cf","236"],["Chad",["africa"],"td","235"],["Chile",["america","south-america"],"cl","56"],["China",["asia"],"cn","86","..-........."],["Colombia",["america","south-america"],"co","57","... ... ...."],["Comoros",["africa"],"km","269"],["Congo",["africa"],"cd","243"],["Congo",["africa"],"cg","242"],["Costa Rica",["america","central-america"],"cr","506","....-...."],["Côte d’Ivoire",["africa"],"ci","225",".. .. .. .."],["Croatia",["europe","eu-union","ex-yugos"],"hr","385"],["Cuba",["america","carribean"],"cu","53"],["Curaçao",["america","carribean"],"cw","599","",0],["Cyprus",["europe","eu-union"],"cy","357",".. ......"],["Czech Republic",["europe","eu-union"],"cz","420","... ... ..."],["Denmark",["europe","eu-union","baltic"],"dk","45",".. .. .. .."],["Djibouti",["africa"],"dj","253"],["Dominica",["america","carribean"],"dm","1767"],["Dominican Republic",["america","carribean"],"do","1","",2,["809","829","849"]],["Ecuador",["america","south-america"],"ec","593"],["Egypt",["africa","north-africa"],"eg","20"],["El Salvador",["america","central-america"],"sv","503","....-...."],["Equatorial Guinea",["africa"],"gq","240"],["Eritrea",["africa"],"er","291"],["Estonia",["europe","eu-union","ex-ussr","baltic"],"ee","372",".... ......"],["Ethiopia",["africa"],"et","251"],["Fiji",["oceania"],"fj","679"],["Finland",["europe","eu-union","baltic"],"fi","358",".. ... .. .."],["France",["europe","eu-union"],"fr","33",". .. .. .. .."],["French Guiana",["america","south-america"],"gf","594"],["French Polynesia",["oceania"],"pf","689"],["Gabon",["africa"],"ga","241"],["Gambia",["africa"],"gm","220"],["Georgia",["asia","ex-ussr"],"ge","995"],["Germany",["europe","eu-union","baltic"],"de","49",".... ........"],["Ghana",["africa"],"gh","233"],["Greece",["europe","eu-union"],"gr","30"],["Grenada",["america","carribean"],"gd","1473"],["Guadeloupe",["america","carribean"],"gp","590","",0],["Guam",["oceania"],"gu","1671"],["Guatemala",["america","central-america"],"gt","502","....-...."],["Guinea",["africa"],"gn","224"],["Guinea-Bissau",["africa"],"gw","245"],["Guyana",["america","south-america"],"gy","592"],["Haiti",["america","carribean"],"ht","509","....-...."],["Honduras",["america","central-america"],"hn","504"],["Hong Kong",["asia"],"hk","852",".... ...."],["Hungary",["europe","eu-union"],"hu","36"],["Iceland",["europe"],"is","354","... ...."],["India",["asia"],"in","91",".....-....."],["Indonesia",["asia"],"id","62"],["Iran",["middle-east"],"ir","98","... ... ...."],["Iraq",["middle-east"],"iq","964"],["Ireland",["europe","eu-union"],"ie","353",".. ......."],["Israel",["middle-east"],"il","972","... ... ...."],["Italy",["europe","eu-union"],"it","39","... .......",0],["Jamaica",["america","carribean"],"jm","1876"],["Japan",["asia"],"jp","81",".. .... ...."],["Jordan",["middle-east"],"jo","962"],["Kazakhstan",["asia","ex-ussr"],"kz","7","... ...-..-..",1,["310","311","312","313","315","318","321","324","325","326","327","336","7172","73622"]],["Kenya",["africa"],"ke","254"],["Kiribati",["oceania"],"ki","686"],["Kosovo",["europe","ex-yugos"],"xk","383"],["Kuwait",["middle-east"],"kw","965"],["Kyrgyzstan",["asia","ex-ussr"],"kg","996","... ... ..."],["Laos",["asia"],"la","856"],["Latvia",["europe","eu-union","ex-ussr","baltic"],"lv","371",".. ... ..."],["Lebanon",["middle-east"],"lb","961"],["Lesotho",["africa"],"ls","266"],["Liberia",["africa"],"lr","231"],["Libya",["africa","north-africa"],"ly","218"],["Liechtenstein",["europe"],"li","423"],["Lithuania",["europe","eu-union","ex-ussr","baltic"],"lt","370"],["Luxembourg",["europe","eu-union"],"lu","352"],["Macau",["asia"],"mo","853"],["Macedonia",["europe","ex-yugos"],"mk","389"],["Madagascar",["africa"],"mg","261"],["Malawi",["africa"],"mw","265"],["Malaysia",["asia"],"my","60","..-....-...."],["Maldives",["asia"],"mv","960"],["Mali",["africa"],"ml","223"],["Malta",["europe","eu-union"],"mt","356"],["Marshall Islands",["oceania"],"mh","692"],["Martinique",["america","carribean"],"mq","596"],["Mauritania",["africa"],"mr","222"],["Mauritius",["africa"],"mu","230"],["Mexico",["america","central-america"],"mx","52","... ... ....",0,["55","81","33","656","664","998","774","229"]],["Micronesia",["oceania"],"fm","691"],["Moldova",["europe"],"md","373","(..) ..-..-.."],["Monaco",["europe"],"mc","377"],["Mongolia",["asia"],"mn","976"],["Montenegro",["europe","ex-yugos"],"me","382"],["Morocco",["africa","north-africa"],"ma","212"],["Mozambique",["africa"],"mz","258"],["Myanmar",["asia"],"mm","95"],["Namibia",["africa"],"na","264"],["Nauru",["africa"],"nr","674"],["Nepal",["asia"],"np","977"],["Netherlands",["europe","eu-union"],"nl","31",".. ........"],["New Caledonia",["oceania"],"nc","687"],["New Zealand",["oceania"],"nz","64","...-...-...."],["Nicaragua",["america","central-america"],"ni","505"],["Niger",["africa"],"ne","227"],["Nigeria",["africa"],"ng","234"],["North Korea",["asia"],"kp","850"],["Norway",["europe","baltic"],"no","47","... .. ..."],["Oman",["middle-east"],"om","968"],["Pakistan",["asia"],"pk","92","...-......."],["Palau",["oceania"],"pw","680"],["Palestine",["middle-east"],"ps","970"],["Panama",["america","central-america"],"pa","507"],["Papua New Guinea",["oceania"],"pg","675"],["Paraguay",["america","south-america"],"py","595"],["Peru",["america","south-america"],"pe","51"],["Philippines",["asia"],"ph","63",".... ......."],["Poland",["europe","eu-union","baltic"],"pl","48","...-...-..."],["Portugal",["europe","eu-union"],"pt","351"],["Puerto Rico",["america","carribean"],"pr","1","",3,["787","939"]],["Qatar",["middle-east"],"qa","974"],["Réunion",["africa"],"re","262"],["Romania",["europe","eu-union"],"ro","40"],["Russia",["europe","asia","ex-ussr","baltic"],"ru","7","(...) ...-..-..",0],["Rwanda",["africa"],"rw","250"],["Saint Kitts and Nevis",["america","carribean"],"kn","1869"],["Saint Lucia",["america","carribean"],"lc","1758"],["Saint Vincent and the Grenadines",["america","carribean"],"vc","1784"],["Samoa",["oceania"],"ws","685"],["San Marino",["europe"],"sm","378"],["São Tomé and Príncipe",["africa"],"st","239"],["Saudi Arabia",["middle-east"],"sa","966"],["Senegal",["africa"],"sn","221"],["Serbia",["europe","ex-yugos"],"rs","381"],["Seychelles",["africa"],"sc","248"],["Sierra Leone",["africa"],"sl","232"],["Singapore",["asia"],"sg","65","....-...."],["Slovakia",["europe","eu-union"],"sk","421"],["Slovenia",["europe","eu-union","ex-yugos"],"si","386"],["Solomon Islands",["oceania"],"sb","677"],["Somalia",["africa"],"so","252"],["South Africa",["africa"],"za","27"],["South Korea",["asia"],"kr","82","... .... ...."],["South Sudan",["africa","north-africa"],"ss","211"],["Spain",["europe","eu-union"],"es","34","... ... ..."],["Sri Lanka",["asia"],"lk","94"],["Sudan",["africa"],"sd","249"],["Suriname",["america","south-america"],"sr","597"],["Swaziland",["africa"],"sz","268"],["Sweden",["europe","eu-union","baltic"],"se","46","(...) ...-..."],["Switzerland",["europe"],"ch","41",".. ... .. .."],["Syria",["middle-east"],"sy","963"],["Taiwan",["asia"],"tw","886"],["Tajikistan",["asia","ex-ussr"],"tj","992"],["Tanzania",["africa"],"tz","255"],["Thailand",["asia"],"th","66"],["Timor-Leste",["asia"],"tl","670"],["Togo",["africa"],"tg","228"],["Tonga",["oceania"],"to","676"],["Trinidad and Tobago",["america","carribean"],"tt","1868"],["Tunisia",["africa","north-africa"],"tn","216"],["Turkey",["europe"],"tr","90","... ... .. .."],["Turkmenistan",["asia","ex-ussr"],"tm","993"],["Tuvalu",["asia"],"tv","688"],["Uganda",["africa"],"ug","256"],["Ukraine",["europe","ex-ussr"],"ua","380","(..) ... .. .."],["United Arab Emirates",["middle-east"],"ae","971"],["United Kingdom",["europe","eu-union"],"gb","44",".... ......"],["United States",["america","north-america"],"us","1","(...) ...-....",0,["907","205","251","256","334","479","501","870","480","520","602","623","928","209","213","310","323","408","415","510","530","559","562","619","626","650","661","707","714","760","805","818","831","858","909","916","925","949","951","303","719","970","203","860","202","302","239","305","321","352","386","407","561","727","772","813","850","863","904","941","954","229","404","478","706","770","912","808","319","515","563","641","712","208","217","309","312","618","630","708","773","815","847","219","260","317","574","765","812","316","620","785","913","270","502","606","859","225","318","337","504","985","413","508","617","781","978","301","410","207","231","248","269","313","517","586","616","734","810","906","989","218","320","507","612","651","763","952","314","417","573","636","660","816","228","601","662","406","252","336","704","828","910","919","701","308","402","603","201","609","732","856","908","973","505","575","702","775","212","315","516","518","585","607","631","716","718","845","914","216","330","419","440","513","614","740","937","405","580","918","503","541","215","412","570","610","717","724","814","401","803","843","864","605","423","615","731","865","901","931","210","214","254","281","325","361","409","432","512","713","806","817","830","903","915","936","940","956","972","979","435","801","276","434","540","703","757","804","802","206","253","360","425","509","262","414","608","715","920","304","307"]],["Uruguay",["america","south-america"],"uy","598"],["Uzbekistan",["asia","ex-ussr"],"uz","998",".. ... .. .."],["Vanuatu",["oceania"],"vu","678"],["Vatican City",["europe"],"va","39",".. .... ....",1],["Venezuela",["america","south-america"],"ve","58"],["Vietnam",["asia"],"vn","84"],["Yemen",["middle-east"],"ye","967"],["Zambia",["africa"],"zm","260"],["Zimbabwe",["africa"],"zw","263"]],le=[["American Samoa",["oceania"],"as","1684"],["Anguilla",["america","carribean"],"ai","1264"],["Bermuda",["america","north-america"],"bm","1441"],["British Virgin Islands",["america","carribean"],"vg","1284"],["Cayman Islands",["america","carribean"],"ky","1345"],["Cook Islands",["oceania"],"ck","682"],["Falkland Islands",["america","south-america"],"fk","500"],["Faroe Islands",["europe"],"fo","298"],["Gibraltar",["europe"],"gi","350"],["Greenland",["america"],"gl","299"],["Jersey",["europe","eu-union"],"je","44",".... ......"],["Montserrat",["america","carribean"],"ms","1664"],["Niue",["asia"],"nu","683"],["Norfolk Island",["oceania"],"nf","672"],["Northern Mariana Islands",["oceania"],"mp","1670"],["Saint Barthélemy",["america","carribean"],"bl","590","",1],["Saint Helena",["africa"],"sh","290"],["Saint Martin",["america","carribean"],"mf","590","",2],["Saint Pierre and Miquelon",["america","north-america"],"pm","508"],["Sint Maarten",["america","carribean"],"sx","1721"],["Tokelau",["oceania"],"tk","690"],["Turks and Caicos Islands",["america","carribean"],"tc","1649"],["U.S. Virgin Islands",["america","carribean"],"vi","1340"],["Wallis and Futuna",["oceania"],"wf","681"]];function L(O,F,Z,V,B){return!Z||B?O+"".padEnd(F.length,".")+" "+V:O+"".padEnd(F.length,".")+" "+Z}function Y(O,F,Z,V,B){var C,J,Q=[];return J=F===!0,[(C=[]).concat.apply(C,i(O.map(function(ee){var me={name:ee[0],regions:ee[1],iso2:ee[2],countryCode:ee[3],dialCode:ee[3],format:L(Z,ee[3],ee[4],V,B),priority:ee[5]||0},de=[];return ee[6]&&ee[6].map(function(ke){var H=function(Te){for(var De=1;De<arguments.length;De++){var A=arguments[De]!=null?arguments[De]:{},q=Object.keys(A);typeof Object.getOwnPropertySymbols=="function"&&(q=q.concat(Object.getOwnPropertySymbols(A).filter(function(re){return Object.getOwnPropertyDescriptor(A,re).enumerable}))),q.forEach(function(re){r(Te,re,A[re])})}return Te}({},me);H.dialCode=ee[3]+ke,H.isAreaCode=!0,H.areaCodeLength=ke.length,de.push(H)}),de.length>0?(me.mainCode=!0,J||F.constructor.name==="Array"&&F.includes(ee[2])?(me.hasAreaCodes=!0,[me].concat(de)):(Q=Q.concat(de),[me])):[me]}))),Q]}function K(O,F,Z,V){if(Z!==null){var B=Object.keys(Z),C=Object.values(Z);B.forEach(function(J,Q){if(V)return O.push([J,C[Q]]);var ee=O.findIndex(function(de){return de[0]===J});if(ee===-1){var me=[J];me[F]=C[Q],O.push(me)}else O[ee][F]=C[Q]})}}function N(O,F){return F.length===0?O:O.map(function(Z){var V=F.findIndex(function(C){return C[0]===Z[2]});if(V===-1)return Z;var B=F[V];return B[1]&&(Z[4]=B[1]),B[3]&&(Z[5]=B[3]),B[2]&&(Z[6]=B[2]),Z})}var ue=function O(F,Z,V,B,C,J,Q,ee,me,de,ke,H,Te,De){l(this,O),this.filterRegions=function(fe,U){if(typeof fe=="string"){var oe=fe;return U.filter(function(ie){return ie.regions.some(function(se){return se===oe})})}return U.filter(function(ie){return fe.map(function(se){return ie.regions.some(function(Ie){return Ie===se})}).some(function(se){return se})})},this.sortTerritories=function(fe,U){var oe=[].concat(i(fe),i(U));return oe.sort(function(ie,se){return ie.name<se.name?-1:ie.name>se.name?1:0}),oe},this.getFilteredCountryList=function(fe,U,oe){return fe.length===0?U:oe?fe.map(function(ie){var se=U.find(function(Ie){return Ie.iso2===ie});if(se)return se}).filter(function(ie){return ie}):U.filter(function(ie){return fe.some(function(se){return se===ie.iso2})})},this.localizeCountries=function(fe,U,oe){for(var ie=0;ie<fe.length;ie++)U[fe[ie].iso2]!==void 0?fe[ie].localName=U[fe[ie].iso2]:U[fe[ie].name]!==void 0&&(fe[ie].localName=U[fe[ie].name]);return oe||fe.sort(function(se,Ie){return se.localName<Ie.localName?-1:se.localName>Ie.localName?1:0}),fe},this.getCustomAreas=function(fe,U){for(var oe=[],ie=0;ie<U.length;ie++){var se=JSON.parse(JSON.stringify(fe));se.dialCode+=U[ie],oe.push(se)}return oe},this.excludeCountries=function(fe,U){return U.length===0?fe:fe.filter(function(oe){return!U.includes(oe.iso2)})};var A=function(fe,U,oe){var ie=[];return K(ie,1,fe,!0),K(ie,3,U),K(ie,2,oe),ie}(ee,me,de),q=N(JSON.parse(JSON.stringify(ce)),A),re=N(JSON.parse(JSON.stringify(le)),A),xe=X(Y(q,F,H,Te,De),2),ve=xe[0],be=xe[1];if(Z){var je=X(Y(re,F,H,Te,De),2),$e=je[0];je[1],ve=this.sortTerritories($e,ve)}V&&(ve=this.filterRegions(V,ve)),this.onlyCountries=this.localizeCountries(this.excludeCountries(this.getFilteredCountryList(B,ve,Q.includes("onlyCountries")),J),ke,Q.includes("onlyCountries")),this.preferredCountries=C.length===0?[]:this.localizeCountries(this.getFilteredCountryList(C,ve,Q.includes("preferredCountries")),ke,Q.includes("preferredCountries")),this.hiddenAreaCodes=this.excludeCountries(this.getFilteredCountryList(B,be),J)},he=function(O){function F(B){var C;l(this,F),(C=function(A,q){return!q||f(q)!=="object"&&typeof q!="function"?p(A):q}(this,h(F).call(this,B))).getProbableCandidate=j()(function(A){return A&&A.length!==0?C.state.onlyCountries.filter(function(q){return D()(q.name.toLowerCase(),A.toLowerCase())},p(p(C)))[0]:null}),C.guessSelectedCountry=j()(function(A,q,re,xe){var ve;if(C.props.enableAreaCodes===!1&&(xe.some(function($e){if(D()(A,$e.dialCode))return re.some(function(fe){if($e.iso2===fe.iso2&&fe.mainCode)return ve=fe,!0}),!0}),ve))return ve;var be=re.find(function($e){return $e.iso2==q});if(A.trim()==="")return be;var je=re.reduce(function($e,fe){return D()(A,fe.dialCode)&&(fe.dialCode.length>$e.dialCode.length||fe.dialCode.length===$e.dialCode.length&&fe.priority<$e.priority)?fe:$e},{dialCode:"",priority:10001},p(p(C)));return je.name?je:be}),C.updateCountry=function(A){var q,re=C.state.onlyCountries;(q=A.indexOf(0)>="0"&&A.indexOf(0)<="9"?re.find(function(xe){return xe.dialCode==+A}):re.find(function(xe){return xe.iso2==A}))&&q.dialCode&&C.setState({selectedCountry:q,formattedNumber:C.props.disableCountryCode?"":C.formatNumber(q.dialCode,q)})},C.scrollTo=function(A,q){if(A){var re=C.dropdownRef;if(re&&document.body){var xe=re.offsetHeight,ve=re.getBoundingClientRect().top+document.body.scrollTop,be=ve+xe,je=A,$e=je.getBoundingClientRect(),fe=je.offsetHeight,U=$e.top+document.body.scrollTop,oe=U+fe,ie=U-ve+re.scrollTop,se=xe/2-fe/2;if(C.props.enableSearch?U<ve+32:U<ve)q&&(ie-=se),re.scrollTop=ie;else if(oe>be){q&&(ie+=se);var Ie=xe-fe;re.scrollTop=ie-Ie}}}},C.scrollToTop=function(){var A=C.dropdownRef;A&&document.body&&(A.scrollTop=0)},C.formatNumber=function(A,q){if(!q)return A;var re,xe=q.format,ve=C.props,be=ve.disableCountryCode,je=ve.enableAreaCodeStretch,$e=ve.enableLongNumbers,fe=ve.autoFormat;if(be?((re=xe.split(" ")).shift(),re=re.join(" ")):je&&q.isAreaCode?((re=xe.split(" "))[1]=re[1].replace(/\.+/,"".padEnd(q.areaCodeLength,".")),re=re.join(" ")):re=xe,!A||A.length===0)return be?"":C.props.prefix;if(A&&A.length<2||!re||!fe)return be?A:C.props.prefix+A;var U,oe=E()(re,function(ie,se){if(ie.remainingText.length===0)return ie;if(se!==".")return{formattedText:ie.formattedText+se,remainingText:ie.remainingText};var Ie,bt=a(Ie=ie.remainingText)||o(Ie)||s(),ot=bt[0],_t=bt.slice(1);return{formattedText:ie.formattedText+ot,remainingText:_t}},{formattedText:"",remainingText:A.split("")});return(U=$e?oe.formattedText+oe.remainingText.join(""):oe.formattedText).includes("(")&&!U.includes(")")&&(U+=")"),U},C.cursorToEnd=function(){var A=C.numberInputRef;if(document.activeElement===A){A.focus();var q=A.value.length;A.value.charAt(q-1)===")"&&(q-=1),A.setSelectionRange(q,q)}},C.getElement=function(A){return C["flag_no_".concat(A)]},C.getCountryData=function(){return C.state.selectedCountry?{name:C.state.selectedCountry.name||"",dialCode:C.state.selectedCountry.dialCode||"",countryCode:C.state.selectedCountry.iso2||"",format:C.state.selectedCountry.format||""}:{}},C.handleFlagDropdownClick=function(A){if(A.preventDefault(),C.state.showDropdown||!C.props.disabled){var q=C.state,re=q.preferredCountries,xe=q.onlyCountries,ve=q.selectedCountry,be=C.concatPreferredCountries(re,xe).findIndex(function(je){return je.dialCode===ve.dialCode&&je.iso2===ve.iso2});C.setState({showDropdown:!C.state.showDropdown,highlightCountryIndex:be},function(){C.state.showDropdown&&C.scrollTo(C.getElement(C.state.highlightCountryIndex))})}},C.handleInput=function(A){var q=A.target.value,re=C.props,xe=re.prefix,ve=re.onChange,be=C.props.disableCountryCode?"":xe,je=C.state.selectedCountry,$e=C.state.freezeSelection;if(!C.props.countryCodeEditable){var fe=xe+(je.hasAreaCodes?C.state.onlyCountries.find(function(lt){return lt.iso2===je.iso2&<.mainCode}).dialCode:je.dialCode);if(q.slice(0,fe.length)!==fe)return}if(q===xe)return ve&&ve("",C.getCountryData(),A,""),C.setState({formattedNumber:""});if(!(q.replace(/\D/g,"").length>15&&(C.props.enableLongNumbers===!1||typeof C.props.enableLongNumbers=="number"&&q.replace(/\D/g,"").length>C.props.enableLongNumbers))&&q!==C.state.formattedNumber){A.preventDefault?A.preventDefault():A.returnValue=!1;var U=C.props.country,oe=C.state,ie=oe.onlyCountries,se=oe.selectedCountry,Ie=oe.hiddenAreaCodes;if(ve&&A.persist(),q.length>0){var bt=q.replace(/\D/g,"");(!C.state.freezeSelection||se&&se.dialCode.length>bt.length)&&(je=C.props.disableCountryGuess?se:C.guessSelectedCountry(bt.substring(0,6),U,ie,Ie)||se,$e=!1),be=C.formatNumber(bt,je),je=je.dialCode?je:se}var ot=A.target.selectionStart,_t=A.target.selectionStart,$t=C.state.formattedNumber,Qt=be.length-$t.length;C.setState({formattedNumber:be,freezeSelection:$e,selectedCountry:je},function(){Qt>0&&(_t-=Qt),be.charAt(be.length-1)==")"?C.numberInputRef.setSelectionRange(be.length-1,be.length-1):_t>0&&$t.length>=be.length?C.numberInputRef.setSelectionRange(_t,_t):ot<$t.length&&C.numberInputRef.setSelectionRange(ot,ot),ve&&ve(be.replace(/[^0-9]+/g,""),C.getCountryData(),A,be)})}},C.handleInputClick=function(A){C.setState({showDropdown:!1}),C.props.onClick&&C.props.onClick(A,C.getCountryData())},C.handleDoubleClick=function(A){var q=A.target.value.length;A.target.setSelectionRange(0,q)},C.handleFlagItemClick=function(A,q){var re=C.state.selectedCountry,xe=C.state.onlyCountries.find(function($e){return $e==A});if(xe){var ve=C.state.formattedNumber.replace(" ","").replace("(","").replace(")","").replace("-",""),be=ve.length>1?ve.replace(re.dialCode,xe.dialCode):xe.dialCode,je=C.formatNumber(be.replace(/\D/g,""),xe);C.setState({showDropdown:!1,selectedCountry:xe,freezeSelection:!0,formattedNumber:je,searchValue:""},function(){C.cursorToEnd(),C.props.onChange&&C.props.onChange(je.replace(/[^0-9]+/g,""),C.getCountryData(),q,je)})}},C.handleInputFocus=function(A){C.numberInputRef&&C.numberInputRef.value===C.props.prefix&&C.state.selectedCountry&&!C.props.disableCountryCode&&C.setState({formattedNumber:C.props.prefix+C.state.selectedCountry.dialCode},function(){C.props.jumpCursorToEnd&&setTimeout(C.cursorToEnd,0)}),C.setState({placeholder:""}),C.props.onFocus&&C.props.onFocus(A,C.getCountryData()),C.props.jumpCursorToEnd&&setTimeout(C.cursorToEnd,0)},C.handleInputBlur=function(A){A.target.value||C.setState({placeholder:C.props.placeholder}),C.props.onBlur&&C.props.onBlur(A,C.getCountryData())},C.handleInputCopy=function(A){if(C.props.copyNumbersOnly){var q=window.getSelection().toString().replace(/[^0-9]+/g,"");A.clipboardData.setData("text/plain",q),A.preventDefault()}},C.getHighlightCountryIndex=function(A){var q=C.state.highlightCountryIndex+A;return q<0||q>=C.state.onlyCountries.length+C.state.preferredCountries.length?q-A:C.props.enableSearch&&q>C.getSearchFilteredCountries().length?0:q},C.searchCountry=function(){var A=C.getProbableCandidate(C.state.queryString)||C.state.onlyCountries[0],q=C.state.onlyCountries.findIndex(function(re){return re==A})+C.state.preferredCountries.length;C.scrollTo(C.getElement(q),!0),C.setState({queryString:"",highlightCountryIndex:q})},C.handleKeydown=function(A){var q=C.props.keys,re=A.target.className;if(re.includes("selected-flag")&&A.which===q.ENTER&&!C.state.showDropdown)return C.handleFlagDropdownClick(A);if(re.includes("form-control")&&(A.which===q.ENTER||A.which===q.ESC))return A.target.blur();if(C.state.showDropdown&&!C.props.disabled&&(!re.includes("search-box")||A.which===q.UP||A.which===q.DOWN||A.which===q.ENTER||A.which===q.ESC&&A.target.value==="")){A.preventDefault?A.preventDefault():A.returnValue=!1;var xe=function(ve){C.setState({highlightCountryIndex:C.getHighlightCountryIndex(ve)},function(){C.scrollTo(C.getElement(C.state.highlightCountryIndex),!0)})};switch(A.which){case q.DOWN:xe(1);break;case q.UP:xe(-1);break;case q.ENTER:C.props.enableSearch?C.handleFlagItemClick(C.getSearchFilteredCountries()[C.state.highlightCountryIndex]||C.getSearchFilteredCountries()[0],A):C.handleFlagItemClick([].concat(i(C.state.preferredCountries),i(C.state.onlyCountries))[C.state.highlightCountryIndex],A);break;case q.ESC:case q.TAB:C.setState({showDropdown:!1},C.cursorToEnd);break;default:(A.which>=q.A&&A.which<=q.Z||A.which===q.SPACE)&&C.setState({queryString:C.state.queryString+String.fromCharCode(A.which)},C.state.debouncedQueryStingSearcher)}}},C.handleInputKeyDown=function(A){var q=C.props,re=q.keys,xe=q.onEnterKeyPress,ve=q.onKeyDown;A.which===re.ENTER&&xe&&xe(A),ve&&ve(A)},C.handleClickOutside=function(A){C.dropdownRef&&!C.dropdownContainerRef.contains(A.target)&&C.state.showDropdown&&C.setState({showDropdown:!1})},C.handleSearchChange=function(A){var q=A.currentTarget.value,re=C.state,xe=re.preferredCountries,ve=re.selectedCountry,be=0;if(q===""&&ve){var je=C.state.onlyCountries;be=C.concatPreferredCountries(xe,je).findIndex(function($e){return $e==ve}),setTimeout(function(){return C.scrollTo(C.getElement(be))},100)}C.setState({searchValue:q,highlightCountryIndex:be})},C.concatPreferredCountries=function(A,q){return A.length>0?i(new Set(A.concat(q))):q},C.getDropdownCountryName=function(A){return A.localName||A.name},C.getSearchFilteredCountries=function(){var A=C.state,q=A.preferredCountries,re=A.onlyCountries,xe=A.searchValue,ve=C.props.enableSearch,be=C.concatPreferredCountries(q,re),je=xe.trim().toLowerCase().replace("+","");if(ve&&je){if(/^\d+$/.test(je))return be.filter(function(U){var oe=U.dialCode;return["".concat(oe)].some(function(ie){return ie.toLowerCase().includes(je)})});var $e=be.filter(function(U){var oe=U.iso2;return["".concat(oe)].some(function(ie){return ie.toLowerCase().includes(je)})}),fe=be.filter(function(U){var oe=U.name,ie=U.localName;return U.iso2,["".concat(oe),"".concat(ie||"")].some(function(se){return se.toLowerCase().includes(je)})});return C.scrollToTop(),i(new Set([].concat($e,fe)))}return be},C.getCountryDropdownList=function(){var A=C.state,q=A.preferredCountries,re=A.highlightCountryIndex,xe=A.showDropdown,ve=A.searchValue,be=C.props,je=be.disableDropdown,$e=be.prefix,fe=C.props,U=fe.enableSearch,oe=fe.searchNotFound,ie=fe.disableSearchIcon,se=fe.searchClass,Ie=fe.searchStyle,bt=fe.searchPlaceholder,ot=fe.autocompleteSearch,_t=C.getSearchFilteredCountries().map(function(lt,Mt){var Zt=re===Mt,Bn=z()({country:!0,preferred:lt.iso2==="us"||lt.iso2==="gb",active:lt.iso2==="us",highlight:Zt}),fn="flag ".concat(lt.iso2);return v.a.createElement("li",Object.assign({ref:function(xn){return C["flag_no_".concat(Mt)]=xn},key:"flag_no_".concat(Mt),"data-flag-key":"flag_no_".concat(Mt),className:Bn,"data-dial-code":"1",tabIndex:je?"-1":"0","data-country-code":lt.iso2,onClick:function(xn){return C.handleFlagItemClick(lt,xn)},role:"option"},Zt?{"aria-selected":!0}:{}),v.a.createElement("div",{className:fn}),v.a.createElement("span",{className:"country-name"},C.getDropdownCountryName(lt)),v.a.createElement("span",{className:"dial-code"},lt.format?C.formatNumber(lt.dialCode,lt):$e+lt.dialCode))}),$t=v.a.createElement("li",{key:"dashes",className:"divider"});q.length>0&&(!U||U&&!ve.trim())&&_t.splice(q.length,0,$t);var Qt=z()(r({"country-list":!0,hide:!xe},C.props.dropdownClass,!0));return v.a.createElement("ul",{ref:function(lt){return!U&<&<.focus(),C.dropdownRef=lt},className:Qt,style:C.props.dropdownStyle,role:"listbox",tabIndex:"0"},U&&v.a.createElement("li",{className:z()(r({search:!0},se,se))},!ie&&v.a.createElement("span",{className:z()(r({"search-emoji":!0},"".concat(se,"-emoji"),se)),role:"img","aria-label":"Magnifying glass"},"🔎"),v.a.createElement("input",{className:z()(r({"search-box":!0},"".concat(se,"-box"),se)),style:Ie,type:"search",placeholder:bt,autoFocus:!0,autoComplete:ot?"on":"off",value:ve,onChange:C.handleSearchChange})),_t.length>0?_t:v.a.createElement("li",{className:"no-entries-message"},v.a.createElement("span",null,oe)))};var J,Q=new ue(B.enableAreaCodes,B.enableTerritories,B.regions,B.onlyCountries,B.preferredCountries,B.excludeCountries,B.preserveOrder,B.masks,B.priority,B.areaCodes,B.localization,B.prefix,B.defaultMask,B.alwaysDefaultMask),ee=Q.onlyCountries,me=Q.preferredCountries,de=Q.hiddenAreaCodes,ke=B.value?B.value.replace(/\D/g,""):"";J=B.disableInitialCountryGuess?0:ke.length>1?C.guessSelectedCountry(ke.substring(0,6),B.country,ee,de)||0:B.country&&ee.find(function(A){return A.iso2==B.country})||0;var H,Te=ke.length<2&&J&&!D()(ke,J.dialCode)?J.dialCode:"";H=ke===""&&J===0?"":C.formatNumber((B.disableCountryCode?"":Te)+ke,J.name?J:void 0);var De=ee.findIndex(function(A){return A==J});return C.state={showDropdown:B.showDropdown,formattedNumber:H,onlyCountries:ee,preferredCountries:me,hiddenAreaCodes:de,selectedCountry:J,highlightCountryIndex:De,queryString:"",freezeSelection:!1,debouncedQueryStingSearcher:y()(C.searchCountry,250),searchValue:""},C}var Z,V;return function(B,C){if(typeof C!="function"&&C!==null)throw new TypeError("Super expression must either be null or a function");B.prototype=Object.create(C&&C.prototype,{constructor:{value:B,writable:!0,configurable:!0}}),C&&b(B,C)}(F,O),Z=F,(V=[{key:"componentDidMount",value:function(){document.addEventListener&&this.props.enableClickOutside&&document.addEventListener("mousedown",this.handleClickOutside),this.props.onMount&&this.props.onMount(this.state.formattedNumber.replace(/[^0-9]+/g,""),this.getCountryData(),this.state.formattedNumber)}},{key:"componentWillUnmount",value:function(){document.removeEventListener&&this.props.enableClickOutside&&document.removeEventListener("mousedown",this.handleClickOutside)}},{key:"componentDidUpdate",value:function(B,C,J){B.country!==this.props.country?this.updateCountry(this.props.country):B.value!==this.props.value&&this.updateFormattedNumber(this.props.value)}},{key:"updateFormattedNumber",value:function(B){if(B===null)return this.setState({selectedCountry:0,formattedNumber:""});var C=this.state,J=C.onlyCountries,Q=C.selectedCountry,ee=C.hiddenAreaCodes,me=this.props,de=me.country,ke=me.prefix;if(B==="")return this.setState({selectedCountry:Q,formattedNumber:""});var H,Te,De=B.replace(/\D/g,"");if(Q&&D()(B,ke+Q.dialCode))Te=this.formatNumber(De,Q),this.setState({formattedNumber:Te});else{var A=(H=this.props.disableCountryGuess?Q:this.guessSelectedCountry(De.substring(0,6),de,J,ee)||Q)&&D()(De,ke+H.dialCode)?H.dialCode:"";Te=this.formatNumber((this.props.disableCountryCode?"":A)+De,H||void 0),this.setState({selectedCountry:H,formattedNumber:Te})}}},{key:"render",value:function(){var B,C,J,Q=this,ee=this.state,me=ee.onlyCountries,de=ee.selectedCountry,ke=ee.showDropdown,H=ee.formattedNumber,Te=ee.hiddenAreaCodes,De=this.props,A=De.disableDropdown,q=De.renderStringAsFlag,re=De.isValid,xe=De.defaultErrorMessage,ve=De.specialLabel;if(typeof re=="boolean")C=re;else{var be=re(H.replace(/\D/g,""),de,me,Te);typeof be=="boolean"?(C=be)===!1&&(J=xe):(C=!1,J=be)}var je=z()((r(B={},this.props.containerClass,!0),r(B,"react-tel-input",!0),B)),$e=z()({arrow:!0,up:ke}),fe=z()(r({"form-control":!0,"invalid-number":!C,open:ke},this.props.inputClass,!0)),U=z()({"selected-flag":!0,open:ke}),oe=z()(r({"flag-dropdown":!0,"invalid-number":!C,open:ke},this.props.buttonClass,!0)),ie="flag ".concat(de&&de.iso2);return v.a.createElement("div",{className:"".concat(je," ").concat(this.props.className),style:this.props.style||this.props.containerStyle,onKeyDown:this.handleKeydown},ve&&v.a.createElement("div",{className:"special-label"},ve),J&&v.a.createElement("div",{className:"invalid-number-message"},J),v.a.createElement("input",Object.assign({className:fe,style:this.props.inputStyle,onChange:this.handleInput,onClick:this.handleInputClick,onDoubleClick:this.handleDoubleClick,onFocus:this.handleInputFocus,onBlur:this.handleInputBlur,onCopy:this.handleInputCopy,value:H,onKeyDown:this.handleInputKeyDown,placeholder:this.props.placeholder,disabled:this.props.disabled,type:"tel"},this.props.inputProps,{ref:function(se){Q.numberInputRef=se,typeof Q.props.inputProps.ref=="function"?Q.props.inputProps.ref(se):typeof Q.props.inputProps.ref=="object"&&(Q.props.inputProps.ref.current=se)}})),v.a.createElement("div",{className:oe,style:this.props.buttonStyle,ref:function(se){return Q.dropdownContainerRef=se}},q?v.a.createElement("div",{className:U},q):v.a.createElement("div",{onClick:A?void 0:this.handleFlagDropdownClick,className:U,title:de?"".concat(de.localName||de.name,": + ").concat(de.dialCode):"",tabIndex:A?"-1":"0",role:"button","aria-haspopup":"listbox","aria-expanded":!!ke||void 0},v.a.createElement("div",{className:ie},!A&&v.a.createElement("div",{className:$e}))),ke&&this.getCountryDropdownList()))}}])&&c(Z.prototype,V),F}(v.a.Component);he.defaultProps={country:"",value:"",onlyCountries:[],preferredCountries:[],excludeCountries:[],placeholder:"1 (702) 123-4567",searchPlaceholder:"search",searchNotFound:"No entries to show",flagsImagePath:"./flags.png",disabled:!1,containerStyle:{},inputStyle:{},buttonStyle:{},dropdownStyle:{},searchStyle:{},containerClass:"",inputClass:"",buttonClass:"",dropdownClass:"",searchClass:"",className:"",autoFormat:!0,enableAreaCodes:!1,enableTerritories:!1,disableCountryCode:!1,disableDropdown:!1,enableLongNumbers:!1,countryCodeEditable:!0,enableSearch:!1,disableSearchIcon:!1,disableInitialCountryGuess:!1,disableCountryGuess:!1,regions:"",inputProps:{},localization:{},masks:null,priority:null,areaCodes:null,preserveOrder:[],defaultMask:"... ... ... ... ..",alwaysDefaultMask:!1,prefix:"+",copyNumbersOnly:!0,renderStringAsFlag:"",autocompleteSearch:!1,jumpCursorToEnd:!0,enableAreaCodeStretch:!1,enableClickOutside:!0,showDropdown:!1,isValid:!0,defaultErrorMessage:"",specialLabel:"Phone",onEnterKeyPress:null,keys:{UP:38,DOWN:40,RIGHT:39,LEFT:37,ENTER:13,ESC:27,PLUS:43,A:65,Z:90,SPACE:32,TAB:9}},t.default=he}]);const FO=Ua($O),zO=({label:e,value:t="",onChange:n=a=>{console.log(a)},placeholder:r="Introduce tu número de teléfono",isRequired:o=!1,error:i=""})=>d.jsxs(xa,{isRequired:o,children:[e&&d.jsx(ii,{fontSize:"16px",children:e}),d.jsx(FO,{country:"es",defaultCountry:"es",regions:"europe",dropdownClass:"custom-dropdown",value:t,onChange:n,inputStyle:{width:"100%",borderRadius:"5px",height:"40px",border:i?"1px solid red":"1px solid #ccc"},dropdownStyle:{borderRadius:"5px"},placeholder:r}),i&&d.jsx(Be,{fontSize:"sm",color:"red.500",mt:1,children:i})]}),LO=({label:e="",description:t="",placeholders:n=[],values:r=[],onChange:o,dropdown:i=!1,info:a=!1,infoText:s="",product:l="info",isRequired:c=!1,isDisabled:u=!1,isReadOnly:f=!1})=>{const[p,h]=g.useState(!0),b=Jt[l],m=b[200],v=b[300],S=(y,w)=>{o&&o(y,w)};return d.jsx(qe,{children:d.jsxs(xa,{isRequired:c,children:[d.jsxs(ii,{fontSize:"16px",children:[i&&d.jsx(qt,{"aria-label":"Toggle Description",icon:p?d.jsx(G3,{}):d.jsx(lf,{}),size:"sm",variant:"ghost",onClick:()=>h(!p),_hover:{bg:"transparent"}}),e,a&&s&&d.jsx(Sl,{label:s,"aria-label":"Más información",p:"10px",borderRadius:"5px",bg:m,border:`1px solid ${v}`,color:"black.500",placement:"top",hasArrow:!0,children:d.jsx(qt,{icon:d.jsx(cf,{}),"aria-label":"Información",size:"sm",variant:"ghost",ml:2,color:"info.600"})})]}),i&&p&&t&&d.jsx(Be,{fontSize:"14px",color:"gray.500",mb:"10px",textAlign:"start",children:t}),d.jsx(dt,{wrap:"wrap",mb:2,gap:4,children:n.map((y,w)=>d.jsx(qe,{flexBasis:{base:"100%",sm:"48%"},children:d.jsx(Ta,{placeholder:y,value:r[w]||"",onChange:j=>S(w,j.target.value),bg:"white",isDisabled:u,isReadOnly:f})},w))})]})})},Sr={toast:"_toast_aqtd5_1",success:"_success_aqtd5_29",error:"_error_aqtd5_45",info:"_info_aqtd5_61",warning:"_warning_aqtd5_77",toastIcon:"_toastIcon_aqtd5_93",toastText:"_toastText_aqtd5_103",toastButton:"_toastButton_aqtd5_111",toastButtonWrapper:"_toastButtonWrapper_aqtd5_119",toastCloseButton:"_toastCloseButton_aqtd5_131",customToast:"_customToast_aqtd5_151",customContent:"_customContent_aqtd5_169"},_4=({type:e,title:t,description:n,customContent:r,onClose:o})=>{const i={success:oM,error:K3,info:sM,warning:K3};return e==="custom"?d.jsx("div",{className:`${Sr.toast} ${Sr.customToast}`,children:d.jsxs(dt,{direction:"row",align:"center",flex:"1",children:[r&&d.jsx("div",{className:Sr.customContent,children:r}),o&&d.jsx(ln,{className:Sr.toastCloseButton,size:"sm",position:"absolute",onClick:o,variant:"link","aria-label":"Close Toast",children:d.jsx(kl,{boxSize:4})})]})}):d.jsx("div",{className:`${Sr.toast} ${Sr[e]}`,children:d.jsxs(dt,{direction:"row",align:"center",flex:"1",children:[d.jsx(Xt,{as:i[e],className:Sr.toastIcon,boxSize:6}),d.jsxs(dt,{direction:"column",flex:"1",ml:3,children:[d.jsx(Be,{className:Sr.toastText,children:t}),n&&d.jsx(Be,{mt:1,children:n})]}),o&&d.jsx(ln,{className:Sr.toastCloseButton,size:"sm",position:"absolute",onClick:o,variant:"link","aria-label":"Close Toast",children:d.jsx(kl,{boxSize:4})})]})})},j4=()=>{const e=q3();return({type:t,title:n,description:r,duration:o=3e3,customContent:i,position:a="bottom-right"})=>{e({position:a,duration:o,render:({onClose:s})=>d.jsx(_4,{type:t,title:n,description:r,onClose:s,customContent:i})})}},BO=({message:e,userImage:t,timestamp:n,isError:r=!1,userName:o="User",type:i="text",src:a="",alt:s=""})=>d.jsxs(Nr,{justify:"flex-end",spacing:2,w:"100%",py:2,children:[d.jsxs(qe,{bg:i!=="text"?"transparent":"white.100",color:"black",borderRadius:"30px",border:r?"2px solid":"none",borderColor:r?"red.400":"transparent",px:5,py:3,maxW:"65%",boxShadow:"sm",wordBreak:"break-word",children:[i==="image"?d.jsx(qe,{maxWidth:"24.3125rem",height:"13.4375rem",children:d.jsx("img",{src:a,alt:s,style:{width:"100%",objectFit:"contain",height:"100%"}})}):d.jsx(Be,{textAlign:"right",fontSize:"md",whiteSpace:"normal",children:e}),n&&d.jsx(Be,{fontSize:"xs",color:"gray.500",textAlign:"right",mt:1,children:n})]}),d.jsx(jh,{src:t,name:o,size:"sm"})]}),NO=({width:e=24,height:t=24,color:n="#666666"})=>d.jsxs("svg",{width:e,height:t,viewBox:"0 0 22 24",fill:n,xmlns:"http://www.w3.org/2000/svg",children:[d.jsx("path",{d:"M10.7626 3.15604C11.6262 3.31919 12.4588 2.75379 12.6248 1.89021C12.7879 1.02664 12.2225 0.194002 11.359 0.0280381C10.4954 -0.135113 9.66275 0.43029 9.49679 1.29387C9.33364 2.15744 9.89904 2.99007 10.7626 3.15604Z",fill:n}),d.jsx("path",{d:"M11.9891 7.96331C15.373 8.40776 17.9947 11.3107 17.9947 14.8157C17.9947 18.6272 14.8948 21.7271 11.0805 21.7271C7.26612 21.7271 4.16625 18.6272 4.16625 14.8157C4.16625 11.3473 6.73447 8.46683 10.0706 7.97738V5.69045C6.31815 6.10114 3.24078 8.78188 2.24219 12.3262C2.58537 12.4753 2.88917 12.7594 3.12827 13.1588C3.46301 13.7158 3.65429 14.4584 3.66554 15.2517C3.68523 16.5597 3.22953 17.6511 2.52911 18.1603C3.86807 21.5752 7.19579 23.9999 11.0805 23.9999C14.9652 23.9999 18.2282 21.6202 19.5925 18.2587C19.3196 18.0956 19.0721 17.848 18.8724 17.5133C18.5376 16.9563 18.3463 16.2137 18.3351 15.4204C18.3238 14.6272 18.4926 13.8705 18.8133 13.2854C19.0946 12.7735 19.4743 12.4275 19.9075 12.2812C18.8836 8.72844 15.7697 6.05332 11.9891 5.6792V7.96613V7.96331Z",fill:n}),d.jsx("path",{d:"M2.32675 13.4795C2.24236 13.3389 2.14953 13.2207 2.05389 13.1279C1.89918 12.976 1.73603 12.8944 1.59257 12.9001C1.58132 12.9001 1.57288 12.9001 1.56163 12.9001C1.33659 12.9282 1.07499 13.1673 0.875267 13.5358C0.605224 14.0337 0.464576 14.6863 0.473015 15.3811C0.484267 16.0759 0.644605 16.7172 0.9259 17.187C1.14812 17.5527 1.42942 17.7749 1.66008 17.7665C1.84573 17.758 2.05952 17.6033 2.24799 17.3304C2.54616 16.9057 2.79089 16.194 2.77682 15.2854C2.76557 14.5906 2.60523 13.9493 2.32394 13.4795H2.32675Z",fill:n}),d.jsx("path",{d:"M21.0748 13.4795C20.8526 13.1138 20.5713 12.8916 20.3406 12.9C20.3294 12.9 20.3209 12.9 20.3097 12.9C20.2365 12.9085 20.1578 12.9422 20.0818 12.9957C19.9215 13.1025 19.7583 13.291 19.6233 13.5386C19.3533 14.0308 19.2126 14.6834 19.2211 15.3782C19.2323 16.073 19.3927 16.7144 19.6739 17.1841C19.7358 17.2882 19.8033 17.3782 19.8737 17.457C20.0509 17.6567 20.2422 17.772 20.4081 17.7636C20.8835 17.7383 21.5474 16.7678 21.5277 15.2826C21.5164 14.5878 21.3561 13.9464 21.0748 13.4767V13.4795Z",fill:n}),d.jsx("path",{d:"M7.68316 12.3741C7.02774 12.346 6.49609 13.294 6.49609 14.4923C6.49609 15.6906 7.02774 16.6864 7.68597 16.7145C8.3442 16.7427 8.87304 15.7947 8.87304 14.5964C8.87304 13.3981 8.34139 12.4023 7.68316 12.3741ZM8.09385 16.3882C7.80693 16.6555 7.39061 16.5739 7.16276 16.2082C6.93491 15.8425 6.97992 15.3277 7.26684 15.0605C7.55376 14.7933 7.97008 14.8749 8.19793 15.2405C8.42578 15.6062 8.38077 16.121 8.09385 16.3882Z",fill:n}),d.jsx("path",{d:"M13.6179 12.2306C12.9624 12.2025 12.4308 13.1504 12.4336 14.3487C12.4336 15.5471 12.9681 16.54 13.6235 16.5682C14.2789 16.5963 14.8105 15.6483 14.8077 14.45C14.8077 13.2517 14.2733 12.2587 13.6179 12.2306ZM14.006 16.2981C13.7163 16.5597 13.3 16.4753 13.0778 16.104C12.8555 15.7355 12.909 15.2208 13.1987 14.9592C13.4885 14.6975 13.9048 14.7819 14.127 15.1532C14.3492 15.5246 14.2958 16.0365 14.006 16.2981Z",fill:n}),d.jsx("path",{d:"M11.3514 7.90999V3.94373H10.7129V7.91561C10.8367 7.90998 10.9604 7.90436 11.0842 7.90436C11.1742 7.90436 11.2642 7.90717 11.3514 7.90999Z",fill:n})]}),RO=({message:e,colorTextMessage:t="#333333",color:n=Rr.colors.primary[400],isError:r=!1,thumbUp:o=!1,thumbDown:i=!1,withFeedback:a=!1,onThumbUp:s,onThumbDown:l,toastSuccessMsg:c="Text copied",isTyping:u=!1,colorCopyIcon:f="#333333",colorThumbUp:p="#333333",colorThumbDown:h="#333333"})=>{const b=r?"red.400":o?"success.400":i?"red.400":"transparent",m=a||r?"2px solid":"none",v=n||Rr.colors.primary[500],S=j4(),y=async()=>{try{typeof e=="string"&&await navigator.clipboard.writeText(e),S({type:"success",title:c,duration:2e3,position:"bottom-right"})}catch(j){console.error("Error al copiar el mensaje:",j);const x=j instanceof Error?j.message:String(j);S({type:"error",title:x,duration:2e3,position:"bottom-right"})}},w=j=>{if(typeof j=="string"){const x=/([.?!;:])\s*/g;return j.split(x).map((E,P)=>E.match(x)?d.jsxs("span",{children:[E,d.jsx("br",{})]},P):E)}return j};return d.jsxs(ar,{align:"flex-start",spacing:2,w:"100%",py:2,children:[d.jsxs(Nr,{spacing:2,w:"100%",children:[d.jsx(qe,{display:"flex",alignItems:"center",justifyContent:"center",boxSize:"34px",borderRadius:"50%",bg:v,flexShrink:0,children:d.jsx(NO,{width:20,height:20,color:Rr.colors.white[100]})}),d.jsx(qe,{bg:"transparent",color:"black",px:5,py:3,w:"100%",border:m,borderColor:b,borderRadius:"50px",children:d.jsxs(dt,{justify:"space-between",align:"center",w:"100%",children:[d.jsx(Be,{fontSize:"md",whiteSpace:"pre-wrap",wordBreak:"break-word",w:"85%",textAlign:"left",color:t||"#333333",children:u?d.jsxs(Be,{fontStyle:"italic",color:"gray.500",children:[d.jsx("span",{children:"."}),d.jsx("span",{children:"."}),d.jsx("span",{children:"."})]}):w(e)}),a&&d.jsxs(Nr,{spacing:1,justify:"flex-end",w:"15%",children:[o&&d.jsx(n4,{size:24,color:Rr.colors.green[400]}),i&&d.jsx(t4,{size:24,color:Rr.colors.red[400]})]})]})})]}),a&&d.jsxs(Nr,{spacing:2,children:[d.jsx(qt,{"aria-label":"Copy",icon:d.jsx(wM,{size:20,color:f}),variant:"ghost",onClick:y}),d.jsx(qt,{"aria-label":"Thumbs Up",icon:d.jsx(n4,{size:20,color:p}),variant:"ghost",onClick:s}),d.jsx(qt,{"aria-label":"Thumbs Down",icon:d.jsx(t4,{size:20,color:h}),variant:"ghost",onClick:l})]})]})},VO=({width:e=33,height:t=32,color:n=Jt.black[50]})=>d.jsxs("svg",{width:e,height:t,viewBox:"0 0 33 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[d.jsxs("g",{id:"hinton-plot 1",clipPath:"url(#clip0_3937_23354)",children:[d.jsx("path",{id:"Vector",d:"M6.5 2H2.5V6H6.5V2Z",fill:n}),d.jsx("path",{id:"Vector_2",d:"M14.5 2H10.5V6H14.5V2Z",fill:n}),d.jsx("path",{id:"Vector_3",d:"M22.5 2H18.5V6H22.5V2Z",fill:n}),d.jsx("path",{id:"Vector_4",d:"M30.5 2H26.5V6H30.5V2Z",fill:n}),d.jsx("path",{id:"Vector_5",d:"M6.5 10H2.5V14H6.5V10Z",fill:n}),d.jsx("path",{id:"Vector_6",d:"M14.5 10H10.5V14H14.5V10Z",fill:n}),d.jsx("path",{id:"Vector_7",d:"M22.5 10H18.5V14H22.5V10Z",fill:n}),d.jsx("path",{id:"Vector_8",d:"M30.5 10H26.5V14H30.5V10Z",fill:n}),d.jsx("path",{id:"Vector_9",d:"M6.5 18H2.5V22H6.5V18Z",fill:n}),d.jsx("path",{id:"Vector_10",d:"M14.5 18H10.5V22H14.5V18Z",fill:n}),d.jsx("path",{id:"Vector_11",d:"M22.5 18H18.5V22H22.5V18Z",fill:n}),d.jsx("path",{id:"Vector_12",d:"M30.5 18H26.5V22H30.5V18Z",fill:n}),d.jsx("path",{id:"Vector_13",d:"M6.5 26H2.5V30H6.5V26Z",fill:n}),d.jsx("path",{id:"Vector_14",d:"M14.5 26H10.5V30H14.5V26Z",fill:n}),d.jsx("path",{id:"Vector_15",d:"M22.5 26H18.5V30H22.5V26Z",fill:n}),d.jsx("path",{id:"Vector_16",d:"M30.5 26H26.5V30H30.5V26Z",fill:n})]}),d.jsx("defs",{children:d.jsx("clipPath",{id:"clip0_3937_23354",children:d.jsx("rect",{width:"32",height:"32",fill:"white",transform:"translate(0.5)"})})})]}),WO=({width:e=24,height:t=24})=>d.jsxs("svg",{width:e,height:t,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[d.jsx("g",{clipPath:"url(#clip0_389_1416)",children:d.jsx("path",{d:"M12.4592 1.66031C12.3261 1.55642 12.1621 1.5 11.9932 1.5C11.8243 1.5 11.6603 1.55642 11.5272 1.66031L0.75 10.0645L1.68203 11.2433L3 10.2156V19.5C3.00081 19.8975 3.15911 20.2786 3.44024 20.5597C3.72137 20.8409 4.10242 20.9991 4.5 21H19.5C19.8976 20.9992 20.2787 20.841 20.5599 20.5598C20.841 20.2787 20.9993 19.8976 21 19.5V10.2225L22.318 11.25L23.25 10.0711L12.4592 1.66031ZM13.5 19.5H10.5V13.5H13.5V19.5ZM15 19.5V13.5C14.9995 13.1023 14.8414 12.721 14.5602 12.4398C14.279 12.1586 13.8977 12.0004 13.5 12H10.5C10.1023 12.0004 9.721 12.1585 9.43978 12.4397C9.15856 12.721 9.0004 13.1023 9 13.5V19.5H4.5V9.04608L12 3.20358L19.5 9.05396V19.5H15Z",fill:"white"})}),d.jsx("defs",{children:d.jsx("clipPath",{id:"clip0_389_1416",children:d.jsx("rect",{width:"24",height:"24",fill:"white"})})})]}),HO=({width:e=24,height:t=24})=>d.jsxs("svg",{width:e,height:t,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[d.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M22.7071 1.29289C23.0976 1.68342 23.0976 2.31658 22.7071 2.70711L11.7071 13.7071C11.3166 14.0976 10.6834 14.0976 10.2929 13.7071C9.90237 13.3166 9.90237 12.6834 10.2929 12.2929L21.2929 1.29289C21.6834 0.902369 22.3166 0.902369 22.7071 1.29289Z",fill:"white"}),d.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M22.7071 1.29292C22.9788 1.56456 23.0708 1.96779 22.9439 2.33038L15.9439 22.3304C15.8084 22.7174 15.4504 22.9825 15.0408 22.9992C14.6311 23.0159 14.2527 22.7808 14.0862 22.4062L10.2424 13.7576L1.59387 9.91384C1.21919 9.74731 0.984122 9.36894 1.00084 8.95926C1.01755 8.54959 1.28265 8.19162 1.66965 8.05617L21.6697 1.05617C22.0322 0.929264 22.4355 1.02128 22.7071 1.29292ZM4.71108 9.11063L11.4061 12.0862C11.6324 12.1868 11.8133 12.3677 11.9138 12.5939L14.8894 19.289L20.37 3.63L4.71108 9.11063Z",fill:"white"})]}),UO=({width:e=24,height:t=24})=>d.jsxs("svg",{width:e,height:t,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[d.jsxs("g",{clipPath:"url(#clip0_960_8687)",children:[d.jsx("path",{d:"M20.6719 0C21.3534 0.135469 21.9558 0.335156 22.5155 0.757969C23.3489 1.3875 23.8261 2.30391 24 3.32812V13.2188C23.7586 14.145 22.5089 14.2467 22.1742 13.3336C22.0598 10.0945 22.1583 6.83344 22.1241 3.58687C22.0064 2.62547 21.2958 1.94062 20.3222 1.87312H3.63094C2.68406 1.95469 1.94813 2.68031 1.87312 3.63141V20.3691C1.94672 21.3052 2.65875 22.02 3.58641 22.1245L13.5961 22.1461C14.6039 22.3786 14.5791 23.7408 13.5938 24H3.32812C2.30109 23.8266 1.39172 23.348 0.757969 22.5155C0.334219 21.9586 0.135938 21.3511 0 20.6719V3.32812C0.2175 1.65516 1.62187 0.172969 3.32812 0H20.6719Z",fill:"white"}),d.jsx("path",{d:"M24.0001 22.8749V23.2499C23.8782 23.6432 23.6434 23.878 23.2501 23.9999H22.8751C22.0562 23.623 21.5256 22.7437 20.8262 22.1779C20.3321 22.3766 19.9065 22.5866 19.3693 22.6738C14.7245 23.4252 12.5359 17.2119 16.5039 14.8865C20.3786 12.6158 24.5884 17.1144 22.1832 20.8363C22.7528 21.5263 23.6242 22.0612 24.0001 22.8749ZM18.3648 16.1849C15.1867 16.5444 15.9676 21.5915 19.2559 20.7791C21.9976 20.1018 21.3034 15.8526 18.3648 16.1849Z",fill:"white"}),d.jsx("path",{d:"M10.1608 5.30859L18.445 5.29688C19.5995 5.41406 19.5995 7.05375 18.445 7.17094H10.2428C9.12484 7.0575 9.07844 5.50781 10.1608 5.30859Z",fill:"white"}),d.jsx("path",{d:"M10.1608 10.9336L18.445 10.9219C19.5995 11.0391 19.5995 12.6787 18.445 12.7959H10.2428C9.12484 12.6825 9.07844 11.1328 10.1608 10.9336Z",fill:"white"}),d.jsx("path",{d:"M10.1609 16.8868C10.5218 16.8339 11.7598 16.831 12.0626 16.9759C12.7507 17.3054 12.7155 18.4018 11.9993 18.6784C11.7119 18.7895 10.5869 18.7834 10.2424 18.7487C9.10382 18.6334 9.10382 17.042 10.1604 16.8864L10.1609 16.8868Z",fill:"white"}),d.jsx("path",{d:"M5.47343 5.30896C5.79265 5.26209 6.68937 5.26021 6.97015 5.38162C7.68593 5.69146 7.66718 6.81787 6.93734 7.101C6.66593 7.206 5.82078 7.20365 5.51328 7.16662C4.43093 7.03678 4.42015 5.46412 5.47343 5.30896Z",fill:"white"}),d.jsx("path",{d:"M5.47343 10.934C5.79265 10.8871 6.68937 10.8852 6.97015 11.0066C7.68593 11.3165 7.66718 12.4429 6.93734 12.726C6.66593 12.831 5.82078 12.8287 5.51328 12.7916C4.43093 12.6618 4.42015 11.0891 5.47343 10.934Z",fill:"white"}),d.jsx("path",{d:"M5.47343 16.8871C5.79265 16.8402 6.68937 16.8383 6.97015 16.9597C7.68593 17.2696 7.66718 18.396 6.93734 18.6791C6.66593 18.7841 5.82078 18.7818 5.51328 18.7447C4.43093 18.6149 4.42015 17.0422 5.47343 16.8871Z",fill:"white"})]}),d.jsx("defs",{children:d.jsx("clipPath",{id:"clip0_960_8687",children:d.jsx("rect",{width:"24",height:"24",fill:"white"})})})]}),qO=({width:e=24,height:t=24})=>d.jsx("svg",{width:e,height:t,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:d.jsx("path",{d:"M1.5 4.24194C2.8275 3.68694 4.731 3.08844 6.582 2.90244C8.577 2.70144 10.269 2.99694 11.25 4.03044V18.6494C9.8475 17.8544 8.07 17.7449 6.4305 17.9099C4.6605 18.0899 2.8755 18.6014 1.5 19.1264V4.24194ZM12.75 4.03044C13.731 2.99694 15.423 2.70144 17.418 2.90244C19.269 3.08844 21.1725 3.68694 22.5 4.24194V19.1264C21.123 18.6014 19.3395 18.0884 17.5695 17.9114C15.9285 17.7449 14.1525 17.8529 12.75 18.6494V4.03044ZM12 2.67444C10.5225 1.40394 8.3805 1.21494 6.4305 1.40994C4.1595 1.63944 1.8675 2.41794 0.4395 3.06744C0.308474 3.12704 0.197363 3.22307 0.119432 3.34409C0.0415 3.46511 3.98571e-05 3.606 0 3.74994L0 20.2499C3.4743e-05 20.3754 0.0315557 20.4989 0.0916756 20.6091C0.151796 20.7192 0.238593 20.8125 0.344116 20.8804C0.44964 20.9483 0.570517 20.9887 0.695675 20.9978C0.820833 21.0069 0.946271 20.9844 1.0605 20.9324C2.3835 20.3324 4.515 19.6109 6.5805 19.4024C8.694 19.1894 10.4655 19.5329 11.415 20.7179C11.4853 20.8055 11.5743 20.8762 11.6756 20.9248C11.7768 20.9734 11.8877 20.9986 12 20.9986C12.1123 20.9986 12.2232 20.9734 12.3244 20.9248C12.4257 20.8762 12.5147 20.8055 12.585 20.7179C13.5345 19.5329 15.306 19.1894 17.418 19.4024C19.485 19.6109 21.618 20.3324 22.9395 20.9324C23.0537 20.9844 23.1792 21.0069 23.3043 20.9978C23.4295 20.9887 23.5504 20.9483 23.6559 20.8804C23.7614 20.8125 23.8482 20.7192 23.9083 20.6091C23.9684 20.4989 24 20.3754 24 20.2499V3.74994C24 3.606 23.9585 3.46511 23.8806 3.34409C23.8026 3.22307 23.6915 3.12704 23.5605 3.06744C22.1325 2.41794 19.8405 1.63944 17.5695 1.40994C15.6195 1.21344 13.4775 1.40394 12 2.67444Z",fill:"white"})}),ZO=({width:e=24,height:t=24})=>d.jsxs("svg",{width:e,height:t,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[d.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 0C12.5523 0 13 0.447715 13 1V23C13 23.5523 12.5523 24 12 24C11.4477 24 11 23.5523 11 23V1C11 0.447715 11.4477 0 12 0Z",fill:"white"}),d.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.31802 5.31802C7.16193 4.47411 8.30653 4 9.5 4H17C17.5523 4 18 4.44772 18 5C18 5.55228 17.5523 6 17 6H9.5C8.83696 6 8.20107 6.26339 7.73223 6.73223C7.26339 7.20107 7 7.83696 7 8.5C7 9.16304 7.26339 9.79893 7.73223 10.2678C8.20107 10.7366 8.83696 11 9.5 11H14.5C15.6935 11 16.8381 11.4741 17.682 12.318C18.5259 13.1619 19 14.3065 19 15.5C19 16.6935 18.5259 17.8381 17.682 18.682C16.8381 19.5259 15.6935 20 14.5 20H6C5.44772 20 5 19.5523 5 19C5 18.4477 5.44772 18 6 18H14.5C15.163 18 15.7989 17.7366 16.2678 17.2678C16.7366 16.7989 17 16.163 17 15.5C17 14.837 16.7366 14.2011 16.2678 13.7322C15.7989 13.2634 15.163 13 14.5 13H9.5C8.30653 13 7.16193 12.5259 6.31802 11.682C5.47411 10.8381 5 9.69347 5 8.5C5 7.30653 5.47411 6.16193 6.31802 5.31802Z",fill:"white"})]}),GO=({width:e=24,height:t=24})=>d.jsxs("svg",{width:e,height:t,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[d.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M23.7071 5.29289C24.0976 5.68342 24.0976 6.31658 23.7071 6.70711L14.2071 16.2071C13.8166 16.5976 13.1834 16.5976 12.7929 16.2071L8.5 11.9142L1.70711 18.7071C1.31658 19.0976 0.683417 19.0976 0.292893 18.7071C-0.0976311 18.3166 -0.0976311 17.6834 0.292893 17.2929L7.79289 9.79289C8.18342 9.40237 8.81658 9.40237 9.20711 9.79289L13.5 14.0858L22.2929 5.29289C22.6834 4.90237 23.3166 4.90237 23.7071 5.29289Z",fill:"white"}),d.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16 6C16 5.44772 16.4477 5 17 5H23C23.5523 5 24 5.44772 24 6V12C24 12.5523 23.5523 13 23 13C22.4477 13 22 12.5523 22 12V7H17C16.4477 7 16 6.55228 16 6Z",fill:"white"})]}),KO=({width:e=24,height:t=27})=>d.jsxs("svg",{width:e,height:t,viewBox:"0 0 24 28",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[d.jsx("path",{d:"M11.7297 3.59735C12.714 3.78332 13.6631 3.13885 13.8522 2.15452C14.0382 1.17019 13.3937 0.22113 12.4094 0.0319587C11.4251 -0.154006 10.476 0.490458 10.2868 1.47479C10.1009 2.45912 10.7453 3.40818 11.7297 3.59735Z",fill:"white"}),d.jsx("path",{d:"M13.1274 9.07714C16.9845 9.58373 19.9728 12.8926 19.9728 16.8877C19.9728 21.2322 16.4395 24.7655 12.0917 24.7655C7.74401 24.7655 4.21068 21.2322 4.21068 16.8877C4.21068 12.9343 7.13802 9.65106 10.9407 9.09317V6.48646C6.66349 6.95458 3.15581 10.0102 2.01758 14.0501C2.40875 14.22 2.75502 14.5439 3.02756 14.9992C3.40911 15.634 3.62714 16.4805 3.63996 17.3846C3.6624 18.8756 3.14299 20.1196 2.34462 20.6999C3.87081 24.5924 7.66385 27.3562 12.0917 27.3562C16.5196 27.3562 20.2389 24.6437 21.794 20.8122C21.483 20.6262 21.2008 20.344 20.9732 19.9625C20.5916 19.3276 20.3736 18.4812 20.3608 17.577C20.3479 16.6728 20.5403 15.8103 20.9058 15.1434C21.2265 14.5599 21.6593 14.1655 22.1531 13.9988C20.986 9.94925 17.4366 6.90007 13.1274 6.47363V9.08034V9.07714Z",fill:"white"}),d.jsx("path",{d:"M2.11335 15.3649C2.01716 15.2046 1.91136 15.0699 1.80234 14.9641C1.626 14.791 1.44003 14.698 1.27651 14.7044C1.26369 14.7044 1.25407 14.7044 1.24124 14.7044C0.984739 14.7365 0.686555 15.009 0.458908 15.429C0.151104 15.9965 -0.00921001 16.7404 0.000408858 17.5324C0.013234 18.3243 0.195992 19.0553 0.516621 19.5908C0.769918 20.0076 1.09055 20.2609 1.35346 20.2513C1.56508 20.2417 1.80876 20.0653 2.02358 19.7543C2.36344 19.2702 2.64239 18.459 2.62636 17.4233C2.61353 16.6314 2.43078 15.9004 2.11015 15.3649H2.11335Z",fill:"white"}),d.jsx("path",{d:"M23.4835 15.3649C23.2302 14.948 22.9095 14.6947 22.6466 14.7044C22.6338 14.7044 22.6242 14.7044 22.6114 14.7044C22.528 14.714 22.4382 14.7525 22.3516 14.8134C22.1689 14.9352 21.9829 15.15 21.829 15.4322C21.5212 15.9933 21.3609 16.7372 21.3705 17.5291C21.3834 18.3211 21.5661 19.0521 21.8867 19.5875C21.9573 19.7062 22.0342 19.8088 22.1144 19.8986C22.3164 20.1262 22.5344 20.2577 22.7236 20.248C23.2654 20.2192 24.0221 19.113 23.9997 17.4201C23.9869 16.6281 23.8041 15.8971 23.4835 15.3617V15.3649Z",fill:"white"}),d.jsx("path",{d:"M8.21829 14.1042C7.47122 14.0721 6.86523 15.1527 6.86523 16.5185C6.86523 17.8844 7.47122 19.0195 8.22149 19.0515C8.97177 19.0836 9.57455 18.0031 9.57455 16.6372C9.57455 15.2713 8.96856 14.1363 8.21829 14.1042ZM8.68641 18.6796C8.35936 18.9842 7.88483 18.8912 7.62513 18.4744C7.36542 18.0576 7.41672 17.4708 7.74376 17.1662C8.0708 16.8616 8.54533 16.9546 8.80504 17.3714C9.06475 17.7882 9.01345 18.375 8.68641 18.6796Z",fill:"white"}),d.jsx("path",{d:"M14.9836 13.9411C14.2366 13.9091 13.6306 14.9896 13.6338 16.3555C13.6338 17.7213 14.243 18.8532 14.9901 18.8852C15.7371 18.9173 16.3431 17.8368 16.3399 16.4709C16.3399 15.105 15.7307 13.9732 14.9836 13.9411ZM15.4261 18.5774C15.0959 18.8756 14.6213 18.7794 14.368 18.3562C14.1147 17.9362 14.1757 17.3494 14.5059 17.0512C14.8362 16.753 15.3107 16.8492 15.564 17.2725C15.8173 17.6957 15.7564 18.2792 15.4261 18.5774Z",fill:"white"}),d.jsx("path",{d:"M12.3987 9.01598V4.49512H11.6709V9.0224C11.812 9.01598 11.9531 9.00957 12.0941 9.00957C12.1967 9.00957 12.2993 9.01278 12.3987 9.01598Z",fill:"white"})]}),YO={hub:"https://staging.hub.canaia.ai",assist:"https://staging.assist.canaia.ai",play:"https://staging.play.canaia.ai",elevate:"https://staging.elevate.canaia.ai",talent:"https://staging.talent.canaia.ai",collect:"https://staging.collect.canaia.ai",ad:"https://staging.ad.canaia.ai"},XO={hub:"https://hub.canaia.ai",assist:"https://assist.canaia.ai",play:"https://play.canaia.ai",elevate:"https://elevate.canaia.ai",talent:"https://talent.canaia.ai",collect:"https://collect.canaia.ai",ad:"https://ad.canaia.ai"},JO=[{name:"Hub",icon:d.jsx(WO,{}),bgColor:"primary.400"},{name:"Play",icon:d.jsx(HO,{}),bgColor:"play.500"},{name:"Assist",icon:d.jsx(KO,{}),bgColor:"assist.500"},{name:"Elevate",icon:d.jsx(UO,{}),bgColor:"elevate.500"},{name:"Talent",icon:d.jsx(qO,{}),bgColor:"talent.500"},{name:"Collect",icon:d.jsx(ZO,{}),bgColor:"collect.500"},{name:"Ad",icon:d.jsx(GO,{}),bgColor:"ad.500"}],QO=e=>e?XO:YO,eI=({isProduction:e,showMenuItems:t,platform:n})=>{const r=QO(e),o=t&&t.length>0?t:["hub"],i=n==="canaia"?"hub":n,a=JO.filter(l=>o.includes(l.name.toLowerCase())),s=l=>{window.location.href=l};return d.jsx($m,{templateColumns:"repeat(4, 1fr)",gap:1,children:a.map(l=>{const c=i===l.name.toLowerCase();return d.jsxs(di,{as:"div",p:3,borderRadius:"full",display:"flex",flexDirection:"column",alignItems:"center",w:"100%",_hover:{bg:"transparent",cursor:"pointer"},_focus:{bg:"transparent"},_active:{bg:"transparent"},onClick:()=>s(r[l.name.toLowerCase()]),sx:{boxShadow:c?"0px 4px 6px -1px rgba(0, 0, 0, 0.08)":"none",borderTop:c?"1px solid rgba(0, 0, 0, 0.08)":"none",borderRadius:"8px"},children:[d.jsx(qe,{fontSize:"2xl",as:"div",children:d.jsx(dt,{w:"42px",h:"42px",bg:l.bgColor,borderRadius:"full",align:"center",justify:"center",children:l.icon})}),d.jsx(Be,{textAlign:"center",mt:2,fontWeight:c?"bold":"normal",children:l.name})]},l.name)})})},tI=({width:e=129,height:t=50})=>d.jsxs("svg",{width:e,height:t,viewBox:"0 0 266 93",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[d.jsx("path",{d:"M31.7903 42.22C34.5628 42.22 36.8103 39.9725 36.8103 37.2C36.8103 34.4275 34.5628 32.18 31.7903 32.18C29.0178 32.18 26.7703 34.4275 26.7703 37.2C26.7703 39.9725 29.0178 42.22 31.7903 42.22Z",fill:"#FB8E79"}),d.jsx("path",{d:"M45.5403 42.22C48.3128 42.22 50.5603 39.9725 50.5603 37.2C50.5603 34.4275 48.3128 32.18 45.5403 32.18C42.7678 32.18 40.5203 34.4275 40.5203 37.2C40.5203 39.9725 42.7678 42.22 45.5403 42.22Z",fill:"#FB8E79"}),d.jsx("path",{d:"M59.2803 42.22C62.0528 42.22 64.3003 39.9725 64.3003 37.2C64.3003 34.4275 62.0528 32.18 59.2803 32.18C56.5078 32.18 54.2603 34.4275 54.2603 37.2C54.2603 39.9725 56.5078 42.22 59.2803 42.22Z",fill:"#FB8E79"}),d.jsx("path",{d:"M63.3403 55.74C61.2003 54.14 58.1503 54.29 56.3103 56.23C54.5703 58.06 52.5703 59.61 50.3103 60.9C46.6903 62.96 42.7203 63.99 38.3903 63.99C34.8703 63.99 31.5803 63.28 28.5003 61.86C25.4203 60.44 22.7303 58.51 20.4403 56.08C18.1403 53.65 16.3203 50.81 14.9603 47.56C13.6103 44.31 12.9303 40.83 12.9303 37.11C12.9303 33.39 13.6103 29.91 14.9603 26.66C16.3103 23.42 18.1403 20.58 20.4403 18.14C22.7403 15.71 25.4303 13.78 28.5003 12.36C31.5803 10.94 34.8703 10.23 38.3903 10.23C42.7203 10.23 46.6903 11.26 50.3103 13.32C52.5703 14.61 54.5703 16.16 56.3103 17.99C58.1603 19.92 61.2003 20.08 63.3403 18.48C66.0203 16.48 66.2503 12.55 63.8403 10.23C61.3203 7.8 58.4703 5.74 55.2703 4.04C50.1703 1.35 44.5403 0 38.3903 0C33.3203 0 28.5503 0.98 24.0903 2.94C19.6303 4.9 15.7403 7.55 12.4303 10.9C9.1203 14.25 6.5003 18.17 4.5703 22.66C2.6403 27.16 1.6803 31.97 1.6803 37.11C1.6803 42.25 2.6403 47.07 4.5703 51.56C5.4203 53.54 6.4203 55.39 7.5403 57.15L0.960297 77.97L23.4903 71C23.6903 71.09 23.8803 71.2 24.0903 71.29C28.5503 73.25 33.3203 74.23 38.3903 74.23C44.5403 74.23 50.1703 72.88 55.2803 70.17C58.4703 68.48 61.3303 66.42 63.8503 63.98C66.2603 61.66 66.0303 57.73 63.3503 55.73L63.3403 55.74Z",fill:"#FB8E79"}),d.jsx("path",{d:"M111.324 53.33V66.93C111.324 68.12 110.914 69.13 110.094 69.95C109.274 70.77 108.264 71.18 107.074 71.18C105.884 71.18 104.874 70.77 104.054 69.95C103.234 69.13 102.824 68.12 102.824 66.93V15.93C102.824 14.74 103.234 13.73 104.054 12.91C104.874 12.09 105.884 11.68 107.074 11.68H124.504C127.394 11.68 130.094 12.23 132.624 13.34C135.144 14.44 137.344 15.93 139.214 17.8C141.084 19.67 142.574 21.87 143.674 24.39C144.774 26.91 145.334 29.62 145.334 32.51C145.334 35.4 144.784 38.11 143.674 40.63C142.574 43.15 141.084 45.35 139.214 47.22C137.344 49.09 135.144 50.58 132.624 51.68C130.104 52.78 127.394 53.34 124.504 53.34H111.324V53.33ZM124.504 44.83C126.204 44.83 127.804 44.5 129.304 43.85C130.804 43.2 132.114 42.32 133.214 41.22C134.314 40.11 135.194 38.81 135.844 37.31C136.494 35.81 136.824 34.21 136.824 32.51C136.824 30.81 136.494 29.21 135.844 27.71C135.194 26.21 134.314 24.91 133.214 23.8C132.114 22.7 130.804 21.82 129.304 21.17C127.804 20.52 126.204 20.19 124.504 20.19H111.324V44.84H124.504V44.83Z",fill:"#333333"}),d.jsx("path",{d:"M154.674 11.68C154.674 10.49 155.084 9.48 155.904 8.66C156.724 7.84 157.734 7.43 158.924 7.43C160.114 7.43 161.124 7.84 161.944 8.66C162.764 9.48 163.174 10.49 163.174 11.68V66.93C163.174 68.12 162.764 69.13 161.944 69.95C161.124 70.77 160.114 71.18 158.924 71.18C157.734 71.18 156.724 70.77 155.904 69.95C155.084 69.13 154.674 68.12 154.674 66.93V11.68Z",fill:"#333333"}),d.jsx("path",{d:"M204.824 66.85C203.014 68.21 201.024 69.26 198.874 70C196.724 70.74 194.454 71.1 192.074 71.1C189.124 71.1 186.364 70.55 183.784 69.44C181.204 68.33 178.954 66.82 177.024 64.89C175.094 62.96 173.584 60.71 172.474 58.13C171.374 55.55 170.814 52.79 170.814 49.84C170.814 46.89 171.364 44.13 172.474 41.55C173.584 38.97 175.094 36.72 177.024 34.79C178.954 32.86 181.204 31.35 183.784 30.24C186.364 29.14 189.124 28.58 192.074 28.58C195.024 28.58 197.784 29.13 200.364 30.24C202.944 31.35 205.194 32.86 207.124 34.79C209.054 36.72 210.564 38.97 211.674 41.55C212.784 44.13 213.334 46.89 213.334 49.84V66.92C213.334 68.11 212.924 69.12 212.104 69.94C211.284 70.76 210.274 71.17 209.084 71.17C207.894 71.17 206.884 70.76 206.064 69.94C205.244 69.12 204.834 68.11 204.834 66.92V66.84L204.824 66.85ZM192.074 62.6C193.834 62.6 195.484 62.26 197.044 61.58C198.604 60.9 199.944 59.99 201.084 58.86C202.224 57.73 203.124 56.38 203.804 54.82C204.484 53.26 204.824 51.6 204.824 49.85C204.824 48.1 204.484 46.44 203.804 44.88C203.124 43.32 202.214 41.98 201.084 40.84C199.954 39.71 198.604 38.8 197.044 38.12C195.484 37.44 193.824 37.1 192.074 37.1C190.324 37.1 188.654 37.44 187.104 38.12C185.544 38.8 184.194 39.71 183.064 40.84C181.934 41.97 181.024 43.32 180.344 44.88C179.664 46.44 179.324 48.1 179.324 49.85C179.324 51.6 179.664 53.27 180.344 54.82C181.024 56.38 181.934 57.72 183.064 58.86C184.194 59.99 185.544 60.9 187.104 61.58C188.664 62.26 190.314 62.6 192.074 62.6Z",fill:"#333333"}),d.jsx("path",{d:"M238.994 67.02L222.924 34.81C222.414 33.79 222.344 32.73 222.714 31.62C223.084 30.52 223.804 29.68 224.884 29.11C225.904 28.6 226.964 28.53 228.074 28.9C229.184 29.27 230.014 29.99 230.584 31.07L243.754 57.42L256.924 30.98C257.494 29.96 258.324 29.27 259.434 28.9C260.544 28.53 261.634 28.6 262.704 29.11C263.724 29.68 264.414 30.51 264.784 31.62C265.154 32.73 265.084 33.82 264.574 34.89L241.704 80.71C239.894 84.22 237.314 87.06 233.974 89.21C230.634 91.36 226.864 92.44 222.664 92.44C221.474 92.44 220.464 92.03 219.644 91.21C218.824 90.39 218.414 89.38 218.414 88.19C218.414 87 218.824 85.99 219.644 85.17C220.464 84.35 221.474 83.94 222.664 83.94C223.854 83.94 224.934 83.77 226.064 83.43C227.194 83.09 228.264 82.62 229.254 82.03C230.244 81.44 231.124 80.77 231.884 80.03C232.644 79.29 233.254 78.5 233.714 77.65L238.984 67.03L238.994 67.02Z",fill:"#333333"})]}),T4=({width:e=170,height:t=40})=>d.jsxs("svg",{width:e,height:t,viewBox:"0 0 645 160",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[d.jsxs("g",{clipPath:"url(#clip0_859_97)",children:[d.jsx("mask",{id:"mask0_859_97",maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"645",height:"160",children:d.jsx("path",{d:"M645 0H0V160H645V0Z",fill:"white"})}),d.jsxs("g",{mask:"url(#mask0_859_97)",children:[d.jsx("path",{d:"M202.9 55.2001C209.3 55.2001 215.3 56.4001 220.9 58.9001C226.5 61.3001 231.5 64.6001 235.7 68.8001C239.9 73.0001 243.3 77.9001 245.7 83.6001C248.1 89.3001 249.4 95.3001 249.4 101.7V146.9H231.4V138.4C227.4 141.4 223.1 143.8 218.3 145.5C213.5 147.2 208.4 148.1 202.9 148.1C197.4 148.1 190.5 146.9 184.8 144.4C179.2 142 174.2 138.6 170.1 134.4C165.9 130.2 162.6 125.3 160.2 119.7C157.8 114.1 156.5 108 156.5 101.6C156.5 95.2001 157.7 89.2001 160.2 83.5001C162.6 77.8001 166 72.9001 170.1 68.7001C174.3 64.5001 179.2 61.2001 184.8 58.8001C190.4 56.4001 196.4 55.1001 202.8 55.1001L202.9 55.2001ZM203 130.2C207 130.2 210.7 129.4 214.1 127.9C217.5 126.4 220.5 124.3 223.1 121.8C225.7 119.2 227.7 116.2 229.2 112.8C230.7 109.4 231.5 105.7 231.5 101.8C231.5 97.9001 230.7 94.1001 229.2 90.7001C227.7 87.3001 225.6 84.2001 223.1 81.6001C220.5 79.0001 217.5 77.0001 214.1 75.5001C210.7 74.0001 207 73.2001 203 73.2001C199 73.2001 195.3 74.0001 191.9 75.5001C188.5 77.0001 185.5 79.1001 182.9 81.6001C180.3 84.2001 178.3 87.2001 176.8 90.7001C175.3 94.1001 174.5 97.9001 174.5 101.8C174.5 105.7 175.3 109.3 176.8 112.8C178.3 116.2 180.4 119.3 182.9 121.8C185.5 124.4 188.5 126.4 191.9 127.9C195.3 129.4 199 130.2 203 130.2Z",fill:"#1D1D1B"}),d.jsx("path",{d:"M339.7 61.1C345.2 64.8 349.6 69.6 352.8 75.5C356 81.4 357.6 87.8 357.6 94.8V147.3H339.6V94.8C339.6 91.8 339 88.9 337.9 86.2C336.7 83.5 335.1 81.1 333.1 79.1C331 77.1 328.7 75.5 326 74.3C323.3 73.1 320.5 72.6 317.4 72.6C314.3 72.6 311.5 73.2 308.7 74.3C305.9 75.5 303.6 77.1 301.6 79.1C299.6 81.1 298 83.5 296.9 86.2C295.7 88.9 295.2 91.8 295.2 94.8V147.3H277.2V54.5H295.2V61.1C298.5 59 302 57.4 305.7 56.2C309.5 55 313.4 54.5 317.5 54.5C321.6 54.5 325.5 55.1 329.3 56.2C333.1 57.4 336.5 59 339.7 61.1Z",fill:"#1D1D1B"}),d.jsx("path",{d:"M429.3 55.2001C435.7 55.2001 441.7 56.4001 447.3 58.9001C452.9 61.3001 457.9 64.6001 462.1 68.8001C466.3 73.0001 469.7 77.9001 472.1 83.6001C474.5 89.3001 475.8 95.3001 475.8 101.7V146.9H457.8V138.4C453.8 141.4 449.5 143.8 444.7 145.5C439.9 147.2 434.8 148.1 429.3 148.1C423.8 148.1 416.9 146.9 411.2 144.4C405.6 142 400.6 138.6 396.5 134.4C392.3 130.2 389 125.3 386.5 119.7C384.1 114.1 382.8 108 382.8 101.6C382.8 95.2001 384 89.2001 386.5 83.5001C388.9 77.8001 392.3 72.9001 396.4 68.7001C400.6 64.5001 405.5 61.2001 411.1 58.8001C416.7 56.4001 422.7 55.1001 429.1 55.1001L429.3 55.2001ZM429.4 130.2C433.4 130.2 437 129.4 440.5 127.9C443.9 126.4 446.9 124.3 449.5 121.8C452.1 119.3 454.1 116.2 455.6 112.8C457.1 109.4 457.9 105.7 457.9 101.8C457.9 97.9001 457.1 94.1001 455.6 90.7001C454.1 87.3001 452 84.2001 449.5 81.6001C446.9 79.0001 443.9 77.0001 440.5 75.5001C437.1 74.0001 433.4 73.2001 429.4 73.2001C425.4 73.2001 421.7 74.0001 418.3 75.5001C414.9 77.0001 411.9 79.1001 409.3 81.6001C406.7 84.2001 404.7 87.2001 403.2 90.7001C401.7 94.1001 400.9 97.9001 400.9 101.8C400.9 105.7 401.7 109.3 403.2 112.8C404.7 116.2 406.8 119.3 409.3 121.8C411.9 124.4 414.9 126.4 418.3 127.9C421.7 129.4 425.4 130.2 429.4 130.2Z",fill:"#3A7684"}),d.jsx("path",{d:"M524.4 54.9999V147.1H506.4V54.9999H524.4ZM527.5 34.4999C527.5 41.1999 522.1 46.5999 515.4 46.5999C508.7 46.5999 503.3 41.1999 503.3 34.4999C503.3 27.7999 508.7 22.3999 515.4 22.3999C522.1 22.3999 527.5 27.7999 527.5 34.4999Z",fill:"#3A7684"}),d.jsx("path",{d:"M598.5 55.2001C604.9 55.2001 610.9 56.4001 616.5 58.9001C622.1 61.3001 627.1 64.6001 631.3 68.8001C635.5 73.0001 638.9 77.9001 641.3 83.6001C643.8 89.3001 645 95.3001 645 101.7V146.9H627V138.4C623 141.4 618.7 143.8 613.9 145.5C609.1 147.2 604 148.1 598.5 148.1C593 148.1 586.1 146.9 580.4 144.4C574.7 142 569.8 138.6 565.7 134.4C561.5 130.2 558.2 125.3 555.7 119.7C553.3 114.1 552 108 552 101.6C552 95.2001 553.2 89.2001 555.7 83.5001C558.1 77.8001 561.5 72.9001 565.6 68.7001C569.8 64.5001 574.7 61.2001 580.3 58.8001C585.9 56.4001 591.9 55.1001 598.3 55.1001L598.5 55.2001ZM598.6 130.2C602.6 130.2 606.3 129.4 609.7 127.9C613.1 126.4 616.1 124.3 618.7 121.8C621.3 119.2 623.3 116.2 624.8 112.8C626.3 109.4 627.1 105.7 627.1 101.8C627.1 97.9001 626.3 94.1001 624.8 90.7001C623.3 87.3001 621.2 84.2001 618.7 81.6001C616.1 79.0001 613.1 77.0001 609.7 75.5001C606.3 74.0001 602.6 73.2001 598.6 73.2001C594.6 73.2001 590.9 74.0001 587.5 75.5001C584.1 77.0001 581.1 79.1001 578.5 81.6001C575.9 84.2001 573.9 87.2001 572.4 90.7001C570.9 94.1001 570.1 97.9001 570.1 101.8C570.1 105.7 570.9 109.3 572.4 112.8C573.9 116.2 576 119.3 578.5 121.8C581.1 124.4 584.1 126.4 587.5 127.9C590.9 129.4 594.6 130.2 598.6 130.2Z",fill:"#1D1D1B"}),d.jsx("path",{d:"M63.3 86.6C69 86.6 73.6 82 73.6 76.3C73.6 70.6 69 66 63.3 66C57.6 66 53 70.6 53 76.3C53 82 57.6 86.6 63.3 86.6Z",fill:"#3A7684"}),d.jsx("path",{d:"M90.8 86.6C96.5 86.6 101.1 82 101.1 76.3C101.1 70.6 96.5 66 90.8 66C85.1 66 80.5 70.6 80.5 76.3C80.5 82 85.1 86.6 90.8 86.6Z",fill:"#3A7684"}),d.jsx("path",{d:"M119.8 86.6C125.5 86.6 130.1 82 130.1 76.3C130.1 70.6 125.5 66 119.8 66C114.1 66 109.5 70.6 109.5 76.3C109.5 82 114.1 86.6 119.8 86.6Z",fill:"#3A7684"}),d.jsx("path",{d:"M128.1 114.4C123.7 111.1 117.4 111.4 113.7 115.4C110.1 119.2 106 122.3 101.4 125C94 129.2 85.8 131.3 76.9 131.3C68 131.3 62.9 129.8 56.6 126.9C50.3 124 44.7 120 40 115C35.3 110 31.5 104.2 28.7 97.5C25.9 90.8 24.5 83.7 24.5 76.1C24.5 68.5 25.9 61.3 28.7 54.7C31.5 48.1 35.2 42.2 40 37.2C44.7 32.2 50.2 28.3 56.6 25.3C62.9 22.4 69.7 20.9 76.9 20.9C84.1 20.9 93.9 23 101.4 27.2C106 29.8 110.1 33 113.7 36.8C117.5 40.8 123.7 41.1 128.1 37.8C133.6 33.7 134.1 25.6 129.1 20.9C123.9 15.9 118.1 11.7 111.5 8.2C101.1 2.8 89.5 0 76.9 0C64.3 0 56.7 2 47.5 6C38.3 10 30.4 15.5 23.6 22.3C16.8 29.2 11.4 37.2 7.5 46.4C3.5 55.6 1.6 65.5 1.6 76.1C1.6 86.7 3.6 96.5 7.5 105.8C9.2 109.9 11.3 113.7 13.6 117.3L0 160L46.3 145.7C46.7 145.9 47.1 146.1 47.5 146.3C56.7 150.3 66.5 152.3 76.9 152.3C87.3 152.3 101.1 149.5 111.6 144C118.2 140.5 124 136.3 129.2 131.3C134.1 126.5 133.7 118.5 128.2 114.4H128.1Z",fill:"#3A7684"})]})]}),d.jsx("defs",{children:d.jsx("clipPath",{id:"clip0_859_97",children:d.jsx("rect",{width:"645",height:"160",fill:"white"})})})]}),nI=({width:e=166,height:t=42})=>d.jsxs("svg",{width:e,height:t,viewBox:"0 0 324 78",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[d.jsx("path",{d:"M136.87 51.51H111.37V64.26C111.37 65.45 110.96 66.46 110.14 67.28C109.32 68.1 108.31 68.51 107.12 68.51C105.93 68.51 104.92 68.1 104.1 67.28C103.28 66.46 102.87 65.45 102.87 64.26V30.26C102.87 27.31 103.42 24.55 104.53 21.97C105.64 19.39 107.15 17.14 109.08 15.21C111.01 13.28 113.26 11.77 115.84 10.66C118.42 9.56 121.18 9 124.13 9C127.08 9 129.84 9.55 132.42 10.66C135 11.77 137.25 13.28 139.18 15.21C141.11 17.14 142.62 19.39 143.73 21.97C144.84 24.55 145.39 27.31 145.39 30.26V64.26C145.39 65.45 144.98 66.46 144.16 67.28C143.34 68.1 142.33 68.51 141.14 68.51C139.95 68.51 138.94 68.1 138.12 67.28C137.3 66.46 136.89 65.45 136.89 64.26V51.51H136.87ZM136.87 30.26C136.87 28.5 136.53 26.85 135.85 25.29C135.17 23.73 134.26 22.39 133.13 21.25C132 20.12 130.65 19.21 129.09 18.53C127.53 17.85 125.87 17.51 124.12 17.51C122.37 17.51 120.7 17.85 119.15 18.53C117.59 19.21 116.24 20.12 115.11 21.25C113.98 22.38 113.07 23.73 112.39 25.29C111.71 26.85 111.37 28.51 111.37 30.26V43.01H136.87V30.26Z",fill:"#333333"}),d.jsx("path",{d:"M159.99 68.51C158.8 68.51 157.79 68.1 156.97 67.28C156.15 66.46 155.74 65.45 155.74 64.26C155.74 63.07 156.15 62.06 156.97 61.24C157.79 60.42 158.8 60.01 159.99 60.01H176.99C178.18 60.01 179.19 59.6 180.01 58.78C180.83 57.96 181.24 56.95 181.24 55.76C181.24 54.57 180.83 53.56 180.01 52.74C179.19 51.92 178.18 51.51 176.99 51.51H168.49C166.73 51.51 165.07 51.17 163.52 50.49C161.96 49.81 160.62 48.9 159.48 47.77C158.35 46.64 157.44 45.29 156.76 43.73C156.08 42.17 155.74 40.51 155.74 38.76C155.74 37.01 156.08 35.35 156.76 33.79C157.44 32.23 158.35 30.89 159.48 29.75C160.61 28.62 161.96 27.71 163.52 27.03C165.08 26.35 166.74 26.01 168.49 26.01H180.48C181.61 26.01 182.6 26.42 183.45 27.24C184.3 28.06 184.73 29.07 184.73 30.26C184.73 31.45 184.3 32.46 183.45 33.28C182.6 34.1 181.61 34.51 180.48 34.51H168.49C167.3 34.51 166.29 34.92 165.47 35.74C164.65 36.56 164.24 37.57 164.24 38.76C164.24 39.95 164.65 40.96 165.47 41.78C166.29 42.6 167.3 43.01 168.49 43.01H176.99C178.75 43.01 180.4 43.35 181.96 44.03C183.52 44.71 184.86 45.62 186 46.75C187.13 47.88 188.04 49.23 188.72 50.79C189.4 52.35 189.74 54.01 189.74 55.76C189.74 57.51 189.4 59.17 188.72 60.73C188.04 62.29 187.13 63.63 186 64.77C184.87 65.9 183.52 66.81 181.96 67.49C180.4 68.17 178.74 68.51 176.99 68.51H159.99Z",fill:"#333333"}),d.jsx("path",{d:"M201.64 68.51C200.45 68.51 199.44 68.1 198.62 67.28C197.8 66.46 197.39 65.45 197.39 64.26C197.39 63.07 197.8 62.06 198.62 61.24C199.44 60.42 200.45 60.01 201.64 60.01H218.64C219.83 60.01 220.84 59.6 221.66 58.78C222.48 57.96 222.89 56.95 222.89 55.76C222.89 54.57 222.48 53.56 221.66 52.74C220.84 51.92 219.83 51.51 218.64 51.51H210.14C208.38 51.51 206.72 51.17 205.17 50.49C203.61 49.81 202.27 48.9 201.13 47.77C200 46.64 199.09 45.29 198.41 43.73C197.73 42.17 197.39 40.51 197.39 38.76C197.39 37.01 197.73 35.35 198.41 33.79C199.09 32.23 200 30.89 201.13 29.75C202.26 28.62 203.61 27.71 205.17 27.03C206.73 26.35 208.38 26.01 210.14 26.01H222.12C223.25 26.01 224.24 26.42 225.09 27.24C225.94 28.06 226.37 29.07 226.37 30.26C226.37 31.45 225.95 32.46 225.09 33.28C224.24 34.1 223.25 34.51 222.12 34.51H210.14C208.95 34.51 207.94 34.92 207.12 35.74C206.3 36.56 205.89 37.57 205.89 38.76C205.89 39.95 206.3 40.96 207.12 41.78C207.94 42.6 208.95 43.01 210.14 43.01H218.64C220.4 43.01 222.05 43.35 223.61 44.03C225.17 44.71 226.51 45.62 227.65 46.75C228.78 47.88 229.69 49.23 230.37 50.79C231.05 52.35 231.39 54.01 231.39 55.76C231.39 57.51 231.05 59.17 230.37 60.73C229.69 62.29 228.78 63.63 227.65 64.77C226.52 65.9 225.17 66.81 223.61 67.49C222.05 68.17 220.39 68.51 218.64 68.51H201.64Z",fill:"#333333"}),d.jsx("path",{d:"M248.22 13.69C248.22 14.99 247.77 16.1 246.86 17.01C245.95 17.92 244.85 18.37 243.55 18.37C242.25 18.37 241.14 17.92 240.23 17.01C239.32 16.1 238.87 15 238.87 13.69C238.87 12.38 239.32 11.28 240.23 10.37C241.14 9.46 242.24 9.01 243.55 9.01C244.86 9.01 245.96 9.46 246.86 10.37C247.77 11.28 248.22 12.38 248.22 13.69ZM239.3 64.26C239.3 65.45 239.71 66.46 240.53 67.28C241.35 68.1 242.36 68.51 243.55 68.51C244.74 68.51 245.75 68.1 246.57 67.28C247.39 66.46 247.8 65.45 247.8 64.26V30.26C247.8 29.07 247.39 28.06 246.57 27.24C245.75 26.42 244.74 26.01 243.55 26.01C242.36 26.01 241.35 26.42 240.53 27.24C239.71 28.06 239.3 29.07 239.3 30.26V64.26Z",fill:"#333333"}),d.jsx("path",{d:"M263.69 68.51C262.5 68.51 261.49 68.1 260.67 67.28C259.85 66.46 259.44 65.45 259.44 64.26C259.44 63.07 259.85 62.06 260.67 61.24C261.49 60.42 262.5 60.01 263.69 60.01H280.69C281.88 60.01 282.89 59.6 283.71 58.78C284.53 57.96 284.94 56.95 284.94 55.76C284.94 54.57 284.53 53.56 283.71 52.74C282.89 51.92 281.88 51.51 280.69 51.51H272.19C270.43 51.51 268.77 51.17 267.22 50.49C265.66 49.81 264.32 48.9 263.18 47.77C262.05 46.64 261.14 45.29 260.46 43.73C259.78 42.17 259.44 40.51 259.44 38.76C259.44 37.01 259.78 35.35 260.46 33.79C261.14 32.23 262.05 30.89 263.18 29.75C264.31 28.62 265.66 27.71 267.22 27.03C268.78 26.35 270.44 26.01 272.19 26.01H284.18C285.31 26.01 286.3 26.42 287.15 27.24C288 28.06 288.43 29.07 288.43 30.26C288.43 31.45 288.01 32.46 287.15 33.28C286.3 34.1 285.31 34.51 284.18 34.51H272.19C271 34.51 269.99 34.92 269.17 35.74C268.35 36.56 267.94 37.57 267.94 38.76C267.94 39.95 268.35 40.96 269.17 41.78C269.99 42.6 271 43.01 272.19 43.01H280.69C282.45 43.01 284.1 43.35 285.66 44.03C287.22 44.71 288.56 45.62 289.7 46.75C290.83 47.88 291.74 49.23 292.42 50.79C293.1 52.35 293.44 54.01 293.44 55.76C293.44 57.51 293.1 59.17 292.42 60.73C291.74 62.29 290.83 63.63 289.7 64.77C288.57 65.91 287.22 66.81 285.66 67.49C284.1 68.17 282.44 68.51 280.69 68.51H263.69Z",fill:"#333333"}),d.jsx("path",{d:"M300.92 13.26C300.92 12.07 301.33 11.06 302.15 10.24C302.97 9.42 303.98 9.01 305.17 9.01C306.36 9.01 307.37 9.42 308.19 10.24C309.01 11.06 309.42 12.07 309.42 13.26V26.01H316.22C317.41 26.01 318.42 26.42 319.24 27.24C320.06 28.06 320.47 29.07 320.47 30.26C320.47 31.45 320.06 32.46 319.24 33.28C318.42 34.1 317.41 34.51 316.22 34.51H309.42V55.76C309.42 56.89 309.83 57.88 310.65 58.73C311.47 59.58 312.48 60.01 313.67 60.01C314.86 60.01 315.79 59.59 316.65 58.73C317.51 57.87 318.52 57.46 319.71 57.46C320.9 57.46 321.89 57.88 322.68 58.73C323.53 59.52 323.96 60.52 323.96 61.71C323.96 62.9 323.54 63.92 322.68 64.77C321.55 65.9 320.2 66.81 318.64 67.49C317.08 68.17 315.42 68.51 313.67 68.51C311.92 68.51 310.26 68.17 308.7 67.49C307.14 66.81 305.8 65.9 304.66 64.77C303.53 63.64 302.62 62.29 301.94 60.73C301.26 59.17 300.92 57.51 300.92 55.76V13.26Z",fill:"#333333"}),d.jsx("path",{d:"M31.3788 42.22C34.1512 42.22 36.3988 39.9725 36.3988 37.2C36.3988 34.4275 34.1512 32.18 31.3788 32.18C28.6063 32.18 26.3588 34.4275 26.3588 37.2C26.3588 39.9725 28.6063 42.22 31.3788 42.22Z",fill:"#5AA9E6"}),d.jsx("path",{d:"M45.1288 42.22C47.9012 42.22 50.1488 39.9725 50.1488 37.2C50.1488 34.4275 47.9012 32.18 45.1288 32.18C42.3563 32.18 40.1088 34.4275 40.1088 37.2C40.1088 39.9725 42.3563 42.22 45.1288 42.22Z",fill:"#5AA9E6"}),d.jsx("path",{d:"M58.8688 42.22C61.6412 42.22 63.8888 39.9725 63.8888 37.2C63.8888 34.4275 61.6412 32.18 58.8688 32.18C56.0963 32.18 53.8488 34.4275 53.8488 37.2C53.8488 39.9725 56.0963 42.22 58.8688 42.22Z",fill:"#5AA9E6"}),d.jsx("path",{d:"M62.9288 55.74C60.7888 54.14 57.7388 54.29 55.8988 56.23C54.1588 58.06 52.1588 59.61 49.8988 60.9C46.2788 62.96 42.3088 63.99 37.9788 63.99C34.4588 63.99 31.1688 63.28 28.0888 61.86C25.0088 60.44 22.3188 58.51 20.0288 56.08C17.7288 53.65 15.9088 50.81 14.5488 47.56C13.1988 44.31 12.5188 40.83 12.5188 37.11C12.5188 33.39 13.1988 29.91 14.5488 26.66C15.8988 23.42 17.7288 20.58 20.0288 18.14C22.3288 15.71 25.0188 13.78 28.0888 12.36C31.1688 10.94 34.4588 10.23 37.9788 10.23C42.3088 10.23 46.2788 11.26 49.8988 13.32C52.1588 14.61 54.1588 16.16 55.8988 17.99C57.7488 19.92 60.7888 20.08 62.9288 18.48C65.6088 16.48 65.8388 12.55 63.4288 10.23C60.9088 7.8 58.0588 5.74 54.8588 4.04C49.7588 1.35 44.1288 0 37.9788 0C32.9088 0 28.1388 0.98 23.6788 2.94C19.2188 4.9 15.3288 7.55 12.0188 10.9C8.70877 14.25 6.08877 18.17 4.15877 22.66C2.22877 27.16 1.26877 31.97 1.26877 37.11C1.26877 42.25 2.22877 47.07 4.15877 51.56C5.00877 53.54 6.00877 55.39 7.12877 57.15L0.548767 77.97L23.0788 71C23.2788 71.09 23.4688 71.2 23.6788 71.29C28.1388 73.25 32.9088 74.23 37.9788 74.23C44.1288 74.23 49.7588 72.88 54.8688 70.17C58.0588 68.48 60.9188 66.42 63.4388 63.98C65.8488 61.66 65.6188 57.73 62.9388 55.73L62.9288 55.74Z",fill:"#5AA9E6"})]}),rI=({width:e=198,height:t=42})=>d.jsxs("svg",{width:e,height:t,viewBox:"0 0 393 78",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[d.jsx("path",{d:"M30.973 42.22C33.7455 42.22 35.993 39.9725 35.993 37.2C35.993 34.4275 33.7455 32.18 30.973 32.18C28.2005 32.18 25.953 34.4275 25.953 37.2C25.953 39.9725 28.2005 42.22 30.973 42.22Z",fill:"#FF6F9A"}),d.jsx("path",{d:"M44.723 42.22C47.4955 42.22 49.743 39.9725 49.743 37.2C49.743 34.4275 47.4955 32.18 44.723 32.18C41.9505 32.18 39.703 34.4275 39.703 37.2C39.703 39.9725 41.9505 42.22 44.723 42.22Z",fill:"#FF6F9A"}),d.jsx("path",{d:"M58.463 42.22C61.2355 42.22 63.483 39.9725 63.483 37.2C63.483 34.4275 61.2355 32.18 58.463 32.18C55.6905 32.18 53.443 34.4275 53.443 37.2C53.443 39.9725 55.6905 42.22 58.463 42.22Z",fill:"#FF6F9A"}),d.jsx("path",{d:"M62.523 55.74C60.383 54.14 57.333 54.29 55.493 56.23C53.753 58.06 51.753 59.61 49.493 60.9C45.873 62.96 41.903 63.99 37.573 63.99C34.053 63.99 30.763 63.28 27.683 61.86C24.603 60.44 21.913 58.51 19.623 56.08C17.323 53.65 15.503 50.81 14.143 47.56C12.793 44.31 12.113 40.83 12.113 37.11C12.113 33.39 12.793 29.91 14.143 26.66C15.493 23.42 17.323 20.58 19.623 18.14C21.923 15.71 24.613 13.78 27.683 12.36C30.763 10.94 34.053 10.23 37.573 10.23C41.903 10.23 45.873 11.26 49.493 13.32C51.753 14.61 53.753 16.16 55.493 17.99C57.343 19.92 60.383 20.08 62.523 18.48C65.203 16.48 65.433 12.55 63.023 10.23C60.503 7.8 57.653 5.74 54.453 4.04C49.353 1.35 43.723 0 37.573 0C32.503 0 27.733 0.98 23.273 2.94C18.813 4.9 14.923 7.55 11.613 10.9C8.30301 14.25 5.68301 18.17 3.75301 22.66C1.82301 27.16 0.863005 31.97 0.863005 37.11C0.863005 42.25 1.82301 47.07 3.75301 51.56C4.60301 53.54 5.60301 55.39 6.72301 57.15L0.143005 77.97L22.673 71C22.873 71.09 23.063 71.2 23.273 71.29C27.733 73.25 32.503 74.23 37.573 74.23C43.723 74.23 49.353 72.88 54.463 70.17C57.653 68.48 60.513 66.42 63.033 63.98C65.443 61.66 65.213 57.73 62.533 55.73L62.523 55.74Z",fill:"#FF6F9A"}),d.jsx("path",{d:"M107.021 70.75C105.831 70.75 104.821 70.34 104.001 69.52C103.181 68.7 102.771 67.69 102.771 66.5V15.5C102.771 14.31 103.181 13.3 104.001 12.48C104.821 11.66 105.831 11.25 107.021 11.25H141.021C142.211 11.25 143.221 11.66 144.041 12.48C144.861 13.3 145.271 14.31 145.271 15.5C145.271 16.69 144.861 17.7 144.041 18.52C143.221 19.34 142.211 19.75 141.021 19.75H111.271V45.25H135.411C136.541 45.25 137.531 45.66 138.391 46.48C139.241 47.3 139.661 48.31 139.661 49.5C139.661 50.69 139.251 51.67 138.431 52.43C137.611 53.19 136.601 53.64 135.411 53.75H111.271V62.25H141.021C142.211 62.25 143.221 62.66 144.041 63.48C144.861 64.3 145.271 65.31 145.271 66.5C145.271 67.69 144.861 68.7 144.041 69.52C143.221 70.34 142.211 70.75 141.021 70.75H107.021Z",fill:"#333333"}),d.jsx("path",{d:"M154.621 11.25C154.621 10.06 155.031 9.05 155.851 8.23C156.671 7.41 157.681 7 158.871 7C160.061 7 161.071 7.41 161.891 8.23C162.711 9.05 163.121 10.06 163.121 11.25V66.5C163.121 67.69 162.711 68.7 161.891 69.52C161.071 70.34 160.061 70.75 158.871 70.75C157.681 70.75 156.671 70.34 155.851 69.52C155.031 68.7 154.621 67.69 154.621 66.5V11.25Z",fill:"#333333"}),d.jsx("path",{d:"M180.041 53.75C180.891 56.24 182.411 58.28 184.591 59.87C186.771 61.46 189.251 62.25 192.031 62.25C193.791 62.25 195.441 61.91 197.001 61.23C198.561 60.55 199.901 59.64 201.041 58.51C201.831 57.72 202.831 57.32 204.021 57.32C205.211 57.32 206.231 57.72 207.081 58.51C207.871 59.36 208.271 60.37 208.271 61.53C208.271 62.69 207.871 63.7 207.081 64.55C205.101 66.48 202.831 67.99 200.281 69.1C197.731 70.2 194.981 70.76 192.031 70.76C189.081 70.76 186.321 70.21 183.741 69.1C181.161 67.99 178.911 66.48 176.981 64.55C175.051 62.62 173.541 60.37 172.431 57.79C171.321 55.21 170.771 52.45 170.771 49.5C170.771 46.55 171.321 43.79 172.431 41.21C173.541 38.63 175.051 36.38 176.981 34.45C178.911 32.52 181.161 31.01 183.741 29.9C186.321 28.79 189.081 28.24 192.031 28.24C194.981 28.24 197.741 28.79 200.321 29.9C202.901 31 205.151 32.52 207.081 34.45C209.011 36.38 210.521 38.63 211.631 41.21C212.731 43.79 213.291 46.55 213.291 49.5C213.291 50.63 212.881 51.62 212.061 52.48C211.241 53.33 210.231 53.75 209.041 53.75H180.061H180.041ZM204.011 45.25C203.161 42.76 201.641 40.72 199.461 39.13C197.281 37.55 194.801 36.75 192.021 36.75C189.241 36.75 186.761 37.54 184.581 39.13C182.401 40.72 180.851 42.76 179.951 45.25H204.011Z",fill:"#333333"}),d.jsx("path",{d:"M219.731 34.37C219.221 33.35 219.151 32.29 219.521 31.18C219.891 30.08 220.611 29.24 221.691 28.67C222.711 28.16 223.771 28.09 224.881 28.46C225.981 28.83 226.821 29.55 227.391 30.63L240.571 56.98L253.741 30.54C254.311 29.52 255.141 28.83 256.251 28.46C257.361 28.09 258.451 28.16 259.521 28.67C260.541 29.24 261.231 30.07 261.601 31.18C261.971 32.29 261.901 33.38 261.391 34.45L244.391 68.37C244.111 68.82 243.801 69.22 243.461 69.56C243.181 69.84 242.791 70.11 242.311 70.37C241.831 70.62 241.251 70.75 240.571 70.75C239.891 70.75 239.291 70.62 238.781 70.37C238.271 70.11 237.871 69.85 237.591 69.56C237.251 69.22 236.971 68.82 236.741 68.37L219.741 34.37H219.731Z",fill:"#333333"}),d.jsx("path",{d:"M301.841 66.42C300.031 67.78 298.041 68.83 295.891 69.57C293.741 70.31 291.471 70.67 289.091 70.67C286.141 70.67 283.381 70.12 280.801 69.01C278.221 67.9 275.971 66.39 274.041 64.46C272.111 62.53 270.601 60.28 269.491 57.7C268.381 55.12 267.831 52.36 267.831 49.41C267.831 46.46 268.381 43.7 269.491 41.12C270.591 38.54 272.111 36.29 274.041 34.36C275.971 32.43 278.221 30.92 280.801 29.81C283.381 28.71 286.141 28.15 289.091 28.15C292.041 28.15 294.801 28.7 297.381 29.81C299.961 30.92 302.211 32.43 304.141 34.36C306.071 36.29 307.581 38.54 308.691 41.12C309.801 43.7 310.351 46.46 310.351 49.41V66.49C310.351 67.68 309.941 68.69 309.121 69.51C308.301 70.33 307.291 70.74 306.101 70.74C304.911 70.74 303.901 70.33 303.081 69.51C302.261 68.69 301.851 67.68 301.851 66.49V66.41L301.841 66.42ZM289.091 62.17C290.851 62.17 292.501 61.83 294.061 61.15C295.621 60.47 296.961 59.56 298.101 58.43C299.241 57.3 300.141 55.95 300.821 54.39C301.501 52.83 301.841 51.17 301.841 49.42C301.841 47.67 301.501 46.01 300.821 44.45C300.141 42.89 299.231 41.55 298.101 40.41C296.971 39.28 295.621 38.37 294.061 37.69C292.501 37.01 290.841 36.67 289.091 36.67C287.341 36.67 285.681 37.01 284.121 37.69C282.561 38.37 281.221 39.28 280.081 40.41C278.951 41.54 278.041 42.89 277.361 44.45C276.681 46.01 276.341 47.67 276.341 49.42C276.341 51.17 276.681 52.84 277.361 54.39C278.041 55.95 278.951 57.29 280.081 58.43C281.211 59.56 282.561 60.47 284.121 61.15C285.681 61.83 287.331 62.17 289.091 62.17Z",fill:"#333333"}),d.jsx("path",{d:"M319.691 15.5C319.691 14.31 320.101 13.3 320.921 12.48C321.741 11.66 322.751 11.25 323.941 11.25C325.131 11.25 326.141 11.66 326.961 12.48C327.781 13.3 328.191 14.31 328.191 15.5V28.25H334.991C336.181 28.25 337.191 28.66 338.011 29.48C338.831 30.3 339.241 31.31 339.241 32.5C339.241 33.69 338.831 34.7 338.011 35.52C337.191 36.34 336.181 36.75 334.991 36.75H328.191V58C328.191 59.13 328.601 60.12 329.421 60.98C330.241 61.83 331.251 62.25 332.441 62.25C333.631 62.25 334.561 61.83 335.411 60.98C336.261 60.13 337.281 59.7 338.471 59.7C339.661 59.7 340.651 60.12 341.441 60.98C342.291 61.77 342.721 62.76 342.721 63.95C342.721 65.14 342.291 66.16 341.441 67.01C340.311 68.14 338.961 69.05 337.401 69.73C335.841 70.41 334.181 70.75 332.431 70.75C330.681 70.75 329.021 70.41 327.461 69.73C325.901 69.05 324.561 68.14 323.421 67.01C322.291 65.88 321.381 64.53 320.701 62.97C320.021 61.41 319.681 59.76 319.681 58V15.5H319.691Z",fill:"#333333"}),d.jsx("path",{d:"M359.221 53.75C360.071 56.24 361.591 58.28 363.771 59.87C365.951 61.46 368.431 62.25 371.211 62.25C372.971 62.25 374.621 61.91 376.181 61.23C377.741 60.55 379.081 59.64 380.221 58.51C381.011 57.72 382.011 57.32 383.191 57.32C384.371 57.32 385.401 57.72 386.251 58.51C387.041 59.36 387.441 60.37 387.441 61.53C387.441 62.69 387.041 63.7 386.251 64.55C384.271 66.48 382.001 67.99 379.451 69.1C376.901 70.2 374.151 70.76 371.211 70.76C368.271 70.76 365.501 70.21 362.921 69.1C360.341 67.99 358.091 66.48 356.161 64.55C354.231 62.62 352.721 60.37 351.611 57.79C350.511 55.21 349.951 52.45 349.951 49.5C349.951 46.55 350.501 43.79 351.611 41.21C352.721 38.63 354.231 36.38 356.161 34.45C358.091 32.52 360.341 31.01 362.921 29.9C365.501 28.79 368.261 28.24 371.211 28.24C374.161 28.24 376.921 28.79 379.501 29.9C382.081 31 384.331 32.52 386.261 34.45C388.191 36.38 389.701 38.63 390.811 41.21C391.921 43.79 392.471 46.55 392.471 49.5C392.471 50.63 392.061 51.62 391.241 52.48C390.421 53.33 389.411 53.75 388.221 53.75H359.241H359.221ZM383.181 45.25C382.331 42.76 380.811 40.72 378.631 39.13C376.451 37.55 373.971 36.75 371.191 36.75C368.411 36.75 365.931 37.54 363.751 39.13C361.571 40.72 360.021 42.76 359.121 45.25H383.171H383.181Z",fill:"#333333"})]}),oI=({width:e=177,height:t=42})=>d.jsxs("svg",{width:e,height:t,viewBox:"0 0 355 79",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[d.jsx("path",{d:"M31.7903 42.66C34.5628 42.66 36.8103 40.4125 36.8103 37.64C36.8103 34.8675 34.5628 32.62 31.7903 32.62C29.0178 32.62 26.7703 34.8675 26.7703 37.64C26.7703 40.4125 29.0178 42.66 31.7903 42.66Z",fill:"#48BF84"}),d.jsx("path",{d:"M45.5403 42.66C48.3128 42.66 50.5603 40.4125 50.5603 37.64C50.5603 34.8675 48.3128 32.62 45.5403 32.62C42.7678 32.62 40.5203 34.8675 40.5203 37.64C40.5203 40.4125 42.7678 42.66 45.5403 42.66Z",fill:"#48BF84"}),d.jsx("path",{d:"M59.2803 42.66C62.0528 42.66 64.3003 40.4125 64.3003 37.64C64.3003 34.8675 62.0528 32.62 59.2803 32.62C56.5078 32.62 54.2603 34.8675 54.2603 37.64C54.2603 40.4125 56.5078 42.66 59.2803 42.66Z",fill:"#48BF84"}),d.jsx("path",{d:"M63.3403 56.18C61.2003 54.58 58.1503 54.73 56.3103 56.67C54.5703 58.5 52.5703 60.05 50.3103 61.34C46.6903 63.4 42.7203 64.43 38.3903 64.43C34.8703 64.43 31.5803 63.72 28.5003 62.3C25.4203 60.88 22.7303 58.95 20.4403 56.52C18.1403 54.09 16.3203 51.25 14.9603 48C13.6103 44.75 12.9303 41.27 12.9303 37.55C12.9303 33.83 13.6103 30.35 14.9603 27.1C16.3103 23.86 18.1403 21.02 20.4403 18.58C22.7403 16.15 25.4303 14.22 28.5003 12.8C31.5803 11.38 34.8703 10.67 38.3903 10.67C42.7203 10.67 46.6903 11.7 50.3103 13.76C52.5703 15.05 54.5703 16.6 56.3103 18.43C58.1603 20.36 61.2003 20.52 63.3403 18.92C66.0203 16.92 66.2503 12.99 63.8403 10.67C61.3203 8.24 58.4703 6.18 55.2703 4.48C50.1703 1.79 44.5403 0.440002 38.3903 0.440002C33.3203 0.440002 28.5503 1.42 24.0903 3.38C19.6303 5.34 15.7403 7.99 12.4303 11.34C9.1203 14.69 6.5003 18.61 4.5703 23.1C2.6403 27.6 1.6803 32.41 1.6803 37.55C1.6803 42.69 2.6403 47.51 4.5703 52C5.4203 53.98 6.4203 55.83 7.5403 57.59L0.960297 78.41L23.4903 71.44C23.6903 71.53 23.8803 71.64 24.0903 71.73C28.5503 73.69 33.3203 74.67 38.3903 74.67C44.5403 74.67 50.1703 73.32 55.2803 70.61C58.4703 68.92 61.3303 66.86 63.8503 64.42C66.2603 62.1 66.0303 58.17 63.3503 56.17L63.3403 56.18Z",fill:"#48BF84"}),d.jsx("path",{d:"M103.813 33.94C103.813 30.99 104.363 28.23 105.473 25.65C106.583 23.07 108.093 20.82 110.023 18.89C111.953 16.96 114.203 15.45 116.783 14.34C119.363 13.24 122.123 12.68 125.073 12.68C128.023 12.68 130.773 13.23 133.323 14.34C135.873 15.45 138.143 16.96 140.123 18.89C140.913 19.74 141.313 20.75 141.313 21.91C141.313 23.07 140.913 24.08 140.123 24.93C139.273 25.72 138.253 26.12 137.063 26.12C135.873 26.12 134.883 25.72 134.093 24.93C132.963 23.8 131.613 22.89 130.053 22.21C128.493 21.53 126.833 21.19 125.083 21.19C123.333 21.19 121.663 21.53 120.113 22.21C118.553 22.89 117.203 23.8 116.073 24.93C114.943 26.06 114.033 27.41 113.353 28.97C112.673 30.53 112.333 32.19 112.333 33.94V50.94C112.333 52.7 112.673 54.36 113.353 55.91C114.033 57.47 114.943 58.81 116.073 59.95C117.203 61.08 118.553 61.99 120.113 62.67C121.673 63.35 123.323 63.69 125.083 63.69C126.843 63.69 128.493 63.35 130.053 62.67C131.613 61.99 132.953 61.08 134.093 59.95C134.943 59.1 135.953 58.68 137.113 58.68C138.273 58.68 139.283 59.1 140.133 59.95C140.923 60.74 141.323 61.74 141.323 62.93C141.323 64.12 140.923 65.11 140.133 65.9C138.203 67.88 135.953 69.43 133.373 70.53C130.793 71.63 128.033 72.19 125.083 72.19C122.133 72.19 119.373 71.64 116.793 70.53C114.213 69.42 111.963 67.91 110.033 65.98C108.103 64.05 106.593 61.8 105.483 59.22C104.383 56.64 103.823 53.88 103.823 50.93V33.93L103.813 33.94Z",fill:"#333333"}),d.jsx("path",{d:"M168.583 72.19C165.633 72.19 162.873 71.64 160.293 70.53C157.713 69.42 155.463 67.91 153.533 65.98C151.603 64.05 150.093 61.8 148.983 59.22C147.883 56.64 147.323 53.88 147.323 50.93C147.323 47.98 147.873 45.22 148.983 42.64C150.093 40.06 151.603 37.81 153.533 35.88C155.463 33.95 157.713 32.44 160.293 31.33C162.873 30.23 165.633 29.67 168.583 29.67C171.533 29.67 174.293 30.22 176.873 31.33C179.453 32.44 181.703 33.95 183.633 35.88C185.563 37.81 187.073 40.06 188.183 42.64C189.293 45.22 189.843 47.98 189.843 50.93C189.843 53.88 189.293 56.64 188.183 59.22C187.073 61.8 185.563 64.05 183.633 65.98C181.703 67.91 179.453 69.42 176.873 70.53C174.293 71.63 171.533 72.19 168.583 72.19ZM168.583 63.69C170.343 63.69 171.993 63.35 173.553 62.67C175.113 61.99 176.453 61.08 177.593 59.95C178.723 58.82 179.633 57.47 180.313 55.91C180.993 54.35 181.333 52.69 181.333 50.94C181.333 49.19 180.993 47.53 180.313 45.97C179.633 44.41 178.723 43.07 177.593 41.93C176.463 40.8 175.113 39.89 173.553 39.21C171.993 38.53 170.333 38.19 168.583 38.19C166.833 38.19 165.163 38.53 163.613 39.21C162.053 39.89 160.703 40.8 159.573 41.93C158.443 43.06 157.533 44.41 156.853 45.97C156.173 47.53 155.833 49.19 155.833 50.94C155.833 52.69 156.173 54.36 156.853 55.91C157.533 57.47 158.443 58.81 159.573 59.95C160.703 61.08 162.053 61.99 163.613 62.67C165.173 63.35 166.823 63.69 168.583 63.69Z",fill:"#333333"}),d.jsx("path",{d:"M199.183 12.69C199.183 11.5 199.593 10.49 200.413 9.67C201.233 8.85 202.243 8.44 203.433 8.44C204.623 8.44 205.633 8.85 206.453 9.67C207.273 10.49 207.683 11.5 207.683 12.69V67.94C207.683 69.13 207.273 70.14 206.453 70.96C205.633 71.78 204.623 72.19 203.433 72.19C202.243 72.19 201.233 71.78 200.413 70.96C199.593 70.14 199.183 69.13 199.183 67.94V12.69Z",fill:"#333333"}),d.jsx("path",{d:"M217.033 12.69C217.033 11.5 217.443 10.49 218.263 9.67C219.083 8.85 220.093 8.44 221.283 8.44C222.473 8.44 223.483 8.85 224.303 9.67C225.123 10.49 225.533 11.5 225.533 12.69V67.94C225.533 69.13 225.123 70.14 224.303 70.96C223.483 71.78 222.473 72.19 221.283 72.19C220.093 72.19 219.083 71.78 218.263 70.96C217.443 70.14 217.033 69.13 217.033 67.94V12.69Z",fill:"#333333"}),d.jsx("path",{d:"M242.453 55.19C243.303 57.68 244.823 59.72 247.003 61.31C249.183 62.9 251.663 63.69 254.443 63.69C256.203 63.69 257.853 63.35 259.413 62.67C260.973 61.99 262.313 61.08 263.453 59.95C264.243 59.16 265.243 58.76 266.423 58.76C267.603 58.76 268.633 59.16 269.483 59.95C270.273 60.8 270.673 61.81 270.673 62.97C270.673 64.13 270.273 65.14 269.483 65.99C267.503 67.92 265.233 69.43 262.683 70.54C260.133 71.64 257.383 72.2 254.443 72.2C251.503 72.2 248.733 71.65 246.153 70.54C243.573 69.43 241.323 67.92 239.393 65.99C237.463 64.06 235.953 61.81 234.843 59.23C233.733 56.65 233.183 53.89 233.183 50.94C233.183 47.99 233.733 45.23 234.843 42.65C235.943 40.07 237.463 37.82 239.393 35.89C241.323 33.96 243.573 32.45 246.153 31.34C248.733 30.24 251.493 29.68 254.443 29.68C257.393 29.68 260.153 30.23 262.733 31.34C265.313 32.45 267.563 33.96 269.493 35.89C271.423 37.82 272.933 40.07 274.043 42.65C275.153 45.23 275.703 47.99 275.703 50.94C275.703 52.07 275.293 53.06 274.473 53.92C273.653 54.77 272.643 55.19 271.453 55.19H242.463H242.453ZM266.423 46.69C265.573 44.2 264.053 42.16 261.873 40.57C259.693 38.98 257.213 38.19 254.433 38.19C251.653 38.19 249.173 38.98 246.993 40.57C244.813 42.16 243.263 44.2 242.363 46.69H266.413H266.423Z",fill:"#333333"}),d.jsx("path",{d:"M318.783 65.98C316.853 67.91 314.603 69.42 312.023 70.53C309.443 71.63 306.683 72.19 303.733 72.19C300.783 72.19 298.023 71.64 295.443 70.53C292.863 69.42 290.613 67.91 288.683 65.98C286.753 64.05 285.243 61.8 284.133 59.22C283.033 56.64 282.473 53.88 282.473 50.93C282.473 47.98 283.023 45.22 284.133 42.64C285.243 40.06 286.753 37.81 288.683 35.88C290.613 33.95 292.863 32.44 295.443 31.33C298.023 30.23 300.783 29.67 303.733 29.67C306.683 29.67 309.433 30.22 311.973 31.33C314.523 32.44 316.793 33.95 318.773 35.88C319.563 36.73 319.963 37.74 319.963 38.9C319.963 40.06 319.563 41.07 318.773 41.92C317.923 42.71 316.903 43.11 315.713 43.11C314.523 43.11 313.533 42.71 312.743 41.92C311.613 40.79 310.263 39.88 308.703 39.2C307.143 38.52 305.483 38.18 303.733 38.18C301.983 38.18 300.323 38.52 298.763 39.2C297.203 39.88 295.863 40.79 294.723 41.92C293.593 43.05 292.683 44.4 292.003 45.96C291.323 47.52 290.983 49.18 290.983 50.93C290.983 52.68 291.323 54.35 292.003 55.9C292.683 57.46 293.593 58.8 294.723 59.94C295.853 61.07 297.203 61.98 298.763 62.66C300.323 63.34 301.973 63.68 303.733 63.68C305.493 63.68 307.143 63.34 308.703 62.66C310.263 61.98 311.603 61.07 312.743 59.94C313.593 59.15 314.603 58.75 315.763 58.75C316.923 58.75 317.933 59.15 318.783 59.94C319.573 60.79 319.973 61.8 319.973 62.96C319.973 64.12 319.573 65.13 318.783 65.98Z",fill:"#333333"}),d.jsx("path",{d:"M331.103 16.94C331.103 15.75 331.513 14.74 332.333 13.92C333.153 13.1 334.163 12.69 335.353 12.69C336.543 12.69 337.553 13.1 338.373 13.92C339.193 14.74 339.603 15.75 339.603 16.94V29.69H346.403C347.593 29.69 348.603 30.1 349.423 30.92C350.243 31.74 350.653 32.75 350.653 33.94C350.653 35.13 350.243 36.14 349.423 36.96C348.603 37.78 347.593 38.19 346.403 38.19H339.603V59.44C339.603 60.57 340.013 61.56 340.833 62.42C341.653 63.27 342.663 63.69 343.853 63.69C345.043 63.69 345.973 63.27 346.833 62.42C347.683 61.57 348.703 61.14 349.893 61.14C351.083 61.14 352.073 61.56 352.863 62.42C353.713 63.21 354.143 64.2 354.143 65.39C354.143 66.58 353.723 67.6 352.863 68.45C351.733 69.58 350.383 70.49 348.823 71.17C347.263 71.85 345.603 72.19 343.853 72.19C342.103 72.19 340.443 71.85 338.883 71.17C337.323 70.49 335.983 69.58 334.843 68.45C333.713 67.32 332.803 65.97 332.123 64.41C331.443 62.85 331.103 61.19 331.103 59.44V16.94Z",fill:"#333333"})]}),iI=({width:e=168,height:t=42})=>d.jsxs("svg",{width:e,height:t,viewBox:"0 0 332 79",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[d.jsx("path",{d:"M112.694 20.75H99.9443C98.7543 20.75 97.7443 20.34 96.9243 19.52C96.1043 18.7 95.6943 17.69 95.6943 16.5C95.6943 15.31 96.1043 14.3 96.9243 13.48C97.7443 12.66 98.7543 12.25 99.9443 12.25H133.944C135.134 12.25 136.144 12.66 136.964 13.48C137.784 14.3 138.194 15.31 138.194 16.5C138.194 17.69 137.784 18.7 136.964 19.52C136.144 20.34 135.134 20.75 133.944 20.75H121.194V67.5C121.194 68.69 120.784 69.7 119.964 70.52C119.144 71.34 118.134 71.75 116.944 71.75C115.754 71.75 114.744 71.34 113.924 70.52C113.104 69.7 112.694 68.69 112.694 67.5V20.75Z",fill:"#333333"}),d.jsx("path",{d:"M172.194 67.41C170.384 68.77 168.394 69.82 166.244 70.56C164.094 71.3 161.824 71.66 159.444 71.66C156.494 71.66 153.734 71.11 151.154 70C148.574 68.89 146.324 67.38 144.394 65.45C142.464 63.52 140.954 61.27 139.844 58.69C138.744 56.11 138.184 53.35 138.184 50.4C138.184 47.45 138.734 44.69 139.844 42.11C140.954 39.53 142.464 37.28 144.394 35.35C146.324 33.42 148.574 31.91 151.154 30.8C153.734 29.69 156.494 29.14 159.444 29.14C162.394 29.14 165.154 29.69 167.734 30.8C170.314 31.91 172.564 33.42 174.494 35.35C176.424 37.28 177.934 39.53 179.044 42.11C180.154 44.69 180.704 47.45 180.704 50.4V67.48C180.704 68.67 180.294 69.68 179.474 70.5C178.654 71.32 177.644 71.73 176.454 71.73C175.264 71.73 174.254 71.32 173.434 70.5C172.614 69.68 172.204 68.67 172.204 67.48V67.4L172.194 67.41ZM159.444 63.16C161.204 63.16 162.854 62.82 164.414 62.14C165.974 61.46 167.314 60.55 168.454 59.42C169.584 58.29 170.494 56.94 171.174 55.38C171.854 53.82 172.194 52.16 172.194 50.41C172.194 48.66 171.854 47 171.174 45.44C170.494 43.88 169.584 42.54 168.454 41.4C167.324 40.27 165.974 39.36 164.414 38.68C162.854 38 161.194 37.66 159.444 37.66C157.694 37.66 156.024 38 154.474 38.68C152.914 39.36 151.564 40.27 150.434 41.4C149.304 42.53 148.394 43.88 147.714 45.44C147.034 47 146.694 48.66 146.694 50.41C146.694 52.16 147.034 53.83 147.714 55.38C148.394 56.94 149.304 58.28 150.434 59.42C151.564 60.55 152.914 61.46 154.474 62.14C156.034 62.82 157.684 63.16 159.444 63.16Z",fill:"#333333"}),d.jsx("path",{d:"M190.044 12.25C190.044 11.06 190.454 10.05 191.274 9.23C192.094 8.41 193.104 8 194.294 8C195.484 8 196.494 8.41 197.314 9.23C198.134 10.05 198.544 11.06 198.544 12.25V67.5C198.544 68.69 198.134 69.7 197.314 70.52C196.494 71.34 195.484 71.75 194.294 71.75C193.104 71.75 192.094 71.34 191.274 70.52C190.454 69.7 190.044 68.69 190.044 67.5V12.25Z",fill:"#333333"}),d.jsx("path",{d:"M215.464 54.75C216.314 57.24 217.834 59.28 220.014 60.87C222.194 62.46 224.674 63.25 227.454 63.25C229.214 63.25 230.864 62.91 232.424 62.23C233.984 61.55 235.324 60.64 236.464 59.51C237.254 58.72 238.254 58.32 239.444 58.32C240.634 58.32 241.654 58.72 242.504 59.51C243.294 60.36 243.694 61.37 243.694 62.53C243.694 63.69 243.294 64.7 242.504 65.55C240.524 67.48 238.254 68.99 235.704 70.1C233.154 71.21 230.404 71.76 227.454 71.76C224.504 71.76 221.744 71.21 219.164 70.1C216.584 69 214.334 67.48 212.404 65.55C210.474 63.62 208.964 61.37 207.854 58.79C206.744 56.21 206.194 53.45 206.194 50.5C206.194 47.55 206.744 44.79 207.854 42.21C208.954 39.63 210.474 37.38 212.404 35.45C214.334 33.52 216.584 32.01 219.164 30.9C221.744 29.79 224.504 29.24 227.454 29.24C230.404 29.24 233.164 29.79 235.744 30.9C238.324 32 240.574 33.52 242.504 35.45C244.434 37.38 245.944 39.63 247.054 42.21C248.164 44.79 248.714 47.55 248.714 50.5C248.714 51.63 248.304 52.62 247.484 53.47C246.664 54.32 245.654 54.75 244.464 54.75H215.484H215.464ZM239.434 46.25C238.584 43.76 237.064 41.72 234.884 40.13C232.704 38.55 230.224 37.75 227.444 37.75C224.664 37.75 222.184 38.54 220.004 40.13C217.824 41.72 216.274 43.76 215.374 46.25H239.434Z",fill:"#333333"}),d.jsx("path",{d:"M256.344 33.5C256.344 32.31 256.754 31.3 257.574 30.48C258.394 29.66 259.404 29.25 260.594 29.25C261.784 29.25 262.794 29.66 263.614 30.48C264.434 31.3 264.844 32.31 264.844 33.5C266.654 32.2 268.644 31.16 270.794 30.4C272.944 29.64 275.214 29.25 277.594 29.25C280.544 29.25 283.304 29.8 285.884 30.91C288.464 32.01 290.714 33.53 292.644 35.46C294.574 37.39 296.084 39.64 297.194 42.22C298.294 44.8 298.854 47.56 298.854 50.51V67.51C298.854 68.7 298.444 69.71 297.624 70.53C296.804 71.35 295.794 71.76 294.604 71.76C293.414 71.76 292.404 71.35 291.584 70.53C290.764 69.71 290.354 68.7 290.354 67.51V50.51C290.354 48.75 290.014 47.1 289.334 45.54C288.654 43.98 287.744 42.64 286.614 41.5C285.484 40.37 284.134 39.46 282.574 38.78C281.014 38.1 279.354 37.76 277.604 37.76C275.854 37.76 274.194 38.1 272.634 38.78C271.074 39.46 269.734 40.37 268.594 41.5C267.454 42.63 266.554 43.98 265.874 45.54C265.194 47.1 264.854 48.76 264.854 50.51V67.51C264.854 68.7 264.444 69.71 263.624 70.53C262.804 71.35 261.794 71.76 260.604 71.76C259.414 71.76 258.404 71.35 257.584 70.53C256.764 69.71 256.354 68.7 256.354 67.51V33.51L256.344 33.5Z",fill:"#333333"}),d.jsx("path",{d:"M308.194 16.5C308.194 15.31 308.604 14.3 309.424 13.48C310.244 12.66 311.254 12.25 312.444 12.25C313.634 12.25 314.644 12.66 315.464 13.48C316.284 14.3 316.694 15.31 316.694 16.5V29.25H323.494C324.684 29.25 325.694 29.66 326.514 30.48C327.334 31.3 327.744 32.31 327.744 33.5C327.744 34.69 327.334 35.7 326.514 36.52C325.694 37.34 324.684 37.75 323.494 37.75H316.694V59C316.694 60.13 317.104 61.12 317.924 61.97C318.744 62.82 319.754 63.25 320.944 63.25C322.134 63.25 323.064 62.83 323.924 61.97C324.784 61.11 325.794 60.7 326.984 60.7C328.174 60.7 329.164 61.12 329.954 61.97C330.804 62.76 331.234 63.76 331.234 64.95C331.234 66.14 330.814 67.16 329.954 68.01C328.824 69.14 327.474 70.05 325.914 70.73C324.354 71.41 322.694 71.75 320.944 71.75C319.194 71.75 317.534 71.41 315.974 70.73C314.414 70.05 313.074 69.14 311.934 68.01C310.804 66.88 309.894 65.53 309.214 63.97C308.534 62.41 308.194 60.76 308.194 59V16.5Z",fill:"#333333"}),d.jsx("path",{d:"M31.3788 43.22C34.1512 43.22 36.3988 40.9725 36.3988 38.2C36.3988 35.4275 34.1512 33.18 31.3788 33.18C28.6063 33.18 26.3588 35.4275 26.3588 38.2C26.3588 40.9725 28.6063 43.22 31.3788 43.22Z",fill:"#965BA0"}),d.jsx("path",{d:"M45.1288 43.22C47.9012 43.22 50.1488 40.9725 50.1488 38.2C50.1488 35.4275 47.9012 33.18 45.1288 33.18C42.3563 33.18 40.1088 35.4275 40.1088 38.2C40.1088 40.9725 42.3563 43.22 45.1288 43.22Z",fill:"#965BA0"}),d.jsx("path",{d:"M58.8688 43.22C61.6412 43.22 63.8888 40.9725 63.8888 38.2C63.8888 35.4275 61.6412 33.18 58.8688 33.18C56.0963 33.18 53.8488 35.4275 53.8488 38.2C53.8488 40.9725 56.0963 43.22 58.8688 43.22Z",fill:"#965BA0"}),d.jsx("path",{d:"M62.9288 56.74C60.7888 55.14 57.7388 55.29 55.8988 57.23C54.1588 59.06 52.1588 60.61 49.8988 61.9C46.2788 63.96 42.3088 64.99 37.9788 64.99C34.4588 64.99 31.1688 64.28 28.0888 62.86C25.0088 61.44 22.3188 59.51 20.0288 57.08C17.7288 54.65 15.9088 51.81 14.5488 48.56C13.1988 45.31 12.5188 41.83 12.5188 38.11C12.5188 34.39 13.1988 30.91 14.5488 27.66C15.8988 24.42 17.7288 21.58 20.0288 19.14C22.3288 16.71 25.0188 14.78 28.0888 13.36C31.1688 11.94 34.4588 11.23 37.9788 11.23C42.3088 11.23 46.2788 12.26 49.8988 14.32C52.1588 15.61 54.1588 17.16 55.8988 18.99C57.7488 20.92 60.7888 21.08 62.9288 19.48C65.6088 17.48 65.8388 13.55 63.4288 11.23C60.9088 8.8 58.0588 6.74 54.8588 5.04C49.7588 2.35 44.1288 1 37.9788 1C32.9088 1 28.1388 1.98 23.6788 3.94C19.2188 5.9 15.3288 8.55 12.0188 11.9C8.70877 15.25 6.08877 19.17 4.15877 23.66C2.22877 28.16 1.26877 32.97 1.26877 38.11C1.26877 43.25 2.22877 48.07 4.15877 52.56C5.00877 54.54 6.00877 56.39 7.12877 58.15L0.548767 78.97L23.0788 72C23.2788 72.09 23.4688 72.2 23.6788 72.29C28.1388 74.25 32.9088 75.23 37.9788 75.23C44.1288 75.23 49.7588 73.88 54.8688 71.17C58.0588 69.48 60.9188 67.42 63.4388 64.98C65.8488 62.66 65.6188 58.73 62.9388 56.73L62.9288 56.74Z",fill:"#965BA0"})]}),aI=({width:e=92,height:t=42})=>d.jsxs("svg",{width:e,height:t,viewBox:"0 0 199 79",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[d.jsx("path",{d:"M139.787 54.72H114.287V67.47C114.287 68.66 113.877 69.67 113.057 70.49C112.237 71.31 111.227 71.72 110.037 71.72C108.847 71.72 107.837 71.31 107.017 70.49C106.197 69.67 105.787 68.66 105.787 67.47V33.47C105.787 30.52 106.337 27.76 107.447 25.18C108.557 22.6 110.067 20.35 111.997 18.42C113.927 16.49 116.177 14.98 118.757 13.87C121.337 12.77 124.097 12.21 127.047 12.21C129.997 12.21 132.757 12.76 135.337 13.87C137.917 14.98 140.167 16.49 142.097 18.42C144.027 20.35 145.537 22.6 146.647 25.18C147.757 27.76 148.307 30.52 148.307 33.47V67.47C148.307 68.66 147.897 69.67 147.077 70.49C146.257 71.31 145.247 71.72 144.057 71.72C142.867 71.72 141.857 71.31 141.037 70.49C140.217 69.67 139.807 68.66 139.807 67.47V54.72H139.787ZM139.787 33.47C139.787 31.71 139.447 30.06 138.767 28.5C138.087 26.94 137.177 25.6 136.047 24.46C134.917 23.33 133.567 22.42 132.007 21.74C130.447 21.06 128.787 20.72 127.037 20.72C125.287 20.72 123.617 21.06 122.067 21.74C120.507 22.42 119.157 23.33 118.027 24.46C116.897 25.59 115.987 26.94 115.307 28.5C114.627 30.06 114.287 31.72 114.287 33.47V46.22H139.787V33.47Z",fill:"#333333"}),d.jsx("path",{d:"M198.437 67.47C198.437 68.66 198.027 69.67 197.207 70.49C196.387 71.31 195.377 71.72 194.187 71.72C192.997 71.72 191.987 71.31 191.167 70.49C190.347 69.67 189.937 68.66 189.937 67.47C188.127 68.77 186.137 69.81 183.987 70.57C181.837 71.34 179.567 71.72 177.187 71.72C174.237 71.72 171.477 71.17 168.897 70.06C166.317 68.95 164.067 67.44 162.137 65.51C160.207 63.58 158.697 61.33 157.587 58.75C156.477 56.17 155.927 53.41 155.927 50.46C155.927 47.51 156.477 44.75 157.587 42.17C158.697 39.59 160.207 37.34 162.137 35.41C164.067 33.48 166.317 31.97 168.897 30.86C171.477 29.76 174.237 29.2 177.187 29.2C179.567 29.2 181.837 29.58 183.987 30.35C186.137 31.12 188.127 32.15 189.937 33.45V12.22C189.937 11.03 190.347 10.02 191.167 9.2C191.987 8.38 192.997 7.97 194.187 7.97C195.377 7.97 196.387 8.38 197.207 9.2C198.027 10.02 198.437 11.03 198.437 12.22V67.47ZM177.187 63.22C178.947 63.22 180.597 62.88 182.157 62.2C183.717 61.52 185.057 60.61 186.197 59.48C187.337 58.35 188.237 57 188.917 55.44C189.597 53.88 189.937 52.22 189.937 50.47C189.937 48.72 189.597 47.06 188.917 45.5C188.237 43.94 187.327 42.6 186.197 41.46C185.067 40.33 183.717 39.42 182.157 38.74C180.597 38.06 178.937 37.72 177.187 37.72C175.437 37.72 173.777 38.06 172.217 38.74C170.657 39.42 169.307 40.33 168.177 41.46C167.047 42.59 166.137 43.94 165.457 45.5C164.777 47.06 164.437 48.72 164.437 50.47C164.437 52.22 164.777 53.89 165.457 55.44C166.137 57 167.047 58.34 168.177 59.48C169.307 60.61 170.657 61.52 172.217 62.2C173.777 62.88 175.437 63.22 177.187 63.22Z",fill:"#333333"}),d.jsx("path",{d:"M30.973 43.19C33.7455 43.19 35.993 40.9425 35.993 38.17C35.993 35.3975 33.7455 33.15 30.973 33.15C28.2005 33.15 25.953 35.3975 25.953 38.17C25.953 40.9425 28.2005 43.19 30.973 43.19Z",fill:"#694A38"}),d.jsx("path",{d:"M44.723 43.19C47.4955 43.19 49.743 40.9425 49.743 38.17C49.743 35.3975 47.4955 33.15 44.723 33.15C41.9505 33.15 39.703 35.3975 39.703 38.17C39.703 40.9425 41.9505 43.19 44.723 43.19Z",fill:"#694A38"}),d.jsx("path",{d:"M58.463 43.19C61.2355 43.19 63.483 40.9425 63.483 38.17C63.483 35.3975 61.2355 33.15 58.463 33.15C55.6905 33.15 53.443 35.3975 53.443 38.17C53.443 40.9425 55.6905 43.19 58.463 43.19Z",fill:"#694A38"}),d.jsx("path",{d:"M62.523 56.71C60.383 55.11 57.333 55.26 55.493 57.2C53.753 59.03 51.753 60.58 49.493 61.87C45.873 63.93 41.903 64.96 37.573 64.96C34.053 64.96 30.763 64.25 27.683 62.83C24.603 61.41 21.913 59.48 19.623 57.05C17.323 54.62 15.503 51.78 14.143 48.53C12.793 45.28 12.113 41.8 12.113 38.08C12.113 34.36 12.793 30.88 14.143 27.63C15.493 24.39 17.323 21.55 19.623 19.11C21.923 16.68 24.613 14.75 27.683 13.33C30.763 11.91 34.053 11.2 37.573 11.2C41.903 11.2 45.873 12.23 49.493 14.29C51.753 15.58 53.753 17.13 55.493 18.96C57.343 20.89 60.383 21.05 62.523 19.45C65.203 17.45 65.433 13.52 63.023 11.2C60.503 8.77 57.653 6.71 54.453 5.01C49.353 2.32 43.723 0.970001 37.573 0.970001C32.503 0.970001 27.733 1.95 23.273 3.91C18.813 5.87 14.923 8.52 11.613 11.87C8.30301 15.22 5.68301 19.14 3.75301 23.63C1.82301 28.13 0.863005 32.94 0.863005 38.08C0.863005 43.22 1.82301 48.04 3.75301 52.53C4.60301 54.51 5.60301 56.36 6.72301 58.12L0.143005 78.94L22.673 71.97C22.873 72.06 23.063 72.17 23.273 72.26C27.733 74.22 32.503 75.2 37.573 75.2C43.723 75.2 49.353 73.85 54.463 71.14C57.653 69.45 60.513 67.39 63.033 64.95C65.443 62.63 65.213 58.7 62.533 56.7L62.523 56.71Z",fill:"#694A38"})]}),sI=({platform:e,width:t,height:n})=>{switch(e){case"play":return d.jsx(tI,{width:t,height:n});case"canaia":return d.jsx(T4,{width:t,height:n});case"assist":return d.jsx(nI,{width:t,height:n});case"elevate":return d.jsx(rI,{width:t,height:n});case"collect":return d.jsx(oI,{width:t,height:n});case"talent":return d.jsx(iI,{width:t,height:n});case"ad":return d.jsx(aI,{width:t,height:n});default:return d.jsx(T4,{width:t,height:n})}};function lI(e){return ut({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{d:"M12 1c6.075 0 11 4.925 11 11s-4.925 11-11 11S1 18.075 1 12 5.925 1 12 1ZM5.834 19.227A9.464 9.464 0 0 0 12 21.5a9.5 9.5 0 0 0 9.5-9.5 9.464 9.464 0 0 0-2.273-6.166ZM2.5 12a9.464 9.464 0 0 0 2.273 6.166L18.166 4.773A9.463 9.463 0 0 0 12 2.5 9.5 9.5 0 0 0 2.5 12Z"},child:[]}]})(e)}function cI(e){return ut({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{d:"M12 2.5a5.5 5.5 0 0 1 3.096 10.047 9.005 9.005 0 0 1 5.9 8.181.75.75 0 1 1-1.499.044 7.5 7.5 0 0 0-14.993 0 .75.75 0 0 1-1.5-.045 9.005 9.005 0 0 1 5.9-8.18A5.5 5.5 0 0 1 12 2.5ZM8 8a4 4 0 1 0 8 0 4 4 0 0 0-8 0Z"},child:[]}]})(e)}function uI(e){return ut({tag:"svg",attr:{viewBox:"0 0 1024 1024"},child:[{tag:"path",attr:{d:"M868 732h-70.3c-4.8 0-9.3 2.1-12.3 5.8-7 8.5-14.5 16.7-22.4 24.5a353.84 353.84 0 0 1-112.7 75.9A352.8 352.8 0 0 1 512.4 866c-47.9 0-94.3-9.4-137.9-27.8a353.84 353.84 0 0 1-112.7-75.9 353.28 353.28 0 0 1-76-112.5C167.3 606.2 158 559.9 158 512s9.4-94.2 27.8-137.8c17.8-42.1 43.4-80 76-112.5s70.5-58.1 112.7-75.9c43.6-18.4 90-27.8 137.9-27.8 47.9 0 94.3 9.3 137.9 27.8 42.2 17.8 80.1 43.4 112.7 75.9 7.9 7.9 15.3 16.1 22.4 24.5 3 3.7 7.6 5.8 12.3 5.8H868c6.3 0 10.2-7 6.7-12.3C798 160.5 663.8 81.6 511.3 82 271.7 82.6 79.6 277.1 82 516.4 84.4 751.9 276.2 942 512.4 942c152.1 0 285.7-78.8 362.3-197.7 3.4-5.3-.4-12.3-6.7-12.3zm88.9-226.3L815 393.7c-5.3-4.2-13-.4-13 6.3v76H488c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h314v76c0 6.7 7.8 10.5 13 6.3l141.9-112a8 8 0 0 0 0-12.6z"},child:[]}]})(e)}const dI=({platform:e="canaia",color:t=Jt.primary[500],onSettingsClick:n,onLogOutClick:r=()=>{},onSubscriptionClick:o=()=>{},onLogoClick:i=()=>{window.location.hash="/"},userName:a="Nombre de Usuario",settingsName:s="Settings",logoutName:l="Logout",subscriptionName:c="Subscription",isProduction:u=!1,showMenuItems:f})=>{const p=t||Rr.colors.primary[500],h=Lt(p,.7),b=Lt(p,.8),m=t||Rr.colors.primary[500],S=n||(()=>{window.location.href=u?"https://hub.canaia.ai/settings":"https://staging.hub.canaia.ai"});return d.jsx(qe,{position:"fixed",top:"0",left:"0",width:"100%",zIndex:"1000",bg:Jt.white[100],boxShadow:"sm",pt:"14px",pb:"14px",px:{base:"10px",md:"24px"},children:d.jsxs(dt,{justify:"space-between",align:"center",children:[d.jsxs(dt,{align:"center",children:[d.jsxs(sl,{children:[d.jsx(ll,{as:qt,"aria-label":"App Menu",icon:d.jsx(VO,{color:Jt.black[600]}),variant:"ghost",fontSize:"2xl",marginRight:"40px",width:"32px",height:"32px",_hover:{bg:"transparent"},_focus:{bg:"transparent"},_active:{bg:"transparent"}}),d.jsx(cl,{px:4,borderRadius:"lg",boxShadow:"lg",bg:"white",children:d.jsx(dt,{wrap:"wrap",maxW:"300px",justify:"flex-start",children:d.jsx(eI,{isProduction:u,showMenuItems:f,platform:e})})})]}),d.jsx(qe,{as:"a",onClick:i,cursor:"pointer",children:d.jsx(sI,{platform:e})})]}),d.jsxs(sl,{children:[d.jsx(ll,{border:"2px solid",borderColor:p,borderRadius:"md",px:"14px",py:"12px",_hover:{borderColor:h},_active:{borderColor:b},_focus:{borderColor:p,boxShadow:"0 0 0 3px rgba(66, 153, 225, 0.6)"},children:d.jsx(ar,{align:"flex-end",spacing:0,children:d.jsxs(dt,{align:"center",gap:"10px",children:[d.jsx(qe,{as:cI,color:t,size:18}),d.jsx(Be,{color:t,fontSize:"md",fontWeight:"medium",marginRight:2,children:a}),d.jsx(lf,{color:t})]})})}),d.jsxs(cl,{_hover:{boxShadow:"none"},children:[d.jsx(di,{as:"a",display:"flex",bg:"transparent",alignItems:"center",onClick:S,_hover:{bg:"transparent",color:m},children:d.jsxs(dt,{align:"center",gap:"10px",children:[d.jsx(_M,{size:24}),d.jsx(Be,{children:s})]})}),e!=="elevate"&&d.jsx(di,{as:"a",bg:"transparent",display:"flex",alignItems:"center",onClick:o,_hover:{bg:"transparent",color:m},children:d.jsxs(dt,{align:"center",gap:"10px",children:[d.jsx(SM,{size:24}),d.jsx(Be,{children:c})]})}),d.jsx(di,{as:"a",bg:"transparent",display:"flex",alignItems:"center",onClick:r,_hover:{bg:"transparent",color:m},children:d.jsxs(dt,{align:"center",gap:"10px",children:[d.jsx(uI,{size:24}),d.jsx(Be,{children:l})]})})]})]})]})})},fI=({placeholder:e="Escribe tu mensaje aquí...",onSend:t,disabled:n=!1})=>{const[r,o]=g.useState(""),i=()=>{n||r.trim()===""||(t(r.trim()),o(""))},a=s=>{s.key==="Enter"&&!n&&(s.preventDefault(),i())};return d.jsx(qe,{w:"100%",children:d.jsxs(zm,{children:[d.jsx(Ta,{placeholder:e,value:r,borderRadius:"3xl",onChange:s=>o(s.target.value),onKeyPress:a,size:"md",background:"white.100",borderColor:"black.100"}),d.jsx(zd,{children:d.jsx(qt,{onClick:i,"aria-label":"Enviar mensaje",icon:d.jsx(CM,{}),bg:"black.400",color:"white.100",borderRadius:"50%",w:"30px",h:"30px",minW:"30px",minH:"30px",isDisabled:n||r.trim()==="",_hover:{bg:"black.500"},_active:{bg:"black.600"}})})]})})},pI=({iconDefault:e,iconHover:t,isActive:n})=>{const[r,o]=g.useState(!1);return d.jsx("span",{onMouseEnter:()=>o(!0),onMouseLeave:()=>o(!1),style:{display:"inline-flex"},children:n||r?t:e})},hI=({color:e,menuOptions:t,currentUrl:n})=>{const r=["hub","play","elevate","assist","talent","ad","collect","localhost"],i=`sidebarOpen_${window.location.hostname.split(".").find(b=>r.includes(b))||"default"}`,[a,s]=g.useState(()=>localStorage.getItem(i)==="true"),l=e||Jt.primary[400],c=Df(Jt,`${l.split(".")[0]}.300`),u=()=>{s(f=>(localStorage.setItem(i,String(!f)),!f))};return d.jsx(qe,{bg:Jt.white[100],color:Jt.black[400],borderRight:`1px solid ${Jt.black[50]}`,minWidth:a?"200px":"72px",transition:"min-width 0.3s ease, background-color 0.3s ease",minHeight:"100vh",boxShadow:"xl",position:"sticky",top:"0",h:"100vh",zIndex:9,children:d.jsxs(ar,{align:"start",spacing:4,p:4,pt:"120px",position:"relative",children:[d.jsx(qt,{icon:a?d.jsx(iM,{boxSize:"24px"}):d.jsx(aM,{boxSize:"24px"}),onClick:u,position:"absolute",top:"125px",right:"-20px",size:"sm","aria-label":"Toggle Menu",bg:Jt.white[100],color:Jt.black[400],boxShadow:"md",zIndex:2,transition:"all 0.3s ease",_hover:{bg:c}}),t.map((f,p)=>d.jsxs(ln,{justifyContent:a?"flex-start":"center",width:"100%",variant:"ghost",color:Jt.black[400],px:a?4:0,transition:"all 0.3s ease",iconSpacing:a?2:0,display:"flex",alignItems:"center",_hover:{svg:{color:l},"> p":{fontWeight:"bold"}},_active:{svg:{color:l},"> p":{fontWeight:"bold"}},onClick:()=>f.onClick(),isActive:n===f.url,children:[d.jsx(pI,{iconDefault:f.icon,iconHover:f.iconHover,isActive:n===f.url}),a&&d.jsx(Be,{ml:2,fontWeight:n===f.url?"bold":"normal",transition:"font-weight 0.3s ease",children:f.title})]},p))]})})},mI=({showTitle:e=!0,title:t="Delete user",fontSizeTitle:n="2xl",titleAlign:r="center",disableOverlay:o=!1,children:i,buttonAcceptTextColor:a="white.100",buttonAcceptVisible:s=!1,buttonAcceptBackground:l="primary.400",buttonCancelVisible:c=!1,buttonCancelBackground:u="white.100",buttonAcceptBorder:f="primary.600",buttonCancelBorder:p="primary.600",buttonCancelText:h="primary.600",backgroundColorModal:b="play.500",buttonAcceptDisable:m=!0,buttonCancelDisable:v=!1,isOpen:S,onClose:y=()=>{},maxWidth:w,isCenteredModal:j=!0,onAcceptClick:x=()=>{},onCancelClick:E=()=>{},onAcceptText:P="Aceptar",onCancelText:D="Cancelar",backgroundOverlayColor:R="rgba(0, 0, 0, 0.1)"})=>d.jsx(ar,{alignItems:"center",justifyContent:"center",children:d.jsxs(fl,{isOpen:S,onClose:y,isCentered:j,children:[d.jsx(Cl,{display:o?"none":"block",opacity:o?.5:1,backgroundColor:R||"rgba(0, 0, 0, 0.1)"}),d.jsxs(bl,{borderRadius:"1rem",backgroundColor:b,maxWidth:w,children:[d.jsx(xl,{display:e?"block":"none",fontSize:n,textAlign:r,children:t}),d.jsx(E3,{_hover:{backgroundColor:"white.100"}}),d.jsxs(yl,{fontSize:"1rem",paddingTop:e?".5rem":"2.5rem",paddingBottom:"1rem",children:[i,d.jsxs(dt,{justifyContent:"center",marginTop:"1rem",children:[d.jsx(ln,{variant:"primary",border:"1px solid",borderColor:p,color:h,backgroundColor:u,disabled:v,display:c?"block":"none",onClick:()=>{E==null||E()},children:D}),d.jsx(ln,{variant:"secondary",backgroundColor:l,disabled:m,color:a,borderColor:f,display:s?"block":"none",marginLeft:"2.5rem",onClick:()=>{x==null||x()},_hover:{backgroundColor:m?l:"primary.500",color:m?a:"white"},children:P})]})]})]})]})});function gI(e){return ut({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"m22 9.24-7.19-.62L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21 12 17.27 18.18 21l-1.63-7.03L22 9.24zM12 15.4l-3.76 2.27 1-4.28-3.32-2.88 4.38-.38L12 6.1l1.71 4.04 4.38.38-3.32 2.88 1 4.28L12 15.4z"},child:[]}]})(e)}function vI(e){return ut({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M12 17.27 18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z"},child:[]}]})(e)}const bI=({items:e,colorIcon:t,onClickPinned:n,onClickConversation:r,onExpandedChange:o})=>{const[i,a]=g.useState(()=>e.map(l=>Array.isArray(l.content)?l.content.map(c=>c.is_pinned):[]));g.useEffect(()=>{a(l=>e.map((c,u)=>{if(!Array.isArray(c.content))return[];const f=l[u]||[];return c.content.map((p,h)=>h<f.length?f[h]:c.title==="Favorites"?!0:p.is_pinned)}))},[e]);const s=(l,c,u)=>{if(a(f=>{const p=[...f],h=[...p[l]],b=!h[c];return h[c]=b,p[l]=h,p}),n){const f=!i[l][c];n(u,f)}};return d.jsx(ar,{borderRadius:"1px",width:"100%",padding:".5rem",children:d.jsx(mh,{defaultIndex:[0],allowMultiple:!0,width:"100%",onChange:l=>{const c=Array.isArray(l)?l:[l],u=e.map((f,p)=>c.includes(p));o&&o(u)},children:e.map((l,c)=>!Array.isArray(l.content)||l.content.length===0?null:d.jsxs(bh,{border:"none",children:[d.jsx("h2",{children:d.jsxs(gh,{children:[d.jsx(qe,{as:"span",flex:"1",textAlign:"left",fontSize:"1rem",lineHeight:"1.5rem",fontWeight:700,children:l.title}),d.jsx(vh,{boxSize:4})]})}),d.jsx(Ch,{pb:4,textAlign:"left",children:d.jsx(nl,{children:l.content.map((u,f)=>d.jsxs(Rm,{display:"flex",alignItems:"center",fontFamily:"Lato",fontSize:"16px",fontWeight:400,margin:".5rem",justifyContent:"space-between",width:"95%",position:"relative",_hover:{".pin-icon":i[c][f]?{}:{visibility:"visible",opacity:1}},cursor:r?"pointer":"default",onClick:()=>{r&&r(u.id)},children:[u.title,t&&d.jsx(qe,{className:"pin-icon",cursor:"pointer",visibility:i[c][f]?"visible":"hidden",opacity:i[c][f]?1:0,transition:"opacity 0.2s ease, visibility 0.2s ease",onClick:p=>{p.stopPropagation(),s(c,f,u.id)},children:d.jsx(Vm,{as:i[c][f]?vI:gI,color:t,boxSize:6})})]},u.id))})})]},c))})})},yI=({items:e,navigation:t})=>{const n=(r,o)=>{o.startsWith("/")?(r.preventDefault(),t(o)):window.open(o,"_blank")};return d.jsxs(sl,{children:[d.jsx(ll,{as:qt,"aria-label":"Options",icon:d.jsx(cM,{}),variant:"outline"}),d.jsx(cl,{children:e.map((r,o)=>d.jsx(di,{icon:r.icon,onClick:i=>n(i,r.link),className:"custom-menulist",fontSize:"1rem",lineHeight:"1.75rem",children:r.link.startsWith("http")?d.jsx("a",{href:r.link,target:"_blank",rel:"noopener noreferrer",children:r.option}):d.jsx(Bm,{href:r.link,children:r.option})},o))})]})},xI=({title:e="",isEditable:t=!0,placeholder:n="",size:r="md",onChange:o,textValue:i=""})=>{const[a,s]=g.useState(i);g.useEffect(()=>{t&&s(i)},[i,t]);const l=c=>{t&&s(c.target.value),o&&o(c)};return d.jsxs(ar,{align:"start",children:[d.jsx(Be,{fontSize:"1.875rem",fontWeight:"bold",color:"black.300",children:e}),d.jsx(rf,{border:"1px solid",borderColor:"black.100",borderRadius:".5rem",color:"black.600",isReadOnly:!t,value:t?a:i,onChange:l,placeholder:n,size:r,resize:"none",minHeight:"5rem",opacity:1,sx:{"::placeholder":{color:"black.100"},_focus:{borderColor:"black.100",boxShadow:"none"}}})]})};function CI(e){return ut({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"currentColor"},child:[{tag:"path",attr:{d:"M2 12C2 17.5228 6.47715 22 12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12ZM20 12C20 16.4183 16.4183 20 12 20C7.58172 20 4 16.4183 4 12C4 7.58172 7.58172 4 12 4C16.4183 4 20 7.58172 20 12ZM12 12V6C15.3137 6 18 8.68629 18 12H12Z"},child:[]}]})(e)}function wI(e){return ut({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M170.718 216.482L141.6 245.6l93.6 93.6 208-208-29.118-29.118L235.2 279.918l-64.482-63.436zM422.4 256c0 91.518-74.883 166.4-166.4 166.4S89.6 347.518 89.6 256 164.482 89.6 256 89.6c15.6 0 31.2 2.082 45.764 6.241L334 63.6C310.082 53.2 284.082 48 256 48 141.6 48 48 141.6 48 256s93.6 208 208 208 208-93.6 208-208h-41.6z"},child:[]}]})(e)}const SI=({type:e="progress"})=>{let t,n,r="#007edf";switch(e.toLowerCase()){case"progress":t=d.jsx(CI,{size:20,style:{color:r,marginRight:".5rem"}}),n="Procesando";break;case"ready":t=d.jsx(wI,{size:20,style:{color:"#21B06e",marginRight:".5rem"}}),n="Completado",r="#21B06e";break;case"failed":t=d.jsx(OM,{size:20,style:{color:"#ce0015",marginRight:".5rem"}}),n="Error",r="#ce0015";break;case"inactive":t=d.jsx(lI,{size:20,style:{color:"#666666",marginRight:".5rem",transform:"rotate(90deg)"}}),n="Inactivo",r="#666666";break}return d.jsx(ar,{children:d.jsxs(dt,{alignItems:"center",children:[t,d.jsx(Be,{color:r,fontWeight:"900",fontSize:"1rem",lineHeight:"1.375rem",children:n})]})})},kI=({value:e=50,size:t="sm",backgroundColor:n="black.40",status:r="loading"})=>{const o=`${e}%`,i={completed:"success.400",error:"danger.400",loading:"info.400"}[r]||"info.500";return d.jsxs(dt,{alignContent:"center",children:[d.jsx(dt,{maxWidth:"30rem",width:"100%",alignItems:"center",children:d.jsx(M3,{width:"100%",value:e,size:t,backgroundColor:n,borderRadius:".5rem",padding:".1rem",sx:{"& > div":{backgroundColor:i}}})}),d.jsx(Be,{fontWeight:"bold",fontSize:"1rem",marginLeft:"1.75rem",children:o})]})},_I=({items:e,colorBackground:t,colorTitle:n,colorOption:r})=>d.jsx(dt,{backgroundColor:t,width:"100%",borderTopLeftRadius:".75rem",borderTopRightRadius:".75rem",justifyContent:"space-around",children:e.map((o,i)=>d.jsxs(qe,{maxWidth:"max-content",textAlign:"center",padding:"1rem",children:[d.jsx(Be,{color:n,fontSize:"1rem",fontWeight:"bold",children:o.title}),d.jsx(Be,{fontSize:"0.875rem",color:r,paddingTop:".25rem",children:o.option})]},i))}),jI=({text:e="Positive Ranking",value:t="1,302"})=>d.jsxs(qe,{color:"black.600",maxWidth:"max-content",width:"100%",children:[d.jsx(Be,{fontSize:"1rem",children:e}),d.jsx(Be,{fontSize:"1.75rem",fontWeight:"bold",textAlign:"left",marginTop:"0.25rem",children:t})]}),TI=({backgroundColor:e="#fff",boxShadow:t="1px 1px 4px #d7d7d7",maxWidth:n="34.125rem",padding:r="1.5rem",borderRadius:o=".5rem",children:i,...a})=>d.jsx(qe,{...a,backgroundColor:e,boxShadow:t,maxWidth:n,width:"100%",padding:r,borderRadius:o,children:i}),PI=({color:e})=>d.jsxs(qe,{position:"relative",width:"89px",height:"89px",children:[d.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"89",height:"89",viewBox:"-10 -10 60 60",style:{display:"block"},children:[d.jsx("path",{d:"M33.6022 30.0254C32.4494 29.1635 30.8065 29.2443 29.8153 30.2893C28.878 31.2751 27.8007 32.11 26.5833 32.8049C24.6333 33.9146 22.4948 34.4694 20.1624 34.4694C18.2663 34.4694 16.494 34.087 14.8349 33.322C13.1758 32.5571 11.7268 31.5175 10.4933 30.2085C9.25433 28.8996 8.27395 27.3698 7.54136 25.6191C6.81416 23.8684 6.44786 21.9938 6.44786 19.99C6.44786 17.9861 6.81416 16.1116 7.54136 14.3609C8.26856 12.6156 9.25433 11.0858 10.4933 9.77145C11.7322 8.46248 13.1812 7.42285 14.8349 6.65794C16.494 5.89304 18.2663 5.51058 20.1624 5.51058C22.4948 5.51058 24.6333 6.06541 26.5833 7.17507C27.8007 7.86995 28.878 8.70489 29.8153 9.69065C30.8118 10.7303 32.4494 10.8165 33.6022 9.9546C35.0458 8.87726 35.1697 6.76029 33.8715 5.51058C32.514 4.20162 30.9788 3.09196 29.2551 2.17622C26.5079 0.727203 23.4752 0 20.1624 0C17.4313 0 14.8619 0.527895 12.4594 1.58369C10.0569 2.63948 7.96152 4.06695 6.17853 5.87149C4.39554 7.67603 2.98422 9.78761 1.94459 12.2062C0.904963 14.6302 0.387841 17.2212 0.387841 19.99C0.387841 22.7588 0.904963 25.3551 1.94459 27.7738C2.40246 28.8403 2.94113 29.8369 3.54444 30.7849L0 42L12.1362 38.2455C12.2439 38.294 12.3463 38.3532 12.4594 38.4017C14.8619 39.4575 17.4313 39.9854 20.1624 39.9854C23.4752 39.9854 26.5079 39.2582 29.2605 37.7984C30.9788 36.888 32.5194 35.7784 33.8769 34.464C35.1751 33.2143 35.0512 31.0973 33.6075 30.02L33.6022 30.0254Z",fill:e,style:{animation:"colorAnimation 2s infinite"}}),d.jsx("path",{d:"M16.6065 22.7426C18.0999 22.7426 19.3106 21.5319 19.3106 20.0385C19.3106 18.545 18.0999 17.3344 16.6065 17.3344C15.113 17.3344 13.9023 18.545 13.9023 20.0385C13.9023 21.5319 15.113 22.7426 16.6065 22.7426Z",fill:e,style:{animation:"colorAnimation 2s infinite"}}),d.jsx("path",{d:"M23.8154 22.7426C25.3089 22.7426 26.5196 21.5319 26.5196 20.0385C26.5196 18.545 25.3089 17.3344 23.8154 17.3344C22.322 17.3344 21.1113 18.545 21.1113 20.0385C21.1113 21.5319 22.322 22.7426 23.8154 22.7426Z",fill:e,style:{animation:"colorAnimation 2s infinite 0.5s"}}),d.jsx("path",{d:"M31.4151 22.7426C32.9085 22.7426 34.1192 21.5319 34.1192 20.0385C34.1192 18.545 32.9085 17.3344 31.4151 17.3344C29.9216 17.3344 28.7109 18.545 28.7109 20.0385C28.7109 21.5319 29.9216 22.7426 31.4151 22.7426Z",fill:e,style:{animation:"colorAnimation 2s infinite 1s"}})]}),d.jsx("style",{children:`
|
|
401
401
|
@keyframes colorAnimation {
|
|
402
402
|
0% {
|
|
403
403
|
fill-opacity: 0.1; /* Comienza transparente */
|
|
@@ -409,4 +409,4 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
409
409
|
fill-opacity: 0.1; /* Se desvanece */
|
|
410
410
|
}
|
|
411
411
|
}
|
|
412
|
-
`})]}),TI=({color:e="elevate"})=>{const[t]=Xs("colors",[`${e}.500`]);return d.jsx(qe,{position:"fixed",top:0,left:0,w:"100vw",h:"100vh",display:"flex",alignItems:"center",justifyContent:"center",backgroundColor:"rgba(0, 0, 0, 0.15)",zIndex:1001,children:d.jsx(jI,{color:t||"elevate.500"})})},PI=({options:e,selectedValue:t,onChange:n})=>d.jsx(ed,{isAttached:!0,variant:"outline",children:e.map(r=>d.jsxs(ln,{isActive:t===r.value,onClick:()=>n(r.value),bg:t===r.value?"white.100":"black.50",color:t===r.value?"black":"black.400",fontWeight:"400",_hover:{bg:t===r.value?"white.200":"black.100"},_active:{bg:t===r.value?"white.300":"black.200"},borderColor:t===r.value?"black.200":"black.100",children:[r.label," ",r.count!==void 0&&`(${r.count})`]},r.value))});function EI(e){return dt({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"circle",attr:{cx:"12",cy:"12",r:"10"},child:[]}]})(e)}const AI=({state:e,duration:t="00:00",onClickPlayPause:n,onClickRecord:r,inactive:o=!1,buttonColor:i="primary.500"})=>{const a=va(),s=()=>{switch(e){case"idle":return EI;case"recording":return J3;case"playing":return _M;case"paused":case"stopped":default:return jM}},l=[1,4,6,3,5,1,1,4,6,3,5,1,4,6,3,5,1,1,4,6,3,5,4,1],c=o?void 0:Lt(i,.7)(a),u=()=>{o||(e==="idle"||e==="recording"?r&&r():(e==="playing"||e==="paused")&&n())};return d.jsxs(qe,{display:"flex",alignItems:"center",justifyContent:"space-between",padding:"2px 12px",borderRadius:"25px",bg:o?"gray.300":i,color:o?"gray.600":"white",cursor:o?"not-allowed":"pointer",_hover:{bg:c},width:"100%",onClick:u,children:[d.jsx(qt,{"aria-label":e==="recording"?"Recording":e==="idle"?"Start recording":e==="playing"?"Pause playback":"Play playback",icon:g.createElement(s()),isRound:!0,isDisabled:o,bg:"transparent",_hover:{bg:"transparent"},color:o?"gray.600":"white",fontSize:"20px"}),d.jsx(qe,{display:"flex",justifyContent:"center",flex:"1",mx:"16px",alignItems:"center",children:e==="idle"?d.jsx(Le,{fontSize:"sm",fontWeight:"bold",color:"white",children:"Record your voice"}):e==="recording"?d.jsx(qe,{display:"flex",gap:"2px",alignItems:"center",children:l.map((f,p)=>d.jsx(qe,{width:"2px",height:`${f*3}px`,bg:"white",borderRadius:"1px",_hover:{bg:"gray.200"}},p))}):d.jsx(qe,{display:"flex",gap:"2px",alignItems:"center",children:l.map((f,p)=>d.jsx(qe,{width:"2px",height:`${f*3}px`,bg:"white",borderRadius:"1px",_hover:{bg:"gray.200"}},p))})}),d.jsx(Le,{fontSize:"sm",fontWeight:"bold",marginLeft:"8px",children:t})]})},MI=({options:e,selectedValue:t,onChange:n})=>d.jsx(ed,{isAttached:!0,variant:"outline",borderRadius:"md",overflow:"hidden",children:e.map(r=>d.jsxs(ln,{isActive:t===r.value,onClick:()=>n(r.value),bg:t===r.value?"primary.400":"black.40",color:t===r.value?"white.100":"gray.800",fontWeight:"500",_hover:{bg:t===r.value?"primary.400":"primary.300",color:"white"},_active:{bg:t===r.value?"primary.400":"primary.300"},borderColor:(t===r.value,"black.40"),children:[r.icon&&d.jsx(qe,{as:"span",display:"flex",alignItems:"center",justifyContent:"center",bg:r.iconBg||"transparent",borderRadius:r.iconBgRadius||"0",p:r.iconPadding||"0",boxSize:r.iconSize||"16px",color:r.iconColor||"gray.800",marginRight:"5px",children:d.jsx(qe,{as:r.icon,boxSize:"100%"})}),r.label]},r.value))}),OI=({isChecked:e,onChange:t,size:n="lg",colorScheme:r="success",labelPosition:o="left",isActive:i=!0,checkedLabel:a="",uncheckedLabel:s=""})=>{const[l,c]=g.useState(e),u=f=>{if(!i)return;const p=f.target.checked;c(p),t&&t(p)};return d.jsxs(qe,{display:"flex",alignItems:"center",children:[d.jsx(ii,{htmlFor:"switch",mb:"0",order:o==="right"?1:0,mr:o==="right"?0:2,ml:o==="left"?0:2,children:l?a:s}),d.jsx($3,{id:"switch",isChecked:l,onChange:u,size:n,colorScheme:r,isDisabled:!i})]})},II=({availableTags:e,selectedTags:t=[],onTagChange:n,colorScheme:r="primary",colorSchemeNumber:o="400"})=>{const i=s=>{if(!t.includes(s)){const l=[...t,s];n==null||n(l)}},a=s=>{const l=t.filter(c=>c!==s);n==null||n(l)};return d.jsxs(ar,{align:"start",spacing:4,children:[d.jsx(Nr,{spacing:2,wrap:"wrap",children:t.map(s=>d.jsxs(rf,{size:"lg",bg:`${r}.${o}`,color:"white",borderRadius:"full",children:[d.jsx(V3,{children:s}),d.jsx(H3,{onClick:()=>a(s)})]},s))}),d.jsx(Nr,{spacing:2,wrap:"wrap",children:e.filter(s=>!t.includes(s)).map(s=>d.jsx(rf,{size:"lg",variant:"outline",colorScheme:r,cursor:"pointer",onClick:()=>i(s),children:s},s))})]})},DI=({items:e,selectedOptions:t=[],onCheckBoxChange:n,isFileUpload:r=!1,borderColor:o="gray.600",backgroundColor:i="gray.600",fontFamily:a="Lato",fontSize:s=".875rem",height:l="1rem",width:c="1rem",borderRadius:u="0.125rem",borderWidth:f="2px",directionOptions:p="column",spacingContentOptions:h=".5rem 0",spacingOptions:b=".5rem .5rem",title:m="Seleccionar proveedor",colorTitle:v="black.100",fontFamilyTitle:S="Lato",fontSizeTitle:y="1rem",alignTitle:C="left",marginTitle:j=".5rem 0",subtitle:x="Selecciona uno o varios de los siguientes proveedores para probar sus capacidades.",colorSubtitle:E="black.100",fontFamilySubtitle:P="Lato",fontSizeSubtitle:D="1rem",alignSubtitle:R="left"})=>{const[L,Z]=g.useState(t);g.useEffect(()=>{r&&Z(t)},[r,t]);const ce=he=>{const O=e==null?void 0:e.find(F=>F.value===he);if(O){const F=L.includes(O)?L.filter(K=>K.value!==O.value):[...L,O];Z(F),n&&n(F)}},z=b.trim().split(" ");let Y="0",G="0",N="0",ue="0";return z.length===4?(Y=z[0],G=z[1],N=z[2],ue=z[3]):z.length===3?(Y=z[0],G=ue=z[1],N=z[2]):z.length===2?(Y=N=z[0],ue=G=z[1]):z.length===1?Y=G=N=ue=z[0]:Y=G=N=ue="0",d.jsxs(ut,{flexDirection:"column",alignItems:"flex-start",children:[d.jsx(Le,{color:v,fontFamily:S,fontSize:y,textAlign:C,margin:j,children:m}),d.jsx(Le,{color:E,fontFamily:P,fontSize:D,textAlign:R,children:x}),d.jsx(ut,{flexDirection:p,margin:h,children:e==null?void 0:e.map((he,O)=>d.jsx("div",{children:d.jsx(Fh,{marginTop:Y,marginBottom:N,marginLeft:O===0&&p==="row"?"0":ue,marginRight:G,isChecked:L.some(F=>F.value===he.value),onChange:()=>ce(he.value),value:he.value,fontFamily:a,fontSize:s,sx:{"& .chakra-checkbox__control":{borderColor:o,borderWidth:f,height:l,width:c,borderRadius:u},'& .chakra-checkbox__control[data-checked=""]':{backgroundColor:i,borderColor:o},'& .chakra-checkbox__control[data-checked=""]:hover':{backgroundColor:i,borderColor:o}},children:d.jsxs(ut,{alignItems:"center",children:[he.icon&&d.jsxs("span",{style:{marginRight:".5rem"},children:[" ",he.icon]})," ",he.name]})})},he.value))})]})},j4=Qn(B3),$I=({text1:e="",text2:t="",colorScheme:n="elevate.500",setOnChange:r,defaultIndex:o=0})=>{const i=a=>{r&&r(a)};return d.jsx(qe,{bg:"gray.100",borderRadius:"md",boxShadow:"md",p:"3px",children:d.jsx(L3,{onChange:i,defaultIndex:o,isFitted:!0,variant:"unstyled",children:d.jsxs(N3,{display:"flex",gap:1,position:"relative",children:[d.jsx(j4,{position:"relative",flex:1,py:2,borderRadius:"md",fontWeight:"medium",color:"gray.500",_selected:{color:"white",bg:n},whileHover:{scale:1.02},transition:{type:"spring",stiffness:300,damping:20},children:e}),d.jsx(j4,{position:"relative",flex:1,py:2,color:"gray.500",borderRadius:"md",fontWeight:"medium",_selected:{color:"white",bg:n},whileHover:{scale:1.02},transition:{type:"spring",stiffness:300,damping:20},children:t})]})})})},FI=({isOpen:e,onClose:t,onConfirm:n,title:r,description:o,cancelText:i="Cancelar",confirmText:a="Salir",product:s="elevate"})=>d.jsxs(fl,{isOpen:e,onClose:t,isCentered:!0,children:[d.jsx(Cl,{}),d.jsxs(bl,{position:"relative",bg:"white",p:"24px",borderRadius:"8px",minW:"450px",children:[d.jsx(qt,{"aria-label":"Cerrar modal",icon:d.jsx(kl,{}),size:"sm",variant:"ghost",position:"absolute",top:3,right:3,onClick:t}),d.jsx(xl,{fontSize:"18px",fontFamily:"Body",children:r}),d.jsx(yl,{children:d.jsx(Le,{fontFamily:"Lato",children:o})}),d.jsxs(tf,{display:"flex",justifyContent:"center",mt:"10px",children:[d.jsx(ln,{variant:"outline",color:`${s}.500`,borderColor:`${s}.500`,mr:12,onClick:t,children:i}),d.jsx(ln,{backgroundColor:`${s}.500`,color:"white",_hover:{backgroundColor:`${s}.600`},onClick:n,children:a})]})]})]}),zI=({height:e="40px",width:t="41px"})=>d.jsxs("svg",{width:t,height:e,viewBox:"0 0 41 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[d.jsx("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M26.6051 6.28817C23.6505 4.97168 20.3495 4.64554 17.1944 5.35839C14.0393 6.07124 11.1991 7.7849 9.0975 10.2438C6.99589 12.7027 5.74543 15.775 5.5326 19.0026C5.31977 22.2303 6.15598 25.4402 7.91652 28.1538C9.67707 30.8673 12.2676 32.9391 15.3018 34.06C18.336 35.181 21.6512 35.2912 24.7531 34.374C27.855 33.4569 30.5773 31.5616 32.5141 28.9709C34.4508 26.3802 35.4982 23.2328 35.5001 19.9982V18.4658C35.5001 17.5453 36.2463 16.7991 37.1668 16.7991C38.0872 16.7991 38.8334 17.5453 38.8334 18.4658V19.9991C38.8312 23.9526 37.551 27.8003 35.1839 30.9668C32.8167 34.1332 29.4894 36.4496 25.6982 37.5706C21.907 38.6915 17.8551 38.5569 14.1466 37.1868C10.4382 35.8167 7.27195 33.2846 5.12018 29.968C2.9684 26.6515 1.94637 22.7282 2.20649 18.7833C2.46661 14.8384 3.99496 11.0833 6.56359 8.07804C9.13223 5.07275 12.6035 2.97828 16.4598 2.10701C20.316 1.23574 24.3506 1.63436 27.9618 3.24341C28.8025 3.61804 29.1804 4.60334 28.8058 5.44412C28.4312 6.28491 27.4459 6.6628 26.6051 6.28817Z",fill:"#21B06E"}),d.jsx("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M38.3445 5.48757C38.9957 6.13811 38.9962 7.19339 38.3457 7.84459L21.679 24.5279C21.3665 24.8407 20.9425 25.0166 20.5003 25.0167C20.0582 25.0168 19.6341 24.8412 19.3214 24.5285L14.3214 19.5285C13.6705 18.8776 13.6705 17.8224 14.3214 17.1715C14.9723 16.5206 16.0276 16.5206 16.6784 17.1715L20.4993 20.9924L35.9875 5.48874C36.638 4.83755 37.6933 4.83702 38.3445 5.48757Z",fill:"#21B06E"})]}),LI=({height:e="28px",width:t="24px"})=>d.jsxs("svg",{width:t,height:e,viewBox:"0 0 24 28",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[d.jsx("path",{d:"M11.7294 3.91962C12.7138 4.10559 13.6628 3.46112 13.852 2.47679C14.038 1.49246 13.3935 0.543396 12.4092 0.354224C11.4248 0.168259 10.4758 0.812724 10.2866 1.79706C10.1006 2.78139 10.7451 3.73045 11.7294 3.91962Z",fill:"#FF6F9A"}),d.jsx("path",{d:"M13.1276 9.39843C16.9848 9.90502 19.9731 13.2139 19.9731 17.209C19.9731 21.5535 16.4397 25.0868 12.092 25.0868C7.74426 25.0868 4.21093 21.5535 4.21093 17.209C4.21093 13.2556 7.13827 9.97236 10.9409 9.41446V6.80775C6.66374 7.27587 3.15606 10.3315 2.01782 14.3714C2.40899 14.5413 2.75527 14.8652 3.0278 15.3205C3.40935 15.9553 3.62738 16.8018 3.64021 17.7059C3.66265 19.1969 3.14323 20.4409 2.34486 21.0212C3.87106 24.9137 7.6641 27.6775 12.092 27.6775C16.5199 27.6775 20.2392 24.965 21.7942 21.1335C21.4832 20.9475 21.2011 20.6653 20.9734 20.2838C20.5919 19.6489 20.3738 18.8025 20.361 17.8983C20.3482 16.9941 20.5406 16.1316 20.9061 15.4647C21.2267 14.8812 21.6596 14.4868 22.1533 14.3201C20.9862 10.2705 17.4369 7.22136 13.1276 6.79492V9.40164V9.39843Z",fill:"#222222"}),d.jsx("path",{d:"M2.11336 15.6882C2.01717 15.5278 1.91136 15.3932 1.80234 15.2874C1.626 15.1142 1.44003 15.0212 1.27651 15.0277C1.26369 15.0277 1.25407 15.0277 1.24124 15.0277C0.98474 15.0597 0.686555 15.3323 0.458909 15.7523C0.151105 16.3198 -0.00921002 17.0636 0.000408859 17.8556C0.013234 18.6476 0.195993 19.3786 0.516622 19.914C0.769919 20.3309 1.09055 20.5842 1.35346 20.5745C1.56508 20.5649 1.80876 20.3886 2.02358 20.0776C2.36345 19.5934 2.64239 18.7822 2.62636 17.7466C2.61354 16.9546 2.43078 16.2236 2.11015 15.6882H2.11336Z",fill:"#222222"}),d.jsx("path",{d:"M23.4832 15.6881C23.2299 15.2713 22.9093 15.018 22.6464 15.0276C22.6336 15.0276 22.6239 15.0276 22.6111 15.0276C22.5278 15.0372 22.438 15.0757 22.3514 15.1366C22.1686 15.2585 21.9827 15.4733 21.8288 15.7554C21.521 16.3165 21.3607 17.0604 21.3703 17.8524C21.3831 18.6443 21.5659 19.3753 21.8865 19.9108C21.957 20.0294 22.034 20.132 22.1141 20.2218C22.3161 20.4494 22.5342 20.5809 22.7233 20.5713C23.2652 20.5424 24.0219 19.4363 23.9994 17.7433C23.9866 16.9514 23.8039 16.2203 23.4832 15.6849V15.6881Z",fill:"#222222"}),d.jsx("path",{d:"M8.21805 14.4265C7.47098 14.3944 6.86499 15.4749 6.86499 16.8408C6.86499 18.2067 7.47098 19.3417 8.22125 19.3738C8.97152 19.4058 9.57431 18.3253 9.57431 16.9594C9.57431 15.5936 8.96832 14.4585 8.21805 14.4265ZM8.68616 19.0019C8.35912 19.3065 7.88459 19.2135 7.62488 18.7967C7.36517 18.3798 7.41647 17.7931 7.74351 17.4885C8.07056 17.1839 8.54509 17.2769 8.8048 17.6937C9.06451 18.1105 9.01321 18.6973 8.68616 19.0019Z",fill:"#222222"}),d.jsx("path",{d:"M14.9832 14.2624C14.2361 14.2304 13.6301 15.3109 13.6333 16.6768C13.6333 18.0426 14.2425 19.1745 14.9896 19.2065C15.7366 19.2386 16.3426 18.1581 16.3394 16.7922C16.3394 15.4263 15.7302 14.2945 14.9832 14.2624ZM15.4256 18.8987C15.0954 19.1969 14.6209 19.1007 14.3676 18.6775C14.1143 18.2575 14.1752 17.6707 14.5054 17.3725C14.8357 17.0743 15.3102 17.1705 15.5635 17.5938C15.8168 18.017 15.7559 18.6005 15.4256 18.8987Z",fill:"#222222"}),d.jsx("path",{d:"M12.399 9.33728V4.81641H11.6711V9.34369C11.8122 9.33728 11.9533 9.33086 12.0944 9.33086C12.197 9.33086 12.2996 9.33407 12.399 9.33728Z",fill:"#222222"})]}),BI=({isOpen:e,onClose:t,description:n,buttonText:r,product:o="elevate"})=>d.jsxs(fl,{isOpen:e,onClose:t,isCentered:!0,children:[d.jsx(Cl,{}),d.jsxs(bl,{bg:"white",position:"relative",textAlign:"center",p:6,borderRadius:"8px",width:"auto",children:[d.jsx(qt,{"aria-label":"Cerrar modal",icon:d.jsx(kl,{}),size:"sm",variant:"ghost",position:"absolute",top:3,right:3,onClick:t}),d.jsxs(ut,{direction:"column",align:"center",gap:0,children:[d.jsx(zI,{}),d.jsx(xl,{fontSize:"xl",fontWeight:"bold",color:"success.400",fontFamily:"Body",children:"¡Enhorabuena!"}),d.jsx(yl,{children:d.jsxs(Nr,{spacing:3,justifyContent:"center",children:[d.jsx(LI,{}),d.jsx(Le,{children:n})]})}),d.jsx(tf,{children:d.jsx(ln,{backgroundColor:`${o}.500`,color:"white",_hover:{backgroundColor:`${o}.600`},onClick:t,children:r})})]})]})]});Fe.AccordionCustom=gI,Fe.AudioButtons=AI,Fe.Button=OM,Fe.CanaiaProvider=tM,Fe.CardCustom=kI,Fe.ChatAssistant=BO,Fe.ChatInput=uI,Fe.ChatUser=zO,Fe.CustomBox=SI,Fe.CustomCheckBox=DI,Fe.CustomProgressBar=wI,Fe.DragAndDrop=AO,Fe.Header=cI,Fe.Input=OO,Fe.InputPhone=$O,Fe.MenuListCustom=vI,Fe.MetricCustom=_I,Fe.ModalCustom=pI,Fe.ModalFeedback=FI,Fe.MultiInput=FO,Fe.PhotoUpload=DM,Fe.PositiveModal=BI,Fe.SegmentedControl=PI,Fe.Select=lM,Fe.SideBar=fI,Fe.Spinner=TI,Fe.StatusCustom=CI,Fe.Steps=$M,Fe.SwitchCustom=OI,Fe.Tabs=MI,Fe.TabsOptions=$I,Fe.TagSelector=II,Fe.Text=MO,Fe.TextareaCustom=bI,Fe.Toast=S4,Fe.useCustomToast=k4,Object.defineProperty(Fe,Symbol.toStringTag,{value:"Module"})});
|
|
412
|
+
`})]}),EI=({color:e="elevate"})=>{const[t]=Xs("colors",[`${e}.500`]);return d.jsx(qe,{position:"fixed",top:0,left:0,w:"100vw",h:"100vh",display:"flex",alignItems:"center",justifyContent:"center",backgroundColor:"rgba(0, 0, 0, 0.15)",zIndex:1001,children:d.jsx(PI,{color:t||"elevate.500"})})},AI=({options:e,selectedValue:t,onChange:n})=>d.jsx(Ah,{isAttached:!0,variant:"outline",children:e.map(r=>d.jsxs(ln,{isActive:t===r.value,onClick:()=>n(r.value),bg:t===r.value?"white.100":"black.50",color:t===r.value?"black":"black.400",fontWeight:"400",_hover:{bg:t===r.value?"white.200":"black.100"},_active:{bg:t===r.value?"white.300":"black.200"},borderColor:t===r.value?"black.200":"black.100",children:[r.label," ",r.count!==void 0&&`(${r.count})`]},r.value))});function MI(e){return ut({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"circle",attr:{cx:"12",cy:"12",r:"10"},child:[]}]})(e)}const OI=({state:e,duration:t="00:00",onClickPlayPause:n,onClickRecord:r,inactive:o=!1,buttonColor:i="primary.500"})=>{const a=va(),s=()=>{switch(e){case"idle":return MI;case"recording":return e4;case"playing":return TM;case"paused":case"stopped":default:return PM}},l=[1,4,6,3,5,1,1,4,6,3,5,1,4,6,3,5,1,1,4,6,3,5,4,1],c=o?void 0:Lt(i,.7)(a),u=()=>{o||(e==="idle"||e==="recording"?r&&r():(e==="playing"||e==="paused")&&n())};return d.jsxs(qe,{display:"flex",alignItems:"center",justifyContent:"space-between",padding:"2px 12px",borderRadius:"25px",bg:o?"gray.300":i,color:o?"gray.600":"white",cursor:o?"not-allowed":"pointer",_hover:{bg:c},width:"100%",onClick:u,children:[d.jsx(qt,{"aria-label":e==="recording"?"Recording":e==="idle"?"Start recording":e==="playing"?"Pause playback":"Play playback",icon:g.createElement(s()),isRound:!0,isDisabled:o,bg:"transparent",_hover:{bg:"transparent"},color:o?"gray.600":"white",fontSize:"20px"}),d.jsx(qe,{display:"flex",justifyContent:"center",flex:"1",mx:"16px",alignItems:"center",children:e==="idle"?d.jsx(Be,{fontSize:"sm",fontWeight:"bold",color:"white",children:"Record your voice"}):e==="recording"?d.jsx(qe,{display:"flex",gap:"2px",alignItems:"center",children:l.map((f,p)=>d.jsx(qe,{width:"2px",height:`${f*3}px`,bg:"white",borderRadius:"1px",_hover:{bg:"gray.200"}},p))}):d.jsx(qe,{display:"flex",gap:"2px",alignItems:"center",children:l.map((f,p)=>d.jsx(qe,{width:"2px",height:`${f*3}px`,bg:"white",borderRadius:"1px",_hover:{bg:"gray.200"}},p))})}),d.jsx(Be,{fontSize:"sm",fontWeight:"bold",marginLeft:"8px",children:t})]})},II=({options:e,selectedValue:t,onChange:n,tabWidth:r="150px",fullWidthTabs:o=!1,...i})=>d.jsx(Z3,{...i,spacing:"0",justify:"center",width:o?"100%":"auto",children:e.map(a=>d.jsx(sf,{flex:o?"1":"none",width:o?"auto":r,children:d.jsxs(ln,{isActive:t===a.value,width:o?"100%":r,minWidth:o?"auto":r,flex:o?"1":"none",onClick:()=>n(a.value),bg:t===a.value?"primary.400":"black.40",color:t===a.value?"white.100":"gray.800",fontWeight:"500",size:"lg",_hover:{bg:t===a.value?"primary.400":"primary.300",color:"white"},_active:{bg:t===a.value?"primary.400":"primary.300"},borderColor:(t===a.value,"black.40"),style:{boxShadow:"0px 4px 6px -1px rgba(0, 0, 0, 0.1)"},children:[a.icon&&d.jsx(qe,{as:"span",display:"flex",alignItems:"center",justifyContent:"center",bg:a.iconBg||"transparent",borderRadius:a.iconBgRadius||"0",p:a.iconPadding||"0",boxSize:a.iconSize||"16px",color:a.iconColor||"gray.800",marginRight:"5px",children:d.jsx(qe,{as:a.icon,boxSize:"100%"})}),a.label]})},a.value))}),DI=({isChecked:e,onChange:t,size:n="lg",colorScheme:r="success",labelPosition:o="left",isActive:i=!0,checkedLabel:a="",uncheckedLabel:s=""})=>{const[l,c]=g.useState(e),u=f=>{if(!i)return;const p=f.target.checked;c(p),t&&t(p)};return d.jsxs(qe,{display:"flex",alignItems:"center",children:[d.jsx(ii,{htmlFor:"switch",mb:"0",order:o==="right"?1:0,mr:o==="right"?0:2,ml:o==="left"?0:2,children:l?a:s}),d.jsx(F3,{id:"switch",isChecked:l,onChange:u,size:n,colorScheme:r,isDisabled:!i})]})},$I=({availableTags:e,selectedTags:t=[],onTagChange:n,colorScheme:r="primary",colorSchemeNumber:o="400"})=>{const i=s=>{if(!t.includes(s)){const l=[...t,s];n==null||n(l)}},a=s=>{const l=t.filter(c=>c!==s);n==null||n(l)};return d.jsxs(ar,{align:"start",spacing:4,children:[d.jsx(Nr,{spacing:2,wrap:"wrap",children:t.map(s=>d.jsxs(nf,{size:"lg",bg:`${r}.${o}`,color:"white",borderRadius:"full",children:[d.jsx(W3,{children:s}),d.jsx(U3,{onClick:()=>a(s)})]},s))}),d.jsx(Nr,{spacing:2,wrap:"wrap",children:e.filter(s=>!t.includes(s)).map(s=>d.jsx(nf,{size:"lg",variant:"outline",colorScheme:r,cursor:"pointer",onClick:()=>i(s),children:s},s))})]})},FI=({items:e,selectedOptions:t=[],onCheckBoxChange:n,isFileUpload:r=!1,borderColor:o="gray.600",backgroundColor:i="gray.600",fontFamily:a="Lato",fontSize:s=".875rem",height:l="1rem",width:c="1rem",borderRadius:u="0.125rem",borderWidth:f="2px",directionOptions:p="column",spacingContentOptions:h=".5rem 0",spacingOptions:b=".5rem .5rem",title:m="Seleccionar proveedor",colorTitle:v="black.100",fontFamilyTitle:S="Lato",fontSizeTitle:y="1rem",alignTitle:w="left",marginTitle:j=".5rem 0",subtitle:x="Selecciona uno o varios de los siguientes proveedores para probar sus capacidades.",colorSubtitle:E="black.100",fontFamilySubtitle:P="Lato",fontSizeSubtitle:D="1rem",alignSubtitle:R="left"})=>{const[z,X]=g.useState(t);g.useEffect(()=>{r&&X(t)},[r,t]);const ce=he=>{const O=e==null?void 0:e.find(F=>F.value===he);if(O){const F=z.includes(O)?z.filter(Z=>Z.value!==O.value):[...z,O];X(F),n&&n(F)}},L=b.trim().split(" ");let Y="0",K="0",N="0",ue="0";return L.length===4?(Y=L[0],K=L[1],N=L[2],ue=L[3]):L.length===3?(Y=L[0],K=ue=L[1],N=L[2]):L.length===2?(Y=N=L[0],ue=K=L[1]):L.length===1?Y=K=N=ue=L[0]:Y=K=N=ue="0",d.jsxs(dt,{flexDirection:"column",alignItems:"flex-start",children:[d.jsx(Be,{color:v,fontFamily:S,fontSize:y,textAlign:w,margin:j,children:m}),d.jsx(Be,{color:E,fontFamily:P,fontSize:D,textAlign:R,children:x}),d.jsx(dt,{flexDirection:p,margin:h,children:e==null?void 0:e.map((he,O)=>d.jsx("div",{children:d.jsx(zh,{marginTop:Y,marginBottom:N,marginLeft:O===0&&p==="row"?"0":ue,marginRight:K,isChecked:z.some(F=>F.value===he.value),onChange:()=>ce(he.value),value:he.value,fontFamily:a,fontSize:s,sx:{"& .chakra-checkbox__control":{borderColor:o,borderWidth:f,height:l,width:c,borderRadius:u},'& .chakra-checkbox__control[data-checked=""]':{backgroundColor:i,borderColor:o},'& .chakra-checkbox__control[data-checked=""]:hover':{backgroundColor:i,borderColor:o}},children:d.jsxs(dt,{alignItems:"center",children:[he.icon&&d.jsxs("span",{style:{marginRight:".5rem"},children:[" ",he.icon]})," ",he.name]})})},he.value))})]})},P4=Qn(N3),zI=({text1:e="",text2:t="",colorScheme:n="elevate.500",setOnChange:r,defaultIndex:o=0})=>{const i=a=>{r&&r(a)};return d.jsx(qe,{bg:"gray.100",borderRadius:"md",boxShadow:"md",p:"3px",children:d.jsx(B3,{onChange:i,defaultIndex:o,isFitted:!0,variant:"unstyled",children:d.jsxs(R3,{display:"flex",gap:1,position:"relative",children:[d.jsx(P4,{position:"relative",flex:1,py:2,borderRadius:"md",fontWeight:"medium",color:"gray.500",_selected:{color:"white",bg:n},whileHover:{scale:1.02},transition:{type:"spring",stiffness:300,damping:20},children:e}),d.jsx(P4,{position:"relative",flex:1,py:2,color:"gray.500",borderRadius:"md",fontWeight:"medium",_selected:{color:"white",bg:n},whileHover:{scale:1.02},transition:{type:"spring",stiffness:300,damping:20},children:t})]})})})},LI=({isOpen:e,onClose:t,onConfirm:n,title:r,description:o,cancelText:i="Cancelar",confirmText:a="Salir",product:s="elevate"})=>d.jsxs(fl,{isOpen:e,onClose:t,isCentered:!0,children:[d.jsx(Cl,{}),d.jsxs(bl,{position:"relative",bg:"white",p:"24px",borderRadius:"8px",minW:"450px",children:[d.jsx(qt,{"aria-label":"Cerrar modal",icon:d.jsx(kl,{}),size:"sm",variant:"ghost",position:"absolute",top:3,right:3,onClick:t}),d.jsx(xl,{fontSize:"18px",fontFamily:"Body",children:r}),d.jsx(yl,{children:d.jsx(Be,{fontFamily:"Lato",children:o})}),d.jsxs(ef,{display:"flex",justifyContent:"center",mt:"10px",children:[d.jsx(ln,{variant:"outline",color:`${s}.500`,borderColor:`${s}.500`,mr:12,onClick:t,children:i}),d.jsx(ln,{backgroundColor:`${s}.500`,color:"white",_hover:{backgroundColor:`${s}.600`},onClick:n,children:a})]})]})]}),BI=({height:e="40px",width:t="41px"})=>d.jsxs("svg",{width:t,height:e,viewBox:"0 0 41 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[d.jsx("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M26.6051 6.28817C23.6505 4.97168 20.3495 4.64554 17.1944 5.35839C14.0393 6.07124 11.1991 7.7849 9.0975 10.2438C6.99589 12.7027 5.74543 15.775 5.5326 19.0026C5.31977 22.2303 6.15598 25.4402 7.91652 28.1538C9.67707 30.8673 12.2676 32.9391 15.3018 34.06C18.336 35.181 21.6512 35.2912 24.7531 34.374C27.855 33.4569 30.5773 31.5616 32.5141 28.9709C34.4508 26.3802 35.4982 23.2328 35.5001 19.9982V18.4658C35.5001 17.5453 36.2463 16.7991 37.1668 16.7991C38.0872 16.7991 38.8334 17.5453 38.8334 18.4658V19.9991C38.8312 23.9526 37.551 27.8003 35.1839 30.9668C32.8167 34.1332 29.4894 36.4496 25.6982 37.5706C21.907 38.6915 17.8551 38.5569 14.1466 37.1868C10.4382 35.8167 7.27195 33.2846 5.12018 29.968C2.9684 26.6515 1.94637 22.7282 2.20649 18.7833C2.46661 14.8384 3.99496 11.0833 6.56359 8.07804C9.13223 5.07275 12.6035 2.97828 16.4598 2.10701C20.316 1.23574 24.3506 1.63436 27.9618 3.24341C28.8025 3.61804 29.1804 4.60334 28.8058 5.44412C28.4312 6.28491 27.4459 6.6628 26.6051 6.28817Z",fill:"#21B06E"}),d.jsx("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M38.3445 5.48757C38.9957 6.13811 38.9962 7.19339 38.3457 7.84459L21.679 24.5279C21.3665 24.8407 20.9425 25.0166 20.5003 25.0167C20.0582 25.0168 19.6341 24.8412 19.3214 24.5285L14.3214 19.5285C13.6705 18.8776 13.6705 17.8224 14.3214 17.1715C14.9723 16.5206 16.0276 16.5206 16.6784 17.1715L20.4993 20.9924L35.9875 5.48874C36.638 4.83755 37.6933 4.83702 38.3445 5.48757Z",fill:"#21B06E"})]}),NI=({height:e="28px",width:t="24px"})=>d.jsxs("svg",{width:t,height:e,viewBox:"0 0 24 28",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[d.jsx("path",{d:"M11.7294 3.91962C12.7138 4.10559 13.6628 3.46112 13.852 2.47679C14.038 1.49246 13.3935 0.543396 12.4092 0.354224C11.4248 0.168259 10.4758 0.812724 10.2866 1.79706C10.1006 2.78139 10.7451 3.73045 11.7294 3.91962Z",fill:"#FF6F9A"}),d.jsx("path",{d:"M13.1276 9.39843C16.9848 9.90502 19.9731 13.2139 19.9731 17.209C19.9731 21.5535 16.4397 25.0868 12.092 25.0868C7.74426 25.0868 4.21093 21.5535 4.21093 17.209C4.21093 13.2556 7.13827 9.97236 10.9409 9.41446V6.80775C6.66374 7.27587 3.15606 10.3315 2.01782 14.3714C2.40899 14.5413 2.75527 14.8652 3.0278 15.3205C3.40935 15.9553 3.62738 16.8018 3.64021 17.7059C3.66265 19.1969 3.14323 20.4409 2.34486 21.0212C3.87106 24.9137 7.6641 27.6775 12.092 27.6775C16.5199 27.6775 20.2392 24.965 21.7942 21.1335C21.4832 20.9475 21.2011 20.6653 20.9734 20.2838C20.5919 19.6489 20.3738 18.8025 20.361 17.8983C20.3482 16.9941 20.5406 16.1316 20.9061 15.4647C21.2267 14.8812 21.6596 14.4868 22.1533 14.3201C20.9862 10.2705 17.4369 7.22136 13.1276 6.79492V9.40164V9.39843Z",fill:"#222222"}),d.jsx("path",{d:"M2.11336 15.6882C2.01717 15.5278 1.91136 15.3932 1.80234 15.2874C1.626 15.1142 1.44003 15.0212 1.27651 15.0277C1.26369 15.0277 1.25407 15.0277 1.24124 15.0277C0.98474 15.0597 0.686555 15.3323 0.458909 15.7523C0.151105 16.3198 -0.00921002 17.0636 0.000408859 17.8556C0.013234 18.6476 0.195993 19.3786 0.516622 19.914C0.769919 20.3309 1.09055 20.5842 1.35346 20.5745C1.56508 20.5649 1.80876 20.3886 2.02358 20.0776C2.36345 19.5934 2.64239 18.7822 2.62636 17.7466C2.61354 16.9546 2.43078 16.2236 2.11015 15.6882H2.11336Z",fill:"#222222"}),d.jsx("path",{d:"M23.4832 15.6881C23.2299 15.2713 22.9093 15.018 22.6464 15.0276C22.6336 15.0276 22.6239 15.0276 22.6111 15.0276C22.5278 15.0372 22.438 15.0757 22.3514 15.1366C22.1686 15.2585 21.9827 15.4733 21.8288 15.7554C21.521 16.3165 21.3607 17.0604 21.3703 17.8524C21.3831 18.6443 21.5659 19.3753 21.8865 19.9108C21.957 20.0294 22.034 20.132 22.1141 20.2218C22.3161 20.4494 22.5342 20.5809 22.7233 20.5713C23.2652 20.5424 24.0219 19.4363 23.9994 17.7433C23.9866 16.9514 23.8039 16.2203 23.4832 15.6849V15.6881Z",fill:"#222222"}),d.jsx("path",{d:"M8.21805 14.4265C7.47098 14.3944 6.86499 15.4749 6.86499 16.8408C6.86499 18.2067 7.47098 19.3417 8.22125 19.3738C8.97152 19.4058 9.57431 18.3253 9.57431 16.9594C9.57431 15.5936 8.96832 14.4585 8.21805 14.4265ZM8.68616 19.0019C8.35912 19.3065 7.88459 19.2135 7.62488 18.7967C7.36517 18.3798 7.41647 17.7931 7.74351 17.4885C8.07056 17.1839 8.54509 17.2769 8.8048 17.6937C9.06451 18.1105 9.01321 18.6973 8.68616 19.0019Z",fill:"#222222"}),d.jsx("path",{d:"M14.9832 14.2624C14.2361 14.2304 13.6301 15.3109 13.6333 16.6768C13.6333 18.0426 14.2425 19.1745 14.9896 19.2065C15.7366 19.2386 16.3426 18.1581 16.3394 16.7922C16.3394 15.4263 15.7302 14.2945 14.9832 14.2624ZM15.4256 18.8987C15.0954 19.1969 14.6209 19.1007 14.3676 18.6775C14.1143 18.2575 14.1752 17.6707 14.5054 17.3725C14.8357 17.0743 15.3102 17.1705 15.5635 17.5938C15.8168 18.017 15.7559 18.6005 15.4256 18.8987Z",fill:"#222222"}),d.jsx("path",{d:"M12.399 9.33728V4.81641H11.6711V9.34369C11.8122 9.33728 11.9533 9.33086 12.0944 9.33086C12.197 9.33086 12.2996 9.33407 12.399 9.33728Z",fill:"#222222"})]}),RI=({isOpen:e,onClose:t,description:n,buttonText:r,product:o="elevate",onConfirm:i})=>d.jsxs(fl,{isOpen:e,onClose:t,isCentered:!0,children:[d.jsx(Cl,{}),d.jsxs(bl,{bg:"white",position:"relative",textAlign:"center",p:6,borderRadius:"8px",width:"auto",children:[d.jsx(qt,{"aria-label":"Cerrar modal",icon:d.jsx(kl,{}),size:"sm",variant:"ghost",position:"absolute",top:3,right:3,onClick:t}),d.jsxs(dt,{direction:"column",align:"center",gap:0,children:[d.jsx(BI,{}),d.jsx(xl,{fontSize:"xl",fontWeight:"bold",color:"success.400",fontFamily:"Body",children:"¡Enhorabuena!"}),d.jsx(yl,{children:d.jsxs(Nr,{spacing:3,justifyContent:"center",children:[d.jsx(NI,{}),d.jsx(Be,{children:n})]})}),d.jsx(ef,{children:d.jsx(ln,{backgroundColor:`${o}.500`,color:"white",_hover:{backgroundColor:`${o}.600`},onClick:i,children:r})})]})]})]});Fe.AccordionCustom=bI,Fe.AudioButtons=OI,Fe.Button=DM,Fe.CanaiaProvider=rM,Fe.CardCustom=TI,Fe.ChatAssistant=RO,Fe.ChatInput=fI,Fe.ChatUser=BO,Fe.CustomBox=_I,Fe.CustomCheckBox=FI,Fe.CustomProgressBar=kI,Fe.DragAndDrop=OO,Fe.Header=dI,Fe.Input=DO,Fe.InputPhone=zO,Fe.MenuListCustom=yI,Fe.MetricCustom=jI,Fe.ModalCustom=mI,Fe.ModalFeedback=LI,Fe.MultiInput=LO,Fe.PhotoUpload=FM,Fe.PositiveModal=RI,Fe.SegmentedControl=AI,Fe.Select=uM,Fe.SideBar=hI,Fe.Spinner=EI,Fe.StatusCustom=SI,Fe.Steps=zM,Fe.SwitchCustom=DI,Fe.Tabs=II,Fe.TabsOptions=zI,Fe.TagSelector=$I,Fe.Text=IO,Fe.TextareaCustom=xI,Fe.Toast=_4,Fe.useCustomToast=j4,Object.defineProperty(Fe,Symbol.toStringTag,{value:"Module"})});
|