@canaia/ui-kit 0.0.10-alpha.70 → 0.0.10-alpha.73
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.
- package/dist/canaia-ui-kit.es.js +21068 -12312
- package/dist/canaia-ui-kit.umd.js +73 -41
- package/dist/src/components/ChatAssistant/helper/ThreeDotsSpinner.d.ts +3 -0
- package/dist/src/components/Header/Header.d.ts +1 -1
- package/dist/src/components/NegativeModal/NegativeModal.d.ts +3 -0
- package/dist/src/components/NegativeModal/NegativeModal.types.d.ts +9 -0
- package/dist/src/components/NegativeModal/index.d.ts +2 -0
- package/dist/src/components/PositiveModal/PositiveModal.types.d.ts +4 -0
- package/dist/src/index.d.ts +1 -0
- package/package.json +4 -2
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(Re,b){typeof exports=="object"&&typeof module<"u"?b(exports,require("react"),require("react-dom")):typeof define=="function"&&define.amd?define(["exports","react","react-dom"],b):(Re=typeof globalThis<"u"?globalThis:Re||self,b(Re.CanaiaUiKit={},Re.React,Re.ReactDOM))})(this,function(Re,b,g1){"use strict";var k5,S5,T5,_5,E5,P5,A5,j5,I5,M5,D5,O5,F5,z5,L5,$5,B5;function q5(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=q5(b);var Ki=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function sa(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var zc={exports:{}},la={};/**
|
|
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
|
|
9
|
+
*/var y1;function G5(){if(y1)return la;y1=1;var e=b,t=Symbol.for("react.element"),n=Symbol.for("react.fragment"),r=Object.prototype.hasOwnProperty,i=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,o={key:!0,ref:!0,__self:!0,__source:!0};function a(s,l,c){var u,d={},f=null,p=null;c!==void 0&&(f=""+c),l.key!==void 0&&(f=""+l.key),l.ref!==void 0&&(p=l.ref);for(u in l)r.call(l,u)&&!o.hasOwnProperty(u)&&(d[u]=l[u]);if(s&&s.defaultProps)for(u in l=s.defaultProps,l)d[u]===void 0&&(d[u]=l[u]);return{$$typeof:t,type:s,key:f,ref:p,props:d,_owner:i.current}}return la.Fragment=n,la.jsx=a,la.jsxs=a,la}var ca={};/**
|
|
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
|
|
18
|
-
`+
|
|
19
|
-
`),
|
|
20
|
-
`),
|
|
21
|
-
`+
|
|
17
|
+
*/var v1;function Z5(){return v1||(v1=1,process.env.NODE_ENV!=="production"&&function(){var e=b,t=Symbol.for("react.element"),n=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),o=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"),d=Symbol.for("react.memo"),f=Symbol.for("react.lazy"),p=Symbol.for("react.offscreen"),m=Symbol.iterator,g="@@iterator";function y(M){if(M===null||typeof M!="object")return null;var se=m&&M[m]||M[g];return typeof se=="function"?se:null}var v=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function x(M){{for(var se=arguments.length,be=new Array(se>1?se-1:0),Fe=1;Fe<se;Fe++)be[Fe-1]=arguments[Fe];w("error",M,be)}}function w(M,se,be){{var Fe=v.ReactDebugCurrentFrame,Ve=Fe.getStackAddendum();Ve!==""&&(se+="%s",be=be.concat([Ve]));var Je=be.map(function(We){return String(We)});Je.unshift("Warning: "+se),Function.prototype.apply.call(console[M],console,Je)}}var E=!1,k=!1,T=!1,I=!1,D=!1,$;$=Symbol.for("react.module.reference");function P(M){return!!(typeof M=="string"||typeof M=="function"||M===r||M===o||D||M===i||M===c||M===u||I||M===p||E||k||T||typeof M=="object"&&M!==null&&(M.$$typeof===f||M.$$typeof===d||M.$$typeof===a||M.$$typeof===s||M.$$typeof===l||M.$$typeof===$||M.getModuleId!==void 0))}function W(M,se,be){var Fe=M.displayName;if(Fe)return Fe;var Ve=se.displayName||se.name||"";return Ve!==""?be+"("+Ve+")":be}function Z(M){return M.displayName||"Context"}function ne(M){if(M==null)return null;if(typeof M.tag=="number"&&x("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof M=="function")return M.displayName||M.name||null;if(typeof M=="string")return M;switch(M){case r:return"Fragment";case n:return"Portal";case o:return"Profiler";case i:return"StrictMode";case c:return"Suspense";case u:return"SuspenseList"}if(typeof M=="object")switch(M.$$typeof){case s:var se=M;return Z(se)+".Consumer";case a:var be=M;return Z(be._context)+".Provider";case l:return W(M,M.render,"ForwardRef");case d:var Fe=M.displayName||null;return Fe!==null?Fe:ne(M.type)||"Memo";case f:{var Ve=M,Je=Ve._payload,We=Ve._init;try{return ne(We(Je))}catch{return null}}}return null}var z=Object.assign,q=0,X,N,ce,he,C,R,J;function S(){}S.__reactDisabledLog=!0;function V(){{if(q===0){X=console.log,N=console.info,ce=console.warn,he=console.error,C=console.group,R=console.groupCollapsed,J=console.groupEnd;var M={configurable:!0,enumerable:!0,value:S,writable:!0};Object.defineProperties(console,{info:M,log:M,warn:M,error:M,group:M,groupCollapsed:M,groupEnd:M})}q++}}function _(){{if(q--,q===0){var M={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:z({},M,{value:X}),info:z({},M,{value:N}),warn:z({},M,{value:ce}),error:z({},M,{value:he}),group:z({},M,{value:C}),groupCollapsed:z({},M,{value:R}),groupEnd:z({},M,{value:J})})}q<0&&x("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var Q=v.ReactCurrentDispatcher,ie;function re(M,se,be){{if(ie===void 0)try{throw Error()}catch(Ve){var Fe=Ve.stack.trim().match(/\n( *(at )?)/);ie=Fe&&Fe[1]||""}return`
|
|
18
|
+
`+ie+M}}var me=!1,pe;{var ke=typeof WeakMap=="function"?WeakMap:Map;pe=new ke}function K(M,se){if(!M||me)return"";{var be=pe.get(M);if(be!==void 0)return be}var Fe;me=!0;var Ve=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var Je;Je=Q.current,Q.current=null,V();try{if(se){var We=function(){throw Error()};if(Object.defineProperty(We.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(We,[])}catch(xe){Fe=xe}Reflect.construct(M,[],We)}else{try{We.call()}catch(xe){Fe=xe}M.call(We.prototype)}}else{try{throw Error()}catch(xe){Fe=xe}M()}}catch(xe){if(xe&&Fe&&typeof xe.stack=="string"){for(var He=xe.stack.split(`
|
|
19
|
+
`),Rt=Fe.stack.split(`
|
|
20
|
+
`),Mt=He.length-1,A=Rt.length-1;Mt>=1&&A>=0&&He[Mt]!==Rt[A];)A--;for(;Mt>=1&&A>=0;Mt--,A--)if(He[Mt]!==Rt[A]){if(Mt!==1||A!==1)do if(Mt--,A--,A<0||He[Mt]!==Rt[A]){var H=`
|
|
21
|
+
`+He[Mt].replace(" at new "," at ");return M.displayName&&H.includes("<anonymous>")&&(H=H.replace("<anonymous>",M.displayName)),typeof M=="function"&&pe.set(M,H),H}while(Mt>=1&&A>=0);break}}}finally{me=!1,Q.current=Je,_(),Error.prepareStackTrace=Ve}var te=M?M.displayName||M.name:"",ae=te?re(te):"";return typeof M=="function"&&pe.set(M,ae),ae}function je(M,se,be){return K(M,!1)}function $e(M){var se=M.prototype;return!!(se&&se.isReactComponent)}function F(M,se,be){if(M==null)return"";if(typeof M=="function")return K(M,$e(M));if(typeof M=="string")return re(M);switch(M){case c:return re("Suspense");case u:return re("SuspenseList")}if(typeof M=="object")switch(M.$$typeof){case l:return je(M.render);case d:return F(M.type,se,be);case f:{var Fe=M,Ve=Fe._payload,Je=Fe._init;try{return F(Je(Ve),se,be)}catch{}}}return""}var ee=Object.prototype.hasOwnProperty,oe={},we=v.ReactDebugCurrentFrame;function ye(M){if(M){var se=M._owner,be=F(M.type,M._source,se?se.type:null);we.setExtraStackFrame(be)}else we.setExtraStackFrame(null)}function ve(M,se,be,Fe,Ve){{var Je=Function.call.bind(ee);for(var We in M)if(Je(M,We)){var He=void 0;try{if(typeof M[We]!="function"){var Rt=Error((Fe||"React class")+": "+be+" type `"+We+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof M[We]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw Rt.name="Invariant Violation",Rt}He=M[We](se,We,Fe,be,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(Mt){He=Mt}He&&!(He instanceof Error)&&(ye(Ve),x("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",Fe||"React class",be,We,typeof He),ye(null)),He instanceof Error&&!(He.message in oe)&&(oe[He.message]=!0,ye(Ve),x("Failed %s type: %s",be,He.message),ye(null))}}}var Pe=Array.isArray;function Be(M){return Pe(M)}function ge(M){{var se=typeof Symbol=="function"&&Symbol.toStringTag,be=se&&M[Symbol.toStringTag]||M.constructor.name||"Object";return be}}function Y(M){try{return le(M),!1}catch{return!0}}function le(M){return""+M}function O(M){if(Y(M))return x("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",ge(M)),le(M)}var U=v.ReactCurrentOwner,ue={key:!0,ref:!0,__self:!0,__source:!0},_e,Ae;function nt(M){if(ee.call(M,"ref")){var se=Object.getOwnPropertyDescriptor(M,"ref").get;if(se&&se.isReactWarning)return!1}return M.ref!==void 0}function Ct(M){if(ee.call(M,"key")){var se=Object.getOwnPropertyDescriptor(M,"key").get;if(se&&se.isReactWarning)return!1}return M.key!==void 0}function It(M,se){typeof M.ref=="string"&&U.current}function Ye(M,se){{var be=function(){_e||(_e=!0,x("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",se))};be.isReactWarning=!0,Object.defineProperty(M,"key",{get:be,configurable:!0})}}function Et(M,se){{var be=function(){Ae||(Ae=!0,x("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",se))};be.isReactWarning=!0,Object.defineProperty(M,"ref",{get:be,configurable:!0})}}var ht=function(M,se,be,Fe,Ve,Je,We){var He={$$typeof:t,type:M,key:se,ref:be,props:We,_owner:Je};return He._store={},Object.defineProperty(He._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(He,"_self",{configurable:!1,enumerable:!1,writable:!1,value:Fe}),Object.defineProperty(He,"_source",{configurable:!1,enumerable:!1,writable:!1,value:Ve}),Object.freeze&&(Object.freeze(He.props),Object.freeze(He)),He};function Xt(M,se,be,Fe,Ve){{var Je,We={},He=null,Rt=null;be!==void 0&&(O(be),He=""+be),Ct(se)&&(O(se.key),He=""+se.key),nt(se)&&(Rt=se.ref,It(se,Ve));for(Je in se)ee.call(se,Je)&&!ue.hasOwnProperty(Je)&&(We[Je]=se[Je]);if(M&&M.defaultProps){var Mt=M.defaultProps;for(Je in Mt)We[Je]===void 0&&(We[Je]=Mt[Je])}if(He||Rt){var A=typeof M=="function"?M.displayName||M.name||"Unknown":M;He&&Ye(We,A),Rt&&Et(We,A)}return ht(M,He,Rt,Ve,Fe,U.current,We)}}var Pt=v.ReactCurrentOwner,Zn=v.ReactDebugCurrentFrame;function nr(M){if(M){var se=M._owner,be=F(M.type,M._source,se?se.type:null);Zn.setExtraStackFrame(be)}else Zn.setExtraStackFrame(null)}var rr;rr=!1;function ui(M){return typeof M=="object"&&M!==null&&M.$$typeof===t}function Fn(){{if(Pt.current){var M=ne(Pt.current.type);if(M)return`
|
|
22
22
|
|
|
23
|
-
Check the render method of \``+
|
|
23
|
+
Check the render method of \``+M+"`."}return""}}function di(M){return""}var ir={};function Kn(M){{var se=Fn();if(!se){var be=typeof M=="string"?M:M.displayName||M.name;be&&(se=`
|
|
24
24
|
|
|
25
|
-
Check the top-level render call using <`+
|
|
25
|
+
Check the top-level render call using <`+be+">.")}return se}}function Ui(M,se){{if(!M._store||M._store.validated||M.key!=null)return;M._store.validated=!0;var be=Kn(se);if(ir[be])return;ir[be]=!0;var Fe="";M&&M._owner&&M._owner!==Pt.current&&(Fe=" It was passed a child from "+ne(M._owner.type)+"."),nr(M),x('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',be,Fe),nr(null)}}function Gr(M,se){{if(typeof M!="object")return;if(Be(M))for(var be=0;be<M.length;be++){var Fe=M[be];ui(Fe)&&Ui(Fe,se)}else if(ui(M))M._store&&(M._store.validated=!0);else if(M){var Ve=y(M);if(typeof Ve=="function"&&Ve!==M.entries)for(var Je=Ve.call(M),We;!(We=Je.next()).done;)ui(We.value)&&Ui(We.value,se)}}}function En(M){{var se=M.type;if(se==null||typeof se=="string")return;var be;if(typeof se=="function")be=se.propTypes;else if(typeof se=="object"&&(se.$$typeof===l||se.$$typeof===d))be=se.propTypes;else return;if(be){var Fe=ne(se);ve(be,M.props,"prop",Fe,M)}else if(se.PropTypes!==void 0&&!rr){rr=!0;var Ve=ne(se);x("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",Ve||"Unknown")}typeof se.getDefaultProps=="function"&&!se.getDefaultProps.isReactClassApproved&&x("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function Qo(M){{for(var se=Object.keys(M.props),be=0;be<se.length;be++){var Fe=se[be];if(Fe!=="children"&&Fe!=="key"){nr(M),x("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",Fe),nr(null);break}}M.ref!==null&&(nr(M),x("Invalid attribute `ref` supplied to `React.Fragment`."),nr(null))}}var ea={};function Zr(M,se,be,Fe,Ve,Je){{var We=P(M);if(!We){var He="";(M===void 0||typeof M=="object"&&M!==null&&Object.keys(M).length===0)&&(He+=" 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 Rt=di();Rt?He+=Rt:He+=Fn();var Mt;M===null?Mt="null":Be(M)?Mt="array":M!==void 0&&M.$$typeof===t?(Mt="<"+(ne(M.type)||"Unknown")+" />",He=" Did you accidentally export a JSX literal instead of a component?"):Mt=typeof M,x("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",Mt,He)}var A=Xt(M,se,be,Ve,Je);if(A==null)return A;if(We){var H=se.children;if(H!==void 0)if(Fe)if(Be(H)){for(var te=0;te<H.length;te++)Gr(H[te],M);Object.freeze&&Object.freeze(H)}else x("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else Gr(H,M)}if(ee.call(se,"key")){var ae=ne(M),xe=Object.keys(se).filter(function(mt){return mt!=="key"}),Ee=xe.length>0?"{key: someKey, "+xe.join(": ..., ")+": ...}":"{key: someKey}";if(!ea[ae+Ee]){var Le=xe.length>0?"{"+xe.join(": ..., ")+": ...}":"{}";x(`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} />`,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]",ue="[object Float64Array]",se="[object Int8Array]",L="[object Int16Array]",Z="[object Int32Array]",Y="[object Uint8Array]",N="[object Uint8ClampedArray]",ce="[object Uint16Array]",he="[object Uint32Array]",O=/[\\^$.*+?()[\]{}|]/g,F=/^\[object .+?Constructor\]$/,G=/^(?:0|[1-9]\d*)$/,V={};V[X]=V[ue]=V[se]=V[L]=V[Z]=V[Y]=V[N]=V[ce]=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),le=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 K(_,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(_)?le: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):K(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"&&G.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(
|
|
30
|
+
<%s key={someKey} {...props} />`,Ee,ae,Le,ae),ea[ae+Ee]=!0}}return M===r?Qo(A):En(A),A}}function or(M,se,be){return Zr(M,se,be,!0)}function qi(M,se,be){return Zr(M,se,be,!1)}var ar=qi,ta=or;ca.Fragment=r,ca.jsx=ar,ca.jsxs=ta}()),ca}process.env.NODE_ENV==="production"?zc.exports=G5():zc.exports=Z5();var h=zc.exports;function Rs(e){return e!=null&&typeof e=="object"&&"nodeType"in e&&e.nodeType===Node.ELEMENT_NODE}function K5(){return!!(globalThis!=null&&globalThis.document)}function b1(e){return e.parentElement&&b1(e.parentElement)?!0:e.hidden}function Y5(e){const t=e.getAttribute("contenteditable");return t!=="false"&&t!=null}function X5(e){return!!e.getAttribute("disabled")||!!e.getAttribute("aria-disabled")}function J5(e){var t;return((t=x1(e))==null?void 0:t.defaultView)??window}function x1(e){return Rs(e)?e.ownerDocument:document}function Q5(e){return x1(e).activeElement}function eb(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 i in r)Object.prototype.hasOwnProperty.call(r,i)&&(i in n&&delete n[i],n[i]=r[i]);return n}const Ue=e=>e?"":void 0,Lc=e=>e?!0:void 0;function $c(e){return Array.isArray(e)}function un(e){const t=typeof e;return e!=null&&(t==="object"||t==="function")&&!$c(e)}function tb(e){const t=e==null?0:e.length;return t?e[t-1]:void 0}function nb(e){const t=parseFloat(e.toString()),n=e.toString().replace(String(t),"");return{unitless:!n,value:t,unit:n}}function Bc(e){if(e==null)return e;const{unitless:t}=nb(e);return t||typeof e=="number"?`${e}px`:e}const C1=(e,t)=>parseInt(e[1],10)>parseInt(t[1],10)?1:-1,Rc=e=>Object.fromEntries(Object.entries(e).sort(C1));function w1(e){const t=Rc(e);return Object.assign(Object.values(t),t)}function rb(e){const t=Object.keys(Rc(e));return new Set(t)}function k1(e){if(!e)return e;e=Bc(e)??e;const t=-.02;return typeof e=="number"?`${e+t}`:e.replace(/(\d+\.?\d*)/u,n=>`${parseFloat(n)+t}`)}function ua(e,t){const n=["@media screen"];return e&&n.push("and",`(min-width: ${Bc(e)})`),t&&n.push("and",`(max-width: ${Bc(t)})`),n.join(" ")}function ib(e){if(!e)return null;e.base=e.base??"0px";const t=w1(e),n=Object.entries(e).sort(C1).map(([o,a],s,l)=>{let[,c]=l[s+1]??[];return c=parseFloat(c)>0?k1(c):void 0,{_minW:k1(a),breakpoint:o,minW:a,maxW:c,maxWQuery:ua(null,c),minWQuery:ua(a),minMaxQuery:ua(a,c)}}),r=rb(e),i=Array.from(r.values());return{keys:r,normalized:t,isResponsive(o){const a=Object.keys(o);return a.length>0&&a.every(s=>r.has(s))},asObject:Rc(e),asArray:w1(e),details:n,get(o){return n.find(a=>a.breakpoint===o)},media:[null,...t.map(o=>ua(o)).slice(1)],toArrayValue(o){if(!un(o))throw new Error("toArrayValue: value must be an object");const a=i.map(s=>o[s]??null);for(;tb(a)===null;)a.pop();return a},toObjectValue(o){if(!Array.isArray(o))throw new Error("toObjectValue: value must be an array");return o.reduce((a,s,l)=>{const c=i[l];return c!=null&&s!=null&&(a[c]=s),a},{})}}}function S1(...e){return function(...n){e.forEach(r=>r==null?void 0:r(...n))}}function tt(...e){return function(n){e.some(r=>(r==null||r(n),n==null?void 0:n.defaultPrevented))}}function Nc(e){return b.Children.toArray(e).filter(t=>b.isValidElement(t))}function da(e){const t=Object.assign({},e);for(let n in t)t[n]===void 0&&delete t[n];return t}function ob(e,t){return`${e} returned \`undefined\`. Seems you forgot to wrap component within ${t}`}function St(e={}){const{name:t,strict:n=!0,hookName:r="useContext",providerName:i="Provider",errorMessage:o,defaultValue:a}=e,s=b.createContext(a);s.displayName=t;function l(){var u;const c=b.useContext(s);if(!c&&n){const d=new Error(o??ob(r,i));throw d.name="ContextError",(u=Error.captureStackTrace)==null||u.call(Error,d,l),d}return c}return[s.Provider,l,s]}const Ie=(...e)=>e.filter(Boolean).join(" "),T1=e=>e.hasAttribute("tabindex"),ab=e=>T1(e)&&e.tabIndex===-1;function _1(e){if(!Rs(e)||b1(e)||X5(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]():Y5(e)?!0:T1(e)}function sb(e){return e?Rs(e)&&_1(e)&&!ab(e):!1}const lb=["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(),cb=e=>e.offsetWidth>0&&e.offsetHeight>0;function ub(e){const t=Array.from(e.querySelectorAll(lb));return t.unshift(e),t.filter(n=>_1(n)&&cb(n))}function E1(e,t,n,r){const i=typeof t=="string"?t.split("."):[t];for(r=0;r<i.length&&e;r+=1)e=e[i[r]];return e===void 0?n:e}const P1=(e=>{const t=new WeakMap;return(r,i,o,a)=>{if(typeof r>"u")return e(r,i,o);t.has(r)||t.set(r,new Map);const s=t.get(r);if(s.has(i))return s.get(i);const l=e(r,i,o,a);return s.set(i,l),l}})(E1),db=e=>e.default||e;function fb(e){const{wasSelected:t,enabled:n,isSelected:r,mode:i="unmount"}=e;return!!(!n||r||i==="keepMounted"&&t)}function Yi(e,t=[]){const n=Object.assign({},e);for(const r of t)r in n&&delete n[r];return n}function A1(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function pb(e,t){return Array.isArray(e)?e.map(n=>n===null?null:t(n)):un(e)?Object.keys(e).reduce((n,r)=>(n[r]=t(e[r]),n),{}):e!=null?t(e):null}const hb=e=>typeof e=="function";function Pn(e,...t){return hb(e)?e(...t):e}function mb(e){const t=e.ownerDocument.defaultView||window,{overflow:n,overflowX:r,overflowY:i}=t.getComputedStyle(e);return/auto|scroll|overlay|hidden/.test(n+i+r)}function gb(e){return e.localName==="html"?e:e.assignedSlot||e.parentElement||e.ownerDocument.documentElement}function j1(e){return["html","body","#document"].includes(e.localName)?e.ownerDocument.body:Rs(e)&&mb(e)?e:j1(gb(e))}function yb(e,t){const n={},r={};for(const[i,o]of Object.entries(e))t.includes(i)?n[i]=o:r[i]=o;return[n,r]}function vb(e,...t){const n=Object.getOwnPropertyDescriptors(e),r=Object.keys(n),i=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},o=a=>i(Array.isArray(a)?a:r.filter(a));return t.map(o).concat(i(r))}function I1(e,t,n={}){const{stop:r,getKey:i}=n;function o(a,s=[]){if(un(a)||Array.isArray(a)){const l={};for(const[c,u]of Object.entries(a)){const d=(i==null?void 0:i(c))??c,f=[...s,d];if(r!=null&&r(a,f))return t(a,s);l[d]=o(u,f)}return l}return t(a,s)}return o(e)}const fa=e=>{const{condition:t,message:n}=e;t&&process.env.NODE_ENV!=="production"&&console.warn(n)};var Ns={exports:{}};Ns.exports,function(e,t){var n=200,r="__lodash_hash_undefined__",i=800,o=16,a=9007199254740991,s="[object Arguments]",l="[object Array]",c="[object AsyncFunction]",u="[object Boolean]",d="[object Date]",f="[object Error]",p="[object Function]",m="[object GeneratorFunction]",g="[object Map]",y="[object Number]",v="[object Null]",x="[object Object]",w="[object Proxy]",E="[object RegExp]",k="[object Set]",T="[object String]",I="[object Undefined]",D="[object WeakMap]",$="[object ArrayBuffer]",P="[object DataView]",W="[object Float32Array]",Z="[object Float64Array]",ne="[object Int8Array]",z="[object Int16Array]",q="[object Int32Array]",X="[object Uint8Array]",N="[object Uint8ClampedArray]",ce="[object Uint16Array]",he="[object Uint32Array]",C=/[\\^$.*+?()[\]{}|]/g,R=/^\[object .+?Constructor\]$/,J=/^(?:0|[1-9]\d*)$/,S={};S[W]=S[Z]=S[ne]=S[z]=S[q]=S[X]=S[N]=S[ce]=S[he]=!0,S[s]=S[l]=S[$]=S[u]=S[P]=S[d]=S[f]=S[p]=S[g]=S[y]=S[x]=S[E]=S[k]=S[T]=S[D]=!1;var V=typeof Ki=="object"&&Ki&&Ki.Object===Object&&Ki,_=typeof self=="object"&&self&&self.Object===Object&&self,Q=V||_||Function("return this")(),ie=t&&!t.nodeType&&t,re=ie&&!0&&e&&!e.nodeType&&e,me=re&&re.exports===ie,pe=me&&V.process,ke=function(){try{var j=re&&re.require&&re.require("util").types;return j||pe&&pe.binding&&pe.binding("util")}catch{}}(),K=ke&&ke.isTypedArray;function je(j,B,G){switch(G.length){case 0:return j.call(B);case 1:return j.call(B,G[0]);case 2:return j.call(B,G[0],G[1]);case 3:return j.call(B,G[0],G[1],G[2])}return j.apply(B,G)}function $e(j,B){for(var G=-1,Te=Array(j);++G<j;)Te[G]=B(G);return Te}function F(j){return function(B){return j(B)}}function ee(j,B){return j==null?void 0:j[B]}function oe(j,B){return function(G){return j(B(G))}}var we=Array.prototype,ye=Function.prototype,ve=Object.prototype,Pe=Q["__core-js_shared__"],Be=ye.toString,ge=ve.hasOwnProperty,Y=function(){var j=/[^.]+$/.exec(Pe&&Pe.keys&&Pe.keys.IE_PROTO||"");return j?"Symbol(src)_1."+j:""}(),le=ve.toString,O=Be.call(Object),U=RegExp("^"+Be.call(ge).replace(C,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),ue=me?Q.Buffer:void 0,_e=Q.Symbol,Ae=Q.Uint8Array;ue&&ue.allocUnsafe;var nt=oe(Object.getPrototypeOf,Object),Ct=Object.create,It=ve.propertyIsEnumerable,Ye=we.splice,Et=_e?_e.toStringTag:void 0,ht=function(){try{var j=rt(Object,"defineProperty");return j({},"",{}),j}catch{}}(),Xt=ue?ue.isBuffer:void 0,Pt=Math.max,Zn=Date.now,nr=rt(Q,"Map"),rr=rt(Object,"create"),ui=function(){function j(){}return function(B){if(!Zi(B))return{};if(Ct)return Ct(B);j.prototype=B;var G=new j;return j.prototype=void 0,G}}();function Fn(j){var B=-1,G=j==null?0:j.length;for(this.clear();++B<G;){var Te=j[B];this.set(Te[0],Te[1])}}function di(){this.__data__=rr?rr(null):{},this.size=0}function ir(j){var B=this.has(j)&&delete this.__data__[j];return this.size-=B?1:0,B}function Kn(j){var B=this.__data__;if(rr){var G=B[j];return G===r?void 0:G}return ge.call(B,j)?B[j]:void 0}function Ui(j){var B=this.__data__;return rr?B[j]!==void 0:ge.call(B,j)}function Gr(j,B){var G=this.__data__;return this.size+=this.has(j)?0:1,G[j]=rr&&B===void 0?r:B,this}Fn.prototype.clear=di,Fn.prototype.delete=ir,Fn.prototype.get=Kn,Fn.prototype.has=Ui,Fn.prototype.set=Gr;function En(j){var B=-1,G=j==null?0:j.length;for(this.clear();++B<G;){var Te=j[B];this.set(Te[0],Te[1])}}function Qo(){this.__data__=[],this.size=0}function ea(j){var B=this.__data__,G=ae(B,j);if(G<0)return!1;var Te=B.length-1;return G==Te?B.pop():Ye.call(B,G,1),--this.size,!0}function Zr(j){var B=this.__data__,G=ae(B,j);return G<0?void 0:B[G][1]}function or(j){return ae(this.__data__,j)>-1}function qi(j,B){var G=this.__data__,Te=ae(G,j);return Te<0?(++this.size,G.push([j,B])):G[Te][1]=B,this}En.prototype.clear=Qo,En.prototype.delete=ea,En.prototype.get=Zr,En.prototype.has=or,En.prototype.set=qi;function ar(j){var B=-1,G=j==null?0:j.length;for(this.clear();++B<G;){var Te=j[B];this.set(Te[0],Te[1])}}function ta(){this.size=0,this.__data__={hash:new Fn,map:new(nr||En),string:new Fn}}function M(j){var B=it(this,j).delete(j);return this.size-=B?1:0,B}function se(j){return it(this,j).get(j)}function be(j){return it(this,j).has(j)}function Fe(j,B){var G=it(this,j),Te=G.size;return G.set(j,B),this.size+=G.size==Te?0:1,this}ar.prototype.clear=ta,ar.prototype.delete=M,ar.prototype.get=se,ar.prototype.has=be,ar.prototype.set=Fe;function Ve(j){var B=this.__data__=new En(j);this.size=B.size}function Je(){this.__data__=new En,this.size=0}function We(j){var B=this.__data__,G=B.delete(j);return this.size=B.size,G}function He(j){return this.__data__.get(j)}function Rt(j){return this.__data__.has(j)}function Mt(j,B){var G=this.__data__;if(G instanceof En){var Te=G.__data__;if(!nr||Te.length<n-1)return Te.push([j,B]),this.size=++G.size,this;G=this.__data__=new ar(Te)}return G.set(j,B),this.size=G.size,this}Ve.prototype.clear=Je,Ve.prototype.delete=We,Ve.prototype.get=He,Ve.prototype.has=Rt,Ve.prototype.set=Mt;function A(j,B){var G=mi(j),Te=!G&&aa(j),et=!G&&!Te&&R5(j),kt=!G&&!Te&&!et&&V5(j),Dt=G||Te||et||kt,ut=Dt?$e(j.length,String):[],Ot=ut.length;for(var lr in j)Dt&&(lr=="length"||et&&(lr=="offset"||lr=="parent")||kt&&(lr=="buffer"||lr=="byteLength"||lr=="byteOffset")||Gi(lr,Ot))||ut.push(lr);return ut}function H(j,B,G){(G!==void 0&&!Yr(j[B],G)||G===void 0&&!(B in j))&&xe(j,B,G)}function te(j,B,G){var Te=j[B];(!(ge.call(j,B)&&Yr(Te,G))||G===void 0&&!(B in j))&&xe(j,B,G)}function ae(j,B){for(var G=j.length;G--;)if(Yr(j[G][0],B))return G;return-1}function xe(j,B,G){B=="__proto__"&&ht?ht(j,B,{configurable:!0,enumerable:!0,value:G,writable:!0}):j[B]=G}var Ee=f1();function Le(j){return j==null?j===void 0?I:v:Et&&Et in Object(j)?zs(j):hi(j)}function mt(j){return $s(j)&&Le(j)==s}function wt(j){if(!Zi(j)||Ir(j))return!1;var B=p1(j)?U:R;return B.test(oa(j))}function gt(j){return $s(j)&&N5(j.length)&&!!S[Le(j)]}function Qe(j){if(!Zi(j))return na(j);var B=pi(j),G=[];for(var Te in j)Te=="constructor"&&(B||!ge.call(j,Te))||G.push(Te);return G}function yn(j,B,G,Te,et){j!==B&&Ee(B,function(kt,Dt){if(et||(et=new Ve),Zi(kt))Kt(j,B,Dt,G,yn,Te,et);else{var ut=Te?Te(ra(j,Dt),kt,Dt+"",j,B,et):void 0;ut===void 0&&(ut=kt),H(j,Dt,ut)}},W5)}function Kt(j,B,G,Te,et,kt,Dt){var ut=ra(j,G),Ot=ra(B,G),lr=Dt.get(Ot);if(lr){H(j,G,lr);return}var Ln=kt?kt(ut,Ot,G+"",j,B,Dt):void 0,Bs=Ln===void 0;if(Bs){var h1=mi(Ot),m1=!h1&&R5(Ot),U5=!h1&&!m1&&V5(Ot);Ln=Ot,h1||m1||U5?mi(ut)?Ln=ut:cH(ut)?Ln=Oc(ut):m1?(Bs=!1,Ln=zn(Ot)):U5?(Bs=!1,Ln=jr(Ot)):Ln=[]:uH(Ot)||aa(Ot)?(Ln=ut,aa(ut)?Ln=dH(ut):(!Zi(ut)||p1(ut))&&(Ln=Kr(Ot))):Bs=!1}Bs&&(Dt.set(Ot,Ln),et(Ln,Ot,Te,kt,Dt),Dt.delete(Ot)),H(j,G,Ln)}function Wt(j,B){return ia(Mr(j,B,H5),j+"")}var qt=ht?function(j,B){return ht(j,"toString",{configurable:!0,enumerable:!1,value:pH(B),writable:!0})}:H5;function zn(j,B){return j.slice()}function fi(j){var B=new j.constructor(j.byteLength);return new Ae(B).set(new Ae(j)),B}function jr(j,B){var G=fi(j.buffer);return new j.constructor(G,j.byteOffset,j.length)}function Oc(j,B){var G=-1,Te=j.length;for(B||(B=Array(Te));++G<Te;)B[G]=j[G];return B}function Fc(j,B,G,Te){var et=!G;G||(G={});for(var kt=-1,Dt=B.length;++kt<Dt;){var ut=B[kt],Ot=void 0;Ot===void 0&&(Ot=j[ut]),et?xe(G,ut,Ot):te(G,ut,Ot)}return G}function d1(j){return Wt(function(B,G){var Te=-1,et=G.length,kt=et>1?G[et-1]:void 0,Dt=et>2?G[2]:void 0;for(kt=j.length>3&&typeof kt=="function"?(et--,kt):void 0,Dt&&vn(G[0],G[1],Dt)&&(kt=et<3?void 0:kt,et=1),B=Object(B);++Te<et;){var ut=G[Te];ut&&j(B,ut,Te,kt)}return B})}function f1(j){return function(B,G,Te){for(var et=-1,kt=Object(B),Dt=Te(B),ut=Dt.length;ut--;){var Ot=Dt[++et];if(G(kt[Ot],Ot,kt)===!1)break}return B}}function it(j,B){var G=j.__data__;return sr(B)?G[typeof B=="string"?"string":"hash"]:G.map}function rt(j,B){var G=ee(j,B);return wt(G)?G:void 0}function zs(j){var B=ge.call(j,Et),G=j[Et];try{j[Et]=void 0;var Te=!0}catch{}var et=le.call(j);return Te&&(B?j[Et]=G:delete j[Et]),et}function Kr(j){return typeof j.constructor=="function"&&!pi(j)?ui(nt(j)):{}}function Gi(j,B){var G=typeof j;return B=B??a,!!B&&(G=="number"||G!="symbol"&&J.test(j))&&j>-1&&j%1==0&&j<B}function vn(j,B,G){if(!Zi(G))return!1;var Te=typeof B;return(Te=="number"?gi(G)&&Gi(B,G.length):Te=="string"&&B in G)?Yr(G[B],j):!1}function sr(j){var B=typeof j;return B=="string"||B=="number"||B=="symbol"||B=="boolean"?j!=="__proto__":j===null}function Ir(j){return!!Y&&Y in j}function pi(j){var B=j&&j.constructor,G=typeof B=="function"&&B.prototype||ve;return j===G}function na(j){var B=[];if(j!=null)for(var G in Object(j))B.push(G);return B}function hi(j){return le.call(j)}function Mr(j,B,G){return B=Pt(B===void 0?j.length-1:B,0),function(){for(var Te=arguments,et=-1,kt=Pt(Te.length-B,0),Dt=Array(kt);++et<kt;)Dt[et]=Te[B+et];et=-1;for(var ut=Array(B+1);++et<B;)ut[et]=Te[et];return ut[B]=G(Dt),je(j,this,ut)}}function ra(j,B){if(!(B==="constructor"&&typeof j[B]=="function")&&B!="__proto__")return j[B]}var ia=Ls(qt);function Ls(j){var B=0,G=0;return function(){var Te=Zn(),et=o-(Te-G);if(G=Te,et>0){if(++B>=i)return arguments[0]}else B=0;return j.apply(void 0,arguments)}}function oa(j){if(j!=null){try{return Be.call(j)}catch{}try{return j+""}catch{}}return""}function Yr(j,B){return j===B||j!==j&&B!==B}var aa=mt(function(){return arguments}())?mt:function(j){return $s(j)&&ge.call(j,"callee")&&!It.call(j,"callee")},mi=Array.isArray;function gi(j){return j!=null&&N5(j.length)&&!p1(j)}function cH(j){return $s(j)&&gi(j)}var R5=Xt||hH;function p1(j){if(!Zi(j))return!1;var B=Le(j);return B==p||B==m||B==c||B==w}function N5(j){return typeof j=="number"&&j>-1&&j%1==0&&j<=a}function Zi(j){var B=typeof j;return j!=null&&(B=="object"||B=="function")}function $s(j){return j!=null&&typeof j=="object"}function uH(j){if(!$s(j)||Le(j)!=x)return!1;var B=nt(j);if(B===null)return!0;var G=ge.call(B,"constructor")&&B.constructor;return typeof G=="function"&&G instanceof G&&Be.call(G)==O}var V5=K?F(K):gt;function dH(j){return Fc(j,W5(j))}function W5(j){return gi(j)?A(j):Qe(j)}var fH=d1(function(j,B,G,Te){yn(j,B,G,Te)});function pH(j){return function(){return j}}function H5(j){return j}function hH(){return!1}e.exports=fH}(Ns,Ns.exports);var bb=Ns.exports;const $n=sa(bb);function Yn(e,t=[]){const n=b.useRef(e);return b.useEffect(()=>{n.current=e}),b.useCallback((...r)=>{var i;return(i=n.current)==null?void 0:i.call(n,...r)},t)}function Vs(e,t,n,r){const i=Yn(n);return b.useEffect(()=>{const o=typeof e=="function"?e():e??document;if(!(!n||!o))return o.addEventListener(t,i,r),()=>{o.removeEventListener(t,i,r)}},[t,e,r,i,n]),()=>{const o=typeof e=="function"?e():e??document;o==null||o.removeEventListener(t,i,r)}}function xb(e){const{isOpen:t,ref:n}=e,[r,i]=b.useState(t),[o,a]=b.useState(!1);return b.useEffect(()=>{o||(i(t),a(!0))},[t,o,r]),Vs(()=>n.current,"animationend",()=>{i(t)}),{present:!(t?!1:!r),onComplete(){var u;const l=J5(n.current),c=new l.CustomEvent("animationend",{bubbles:!0});(u=n.current)==null||u.dispatchEvent(c)}}}function M1(e){const{value:t,defaultValue:n,onChange:r,shouldUpdate:i=(f,p)=>f!==p}=e,o=Yn(r),a=Yn(i),[s,l]=b.useState(n),c=t!==void 0,u=c?t:s,d=Yn(f=>{const m=typeof f=="function"?f(u):f;a(u,m)&&(c||l(m),o(m))},[c,o,u,a]);return[u,d]}function D1(e={}){const{onClose:t,onOpen:n,isOpen:r,id:i}=e,o=Yn(n),a=Yn(t),[s,l]=b.useState(e.defaultIsOpen||!1),c=r!==void 0?r:s,u=r!==void 0,d=b.useId(),f=i??`disclosure-${d}`,p=b.useCallback(()=>{u||l(!1),a==null||a()},[u,a]),m=b.useCallback(()=>{u||l(!0),o==null||o()},[u,o]),g=b.useCallback(()=>{c?p():m()},[c,m,p]);function y(x={}){return{...x,"aria-expanded":c,"aria-controls":f,onClick(w){var E;(E=x.onClick)==null||E.call(x,w),g()}}}function v(x={}){return{...x,hidden:!c,id:f}}return{isOpen:c,onOpen:m,onClose:p,onToggle:g,isControlled:u,getButtonProps:y,getDisclosureProps:v}}const yi=globalThis!=null&&globalThis.document?b.useLayoutEffect:b.useEffect,Xi=(e,t)=>{const n=b.useRef(!1),r=b.useRef(!1);b.useEffect(()=>{if(n.current&&r.current)return e();r.current=!0},t),b.useEffect(()=>(n.current=!0,()=>{n.current=!1}),[])};function Cb(e){const t=e.current;if(!t)return!1;const n=Q5(t);return!n||t.contains(n)?!1:!!sb(n)}function wb(e,t){const{visible:n,focusRef:r}=t,i=!n;Xi(()=>{if(!i||Cb(e))return;const o=(r==null?void 0:r.current)||e.current;let a;if(o)return a=requestAnimationFrame(()=>{o.focus({preventScroll:!0})}),()=>{cancelAnimationFrame(a)}},[i,e,r])}function kb(e,t){const n=b.useId();return b.useMemo(()=>e||[t,n].filter(Boolean).join("-"),[e,t,n])}function Sb(e,...t){const n=kb(e);return b.useMemo(()=>t.map(r=>`${r}-${n}`),[n,t])}function Tb(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 Jt(...e){return t=>{e.forEach(n=>{Tb(n,t)})}}function _b(...e){return b.useMemo(()=>Jt(...e),e)}function Eb(e){const{ref:t,handler:n,enabled:r=!0}=e,i=Yn(n),a=b.useRef({isPointerDown:!1,ignoreEmulatedMouseEvents:!1}).current;b.useEffect(()=>{if(!r)return;const s=d=>{Vc(d,t)&&(a.isPointerDown=!0)},l=d=>{if(a.ignoreEmulatedMouseEvents){a.ignoreEmulatedMouseEvents=!1;return}a.isPointerDown&&n&&Vc(d,t)&&(a.isPointerDown=!1,i(d))},c=d=>{a.ignoreEmulatedMouseEvents=!0,n&&a.isPointerDown&&Vc(d,t)&&(a.isPointerDown=!1,i(d))},u=O1(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,i,a,r])}function Vc(e,t){var r,i;const n=((r=e.composedPath)==null?void 0:r.call(e)[0])??e.target;return n&&!O1(n).contains(n)?!1:!((i=t.current)!=null&&i.contains(n))}function O1(e){return(e==null?void 0:e.ownerDocument)??document}function Pb(e,t){const n=Yn(e);b.useEffect(()=>{if(t==null)return;let r=null;return r=window.setTimeout(()=>{n()},t),()=>{r&&window.clearTimeout(r)}},[t,n])}const Gt={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}`,placeholderShown:(e,t)=>`${e}:placeholder-shown ${t}`},cr=e=>F1(t=>e(t,"&"),"[role=group]","[data-group]",".group"),Dr=e=>F1(t=>e(t,"~ &"),"[data-peer]",".peer"),F1=(e,...t)=>t.map(e).join(", "),Ji={_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:cr(Gt.open),_groupClosed:cr(Gt.closed),_groupHover:cr(Gt.hover),_peerHover:Dr(Gt.hover),_groupFocus:cr(Gt.focus),_peerFocus:Dr(Gt.focus),_groupFocusVisible:cr(Gt.focusVisible),_peerFocusVisible:Dr(Gt.focusVisible),_groupActive:cr(Gt.active),_peerActive:Dr(Gt.active),_groupDisabled:cr(Gt.disabled),_peerDisabled:Dr(Gt.disabled),_groupInvalid:cr(Gt.invalid),_peerInvalid:Dr(Gt.invalid),_groupChecked:cr(Gt.checked),_peerChecked:Dr(Gt.checked),_groupFocusWithin:cr(Gt.focusWithin),_peerFocusWithin:Dr(Gt.focusWithin),_peerPlaceholderShown:Dr(Gt.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]"},z1=Object.keys(Ji),Ab=e=>/!(important)?$/.test(e),L1=e=>typeof e=="string"?e.replace(/!(important)?$/,"").trim():e,jb=(e,t)=>n=>{const r=String(t),i=Ab(r),o=L1(r),a=e?`${e}.${o}`:o;let s=un(n.__cssMap)&&a in n.__cssMap?n.__cssMap[a].varRef:t;return s=L1(s),i?`${s} !important`:s};function Wc(e){const{scale:t,transform:n,compose:r}=e;return(o,a)=>{const s=jb(t,o)(a);let l=(n==null?void 0:n(s,a))??s;return r&&(l=r(l,a)),l}}const Ws=(...e)=>t=>e.reduce((n,r)=>r(n),t);function Bn(e,t){return n=>{const r={property:n,scale:e};return r.transform=Wc({scale:e,transform:t}),r}}const Ib=({rtl:e,ltr:t})=>n=>n.direction==="rtl"?e:t;function Mb(e){const{property:t,scale:n,transform:r}=e;return{scale:n,property:Ib(t),transform:n?Wc({scale:n,compose:r}):r}}const $1=["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 Db(){return["translateX(var(--chakra-translate-x, 0))","translateY(var(--chakra-translate-y, 0))",...$1].join(" ")}function Ob(){return["translate3d(var(--chakra-translate-x, 0), var(--chakra-translate-y, 0), 0)",...$1].join(" ")}const Fb={"--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(" ")},zb={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 Lb(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 $b={"row-reverse":{space:"--chakra-space-x-reverse",divide:"--chakra-divide-x-reverse"},"column-reverse":{space:"--chakra-space-y-reverse",divide:"--chakra-divide-y-reverse"}},Hc={"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"},Bb=new Set(Object.values(Hc)),Uc=new Set(["none","-moz-initial","inherit","initial","revert","unset"]),Rb=e=>e.trim();function Nb(e,t){if(e==null||Uc.has(e))return e;if(!(qc(e)||Uc.has(e)))return`url('${e}')`;const i=/(^[a-z-A-Z]+)\((.*)\)/g.exec(e),o=i==null?void 0:i[1],a=i==null?void 0:i[2];if(!o||!a)return e;const s=o.includes("-gradient")?o:`${o}-gradient`,[l,...c]=a.split(",").map(Rb).filter(Boolean);if((c==null?void 0:c.length)===0)return e;const u=l in Hc?Hc[l]:l;c.unshift(u);const d=c.map(f=>{if(Bb.has(f))return f;const p=f.indexOf(" "),[m,g]=p!==-1?[f.substr(0,p),f.substr(p+1)]:[f],y=qc(g)?g:g&&g.split(" "),v=`colors.${m}`,x=v in t.__cssMap?t.__cssMap[v].varRef:m;return y?[x,...Array.isArray(y)?y:[y]].join(" "):x});return`${s}(${d.join(", ")})`}const qc=e=>typeof e=="string"&&e.includes("(")&&e.includes(")"),Vb=(e,t)=>Nb(e,t??{});function Wb(e){return/^var\(--.+\)$/.test(e)}const Hb=e=>{const t=parseFloat(e.toString()),n=e.toString().replace(String(t),"");return{unitless:!n,value:t,unit:n}},ur=e=>t=>`${e}(${t})`,Ze={filter(e){return e!=="auto"?e:Fb},backdropFilter(e){return e!=="auto"?e:zb},ring(e){return Lb(Ze.px(e))},bgClip(e){return e==="text"?{color:"transparent",backgroundClip:"text"}:{backgroundClip:e}},transform(e){return e==="auto"?Db():e==="auto-gpu"?Ob():e},vh(e){return e==="$100vh"?"var(--chakra-vh)":e},px(e){if(e==null)return e;const{unitless:t}=Hb(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(Wb(e)||e==null)return e;const t=typeof e=="string"&&!e.endsWith("deg");return typeof e=="number"||t?`${e}deg`:e},gradient:Vb,blur:ur("blur"),opacity:ur("opacity"),brightness:ur("brightness"),contrast:ur("contrast"),dropShadow:ur("drop-shadow"),grayscale:ur("grayscale"),hueRotate:e=>ur("hue-rotate")(Ze.degree(e)),invert:ur("invert"),saturate:ur("saturate"),sepia:ur("sepia"),bgImage(e){return e==null||qc(e)||Uc.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}=$b[e]??{},r={flexDirection:e};return t&&(r[t]=1),n&&(r[n]=1),r}},L={borderWidths:Bn("borderWidths"),borderStyles:Bn("borderStyles"),colors:Bn("colors"),borders:Bn("borders"),gradients:Bn("gradients",Ze.gradient),radii:Bn("radii",Ze.px),space:Bn("space",Ws(Ze.vh,Ze.px)),spaceT:Bn("space",Ws(Ze.vh,Ze.px)),degreeT(e){return{property:e,transform:Ze.degree}},prop(e,t,n){return{property:e,scale:t,...t&&{transform:Wc({scale:t,transform:n})}}},propT(e,t){return{property:e,transform:t}},sizes:Bn("sizes",Ws(Ze.vh,Ze.px)),sizesT:Bn("sizes",Ws(Ze.vh,Ze.fraction)),shadows:Bn("shadows"),logical:Mb,blur:Bn("blur",Ze.blur)},Hs={background:L.colors("background"),backgroundColor:L.colors("backgroundColor"),backgroundImage:L.gradients("backgroundImage"),backgroundSize:!0,backgroundPosition:!0,backgroundRepeat:!0,backgroundAttachment:!0,backgroundClip:{transform:Ze.bgClip},bgSize:L.prop("backgroundSize"),bgPosition:L.prop("backgroundPosition"),bg:L.colors("background"),bgColor:L.colors("backgroundColor"),bgPos:L.prop("backgroundPosition"),bgRepeat:L.prop("backgroundRepeat"),bgAttachment:L.prop("backgroundAttachment"),bgGradient:L.gradients("backgroundImage"),bgClip:{transform:Ze.bgClip}};Object.assign(Hs,{bgImage:Hs.backgroundImage,bgImg:Hs.backgroundImage});const ot={border:L.borders("border"),borderWidth:L.borderWidths("borderWidth"),borderStyle:L.borderStyles("borderStyle"),borderColor:L.colors("borderColor"),borderRadius:L.radii("borderRadius"),borderTop:L.borders("borderTop"),borderBlockStart:L.borders("borderBlockStart"),borderTopLeftRadius:L.radii("borderTopLeftRadius"),borderStartStartRadius:L.logical({scale:"radii",property:{ltr:"borderTopLeftRadius",rtl:"borderTopRightRadius"}}),borderEndStartRadius:L.logical({scale:"radii",property:{ltr:"borderBottomLeftRadius",rtl:"borderBottomRightRadius"}}),borderTopRightRadius:L.radii("borderTopRightRadius"),borderStartEndRadius:L.logical({scale:"radii",property:{ltr:"borderTopRightRadius",rtl:"borderTopLeftRadius"}}),borderEndEndRadius:L.logical({scale:"radii",property:{ltr:"borderBottomRightRadius",rtl:"borderBottomLeftRadius"}}),borderRight:L.borders("borderRight"),borderInlineEnd:L.borders("borderInlineEnd"),borderBottom:L.borders("borderBottom"),borderBlockEnd:L.borders("borderBlockEnd"),borderBottomLeftRadius:L.radii("borderBottomLeftRadius"),borderBottomRightRadius:L.radii("borderBottomRightRadius"),borderLeft:L.borders("borderLeft"),borderInlineStart:{property:"borderInlineStart",scale:"borders"},borderInlineStartRadius:L.logical({scale:"radii",property:{ltr:["borderTopLeftRadius","borderBottomLeftRadius"],rtl:["borderTopRightRadius","borderBottomRightRadius"]}}),borderInlineEndRadius:L.logical({scale:"radii",property:{ltr:["borderTopRightRadius","borderBottomRightRadius"],rtl:["borderTopLeftRadius","borderBottomLeftRadius"]}}),borderX:L.borders(["borderLeft","borderRight"]),borderInline:L.borders("borderInline"),borderY:L.borders(["borderTop","borderBottom"]),borderBlock:L.borders("borderBlock"),borderTopWidth:L.borderWidths("borderTopWidth"),borderBlockStartWidth:L.borderWidths("borderBlockStartWidth"),borderTopColor:L.colors("borderTopColor"),borderBlockStartColor:L.colors("borderBlockStartColor"),borderTopStyle:L.borderStyles("borderTopStyle"),borderBlockStartStyle:L.borderStyles("borderBlockStartStyle"),borderBottomWidth:L.borderWidths("borderBottomWidth"),borderBlockEndWidth:L.borderWidths("borderBlockEndWidth"),borderBottomColor:L.colors("borderBottomColor"),borderBlockEndColor:L.colors("borderBlockEndColor"),borderBottomStyle:L.borderStyles("borderBottomStyle"),borderBlockEndStyle:L.borderStyles("borderBlockEndStyle"),borderLeftWidth:L.borderWidths("borderLeftWidth"),borderInlineStartWidth:L.borderWidths("borderInlineStartWidth"),borderLeftColor:L.colors("borderLeftColor"),borderInlineStartColor:L.colors("borderInlineStartColor"),borderLeftStyle:L.borderStyles("borderLeftStyle"),borderInlineStartStyle:L.borderStyles("borderInlineStartStyle"),borderRightWidth:L.borderWidths("borderRightWidth"),borderInlineEndWidth:L.borderWidths("borderInlineEndWidth"),borderRightColor:L.colors("borderRightColor"),borderInlineEndColor:L.colors("borderInlineEndColor"),borderRightStyle:L.borderStyles("borderRightStyle"),borderInlineEndStyle:L.borderStyles("borderInlineEndStyle"),borderTopRadius:L.radii(["borderTopLeftRadius","borderTopRightRadius"]),borderBottomRadius:L.radii(["borderBottomLeftRadius","borderBottomRightRadius"]),borderLeftRadius:L.radii(["borderTopLeftRadius","borderBottomLeftRadius"]),borderRightRadius:L.radii(["borderTopRightRadius","borderBottomRightRadius"])};Object.assign(ot,{rounded:ot.borderRadius,roundedTop:ot.borderTopRadius,roundedTopLeft:ot.borderTopLeftRadius,roundedTopRight:ot.borderTopRightRadius,roundedTopStart:ot.borderStartStartRadius,roundedTopEnd:ot.borderStartEndRadius,roundedBottom:ot.borderBottomRadius,roundedBottomLeft:ot.borderBottomLeftRadius,roundedBottomRight:ot.borderBottomRightRadius,roundedBottomStart:ot.borderEndStartRadius,roundedBottomEnd:ot.borderEndEndRadius,roundedLeft:ot.borderLeftRadius,roundedRight:ot.borderRightRadius,roundedStart:ot.borderInlineStartRadius,roundedEnd:ot.borderInlineEndRadius,borderStart:ot.borderInlineStart,borderEnd:ot.borderInlineEnd,borderTopStartRadius:ot.borderStartStartRadius,borderTopEndRadius:ot.borderStartEndRadius,borderBottomStartRadius:ot.borderEndStartRadius,borderBottomEndRadius:ot.borderEndEndRadius,borderStartRadius:ot.borderInlineStartRadius,borderEndRadius:ot.borderInlineEndRadius,borderStartWidth:ot.borderInlineStartWidth,borderEndWidth:ot.borderInlineEndWidth,borderStartColor:ot.borderInlineStartColor,borderEndColor:ot.borderInlineEndColor,borderStartStyle:ot.borderInlineStartStyle,borderEndStyle:ot.borderInlineEndStyle});const Ub={color:L.colors("color"),textColor:L.colors("color"),fill:L.colors("fill"),stroke:L.colors("stroke"),accentColor:L.colors("accentColor"),textFillColor:L.colors("textFillColor")},Us={alignItems:!0,alignContent:!0,justifyItems:!0,justifyContent:!0,flexWrap:!0,flexDirection:{transform:Ze.flexDirection},flex:!0,flexFlow:!0,flexGrow:!0,flexShrink:!0,flexBasis:L.sizes("flexBasis"),justifySelf:!0,alignSelf:!0,order:!0,placeItems:!0,placeContent:!0,placeSelf:!0,gap:L.space("gap"),rowGap:L.space("rowGap"),columnGap:L.space("columnGap")};Object.assign(Us,{flexDir:Us.flexDirection});const Rn={width:L.sizesT("width"),inlineSize:L.sizesT("inlineSize"),height:L.sizes("height"),blockSize:L.sizes("blockSize"),boxSize:L.sizes(["width","height"]),minWidth:L.sizes("minWidth"),minInlineSize:L.sizes("minInlineSize"),minHeight:L.sizes("minHeight"),minBlockSize:L.sizes("minBlockSize"),maxWidth:L.sizes("maxWidth"),maxInlineSize:L.sizes("maxInlineSize"),maxHeight:L.sizes("maxHeight"),maxBlockSize:L.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 i,o;return{[`@media screen and (min-width: ${((o=(i=t.__breakpoints)==null?void 0:i.get(e))==null?void 0:o.minW)??e})`]:{display:"none"}}}},hideBelow:{scale:"breakpoints",transform:(e,t)=>{var i,o;return{[`@media screen and (max-width: ${((o=(i=t.__breakpoints)==null?void 0:i.get(e))==null?void 0:o._minW)??e})`]:{display:"none"}}}},verticalAlign:!0,boxSizing:!0,boxDecorationBreak:!0,float:L.propT("float",Ze.float),objectFit:!0,objectPosition:!0,visibility:!0,isolation:!0};Object.assign(Rn,{w:Rn.width,h:Rn.height,minW:Rn.minWidth,maxW:Rn.maxWidth,minH:Rn.minHeight,maxH:Rn.maxHeight,overscroll:Rn.overscrollBehavior,overscrollX:Rn.overscrollBehaviorX,overscrollY:Rn.overscrollBehaviorY});const qb={filter:{transform:Ze.filter},blur:L.blur("--chakra-blur"),brightness:L.propT("--chakra-brightness",Ze.brightness),contrast:L.propT("--chakra-contrast",Ze.contrast),hueRotate:L.propT("--chakra-hue-rotate",Ze.hueRotate),invert:L.propT("--chakra-invert",Ze.invert),saturate:L.propT("--chakra-saturate",Ze.saturate),dropShadow:L.propT("--chakra-drop-shadow",Ze.dropShadow),backdropFilter:{transform:Ze.backdropFilter},backdropBlur:L.blur("--chakra-backdrop-blur"),backdropBrightness:L.propT("--chakra-backdrop-brightness",Ze.brightness),backdropContrast:L.propT("--chakra-backdrop-contrast",Ze.contrast),backdropHueRotate:L.propT("--chakra-backdrop-hue-rotate",Ze.hueRotate),backdropInvert:L.propT("--chakra-backdrop-invert",Ze.invert),backdropSaturate:L.propT("--chakra-backdrop-saturate",Ze.saturate)},Gb={ring:{transform:Ze.ring},ringColor:L.colors("--chakra-ring-color"),ringOffset:L.prop("--chakra-ring-offset-width"),ringOffsetColor:L.colors("--chakra-ring-offset-color"),ringInset:L.prop("--chakra-ring-inset")},Zb={appearance:!0,cursor:!0,resize:!0,userSelect:!0,pointerEvents:!0,outline:{transform:Ze.outline},outlineOffset:!0,outlineColor:L.colors("outlineColor")},B1={gridGap:L.space("gridGap"),gridColumnGap:L.space("gridColumnGap"),gridRowGap:L.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 Kb(e,t,n,r){const i=typeof t=="string"?t.split("."):[t];for(r=0;r<i.length&&e;r+=1)e=e[i[r]];return e===void 0?n:e}const Yb=(e=>{const t=new WeakMap;return(r,i,o,a)=>{if(typeof r>"u")return e(r,i,o);t.has(r)||t.set(r,new Map);const s=t.get(r);if(s.has(i))return s.get(i);const l=e(r,i,o,a);return s.set(i,l),l}})(Kb),Xb={border:"0px",clip:"rect(0, 0, 0, 0)",width:"1px",height:"1px",margin:"-1px",padding:"0px",overflow:"hidden",whiteSpace:"nowrap",position:"absolute"},Jb={position:"static",width:"auto",height:"auto",clip:"auto",padding:"0",margin:"0",overflow:"visible",whiteSpace:"normal"},Gc=(e,t,n)=>{const r={},i=Yb(e,t,{});for(const o in i)o in n&&n[o]!=null||(r[o]=i[o]);return r},Qb={srOnly:{transform(e){return e===!0?Xb:e==="focusable"?Jb:{}}},layerStyle:{processResult:!0,transform:(e,t,n)=>Gc(t,`layerStyles.${e}`,n)},textStyle:{processResult:!0,transform:(e,t,n)=>Gc(t,`textStyles.${e}`,n)},apply:{processResult:!0,transform:(e,t,n)=>Gc(t,e,n)}},pa={position:!0,pos:L.prop("position"),zIndex:L.prop("zIndex","zIndices"),inset:L.spaceT("inset"),insetX:L.spaceT(["left","right"]),insetInline:L.spaceT("insetInline"),insetY:L.spaceT(["top","bottom"]),insetBlock:L.spaceT("insetBlock"),top:L.spaceT("top"),insetBlockStart:L.spaceT("insetBlockStart"),bottom:L.spaceT("bottom"),insetBlockEnd:L.spaceT("insetBlockEnd"),left:L.spaceT("left"),insetInlineStart:L.logical({scale:"space",property:{ltr:"left",rtl:"right"}}),right:L.spaceT("right"),insetInlineEnd:L.logical({scale:"space",property:{ltr:"right",rtl:"left"}})};Object.assign(pa,{insetStart:pa.insetInlineStart,insetEnd:pa.insetInlineEnd});const Zc={boxShadow:L.shadows("boxShadow"),mixBlendMode:!0,blendMode:L.prop("mixBlendMode"),backgroundBlendMode:!0,bgBlendMode:L.prop("backgroundBlendMode"),opacity:!0};Object.assign(Zc,{shadow:Zc.boxShadow});const At={margin:L.spaceT("margin"),marginTop:L.spaceT("marginTop"),marginBlockStart:L.spaceT("marginBlockStart"),marginRight:L.spaceT("marginRight"),marginInlineEnd:L.spaceT("marginInlineEnd"),marginBottom:L.spaceT("marginBottom"),marginBlockEnd:L.spaceT("marginBlockEnd"),marginLeft:L.spaceT("marginLeft"),marginInlineStart:L.spaceT("marginInlineStart"),marginX:L.spaceT(["marginInlineStart","marginInlineEnd"]),marginInline:L.spaceT("marginInline"),marginY:L.spaceT(["marginTop","marginBottom"]),marginBlock:L.spaceT("marginBlock"),padding:L.space("padding"),paddingTop:L.space("paddingTop"),paddingBlockStart:L.space("paddingBlockStart"),paddingRight:L.space("paddingRight"),paddingBottom:L.space("paddingBottom"),paddingBlockEnd:L.space("paddingBlockEnd"),paddingLeft:L.space("paddingLeft"),paddingInlineStart:L.space("paddingInlineStart"),paddingInlineEnd:L.space("paddingInlineEnd"),paddingX:L.space(["paddingInlineStart","paddingInlineEnd"]),paddingInline:L.space("paddingInline"),paddingY:L.space(["paddingTop","paddingBottom"]),paddingBlock:L.space("paddingBlock")};Object.assign(At,{m:At.margin,mt:At.marginTop,mr:At.marginRight,me:At.marginInlineEnd,marginEnd:At.marginInlineEnd,mb:At.marginBottom,ml:At.marginLeft,ms:At.marginInlineStart,marginStart:At.marginInlineStart,mx:At.marginX,my:At.marginY,p:At.padding,pt:At.paddingTop,py:At.paddingY,px:At.paddingX,pb:At.paddingBottom,pl:At.paddingLeft,ps:At.paddingInlineStart,paddingStart:At.paddingInlineStart,pr:At.paddingRight,pe:At.paddingInlineEnd,paddingEnd:At.paddingInlineEnd});const e6={scrollBehavior:!0,scrollSnapAlign:!0,scrollSnapStop:!0,scrollSnapType:!0,scrollMargin:L.spaceT("scrollMargin"),scrollMarginTop:L.spaceT("scrollMarginTop"),scrollMarginBottom:L.spaceT("scrollMarginBottom"),scrollMarginLeft:L.spaceT("scrollMarginLeft"),scrollMarginRight:L.spaceT("scrollMarginRight"),scrollMarginX:L.spaceT(["scrollMarginLeft","scrollMarginRight"]),scrollMarginY:L.spaceT(["scrollMarginTop","scrollMarginBottom"]),scrollPadding:L.spaceT("scrollPadding"),scrollPaddingTop:L.spaceT("scrollPaddingTop"),scrollPaddingBottom:L.spaceT("scrollPaddingBottom"),scrollPaddingLeft:L.spaceT("scrollPaddingLeft"),scrollPaddingRight:L.spaceT("scrollPaddingRight"),scrollPaddingX:L.spaceT(["scrollPaddingLeft","scrollPaddingRight"]),scrollPaddingY:L.spaceT(["scrollPaddingTop","scrollPaddingBottom"])},t6={fontFamily:L.prop("fontFamily","fonts"),fontSize:L.prop("fontSize","fontSizes",Ze.px),fontWeight:L.prop("fontWeight","fontWeights"),lineHeight:L.prop("lineHeight","lineHeights"),letterSpacing:L.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"}},n6={textDecorationColor:L.colors("textDecorationColor"),textDecoration:!0,textDecor:{property:"textDecoration"},textDecorationLine:!0,textDecorationStyle:!0,textDecorationThickness:!0,textUnderlineOffset:!0,textShadow:L.shadows("textShadow")},r6={clipPath:!0,transform:L.propT("transform",Ze.transform),transformOrigin:!0,translateX:L.spaceT("--chakra-translate-x"),translateY:L.spaceT("--chakra-translate-y"),skewX:L.degreeT("--chakra-skew-x"),skewY:L.degreeT("--chakra-skew-y"),scaleX:L.prop("--chakra-scale-x"),scaleY:L.prop("--chakra-scale-y"),scale:L.prop(["--chakra-scale-x","--chakra-scale-y"]),rotate:L.degreeT("--chakra-rotate")},i6={listStyleType:!0,listStylePosition:!0,listStylePos:L.prop("listStylePosition"),listStyleImage:!0,listStyleImg:L.prop("listStyleImage")},o6={transition:!0,transitionDelay:!0,animation:!0,willChange:!0,transitionDuration:L.prop("transitionDuration","transition.duration"),transitionProperty:L.prop("transitionProperty","transition.property"),transitionTimingFunction:L.prop("transitionTimingFunction","transition.easing")},Kc=$n({},Hs,ot,Ub,Us,Rn,qb,Gb,Zb,B1,Qb,pa,Zc,At,e6,t6,n6,r6,i6,o6),a6=Object.assign({},At,Rn,Us,B1,pa),s6=Object.keys(a6),l6=[...Object.keys(Kc),...z1],c6={...Kc,...Ji},u6=e=>e in c6,d6=e=>t=>{if(!t.__breakpoints)return e;const{isResponsive:n,toArrayValue:r,media:i}=t.__breakpoints,o={};for(const a in e){let s=Pn(e[a],t);if(s==null)continue;if(s=un(s)&&n(s)?r(s):s,!Array.isArray(s)){o[a]=s;continue}const l=s.slice(0,i.length).length;for(let c=0;c<l;c+=1){const u=i==null?void 0:i[c];if(!u){o[a]=s[c];continue}o[u]=o[u]||{},s[c]!=null&&(o[u][a]=s[c])}}return o};function f6(e){const t=[];let n="",r=!1;for(let i=0;i<e.length;i++){const o=e[i];o==="("?(r=!0,n+=o):o===")"?(r=!1,n+=o):o===","&&!r?(t.push(n),n=""):n+=o}return n=n.trim(),n&&t.push(n),t}function p6(e){return/^var\(--.+\)$/.test(e)}const h6=(e,t)=>e.startsWith("--")&&typeof t=="string"&&!p6(t),m6=(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,[i,o]=f6(t);return t=n(i)??r(o)??r(t),t};function g6(e){const{configs:t={},pseudos:n={},theme:r}=e,i=(o,a=!1)=>{var u;const s=Pn(o,r),l=d6(s)(r);let c={};for(let d in l){const f=l[d];let p=Pn(f,r);d in n&&(d=n[d]),h6(d,p)&&(p=m6(r,p));let m=t[d];if(m===!0&&(m={property:d}),un(p)){c[d]=c[d]??{},c[d]=$n({},c[d],i(p,!0));continue}let g=((u=m==null?void 0:m.transform)==null?void 0:u.call(m,p,r,s))??p;g=m!=null&&m.processResult?i(g,!0):g;const y=Pn(m==null?void 0:m.property,r);if(!a&&(m!=null&&m.static)){const v=Pn(m.static,r);c=$n({},c,v)}if(y&&Array.isArray(y)){for(const v of y)c[v]=g;continue}if(y){y==="&"&&un(g)?c=$n({},c,g):c[y]=g;continue}if(un(g)){c=$n({},c,g);continue}c[d]=g}return c};return i}const R1=e=>t=>g6({theme:t,pseudos:Ji,configs:Kc})(e);function vH(e){return e}function bH(e){return e}function Tt(e){return{definePartsStyle(t){return t},defineMultiStyleConfig(t){return{parts:e,...t}}}}function y6(e,t,n){var r,i;return((i=(r=e.__cssMap)==null?void 0:r[`${t}.${n}`])==null?void 0:i.varRef)??n}function v6(e,t){if(Array.isArray(e))return e;if(un(e))return t(e);if(e!=null)return[e]}function b6(e,t){for(let n=t+1;n<e.length;n++)if(e[n]!=null)return n;return-1}function x6(e){const t=e.__breakpoints;return function(r,i,o,a){var f,p;if(!t)return;const s={},l=v6(o,t.toArrayValue);if(!l)return s;const c=l.length,u=c===1,d=!!r.parts;for(let m=0;m<c;m++){const g=t.details[m],y=t.details[b6(l,m)],v=ua(g.minW,y==null?void 0:y._minW),x=Pn((f=r[i])==null?void 0:f[l[m]],a);if(x){if(d){(p=r.parts)==null||p.forEach(w=>{$n(s,{[w]:u?x[w]:{[v]:x[w]}})});continue}if(!d){u?$n(s,x):s[v]=x;continue}s[v]=x}}return s}}function C6(e){return t=>{const{variant:n,size:r,theme:i}=t,o=x6(i);return $n({},Pn(e.baseStyle??{},t),o(e,"sizes",r,t),o(e,"variants",n,t))}}function Ft(e){return Yi(e,["styleConfig","size","variant","colorScheme"])}function N1(e){return un(e)&&e.reference?e.reference:String(e)}const qs=(e,...t)=>t.map(N1).join(` ${e} `).replace(/calc/g,""),V1=(...e)=>`calc(${qs("+",...e)})`,W1=(...e)=>`calc(${qs("-",...e)})`,Yc=(...e)=>`calc(${qs("*",...e)})`,H1=(...e)=>`calc(${qs("/",...e)})`,U1=e=>{const t=N1(e);return t!=null&&!Number.isNaN(parseFloat(t))?String(t).startsWith("-")?String(t).slice(1):`-${t}`:Yc(t,-1)},Or=Object.assign(e=>({add:(...t)=>Or(V1(e,...t)),subtract:(...t)=>Or(W1(e,...t)),multiply:(...t)=>Or(Yc(e,...t)),divide:(...t)=>Or(H1(e,...t)),negate:()=>Or(U1(e)),toString:()=>e.toString()}),{add:V1,subtract:W1,multiply:Yc,divide:H1,negate:U1});function w6(e,t="-"){return e.replace(/\s+/g,t)}function k6(e){const t=w6(e.toString());return T6(S6(t))}function S6(e){return e.includes("\\.")?e:!Number.isInteger(parseFloat(e.toString()))?e.replace(".","\\."):e}function T6(e){return e.replace(/[!-,/:-@[-^`{-~]/g,"\\$&")}function _6(e,t=""){return[t,e].filter(Boolean).join("-")}function E6(e,t){return`var(${e}${t?`, ${t}`:""})`}function P6(e,t=""){return k6(`--${_6(e,t)}`)}function Me(e,t,n){const r=P6(e,n);return{variable:r,reference:E6(r,t)}}function A6(e,t){const n={};for(const r of t){if(Array.isArray(r)){const[i,o]=r;n[i]=Me(`${e}-${i}`,o);continue}n[r]=Me(`${e}-${r}`)}return n}const j6=["colors","borders","borderWidths","borderStyles","fonts","fontSizes","fontWeights","gradients","letterSpacings","lineHeights","radii","space","shadows","sizes","zIndices","transition","blur","breakpoints"];function I6(e){return A1(e,j6)}function M6(e){return e.semanticTokens}function D6(e){const{__cssMap:t,__cssVars:n,__breakpoints:r,...i}=e;return i}function O6(e){const t=I6(e),n=M6(e),r=o=>z1.includes(o)||o==="default",i={};return I1(t,(o,a)=>{o!=null&&(i[a.join(".")]={isSemantic:!1,value:o})}),I1(n,(o,a)=>{o!=null&&(i[a.join(".")]={isSemantic:!0,value:o})},{stop:o=>Object.keys(o).every(r)}),i}function q1(e,t){return Me(String(e).replace(/\./g,"-"),void 0,t)}function F6(e){var a;const t=O6(e),n=(a=e.config)==null?void 0:a.cssVarPrefix;let r={};const i={};function o(s,l){const u=[String(s).split(".")[0],l].join(".");if(!t[u])return l;const{reference:f}=q1(u,n);return f}for(const[s,l]of Object.entries(t)){const{isSemantic:c,value:u}=l,{variable:d,reference:f}=q1(s,n);if(!c){if(s.startsWith("space")){const m=s.split("."),[g,...y]=m,v=`${g}.-${y.join(".")}`,x=Or.negate(u),w=Or.negate(f);i[v]={value:x,var:d,varRef:w}}r[d]=u,i[s]={value:u,var:d,varRef:f};continue}const p=un(u)?u:{default:u};r=$n(r,Object.entries(p).reduce((m,[g,y])=>{if(!y)return m;const v=o(s,`${y}`);if(g==="default")return m[d]=v,m;const x=(Ji==null?void 0:Ji[g])??g;return m[x]={[d]:v},m},{})),i[s]={value:f,var:d,varRef:f}}return{cssVars:r,cssMap:i}}function z6(e){const t=D6(e),{cssMap:n,cssVars:r}=F6(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:ib(t.breakpoints)}),t}function at(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 i(...u){r();for(const d of u)t[d]=l(d);return at(e,t)}function o(...u){for(const d of u)d in t||(t[d]=l(d));return at(e,t)}function a(){return Object.fromEntries(Object.entries(t).map(([d,f])=>[d,f.selector]))}function s(){return Object.fromEntries(Object.entries(t).map(([d,f])=>[d,f.className]))}function l(u){const p=`chakra-${(["container","root"].includes(u??"")?[e]:[e,u]).filter(Boolean).join("__")}`;return{className:p,selector:`.${p}`,toString:()=>u}}return{parts:i,toPart:l,extend:o,selectors:a,classnames:s,get keys(){return Object.keys(t)},__type:{}}}const L6=at("accordion").parts("root","container","button","panel","icon"),$6=at("alert").parts("title","description","container","icon","spinner"),B6=at("avatar").parts("label","badge","container","excessLabel","group"),R6=at("breadcrumb").parts("link","item","container","separator");at("button").parts();const N6=at("checkbox").parts("control","icon","container","label");at("progress").parts("track","filledTrack","label");const V6=at("drawer").parts("overlay","dialogContainer","dialog","header","closeButton","body","footer"),W6=at("editable").parts("preview","input","textarea"),H6=at("form").parts("container","requiredIndicator","helperText"),U6=at("formError").parts("text","icon"),q6=at("input").parts("addon","field","element","group"),G6=at("list").parts("container","item","icon"),Z6=at("menu").parts("button","list","item","groupTitle","icon","command","divider"),K6=at("modal").parts("overlay","dialogContainer","dialog","header","closeButton","body","footer"),Y6=at("numberinput").parts("root","field","stepperGroup","stepper");at("pininput").parts("field");const X6=at("popover").parts("content","header","body","footer","popper","arrow","closeButton"),J6=at("progress").parts("label","filledTrack","track"),Q6=at("radio").parts("container","control","label"),ex=at("select").parts("field","icon"),tx=at("slider").parts("container","track","thumb","filledTrack","mark"),nx=at("stat").parts("container","label","helpText","number","icon"),rx=at("switch").parts("container","track","thumb","label"),ix=at("table").parts("table","thead","tbody","tr","th","td","tfoot","caption"),ox=at("tabs").parts("root","tab","tablist","tabpanel","tabpanels","indicator"),ax=at("tag").parts("container","label","closeButton"),sx=at("card").parts("container","header","body","footer");at("stepper").parts("stepper","step","title","description","indicator","separator","icon","number");const{definePartsStyle:lx,defineMultiStyleConfig:cx}=Tt(L6.keys),ux={borderTopWidth:"1px",borderColor:"inherit",_last:{borderBottomWidth:"1px"}},dx={transitionProperty:"common",transitionDuration:"normal",fontSize:"md",_focusVisible:{boxShadow:"outline"},_hover:{bg:"blackAlpha.50"},_disabled:{opacity:.4,cursor:"not-allowed"},px:"4",py:"2"},fx={pt:"2",px:"4",pb:"5"},px={fontSize:"1.25em"},hx=lx({container:ux,button:dx,panel:fx,icon:px}),mx=cx({baseStyle:hx});function vi(e,t,n){return Math.min(Math.max(e,n),t)}class gx extends Error{constructor(t){super(`Failed to parse color: "${t}"`)}}var ha=gx;function Xc(e){if(typeof e!="string")throw new ha(e);if(e.trim().toLowerCase()==="transparent")return[0,0,0,0];let t=e.trim();t=Sx.test(e)?bx(e):e;const n=xx.exec(t);if(n){const a=Array.from(n).slice(1);return[...a.slice(0,3).map(s=>parseInt(ma(s,2),16)),parseInt(ma(a[3]||"f",2),16)/255]}const r=Cx.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 i=wx.exec(t);if(i){const a=Array.from(i).slice(1);return[...a.slice(0,3).map(s=>parseInt(s,10)),parseFloat(a[3]||"1")]}const o=kx.exec(t);if(o){const[a,s,l,c]=Array.from(o).slice(1).map(parseFloat);if(vi(0,100,s)!==s)throw new ha(e);if(vi(0,100,l)!==l)throw new ha(e);return[...Tx(a,s,l),Number.isNaN(c)?1:c]}throw new ha(e)}function yx(e){let t=5381,n=e.length;for(;n;)t=t*33^e.charCodeAt(--n);return(t>>>0)%2341}const G1=e=>parseInt(e.replace(/_/g,""),36),vx="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=G1(t.substring(0,3)),r=G1(t.substring(3)).toString(16);let i="";for(let o=0;o<6-r.length;o++)i+="0";return e[n]=`${i}${r}`,e},{});function bx(e){const t=e.toLowerCase().trim(),n=vx[yx(t)];if(!n)throw new ha(e);return`#${n}`}const ma=(e,t)=>Array.from(Array(t)).map(()=>e).join(""),xx=new RegExp(`^#${ma("([a-f0-9])",3)}([a-f0-9])?$`,"i"),Cx=new RegExp(`^#${ma("([a-f0-9]{2})",3)}([a-f0-9]{2})?$`,"i"),wx=new RegExp(`^rgba?\\(\\s*(\\d+)\\s*${ma(",\\s*(\\d+)\\s*",2)}(?:,\\s*([\\d.]+))?\\s*\\)$`,"i"),kx=/^hsla?\(\s*([\d.]+)\s*,\s*([\d.]+)%\s*,\s*([\d.]+)%(?:\s*,\s*([\d.]+))?\s*\)$/i,Sx=/^[a-z]+$/i,Z1=e=>Math.round(e*255),Tx=(e,t,n)=>{let r=n/100;if(t===0)return[r,r,r].map(Z1);const i=(e%360+360)%360/60,o=(1-Math.abs(2*r-1))*(t/100),a=o*(1-Math.abs(i%2-1));let s=0,l=0,c=0;i>=0&&i<1?(s=o,l=a):i>=1&&i<2?(s=a,l=o):i>=2&&i<3?(l=o,c=a):i>=3&&i<4?(l=a,c=o):i>=4&&i<5?(s=a,c=o):i>=5&&i<6&&(s=o,c=a);const u=r-o/2,d=s+u,f=l+u,p=c+u;return[d,f,p].map(Z1)};function _x(e,t,n,r){return`rgba(${vi(0,255,e).toFixed()}, ${vi(0,255,t).toFixed()}, ${vi(0,255,n).toFixed()}, ${parseFloat(vi(0,1,r).toFixed(3))})`}function Ex(e,t){const[n,r,i,o]=Xc(e);return _x(n,r,i,o-t)}function Px(e){const[t,n,r,i]=Xc(e);let o=a=>{const s=vi(0,255,a).toString(16);return s.length===1?`0${s}`:s};return`#${o(t)}${o(n)}${o(r)}${i<1?o(Math.round(i*255)):""}`}const Ax=e=>Object.keys(e).length===0;function jx(e,t,n,r,i){for(t=t.split?t.split("."):t,r=0;r<t.length;r++)e=e?e[t[r]]:i;return e===i?n:e}const dn=(e,t,n)=>{const r=jx(e,`colors.${t}`,t);try{return Px(r),r}catch{return"#000000"}},Ix=e=>{const[t,n,r]=Xc(e);return(t*299+n*587+r*114)/1e3},Mx=e=>t=>{const n=dn(t,e);return Ix(n)<128?"dark":"light"},Dx=e=>t=>Mx(e)(t)==="dark",Yt=(e,t)=>n=>{const r=dn(n,e);return Ex(r,1-t)};function K1(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 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(
|
|
39
|
+
)`,backgroundSize:`${e} ${e}`}}const Ox=()=>`#${Math.floor(Math.random()*16777215).toString(16).padEnd(6,"0")}`;function Fx(e){const t=Ox();return!e||Ax(e)?t:e.string&&e.colors?Lx(e.string,e.colors):e.string&&!e.colors?zx(e.string):e.colors&&!e.string?$x(e.colors):t}function zx(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 i=t>>r*8&255;n+=`00${i.toString(16)}`.substr(-2)}return n}function Lx(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 $x(e){return e[Math.floor(Math.random()*e.length)]}function De(e,t){return n=>n.colorMode==="dark"?t:e}function Jc(e){const{orientation:t,vertical:n,horizontal:r}=e;return t?t==="vertical"?n:r:{}}function Y1(e){return un(e)&&e.reference?e.reference:String(e)}const Gs=(e,...t)=>t.map(Y1).join(` ${e} `).replace(/calc/g,""),X1=(...e)=>`calc(${Gs("+",...e)})`,J1=(...e)=>`calc(${Gs("-",...e)})`,Qc=(...e)=>`calc(${Gs("*",...e)})`,Q1=(...e)=>`calc(${Gs("/",...e)})`,eh=e=>{const t=Y1(e);return t!=null&&!Number.isNaN(parseFloat(t))?String(t).startsWith("-")?String(t).slice(1):`-${t}`:Qc(t,-1)},Fr=Object.assign(e=>({add:(...t)=>Fr(X1(e,...t)),subtract:(...t)=>Fr(J1(e,...t)),multiply:(...t)=>Fr(Qc(e,...t)),divide:(...t)=>Fr(Q1(e,...t)),negate:()=>Fr(eh(e)),toString:()=>e.toString()}),{add:X1,subtract:J1,multiply:Qc,divide:Q1,negate:eh});function Bx(e){return!Number.isInteger(parseFloat(e.toString()))}function Rx(e,t="-"){return e.replace(/\s+/g,t)}function th(e){const t=Rx(e.toString());return t.includes("\\.")?e:Bx(e)?t.replace(".","\\."):e}function Nx(e,t=""){return[t,th(e)].filter(Boolean).join("-")}function Vx(e,t){return`var(${th(e)}${t?`, ${t}`:""})`}function Wx(e,t=""){return`--${Nx(e,t)}`}function Zt(e,t){const n=Wx(e,t==null?void 0:t.prefix);return{variable:n,reference:Vx(n,Hx(t==null?void 0:t.fallback))}}function Hx(e){return e==null?void 0:e.reference}const{definePartsStyle:ga,defineMultiStyleConfig:Ux}=Tt($6.keys),An=Me("alert-fg"),zr=Me("alert-bg"),qx=ga({container:{bg:zr.reference,px:"4",py:"3"},title:{fontWeight:"bold",lineHeight:"6",marginEnd:"2"},description:{lineHeight:"6"},icon:{color:An.reference,flexShrink:0,marginEnd:"3",w:"5",h:"6"},spinner:{color:An.reference,flexShrink:0,marginEnd:"3",w:"5",h:"5"}});function eu(e){const{theme:t,colorScheme:n}=e,r=Yt(`${n}.200`,.16)(t);return{light:`colors.${n}.100`,dark:r}}const Gx=ga(e=>{const{colorScheme:t}=e,n=eu(e);return{container:{[An.variable]:`colors.${t}.600`,[zr.variable]:n.light,_dark:{[An.variable]:`colors.${t}.200`,[zr.variable]:n.dark}}}}),Zx=ga(e=>{const{colorScheme:t}=e,n=eu(e);return{container:{[An.variable]:`colors.${t}.600`,[zr.variable]:n.light,_dark:{[An.variable]:`colors.${t}.200`,[zr.variable]:n.dark},paddingStart:"3",borderStartWidth:"4px",borderStartColor:An.reference}}}),Kx=ga(e=>{const{colorScheme:t}=e,n=eu(e);return{container:{[An.variable]:`colors.${t}.600`,[zr.variable]:n.light,_dark:{[An.variable]:`colors.${t}.200`,[zr.variable]:n.dark},pt:"2",borderTopWidth:"4px",borderTopColor:An.reference}}}),Yx=ga(e=>{const{colorScheme:t}=e;return{container:{[An.variable]:"colors.white",[zr.variable]:`colors.${t}.600`,_dark:{[An.variable]:"colors.gray.900",[zr.variable]:`colors.${t}.200`},color:An.reference}}}),Xx=Ux({baseStyle:qx,variants:{subtle:Gx,"left-accent":Zx,"top-accent":Kx,solid:Yx},defaultProps:{variant:"subtle",colorScheme:"blue"}}),nh={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"},rh={...nh,...{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"}},Jx=e=>typeof e=="function";function fn(e,...t){return Jx(e)?e(...t):e}const{definePartsStyle:ih,defineMultiStyleConfig:Qx}=Tt(B6.keys),Qi=Me("avatar-border-color"),ya=Me("avatar-bg"),va=Me("avatar-font-size"),eo=Me("avatar-size"),e7={borderRadius:"full",border:"0.2em solid",borderColor:Qi.reference,[Qi.variable]:"white",_dark:{[Qi.variable]:"colors.gray.800"}},t7={bg:ya.reference,fontSize:va.reference,width:eo.reference,height:eo.reference,lineHeight:"1",[ya.variable]:"colors.gray.200",_dark:{[ya.variable]:"colors.whiteAlpha.400"}},n7=e=>{const{name:t,theme:n}=e,r=t?Fx({string:t}):"colors.gray.400",i=Dx(r)(n);let o="white";return i||(o="gray.800"),{bg:ya.reference,fontSize:va.reference,color:o,borderColor:Qi.reference,verticalAlign:"top",width:eo.reference,height:eo.reference,"&:not([data-loaded])":{[ya.variable]:r},[Qi.variable]:"colors.white",_dark:{[Qi.variable]:"colors.gray.800"}}},r7={fontSize:va.reference,lineHeight:"1"},i7=ih(e=>({badge:fn(e7,e),excessLabel:fn(t7,e),container:fn(n7,e),label:r7}));function Xr(e){const t=e!=="100%"?rh[e]:void 0;return ih({container:{[eo.variable]:t??e,[va.variable]:`calc(${t??e} / 2.5)`},excessLabel:{[eo.variable]:t??e,[va.variable]:`calc(${t??e} / 2.5)`}})}const o7={"2xs":Xr(4),xs:Xr(6),sm:Xr(8),md:Xr(12),lg:Xr(16),xl:Xr(24),"2xl":Xr(32),full:Xr("100%")},a7=Qx({baseStyle:i7,sizes:o7,defaultProps:{size:"md"}}),Nt=A6("badge",["bg","color","shadow"]),s7={px:1,textTransform:"uppercase",fontSize:"xs",borderRadius:"sm",fontWeight:"bold",bg:Nt.bg.reference,color:Nt.color.reference,boxShadow:Nt.shadow.reference},l7=e=>{const{colorScheme:t,theme:n}=e,r=Yt(`${t}.500`,.6)(n);return{[Nt.bg.variable]:`colors.${t}.500`,[Nt.color.variable]:"colors.white",_dark:{[Nt.bg.variable]:r,[Nt.color.variable]:"colors.whiteAlpha.800"}}},c7=e=>{const{colorScheme:t,theme:n}=e,r=Yt(`${t}.200`,.16)(n);return{[Nt.bg.variable]:`colors.${t}.100`,[Nt.color.variable]:`colors.${t}.800`,_dark:{[Nt.bg.variable]:r,[Nt.color.variable]:`colors.${t}.200`}}},u7=e=>{const{colorScheme:t,theme:n}=e,r=Yt(`${t}.200`,.8)(n);return{[Nt.color.variable]:`colors.${t}.500`,_dark:{[Nt.color.variable]:r},[Nt.shadow.variable]:`inset 0 0 0px 1px ${Nt.color.reference}`}},ba={baseStyle:s7,variants:{solid:l7,subtle:c7,outline:u7},defaultProps:{variant:"subtle",colorScheme:"gray"}},{defineMultiStyleConfig:d7,definePartsStyle:f7}=Tt(R6.keys),tu=Me("breadcrumb-link-decor"),p7={transitionProperty:"common",transitionDuration:"fast",transitionTimingFunction:"ease-out",outline:"none",color:"inherit",textDecoration:tu.reference,[tu.variable]:"none","&:not([aria-current=page])":{cursor:"pointer",_hover:{[tu.variable]:"underline"},_focusVisible:{boxShadow:"outline"}}},h7=f7({link:p7}),m7=d7({baseStyle:h7}),g7={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"}}},oh=e=>{const{colorScheme:t,theme:n}=e;if(t==="gray")return{color:De("gray.800","whiteAlpha.900")(e),_hover:{bg:De("gray.100","whiteAlpha.200")(e)},_active:{bg:De("gray.200","whiteAlpha.300")(e)}};const r=Yt(`${t}.200`,.12)(n),i=Yt(`${t}.200`,.24)(n);return{color:De(`${t}.600`,`${t}.200`)(e),bg:"transparent",_hover:{bg:De(`${t}.50`,r)(e)},_active:{bg:De(`${t}.100`,i)(e)}}},y7=e=>{const{colorScheme:t}=e,n=De("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"},...fn(oh,e)}},v7={yellow:{bg:"yellow.400",color:"black",hoverBg:"yellow.500",activeBg:"yellow.600"},cyan:{bg:"cyan.400",color:"black",hoverBg:"cyan.500",activeBg:"cyan.600"}},b7=e=>{const{colorScheme:t}=e;if(t==="gray"){const s=De("gray.100","whiteAlpha.200")(e);return{bg:s,color:De("gray.800","whiteAlpha.900")(e),_hover:{bg:De("gray.200","whiteAlpha.300")(e),_disabled:{bg:s}},_active:{bg:De("gray.300","whiteAlpha.400")(e)}}}const{bg:n=`${t}.500`,color:r="white",hoverBg:i=`${t}.600`,activeBg:o=`${t}.700`}=v7[t]??{},a=De(n,`${t}.200`)(e);return{bg:a,color:De(r,"gray.800")(e),_hover:{bg:De(i,`${t}.300`)(e),_disabled:{bg:a}},_active:{bg:De(o,`${t}.400`)(e)}}},x7=e=>{const{colorScheme:t}=e;return{padding:0,height:"auto",lineHeight:"normal",verticalAlign:"baseline",color:De(`${t}.500`,`${t}.200`)(e),_hover:{textDecoration:"underline",_disabled:{textDecoration:"none"}},_active:{color:De(`${t}.700`,`${t}.500`)(e)}}},C7={bg:"none",color:"inherit",display:"inline",lineHeight:"inherit",m:"0",p:"0"},w7={ghost:oh,outline:y7,solid:b7,link:x7,unstyled:C7},k7={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"}},S7={baseStyle:g7,variants:w7,sizes:k7,defaultProps:{variant:"solid",size:"md",colorScheme:"gray"}},{definePartsStyle:bi,defineMultiStyleConfig:T7}=Tt(sx.keys),Zs=Me("card-bg"),Lr=Me("card-padding"),ah=Me("card-shadow"),Ks=Me("card-radius"),sh=Me("card-border-width","0"),lh=Me("card-border-color"),_7=bi({container:{[Zs.variable]:"colors.chakra-body-bg",backgroundColor:Zs.reference,boxShadow:ah.reference,borderRadius:Ks.reference,color:"chakra-body-text",borderWidth:sh.reference,borderColor:lh.reference},body:{padding:Lr.reference,flex:"1 1 0%"},header:{padding:Lr.reference},footer:{padding:Lr.reference}}),E7={sm:bi({container:{[Ks.variable]:"radii.base",[Lr.variable]:"space.3"}}),md:bi({container:{[Ks.variable]:"radii.md",[Lr.variable]:"space.5"}}),lg:bi({container:{[Ks.variable]:"radii.xl",[Lr.variable]:"space.7"}})},P7={elevated:bi({container:{[ah.variable]:"shadows.base",_dark:{[Zs.variable]:"colors.gray.700"}}}),outline:bi({container:{[sh.variable]:"1px",[lh.variable]:"colors.chakra-border-color"}}),filled:bi({container:{[Zs.variable]:"colors.chakra-subtle-bg"}}),unstyled:{body:{[Lr.variable]:0},header:{[Lr.variable]:0},footer:{[Lr.variable]:0}}},A7=T7({baseStyle:_7,variants:P7,sizes:E7,defaultProps:{variant:"elevated",size:"md"}}),{definePartsStyle:Ys,defineMultiStyleConfig:j7}=Tt(N6.keys),xa=Me("checkbox-size"),I7=e=>{const{colorScheme:t}=e;return{w:xa.reference,h:xa.reference,transitionProperty:"box-shadow",transitionDuration:"normal",border:"2px solid",borderRadius:"sm",borderColor:"inherit",color:"white",_checked:{bg:De(`${t}.500`,`${t}.200`)(e),borderColor:De(`${t}.500`,`${t}.200`)(e),color:De("white","gray.900")(e),_hover:{bg:De(`${t}.600`,`${t}.300`)(e),borderColor:De(`${t}.600`,`${t}.300`)(e)},_disabled:{borderColor:De("gray.200","transparent")(e),bg:De("gray.200","whiteAlpha.300")(e),color:De("gray.500","whiteAlpha.500")(e)}},_indeterminate:{bg:De(`${t}.500`,`${t}.200`)(e),borderColor:De(`${t}.500`,`${t}.200`)(e),color:De("white","gray.900")(e)},_disabled:{bg:De("gray.100","whiteAlpha.100")(e),borderColor:De("gray.100","transparent")(e)},_focusVisible:{boxShadow:"outline"},_invalid:{borderColor:De("red.500","red.300")(e)}}},M7={_disabled:{cursor:"not-allowed"}},D7={userSelect:"none",_disabled:{opacity:.4}},O7={transitionProperty:"transform",transitionDuration:"normal"},F7=Ys(e=>({icon:O7,container:M7,control:fn(I7,e),label:D7})),z7={sm:Ys({control:{[xa.variable]:"sizes.3"},label:{fontSize:"sm"},icon:{fontSize:"3xs"}}),md:Ys({control:{[xa.variable]:"sizes.4"},label:{fontSize:"md"},icon:{fontSize:"2xs"}}),lg:Ys({control:{[xa.variable]:"sizes.5"},label:{fontSize:"lg"},icon:{fontSize:"2xs"}})},Jr=j7({baseStyle:F7,sizes:z7,defaultProps:{size:"md",colorScheme:"blue"}}),Ca=Zt("close-button-size"),wa=Zt("close-button-bg"),L7={w:[Ca.reference],h:[Ca.reference],borderRadius:"md",transitionProperty:"common",transitionDuration:"normal",_disabled:{opacity:.4,cursor:"not-allowed",boxShadow:"none"},_hover:{[wa.variable]:"colors.blackAlpha.100",_dark:{[wa.variable]:"colors.whiteAlpha.100"}},_active:{[wa.variable]:"colors.blackAlpha.200",_dark:{[wa.variable]:"colors.whiteAlpha.200"}},_focusVisible:{boxShadow:"outline"},bg:wa.reference},$7={lg:{[Ca.variable]:"sizes.10",fontSize:"md"},md:{[Ca.variable]:"sizes.8",fontSize:"xs"},sm:{[Ca.variable]:"sizes.6",fontSize:"2xs"}},B7={baseStyle:L7,sizes:$7,defaultProps:{size:"md"}},{variants:R7,defaultProps:N7}=ba,V7={fontFamily:"mono",fontSize:"sm",px:"0.2em",borderRadius:"sm",bg:Nt.bg.reference,color:Nt.color.reference,boxShadow:Nt.shadow.reference},W7={baseStyle:V7,variants:R7,defaultProps:N7},H7={w:"100%",mx:"auto",maxW:"prose",px:"4"},U7={baseStyle:H7},q7={opacity:.6,borderColor:"inherit"},G7={borderStyle:"solid"},Z7={borderStyle:"dashed"},K7={baseStyle:q7,variants:{solid:G7,dashed:Z7},defaultProps:{variant:"solid"}},{definePartsStyle:nu,defineMultiStyleConfig:Y7}=Tt(V6.keys),ru=Me("drawer-bg"),iu=Me("drawer-box-shadow");function to(e){return nu(e==="full"?{dialog:{maxW:"100vw",h:"100vh"}}:{dialog:{maxW:e}})}const X7={bg:"blackAlpha.600",zIndex:"modal"},J7={display:"flex",zIndex:"modal",justifyContent:"center"},Q7=e=>{const{isFullHeight:t}=e;return{...t&&{height:"100vh"},zIndex:"modal",maxH:"100vh",color:"inherit",[ru.variable]:"colors.white",[iu.variable]:"shadows.lg",_dark:{[ru.variable]:"colors.gray.700",[iu.variable]:"shadows.dark-lg"},bg:ru.reference,boxShadow:iu.reference}},e8={px:"6",py:"4",fontSize:"xl",fontWeight:"semibold"},t8={position:"absolute",top:"2",insetEnd:"3"},n8={px:"6",py:"2",flex:"1",overflow:"auto"},r8={px:"6",py:"4"},i8=nu(e=>({overlay:X7,dialogContainer:J7,dialog:fn(Q7,e),header:e8,closeButton:t8,body:n8,footer:r8})),o8={xs:to("xs"),sm:to("md"),md:to("lg"),lg:to("2xl"),xl:to("4xl"),full:to("full")},a8=Y7({baseStyle:i8,sizes:o8,defaultProps:{size:"xs"}}),{definePartsStyle:s8,defineMultiStyleConfig:l8}=Tt(W6.keys),c8={borderRadius:"md",py:"1",transitionProperty:"common",transitionDuration:"normal"},u8={borderRadius:"md",py:"1",transitionProperty:"common",transitionDuration:"normal",width:"full",_focusVisible:{boxShadow:"outline"},_placeholder:{opacity:.6}},d8={borderRadius:"md",py:"1",transitionProperty:"common",transitionDuration:"normal",width:"full",_focusVisible:{boxShadow:"outline"},_placeholder:{opacity:.6}},f8=s8({preview:c8,input:u8,textarea:d8}),p8=l8({baseStyle:f8}),{definePartsStyle:h8,defineMultiStyleConfig:m8}=Tt(H6.keys),no=Me("form-control-color"),g8={marginStart:"1",[no.variable]:"colors.red.500",_dark:{[no.variable]:"colors.red.300"},color:no.reference},y8={mt:"2",[no.variable]:"colors.gray.600",_dark:{[no.variable]:"colors.whiteAlpha.600"},color:no.reference,lineHeight:"normal",fontSize:"sm"},v8=h8({container:{width:"100%",position:"relative"},requiredIndicator:g8,helperText:y8}),b8=m8({baseStyle:v8}),{definePartsStyle:x8,defineMultiStyleConfig:C8}=Tt(U6.keys),ro=Me("form-error-color"),w8={[ro.variable]:"colors.red.500",_dark:{[ro.variable]:"colors.red.300"},color:ro.reference,mt:"2",fontSize:"sm",lineHeight:"normal"},k8={marginEnd:"0.5em",[ro.variable]:"colors.red.500",_dark:{[ro.variable]:"colors.red.300"},color:ro.reference},S8=x8({text:w8,icon:k8}),T8=C8({baseStyle:S8}),_8={fontSize:"md",marginEnd:"3",mb:"2",fontWeight:"medium",transitionProperty:"common",transitionDuration:"normal",opacity:1,_disabled:{opacity:.4}},E8={baseStyle:_8},P8={fontFamily:"heading",fontWeight:"bold"},A8={"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}},j8={baseStyle:P8,sizes:A8,defaultProps:{size:"xl"}},{definePartsStyle:$r,defineMultiStyleConfig:I8}=Tt(q6.keys),io=Me("input-height"),oo=Me("input-font-size"),ao=Me("input-padding"),so=Me("input-border-radius"),M8=$r({addon:{height:io.reference,fontSize:oo.reference,px:ao.reference,borderRadius:so.reference},field:{width:"100%",height:io.reference,fontSize:oo.reference,px:ao.reference,borderRadius:so.reference,minWidth:0,outline:0,position:"relative",appearance:"none",transitionProperty:"common",transitionDuration:"normal",_disabled:{opacity:.4,cursor:"not-allowed"}}}),Qr={lg:{[oo.variable]:"fontSizes.lg",[ao.variable]:"space.4",[so.variable]:"radii.md",[io.variable]:"sizes.12"},md:{[oo.variable]:"fontSizes.md",[ao.variable]:"space.4",[so.variable]:"radii.md",[io.variable]:"sizes.10"},sm:{[oo.variable]:"fontSizes.sm",[ao.variable]:"space.3",[so.variable]:"radii.sm",[io.variable]:"sizes.8"},xs:{[oo.variable]:"fontSizes.xs",[ao.variable]:"space.2",[so.variable]:"radii.sm",[io.variable]:"sizes.6"}},D8={lg:$r({field:Qr.lg,group:Qr.lg}),md:$r({field:Qr.md,group:Qr.md}),sm:$r({field:Qr.sm,group:Qr.sm}),xs:$r({field:Qr.xs,group:Qr.xs})};function ou(e){const{focusBorderColor:t,errorBorderColor:n}=e;return{focusBorderColor:t||De("blue.500","blue.300")(e),errorBorderColor:n||De("red.500","red.300")(e)}}const O8=$r(e=>{const{theme:t}=e,{focusBorderColor:n,errorBorderColor:r}=ou(e);return{field:{border:"1px solid",borderColor:"inherit",bg:"inherit",_hover:{borderColor:De("gray.300","whiteAlpha.400")(e)},_readOnly:{boxShadow:"none !important",userSelect:"all"},_invalid:{borderColor:dn(t,r),boxShadow:`0 0 0 1px ${dn(t,r)}`},_focusVisible:{zIndex:1,borderColor:dn(t,n),boxShadow:`0 0 0 1px ${dn(t,n)}`}},addon:{border:"1px solid",borderColor:De("inherit","whiteAlpha.50")(e),bg:De("gray.100","whiteAlpha.300")(e)}}}),F8=$r(e=>{const{theme:t}=e,{focusBorderColor:n,errorBorderColor:r}=ou(e);return{field:{border:"2px solid",borderColor:"transparent",bg:De("gray.100","whiteAlpha.50")(e),_hover:{bg:De("gray.200","whiteAlpha.100")(e)},_readOnly:{boxShadow:"none !important",userSelect:"all"},_invalid:{borderColor:dn(t,r)},_focusVisible:{bg:"transparent",borderColor:dn(t,n)}},addon:{border:"2px solid",borderColor:"transparent",bg:De("gray.100","whiteAlpha.50")(e)}}}),z8=$r(e=>{const{theme:t}=e,{focusBorderColor:n,errorBorderColor:r}=ou(e);return{field:{borderBottom:"1px solid",borderColor:"inherit",borderRadius:"0",px:"0",bg:"transparent",_readOnly:{boxShadow:"none !important",userSelect:"all"},_invalid:{borderColor:dn(t,r),boxShadow:`0px 1px 0px 0px ${dn(t,r)}`},_focusVisible:{borderColor:dn(t,n),boxShadow:`0px 1px 0px 0px ${dn(t,n)}`}},addon:{borderBottom:"2px solid",borderColor:"inherit",borderRadius:"0",px:"0",bg:"transparent"}}}),L8=$r({field:{bg:"transparent",px:"0",height:"auto"},addon:{bg:"transparent",px:"0",height:"auto"}}),st=I8({baseStyle:M8,sizes:D8,variants:{outline:O8,filled:F8,flushed:z8,unstyled:L8},defaultProps:{size:"md",variant:"outline"}}),au=Me("kbd-bg"),$8={[au.variable]:"colors.gray.100",_dark:{[au.variable]:"colors.whiteAlpha.100"},bg:au.reference,borderRadius:"md",borderWidth:"1px",borderBottomWidth:"3px",fontSize:"0.8em",fontWeight:"bold",lineHeight:"normal",px:"0.4em",whiteSpace:"nowrap"},B8={baseStyle:$8},R8={transitionProperty:"common",transitionDuration:"fast",transitionTimingFunction:"ease-out",cursor:"pointer",textDecoration:"none",outline:"none",color:"inherit",_hover:{textDecoration:"underline"},_focusVisible:{boxShadow:"outline"}},N8={baseStyle:R8},{defineMultiStyleConfig:V8,definePartsStyle:W8}=Tt(G6.keys),H8={marginEnd:"2",display:"inline",verticalAlign:"text-bottom"},U8=W8({icon:H8}),q8=V8({baseStyle:U8}),{defineMultiStyleConfig:G8,definePartsStyle:Z8}=Tt(Z6.keys),dr=Me("menu-bg"),su=Me("menu-shadow"),K8={[dr.variable]:"#fff",[su.variable]:"shadows.sm",_dark:{[dr.variable]:"colors.gray.700",[su.variable]:"shadows.dark-lg"},color:"inherit",minW:"3xs",py:"2",zIndex:"dropdown",borderRadius:"md",borderWidth:"1px",bg:dr.reference,boxShadow:su.reference},Y8={py:"1.5",px:"3",transitionProperty:"background",transitionDuration:"ultra-fast",transitionTimingFunction:"ease-in",_focus:{[dr.variable]:"colors.gray.100",_dark:{[dr.variable]:"colors.whiteAlpha.100"}},_active:{[dr.variable]:"colors.gray.200",_dark:{[dr.variable]:"colors.whiteAlpha.200"}},_expanded:{[dr.variable]:"colors.gray.100",_dark:{[dr.variable]:"colors.whiteAlpha.100"}},_disabled:{opacity:.4,cursor:"not-allowed"},bg:dr.reference},X8={mx:4,my:2,fontWeight:"semibold",fontSize:"sm"},J8={display:"inline-flex",alignItems:"center",justifyContent:"center",flexShrink:0},Q8={opacity:.6},e9={border:0,borderBottom:"1px solid",borderColor:"inherit",my:"2",opacity:.6},t9={transitionProperty:"common",transitionDuration:"normal"},n9=Z8({button:t9,list:K8,item:Y8,groupTitle:X8,icon:J8,command:Q8,divider:e9}),r9=G8({baseStyle:n9}),{defineMultiStyleConfig:i9,definePartsStyle:lu}=Tt(K6.keys),cu=Me("modal-bg"),uu=Me("modal-shadow"),o9={bg:"blackAlpha.600",zIndex:"modal"},a9=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"}},s9=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,[cu.variable]:"colors.white",[uu.variable]:"shadows.lg",_dark:{[cu.variable]:"colors.gray.700",[uu.variable]:"shadows.dark-lg"},bg:cu.reference,boxShadow:uu.reference}},l9={px:"6",py:"4",fontSize:"xl",fontWeight:"semibold"},c9={position:"absolute",top:"2",insetEnd:"3"},u9=e=>{const{scrollBehavior:t}=e;return{px:"6",py:"2",flex:"1",overflow:t==="inside"?"auto":void 0}},d9={px:"6",py:"4"},f9=lu(e=>({overlay:o9,dialogContainer:fn(a9,e),dialog:fn(s9,e),header:l9,closeButton:c9,body:fn(u9,e),footer:d9}));function Xn(e){return lu(e==="full"?{dialog:{maxW:"100vw",minH:"$100vh",my:"0",borderRadius:"0"}}:{dialog:{maxW:e}})}const p9={xs:Xn("xs"),sm:Xn("sm"),md:Xn("md"),lg:Xn("lg"),xl:Xn("xl"),"2xl":Xn("2xl"),"3xl":Xn("3xl"),"4xl":Xn("4xl"),"5xl":Xn("5xl"),"6xl":Xn("6xl"),full:Xn("full")},h9=i9({baseStyle:f9,sizes:p9,defaultProps:{size:"md"}}),ch={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:m9,definePartsStyle:uh}=Tt(Y6.keys),du=Zt("number-input-stepper-width"),dh=Zt("number-input-input-padding"),g9=Fr(du).add("0.5rem").toString(),fu=Zt("number-input-bg"),pu=Zt("number-input-color"),hu=Zt("number-input-border-color"),y9={[du.variable]:"sizes.6",[dh.variable]:g9},v9=e=>{var t;return((t=fn(st.baseStyle,e))==null?void 0:t.field)??{}},b9={width:du.reference},x9={borderStart:"1px solid",borderStartColor:hu.reference,color:pu.reference,bg:fu.reference,[pu.variable]:"colors.chakra-body-text",[hu.variable]:"colors.chakra-border-color",_dark:{[pu.variable]:"colors.whiteAlpha.800",[hu.variable]:"colors.whiteAlpha.300"},_active:{[fu.variable]:"colors.gray.200",_dark:{[fu.variable]:"colors.whiteAlpha.300"}},_disabled:{opacity:.4,cursor:"not-allowed"}},C9=uh(e=>({root:y9,field:fn(v9,e)??{},stepperGroup:b9,stepper:x9}));function Xs(e){var o,a;const t=(o=st.sizes)==null?void 0:o[e],n={lg:"md",md:"md",sm:"sm",xs:"sm"},r=((a=t.field)==null?void 0:a.fontSize)??"md",i=ch.fontSizes[r];return uh({field:{...t.field,paddingInlineEnd:dh.reference,verticalAlign:"top"},stepper:{fontSize:Fr(i).multiply(.75).toString(),_first:{borderTopEndRadius:n[e]},_last:{borderBottomEndRadius:n[e],mt:"-1px",borderTopWidth:1}}})}const w9={xs:Xs("xs"),sm:Xs("sm"),md:Xs("md"),lg:Xs("lg")},k9=m9({baseStyle:C9,sizes:w9,variants:st.variants,defaultProps:st.defaultProps}),S9={...(k5=st.baseStyle)==null?void 0:k5.field,textAlign:"center"},T9={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"}},_9={outline:e=>{var t,n;return((n=fn((t=st.variants)==null?void 0:t.outline,e))==null?void 0:n.field)??{}},flushed:e=>{var t,n;return((n=fn((t=st.variants)==null?void 0:t.flushed,e))==null?void 0:n.field)??{}},filled:e=>{var t,n;return((n=fn((t=st.variants)==null?void 0:t.filled,e))==null?void 0:n.field)??{}},unstyled:((S5=st.variants)==null?void 0:S5.unstyled.field)??{}},E9={baseStyle:S9,sizes:T9,variants:_9,defaultProps:st.defaultProps},{defineMultiStyleConfig:P9,definePartsStyle:A9}=Tt(X6.keys),Js=Zt("popper-bg"),j9=Zt("popper-arrow-bg"),fh=Zt("popper-arrow-shadow-color"),I9={zIndex:"popover"},M9={[Js.variable]:"colors.white",bg:Js.reference,[j9.variable]:Js.reference,[fh.variable]:"colors.gray.200",_dark:{[Js.variable]:"colors.gray.700",[fh.variable]:"colors.whiteAlpha.300"},width:"xs",border:"1px solid",borderColor:"inherit",borderRadius:"md",boxShadow:"sm",zIndex:"inherit",_focusVisible:{outline:0,boxShadow:"outline"}},D9={px:3,py:2,borderBottomWidth:"1px"},O9={px:3,py:2},F9={px:3,py:2,borderTopWidth:"1px"},z9={position:"absolute",borderRadius:"md",top:1,insetEnd:2,padding:2},L9=A9({popper:I9,content:M9,header:D9,body:O9,footer:F9,closeButton:z9}),$9=P9({baseStyle:L9}),{defineMultiStyleConfig:B9,definePartsStyle:ka}=Tt(J6.keys),R9=e=>{const{colorScheme:t,theme:n,isIndeterminate:r,hasStripe:i}=e,o=De(K1(),K1("1rem","rgba(0,0,0,0.1)"))(e),a=De(`${t}.500`,`${t}.200`)(e),s=`linear-gradient(
|
|
40
40
|
to right,
|
|
41
41
|
transparent 0%,
|
|
42
|
-
${
|
|
42
|
+
${dn(n,a)} 50%,
|
|
43
43
|
transparent 100%
|
|
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
|
|
44
|
+
)`;return{...!r&&i&&o,...r?{bgImage:s}:{bgColor:a}}},N9={lineHeight:"1",fontSize:"0.25em",fontWeight:"bold",color:"white"},V9=e=>({bg:De("gray.100","whiteAlpha.300")(e)}),W9=e=>({transitionProperty:"common",transitionDuration:"slow",...R9(e)}),H9=ka(e=>({label:N9,filledTrack:W9(e),track:V9(e)})),U9={xs:ka({track:{h:"1"}}),sm:ka({track:{h:"2"}}),md:ka({track:{h:"3"}}),lg:ka({track:{h:"4"}})},q9=B9({sizes:U9,baseStyle:H9,defaultProps:{size:"md",colorScheme:"blue"}}),{defineMultiStyleConfig:G9,definePartsStyle:Qs}=Tt(Q6.keys),Z9=e=>{var n;const t=(n=fn(Jr.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"}}}},K9=Qs(e=>{var t,n;return{label:(t=Jr.baseStyle)==null?void 0:t.call(Jr,e).label,container:(n=Jr.baseStyle)==null?void 0:n.call(Jr,e).container,control:Z9(e)}}),Y9={md:Qs({control:{w:"4",h:"4"},label:{fontSize:"md"}}),lg:Qs({control:{w:"5",h:"5"},label:{fontSize:"lg"}}),sm:Qs({control:{width:"3",height:"3"},label:{fontSize:"sm"}})},X9=G9({baseStyle:K9,sizes:Y9,defaultProps:{size:"md",colorScheme:"blue"}}),{defineMultiStyleConfig:J9,definePartsStyle:Q9}=Tt(ex.keys),el=Me("select-bg"),eC={...(T5=st.baseStyle)==null?void 0:T5.field,appearance:"none",paddingBottom:"1px",lineHeight:"normal",bg:el.reference,[el.variable]:"colors.white",_dark:{[el.variable]:"colors.gray.700"},"> option, > optgroup":{bg:el.reference}},tC={width:"6",height:"100%",insetEnd:"2",position:"relative",color:"currentColor",fontSize:"xl",_disabled:{opacity:.5}},nC=Q9({field:eC,icon:tC}),tl={paddingInlineEnd:"8"},rC={lg:{...(_5=st.sizes)==null?void 0:_5.lg,field:{...(E5=st.sizes)==null?void 0:E5.lg.field,...tl}},md:{...(P5=st.sizes)==null?void 0:P5.md,field:{...(A5=st.sizes)==null?void 0:A5.md.field,...tl}},sm:{...(j5=st.sizes)==null?void 0:j5.sm,field:{...(I5=st.sizes)==null?void 0:I5.sm.field,...tl}},xs:{...(M5=st.sizes)==null?void 0:M5.xs,field:{...(D5=st.sizes)==null?void 0:D5.xs.field,...tl},icon:{insetEnd:"1"}}},iC=J9({baseStyle:nC,sizes:rC,variants:st.variants,defaultProps:st.defaultProps}),mu=Me("skeleton-start-color"),gu=Me("skeleton-end-color"),oC={[mu.variable]:"colors.gray.100",[gu.variable]:"colors.gray.400",_dark:{[mu.variable]:"colors.gray.800",[gu.variable]:"colors.gray.600"},background:mu.reference,borderColor:gu.reference,opacity:.7,borderRadius:"sm"},aC={baseStyle:oC},yu=Me("skip-link-bg"),sC={borderRadius:"md",fontWeight:"semibold",_focusVisible:{boxShadow:"outline",padding:"4",position:"fixed",top:"6",insetStart:"6",[yu.variable]:"colors.white",_dark:{[yu.variable]:"colors.gray.700"},bg:yu.reference}},lC={baseStyle:sC},{defineMultiStyleConfig:cC,definePartsStyle:nl}=Tt(tx.keys),xi=Me("slider-thumb-size"),Sa=Me("slider-track-size"),ei=Me("slider-bg"),uC=e=>{const{orientation:t}=e;return{display:"inline-block",position:"relative",cursor:"pointer",_disabled:{opacity:.6,cursor:"default",pointerEvents:"none"},...Jc({orientation:t,vertical:{h:"100%",px:Or(xi.reference).divide(2).toString()},horizontal:{w:"100%",py:Or(xi.reference).divide(2).toString()}})}},dC=e=>({...Jc({orientation:e.orientation,horizontal:{h:Sa.reference},vertical:{w:Sa.reference}}),overflow:"hidden",borderRadius:"sm",[ei.variable]:"colors.gray.200",_dark:{[ei.variable]:"colors.whiteAlpha.200"},_disabled:{[ei.variable]:"colors.gray.300",_dark:{[ei.variable]:"colors.whiteAlpha.300"}},bg:ei.reference}),fC=e=>{const{orientation:t}=e;return{...Jc({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:xi.reference,h:xi.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"}}},pC=e=>{const{colorScheme:t}=e;return{width:"inherit",height:"inherit",[ei.variable]:`colors.${t}.500`,_dark:{[ei.variable]:`colors.${t}.200`},bg:ei.reference}},hC=nl(e=>({container:uC(e),track:dC(e),thumb:fC(e),filledTrack:pC(e)})),mC=nl({container:{[xi.variable]:"sizes.4",[Sa.variable]:"sizes.1"}}),gC=nl({container:{[xi.variable]:"sizes.3.5",[Sa.variable]:"sizes.1"}}),yC=nl({container:{[xi.variable]:"sizes.2.5",[Sa.variable]:"sizes.0.5"}}),vC=cC({baseStyle:hC,sizes:{lg:mC,md:gC,sm:yC},defaultProps:{size:"md",colorScheme:"blue"}}),Ci=Zt("spinner-size"),bC={width:[Ci.reference],height:[Ci.reference]},xC={xs:{[Ci.variable]:"sizes.3"},sm:{[Ci.variable]:"sizes.4"},md:{[Ci.variable]:"sizes.6"},lg:{[Ci.variable]:"sizes.8"},xl:{[Ci.variable]:"sizes.12"}},CC={baseStyle:bC,sizes:xC,defaultProps:{size:"md"}},{defineMultiStyleConfig:wC,definePartsStyle:ph}=Tt(nx.keys),kC={fontWeight:"medium"},SC={opacity:.8,marginBottom:"2"},TC={verticalAlign:"baseline",fontWeight:"semibold"},_C={marginEnd:1,w:"3.5",h:"3.5",verticalAlign:"middle"},EC=ph({container:{},label:kC,helpText:SC,number:TC,icon:_C}),PC={md:ph({label:{fontSize:"sm"},helpText:{fontSize:"sm"},number:{fontSize:"2xl"}})},AC=wC({baseStyle:EC,sizes:PC,defaultProps:{size:"md"}}),{defineMultiStyleConfig:jC,definePartsStyle:Ta}=Tt(["stepper","step","title","description","indicator","separator","icon","number"]),Br=Me("stepper-indicator-size"),lo=Me("stepper-icon-size"),co=Me("stepper-title-font-size"),_a=Me("stepper-description-font-size"),Ea=Me("stepper-accent-color"),IC=Ta(({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"},[Ea.variable]:`colors.${e}.500`,_dark:{[Ea.variable]:`colors.${e}.200`}},title:{fontSize:co.reference,fontWeight:"medium"},description:{fontSize:_a.reference,color:"chakra-subtle-text"},number:{fontSize:co.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:lo.reference,height:lo.reference},indicator:{flexShrink:0,borderRadius:"full",width:Br.reference,height:Br.reference,display:"flex",justifyContent:"center",alignItems:"center","&[data-status=active]":{borderWidth:"2px",borderColor:Ea.reference},"&[data-status=complete]":{bg:Ea.reference,color:"chakra-inverse-text"},"&[data-status=incomplete]":{borderWidth:"2px"}},separator:{bg:"chakra-border-color",flex:"1","&[data-status=complete]":{bg:Ea.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)`}}})),MC=jC({baseStyle:IC,sizes:{xs:Ta({stepper:{[Br.variable]:"sizes.4",[lo.variable]:"sizes.3",[co.variable]:"fontSizes.xs",[_a.variable]:"fontSizes.xs"}}),sm:Ta({stepper:{[Br.variable]:"sizes.6",[lo.variable]:"sizes.4",[co.variable]:"fontSizes.sm",[_a.variable]:"fontSizes.xs"}}),md:Ta({stepper:{[Br.variable]:"sizes.8",[lo.variable]:"sizes.5",[co.variable]:"fontSizes.md",[_a.variable]:"fontSizes.sm"}}),lg:Ta({stepper:{[Br.variable]:"sizes.10",[lo.variable]:"sizes.6",[co.variable]:"fontSizes.lg",[_a.variable]:"fontSizes.md"}})},defaultProps:{size:"md",colorScheme:"blue"}}),{defineMultiStyleConfig:DC,definePartsStyle:rl}=Tt(rx.keys),Pa=Zt("switch-track-width"),wi=Zt("switch-track-height"),vu=Zt("switch-track-diff"),OC=Fr.subtract(Pa,wi),bu=Zt("switch-thumb-x"),Aa=Zt("switch-bg"),FC=e=>{const{colorScheme:t}=e;return{borderRadius:"full",p:"0.5",width:[Pa.reference],height:[wi.reference],transitionProperty:"common",transitionDuration:"fast",[Aa.variable]:"colors.gray.300",_dark:{[Aa.variable]:"colors.whiteAlpha.400"},_focusVisible:{boxShadow:"outline"},_disabled:{opacity:.4,cursor:"not-allowed"},_checked:{[Aa.variable]:`colors.${t}.500`,_dark:{[Aa.variable]:`colors.${t}.200`}},bg:Aa.reference}},zC={bg:"white",transitionProperty:"transform",transitionDuration:"normal",borderRadius:"inherit",width:[wi.reference],height:[wi.reference],_checked:{transform:`translateX(${bu.reference})`}},LC=rl(e=>({container:{[vu.variable]:OC,[bu.variable]:vu.reference,_rtl:{[bu.variable]:Fr(vu).negate().toString()}},track:FC(e),thumb:zC})),$C={sm:rl({container:{[Pa.variable]:"1.375rem",[wi.variable]:"sizes.3"}}),md:rl({container:{[Pa.variable]:"1.875rem",[wi.variable]:"sizes.4"}}),lg:rl({container:{[Pa.variable]:"2.875rem",[wi.variable]:"sizes.6"}})},BC=DC({baseStyle:LC,sizes:$C,defaultProps:{size:"md",colorScheme:"blue"}}),{defineMultiStyleConfig:RC,definePartsStyle:uo}=Tt(ix.keys),NC=uo({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"}}),il={"&[data-is-numeric=true]":{textAlign:"end"}},VC=uo(e=>{const{colorScheme:t}=e;return{th:{color:De("gray.600","gray.400")(e),borderBottom:"1px",borderColor:De(`${t}.100`,`${t}.700`)(e),...il},td:{borderBottom:"1px",borderColor:De(`${t}.100`,`${t}.700`)(e),...il},caption:{color:De("gray.600","gray.100")(e)},tfoot:{tr:{"&:last-of-type":{th:{borderBottomWidth:0}}}}}}),WC=uo(e=>{const{colorScheme:t}=e;return{th:{color:De("gray.600","gray.400")(e),borderBottom:"1px",borderColor:De(`${t}.100`,`${t}.700`)(e),...il},td:{borderBottom:"1px",borderColor:De(`${t}.100`,`${t}.700`)(e),...il},caption:{color:De("gray.600","gray.100")(e)},tbody:{tr:{"&:nth-of-type(odd)":{"th, td":{borderBottomWidth:"1px",borderColor:De(`${t}.100`,`${t}.700`)(e)},td:{background:De(`${t}.100`,`${t}.700`)(e)}}}},tfoot:{tr:{"&:last-of-type":{th:{borderBottomWidth:0}}}}}}),HC={simple:VC,striped:WC,unstyled:{}},UC={sm:uo({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:uo({th:{px:"6",py:"3",lineHeight:"4",fontSize:"xs"},td:{px:"6",py:"4",lineHeight:"5"},caption:{px:"6",py:"2",fontSize:"sm"}}),lg:uo({th:{px:"8",py:"4",lineHeight:"5",fontSize:"sm"},td:{px:"8",py:"5",lineHeight:"6"},caption:{px:"6",py:"2",fontSize:"md"}})},qC=RC({baseStyle:NC,variants:HC,sizes:UC,defaultProps:{variant:"simple",size:"md",colorScheme:"gray"}}),bn=Me("tabs-color"),Jn=Me("tabs-bg"),ol=Me("tabs-border-color"),{defineMultiStyleConfig:GC,definePartsStyle:fr}=Tt(ox.keys),ZC=e=>{const{orientation:t}=e;return{display:t==="vertical"?"flex":"block"}},KC=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}}},YC=e=>{const{align:t="start",orientation:n}=e;return{justifyContent:{end:"flex-end",center:"center",start:"flex-start"}[t],flexDirection:n==="vertical"?"column":"row"}},XC={p:4},JC=fr(e=>({root:ZC(e),tab:KC(e),tablist:YC(e),tabpanel:XC})),QC={sm:fr({tab:{py:1,px:4,fontSize:"sm"}}),md:fr({tab:{fontSize:"md",py:2,px:4}}),lg:fr({tab:{fontSize:"lg",py:3,px:4}})},ew=fr(e=>{const{colorScheme:t,orientation:n}=e,r=n==="vertical",i=r?"borderStart":"borderBottom",o=r?"marginStart":"marginBottom";return{tablist:{[i]:"2px solid",borderColor:"inherit"},tab:{[i]:"2px solid",borderColor:"transparent",[o]:"-2px",_selected:{[bn.variable]:`colors.${t}.600`,_dark:{[bn.variable]:`colors.${t}.300`},borderColor:"currentColor"},_active:{[Jn.variable]:"colors.gray.200",_dark:{[Jn.variable]:"colors.whiteAlpha.300"}},_disabled:{_active:{bg:"none"}},color:bn.reference,bg:Jn.reference}}}),tw=fr(e=>{const{colorScheme:t}=e;return{tab:{borderTopRadius:"md",border:"1px solid",borderColor:"transparent",mb:"-1px",[ol.variable]:"transparent",_selected:{[bn.variable]:`colors.${t}.600`,[ol.variable]:"colors.white",_dark:{[bn.variable]:`colors.${t}.300`,[ol.variable]:"colors.gray.800"},borderColor:"inherit",borderBottomColor:ol.reference},color:bn.reference},tablist:{mb:"-1px",borderBottom:"1px solid",borderColor:"inherit"}}}),nw=fr(e=>{const{colorScheme:t}=e;return{tab:{border:"1px solid",borderColor:"inherit",[Jn.variable]:"colors.gray.50",_dark:{[Jn.variable]:"colors.whiteAlpha.50"},mb:"-1px",_notLast:{marginEnd:"-1px"},_selected:{[Jn.variable]:"colors.white",[bn.variable]:`colors.${t}.600`,_dark:{[Jn.variable]:"colors.gray.800",[bn.variable]:`colors.${t}.300`},borderColor:"inherit",borderTopColor:"currentColor",borderBottomColor:"transparent"},color:bn.reference,bg:Jn.reference},tablist:{mb:"-1px",borderBottom:"1px solid",borderColor:"inherit"}}}),rw=fr(e=>{const{colorScheme:t,theme:n}=e;return{tab:{borderRadius:"full",fontWeight:"semibold",color:"gray.600",_selected:{color:dn(n,`${t}.700`),bg:dn(n,`${t}.100`)}}}}),iw=fr(e=>{const{colorScheme:t}=e;return{tab:{borderRadius:"full",fontWeight:"semibold",[bn.variable]:"colors.gray.600",_dark:{[bn.variable]:"inherit"},_selected:{[bn.variable]:"colors.white",[Jn.variable]:`colors.${t}.600`,_dark:{[bn.variable]:"colors.gray.800",[Jn.variable]:`colors.${t}.300`}},color:bn.reference,bg:Jn.reference}}}),ow=fr({}),aw=GC({baseStyle:JC,sizes:QC,variants:{line:ew,enclosed:tw,"enclosed-colored":nw,"soft-rounded":rw,"solid-rounded":iw,unstyled:ow},defaultProps:{size:"md",variant:"line",colorScheme:"blue"}}),{defineMultiStyleConfig:sw,definePartsStyle:ki}=Tt(ax.keys),hh=Me("tag-bg"),mh=Me("tag-color"),xu=Me("tag-shadow"),al=Me("tag-min-height"),sl=Me("tag-min-width"),ll=Me("tag-font-size"),cl=Me("tag-padding-inline"),lw={fontWeight:"medium",lineHeight:1.2,outline:0,[mh.variable]:Nt.color.reference,[hh.variable]:Nt.bg.reference,[xu.variable]:Nt.shadow.reference,color:mh.reference,bg:hh.reference,boxShadow:xu.reference,borderRadius:"md",minH:al.reference,minW:sl.reference,fontSize:ll.reference,px:cl.reference,_focusVisible:{[xu.variable]:"shadows.outline"}},cw={lineHeight:1.2,overflow:"visible"},uw={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}},dw=ki({container:lw,label:cw,closeButton:uw}),fw={sm:ki({container:{[al.variable]:"sizes.5",[sl.variable]:"sizes.5",[ll.variable]:"fontSizes.xs",[cl.variable]:"space.2"},closeButton:{marginEnd:"-2px",marginStart:"0.35rem"}}),md:ki({container:{[al.variable]:"sizes.6",[sl.variable]:"sizes.6",[ll.variable]:"fontSizes.sm",[cl.variable]:"space.2"}}),lg:ki({container:{[al.variable]:"sizes.8",[sl.variable]:"sizes.8",[ll.variable]:"fontSizes.md",[cl.variable]:"space.3"}})},pw={subtle:ki(e=>{var t;return{container:(t=ba.variants)==null?void 0:t.subtle(e)}}),solid:ki(e=>{var t;return{container:(t=ba.variants)==null?void 0:t.solid(e)}}),outline:ki(e=>{var t;return{container:(t=ba.variants)==null?void 0:t.outline(e)}})},hw=sw({variants:pw,baseStyle:dw,sizes:fw,defaultProps:{size:"md",variant:"subtle",colorScheme:"gray"}}),mw={...(O5=st.baseStyle)==null?void 0:O5.field,paddingY:"2",minHeight:"20",lineHeight:"short",verticalAlign:"top"},gw={outline:e=>{var t;return((t=st.variants)==null?void 0:t.outline(e).field)??{}},flushed:e=>{var t;return((t=st.variants)==null?void 0:t.flushed(e).field)??{}},filled:e=>{var t;return((t=st.variants)==null?void 0:t.filled(e).field)??{}},unstyled:((F5=st.variants)==null?void 0:F5.unstyled.field)??{}},yw={xs:((z5=st.sizes)==null?void 0:z5.xs.field)??{},sm:((L5=st.sizes)==null?void 0:L5.sm.field)??{},md:(($5=st.sizes)==null?void 0:$5.md.field)??{},lg:((B5=st.sizes)==null?void 0:B5.lg.field)??{}},vw={baseStyle:mw,sizes:yw,variants:gw,defaultProps:{size:"md",variant:"outline"}},ul=Zt("tooltip-bg"),Cu=Zt("tooltip-fg"),bw=Zt("popper-arrow-bg"),xw={bg:ul.reference,color:Cu.reference,[ul.variable]:"colors.gray.700",[Cu.variable]:"colors.whiteAlpha.900",_dark:{[ul.variable]:"colors.gray.300",[Cu.variable]:"colors.gray.900"},[bw.variable]:ul.reference,px:"2",py:"0.5",borderRadius:"sm",fontWeight:"medium",fontSize:"sm",boxShadow:"md",maxW:"xs",zIndex:"tooltip"},Cw={baseStyle:xw},ww={Accordion:mx,Alert:Xx,Avatar:a7,Badge:ba,Breadcrumb:m7,Button:S7,Checkbox:Jr,CloseButton:B7,Code:W7,Container:U7,Divider:K7,Drawer:a8,Editable:p8,Form:b8,FormError:T8,FormLabel:E8,Heading:j8,Input:st,Kbd:B8,Link:N8,List:q8,Menu:r9,Modal:h9,NumberInput:k9,PinInput:E9,Popover:$9,Progress:q9,Radio:X9,Select:iC,Skeleton:aC,SkipLink:lC,Slider:vC,Spinner:CC,Stat:AC,Switch:BC,Table:qC,Tabs:aw,Tag:hw,Textarea:vw,Tooltip:Cw,Card:A7,Stepper:MC},kw={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"}},...ch,sizes:rh,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:nh,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"}}},Sw={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"}}},Tw={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"}}},_w=["borders","breakpoints","colors","components","config","direction","fonts","fontSizes","fontWeights","letterSpacings","lineHeights","radii","shadows","sizes","space","styles","transition","zIndices"];function Ew(e){return un(e)?_w.every(t=>Object.prototype.hasOwnProperty.call(e,t)):!1}const gh={semanticTokens:Sw,direction:"ltr",...kw,components:ww,styles:Tw,config:{useSystemColorMode:!1,initialColorMode:"light",cssVarPrefix:"chakra"}};function Pw(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 Aw(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 jw=function(){function e(n){var r=this;this._insertTag=function(i){var o;r.tags.length===0?r.insertionPoint?o=r.insertionPoint.nextSibling:r.prepend?o=r.container.firstChild:o=r.before:o=r.tags[r.tags.length-1].nextSibling,r.container.insertBefore(i,o),r.tags.push(i)},this.isSpeedy=n.speedy===void 0?!0: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(Aw(this));var i=this.tags[this.tags.length-1];if(this.isSpeedy){var o=Pw(i);try{o.insertRule(r,o.cssRules.length)}catch{}}else i.appendChild(document.createTextNode(r));this.ctr++},t.flush=function(){this.tags.forEach(function(r){var i;return(i=r.parentNode)==null?void 0:i.removeChild(r)}),this.tags=[],this.ctr=0},e}(),rn="-ms-",dl="-moz-",lt="-webkit-",yh="comm",wu="rule",ku="decl",Iw="@import",vh="@keyframes",Mw="@layer",Dw=Math.abs,fl=String.fromCharCode,Ow=Object.assign;function Fw(e,t){return Qt(e,0)^45?(((t<<2^Qt(e,0))<<2^Qt(e,1))<<2^Qt(e,2))<<2^Qt(e,3):0}function bh(e){return e.trim()}function zw(e,t){return(e=t.exec(e))?e[0]:e}function ct(e,t,n){return e.replace(t,n)}function Su(e,t){return e.indexOf(t)}function Qt(e,t){return e.charCodeAt(t)|0}function ja(e,t,n){return e.slice(t,n)}function pr(e){return e.length}function Tu(e){return e.length}function pl(e,t){return t.push(e),e}function Lw(e,t){return e.map(t).join("")}var hl=1,fo=1,xh=0,xn=0,Ht=0,po="";function ml(e,t,n,r,i,o,a){return{value:e,root:t,parent:n,type:r,props:i,children:o,line:hl,column:fo,length:a,return:""}}function Ia(e,t){return Ow(ml("",null,null,"",null,null,0),e,{length:-e.length},t)}function $w(){return Ht}function Bw(){return Ht=xn>0?Qt(po,--xn):0,fo--,Ht===10&&(fo=1,hl--),Ht}function jn(){return Ht=xn<xh?Qt(po,xn++):0,fo++,Ht===10&&(fo=1,hl++),Ht}function hr(){return Qt(po,xn)}function gl(){return xn}function Ma(e,t){return ja(po,e,t)}function Da(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 Ch(e){return hl=fo=1,xh=pr(po=e),xn=0,[]}function wh(e){return po="",e}function yl(e){return bh(Ma(xn-1,_u(e===91?e+2:e===40?e+1:e)))}function Rw(e){for(;(Ht=hr())&&Ht<33;)jn();return Da(e)>2||Da(Ht)>3?"":" "}function Nw(e,t){for(;--t&&jn()&&!(Ht<48||Ht>102||Ht>57&&Ht<65||Ht>70&&Ht<97););return Ma(e,gl()+(t<6&&hr()==32&&jn()==32))}function _u(e){for(;jn();)switch(Ht){case e:return xn;case 34:case 39:e!==34&&e!==39&&_u(Ht);break;case 40:e===41&&_u(e);break;case 92:jn();break}return xn}function Vw(e,t){for(;jn()&&e+Ht!==57;)if(e+Ht===84&&hr()===47)break;return"/*"+Ma(t,xn-1)+"*"+fl(e===47?e:jn())}function Ww(e){for(;!Da(hr());)jn();return Ma(e,xn)}function Hw(e){return wh(vl("",null,null,null,[""],e=Ch(e),0,[0],e))}function vl(e,t,n,r,i,o,a,s,l){for(var c=0,u=0,d=a,f=0,p=0,m=0,g=1,y=1,v=1,x=0,w="",E=i,k=o,T=r,I=w;y;)switch(m=x,x=jn()){case 40:if(m!=108&&Qt(I,d-1)==58){Su(I+=ct(yl(x),"&","&\f"),"&\f")!=-1&&(v=-1);break}case 34:case 39:case 91:I+=yl(x);break;case 9:case 10:case 13:case 32:I+=Rw(m);break;case 92:I+=Nw(gl()-1,7);continue;case 47:switch(hr()){case 42:case 47:pl(Uw(Vw(jn(),gl()),t,n),l);break;default:I+="/"}break;case 123*g:s[c++]=pr(I)*v;case 125*g:case 59:case 0:switch(x){case 0:case 125:y=0;case 59+u:v==-1&&(I=ct(I,/\f/g,"")),p>0&&pr(I)-d&&pl(p>32?Sh(I+";",r,n,d-1):Sh(ct(I," ","")+";",r,n,d-2),l);break;case 59:I+=";";default:if(pl(T=kh(I,t,n,c,u,i,s,w,E=[],k=[],d),o),x===123)if(u===0)vl(I,t,T,T,E,o,d,s,k);else switch(f===99&&Qt(I,3)===110?100:f){case 100:case 108:case 109:case 115:vl(e,T,T,r&&pl(kh(e,T,T,0,0,i,s,w,i,E=[],d),k),i,k,d,s,r?E:k);break;default:vl(I,T,T,T,[""],k,0,s,k)}}c=u=p=0,g=v=1,w=I="",d=a;break;case 58:d=1+pr(I),p=m;default:if(g<1){if(x==123)--g;else if(x==125&&g++==0&&Bw()==125)continue}switch(I+=fl(x),x*g){case 38:v=u>0?1:(I+="\f",-1);break;case 44:s[c++]=(pr(I)-1)*v,v=1;break;case 64:hr()===45&&(I+=yl(jn())),f=hr(),u=d=pr(w=I+=Ww(gl())),x++;break;case 45:m===45&&pr(I)==2&&(g=0)}}return o}function kh(e,t,n,r,i,o,a,s,l,c,u){for(var d=i-1,f=i===0?o:[""],p=Tu(f),m=0,g=0,y=0;m<r;++m)for(var v=0,x=ja(e,d+1,d=Dw(g=a[m])),w=e;v<p;++v)(w=bh(g>0?f[v]+" "+x:ct(x,/&\f/g,f[v])))&&(l[y++]=w);return ml(e,t,n,i===0?wu:s,l,c,u)}function Uw(e,t,n){return ml(e,t,n,yh,fl($w()),ja(e,2,-2),0)}function Sh(e,t,n,r){return ml(e,t,n,ku,ja(e,0,r),ja(e,r+1,-1),r)}function ho(e,t){for(var n="",r=Tu(e),i=0;i<r;i++)n+=t(e[i],i,e,t)||"";return n}function qw(e,t,n,r){switch(e.type){case Mw:if(e.children.length)break;case Iw:case ku:return e.return=e.return||e.value;case yh:return"";case vh:return e.return=e.value+"{"+ho(e.children,r)+"}";case wu:e.value=e.props.join(",")}return pr(n=ho(e.children,r))?e.return=e.value+"{"+n+"}":""}function Gw(e){var t=Tu(e);return function(n,r,i,o){for(var a="",s=0;s<t;s++)a+=e[s](n,r,i,o)||"";return a}}function Zw(e){return function(t){t.root||(t=t.return)&&e(t)}}var Th=function(t){var n=new WeakMap;return function(r){if(n.has(r))return n.get(r);var i=t(r);return n.set(r,i),i}};function _h(e){var t=Object.create(null);return function(n){return t[n]===void 0&&(t[n]=e(n)),t[n]}}var Kw=function(t,n,r){for(var i=0,o=0;i=o,o=hr(),i===38&&o===12&&(n[r]=1),!Da(o);)jn();return Ma(t,xn)},Yw=function(t,n){var r=-1,i=44;do switch(Da(i)){case 0:i===38&&hr()===12&&(n[r]=1),t[r]+=Kw(xn-1,n,r);break;case 2:t[r]+=yl(i);break;case 4:if(i===44){t[++r]=hr()===58?"&\f":"",n[r]=t[r].length;break}default:t[r]+=fl(i)}while(i=jn());return t},Xw=function(t,n){return wh(Yw(Ch(t),n))},Eh=new WeakMap,Jw=function(t){if(!(t.type!=="rule"||!t.parent||t.length<1)){for(var n=t.value,r=t.parent,i=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&&!Eh.get(r))&&!i){Eh.set(t,!0);for(var o=[],a=Xw(n,o),s=r.props,l=0,c=0;l<a.length;l++)for(var u=0;u<s.length;u++,c++)t.props[c]=o[l]?a[l].replace(/&\f/g,s[u]):s[u]+" "+a[l]}}},Qw=function(t){if(t.type==="decl"){var n=t.value;n.charCodeAt(0)===108&&n.charCodeAt(2)===98&&(t.return="",t.value="")}};function Ph(e,t){switch(Fw(e,t)){case 5103:return lt+"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 lt+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return lt+e+dl+e+rn+e+e;case 6828:case 4268:return lt+e+rn+e+e;case 6165:return lt+e+rn+"flex-"+e+e;case 5187:return lt+e+ct(e,/(\w+).+(:[^]+)/,lt+"box-$1$2"+rn+"flex-$1$2")+e;case 5443:return lt+e+rn+"flex-item-"+ct(e,/flex-|-self/,"")+e;case 4675:return lt+e+rn+"flex-line-pack"+ct(e,/align-content|flex-|-self/,"")+e;case 5548:return lt+e+rn+ct(e,"shrink","negative")+e;case 5292:return lt+e+rn+ct(e,"basis","preferred-size")+e;case 6060:return lt+"box-"+ct(e,"-grow","")+lt+e+rn+ct(e,"grow","positive")+e;case 4554:return lt+ct(e,/([^-])(transform)/g,"$1"+lt+"$2")+e;case 6187:return ct(ct(ct(e,/(zoom-|grab)/,lt+"$1"),/(image-set)/,lt+"$1"),e,"")+e;case 5495:case 3959:return ct(e,/(image-set\([^]*)/,lt+"$1$`$1");case 4968:return ct(ct(e,/(.+:)(flex-)?(.*)/,lt+"box-pack:$3"+rn+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+lt+e+e;case 4095:case 3583:case 4068:case 2532:return ct(e,/(.+)-inline(.+)/,lt+"$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(pr(e)-1-t>6)switch(Qt(e,t+1)){case 109:if(Qt(e,t+4)!==45)break;case 102:return ct(e,/(.+:)(.+)-([^]+)/,"$1"+lt+"$2-$3$1"+dl+(Qt(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~Su(e,"stretch")?Ph(ct(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(Qt(e,t+1)!==115)break;case 6444:switch(Qt(e,pr(e)-3-(~Su(e,"!important")&&10))){case 107:return ct(e,":",":"+lt)+e;case 101:return ct(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+lt+(Qt(e,14)===45?"inline-":"")+"box$3$1"+lt+"$2$3$1"+rn+"$2box$3")+e}break;case 5936:switch(Qt(e,t+11)){case 114:return lt+e+rn+ct(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return lt+e+rn+ct(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return lt+e+rn+ct(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return lt+e+rn+e+e}return e}var ek=function(t,n,r,i){if(t.length>-1&&!t.return)switch(t.type){case ku:t.return=Ph(t.value,t.length);break;case vh:return ho([Ia(t,{value:ct(t.value,"@","@"+lt)})],i);case wu:if(t.length)return Lw(t.props,function(o){switch(zw(o,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return ho([Ia(t,{props:[ct(o,/:(read-\w+)/,":"+dl+"$1")]})],i);case"::placeholder":return ho([Ia(t,{props:[ct(o,/:(plac\w+)/,":"+lt+"input-$1")]}),Ia(t,{props:[ct(o,/:(plac\w+)/,":"+dl+"$1")]}),Ia(t,{props:[ct(o,/:(plac\w+)/,rn+"input-$1")]})],i)}return""})}},tk=[ek],nk=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(g){var y=g.getAttribute("data-emotion");y.indexOf(" ")!==-1&&(document.head.appendChild(g),g.setAttribute("data-s",""))})}var i=t.stylisPlugins||tk,o={},a,s=[];a=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+n+' "]'),function(g){for(var y=g.getAttribute("data-emotion").split(" "),v=1;v<y.length;v++)o[y[v]]=!0;s.push(g)});var l,c=[Jw,Qw];{var u,d=[qw,Zw(function(g){u.insert(g)})],f=Gw(c.concat(i,d)),p=function(y){return ho(Hw(y),f)};l=function(y,v,x,w){u=x,p(y?y+"{"+v.styles+"}":v.styles),w&&(m.inserted[v.name]=!0)}}var m={key:n,sheet:new jw({key:n,container:a,nonce:t.nonce,speedy:t.speedy,prepend:t.prepend,insertionPoint:t.insertionPoint}),nonce:t.nonce,inserted:o,registered:{},insert:l};return m.sheet.hydrate(s),m};function Si(){return Si=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},Si.apply(null,arguments)}var Eu={exports:{}},dt={};/** @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
|
|
51
|
+
*/var Ah;function rk(){if(Ah)return dt;Ah=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,i=e?Symbol.for("react.strict_mode"):60108,o=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,d=e?Symbol.for("react.suspense"):60113,f=e?Symbol.for("react.suspense_list"):60120,p=e?Symbol.for("react.memo"):60115,m=e?Symbol.for("react.lazy"):60116,g=e?Symbol.for("react.block"):60121,y=e?Symbol.for("react.fundamental"):60117,v=e?Symbol.for("react.responder"):60118,x=e?Symbol.for("react.scope"):60119;function w(k){if(typeof k=="object"&&k!==null){var T=k.$$typeof;switch(T){case t:switch(k=k.type,k){case l:case c:case r:case o:case i:case d:return k;default:switch(k=k&&k.$$typeof,k){case s:case u:case m:case p:case a:return k;default:return T}}case n:return T}}}function E(k){return w(k)===c}return dt.AsyncMode=l,dt.ConcurrentMode=c,dt.ContextConsumer=s,dt.ContextProvider=a,dt.Element=t,dt.ForwardRef=u,dt.Fragment=r,dt.Lazy=m,dt.Memo=p,dt.Portal=n,dt.Profiler=o,dt.StrictMode=i,dt.Suspense=d,dt.isAsyncMode=function(k){return E(k)||w(k)===l},dt.isConcurrentMode=E,dt.isContextConsumer=function(k){return w(k)===s},dt.isContextProvider=function(k){return w(k)===a},dt.isElement=function(k){return typeof k=="object"&&k!==null&&k.$$typeof===t},dt.isForwardRef=function(k){return w(k)===u},dt.isFragment=function(k){return w(k)===r},dt.isLazy=function(k){return w(k)===m},dt.isMemo=function(k){return w(k)===p},dt.isPortal=function(k){return w(k)===n},dt.isProfiler=function(k){return w(k)===o},dt.isStrictMode=function(k){return w(k)===i},dt.isSuspense=function(k){return w(k)===d},dt.isValidElementType=function(k){return typeof k=="string"||typeof k=="function"||k===r||k===c||k===o||k===i||k===d||k===f||typeof k=="object"&&k!==null&&(k.$$typeof===m||k.$$typeof===p||k.$$typeof===a||k.$$typeof===s||k.$$typeof===u||k.$$typeof===y||k.$$typeof===v||k.$$typeof===x||k.$$typeof===g)},dt.typeOf=w,dt}var ft={};/** @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 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,ue=b,se=h,L=n,Z=i,Y=o,N=f,ce=!1;function he(H){return ce||(ce=!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 G(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=ue,rt.Memo=se,rt.Portal=L,rt.Profiler=Z,rt.StrictMode=Y,rt.Suspense=N,rt.isAsyncMode=he,rt.isConcurrentMode=O,rt.isContextConsumer=F,rt.isContextProvider=G,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`
|
|
58
|
+
*/var jh;function ik(){return jh||(jh=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,i=e?Symbol.for("react.strict_mode"):60108,o=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,d=e?Symbol.for("react.suspense"):60113,f=e?Symbol.for("react.suspense_list"):60120,p=e?Symbol.for("react.memo"):60115,m=e?Symbol.for("react.lazy"):60116,g=e?Symbol.for("react.block"):60121,y=e?Symbol.for("react.fundamental"):60117,v=e?Symbol.for("react.responder"):60118,x=e?Symbol.for("react.scope"):60119;function w(K){return typeof K=="string"||typeof K=="function"||K===r||K===c||K===o||K===i||K===d||K===f||typeof K=="object"&&K!==null&&(K.$$typeof===m||K.$$typeof===p||K.$$typeof===a||K.$$typeof===s||K.$$typeof===u||K.$$typeof===y||K.$$typeof===v||K.$$typeof===x||K.$$typeof===g)}function E(K){if(typeof K=="object"&&K!==null){var je=K.$$typeof;switch(je){case t:var $e=K.type;switch($e){case l:case c:case r:case o:case i:case d:return $e;default:var F=$e&&$e.$$typeof;switch(F){case s:case u:case m:case p:case a:return F;default:return je}}case n:return je}}}var k=l,T=c,I=s,D=a,$=t,P=u,W=r,Z=m,ne=p,z=n,q=o,X=i,N=d,ce=!1;function he(K){return ce||(ce=!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.")),C(K)||E(K)===l}function C(K){return E(K)===c}function R(K){return E(K)===s}function J(K){return E(K)===a}function S(K){return typeof K=="object"&&K!==null&&K.$$typeof===t}function V(K){return E(K)===u}function _(K){return E(K)===r}function Q(K){return E(K)===m}function ie(K){return E(K)===p}function re(K){return E(K)===n}function me(K){return E(K)===o}function pe(K){return E(K)===i}function ke(K){return E(K)===d}ft.AsyncMode=k,ft.ConcurrentMode=T,ft.ContextConsumer=I,ft.ContextProvider=D,ft.Element=$,ft.ForwardRef=P,ft.Fragment=W,ft.Lazy=Z,ft.Memo=ne,ft.Portal=z,ft.Profiler=q,ft.StrictMode=X,ft.Suspense=N,ft.isAsyncMode=he,ft.isConcurrentMode=C,ft.isContextConsumer=R,ft.isContextProvider=J,ft.isElement=S,ft.isForwardRef=V,ft.isFragment=_,ft.isLazy=Q,ft.isMemo=ie,ft.isPortal=re,ft.isProfiler=me,ft.isStrictMode=pe,ft.isSuspense=ke,ft.isValidElementType=w,ft.typeOf=E}()),ft}process.env.NODE_ENV==="production"?Eu.exports=rk():Eu.exports=ik();var Pu=Eu.exports,Ih=Pu,ok={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},ak={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},Mh={};Mh[Ih.ForwardRef]=ok,Mh[Ih.Memo]=ak;var sk=!0;function Dh(e,t,n){var r="";return n.split(" ").forEach(function(i){e[i]!==void 0?t.push(e[i]+";"):i&&(r+=i+" ")}),r}var Au=function(t,n,r){var i=t.key+"-"+n.name;(r===!1||sk===!1)&&t.registered[i]===void 0&&(t.registered[i]=n.styles)},ju=function(t,n,r){Au(t,n,r);var i=t.key+"-"+n.name;if(t.inserted[n.name]===void 0){var o=n;do t.insert(n===o?"."+i:"",o,t.sheet,!0),o=o.next;while(o!==void 0)}};function lk(e){for(var t=0,n,r=0,i=e.length;i>=4;++r,i-=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(i){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 ck={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},uk=/[A-Z]|^ms/g,dk=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Oh=function(t){return t.charCodeAt(1)===45},Fh=function(t){return t!=null&&typeof t!="boolean"},Iu=_h(function(e){return Oh(e)?e:e.replace(uk,"-$&").toLowerCase()}),zh=function(t,n){switch(t){case"animation":case"animationName":if(typeof n=="string")return n.replace(dk,function(r,i,o){return mr={name:i,styles:o,next:mr},i})}return ck[t]!==1&&!Oh(t)&&typeof n=="number"&&n!==0?n+"px":n};function Oa(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 i=n;if(i.anim===1)return mr={name:i.name,styles:i.styles,next:mr},i.name;var o=n;if(o.styles!==void 0){var a=o.next;if(a!==void 0)for(;a!==void 0;)mr={name:a.name,styles:a.styles,next:mr},a=a.next;var s=o.styles+";";return s}return fk(e,t,n)}case"function":{if(e!==void 0){var l=mr,c=n(e);return mr=l,Oa(e,t,c)}break}}var u=n;if(t==null)return u;var d=t[u];return d!==void 0?d:u}function fk(e,t,n){var r="";if(Array.isArray(n))for(var i=0;i<n.length;i++)r+=Oa(e,t,n[i])+";";else for(var o in n){var a=n[o];if(typeof a!="object"){var s=a;t!=null&&t[s]!==void 0?r+=o+"{"+t[s]+"}":Fh(s)&&(r+=Iu(o)+":"+zh(o,s)+";")}else if(Array.isArray(a)&&typeof a[0]=="string"&&(t==null||t[a[0]]===void 0))for(var l=0;l<a.length;l++)Fh(a[l])&&(r+=Iu(o)+":"+zh(o,a[l])+";");else{var c=Oa(e,t,a);switch(o){case"animation":case"animationName":{r+=Iu(o)+":"+c+";";break}default:r+=o+"{"+c+"}"}}}return r}var Lh=/label:\s*([^\s;{]+)\s*(;|$)/g,mr;function bl(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,i="";mr=void 0;var o=e[0];if(o==null||o.raw===void 0)r=!1,i+=Oa(n,t,o);else{var a=o;i+=a[0]}for(var s=1;s<e.length;s++)if(i+=Oa(n,t,e[s]),r){var l=o;i+=l[s]}Lh.lastIndex=0;for(var c="",u;(u=Lh.exec(i))!==null;)c+="-"+u[1];var d=lk(i)+c;return{name:d,styles:i,next:mr}}var pk=function(t){return t()},$h=Se.useInsertionEffect?Se.useInsertionEffect:!1,Bh=$h||pk,Rh=$h||Se.useLayoutEffect,Mu=Se.createContext(typeof HTMLElement<"u"?nk({key:"css"}):null);Mu.Provider;var hk=function(){return b.useContext(Mu)},Du=function(t){return b.forwardRef(function(n,r){var i=b.useContext(Mu);return t(n,i,r)})},mo=Se.createContext({}),mk=function(t,n){if(typeof n=="function"){var r=n(t);return r}return Si({},t,n)},gk=Th(function(e){return Th(function(t){return mk(e,t)})}),yk=function(t){var n=Se.useContext(mo);return t.theme!==n&&(n=gk(n)(t.theme)),Se.createElement(mo.Provider,{value:n},t.children)},Ou={}.hasOwnProperty,Fu="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",vk=function(t,n){var r={};for(var i in n)Ou.call(n,i)&&(r[i]=n[i]);return r[Fu]=t,r},bk=function(t){var n=t.cache,r=t.serialized,i=t.isStringTag;return Au(n,r,i),Bh(function(){return ju(n,r,i)}),null},xk=Du(function(e,t,n){var r=e.css;typeof r=="string"&&t.registered[r]!==void 0&&(r=t.registered[r]);var i=e[Fu],o=[r],a="";typeof e.className=="string"?a=Dh(t.registered,o,e.className):e.className!=null&&(a=e.className+" ");var s=bl(o,void 0,Se.useContext(mo));a+=t.key+"-"+s.name;var l={};for(var c in e)Ou.call(e,c)&&c!=="css"&&c!==Fu&&(l[c]=e[c]);return l.className=a,n&&(l.ref=n),Se.createElement(Se.Fragment,null,Se.createElement(bk,{cache:t,serialized:s,isStringTag:typeof i=="string"}),Se.createElement(i,l))}),Ck=xk,Nh=function(t,n){var r=arguments;if(n==null||!Ou.call(n,"css"))return Se.createElement.apply(void 0,r);var i=r.length,o=new Array(i);o[0]=Ck,o[1]=vk(t,n);for(var a=2;a<i;a++)o[a]=r[a];return Se.createElement.apply(null,o)};(function(e){var t;t||(t=e.JSX||(e.JSX={}))})(Nh||(Nh={}));var xl=Du(function(e,t){var n=e.styles,r=bl([n],void 0,Se.useContext(mo)),i=Se.useRef();return Rh(function(){var o=t.key+"-global",a=new t.sheet.constructor({key:o,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),s=!1,l=document.querySelector('style[data-emotion="'+o+" "+r.name+'"]');return t.sheet.tags.length&&(a.before=t.sheet.tags[0]),l!==null&&(s=!0,l.setAttribute("data-emotion",o),a.hydrate([l])),i.current=[a,s],function(){a.flush()}},[t]),Rh(function(){var o=i.current,a=o[0],s=o[1];if(s){o[1]=!1;return}if(r.next!==void 0&&ju(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 wk(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return bl(t)}function Rr(){var e=wk.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 zu=b.createContext({});zu.displayName="ColorModeContext";function Lu(){const e=b.useContext(zu);if(e===void 0)throw new Error("useColorMode must be used within a ColorModeProvider");return e}const Cl={light:"chakra-ui-light",dark:"chakra-ui-dark"};function kk(e={}){const{preventTransition:t=!0,nonce:n}=e,r={setDataset:i=>{const o=t?r.preventTransition():void 0;document.documentElement.dataset.theme=i,document.documentElement.style.colorScheme=i,o==null||o()},setClassName(i){document.body.classList.add(i?Cl.dark:Cl.light),document.body.classList.remove(i?Cl.light:Cl.dark)},query(){return window.matchMedia("(prefers-color-scheme: dark)")},getSystemTheme(i){return r.query().matches??i==="dark"?"dark":"light"},addListener(i){const o=r.query(),a=s=>{i(s.matches?"dark":"light")};return typeof o.addListener=="function"?o.addListener(a):o.addEventListener("change",a),()=>{typeof o.removeListener=="function"?o.removeListener(a):o.removeEventListener("change",a)}},preventTransition(){const i=document.createElement("style");return i.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&&(i.nonce=n),document.head.appendChild(i),()=>{window.getComputedStyle(document.body),requestAnimationFrame(()=>{requestAnimationFrame(()=>{document.head.removeChild(i)})})}}};return r}const Sk="chakra-ui-color-mode";function Tk(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 _k=Tk(Sk),Vh=()=>{},Ek=K5()?b.useLayoutEffect:b.useEffect;function Wh(e,t){return e.type==="cookie"&&e.ssr?e.get(t):t}const Hh=function(t){const{value:n,children:r,options:{useSystemColorMode:i,initialColorMode:o,disableTransitionOnChange:a}={},colorModeManager:s=_k}=t,l=hk(),c=o==="dark"?"dark":"light",[u,d]=b.useState(()=>Wh(s,c)),[f,p]=b.useState(()=>Wh(s)),{getSystemTheme:m,setClassName:g,setDataset:y,addListener:v}=b.useMemo(()=>kk({preventTransition:a,nonce:l==null?void 0:l.nonce}),[a,l==null?void 0:l.nonce]),x=o==="system"&&!u?f:u,w=b.useCallback(T=>{const I=T==="system"?m():T;d(I),g(I==="dark"),y(I),s.set(I)},[s,m,g,y]);Ek(()=>{o==="system"&&p(m())},[]),b.useEffect(()=>{const T=s.get();if(T){w(T);return}if(o==="system"){w("system");return}w(c)},[s,c,o,w]);const E=b.useCallback(()=>{w(x==="dark"?"light":"dark")},[x,w]);b.useEffect(()=>{if(i)return v(w)},[i,v,w]);const k=b.useMemo(()=>({colorMode:n??x,toggleColorMode:n?Vh:E,setColorMode:n?Vh:w,forced:n!==void 0}),[x,E,w,n]);return h.jsx(zu.Provider,{value:k,children:r})};Hh.displayName="ColorModeProvider";const Uh=String.raw,qh=Uh`
|
|
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
|
+
`,Pk=()=>h.jsx(xl,{styles:qh}),Ak=({scope:e=""})=>h.jsx(xl,{styles:Uh`
|
|
85
85
|
html {
|
|
86
86
|
line-height: 1.5;
|
|
87
87
|
-webkit-text-size-adjust: 100%;
|
|
@@ -333,8 +333,8 @@ React keys must be passed directly to JSX without using spread:
|
|
|
333
333
|
display: none;
|
|
334
334
|
}
|
|
335
335
|
|
|
336
|
-
${
|
|
337
|
-
`});function
|
|
336
|
+
${qh}
|
|
337
|
+
`});function jk(e){const{cssVarsRoot:t,theme:n,children:r}=e,i=b.useMemo(()=>z6(n),[n]);return h.jsxs(yk,{theme:i,children:[h.jsx(Ik,{root:t}),r]})}function Ik({root:e=":host, :root"}){const t=[e,"[data-theme]"].join(",");return h.jsx(xl,{styles:n=>({[t]:n.__cssVars})})}St({name:"StylesContext",errorMessage:"useStyles: `styles` is undefined. Seems you forgot to wrap the components in `<StylesProvider />` "});function Mk(){const{colorMode:e}=Lu();return h.jsx(xl,{styles:t=>{const n=P1(t,"styles.global"),r=Pn(n,{theme:t,colorMode:e});return r?R1(r)(t):void 0}})}const[Dk,Ok]=St({strict:!1,name:"PortalManagerContext"});function Gh(e){const{children:t,zIndex:n}=e;return h.jsx(Dk,{value:{zIndex:n},children:t})}Gh.displayName="PortalManager";const Zh=b.createContext({getDocument(){return document},getWindow(){return window}});Zh.displayName="EnvironmentContext";function Kh(e){const{children:t,environment:n,disabled:r}=e,i=b.useRef(null),o=b.useMemo(()=>n||{getDocument:()=>{var s;return((s=i.current)==null?void 0:s.ownerDocument)??document},getWindow:()=>{var s;return((s=i.current)==null?void 0:s.ownerDocument.defaultView)??window}},[n]),a=!r||!n;return h.jsxs(Zh.Provider,{value:o,children:[t,a&&h.jsx("span",{id:"__chakra_env",hidden:!0,ref:i})]})}Kh.displayName="EnvironmentProvider";const Fk=e=>{const{children:t,colorModeManager:n,portalZIndex:r,resetScope:i,resetCSS:o=!0,theme:a={},environment:s,cssVarsRoot:l,disableEnvironment:c,disableGlobalStyle:u}=e,d=h.jsx(Kh,{environment:s,disabled:c,children:t});return h.jsx(jk,{theme:a,cssVarsRoot:l,children:h.jsxs(Hh,{colorModeManager:n,options:a.config,children:[o?h.jsx(Ak,{scope:i}):h.jsx(Pk,{}),!u&&h.jsx(Mk,{}),r?h.jsx(Gh,{zIndex:r,children:d}):d]})})},$u=b.createContext({});function Bu(e){const t=b.useRef(null);return t.current===null&&(t.current=e()),t.current}const Fa=b.createContext(null),Ru=b.createContext({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"});class zk 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 Lk({children:e,isPresent:t}){const n=b.useId(),r=b.useRef(null),i=b.useRef({width:0,height:0,top:0,left:0}),{nonce:o}=b.useContext(Ru);return b.useInsertionEffect(()=>{const{width:a,height:s,top:l,left:c}=i.current;if(t||!r.current||!a||!s)return;r.current.dataset.motionPopId=n;const u=document.createElement("style");return o&&(u.nonce=o),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,23 +342,23 @@ 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(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:ue={}}=y,se={...ue,...X},L=N=>{D=!0,p.has(N)&&(R=!0,p.delete(N)),y.needsAnimating[N]=!0;const ce=e.getValue(N);ce&&(ce.liveStyle=!1)};for(const N in se){const ce=X[N],he=ue[N];if(h.hasOwnProperty(N))continue;let O=!1;Uc(ce)&&Uc(he)?O=!Op(ce,he):O=ce!==he,O?ce!=null?L(N):p.add(N):ce!==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),[ue,se]=g.useState(!1),[L,Z]=g.useState(!1),[Y,N]=g.useState(!1);g.useEffect(()=>K_(X),[]);const ce=g.useRef(null),[he,O]=g.useState(!0),[F,G]=g.useState(!!u),V=f!==void 0,B=V?f:F,C=g.useCallback(A=>{if(r||n){A.preventDefault();return}V||G(B?A.currentTarget.checked:b?!0:A.currentTarget.checked),P==null||P(A)},[r,n,B,V,b,P]);Gr(()=>{ce.current&&(ce.current.indeterminate=!!b)},[b]),ko(()=>{n&&se(!1)},[n,se]),Gr(()=>{const A=ce.current;if(!(A!=null&&A.form))return;const q=()=>{G(!!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(!ce.current)return;ce.current.checked!==B&&G(ce.current.checked)},[ce.current]);const me=g.useCallback((A={},q=null)=>{const re=xe=>{ue&&xe.preventDefault(),N(!0)};return{...A,ref:q,"data-active":Le(Y),"data-hover":Le(L),"data-checked":Le(B),"data-focus":Le(ue),"data-focus-visible":Le(ue&&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,()=>Z(!0)),onMouseLeave:Ue(A.onMouseLeave,()=>Z(!1))}},[Y,B,n,ue,z,L,b,i,r]),de=g.useCallback((A={},q=null)=>({...A,ref:q,"data-active":Le(Y),"data-hover":Le(L),"data-checked":Le(B),"data-focus":Le(ue),"data-focus-visible":Le(ue&&z),"data-indeterminate":Le(b),"data-disabled":Le(n),"data-invalid":Le(i),"data-readonly":Le(r)}),[Y,B,n,ue,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=ce.current)==null||re.click(),requestAnimationFrame(()=>{var xe;(xe=ce.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(ce,q),type:"checkbox",name:m,value:v,id:a,tabIndex:S,onChange:Ue(A.onChange,C),onBlur:Ue(A.onBlur,D,()=>se(!1)),onFocus:Ue(A.onFocus,R,()=>se(!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:ue,isChecked:B,isActive:Y,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:{}};/*
|
|
345
|
+
`),()=>{document.head.removeChild(u)}},[t]),h.jsx(zk,{isPresent:t,childRef:r,sizeRef:i,children:Se.cloneElement(e,{ref:r})})}const $k=({children:e,initial:t,isPresent:n,onExitComplete:r,custom:i,presenceAffectsLayout:o,mode:a})=>{const s=Bu(Bk),l=b.useId(),c=b.useCallback(d=>{s.set(d,!0);for(const f of s.values())if(!f)return;r&&r()},[s,r]),u=b.useMemo(()=>({id:l,initial:t,isPresent:n,custom:i,onExitComplete:c,register:d=>(s.set(d,!1),()=>s.delete(d))}),o?[Math.random(),c]:[n,c]);return b.useMemo(()=>{s.forEach((d,f)=>s.set(f,!1))},[n]),Se.useEffect(()=>{!n&&!s.size&&r&&r()},[n]),a==="popLayout"&&(e=h.jsx(Lk,{isPresent:n,children:e})),h.jsx(Fa.Provider,{value:u,children:e})};function Bk(){return new Map}function Nu(e=!0){const t=b.useContext(Fa);if(t===null)return[!0,null];const{isPresent:n,onExitComplete:r,register:i}=t,o=b.useId();b.useEffect(()=>{e&&i(o)},[e]);const a=b.useCallback(()=>e&&r&&r(o),[o,r,e]);return!n&&r?[!1,a]:[!0]}function Rk(){return Nk(b.useContext(Fa))}function Nk(e){return e===null?!0:e.isPresent}const wl=e=>e.key||"";function Yh(e){const t=[];return b.Children.forEach(e,n=>{b.isValidElement(n)&&t.push(n)}),t}const Vu=typeof window<"u",Xh=Vu?b.useLayoutEffect:b.useEffect,Ti=({children:e,custom:t,initial:n=!0,onExitComplete:r,presenceAffectsLayout:i=!0,mode:o="sync",propagate:a=!1})=>{const[s,l]=Nu(a),c=b.useMemo(()=>Yh(e),[e]),u=a&&!s?[]:c.map(wl),d=b.useRef(!0),f=b.useRef(c),p=Bu(()=>new Map),[m,g]=b.useState(c),[y,v]=b.useState(c);Xh(()=>{d.current=!1,f.current=c;for(let E=0;E<y.length;E++){const k=wl(y[E]);u.includes(k)?p.delete(k):p.get(k)!==!0&&p.set(k,!1)}},[y,u.length,u.join("-")]);const x=[];if(c!==m){let E=[...c];for(let k=0;k<y.length;k++){const T=y[k],I=wl(T);u.includes(I)||(E.splice(k,0,T),x.push(T))}o==="wait"&&x.length&&(E=x),v(Yh(E)),g(c);return}process.env.NODE_ENV!=="production"&&o==="wait"&&y.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}=b.useContext($u);return h.jsx(h.Fragment,{children:y.map(E=>{const k=wl(E),T=a&&!s?!1:c===y||u.includes(k),I=()=>{if(p.has(k))p.set(k,!0);else return;let D=!0;p.forEach($=>{$||(D=!1)}),D&&(w==null||w(),v(f.current),a&&(l==null||l()),r&&r())};return h.jsx($k,{isPresent:T,initial:!d.current||n?void 0:!1,custom:T?void 0:t,presenceAffectsLayout:i,mode:o,onExitComplete:T?void 0:I,children:E},k)})})},Cn=e=>e;let go=Cn,ti=Cn;process.env.NODE_ENV!=="production"&&(go=(e,t)=>{!e&&typeof console<"u"&&console.warn(t)},ti=(e,t)=>{if(!e)throw new Error(t)});function Wu(e){let t;return()=>(t===void 0&&(t=e()),t)}const yo=(e,t,n)=>{const r=t-e;return r===0?1:(n-e)/r},gr=e=>e*1e3,Nr=e=>e/1e3,Vk={useManualTiming:!1};function Wk(e){let t=new Set,n=new Set,r=!1,i=!1;const o=new WeakSet;let a={delta:0,timestamp:0,isProcessing:!1};function s(c){o.has(c)&&(l.schedule(c),e()),c(a)}const l={schedule:(c,u=!1,d=!1)=>{const p=d&&r?t:n;return u&&o.add(c),p.has(c)||p.add(c),c},cancel:c=>{n.delete(c),o.delete(c)},process:c=>{if(a=c,r){i=!0;return}r=!0,[t,n]=[n,t],t.forEach(s),t.clear(),r=!1,i&&(i=!1,l.process(c))}};return l}const kl=["read","resolveKeyframes","update","preRender","render","postRender"],Hk=40;function Jh(e,t){let n=!1,r=!0;const i={delta:0,timestamp:0,isProcessing:!1},o=()=>n=!0,a=kl.reduce((v,x)=>(v[x]=Wk(o),v),{}),{read:s,resolveKeyframes:l,update:c,preRender:u,render:d,postRender:f}=a,p=()=>{const v=performance.now();n=!1,i.delta=r?1e3/60:Math.max(Math.min(v-i.timestamp,Hk),1),i.timestamp=v,i.isProcessing=!0,s.process(i),l.process(i),c.process(i),u.process(i),d.process(i),f.process(i),i.isProcessing=!1,n&&t&&(r=!1,e(p))},m=()=>{n=!0,r=!0,i.isProcessing||e(p)};return{schedule:kl.reduce((v,x)=>{const w=a[x];return v[x]=(E,k=!1,T=!1)=>(n||m(),w.schedule(E,k,T)),v},{}),cancel:v=>{for(let x=0;x<kl.length;x++)a[kl[x]].cancel(v)},state:i,steps:a}}const{schedule:jt,cancel:ni,state:en,steps:Hu}=Jh(typeof requestAnimationFrame<"u"?requestAnimationFrame:Cn,!0),Qh=b.createContext({strict:!1}),em={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"]},vo={};for(const e in em)vo[e]={isEnabled:t=>em[e].some(n=>!!t[n])};function Uk(e){for(const t in e)vo[t]={...vo[t],...e[t]}}const qk=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 Sl(e){return e.startsWith("while")||e.startsWith("drag")&&e!=="draggable"||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||qk.has(e)}let tm=e=>!Sl(e);function Gk(e){e&&(tm=t=>t.startsWith("on")?!Sl(t):e(t))}try{Gk(require("@emotion/is-prop-valid").default)}catch{}function Zk(e,t,n){const r={};for(const i in e)i==="values"&&typeof e.values=="object"||(tm(i)||n===!0&&Sl(i)||!t&&!Sl(i)||e.draggable&&i.startsWith("onDrag"))&&(r[i]=e[i]);return r}const nm=new Set;function Tl(e,t,n){e||nm.has(t)||(console.warn(t),nm.add(t))}function Kk(e){if(typeof Proxy>"u")return e;const t=new Map,n=(...r)=>(process.env.NODE_ENV!=="production"&&Tl(!1,"motion() is deprecated. Use motion.create() instead."),e(...r));return new Proxy(n,{get:(r,i)=>i==="create"?e:(t.has(i)||t.set(i,e(i)),t.get(i))})}const _l=b.createContext({});function za(e){return typeof e=="string"||Array.isArray(e)}function El(e){return e!==null&&typeof e=="object"&&typeof e.start=="function"}const Uu=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],qu=["initial",...Uu];function Pl(e){return El(e.animate)||qu.some(t=>za(e[t]))}function rm(e){return!!(Pl(e)||e.variants)}function Yk(e,t){if(Pl(e)){const{initial:n,animate:r}=e;return{initial:n===!1||za(n)?n:void 0,animate:za(r)?r:void 0}}return e.inherit!==!1?t:{}}function Xk(e){const{initial:t,animate:n}=Yk(e,b.useContext(_l));return b.useMemo(()=>({initial:t,animate:n}),[im(t),im(n)])}function im(e){return Array.isArray(e)?e.join(" "):e}const Jk=Symbol.for("motionComponentSymbol");function bo(e){return e&&typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}function Qk(e,t,n){return b.useCallback(r=>{r&&e.onMount&&e.onMount(r),t&&(r?t.mount(r):t.unmount()),n&&(typeof n=="function"?n(r):bo(n)&&(n.current=r))},[t])}const Gu=e=>e.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),om="data-"+Gu("framerAppearId"),{schedule:Zu}=Jh(queueMicrotask,!1),am=b.createContext({});function eS(e,t,n,r,i){var o,a;const{visualElement:s}=b.useContext(_l),l=b.useContext(Qh),c=b.useContext(Fa),u=b.useContext(Ru).reducedMotion,d=b.useRef(null);r=r||l.renderer,!d.current&&r&&(d.current=r(e,{visualState:t,parent:s,props:n,presenceContext:c,blockInitialAnimation:c?c.initial===!1:!1,reducedMotionConfig:u}));const f=d.current,p=b.useContext(am);f&&!f.projection&&i&&(f.type==="html"||f.type==="svg")&&tS(d.current,n,i,p);const m=b.useRef(!1);b.useInsertionEffect(()=>{f&&m.current&&f.update(n,c)});const g=n[om],y=b.useRef(!!g&&!(!((o=window.MotionHandoffIsComplete)===null||o===void 0)&&o.call(window,g))&&((a=window.MotionHasOptimisedAnimation)===null||a===void 0?void 0:a.call(window,g)));return Xh(()=>{f&&(m.current=!0,window.MotionIsMounted=!0,f.updateFeatures(),Zu.render(f.render),y.current&&f.animationState&&f.animationState.animateChanges())}),b.useEffect(()=>{f&&(!y.current&&f.animationState&&f.animationState.animateChanges(),y.current&&(queueMicrotask(()=>{var v;(v=window.MotionHandoffMarkAsComplete)===null||v===void 0||v.call(window,g)}),y.current=!1))}),f}function tS(e,t,n,r){const{layoutId:i,layout:o,drag:a,dragConstraints:s,layoutScroll:l,layoutRoot:c}=t;e.projection=new n(e.latestValues,t["data-framer-portal-id"]?void 0:sm(e.parent)),e.projection.setOptions({layoutId:i,layout:o,alwaysMeasureLayout:!!a||s&&bo(s),visualElement:e,animationType:typeof o=="string"?o:"both",initialPromotionConfig:r,layoutScroll:l,layoutRoot:c})}function sm(e){if(e)return e.options.allowProjection!==!1?e.projection:sm(e.parent)}function nS({preloadedFeatures:e,createVisualElement:t,useRender:n,useVisualState:r,Component:i}){var o,a;e&&Uk(e);function s(c,u){let d;const f={...b.useContext(Ru),...c,layoutId:rS(c)},{isStatic:p}=f,m=Xk(c),g=r(c,p);if(!p&&Vu){iS(f,e);const y=oS(f);d=y.MeasureLayout,m.visualElement=eS(i,g,f,t,y.ProjectionNode)}return h.jsxs(_l.Provider,{value:m,children:[d&&m.visualElement?h.jsx(d,{visualElement:m.visualElement,...f}):null,n(i,c,Qk(g,m.visualElement,u),g,p,m.visualElement)]})}s.displayName=`motion.${typeof i=="string"?i:`create(${(a=(o=i.displayName)!==null&&o!==void 0?o:i.name)!==null&&a!==void 0?a:""})`}`;const l=b.forwardRef(s);return l[Jk]=i,l}function rS({layoutId:e}){const t=b.useContext($u).id;return t&&e!==void 0?t+"-"+e:e}function iS(e,t){const n=b.useContext(Qh).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?go(!1,r):ti(!1,r)}}function oS(e){const{drag:t,layout:n}=vo;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 aS=["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 Ku(e){return typeof e!="string"||e.includes("-")?!1:!!(aS.indexOf(e)>-1||/[A-Z]/u.test(e))}function lm(e){const t=[{},{}];return e==null||e.values.forEach((n,r)=>{t[0][r]=n.get(),t[1][r]=n.getVelocity()}),t}function Yu(e,t,n,r){if(typeof t=="function"){const[i,o]=lm(r);t=t(n!==void 0?n:e.custom,i,o)}if(typeof t=="string"&&(t=e.variants&&e.variants[t]),typeof t=="function"){const[i,o]=lm(r);t=t(n!==void 0?n:e.custom,i,o)}return t}const Xu=e=>Array.isArray(e),sS=e=>!!(e&&typeof e=="object"&&e.mix&&e.toValue),lS=e=>Xu(e)?e[e.length-1]||0:e,on=e=>!!(e&&e.getVelocity);function Al(e){const t=on(e)?e.get():e;return sS(t)?t.toValue():t}function cS({scrapeMotionValuesFromProps:e,createRenderState:t,onUpdate:n},r,i,o){const a={latestValues:uS(r,i,o,e),renderState:t()};return n&&(a.onMount=s=>n({props:r,current:s,...a}),a.onUpdate=s=>n(s)),a}const cm=e=>(t,n)=>{const r=b.useContext(_l),i=b.useContext(Fa),o=()=>cS(e,t,r,i);return n?o():Bu(o)};function uS(e,t,n,r){const i={},o=r(e,{});for(const f in o)i[f]=Al(o[f]);let{initial:a,animate:s}=e;const l=Pl(e),c=rm(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 d=u?s:a;if(d&&typeof d!="boolean"&&!El(d)){const f=Array.isArray(d)?d:[d];for(let p=0;p<f.length;p++){const m=Yu(e,f[p]);if(m){const{transitionEnd:g,transition:y,...v}=m;for(const x in v){let w=v[x];if(Array.isArray(w)){const E=u?w.length-1:0;w=w[E]}w!==null&&(i[x]=w)}for(const x in g)i[x]=g[x]}}}return i}const xo=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],_i=new Set(xo),um=e=>t=>typeof t=="string"&&t.startsWith(e),dm=um("--"),dS=um("var(--"),Ju=e=>dS(e)?fS.test(e.split("/*")[0].trim()):!1,fS=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu,fm=(e,t)=>t&&typeof e=="number"?t.transform(e):e,Vr=(e,t,n)=>n>t?t:n<e?e:n,Co={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},La={...Co,transform:e=>Vr(0,1,e)},jl={...Co,default:1},$a=e=>({test:t=>typeof t=="string"&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),ri=$a("deg"),yr=$a("%"),ze=$a("px"),pS=$a("vh"),hS=$a("vw"),pm={...yr,parse:e=>yr.parse(e)/100,transform:e=>yr.transform(e*100)},mS={borderWidth:ze,borderTopWidth:ze,borderRightWidth:ze,borderBottomWidth:ze,borderLeftWidth:ze,borderRadius:ze,radius:ze,borderTopLeftRadius:ze,borderTopRightRadius:ze,borderBottomRightRadius:ze,borderBottomLeftRadius:ze,width:ze,maxWidth:ze,height:ze,maxHeight:ze,top:ze,right:ze,bottom:ze,left:ze,padding:ze,paddingTop:ze,paddingRight:ze,paddingBottom:ze,paddingLeft:ze,margin:ze,marginTop:ze,marginRight:ze,marginBottom:ze,marginLeft:ze,backgroundPositionX:ze,backgroundPositionY:ze},gS={rotate:ri,rotateX:ri,rotateY:ri,rotateZ:ri,scale:jl,scaleX:jl,scaleY:jl,scaleZ:jl,skew:ri,skewX:ri,skewY:ri,distance:ze,translateX:ze,translateY:ze,translateZ:ze,x:ze,y:ze,z:ze,perspective:ze,transformPerspective:ze,opacity:La,originX:pm,originY:pm,originZ:ze},hm={...Co,transform:Math.round},Qu={...mS,...gS,zIndex:hm,size:ze,fillOpacity:La,strokeOpacity:La,numOctaves:hm},yS={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},vS=xo.length;function bS(e,t,n){let r="",i=!0;for(let o=0;o<vS;o++){const a=xo[o],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=fm(s,Qu[a]);if(!l){i=!1;const u=yS[a]||a;r+=`${u}(${c}) `}n&&(t[a]=c)}}return r=r.trim(),n?r=n(t,i?"":r):i&&(r="none"),r}function ed(e,t,n){const{style:r,vars:i,transformOrigin:o}=e;let a=!1,s=!1;for(const l in t){const c=t[l];if(_i.has(l)){a=!0;continue}else if(dm(l)){i[l]=c;continue}else{const u=fm(c,Qu[l]);l.startsWith("origin")?(s=!0,o[l]=u):r[l]=u}}if(t.transform||(a||n?r.transform=bS(t,e.transform,n):r.transform&&(r.transform="none")),s){const{originX:l="50%",originY:c="50%",originZ:u=0}=o;r.transformOrigin=`${l} ${c} ${u}`}}const xS={offset:"stroke-dashoffset",array:"stroke-dasharray"},CS={offset:"strokeDashoffset",array:"strokeDasharray"};function wS(e,t,n=1,r=0,i=!0){e.pathLength=1;const o=i?xS:CS;e[o.offset]=ze.transform(-r);const a=ze.transform(t),s=ze.transform(n);e[o.array]=`${a} ${s}`}function mm(e,t,n){return typeof e=="string"?e:ze.transform(t+n*e)}function kS(e,t,n){const r=mm(t,e.x,e.width),i=mm(n,e.y,e.height);return`${r} ${i}`}function td(e,{attrX:t,attrY:n,attrScale:r,originX:i,originY:o,pathLength:a,pathSpacing:s=1,pathOffset:l=0,...c},u,d){if(ed(e,c,d),u){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};const{attrs:f,style:p,dimensions:m}=e;f.transform&&(m&&(p.transform=f.transform),delete f.transform),m&&(i!==void 0||o!==void 0||p.transform)&&(p.transformOrigin=kS(m,i!==void 0?i:.5,o!==void 0?o:.5)),t!==void 0&&(f.x=t),n!==void 0&&(f.y=n),r!==void 0&&(f.scale=r),a!==void 0&&wS(f,a,s,l,!1)}const nd=()=>({style:{},transform:{},transformOrigin:{},vars:{}}),gm=()=>({...nd(),attrs:{}}),rd=e=>typeof e=="string"&&e.toLowerCase()==="svg";function ym(e,{style:t,vars:n},r,i){Object.assign(e.style,t,i&&i.getProjectionStyles(r));for(const o in n)e.style.setProperty(o,n[o])}const vm=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 bm(e,t,n,r){ym(e,t,void 0,r);for(const i in t.attrs)e.setAttribute(vm.has(i)?i:Gu(i),t.attrs[i])}const Il={};function SS(e){Object.assign(Il,e)}function xm(e,{layout:t,layoutId:n}){return _i.has(e)||e.startsWith("origin")||(t||n!==void 0)&&(!!Il[e]||e==="opacity")}function id(e,t,n){var r;const{style:i}=e,o={};for(const a in i)(on(i[a])||t.style&&on(t.style[a])||xm(a,e)||((r=n==null?void 0:n.getValue(a))===null||r===void 0?void 0:r.liveStyle)!==void 0)&&(o[a]=i[a]);return o}function Cm(e,t,n){const r=id(e,t,n);for(const i in e)if(on(e[i])||on(t[i])){const o=xo.indexOf(i)!==-1?"attr"+i.charAt(0).toUpperCase()+i.substring(1):i;r[o]=e[i]}return r}function TS(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 wm=["x","y","width","height","cx","cy","r"],_S={useVisualState:cm({scrapeMotionValuesFromProps:Cm,createRenderState:gm,onUpdate:({props:e,prevProps:t,current:n,renderState:r,latestValues:i})=>{if(!n)return;let o=!!e.drag;if(!o){for(const s in i)if(_i.has(s)){o=!0;break}}if(!o)return;let a=!t;if(t)for(let s=0;s<wm.length;s++){const l=wm[s];e[l]!==t[l]&&(a=!0)}a&&jt.read(()=>{TS(n,r),jt.render(()=>{td(r,i,rd(n.tagName),e.transformTemplate),bm(n,r)})})}})},ES={useVisualState:cm({scrapeMotionValuesFromProps:id,createRenderState:nd})};function km(e,t,n){for(const r in t)!on(t[r])&&!xm(r,n)&&(e[r]=t[r])}function PS({transformTemplate:e},t){return b.useMemo(()=>{const n=nd();return ed(n,t,e),Object.assign({},n.vars,n.style)},[t])}function AS(e,t){const n=e.style||{},r={};return km(r,n,e),Object.assign(r,PS(e,t)),r}function jS(e,t){const n={},r=AS(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 IS(e,t,n,r){const i=b.useMemo(()=>{const o=gm();return td(o,t,rd(r),e.transformTemplate),{...o.attrs,style:{...o.style}}},[t]);if(e.style){const o={};km(o,e.style,e),i.style={...o,...i.style}}return i}function MS(e=!1){return(n,r,i,{latestValues:o},a)=>{const l=(Ku(n)?IS:jS)(r,o,a,n),c=Zk(r,typeof n=="string",e),u=n!==b.Fragment?{...c,...l,ref:i}:{},{children:d}=r,f=b.useMemo(()=>on(d)?d.get():d,[d]);return b.createElement(n,{...u,children:f})}}function DS(e,t){return function(r,{forwardMotionProps:i}={forwardMotionProps:!1}){const a={...Ku(r)?_S:ES,preloadedFeatures:e,useRender:MS(i),createVisualElement:t,Component:r};return nS(a)}}function Sm(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 Ml(e,t,n){const r=e.getProps();return Yu(r,t,n!==void 0?n:r.custom,e)}const OS=Wu(()=>window.ScrollTimeline!==void 0);class FS{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(i=>{if(OS()&&i.attachTimeline)return i.attachTimeline(t);if(typeof n=="function")return n(i)});return()=>{r.forEach((i,o)=>{i&&i(),this.animations[o].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 zS extends FS{then(t,n){return Promise.all(this.animations).then(t).catch(n)}}function od(e,t){return e?e[t]||e.default||e:void 0}const ad=2e4;function Tm(e){let t=0;const n=50;let r=e.next(t);for(;!r.done&&t<ad;)t+=n,r=e.next(t);return t>=ad?1/0:t}function sd(e){return typeof e=="function"}function _m(e,t){e.timeline=t,e.onfinish=null}const ld=e=>Array.isArray(e)&&typeof e[0]=="number",LS={linearEasing:void 0};function $S(e,t){const n=Wu(e);return()=>{var r;return(r=LS[t])!==null&&r!==void 0?r:n()}}const Dl=$S(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),Em=(e,t,n=10)=>{let r="";const i=Math.max(Math.round(t/n),2);for(let o=0;o<i;o++)r+=e(yo(0,i-1,o))+", ";return`linear(${r.substring(0,r.length-2)})`};function Pm(e){return!!(typeof e=="function"&&Dl()||!e||typeof e=="string"&&(e in cd||Dl())||ld(e)||Array.isArray(e)&&e.every(Pm))}const Ba=([e,t,n,r])=>`cubic-bezier(${e}, ${t}, ${n}, ${r})`,cd={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:Ba([0,.65,.55,1]),circOut:Ba([.55,0,1,.45]),backIn:Ba([.31,.01,.66,-.59]),backOut:Ba([.33,1.53,.69,.99])};function Am(e,t){if(e)return typeof e=="function"&&Dl()?Em(e,t):ld(e)?Ba(e):Array.isArray(e)?e.map(n=>Am(n,t)||cd.easeOut):cd[e]}const Qn={x:!1,y:!1};function jm(){return Qn.x||Qn.y}function BS(e,t,n){var r;if(e instanceof Element)return[e];if(typeof e=="string"){let i=document;const o=(r=void 0)!==null&&r!==void 0?r:i.querySelectorAll(e);return o?Array.from(o):[]}return Array.from(e)}function Im(e,t){const n=BS(e),r=new AbortController,i={passive:!0,...t,signal:r.signal};return[n,i,()=>r.abort()]}function Mm(e){return t=>{t.pointerType==="touch"||jm()||e(t)}}function RS(e,t,n={}){const[r,i,o]=Im(e,n),a=Mm(s=>{const{target:l}=s,c=t(s);if(typeof c!="function"||!l)return;const u=Mm(d=>{c(d),l.removeEventListener("pointerleave",u)});l.addEventListener("pointerleave",u,i)});return r.forEach(s=>{s.addEventListener("pointerenter",a,i)}),o}const Dm=(e,t)=>t?e===t?!0:Dm(e,t.parentElement):!1,ud=e=>e.pointerType==="mouse"?typeof e.button!="number"||e.button<=0:e.isPrimary!==!1,NS=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function VS(e){return NS.has(e.tagName)||e.tabIndex!==-1}const Ra=new WeakSet;function Om(e){return t=>{t.key==="Enter"&&e(t)}}function dd(e,t){e.dispatchEvent(new PointerEvent("pointer"+t,{isPrimary:!0,bubbles:!0}))}const WS=(e,t)=>{const n=e.currentTarget;if(!n)return;const r=Om(()=>{if(Ra.has(n))return;dd(n,"down");const i=Om(()=>{dd(n,"up")}),o=()=>dd(n,"cancel");n.addEventListener("keyup",i,t),n.addEventListener("blur",o,t)});n.addEventListener("keydown",r,t),n.addEventListener("blur",()=>n.removeEventListener("keydown",r),t)};function Fm(e){return ud(e)&&!jm()}function HS(e,t,n={}){const[r,i,o]=Im(e,n),a=s=>{const l=s.currentTarget;if(!Fm(s)||Ra.has(l))return;Ra.add(l);const c=t(s),u=(p,m)=>{window.removeEventListener("pointerup",d),window.removeEventListener("pointercancel",f),!(!Fm(p)||!Ra.has(l))&&(Ra.delete(l),typeof c=="function"&&c(p,{success:m}))},d=p=>{u(p,n.useGlobalTarget||Dm(l,p.target))},f=p=>{u(p,!1)};window.addEventListener("pointerup",d,i),window.addEventListener("pointercancel",f,i)};return r.forEach(s=>{!VS(s)&&s.getAttribute("tabindex")===null&&(s.tabIndex=0),(n.useGlobalTarget?window:s).addEventListener("pointerdown",a,i),s.addEventListener("focus",c=>WS(c,i),i)}),o}function US(e){return e==="x"||e==="y"?Qn[e]?null:(Qn[e]=!0,()=>{Qn[e]=!1}):Qn.x||Qn.y?null:(Qn.x=Qn.y=!0,()=>{Qn.x=Qn.y=!1})}const zm=new Set(["width","height","top","left","right","bottom",...xo]);let Ol;function qS(){Ol=void 0}const vr={now:()=>(Ol===void 0&&vr.set(en.isProcessing||Vk.useManualTiming?en.timestamp:performance.now()),Ol),set:e=>{Ol=e,queueMicrotask(qS)}};function fd(e,t){e.indexOf(t)===-1&&e.push(t)}function pd(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}class hd{constructor(){this.subscriptions=[]}add(t){return fd(this.subscriptions,t),()=>pd(this.subscriptions,t)}notify(t,n,r){const i=this.subscriptions.length;if(i)if(i===1)this.subscriptions[0](t,n,r);else for(let o=0;o<i;o++){const a=this.subscriptions[o];a&&a(t,n,r)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}function Lm(e,t){return t?e*(1e3/t):0}const $m=30,GS=e=>!isNaN(parseFloat(e));class ZS{constructor(t,n={}){this.version="11.18.2",this.canTrackVelocity=null,this.events={},this.updateAndNotify=(r,i=!0)=>{const o=vr.now();this.updatedAt!==o&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(r),this.current!==this.prev&&this.events.change&&this.events.change.notify(this.current),i&&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=vr.now(),this.canTrackVelocity===null&&t!==void 0&&(this.canTrackVelocity=GS(this.current))}setPrevFrameValue(t=this.current){this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt}onChange(t){return process.env.NODE_ENV!=="production"&&Tl(!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 hd);const r=this.events[t].add(n);return t==="change"?()=>{r(),jt.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=vr.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||t-this.updatedAt>$m)return 0;const n=Math.min(this.updatedAt-this.prevUpdatedAt,$m);return Lm(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 Na(e,t){return new ZS(e,t)}function KS(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,Na(n))}function YS(e,t){const n=Ml(e,t);let{transitionEnd:r={},transition:i={},...o}=n||{};o={...o,...r};for(const a in o){const s=lS(o[a]);KS(e,a,s)}}function XS(e){return!!(on(e)&&e.add)}function md(e,t){const n=e.getValue("willChange");if(XS(n))return n.add(t)}function Bm(e){return e.props[om]}const Rm=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e,JS=1e-7,QS=12;function eT(e,t,n,r,i){let o,a,s=0;do a=t+(n-t)/2,o=Rm(a,r,i)-e,o>0?n=a:t=a;while(Math.abs(o)>JS&&++s<QS);return a}function Va(e,t,n,r){if(e===t&&n===r)return Cn;const i=o=>eT(o,0,1,e,n);return o=>o===0||o===1?o:Rm(i(o),t,r)}const Nm=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,Vm=e=>t=>1-e(1-t),Wm=Va(.33,1.53,.69,.99),gd=Vm(Wm),Hm=Nm(gd),Um=e=>(e*=2)<1?.5*gd(e):.5*(2-Math.pow(2,-10*(e-1))),yd=e=>1-Math.sin(Math.acos(e)),qm=Vm(yd),Gm=Nm(yd),Zm=e=>/^0[^.\s]+$/u.test(e);function tT(e){return typeof e=="number"?e===0:e!==null?e==="none"||e==="0"||Zm(e):!0}const Wa=e=>Math.round(e*1e5)/1e5,vd=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function nT(e){return e==null}const rT=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,bd=(e,t)=>n=>!!(typeof n=="string"&&rT.test(n)&&n.startsWith(e)||t&&!nT(n)&&Object.prototype.hasOwnProperty.call(n,t)),Km=(e,t,n)=>r=>{if(typeof r!="string")return r;const[i,o,a,s]=r.match(vd);return{[e]:parseFloat(i),[t]:parseFloat(o),[n]:parseFloat(a),alpha:s!==void 0?parseFloat(s):1}},iT=e=>Vr(0,255,e),xd={...Co,transform:e=>Math.round(iT(e))},Ei={test:bd("rgb","red"),parse:Km("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:r=1})=>"rgba("+xd.transform(e)+", "+xd.transform(t)+", "+xd.transform(n)+", "+Wa(La.transform(r))+")"};function oT(e){let t="",n="",r="",i="";return e.length>5?(t=e.substring(1,3),n=e.substring(3,5),r=e.substring(5,7),i=e.substring(7,9)):(t=e.substring(1,2),n=e.substring(2,3),r=e.substring(3,4),i=e.substring(4,5),t+=t,n+=n,r+=r,i+=i),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(r,16),alpha:i?parseInt(i,16)/255:1}}const Cd={test:bd("#"),parse:oT,transform:Ei.transform},wo={test:bd("hsl","hue"),parse:Km("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>"hsla("+Math.round(e)+", "+yr.transform(Wa(t))+", "+yr.transform(Wa(n))+", "+Wa(La.transform(r))+")"},an={test:e=>Ei.test(e)||Cd.test(e)||wo.test(e),parse:e=>Ei.test(e)?Ei.parse(e):wo.test(e)?wo.parse(e):Cd.parse(e),transform:e=>typeof e=="string"?e:e.hasOwnProperty("red")?Ei.transform(e):wo.transform(e)},aT=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function sT(e){var t,n;return isNaN(e)&&typeof e=="string"&&(((t=e.match(vd))===null||t===void 0?void 0:t.length)||0)+(((n=e.match(aT))===null||n===void 0?void 0:n.length)||0)>0}const Ym="number",Xm="color",lT="var",cT="var(",Jm="${}",uT=/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 Ha(e){const t=e.toString(),n=[],r={color:[],number:[],var:[]},i=[];let o=0;const s=t.replace(uT,l=>(an.test(l)?(r.color.push(o),i.push(Xm),n.push(an.parse(l))):l.startsWith(cT)?(r.var.push(o),i.push(lT),n.push(l)):(r.number.push(o),i.push(Ym),n.push(parseFloat(l))),++o,Jm)).split(Jm);return{values:n,split:s,indexes:r,types:i}}function Qm(e){return Ha(e).values}function e0(e){const{split:t,types:n}=Ha(e),r=t.length;return i=>{let o="";for(let a=0;a<r;a++)if(o+=t[a],i[a]!==void 0){const s=n[a];s===Ym?o+=Wa(i[a]):s===Xm?o+=an.transform(i[a]):o+=i[a]}return o}}const dT=e=>typeof e=="number"?0:e;function fT(e){const t=Qm(e);return e0(e)(t.map(dT))}const ii={test:sT,parse:Qm,createTransformer:e0,getAnimatableNone:fT},pT=new Set(["brightness","contrast","saturate","opacity"]);function hT(e){const[t,n]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;const[r]=n.match(vd)||[];if(!r)return e;const i=n.replace(r,"");let o=pT.has(t)?1:0;return r!==n&&(o*=100),t+"("+o+i+")"}const mT=/\b([a-z-]*)\(.*?\)/gu,wd={...ii,getAnimatableNone:e=>{const t=e.match(mT);return t?t.map(hT).join(" "):e}},gT={...Qu,color:an,backgroundColor:an,outlineColor:an,fill:an,stroke:an,borderColor:an,borderTopColor:an,borderRightColor:an,borderBottomColor:an,borderLeftColor:an,filter:wd,WebkitFilter:wd},kd=e=>gT[e];function t0(e,t){let n=kd(e);return n!==wd&&(n=ii),n.getAnimatableNone?n.getAnimatableNone(t):void 0}const yT=new Set(["auto","none","0"]);function vT(e,t,n){let r=0,i;for(;r<e.length&&!i;){const o=e[r];typeof o=="string"&&!yT.has(o)&&Ha(o).values.length&&(i=e[r]),r++}if(i&&n)for(const o of t)e[o]=t0(n,i)}const n0=e=>e===Co||e===ze,r0=(e,t)=>parseFloat(e.split(", ")[t]),i0=(e,t)=>(n,{transform:r})=>{if(r==="none"||!r)return 0;const i=r.match(/^matrix3d\((.+)\)$/u);if(i)return r0(i[1],t);{const o=r.match(/^matrix\((.+)\)$/u);return o?r0(o[1],e):0}},bT=new Set(["x","y","z"]),xT=xo.filter(e=>!bT.has(e));function CT(e){const t=[];return xT.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:i0(4,13),y:i0(5,14)};ko.translateX=ko.x,ko.translateY=ko.y;const Pi=new Set;let Sd=!1,Td=!1;function o0(){if(Td){const e=Array.from(Pi).filter(r=>r.needsMeasurement),t=new Set(e.map(r=>r.element)),n=new Map;t.forEach(r=>{const i=CT(r);i.length&&(n.set(r,i),r.render())}),e.forEach(r=>r.measureInitialState()),t.forEach(r=>{r.render();const i=n.get(r);i&&i.forEach(([o,a])=>{var s;(s=r.getValue(o))===null||s===void 0||s.set(a)})}),e.forEach(r=>r.measureEndState()),e.forEach(r=>{r.suspendedScrollY!==void 0&&window.scrollTo(0,r.suspendedScrollY)})}Td=!1,Sd=!1,Pi.forEach(e=>e.complete()),Pi.clear()}function a0(){Pi.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(Td=!0)})}function wT(){a0(),o0()}class _d{constructor(t,n,r,i,o,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=i,this.element=o,this.isAsync=a}scheduleResolve(){this.isScheduled=!0,this.isAsync?(Pi.add(this),Sd||(Sd=!0,jt.read(a0),jt.resolveKeyframes(o0))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:t,name:n,element:r,motionValue:i}=this;for(let o=0;o<t.length;o++)if(t[o]===null)if(o===0){const a=i==null?void 0:i.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),i&&a===void 0&&i.set(t[0])}else t[o]=t[o-1]}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(){this.isComplete=!0,this.onComplete(this.unresolvedKeyframes,this.finalKeyframe),Pi.delete(this)}cancel(){this.isComplete||(this.isScheduled=!1,Pi.delete(this))}resume(){this.isComplete||this.scheduleResolve()}}const s0=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e),kT=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function ST(e){const t=kT.exec(e);if(!t)return[,];const[,n,r,i]=t;return[`--${n??r}`,i]}const TT=4;function l0(e,t,n=1){ti(n<=TT,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`);const[r,i]=ST(e);if(!r)return;const o=window.getComputedStyle(t).getPropertyValue(r);if(o){const a=o.trim();return s0(a)?parseFloat(a):a}return Ju(i)?l0(i,t,n+1):i}const c0=e=>t=>t.test(e),u0=[Co,ze,yr,ri,hS,pS,{test:e=>e==="auto",parse:e=>e}],d0=e=>u0.find(c0(e));class f0 extends _d{constructor(t,n,r,i,o){super(t,n,r,i,o,!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(),Ju(c))){const u=l0(c,n.current);u!==void 0&&(t[l]=u),l===t.length-1&&(this.finalKeyframe=c)}}if(this.resolveNoneKeyframes(),!zm.has(r)||t.length!==2)return;const[i,o]=t,a=d0(i),s=d0(o);if(a!==s)if(n0(a)&&n0(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 i=0;i<t.length;i++)tT(t[i])&&r.push(i);r.length&&vT(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 i=n[n.length-1];i!==void 0&&t.getValue(r,i).jump(i,!1)}measureEndState(){var t;const{element:n,name:r,unresolvedKeyframes:i}=this;if(!n||!n.current)return;const o=n.getValue(r);o&&o.jump(this.measuredOrigin,!1);const a=i.length-1,s=i[a];i[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 p0=(e,t)=>t==="zIndex"?!1:!!(typeof e=="number"||Array.isArray(e)||typeof e=="string"&&(ii.test(e)||e==="0")&&!e.startsWith("url("));function _T(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 ET(e,t,n,r){const i=e[0];if(i===null)return!1;if(t==="display"||t==="visibility")return!0;const o=e[e.length-1],a=p0(i,t),s=p0(o,t);return go(a===s,`You are trying to animate ${t} from "${i}" to "${o}". ${i} is not an animatable value - to enable this animation set ${i} to a value animatable to ${o} via the \`style\` property.`),!a||!s?!1:_T(e)||(n==="spring"||sd(n))&&r}const PT=e=>e!==null;function Fl(e,{repeat:t,repeatType:n="loop"},r){const i=e.filter(PT),o=t&&n!=="loop"&&t%2===1?0:i.length-1;return!o||r===void 0?i[o]:r}const AT=40;class h0{constructor({autoplay:t=!0,delay:n=0,type:r="keyframes",repeat:i=0,repeatDelay:o=0,repeatType:a="loop",...s}){this.isStopped=!1,this.hasAttemptedResolve=!1,this.createdAt=vr.now(),this.options={autoplay:t,delay:n,type:r,repeat:i,repeatDelay:o,repeatType:a,...s},this.updateFinishedPromise()}calcStartTime(){return this.resolvedAt?this.resolvedAt-this.createdAt>AT?this.resolvedAt:this.createdAt:this.createdAt}get resolved(){return!this._resolved&&!this.hasAttemptedResolve&&wT(),this._resolved}onKeyframesResolved(t,n){this.resolvedAt=vr.now(),this.hasAttemptedResolve=!0;const{name:r,type:i,velocity:o,delay:a,onComplete:s,onUpdate:l,isGenerator:c}=this.options;if(!c&&!ET(t,r,i,o))if(a)this.options.duration=0;else{l&&l(Fl(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 zt=(e,t,n)=>e+(t-e)*n;function Ed(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 jT({hue:e,saturation:t,lightness:n,alpha:r}){e/=360,t/=100,n/=100;let i=0,o=0,a=0;if(!t)i=o=a=n;else{const s=n<.5?n*(1+t):n+t-n*t,l=2*n-s;i=Ed(l,s,e+1/3),o=Ed(l,s,e),a=Ed(l,s,e-1/3)}return{red:Math.round(i*255),green:Math.round(o*255),blue:Math.round(a*255),alpha:r}}function zl(e,t){return n=>n>0?t:e}const Pd=(e,t,n)=>{const r=e*e,i=n*(t*t-r)+r;return i<0?0:Math.sqrt(i)},IT=[Cd,Ei,wo],MT=e=>IT.find(t=>t.test(e));function m0(e){const t=MT(e);if(go(!!t,`'${e}' is not an animatable color. Use the equivalent color code instead.`),!t)return!1;let n=t.parse(e);return t===wo&&(n=jT(n)),n}const g0=(e,t)=>{const n=m0(e),r=m0(t);if(!n||!r)return zl(e,t);const i={...n};return o=>(i.red=Pd(n.red,r.red,o),i.green=Pd(n.green,r.green,o),i.blue=Pd(n.blue,r.blue,o),i.alpha=zt(n.alpha,r.alpha,o),Ei.transform(i))},DT=(e,t)=>n=>t(e(n)),Ua=(...e)=>e.reduce(DT),Ad=new Set(["none","hidden"]);function OT(e,t){return Ad.has(e)?n=>n<=0?e:t:n=>n>=1?t:e}function FT(e,t){return n=>zt(e,t,n)}function jd(e){return typeof e=="number"?FT:typeof e=="string"?Ju(e)?zl:an.test(e)?g0:$T:Array.isArray(e)?y0:typeof e=="object"?an.test(e)?g0:zT:zl}function y0(e,t){const n=[...e],r=n.length,i=e.map((o,a)=>jd(o)(o,t[a]));return o=>{for(let a=0;a<r;a++)n[a]=i[a](o);return n}}function zT(e,t){const n={...e,...t},r={};for(const i in n)e[i]!==void 0&&t[i]!==void 0&&(r[i]=jd(e[i])(e[i],t[i]));return i=>{for(const o in r)n[o]=r[o](i);return n}}function LT(e,t){var n;const r=[],i={color:0,var:0,number:0};for(let o=0;o<t.values.length;o++){const a=t.types[o],s=e.indexes[a][i[a]],l=(n=e.values[s])!==null&&n!==void 0?n:0;r[o]=l,i[a]++}return r}const $T=(e,t)=>{const n=ii.createTransformer(t),r=Ha(e),i=Ha(t);return r.indexes.var.length===i.indexes.var.length&&r.indexes.color.length===i.indexes.color.length&&r.indexes.number.length>=i.indexes.number.length?Ad.has(e)&&!i.values.length||Ad.has(t)&&!r.values.length?OT(e,t):Ua(y0(LT(r,i),i.values),n):(go(!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.`),zl(e,t))};function v0(e,t,n){return typeof e=="number"&&typeof t=="number"&&typeof n=="number"?zt(e,t,n):jd(e)(e,t)}const BT=5;function b0(e,t,n){const r=Math.max(t-BT,0);return Lm(n-e(r),t-r)}const Lt={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},x0=.001;function RT({duration:e=Lt.duration,bounce:t=Lt.bounce,velocity:n=Lt.velocity,mass:r=Lt.mass}){let i,o;go(e<=gr(Lt.maxDuration),"Spring duration must be 10 seconds or less");let a=1-t;a=Vr(Lt.minDamping,Lt.maxDamping,a),e=Vr(Lt.minDuration,Lt.maxDuration,Nr(e)),a<1?(i=c=>{const u=c*a,d=u*e,f=u-n,p=Id(c,a),m=Math.exp(-d);return x0-f/p*m},o=c=>{const d=c*a*e,f=d*n+n,p=Math.pow(a,2)*Math.pow(c,2)*e,m=Math.exp(-d),g=Id(Math.pow(c,2),a);return(-i(c)+x0>0?-1:1)*((f-p)*m)/g}):(i=c=>{const u=Math.exp(-c*e),d=(c-n)*e+1;return-.001+u*d},o=c=>{const u=Math.exp(-c*e),d=(n-c)*(e*e);return u*d});const s=5/e,l=VT(i,o,s);if(e=gr(e),isNaN(l))return{stiffness:Lt.stiffness,damping:Lt.damping,duration:e};{const c=Math.pow(l,2)*r;return{stiffness:c,damping:a*2*Math.sqrt(r*c),duration:e}}}const NT=12;function VT(e,t,n){let r=n;for(let i=1;i<NT;i++)r=r-e(r)/t(r);return r}function Id(e,t){return e*Math.sqrt(1-t*t)}const WT=["duration","bounce"],HT=["stiffness","damping","mass"];function C0(e,t){return t.some(n=>e[n]!==void 0)}function UT(e){let t={velocity:Lt.velocity,stiffness:Lt.stiffness,damping:Lt.damping,mass:Lt.mass,isResolvedFromDuration:!1,...e};if(!C0(e,HT)&&C0(e,WT))if(e.visualDuration){const n=e.visualDuration,r=2*Math.PI/(n*1.2),i=r*r,o=2*Vr(.05,1,1-(e.bounce||0))*Math.sqrt(i);t={...t,mass:Lt.mass,stiffness:i,damping:o}}else{const n=RT(e);t={...t,...n,mass:Lt.mass},t.isResolvedFromDuration=!0}return t}function w0(e=Lt.visualDuration,t=Lt.bounce){const n=typeof e!="object"?{visualDuration:e,keyframes:[0,1],bounce:t}:e;let{restSpeed:r,restDelta:i}=n;const o=n.keyframes[0],a=n.keyframes[n.keyframes.length-1],s={done:!1,value:o},{stiffness:l,damping:c,mass:u,duration:d,velocity:f,isResolvedFromDuration:p}=UT({...n,velocity:-Nr(n.velocity||0)}),m=f||0,g=c/(2*Math.sqrt(l*u)),y=a-o,v=Nr(Math.sqrt(l/u)),x=Math.abs(y)<5;r||(r=x?Lt.restSpeed.granular:Lt.restSpeed.default),i||(i=x?Lt.restDelta.granular:Lt.restDelta.default);let w;if(g<1){const k=Id(v,g);w=T=>{const I=Math.exp(-g*v*T);return a-I*((m+g*v*y)/k*Math.sin(k*T)+y*Math.cos(k*T))}}else if(g===1)w=k=>a-Math.exp(-v*k)*(y+(m+v*y)*k);else{const k=v*Math.sqrt(g*g-1);w=T=>{const I=Math.exp(-g*v*T),D=Math.min(k*T,300);return a-I*((m+g*v*y)*Math.sinh(D)+k*y*Math.cosh(D))/k}}const E={calculatedDuration:p&&d||null,next:k=>{const T=w(k);if(p)s.done=k>=d;else{let I=0;g<1&&(I=k===0?gr(m):b0(w,k,T));const D=Math.abs(I)<=r,$=Math.abs(a-T)<=i;s.done=D&&$}return s.value=s.done?a:T,s},toString:()=>{const k=Math.min(Tm(E),ad),T=Em(I=>E.next(k*I).value,k,30);return k+"ms "+T}};return E}function k0({keyframes:e,velocity:t=0,power:n=.8,timeConstant:r=325,bounceDamping:i=10,bounceStiffness:o=500,modifyTarget:a,min:s,max:l,restDelta:c=.5,restSpeed:u}){const d=e[0],f={done:!1,value:d},p=D=>s!==void 0&&D<s||l!==void 0&&D>l,m=D=>s===void 0?l:l===void 0||Math.abs(s-D)<Math.abs(l-D)?s:l;let g=n*t;const y=d+g,v=a===void 0?y:a(y);v!==y&&(g=v-d);const x=D=>-g*Math.exp(-D/r),w=D=>v+x(D),E=D=>{const $=x(D),P=w(D);f.done=Math.abs($)<=c,f.value=f.done?v:P};let k,T;const I=D=>{p(f.value)&&(k=D,T=w0({keyframes:[f.value,m(f.value)],velocity:b0(w,D,f.value),damping:i,stiffness:o,restDelta:c,restSpeed:u}))};return I(0),{calculatedDuration:null,next:D=>{let $=!1;return!T&&k===void 0&&($=!0,E(D),I(D)),k!==void 0&&D>=k?T.next(D-k):(!$&&E(D),f)}}}const qT=Va(.42,0,1,1),GT=Va(0,0,.58,1),S0=Va(.42,0,.58,1),ZT=e=>Array.isArray(e)&&typeof e[0]!="number",T0={linear:Cn,easeIn:qT,easeInOut:S0,easeOut:GT,circIn:yd,circInOut:Gm,circOut:qm,backIn:gd,backInOut:Hm,backOut:Wm,anticipate:Um},_0=e=>{if(ld(e)){ti(e.length===4,"Cubic bezier arrays must contain four numerical values.");const[t,n,r,i]=e;return Va(t,n,r,i)}else if(typeof e=="string")return ti(T0[e]!==void 0,`Invalid easing type '${e}'`),T0[e];return e};function KT(e,t,n){const r=[],i=n||v0,o=e.length-1;for(let a=0;a<o;a++){let s=i(e[a],e[a+1]);if(t){const l=Array.isArray(t)?t[a]||Cn:t;s=Ua(l,s)}r.push(s)}return r}function YT(e,t,{clamp:n=!0,ease:r,mixer:i}={}){const o=e.length;if(ti(o===t.length,"Both input and output ranges must be the same length"),o===1)return()=>t[0];if(o===2&&t[0]===t[1])return()=>t[1];const a=e[0]===e[1];e[0]>e[o-1]&&(e=[...e].reverse(),t=[...t].reverse());const s=KT(t,r,i),l=s.length,c=u=>{if(a&&u<e[0])return t[0];let d=0;if(l>1)for(;d<e.length-2&&!(u<e[d+1]);d++);const f=yo(e[d],e[d+1],u);return s[d](f)};return n?u=>c(Vr(e[0],e[o-1],u)):c}function XT(e,t){const n=e[e.length-1];for(let r=1;r<=t;r++){const i=yo(0,t,r);e.push(zt(n,1,i))}}function JT(e){const t=[0];return XT(t,e.length-1),t}function QT(e,t){return e.map(n=>n*t)}function e_(e,t){return e.map(()=>t||S0).splice(0,e.length-1)}function Ll({duration:e=300,keyframes:t,times:n,ease:r="easeInOut"}){const i=ZT(r)?r.map(_0):_0(r),o={done:!1,value:t[0]},a=QT(n&&n.length===t.length?n:JT(t),e),s=YT(a,t,{ease:Array.isArray(i)?i:e_(t,i)});return{calculatedDuration:e,next:l=>(o.value=s(l),o.done=l>=e,o)}}const t_=e=>{const t=({timestamp:n})=>e(n);return{start:()=>jt.update(t,!0),stop:()=>ni(t),now:()=>en.isProcessing?en.timestamp:vr.now()}},n_={decay:k0,inertia:k0,tween:Ll,keyframes:Ll,spring:w0},r_=e=>e/100;class Md extends h0{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:i,keyframes:o}=this.options,a=(i==null?void 0:i.KeyframeResolver)||_d,s=(l,c)=>this.onKeyframesResolved(l,c);this.resolver=new a(o,s,n,r,i),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:i=0,repeatType:o,velocity:a=0}=this.options,s=sd(n)?n:n_[n]||Ll;let l,c;s!==Ll&&typeof t[0]!="number"&&(process.env.NODE_ENV!=="production"&&ti(t.length===2,`Only two keyframes currently supported with spring and inertia animations. Trying to animate ${t}`),l=Ua(r_,v0(t[0],t[1])),t=[0,100]);const u=s({...this.options,keyframes:t});o==="mirror"&&(c=s({...this.options,keyframes:[...t].reverse(),velocity:-a})),u.calculatedDuration===null&&(u.calculatedDuration=Tm(u));const{calculatedDuration:d}=u,f=d+i,p=f*(r+1)-i;return{generator:u,mirroredGenerator:c,mapPercentToKeyframes:l,calculatedDuration:d,resolvedDuration:f,totalDuration:p}}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:i,generator:o,mirroredGenerator:a,mapPercentToKeyframes:s,keyframes:l,calculatedDuration:c,totalDuration:u,resolvedDuration:d}=r;if(this.startTime===null)return o.next(0);const{delay:f,repeat:p,repeatType:m,repeatDelay:g,onUpdate:y}=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 v=this.currentTime-f*(this.speed>=0?1:-1),x=this.speed>=0?v<0:v>u;this.currentTime=Math.max(v,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=u);let w=this.currentTime,E=o;if(p){const D=Math.min(this.currentTime,u)/d;let $=Math.floor(D),P=D%1;!P&&D>=1&&(P=1),P===1&&$--,$=Math.min($,p+1),!!($%2)&&(m==="reverse"?(P=1-P,g&&(P-=g/d)):m==="mirror"&&(E=a)),w=Vr(0,1,P)*d}const k=x?{done:!1,value:l[0]}:E.next(w);s&&(k.value=s(k.value));let{done:T}=k;!x&&c!==null&&(T=this.speed>=0?this.currentTime>=u:this.currentTime<=0);const I=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&T);return I&&i!==void 0&&(k.value=Fl(l,this.options,i)),y&&y(k.value),I&&this.finish(),k}get duration(){const{resolved:t}=this;return t?Nr(t.calculatedDuration):0}get time(){return Nr(this.currentTime)}set time(t){t=gr(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=Nr(this.currentTime))}play(){if(this.resolver.isScheduled||this.resolver.resume(),!this._resolved){this.pendingPlayState="running";return}if(this.isStopped)return;const{driver:t=t_,onPlay:n,startTime:r}=this.options;this.driver||(this.driver=t(o=>this.tick(o))),n&&n();const i=this.driver.now();this.holdTime!==null?this.startTime=i-this.holdTime:this.startTime?this.state==="finished"&&(this.startTime=i):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 i_=new Set(["opacity","clipPath","filter","transform"]);function o_(e,t,n,{delay:r=0,duration:i=300,repeat:o=0,repeatType:a="loop",ease:s="easeInOut",times:l}={}){const c={[t]:n};l&&(c.offset=l);const u=Am(s,i);return Array.isArray(u)&&(c.easing=u),e.animate(c,{delay:r,duration:i,easing:Array.isArray(u)?"linear":u,fill:"both",iterations:o+1,direction:a==="reverse"?"alternate":"normal"})}const a_=Wu(()=>Object.hasOwnProperty.call(Element.prototype,"animate")),$l=10,s_=2e4;function l_(e){return sd(e.type)||e.type==="spring"||!Pm(e.ease)}function c_(e,t){const n=new Md({...t,keyframes:e,repeat:0,delay:0,isGenerator:!0});let r={done:!1,value:e[0]};const i=[];let o=0;for(;!r.done&&o<s_;)r=n.sample(o),i.push(r.value),o+=$l;return{times:void 0,keyframes:i,duration:o-$l,ease:"linear"}}const E0={anticipate:Um,backInOut:Hm,circInOut:Gm};function u_(e){return e in E0}class P0 extends h0{constructor(t){super(t);const{name:n,motionValue:r,element:i,keyframes:o}=this.options;this.resolver=new f0(o,(a,s)=>this.onKeyframesResolved(a,s),n,r,i),this.resolver.scheduleResolve()}initPlayback(t,n){let{duration:r=300,times:i,ease:o,type:a,motionValue:s,name:l,startTime:c}=this.options;if(!s.owner||!s.owner.current)return!1;if(typeof o=="string"&&Dl()&&u_(o)&&(o=E0[o]),l_(this.options)){const{onComplete:d,onUpdate:f,motionValue:p,element:m,...g}=this.options,y=c_(t,g);t=y.keyframes,t.length===1&&(t[1]=t[0]),r=y.duration,i=y.times,o=y.ease,a="keyframes"}const u=o_(s.owner.current,l,t,{...this.options,duration:r,times:i,ease:o});return u.startTime=c??this.calcStartTime(),this.pendingTimeline?(_m(u,this.pendingTimeline),this.pendingTimeline=void 0):u.onfinish=()=>{const{onComplete:d}=this.options;s.set(Fl(t,this.options,n)),d&&d(),this.cancel(),this.resolveFinishedPromise()},{animation:u,duration:r,times:i,type:a,ease:o,keyframes:t}}get duration(){const{resolved:t}=this;if(!t)return 0;const{duration:n}=t;return Nr(n)}get time(){const{resolved:t}=this;if(!t)return 0;const{animation:n}=t;return Nr(n.currentTime||0)}set time(t){const{resolved:n}=this;if(!n)return;const{animation:r}=n;r.currentTime=gr(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 Cn;const{animation:r}=n;_m(r,t)}return Cn}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:i,type:o,ease:a,times:s}=t;if(n.playState==="idle"||n.playState==="finished")return;if(this.time){const{motionValue:c,onUpdate:u,onComplete:d,element:f,...p}=this.options,m=new Md({...p,keyframes:r,duration:i,type:o,ease:a,times:s,isGenerator:!0}),g=gr(this.time);c.setWithVelocity(m.sample(g-$l).value,m.sample(g).value,$l)}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:i,repeatType:o,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 a_()&&r&&i_.has(r)&&!l&&!c&&!i&&o!=="mirror"&&a!==0&&s!=="inertia"}}const d_={type:"spring",stiffness:500,damping:25,restSpeed:10},f_=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),p_={type:"keyframes",duration:.8},h_={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},m_=(e,{keyframes:t})=>t.length>2?p_:_i.has(e)?e.startsWith("scale")?f_(t[1]):d_:h_;function g_({when:e,delay:t,delayChildren:n,staggerChildren:r,staggerDirection:i,repeat:o,repeatType:a,repeatDelay:s,from:l,elapsed:c,...u}){return!!Object.keys(u).length}const Dd=(e,t,n,r={},i,o)=>a=>{const s=od(r,e)||{},l=s.delay||r.delay||0;let{elapsed:c=0}=r;c=c-gr(l);let u={keyframes:Array.isArray(n)?n:[null,n],ease:"easeOut",velocity:t.getVelocity(),...s,delay:-c,onUpdate:f=>{t.set(f),s.onUpdate&&s.onUpdate(f)},onComplete:()=>{a(),s.onComplete&&s.onComplete()},name:e,motionValue:t,element:o?void 0:i};g_(s)||(u={...u,...m_(e,u)}),u.duration&&(u.duration=gr(u.duration)),u.repeatDelay&&(u.repeatDelay=gr(u.repeatDelay)),u.from!==void 0&&(u.keyframes[0]=u.from);let d=!1;if((u.type===!1||u.duration===0&&!u.repeatDelay)&&(u.duration=0,u.delay===0&&(d=!0)),d&&!o&&t.get()!==void 0){const f=Fl(u.keyframes,s);if(f!==void 0)return jt.update(()=>{u.onUpdate(f),u.onComplete()}),new zS([])}return!o&&P0.supports(u)?new P0(u):new Md(u)};function y_({protectedKeys:e,needsAnimating:t},n){const r=e.hasOwnProperty(n)&&t[n]!==!0;return t[n]=!1,r}function A0(e,t,{delay:n=0,transitionOverride:r,type:i}={}){var o;let{transition:a=e.getDefaultTransition(),transitionEnd:s,...l}=t;r&&(a=r);const c=[],u=i&&e.animationState&&e.animationState.getState()[i];for(const d in l){const f=e.getValue(d,(o=e.latestValues[d])!==null&&o!==void 0?o:null),p=l[d];if(p===void 0||u&&y_(u,d))continue;const m={delay:n,...od(a||{},d)};let g=!1;if(window.MotionHandoffAnimation){const v=Bm(e);if(v){const x=window.MotionHandoffAnimation(v,d,jt);x!==null&&(m.startTime=x,g=!0)}}md(e,d),f.start(Dd(d,f,p,e.shouldReduceMotion&&zm.has(d)?{type:!1}:m,e,g));const y=f.animation;y&&c.push(y)}return s&&Promise.all(c).then(()=>{jt.update(()=>{s&&YS(e,s)})}),c}function Od(e,t,n={}){var r;const i=Ml(e,t,n.type==="exit"?(r=e.presenceContext)===null||r===void 0?void 0:r.custom:void 0);let{transition:o=e.getDefaultTransition()||{}}=i||{};n.transitionOverride&&(o=n.transitionOverride);const a=i?()=>Promise.all(A0(e,i,n)):()=>Promise.resolve(),s=e.variantChildren&&e.variantChildren.size?(c=0)=>{const{delayChildren:u=0,staggerChildren:d,staggerDirection:f}=o;return v_(e,t,u+c,d,f,n)}:()=>Promise.resolve(),{when:l}=o;if(l){const[c,u]=l==="beforeChildren"?[a,s]:[s,a];return c().then(()=>u())}else return Promise.all([a(),s(n.delay)])}function v_(e,t,n=0,r=0,i=1,o){const a=[],s=(e.variantChildren.size-1)*r,l=i===1?(c=0)=>c*r:(c=0)=>s-c*r;return Array.from(e.variantChildren).sort(b_).forEach((c,u)=>{c.notify("AnimationStart",t),a.push(Od(c,t,{...o,delay:n+l(u)}).then(()=>c.notify("AnimationComplete",t)))}),Promise.all(a)}function b_(e,t){return e.sortNodePosition(t)}function x_(e,t,n={}){e.notify("AnimationStart",t);let r;if(Array.isArray(t)){const i=t.map(o=>Od(e,o,n));r=Promise.all(i)}else if(typeof t=="string")r=Od(e,t,n);else{const i=typeof t=="function"?Ml(e,t,n.custom):t;r=Promise.all(A0(e,i,n))}return r.then(()=>{e.notify("AnimationComplete",t)})}const C_=qu.length;function j0(e){if(!e)return;if(!e.isControllingVariants){const n=e.parent?j0(e.parent)||{}:{};return e.props.initial!==void 0&&(n.initial=e.props.initial),n}const t={};for(let n=0;n<C_;n++){const r=qu[n],i=e.props[r];(za(i)||i===!1)&&(t[r]=i)}return t}const w_=[...Uu].reverse(),k_=Uu.length;function S_(e){return t=>Promise.all(t.map(({animation:n,options:r})=>x_(e,n,r)))}function T_(e){let t=S_(e),n=I0(),r=!0;const i=l=>(c,u)=>{var d;const f=Ml(e,u,l==="exit"?(d=e.presenceContext)===null||d===void 0?void 0:d.custom:void 0);if(f){const{transition:p,transitionEnd:m,...g}=f;c={...c,...g,...m}}return c};function o(l){t=l(e)}function a(l){const{props:c}=e,u=j0(e.parent)||{},d=[],f=new Set;let p={},m=1/0;for(let y=0;y<k_;y++){const v=w_[y],x=n[v],w=c[v]!==void 0?c[v]:u[v],E=za(w),k=v===l?x.isActive:null;k===!1&&(m=y);let T=w===u[v]&&w!==c[v]&&E;if(T&&r&&e.manuallyAnimateOnMount&&(T=!1),x.protectedKeys={...p},!x.isActive&&k===null||!w&&!x.prevProp||El(w)||typeof w=="boolean")continue;const I=__(x.prevProp,w);let D=I||v===l&&x.isActive&&!T&&E||y>m&&E,$=!1;const P=Array.isArray(w)?w:[w];let W=P.reduce(i(v),{});k===!1&&(W={});const{prevResolvedValues:Z={}}=x,ne={...Z,...W},z=N=>{D=!0,f.has(N)&&($=!0,f.delete(N)),x.needsAnimating[N]=!0;const ce=e.getValue(N);ce&&(ce.liveStyle=!1)};for(const N in ne){const ce=W[N],he=Z[N];if(p.hasOwnProperty(N))continue;let C=!1;Xu(ce)&&Xu(he)?C=!Sm(ce,he):C=ce!==he,C?ce!=null?z(N):f.add(N):ce!==void 0&&f.has(N)?z(N):x.protectedKeys[N]=!0}x.prevProp=w,x.prevResolvedValues=W,x.isActive&&(p={...p,...W}),r&&e.blockInitialAnimation&&(D=!1),D&&(!(T&&I)||$)&&d.push(...P.map(N=>({animation:N,options:{type:v}})))}if(f.size){const y={};f.forEach(v=>{const x=e.getBaseTarget(v),w=e.getValue(v);w&&(w.liveStyle=!0),y[v]=x??null}),d.push({animation:y})}let g=!!d.length;return r&&(c.initial===!1||c.initial===c.animate)&&!e.manuallyAnimateOnMount&&(g=!1),r=!1,g?t(d):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(f=>{var p;return(p=f.animationState)===null||p===void 0?void 0:p.setActive(l,c)}),n[l].isActive=c;const d=a(l);for(const f in n)n[f].protectedKeys={};return d}return{animateChanges:a,setActive:s,setAnimateFunction:o,getState:()=>n,reset:()=>{n=I0(),r=!0}}}function __(e,t){return typeof t=="string"?t!==e:Array.isArray(t)?!Sm(t,e):!1}function Ai(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function I0(){return{animate:Ai(!0),whileInView:Ai(),whileHover:Ai(),whileTap:Ai(),whileDrag:Ai(),whileFocus:Ai(),exit:Ai()}}class oi{constructor(t){this.isMounted=!1,this.node=t}update(){}}class E_ extends oi{constructor(t){super(t),t.animationState||(t.animationState=T_(t))}updateAnimationControlsSubscription(){const{animate:t}=this.node.getProps();El(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 P_=0;class A_ extends oi{constructor(){super(...arguments),this.id=P_++}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 i=this.node.animationState.setActive("exit",!t);n&&!t&&i.then(()=>n(this.id))}mount(){const{register:t}=this.node.presenceContext||{};t&&(this.unmount=t(this.id))}unmount(){}}const j_={animation:{Feature:E_},exit:{Feature:A_}};function qa(e,t,n,r={passive:!0}){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n)}function Ga(e){return{point:{x:e.pageX,y:e.pageY}}}const I_=e=>t=>ud(t)&&e(t,Ga(t));function Za(e,t,n,r){return qa(e,t,I_(n),r)}const M0=(e,t)=>Math.abs(e-t);function M_(e,t){const n=M0(e.x,t.x),r=M0(e.y,t.y);return Math.sqrt(n**2+r**2)}class D0{constructor(t,n,{transformPagePoint:r,contextWindow:i,dragSnapToOrigin:o=!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 d=zd(this.lastMoveEventInfo,this.history),f=this.startEvent!==null,p=M_(d.offset,{x:0,y:0})>=3;if(!f&&!p)return;const{point:m}=d,{timestamp:g}=en;this.history.push({...m,timestamp:g});const{onStart:y,onMove:v}=this.handlers;f||(y&&y(this.lastMoveEvent,d),this.startEvent=this.lastMoveEvent),v&&v(this.lastMoveEvent,d)},this.handlePointerMove=(d,f)=>{this.lastMoveEvent=d,this.lastMoveEventInfo=Fd(f,this.transformPagePoint),jt.update(this.updatePoint,!0)},this.handlePointerUp=(d,f)=>{this.end();const{onEnd:p,onSessionEnd:m,resumeAnimation:g}=this.handlers;if(this.dragSnapToOrigin&&g&&g(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const y=zd(d.type==="pointercancel"?this.lastMoveEventInfo:Fd(f,this.transformPagePoint),this.history);this.startEvent&&p&&p(d,y),m&&m(d,y)},!ud(t))return;this.dragSnapToOrigin=o,this.handlers=n,this.transformPagePoint=r,this.contextWindow=i||window;const a=Ga(t),s=Fd(a,this.transformPagePoint),{point:l}=s,{timestamp:c}=en;this.history=[{...l,timestamp:c}];const{onSessionStart:u}=n;u&&u(t,zd(s,this.history)),this.removeListeners=Ua(Za(this.contextWindow,"pointermove",this.handlePointerMove),Za(this.contextWindow,"pointerup",this.handlePointerUp),Za(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),ni(this.updatePoint)}}function Fd(e,t){return t?{point:t(e.point)}:e}function O0(e,t){return{x:e.x-t.x,y:e.y-t.y}}function zd({point:e},t){return{point:e,delta:O0(e,F0(t)),offset:O0(e,D_(t)),velocity:O_(t,.1)}}function D_(e){return e[0]}function F0(e){return e[e.length-1]}function O_(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,r=null;const i=F0(e);for(;n>=0&&(r=e[n],!(i.timestamp-r.timestamp>gr(t)));)n--;if(!r)return{x:0,y:0};const o=Nr(i.timestamp-r.timestamp);if(o===0)return{x:0,y:0};const a={x:(i.x-r.x)/o,y:(i.y-r.y)/o};return a.x===1/0&&(a.x=0),a.y===1/0&&(a.y=0),a}const z0=1e-4,F_=1-z0,z_=1+z0,L0=.01,L_=0-L0,$_=0+L0;function In(e){return e.max-e.min}function B_(e,t,n){return Math.abs(e-t)<=n}function $0(e,t,n,r=.5){e.origin=r,e.originPoint=zt(t.min,t.max,e.origin),e.scale=In(n)/In(t),e.translate=zt(n.min,n.max,e.origin)-e.originPoint,(e.scale>=F_&&e.scale<=z_||isNaN(e.scale))&&(e.scale=1),(e.translate>=L_&&e.translate<=$_||isNaN(e.translate))&&(e.translate=0)}function Ka(e,t,n,r){$0(e.x,t.x,n.x,r?r.originX:void 0),$0(e.y,t.y,n.y,r?r.originY:void 0)}function B0(e,t,n){e.min=n.min+t.min,e.max=e.min+In(t)}function R_(e,t,n){B0(e.x,t.x,n.x),B0(e.y,t.y,n.y)}function R0(e,t,n){e.min=t.min-n.min,e.max=e.min+In(t)}function Ya(e,t,n){R0(e.x,t.x,n.x),R0(e.y,t.y,n.y)}function N_(e,{min:t,max:n},r){return t!==void 0&&e<t?e=r?zt(t,e,r.min):Math.max(e,t):n!==void 0&&e>n&&(e=r?zt(n,e,r.max):Math.min(e,n)),e}function N0(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 V_(e,{top:t,left:n,bottom:r,right:i}){return{x:N0(e.x,n,i),y:N0(e.y,t,r)}}function V0(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 W_(e,t){return{x:V0(e.x,t.x),y:V0(e.y,t.y)}}function H_(e,t){let n=.5;const r=In(e),i=In(t);return i>r?n=yo(t.min,t.max-r,e.min):r>i&&(n=yo(e.min,e.max-i,t.min)),Vr(0,1,n)}function U_(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 Ld=.35;function q_(e=Ld){return e===!1?e=0:e===!0&&(e=Ld),{x:W0(e,"left","right"),y:W0(e,"top","bottom")}}function W0(e,t,n){return{min:H0(e,t),max:H0(e,n)}}function H0(e,t){return typeof e=="number"?e:e[t]||0}const U0=()=>({translate:0,scale:1,origin:0,originPoint:0}),So=()=>({x:U0(),y:U0()}),q0=()=>({min:0,max:0}),Vt=()=>({x:q0(),y:q0()});function Nn(e){return[e("x"),e("y")]}function G0({top:e,left:t,right:n,bottom:r}){return{x:{min:t,max:n},y:{min:e,max:r}}}function G_({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function Z_(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 $d(e){return e===void 0||e===1}function Bd({scale:e,scaleX:t,scaleY:n}){return!$d(e)||!$d(t)||!$d(n)}function ji(e){return Bd(e)||Z0(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function Z0(e){return K0(e.x)||K0(e.y)}function K0(e){return e&&e!=="0%"}function Bl(e,t,n){const r=e-n,i=t*r;return n+i}function Y0(e,t,n,r,i){return i!==void 0&&(e=Bl(e,i,r)),Bl(e,n,r)+t}function Rd(e,t=0,n=1,r,i){e.min=Y0(e.min,t,n,r,i),e.max=Y0(e.max,t,n,r,i)}function X0(e,{x:t,y:n}){Rd(e.x,t.translate,t.scale,t.originPoint),Rd(e.y,n.translate,n.scale,n.originPoint)}const J0=.999999999999,Q0=1.0000000000001;function K_(e,t,n,r=!1){const i=n.length;if(!i)return;t.x=t.y=1;let o,a;for(let s=0;s<i;s++){o=n[s],a=o.projectionDelta;const{visualElement:l}=o.options;l&&l.props.style&&l.props.style.display==="contents"||(r&&o.options.layoutScroll&&o.scroll&&o!==o.root&&_o(e,{x:-o.scroll.offset.x,y:-o.scroll.offset.y}),a&&(t.x*=a.x.scale,t.y*=a.y.scale,X0(e,a)),r&&ji(o.latestValues)&&_o(e,o.latestValues))}t.x<Q0&&t.x>J0&&(t.x=1),t.y<Q0&&t.y>J0&&(t.y=1)}function To(e,t){e.min=e.min+t,e.max=e.max+t}function e2(e,t,n,r,i=.5){const o=zt(e.min,e.max,i);Rd(e,t,n,o,r)}function _o(e,t){e2(e.x,t.x,t.scaleX,t.scale,t.originX),e2(e.y,t.y,t.scaleY,t.scale,t.originY)}function t2(e,t){return G0(Z_(e.getBoundingClientRect(),t))}function Y_(e,t,n){const r=t2(e,n),{scroll:i}=t;return i&&(To(r.x,i.offset.x),To(r.y,i.offset.y)),r}const n2=({current:e})=>e?e.ownerDocument.defaultView:null,X_=new WeakMap;class J_{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=Vt(),this.visualElement=t}start(t,{snapToCursor:n=!1}={}){const{presenceContext:r}=this.visualElement;if(r&&r.isPresent===!1)return;const i=u=>{const{dragSnapToOrigin:d}=this.getProps();d?this.pauseAnimation():this.stopAnimation(),n&&this.snapToCursor(Ga(u).point)},o=(u,d)=>{const{drag:f,dragPropagation:p,onDragStart:m}=this.getProps();if(f&&!p&&(this.openDragLock&&this.openDragLock(),this.openDragLock=US(f),!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),Nn(y=>{let v=this.getAxisMotionValue(y).get()||0;if(yr.test(v)){const{projection:x}=this.visualElement;if(x&&x.layout){const w=x.layout.layoutBox[y];w&&(v=In(w)*(parseFloat(v)/100))}}this.originPoint[y]=v}),m&&jt.postRender(()=>m(u,d)),md(this.visualElement,"transform");const{animationState:g}=this.visualElement;g&&g.setActive("whileDrag",!0)},a=(u,d)=>{const{dragPropagation:f,dragDirectionLock:p,onDirectionLock:m,onDrag:g}=this.getProps();if(!f&&!this.openDragLock)return;const{offset:y}=d;if(p&&this.currentDirection===null){this.currentDirection=Q_(y),this.currentDirection!==null&&m&&m(this.currentDirection);return}this.updateAxis("x",d.point,y),this.updateAxis("y",d.point,y),this.visualElement.render(),g&&g(u,d)},s=(u,d)=>this.stop(u,d),l=()=>Nn(u=>{var d;return this.getAnimationState(u)==="paused"&&((d=this.getAxisMotionValue(u).animation)===null||d===void 0?void 0:d.play())}),{dragSnapToOrigin:c}=this.getProps();this.panSession=new D0(t,{onSessionStart:i,onStart:o,onMove:a,onSessionEnd:s,resumeAnimation:l},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:c,contextWindow:n2(this.visualElement)})}stop(t,n){const r=this.isDragging;if(this.cancel(),!r)return;const{velocity:i}=n;this.startAnimation(i);const{onDragEnd:o}=this.getProps();o&&jt.postRender(()=>o(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:i}=this.getProps();if(!r||!Rl(t,i,this.currentDirection))return;const o=this.getAxisMotionValue(t);let a=this.originPoint[t]+r[t];this.constraints&&this.constraints[t]&&(a=N_(a,this.constraints[t],this.elastic[t])),o.set(a)}resolveConstraints(){var t;const{dragConstraints:n,dragElastic:r}=this.getProps(),i=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):(t=this.visualElement.projection)===null||t===void 0?void 0:t.layout,o=this.constraints;n&&bo(n)?this.constraints||(this.constraints=this.resolveRefConstraints()):n&&i?this.constraints=V_(i.layoutBox,n):this.constraints=!1,this.elastic=q_(r),o!==this.constraints&&i&&this.constraints&&!this.hasMutatedConstraints&&Nn(a=>{this.constraints!==!1&&this.getAxisMotionValue(a)&&(this.constraints[a]=U_(i.layoutBox[a],this.constraints[a]))})}resolveRefConstraints(){const{dragConstraints:t,onMeasureDragConstraints:n}=this.getProps();if(!t||!bo(t))return!1;const r=t.current;ti(r!==null,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.");const{projection:i}=this.visualElement;if(!i||!i.layout)return!1;const o=Y_(r,i.root,this.visualElement.getTransformPagePoint());let a=W_(i.layout.layoutBox,o);if(n){const s=n(G_(a));this.hasMutatedConstraints=!!s,s&&(a=G0(s))}return a}startAnimation(t){const{drag:n,dragMomentum:r,dragElastic:i,dragTransition:o,dragSnapToOrigin:a,onDragTransitionEnd:s}=this.getProps(),l=this.constraints||{},c=Nn(u=>{if(!Rl(u,n,this.currentDirection))return;let d=l&&l[u]||{};a&&(d={min:0,max:0});const f=i?200:1e6,p=i?40:1e7,m={type:"inertia",velocity:r?t[u]:0,bounceStiffness:f,bounceDamping:p,timeConstant:750,restDelta:1,restSpeed:10,...o,...d};return this.startAxisValueAnimation(u,m)});return Promise.all(c).then(s)}startAxisValueAnimation(t,n){const r=this.getAxisMotionValue(t);return md(this.visualElement,t),r.start(Dd(t,r,0,n,this.visualElement,!1))}stopAnimation(){Nn(t=>this.getAxisMotionValue(t).stop())}pauseAnimation(){Nn(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(),i=r[n];return i||this.visualElement.getValue(t,(r.initial?r.initial[t]:void 0)||0)}snapToCursor(t){Nn(n=>{const{drag:r}=this.getProps();if(!Rl(n,r,this.currentDirection))return;const{projection:i}=this.visualElement,o=this.getAxisMotionValue(n);if(i&&i.layout){const{min:a,max:s}=i.layout.layoutBox[n];o.set(t[n]-zt(a,s,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:t,dragConstraints:n}=this.getProps(),{projection:r}=this.visualElement;if(!bo(n)||!r||!this.constraints)return;this.stopAnimation();const i={x:0,y:0};Nn(a=>{const s=this.getAxisMotionValue(a);if(s&&this.constraints!==!1){const l=s.get();i[a]=H_({min:l,max:l},this.constraints[a])}});const{transformTemplate:o}=this.visualElement.getProps();this.visualElement.current.style.transform=o?o({},""):"none",r.root&&r.root.updateScroll(),r.updateLayout(),this.resolveConstraints(),Nn(a=>{if(!Rl(a,t,null))return;const s=this.getAxisMotionValue(a),{min:l,max:c}=this.constraints[a];s.set(zt(l,c,i[a]))})}addListeners(){if(!this.visualElement.current)return;X_.set(this.visualElement,this);const t=this.visualElement.current,n=Za(t,"pointerdown",l=>{const{drag:c,dragListener:u=!0}=this.getProps();c&&u&&this.start(l)}),r=()=>{const{dragConstraints:l}=this.getProps();bo(l)&&l.current&&(this.constraints=this.resolveRefConstraints())},{projection:i}=this.visualElement,o=i.addEventListener("measure",r);i&&!i.layout&&(i.root&&i.root.updateScroll(),i.updateLayout()),jt.read(r);const a=qa(window,"resize",()=>this.scalePositionWithinConstraints()),s=i.addEventListener("didUpdate",({delta:l,hasLayoutChanged:c})=>{this.isDragging&&c&&(Nn(u=>{const d=this.getAxisMotionValue(u);d&&(this.originPoint[u]+=l[u].translate,d.set(d.get()+l[u].translate))}),this.visualElement.render())});return()=>{a(),n(),o(),s&&s()}}getProps(){const t=this.visualElement.getProps(),{drag:n=!1,dragDirectionLock:r=!1,dragPropagation:i=!1,dragConstraints:o=!1,dragElastic:a=Ld,dragMomentum:s=!0}=t;return{...t,drag:n,dragDirectionLock:r,dragPropagation:i,dragConstraints:o,dragElastic:a,dragMomentum:s}}}function Rl(e,t,n){return(t===!0||t===e)&&(n===null||n===e)}function Q_(e,t=10){let n=null;return Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x"),n}class eE extends oi{constructor(t){super(t),this.removeGroupControls=Cn,this.removeListeners=Cn,this.controls=new J_(t)}mount(){const{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||Cn}unmount(){this.removeGroupControls(),this.removeListeners()}}const r2=e=>(t,n)=>{e&&jt.postRender(()=>e(t,n))};class tE extends oi{constructor(){super(...arguments),this.removePointerDownListener=Cn}onPointerDown(t){this.session=new D0(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:n2(this.node)})}createPanHandlers(){const{onPanSessionStart:t,onPanStart:n,onPan:r,onPanEnd:i}=this.node.getProps();return{onSessionStart:r2(t),onStart:r2(n),onMove:r,onEnd:(o,a)=>{delete this.session,i&&jt.postRender(()=>i(o,a))}}}mount(){this.removePointerDownListener=Za(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 Nl={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function i2(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const Xa={correct:(e,t)=>{if(!t.target)return e;if(typeof e=="string")if(ze.test(e))e=parseFloat(e);else return e;const n=i2(e,t.target.x),r=i2(e,t.target.y);return`${n}% ${r}%`}},nE={correct:(e,{treeScale:t,projectionDelta:n})=>{const r=e,i=ii.parse(e);if(i.length>5)return r;const o=ii.createTransformer(e),a=typeof i[0]!="number"?1:0,s=n.x.scale*t.x,l=n.y.scale*t.y;i[0+a]/=s,i[1+a]/=l;const c=zt(s,l,.5);return typeof i[2+a]=="number"&&(i[2+a]/=c),typeof i[3+a]=="number"&&(i[3+a]/=c),o(i)}};class rE extends b.Component{componentDidMount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:r,layoutId:i}=this.props,{projection:o}=t;SS(iE),o&&(n.group&&n.group.add(o),r&&r.register&&i&&r.register(o),o.root.didUpdate(),o.addEventListener("animationComplete",()=>{this.safeToRemove()}),o.setOptions({...o.options,onExitComplete:()=>this.safeToRemove()})),Nl.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){const{layoutDependency:n,visualElement:r,drag:i,isPresent:o}=this.props,a=r.projection;return a&&(a.isPresent=o,i||t.layoutDependency!==n||n===void 0?a.willUpdate():this.safeToRemove(),t.isPresent!==o&&(o?a.promote():a.relegate()||jt.postRender(()=>{const s=a.getStack();(!s||!s.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),Zu.postRender(()=>{!t.currentAnimation&&t.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:r}=this.props,{projection:i}=t;i&&(i.scheduleCheckAfterUnmount(),n&&n.group&&n.group.remove(i),r&&r.deregister&&r.deregister(i))}safeToRemove(){const{safeToRemove:t}=this.props;t&&t()}render(){return null}}function o2(e){const[t,n]=Nu(),r=b.useContext($u);return h.jsx(rE,{...e,layoutGroup:r,switchLayoutGroup:b.useContext(am),isPresent:t,safeToRemove:n})}const iE={borderRadius:{...Xa,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:Xa,borderTopRightRadius:Xa,borderBottomLeftRadius:Xa,borderBottomRightRadius:Xa,boxShadow:nE};function oE(e,t,n){const r=on(e)?e:Na(e);return r.start(Dd("",r,t,n)),r.animation}function aE(e){return e instanceof SVGElement&&e.tagName!=="svg"}const sE=(e,t)=>e.depth-t.depth;class lE{constructor(){this.children=[],this.isDirty=!1}add(t){fd(this.children,t),this.isDirty=!0}remove(t){pd(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(sE),this.isDirty=!1,this.children.forEach(t)}}function cE(e,t){const n=vr.now(),r=({timestamp:i})=>{const o=i-n;o>=t&&(ni(r),e(o-t))};return jt.read(r,!0),()=>ni(r)}const a2=["TopLeft","TopRight","BottomLeft","BottomRight"],uE=a2.length,s2=e=>typeof e=="string"?parseFloat(e):e,l2=e=>typeof e=="number"||ze.test(e);function dE(e,t,n,r,i,o){i?(e.opacity=zt(0,n.opacity!==void 0?n.opacity:1,fE(r)),e.opacityExit=zt(t.opacity!==void 0?t.opacity:1,0,pE(r))):o&&(e.opacity=zt(t.opacity!==void 0?t.opacity:1,n.opacity!==void 0?n.opacity:1,r));for(let a=0;a<uE;a++){const s=`border${a2[a]}Radius`;let l=c2(t,s),c=c2(n,s);if(l===void 0&&c===void 0)continue;l||(l=0),c||(c=0),l===0||c===0||l2(l)===l2(c)?(e[s]=Math.max(zt(s2(l),s2(c),r),0),(yr.test(c)||yr.test(l))&&(e[s]+="%")):e[s]=c}(t.rotate||n.rotate)&&(e.rotate=zt(t.rotate||0,n.rotate||0,r))}function c2(e,t){return e[t]!==void 0?e[t]:e.borderRadius}const fE=u2(0,.5,qm),pE=u2(.5,.95,Cn);function u2(e,t,n){return r=>r<e?0:r>t?1:n(yo(e,t,r))}function d2(e,t){e.min=t.min,e.max=t.max}function Vn(e,t){d2(e.x,t.x),d2(e.y,t.y)}function f2(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}function p2(e,t,n,r,i){return e-=t,e=Bl(e,1/n,r),i!==void 0&&(e=Bl(e,1/i,r)),e}function hE(e,t=0,n=1,r=.5,i,o=e,a=e){if(yr.test(t)&&(t=parseFloat(t),t=zt(a.min,a.max,t/100)-a.min),typeof t!="number")return;let s=zt(o.min,o.max,r);e===o&&(s-=t),e.min=p2(e.min,t,n,s,i),e.max=p2(e.max,t,n,s,i)}function h2(e,t,[n,r,i],o,a){hE(e,t[n],t[r],t[i],t.scale,o,a)}const mE=["x","scaleX","originX"],gE=["y","scaleY","originY"];function m2(e,t,n,r){h2(e.x,t,mE,n?n.x:void 0,r?r.x:void 0),h2(e.y,t,gE,n?n.y:void 0,r?r.y:void 0)}function g2(e){return e.translate===0&&e.scale===1}function y2(e){return g2(e.x)&&g2(e.y)}function v2(e,t){return e.min===t.min&&e.max===t.max}function yE(e,t){return v2(e.x,t.x)&&v2(e.y,t.y)}function b2(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function x2(e,t){return b2(e.x,t.x)&&b2(e.y,t.y)}function C2(e){return In(e.x)/In(e.y)}function w2(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}class vE{constructor(){this.members=[]}add(t){fd(this.members,t),t.scheduleRender()}remove(t){if(pd(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(i=>t===i);if(n===0)return!1;let r;for(let i=n;i>=0;i--){const o=this.members[i];if(o.isPresent!==!1){r=o;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:i}=t.options;i===!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 bE(e,t,n){let r="";const i=e.x.translate/t.x,o=e.y.translate/t.y,a=(n==null?void 0:n.z)||0;if((i||o||a)&&(r=`translate3d(${i}px, ${o}px, ${a}px) `),(t.x!==1||t.y!==1)&&(r+=`scale(${1/t.x}, ${1/t.y}) `),n){const{transformPerspective:c,rotate:u,rotateX:d,rotateY:f,skewX:p,skewY:m}=n;c&&(r=`perspective(${c}px) ${r}`),u&&(r+=`rotate(${u}deg) `),d&&(r+=`rotateX(${d}deg) `),f&&(r+=`rotateY(${f}deg) `),p&&(r+=`skewX(${p}deg) `),m&&(r+=`skewY(${m}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 Ii={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0},Ja=typeof window<"u"&&window.MotionDebug!==void 0,Nd=["","X","Y","Z"],xE={visibility:"hidden"},k2=1e3;let CE=0;function Vd(e,t,n,r){const{latestValues:i}=t;i[e]&&(n[e]=i[e],t.setStaticValue(e,0),r&&(r[e]=0))}function S2(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;const{visualElement:t}=e.options;if(!t)return;const n=Bm(t);if(window.MotionHasOptimisedAnimation(n,"transform")){const{layout:i,layoutId:o}=e.options;window.MotionCancelOptimisedAnimation(n,"transform",jt,!(i||o))}const{parent:r}=e;r&&!r.hasCheckedOptimisedAppear&&S2(r)}function T2({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:r,resetTransform:i}){return class{constructor(a={},s=t==null?void 0:t()){this.id=CE++,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,Ja&&(Ii.totalNodes=Ii.resolvedTargetDeltas=Ii.recalculatedProjection=0),this.nodes.forEach(SE),this.nodes.forEach(AE),this.nodes.forEach(jE),this.nodes.forEach(TE),Ja&&window.MotionDebug.record(Ii)},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 lE)}addEventListener(a,s){return this.eventHandlers.has(a)||this.eventHandlers.set(a,new hd),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=aE(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 d;const f=()=>this.root.updateBlockedByResize=!1;e(a,()=>{this.root.updateBlockedByResize=!0,d&&d(),d=cE(f,250),Nl.hasAnimatedSinceResize&&(Nl.hasAnimatedSinceResize=!1,this.nodes.forEach(E2))})}l&&this.root.registerSharedNode(l,this),this.options.animate!==!1&&u&&(l||c)&&this.addEventListener("didUpdate",({delta:d,hasLayoutChanged:f,hasRelativeTargetChanged:p,layout:m})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const g=this.options.transition||u.getDefaultTransition()||FE,{onLayoutAnimationStart:y,onLayoutAnimationComplete:v}=u.getProps(),x=!this.targetLayout||!x2(this.targetLayout,m)||p,w=!f&&p;if(this.options.layoutRoot||this.resumeFrom&&this.resumeFrom.instance||w||f&&(x||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(d,w);const E={...od(g,"layout"),onPlay:y,onComplete:v};(u.shouldReduceMotion||this.options.layoutRoot)&&(E.delay=0,E.type=!1),this.startAnimation(E)}else f||E2(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=m})}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,ni(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(IE),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&&S2(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let u=0;u<this.path.length;u++){const d=this.path[u];d.shouldResetTransform=!0,d.updateScroll("snapshot"),d.options.layoutRoot&&d.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(_2);return}this.isUpdating||this.nodes.forEach(EE),this.isUpdating=!1,this.nodes.forEach(PE),this.nodes.forEach(wE),this.nodes.forEach(kE),this.clearAllSnapshots();const s=vr.now();en.delta=Vr(0,1e3/60,s-en.timestamp),en.timestamp=s,en.isProcessing=!0,Hu.update.process(en),Hu.preRender.process(en),Hu.render.process(en),en.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,Zu.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(_E),this.sharedNodes.forEach(ME)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,jt.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){jt.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=Vt(),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(!i)return;const a=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,s=this.projectionDelta&&!y2(this.projectionDelta),l=this.getTransformTemplate(),c=l?l(this.latestValues,""):void 0,u=c!==this.prevTransformTemplateValue;a&&(s||ji(this.latestValues)||u)&&(i(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)),zE(l),{animationId:this.root.animationId,measuredBox:s,layoutBox:l,latestValues:{},source:this.id}}measurePageBox(){var a;const{visualElement:s}=this.options;if(!s)return Vt();const l=s.measureViewportBox();if(!(((a=this.scroll)===null||a===void 0?void 0:a.wasRoot)||this.path.some(LE))){const{scroll:u}=this.root;u&&(To(l.x,u.offset.x),To(l.y,u.offset.y))}return l}removeElementScroll(a){var s;const l=Vt();if(Vn(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:d,options:f}=u;u!==this.root&&d&&f.layoutScroll&&(d.wasRoot&&Vn(l,a),To(l.x,d.offset.x),To(l.y,d.offset.y))}return l}applyTransform(a,s=!1){const l=Vt();Vn(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&&_o(l,{x:-u.scroll.offset.x,y:-u.scroll.offset.y}),ji(u.latestValues)&&_o(l,u.latestValues)}return ji(this.latestValues)&&_o(l,this.latestValues),l}removeTransform(a){const s=Vt();Vn(s,a);for(let l=0;l<this.path.length;l++){const c=this.path[l];if(!c.instance||!ji(c.latestValues))continue;Bd(c.latestValues)&&c.updateSnapshot();const u=Vt(),d=c.measurePageBox();Vn(u,d),m2(s,c.latestValues,c.snapshot?c.snapshot.layoutBox:void 0,u)}return ji(this.latestValues)&&m2(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!==en.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:d,layoutId:f}=this.options;if(!(!this.layout||!(d||f))){if(this.resolvedRelativeTargetAt=en.timestamp,!this.targetDelta&&!this.relativeTarget){const p=this.getClosestProjectingParent();p&&p.layout&&this.animationProgress!==1?(this.relativeParent=p,this.forceRelativeParentToResolveTarget(),this.relativeTarget=Vt(),this.relativeTargetOrigin=Vt(),Ya(this.relativeTargetOrigin,this.layout.layoutBox,p.layout.layoutBox),Vn(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(!(!this.relativeTarget&&!this.targetDelta)){if(this.target||(this.target=Vt(),this.targetWithTransforms=Vt()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),R_(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):Vn(this.target,this.layout.layoutBox),X0(this.target,this.targetDelta)):Vn(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget){this.attemptToResolveRelativeTarget=!1;const p=this.getClosestProjectingParent();p&&!!p.resumingFrom==!!this.resumingFrom&&!p.options.layoutScroll&&p.target&&this.animationProgress!==1?(this.relativeParent=p,this.forceRelativeParentToResolveTarget(),this.relativeTarget=Vt(),this.relativeTargetOrigin=Vt(),Ya(this.relativeTargetOrigin,this.target,p.target),Vn(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}Ja&&Ii.resolvedTargetDeltas++}}}getClosestProjectingParent(){if(!(!this.parent||Bd(this.parent.latestValues)||Z0(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===en.timestamp&&(c=!1),c)return;const{layout:u,layoutId:d}=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||d))return;Vn(this.layoutCorrected,this.layout.layoutBox);const f=this.treeScale.x,p=this.treeScale.y;K_(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=Vt());const{target:m}=s;if(!m){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(f2(this.prevProjectionDelta.x,this.projectionDelta.x),f2(this.prevProjectionDelta.y,this.projectionDelta.y)),Ka(this.projectionDelta,this.layoutCorrected,m,this.latestValues),(this.treeScale.x!==f||this.treeScale.y!==p||!w2(this.projectionDelta.x,this.prevProjectionDelta.x)||!w2(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",m)),Ja&&Ii.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=So(),this.projectionDelta=So(),this.projectionDeltaWithTransform=So()}setAnimationOrigin(a,s=!1){const l=this.snapshot,c=l?l.latestValues:{},u={...this.latestValues},d=So();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!s;const f=Vt(),p=l?l.source:void 0,m=this.layout?this.layout.source:void 0,g=p!==m,y=this.getStack(),v=!y||y.members.length<=1,x=!!(g&&!v&&this.options.crossfade===!0&&!this.path.some(OE));this.animationProgress=0;let w;this.mixTargetDelta=E=>{const k=E/1e3;P2(d.x,a.x,k),P2(d.y,a.y,k),this.setTargetDelta(d),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(Ya(f,this.layout.layoutBox,this.relativeParent.layout.layoutBox),DE(this.relativeTarget,this.relativeTargetOrigin,f,k),w&&yE(this.relativeTarget,w)&&(this.isProjectionDirty=!1),w||(w=Vt()),Vn(w,this.relativeTarget)),g&&(this.animationValues=u,dE(u,c,this.latestValues,k,x,v)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=k},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&&(ni(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=jt.update(()=>{Nl.hasAnimatedSinceResize=!0,this.currentAnimation=oE(0,k2,{...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(k2),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&&D2(this.options.animationType,this.layout.layoutBox,c.layoutBox)){l=this.target||Vt();const d=In(this.layout.layoutBox.x);l.x.min=a.target.x.min,l.x.max=l.x.min+d;const f=In(this.layout.layoutBox.y);l.y.min=a.target.y.min,l.y.max=l.y.min+f}Vn(s,l),_o(s,u),Ka(this.projectionDeltaWithTransform,this.layoutCorrected,s,u)}}registerSharedNode(a,s){this.sharedNodes.has(a)||this.sharedNodes.set(a,new vE),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&&Vd("z",a,c,this.animationValues);for(let u=0;u<Nd.length;u++)Vd(`rotate${Nd[u]}`,a,c,this.animationValues),Vd(`skew${Nd[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 xE;const c={visibility:""},u=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,c.opacity="",c.pointerEvents=Al(a==null?void 0:a.pointerEvents)||"",c.transform=u?u(this.latestValues,""):"none",c;const d=this.getLead();if(!this.projectionDelta||!this.layout||!d.target){const g={};return this.options.layoutId&&(g.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,g.pointerEvents=Al(a==null?void 0:a.pointerEvents)||""),this.hasProjected&&!ji(this.latestValues)&&(g.transform=u?u({},""):"none",this.hasProjected=!1),g}const f=d.animationValues||d.latestValues;this.applyTransformsToTarget(),c.transform=bE(this.projectionDeltaWithTransform,this.treeScale,f),u&&(c.transform=u(f,c.transform));const{x:p,y:m}=this.projectionDelta;c.transformOrigin=`${p.origin*100}% ${m.origin*100}% 0`,d.animationValues?c.opacity=d===this?(l=(s=f.opacity)!==null&&s!==void 0?s:this.latestValues.opacity)!==null&&l!==void 0?l:1:this.preserveOpacity?this.latestValues.opacity:f.opacityExit:c.opacity=d===this?f.opacity!==void 0?f.opacity:"":f.opacityExit!==void 0?f.opacityExit:0;for(const g in Il){if(f[g]===void 0)continue;const{correct:y,applyTo:v}=Il[g],x=c.transform==="none"?f[g]:y(f[g],d);if(v){const w=v.length;for(let E=0;E<w;E++)c[v[E]]=x}else c[g]=x}return this.options.layoutId&&(c.pointerEvents=d===this?Al(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(_2),this.root.sharedNodes.clear()}}}function wE(e){e.updateLayout()}function kE(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:i}=e.layout,{animationType:o}=e.options,a=n.source!==e.layout.source;o==="size"?Nn(d=>{const f=a?n.measuredBox[d]:n.layoutBox[d],p=In(f);f.min=r[d].min,f.max=f.min+p}):D2(o,n.layoutBox,r)&&Nn(d=>{const f=a?n.measuredBox[d]:n.layoutBox[d],p=In(r[d]);f.max=f.min+p,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[d].max=e.relativeTarget[d].min+p)});const s=So();Ka(s,r,n.layoutBox);const l=So();a?Ka(l,e.applyTransform(i,!0),n.measuredBox):Ka(l,r,n.layoutBox);const c=!y2(s);let u=!1;if(!e.resumeFrom){const d=e.getClosestProjectingParent();if(d&&!d.resumeFrom){const{snapshot:f,layout:p}=d;if(f&&p){const m=Vt();Ya(m,n.layoutBox,f.layoutBox);const g=Vt();Ya(g,r,p.layoutBox),x2(m,g)||(u=!0),d.options.layoutRoot&&(e.relativeTarget=g,e.relativeTargetOrigin=m,e.relativeParent=d)}}}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 SE(e){Ja&&Ii.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 TE(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function _E(e){e.clearSnapshot()}function _2(e){e.clearMeasurements()}function EE(e){e.isLayoutDirty=!1}function PE(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function E2(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function AE(e){e.resolveTargetDelta()}function jE(e){e.calcProjection()}function IE(e){e.resetSkewAndRotation()}function ME(e){e.removeLeadSnapshot()}function P2(e,t,n){e.translate=zt(t.translate,0,n),e.scale=zt(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function A2(e,t,n,r){e.min=zt(t.min,n.min,r),e.max=zt(t.max,n.max,r)}function DE(e,t,n,r){A2(e.x,t.x,n.x,r),A2(e.y,t.y,n.y,r)}function OE(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}const FE={duration:.45,ease:[.4,0,.1,1]},j2=e=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),I2=j2("applewebkit/")&&!j2("chrome/")?Math.round:Cn;function M2(e){e.min=I2(e.min),e.max=I2(e.max)}function zE(e){M2(e.x),M2(e.y)}function D2(e,t,n){return e==="position"||e==="preserve-aspect"&&!B_(C2(t),C2(n),.2)}function LE(e){var t;return e!==e.root&&((t=e.scroll)===null||t===void 0?void 0:t.wasRoot)}const $E=T2({attachResizeListener:(e,t)=>qa(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),Wd={current:void 0},O2=T2({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!Wd.current){const e=new $E({});e.mount(window),e.setOptions({layoutScroll:!0}),Wd.current=e}return Wd.current},resetTransform:(e,t)=>{e.style.transform=t!==void 0?t:"none"},checkIsScrollRoot:e=>window.getComputedStyle(e).position==="fixed"}),BE={pan:{Feature:tE},drag:{Feature:eE,ProjectionNode:O2,MeasureLayout:o2}};function F2(e,t,n){const{props:r}=e;e.animationState&&r.whileHover&&e.animationState.setActive("whileHover",n==="Start");const i="onHover"+n,o=r[i];o&&jt.postRender(()=>o(t,Ga(t)))}class RE extends oi{mount(){const{current:t}=this.node;t&&(this.unmount=RS(t,n=>(F2(this.node,n,"Start"),r=>F2(this.node,r,"End"))))}unmount(){}}class NE extends oi{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=Ua(qa(this.node.current,"focus",()=>this.onFocus()),qa(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}function z2(e,t,n){const{props:r}=e;e.animationState&&r.whileTap&&e.animationState.setActive("whileTap",n==="Start");const i="onTap"+(n==="End"?"":n),o=r[i];o&&jt.postRender(()=>o(t,Ga(t)))}class VE extends oi{mount(){const{current:t}=this.node;t&&(this.unmount=HS(t,n=>(z2(this.node,n,"Start"),(r,{success:i})=>z2(this.node,r,i?"End":"Cancel")),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}const Hd=new WeakMap,Ud=new WeakMap,WE=e=>{const t=Hd.get(e.target);t&&t(e)},HE=e=>{e.forEach(WE)};function UE({root:e,...t}){const n=e||document;Ud.has(n)||Ud.set(n,{});const r=Ud.get(n),i=JSON.stringify(t);return r[i]||(r[i]=new IntersectionObserver(HE,{root:e,...t})),r[i]}function qE(e,t,n){const r=UE(t);return Hd.set(e,n),r.observe(e),()=>{Hd.delete(e),r.unobserve(e)}}const GE={some:0,all:1};class ZE extends oi{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:t={}}=this.node.getProps(),{root:n,margin:r,amount:i="some",once:o}=t,a={root:n?n.current:void 0,rootMargin:r,threshold:typeof i=="number"?i:GE[i]},s=l=>{const{isIntersecting:c}=l;if(this.isInView===c||(this.isInView=c,o&&!c&&this.hasEnteredView))return;c&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",c);const{onViewportEnter:u,onViewportLeave:d}=this.node.getProps(),f=c?u:d;f&&f(l)};return qE(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(KE(t,n))&&this.startObserver()}unmount(){}}function KE({viewport:e={}},{viewport:t={}}={}){return n=>e[n]!==t[n]}const YE={inView:{Feature:ZE},tap:{Feature:VE},focus:{Feature:NE},hover:{Feature:RE}},XE={layout:{ProjectionNode:O2,MeasureLayout:o2}},qd={current:null},L2={current:!1};function JE(){if(L2.current=!0,!!Vu)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>qd.current=e.matches;e.addListener(t),t()}else qd.current=!1}const QE=[...u0,an,ii],eP=e=>QE.find(c0(e)),$2=new WeakMap;function tP(e,t,n){for(const r in t){const i=t[r],o=n[r];if(on(i))e.addValue(r,i),process.env.NODE_ENV==="development"&&Tl(i.version==="11.18.2",`Attempting to mix Motion versions ${i.version} with 11.18.2 may not work as expected.`);else if(on(o))e.addValue(r,Na(i,{owner:e}));else if(o!==i)if(e.hasValue(r)){const a=e.getValue(r);a.liveStyle===!0?a.jump(i):a.hasAnimated||a.set(i)}else{const a=e.getStaticValue(r);e.addValue(r,Na(a!==void 0?a:i,{owner:e}))}}for(const r in n)t[r]===void 0&&e.removeValue(r);return t}const B2=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class nP{scrapeMotionValuesFromProps(t,n,r){return{}}constructor({parent:t,props:n,presenceContext:r,reducedMotionConfig:i,blockInitialAnimation:o,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=_d,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 p=vr.now();this.renderScheduledAt<p&&(this.renderScheduledAt=p,jt.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=i,this.options=s,this.blockInitialAnimation=!!o,this.isControllingVariants=Pl(n),this.isVariantNode=rm(n),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);const{willChange:d,...f}=this.scrapeMotionValuesFromProps(n,{},this);for(const p in f){const m=f[p];l[p]!==void 0&&on(m)&&m.set(l[p],!1)}}mount(t){this.current=t,$2.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)),L2.current||JE(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:qd.current,process.env.NODE_ENV!=="production"&&Tl(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(){$2.delete(this.current),this.projection&&this.projection.unmount(),ni(this.notifyUpdate),ni(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=_i.has(t),i=n.on("change",s=>{this.latestValues[t]=s,this.props.onUpdate&&jt.preRender(this.notifyUpdate),r&&this.projection&&(this.projection.isTransformDirty=!0)}),o=n.on("renderRequest",this.scheduleRender);let a;window.MotionCheckAppearSync&&(a=window.MotionCheckAppearSync(this,t,n)),this.valueSubscriptions.set(t,()=>{i(),o(),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 vo){const n=vo[t];if(!n)continue;const{isEnabled:r,Feature:i}=n;if(!this.features[t]&&i&&r(this.props)&&(this.features[t]=new i(this)),this.features[t]){const o=this.features[t];o.isMounted?o.update():(o.mount(),o.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):Vt()}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<B2.length;r++){const i=B2[r];this.propEventSubscriptions[i]&&(this.propEventSubscriptions[i](),delete this.propEventSubscriptions[i]);const o="on"+i,a=t[o];a&&(this.propEventSubscriptions[i]=this.on(i,a))}this.prevMotionValues=tP(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=Na(n===null?void 0:n,{owner:this}),this.addValue(t,r)),r}readValue(t,n){var r;let i=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 i!=null&&(typeof i=="string"&&(s0(i)||Zm(i))?i=parseFloat(i):!eP(i)&&ii.test(n)&&(i=t0(t,n)),this.setBaseTarget(t,on(i)?i.get():i)),on(i)?i.get():i}setBaseTarget(t,n){this.baseTarget[t]=n}getBaseTarget(t){var n;const{initial:r}=this.props;let i;if(typeof r=="string"||typeof r=="object"){const a=Yu(this.props,r,(n=this.presenceContext)===null||n===void 0?void 0:n.custom);a&&(i=a[t])}if(r&&i!==void 0)return i;const o=this.getBaseTargetFromProps(this.props,t);return o!==void 0&&!on(o)?o:this.initialValues[t]!==void 0&&i===void 0?void 0:this.baseTarget[t]}on(t,n){return this.events[t]||(this.events[t]=new hd),this.events[t].add(n)}notify(t,...n){this.events[t]&&this.events[t].notify(...n)}}class R2 extends nP{constructor(){super(...arguments),this.KeyframeResolver=f0}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;on(t)&&(this.childSubscription=t.on("change",n=>{this.current&&(this.current.textContent=`${n}`)}))}}function rP(e){return window.getComputedStyle(e)}class iP extends R2{constructor(){super(...arguments),this.type="html",this.renderInstance=ym}readValueFromInstance(t,n){if(_i.has(n)){const r=kd(n);return r&&r.default||0}else{const r=rP(t),i=(dm(n)?r.getPropertyValue(n):r[n])||0;return typeof i=="string"?i.trim():i}}measureInstanceViewportBox(t,{transformPagePoint:n}){return t2(t,n)}build(t,n,r){ed(t,n,r.transformTemplate)}scrapeMotionValuesFromProps(t,n,r){return id(t,n,r)}}class oP extends R2{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=Vt}getBaseTargetFromProps(t,n){return t[n]}readValueFromInstance(t,n){if(_i.has(n)){const r=kd(n);return r&&r.default||0}return n=vm.has(n)?n:Gu(n),t.getAttribute(n)}scrapeMotionValuesFromProps(t,n,r){return Cm(t,n,r)}build(t,n,r){td(t,n,this.isSVGTag,r.transformTemplate)}renderInstance(t,n,r,i){bm(t,n,r,i)}mount(t){this.isSVGTag=rd(t.tagName),super.mount(t)}}const aP=(e,t)=>Ku(e)?new oP(t):new iP(t,{allowProjection:e!==b.Fragment}),sP=DS({...j_,...YE,...BE,...XE},aP),br=Kk(sP),lP=(e,t)=>e.find(n=>n.id===t);function N2(e,t){const n=V2(e,t),r=n?e[n].findIndex(i=>i.id===t):-1;return{position:n,index:r}}function V2(e,t){for(const[n,r]of Object.entries(e))if(lP(r,t))return n}function cP(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 uP(e){const n=e==="top"||e==="bottom"?"0 auto":void 0,r=e.includes("top")?"env(safe-area-inset-top, 0px)":void 0,i=e.includes("bottom")?"env(safe-area-inset-bottom, 0px)":void 0,o=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:i,right:o,left:a}}var dP=/^((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)-.*))$/,fP=_h(function(e){return dP.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91}),pP=fP,hP=function(t){return t!=="theme"},W2=function(t){return typeof t=="string"&&t.charCodeAt(0)>96?pP:hP},H2=function(t,n,r){var i;if(n){var o=n.shouldForwardProp;i=t.__emotion_forwardProp&&o?function(a){return t.__emotion_forwardProp(a)&&o(a)}:o}return typeof i!="function"&&r&&(i=t.__emotion_forwardProp),i},mP=function(t){var n=t.cache,r=t.serialized,i=t.isStringTag;return Au(n,r,i),Bh(function(){return ju(n,r,i)}),null},gP=function e(t,n){var r=t.__emotion_real===t,i=r&&t.__emotion_base||t,o,a;n!==void 0&&(o=n.label,a=n.target);var s=H2(t,n,r),l=s||W2(i),c=!l("as");return function(){var u=arguments,d=r&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(o!==void 0&&d.push("label:"+o+";"),u[0]==null||u[0].raw===void 0)d.push.apply(d,u);else{var f=u[0];d.push(f[0]);for(var p=u.length,m=1;m<p;m++)d.push(u[m],f[m])}var g=Du(function(y,v,x){var w=c&&y.as||i,E="",k=[],T=y;if(y.theme==null){T={};for(var I in y)T[I]=y[I];T.theme=Se.useContext(mo)}typeof y.className=="string"?E=Dh(v.registered,k,y.className):y.className!=null&&(E=y.className+" ");var D=bl(d.concat(k),v.registered,T);E+=v.key+"-"+D.name,a!==void 0&&(E+=" "+a);var $=c&&s===void 0?W2(w):l,P={};for(var W in y)c&&W==="as"||$(W)&&(P[W]=y[W]);return P.className=E,x&&(P.ref=x),Se.createElement(Se.Fragment,null,Se.createElement(mP,{cache:v,serialized:D,isStringTag:typeof w=="string"}),Se.createElement(w,P))});return g.displayName=o!==void 0?o:"Styled("+(typeof i=="string"?i:i.displayName||i.name||"Component")+")",g.defaultProps=t.defaultProps,g.__emotion_real=g,g.__emotion_base=i,g.__emotion_styles=d,g.__emotion_forwardProp=s,Object.defineProperty(g,"toString",{value:function(){return"."+a}}),g.withComponent=function(y,v){var x=e(y,Si({},n,v,{shouldForwardProp:H2(g,v,!0)}));return x.apply(void 0,d)},g}},yP=["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"],Gd=gP.bind(null);yP.forEach(function(e){Gd[e]=Gd(e)});const vP=new Set([...l6,"textStyle","layerStyle","apply","noOfLines","focusBorderColor","errorBorderColor","as","__css","css","sx"]),bP=new Set(["htmlWidth","htmlHeight","htmlSize","htmlTranslate"]);function xP(e){return(bP.has(e)||!vP.has(e))&&e[0]!=="_"}const CP=db(Gd),wP=({baseStyle:e})=>t=>{const{theme:n,css:r,__css:i,sx:o,...a}=t,[s]=vb(a,u6),l=Pn(e,t),c=eb({},i,l,da(s),o),u=R1(c)(t.theme);return r?[u,r]:u};function Zd(e,t){const{baseStyle:n,...r}=t??{};r.shouldForwardProp||(r.shouldForwardProp=xP);const i=wP({baseStyle:n}),o=CP(e,r)(i);return b.forwardRef(function(l,c){const{children:u,...d}=l,{colorMode:f,forced:p}=Lu(),m=p?f:void 0;return b.createElement(o,{ref:c,"data-theme":m,...d},u)})}function kP(){const e=new Map;return new Proxy(Zd,{apply(t,n,r){return Zd(...r)},get(t,n){return e.has(n)||e.set(n,Zd(n)),e.get(n)}})}const fe=kP(),SP={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]}}},U2=b.memo(e=>{const{id:t,message:n,onCloseComplete:r,onRequestRemove:i,requestClose:o=!1,position:a="bottom",duration:s=5e3,containerStyle:l,motionVariants:c=SP,toastSpacing:u="0.5rem"}=e,[d,f]=b.useState(s),p=Rk();Xi(()=>{p||r==null||r()},[p]),Xi(()=>{f(s)},[s]);const m=()=>f(null),g=()=>f(s),y=()=>{p&&i()};b.useEffect(()=>{p&&o&&i()},[p,o,i]),Pb(y,d);const v=b.useMemo(()=>({pointerEvents:"auto",maxWidth:560,minWidth:300,margin:u,...l}),[l,u]),x=b.useMemo(()=>cP(a),[a]);return h.jsx(br.div,{layout:!0,className:"chakra-toast",variants:c,initial:"initial",animate:"animate",exit:"exit",onHoverStart:m,onHoverEnd:g,custom:{position:a},style:x,children:h.jsx(fe.div,{role:"status","aria-atomic":"true",className:"chakra-toast__inner",__css:v,children:Pn(n,{id:t,onClose:y})})})});U2.displayName="ToastComponent";function Ce(e){return b.forwardRef(e)}var TP=typeof Element<"u",_P=typeof Map=="function",EP=typeof Set=="function",PP=typeof ArrayBuffer=="function"&&!!ArrayBuffer.isView;function Vl(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,i;if(Array.isArray(e)){if(n=e.length,n!=t.length)return!1;for(r=n;r--!==0;)if(!Vl(e[r],t[r]))return!1;return!0}var o;if(_P&&e instanceof Map&&t instanceof Map){if(e.size!==t.size)return!1;for(o=e.entries();!(r=o.next()).done;)if(!t.has(r.value[0]))return!1;for(o=e.entries();!(r=o.next()).done;)if(!Vl(r.value[1],t.get(r.value[0])))return!1;return!0}if(EP&&e instanceof Set&&t instanceof Set){if(e.size!==t.size)return!1;for(o=e.entries();!(r=o.next()).done;)if(!t.has(r.value[0]))return!1;return!0}if(PP&&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(i=Object.keys(e),n=i.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!Object.prototype.hasOwnProperty.call(t,i[r]))return!1;if(TP&&e instanceof Element)return!1;for(r=n;r--!==0;)if(!((i[r]==="_owner"||i[r]==="__v"||i[r]==="__o")&&e.$$typeof)&&!Vl(e[i[r]],t[i[r]]))return!1;return!0}return e!==e&&t!==t}var AP=function(t,n){try{return Vl(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 jP=sa(AP);function Qa(){const e=b.useContext(mo);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=Lu(),t=Qa();return{...e,theme:t}}function IP(e,t,n){if(t==null)return t;const r=i=>{var o,a;return(a=(o=e.__cssMap)==null?void 0:o[i])==null?void 0:a.value};return r(t)??r(n)??n}function Wl(e,t,n){const r=Qa();return MP(e,t,n)(r)}function MP(e,t,n){const r=Array.isArray(t)?t:[t],i=Array.isArray(n)?n:[n];return o=>{const a=i.filter(Boolean),s=r.map((l,c)=>{const u=`${e}.${l}`;return IP(o,u,a[c]??l)});return Array.isArray(t)?s:s[0]}}function G2(e,t={}){const{styleConfig:n,...r}=t,{theme:i,colorMode:o}=q2(),a=e?P1(i,`components.${e}`):void 0,s=n||a,l=$n({theme:i,colorMode:o},(s==null?void 0:s.defaultProps)??{},da(Yi(r,["children"])),(u,d)=>u?void 0:d),c=b.useRef({});if(s){const d=C6(s)(l);jP(c.current,d)||(c.current=d)}return c.current}function xr(e,t={}){return G2(e,t)}function pn(e,t={}){return G2(e,t)}const Z2={path:h.jsxs("g",{stroke:"currentColor",strokeWidth:"1.5",children:[h.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"}),h.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"}),h.jsx("circle",{fill:"none",strokeMiterlimit:"10",cx:"12",cy:"12",r:"11.25"})]}),viewBox:"0 0 24 24"},sn=Ce((e,t)=>{const{as:n,viewBox:r,color:i="currentColor",focusable:o=!1,children:a,className:s,__css:l,...c}=e,u=Ie("chakra-icon",s),d=xr("Icon",e),f={w:"1em",h:"1em",display:"inline-block",lineHeight:"1em",flexShrink:0,color:i,...l,...d},p={ref:t,focusable:o,className:u,__css:f},m=r??Z2.viewBox;if(n&&typeof n!="string")return h.jsx(fe.svg,{as:n,...p,...c});const g=a??Z2.path;return h.jsx(fe.svg,{verticalAlign:"middle",viewBox:m,...p,...c,children:g})});sn.displayName="Icon";function DP(e){return h.jsx(sn,{viewBox:"0 0 24 24",...e,children:h.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 OP(e){return h.jsx(sn,{viewBox:"0 0 24 24",...e,children:h.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 K2(e){return h.jsx(sn,{viewBox:"0 0 24 24",...e,children:h.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 FP=Rr({"0%":{transform:"rotate(0deg)"},"100%":{transform:"rotate(360deg)"}}),Kd=Ce((e,t)=>{const n=xr("Spinner",e),{label:r="Loading...",thickness:i="2px",speed:o="0.45s",emptyColor:a="transparent",className:s,...l}=Ft(e),c=Ie("chakra-spinner",s),u={display:"inline-block",borderColor:"currentColor",borderStyle:"solid",borderRadius:"99999px",borderWidth:i,borderBottomColor:a,borderLeftColor:a,animation:`${FP} ${o} linear infinite`,...n};return h.jsx(fe.div,{ref:t,__css:u,className:c,...l,children:r&&h.jsx(fe.span,{srOnly:!0,children:r})})});Kd.displayName="Spinner";const[zP,Yd]=St({name:"AlertContext",hookName:"useAlertContext",providerName:"<Alert />"}),[LP,Xd]=St({name:"AlertStylesContext",hookName:"useAlertStyles",providerName:"<Alert />"}),Y2={info:{icon:OP,colorScheme:"blue"},warning:{icon:K2,colorScheme:"orange"},success:{icon:DP,colorScheme:"green"},error:{icon:K2,colorScheme:"red"},loading:{icon:Kd,colorScheme:"blue"}};function $P(e){return Y2[e].colorScheme}function BP(e){return Y2[e].icon}const X2=Ce(function(t,n){const{status:r="info",addRole:i=!0,...o}=Ft(t),a=t.colorScheme??$P(r),s=pn("Alert",{...t,colorScheme:a}),l={width:"100%",display:"flex",alignItems:"center",position:"relative",overflow:"hidden",...s.container};return h.jsx(zP,{value:{status:r},children:h.jsx(LP,{value:s,children:h.jsx(fe.div,{"data-status":r,role:i?"alert":void 0,ref:n,...o,className:Ie("chakra-alert",t.className),__css:l})})})});X2.displayName="Alert";function J2(e){const{status:t}=Yd(),n=BP(t),r=Xd(),i=t==="loading"?r.spinner:r.icon;return h.jsx(fe.span,{display:"inherit","data-status":t,...e,className:Ie("chakra-alert__icon",e.className),__css:i,children:e.children||h.jsx(n,{h:"100%",w:"100%"})})}J2.displayName="AlertIcon";const Q2=Ce(function(t,n){const r=Xd(),{status:i}=Yd();return h.jsx(fe.div,{ref:n,"data-status":i,...t,className:Ie("chakra-alert__title",t.className),__css:r.title})});Q2.displayName="AlertTitle";const eg=Ce(function(t,n){const{status:r}=Yd(),i=Xd(),o={display:"inline",...i.description};return h.jsx(fe.div,{ref:n,"data-status":r,...t,className:Ie("chakra-alert__desc",t.className),__css:o})});eg.displayName="AlertDescription";function RP(e){return h.jsx(sn,{focusable:"false","aria-hidden":!0,...e,children:h.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 Jd=Ce(function(t,n){const r=xr("CloseButton",t),{children:i,isDisabled:o,__css:a,...s}=Ft(t),l={outline:0,display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0};return h.jsx(fe.button,{type:"button","aria-label":"Close",ref:n,disabled:o,__css:{...l,...r,...a},...s,children:i||h.jsx(RP,{width:"1em",height:"1em"})})});Jd.displayName="CloseButton";const NP=e=>{const{status:t,variant:n="solid",id:r,title:i,isClosable:o,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 h.jsxs(X2,{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:[h.jsx(J2,{children:c}),h.jsxs(fe.div,{flex:"1",maxWidth:"100%",children:[i&&h.jsx(Q2,{id:u==null?void 0:u.title,children:i}),s&&h.jsx(eg,{id:u==null?void 0:u.description,display:"block",children:s})]}),o&&h.jsx(Jd,{size:"sm",onClick:a,position:"absolute",insetEnd:1,top:1})]})};function tg(e={}){const{render:t,toastComponent:n=NP}=e;return i=>typeof t=="function"?t({...i,...e}):h.jsx(n,{...i,...e})}const Cr=VP({top:[],"top-left":[],"top-right":[],"bottom-left":[],bottom:[],"bottom-right":[]});function VP(e){let t=e;const n=new Set,r=i=>{t=i(t),n.forEach(o=>o())};return{getState:()=>t,subscribe:i=>(n.add(i),()=>{r(()=>e),n.delete(i)}),removeToast:(i,o)=>{r(a=>({...a,[o]:a[o].filter(s=>s.id!=i)}))},notify:(i,o)=>{const a=WP(i,o),{position:s,id:l}=a;return r(c=>{const d=s.includes("top")?[a,...c[s]??[]]:[...c[s]??[],a];return{...c,[s]:d}}),l},update:(i,o)=>{i&&r(a=>{const s={...a},{position:l,index:c}=N2(s,i);return l&&c!==-1&&(s[l][c]={...s[l][c],...o,message:tg(o)}),s})},closeAll:({positions:i}={})=>{r(o=>(i??["bottom","bottom-right","bottom-left","top","top-left","top-right"]).reduce((l,c)=>(l[c]=o[c].map(u=>({...u,requestClose:!0})),l),{...o}))},close:i=>{r(o=>{const a=V2(o,i);return a?{...o,[a]:o[a].map(s=>s.id==i?{...s,requestClose:!0}:s)}:o})},isActive:i=>!!N2(Cr.getState(),i).position}}let ng=0;function WP(e,t={}){ng+=1;const n=t.id??ng,r=t.position??"bottom";return{id:n,message:e,position:r,duration:t.duration,onCloseComplete:t.onCloseComplete,onRequestRemove:()=>Cr.removeToast(String(n),r),status:t.status,requestClose:!1,containerStyle:t.containerStyle}}const[rg,HP]=St({strict:!1,name:"PortalContext"}),Qd="chakra-portal",UP=".chakra-portal",qP=e=>h.jsx("div",{className:"chakra-portal-zIndex",style:{position:"absolute",zIndex:e.zIndex,top:0,left:0,right:0},children:e.children}),GP=e=>{const{appendToParentPortal:t,children:n}=e,[r,i]=b.useState(null),o=b.useRef(null),[,a]=b.useState({});b.useEffect(()=>a({}),[]);const s=HP(),l=Ok();yi(()=>{if(!r)return;const u=r.ownerDocument,d=t?s??u.body:u.body;if(!d)return;o.current=u.createElement("div"),o.current.className=Qd,d.appendChild(o.current),a({});const f=o.current;return()=>{d.contains(f)&&d.removeChild(f)}},[r]);const c=l!=null&&l.zIndex?h.jsx(qP,{zIndex:l==null?void 0:l.zIndex,children:n}):n;return o.current?g1.createPortal(h.jsx(rg,{value:o.current,children:c}),o.current):h.jsx("span",{ref:u=>{u&&i(u)}})},ZP=e=>{const{children:t,containerRef:n,appendToParentPortal:r}=e,i=n.current,o=i??(typeof window<"u"?document.body:void 0),a=b.useMemo(()=>{const l=i==null?void 0:i.ownerDocument.createElement("div");return l&&(l.className=Qd),l},[i]),[,s]=b.useState({});return yi(()=>s({}),[]),yi(()=>{if(!(!a||!o))return o.appendChild(a),()=>{o.removeChild(a)}},[a,o]),o&&a?g1.createPortal(h.jsx(rg,{value:r?a:null,children:t}),a):null};function Eo(e){const t={appendToParentPortal:!0,...e},{containerRef:n,...r}=t;return n?h.jsx(ZP,{containerRef:n,...r}):h.jsx(GP,{...r})}Eo.className=Qd,Eo.selector=UP,Eo.displayName="Portal";const[KP,YP]=St({name:"ToastOptionsContext",strict:!1}),XP=e=>{const t=b.useSyncExternalStore(Cr.subscribe,Cr.getState,Cr.getState),{motionVariants:n,component:r=U2,portalProps:i,animatePresenceProps:o}=e,s=Object.keys(t).map(l=>{const c=t[l];return h.jsx("div",{role:"region","aria-live":"polite","aria-label":`Notifications-${l}`,id:`chakra-toast-manager-${l}`,style:uP(l),children:h.jsx(Ti,{...o,initial:!1,children:c.map(u=>h.jsx(r,{motionVariants:n,...u},u.id))})},l)});return h.jsx(Eo,{...i,children:s})},JP=(e=>function({children:n,theme:r=e,toastOptions:i,...o}){return h.jsxs(Fk,{theme:r,...o,children:[h.jsx(KP,{value:i==null?void 0:i.defaultOptions,children:n}),h.jsx(XP,{...i})]})})(gh);function ig(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 QP=e=>typeof e=="object"&&"nodeType"in e&&e.nodeType===Node.ELEMENT_NODE;function og(e,t,n){let r=e+1;return n&&r>=t&&(r=0),r}function ag(e,t,n){let r=e-1;return n&&r<0&&(r=t),r}const ef=typeof window<"u"?b.useLayoutEffect:b.useEffect,sg=e=>e;var eA=Object.defineProperty,tA=(e,t,n)=>t in e?eA(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Bt=(e,t,n)=>(tA(e,typeof t!="symbol"?t+"":t,n),n);class nA{constructor(){Bt(this,"descendants",new Map),Bt(this,"register",t=>{if(t!=null)return QP(t)?this.registerNode(t):n=>{this.registerNode(n,t)}}),Bt(this,"unregister",t=>{this.descendants.delete(t);const n=ig(Array.from(this.descendants.keys()));this.assignIndex(n)}),Bt(this,"destroy",()=>{this.descendants.clear()}),Bt(this,"assignIndex",t=>{this.descendants.forEach(n=>{const r=t.indexOf(n.node);n.index=r,n.node.dataset.index=n.index.toString()})}),Bt(this,"count",()=>this.descendants.size),Bt(this,"enabledCount",()=>this.enabledValues().length),Bt(this,"values",()=>Array.from(this.descendants.values()).sort((n,r)=>n.index-r.index)),Bt(this,"enabledValues",()=>this.values().filter(t=>!t.disabled)),Bt(this,"item",t=>{if(this.count()!==0)return this.values()[t]}),Bt(this,"enabledItem",t=>{if(this.enabledCount()!==0)return this.enabledValues()[t]}),Bt(this,"first",()=>this.item(0)),Bt(this,"firstEnabled",()=>this.enabledItem(0)),Bt(this,"last",()=>this.item(this.descendants.size-1)),Bt(this,"lastEnabled",()=>{const t=this.enabledValues().length-1;return this.enabledItem(t)}),Bt(this,"indexOf",t=>{var n;return t?((n=this.descendants.get(t))==null?void 0:n.index)??-1:-1}),Bt(this,"enabledIndexOf",t=>t==null?-1:this.enabledValues().findIndex(n=>n.node.isSameNode(t))),Bt(this,"next",(t,n=!0)=>{const r=og(t,this.count(),n);return this.item(r)}),Bt(this,"nextEnabled",(t,n=!0)=>{const r=this.item(t);if(!r)return;const i=this.enabledIndexOf(r.node),o=og(i,this.enabledCount(),n);return this.enabledItem(o)}),Bt(this,"prev",(t,n=!0)=>{const r=ag(t,this.count()-1,n);return this.item(r)}),Bt(this,"prevEnabled",(t,n=!0)=>{const r=this.item(t);if(!r)return;const i=this.enabledIndexOf(r.node),o=ag(i,this.enabledCount()-1,n);return this.enabledItem(o)}),Bt(this,"registerNode",(t,n)=>{if(!t||this.descendants.has(t))return;const r=Array.from(this.descendants.keys()).concat(t),i=ig(r);n!=null&&n.disabled&&(n.disabled=!!n.disabled);const o={node:t,index:-1,...n};this.descendants.set(t,o),this.assignIndex(i)})}}function tf(){const[e,t]=St({name:"DescendantsProvider",errorMessage:"useDescendantsContext must be used within DescendantsProvider"});return[e,t,()=>{const i=b.useRef(new nA);return ef(()=>()=>i.current.destroy()),i.current},i=>{const o=t(),[a,s]=b.useState(-1),l=b.useRef(null);ef(()=>()=>{l.current&&o.unregister(l.current)},[]),ef(()=>{if(!l.current)return;const u=Number(l.current.dataset.index);a!=u&&!Number.isNaN(u)&&s(u)});const c=sg(i?o.register(i):o.register);return{descendants:o,index:a,enabledIndex:o.enabledIndexOf(l.current),register:Jt(c,l)}}]}const[rA,Hl]=St({name:"AccordionStylesContext",hookName:"useAccordionStyles",providerName:"<Accordion />"}),[iA,nf]=St({name:"AccordionItemContext",hookName:"useAccordionItemContext",providerName:"<AccordionItem />"}),[oA,UH,aA,sA]=tf();function lA(e){const{onChange:t,defaultIndex:n,index:r,allowMultiple:i,allowToggle:o,...a}=e;dA(e),fA(e);const s=aA(),[l,c]=b.useState(-1);b.useEffect(()=>()=>{c(-1)},[]);const[u,d]=M1({value:r,defaultValue(){return i?n??[]:n??-1},onChange:t});return{index:u,setIndex:d,htmlProps:a,getAccordionItemProps:p=>{let m=!1;return p!==null&&(m=Array.isArray(u)?u.includes(p):u===p),{isOpen:m,onChange:y=>{if(p!==null)if(i&&Array.isArray(u)){const v=y?u.concat(p):u.filter(x=>x!==p);d(v)}else y?d(p):o&&d(-1)}}},focusedIndex:l,setFocusedIndex:c,descendants:s}}const[cA,rf]=St({name:"AccordionContext",hookName:"useAccordionContext",providerName:"Accordion"});function uA(e){const{isDisabled:t,isFocusable:n,id:r,...i}=e,{getAccordionItemProps:o,setFocusedIndex:a}=rf(),s=b.useRef(null),l=b.useId(),c=r??l,u=`accordion-button-${c}`,d=`accordion-panel-${c}`;pA(e);const{register:f,index:p,descendants:m}=sA({disabled:t&&!n}),{isOpen:g,onChange:y}=o(p===-1?null:p);hA({isOpen:g,isDisabled:t});const v=()=>{y==null||y(!0)},x=()=>{y==null||y(!1)},w=b.useCallback(()=>{y==null||y(!g),a(p)},[p,a,g,y]),E=b.useCallback(D=>{const P={ArrowDown:()=>{const W=m.nextEnabled(p);W==null||W.node.focus()},ArrowUp:()=>{const W=m.prevEnabled(p);W==null||W.node.focus()},Home:()=>{const W=m.firstEnabled();W==null||W.node.focus()},End:()=>{const W=m.lastEnabled();W==null||W.node.focus()}}[D.key];P&&(D.preventDefault(),P(D))},[m,p]),k=b.useCallback(()=>{a(p)},[a,p]),T=b.useCallback(function($={},P=null){return{...$,type:"button",ref:Jt(f,s,P),id:u,disabled:!!t,"aria-expanded":!!g,"aria-controls":d,onClick:tt($.onClick,w),onFocus:tt($.onFocus,k),onKeyDown:tt($.onKeyDown,E)}},[u,t,g,w,k,E,d,f]),I=b.useCallback(function($={},P=null){return{...$,ref:P,role:"region",id:d,"aria-labelledby":u,hidden:!g}},[u,g,d]);return{isOpen:g,isDisabled:t,isFocusable:n,onOpen:v,onClose:x,getButtonProps:T,getPanelProps:I,htmlProps:i}}function dA(e){const t=e.index||e.defaultIndex,n=t!=null&&!Array.isArray(t)&&e.allowMultiple;fa({condition:!!n,message:`If 'allowMultiple' is passed, then 'index' or 'defaultIndex' must be an array. You passed: ${typeof t},`})}function fA(e){fa({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 pA(e){fa({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 hA(e){fa({condition:e.isOpen&&!!e.isDisabled,message:"Cannot open a disabled accordion item"})}const lg=Ce(function({children:t,reduceMotion:n,...r},i){const o=pn("Accordion",r),a=Ft(r),{htmlProps:s,descendants:l,...c}=lA(a),u=b.useMemo(()=>({...c,reduceMotion:!!n}),[c,n]);return h.jsx(oA,{value:l,children:h.jsx(cA,{value:u,children:h.jsx(rA,{value:o,children:h.jsx(fe.div,{ref:i,...s,className:Ie("chakra-accordion",r.className),__css:o.root,children:t})})})})});lg.displayName="Accordion";const cg=Ce(function(t,n){const{getButtonProps:r}=nf(),i=r(t,n),a={display:"flex",alignItems:"center",width:"100%",outline:0,...Hl().button};return h.jsx(fe.button,{...i,className:Ie("chakra-accordion__button",t.className),__css:a})});cg.displayName="AccordionButton";function ug(e){const{isOpen:t,isDisabled:n}=nf(),{reduceMotion:r}=rf(),i=Ie("chakra-accordion__icon",e.className),o=Hl(),a={opacity:n?.4:1,transform:t?"rotate(-180deg)":void 0,transition:r?void 0:"transform 0.2s",transformOrigin:"center",...o.icon};return h.jsx(sn,{viewBox:"0 0 24 24","aria-hidden":!0,className:i,__css:a,...e,children:h.jsx("path",{fill:"currentColor",d:"M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6z"})})}ug.displayName="AccordionIcon";const dg=Ce(function(t,n){const{children:r,className:i}=t,{htmlProps:o,...a}=uA(t),s=Hl(),l={...s.container,overflowAnchor:"none"},c=b.useMemo(()=>a,[a]);return h.jsx(iA,{value:c,children:h.jsx(fe.div,{ref:n,...o,className:Ie("chakra-accordion__item",i),__css:l,children:typeof r=="function"?r({isExpanded:!!a.isOpen,isDisabled:!!a.isDisabled}):r})})});dg.displayName="AccordionItem";const Po={ease:[.25,.1,.25,1],easeIn:[.4,0,1,1],easeOut:[0,0,.2,1]},Mi={enter:{duration:.2,ease:Po.easeOut},exit:{duration:.1,ease:Po.easeIn}},Wr={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})},mA=e=>e!=null&&parseInt(e.toString(),10)>0,fg={exit:{height:{duration:.2,ease:Po.ease},opacity:{duration:.3,ease:Po.ease}},enter:{height:{duration:.3,ease:Po.ease},opacity:{duration:.4,ease:Po.ease}}},gA={exit:({animateOpacity:e,startingHeight:t,transition:n,transitionEnd:r,delay:i})=>({...e&&{opacity:mA(t)?1:0},height:t,transitionEnd:r==null?void 0:r.exit,transition:(n==null?void 0:n.exit)??Wr.exit(fg.exit,i)}),enter:({animateOpacity:e,endingHeight:t,transition:n,transitionEnd:r,delay:i})=>({...e&&{opacity:1},height:t,transitionEnd:r==null?void 0:r.enter,transition:(n==null?void 0:n.enter)??Wr.enter(fg.enter,i)})},pg=b.forwardRef((e,t)=>{const{in:n,unmountOnExit:r,animateOpacity:i=!0,startingHeight:o=0,endingHeight:a="auto",style:s,className:l,transition:c,transitionEnd:u,animatePresenceProps:d,...f}=e,[p,m]=b.useState(!1);b.useEffect(()=>{const w=setTimeout(()=>{m(!0)});return()=>clearTimeout(w)},[]),fa({condition:Number(o)>0&&!!r,message:"startingHeight and unmountOnExit are mutually exclusive. You can't use them together"});const g=parseFloat(o.toString())>0,y={startingHeight:o,endingHeight:a,animateOpacity:i,transition:p?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:g?"block":"none"}}},v=r?n:!0,x=n||r?"enter":"exit";return h.jsx(Ti,{...d,initial:!1,custom:y,children:v&&h.jsx(br.div,{ref:t,...f,className:Ie("chakra-collapse",l),style:{overflow:"hidden",display:"block",...s},custom:y,variants:gA,initial:r?"exit":!1,animate:x,exit:"exit"})})});pg.displayName="Collapse";const hg=Ce(function(t,n){const{className:r,motionProps:i,...o}=t,{reduceMotion:a}=rf(),{getPanelProps:s,isOpen:l}=nf(),c=s(o,n),u=Ie("chakra-accordion__panel",r),d=Hl();a||delete c.hidden;const f=h.jsx(fe.div,{...c,__css:d.panel,className:u});return a?f:h.jsx(pg,{in:l,...i,children:f})});hg.displayName="AccordionPanel";const[yA,vA]=St({name:"AvatarStylesContext",hookName:"useAvatarStyles",providerName:"<Avatar/>"});function bA(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 mg(e){const{name:t,getInitials:n,...r}=e,i=vA();return h.jsx(fe.div,{role:"img","aria-label":t,...r,__css:i.label,children:t?n==null?void 0:n(t):null})}mg.displayName="AvatarName";const gg=e=>h.jsxs(fe.svg,{viewBox:"0 0 128 128",color:"#fff",width:"100%",height:"100%",className:"chakra-avatar__svg",...e,children:[h.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"}),h.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 yg(e){const{loading:t,src:n,srcSet:r,onLoad:i,onError:o,crossOrigin:a,sizes:s,ignoreFallback:l}=e,[c,u]=b.useState("pending");b.useEffect(()=>{u(n?"loading":"pending")},[n]);const d=b.useRef(null),f=b.useCallback(()=>{if(!n)return;p();const m=new Image;m.src=n,a&&(m.crossOrigin=a),r&&(m.srcset=r),s&&(m.sizes=s),t&&(m.loading=t),m.onload=g=>{p(),u("loaded"),i==null||i(g)},m.onerror=g=>{p(),u("failed"),o==null||o(g)},d.current=m},[n,a,r,s,i,o,t]),p=()=>{d.current&&(d.current.onload=null,d.current.onerror=null,d.current=null)};return yi(()=>{if(!l)return c==="loading"&&f(),()=>{p()}},[c,f,l]),l?"loaded":c}const xA=(e,t)=>e!=="loaded"&&t==="beforeLoadOrError"||e==="failed"&&t==="onError";function vg(e){const{src:t,srcSet:n,onError:r,onLoad:i,getInitials:o,name:a,borderRadius:s,loading:l,iconLabel:c,icon:u=h.jsx(gg,{}),ignoreFallback:d,referrerPolicy:f,crossOrigin:p}=e,g=yg({src:t,onError:r,crossOrigin:p,ignoreFallback:d})==="loaded";return!t||!g?a?h.jsx(mg,{className:"chakra-avatar__initials",getInitials:o,name:a}):b.cloneElement(u,{role:"img","aria-label":c}):h.jsx(fe.img,{src:t,srcSet:n,alt:a??c,onLoad:i,referrerPolicy:f,crossOrigin:p??void 0,className:"chakra-avatar__img",loading:l,__css:{width:"100%",height:"100%",objectFit:"cover",borderRadius:s}})}vg.displayName="AvatarImage";const CA={display:"inline-flex",alignItems:"center",justifyContent:"center",textAlign:"center",textTransform:"uppercase",fontWeight:"medium",position:"relative",flexShrink:0},bg=Ce((e,t)=>{const n=pn("Avatar",e),[r,i]=b.useState(!1),{src:o,srcSet:a,name:s,showBorder:l,borderRadius:c="full",onError:u,onLoad:d,getInitials:f=bA,icon:p=h.jsx(gg,{}),iconLabel:m=" avatar",loading:g,children:y,borderColor:v,ignoreFallback:x,crossOrigin:w,referrerPolicy:E,...k}=Ft(e),T={borderRadius:c,borderWidth:l?"2px":void 0,...CA,...n.container};return v&&(T.borderColor=v),h.jsx(fe.span,{ref:t,...k,className:Ie("chakra-avatar",e.className),"data-loaded":Ue(r),__css:T,children:h.jsxs(yA,{value:n,children:[h.jsx(vg,{src:o,srcSet:a,loading:g,onLoad:tt(d,()=>{i(!0)}),onError:u,getInitials:f,name:s,borderRadius:c,icon:p,iconLabel:m,ignoreFallback:x,crossOrigin:w,referrerPolicy:E}),y]})})});bg.displayName="Avatar";const Ke=fe("div");Ke.displayName="Box";const xg=Ce(function(t,n){const{size:r,centerContent:i=!0,...o}=t,a=i?{display:"flex",alignItems:"center",justifyContent:"center"}:{};return h.jsx(Ke,{ref:n,boxSize:r,__css:{...a,flexShrink:0,flexGrow:0},...o})});xg.displayName="Square";const Cg=Ce(function(t,n){const{size:r,...i}=t;return h.jsx(xg,{size:r,ref:n,borderRadius:"9999px",...i})});Cg.displayName="Circle";const[wA,kA]=St({strict:!1,name:"ButtonGroupContext"});function es(e){const{children:t,className:n,...r}=e,i=b.isValidElement(t)?b.cloneElement(t,{"aria-hidden":!0,focusable:!1}):t,o=Ie("chakra-button__icon",n);return h.jsx(fe.span,{display:"inline-flex",alignSelf:"center",flexShrink:0,...r,className:o,children:i})}es.displayName="ButtonIcon";function of(e){const{label:t,placement:n,spacing:r="0.5rem",children:i=h.jsx(Kd,{color:"currentColor",width:"1em",height:"1em"}),className:o,__css:a,...s}=e,l=Ie("chakra-button__spinner",o),c=n==="start"?"marginEnd":"marginStart",u=b.useMemo(()=>({display:"flex",alignItems:"center",position:t?"relative":"absolute",[c]:t?r:0,fontSize:"1em",lineHeight:"normal",...a}),[a,t,c,r]);return h.jsx(fe.div,{className:l,...s,__css:u,children:i})}of.displayName="ButtonSpinner";function SA(e){const[t,n]=b.useState(!e);return{ref:b.useCallback(o=>{o&&n(o.tagName==="BUTTON")},[]),type:t?"button":void 0}}const hn=Ce((e,t)=>{const n=kA(),r=xr("Button",{...n,...e}),{isDisabled:i=n==null?void 0:n.isDisabled,isLoading:o,isActive:a,children:s,leftIcon:l,rightIcon:c,loadingText:u,iconSpacing:d="0.5rem",type:f,spinner:p,spinnerPlacement:m="start",className:g,as:y,shouldWrapChildren:v,...x}=Ft(e),w=b.useMemo(()=>{const I={...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:I}}},[r,n]),{ref:E,type:k}=SA(y),T={rightIcon:c,leftIcon:l,iconSpacing:d,children:s,shouldWrapChildren:v};return h.jsxs(fe.button,{disabled:i||o,ref:_b(t,E),as:y,type:f??k,"data-active":Ue(a),"data-loading":Ue(o),__css:w,className:Ie("chakra-button",g),...x,children:[o&&m==="start"&&h.jsx(of,{className:"chakra-button__spinner--start",label:u,placement:"start",spacing:d,children:p}),o?u||h.jsx(fe.span,{opacity:0,children:h.jsx(wg,{...T})}):h.jsx(wg,{...T}),o&&m==="end"&&h.jsx(of,{className:"chakra-button__spinner--end",label:u,placement:"end",spacing:d,children:p})]})});hn.displayName="Button";function wg(e){const{leftIcon:t,rightIcon:n,children:r,iconSpacing:i,shouldWrapChildren:o}=e;return o?h.jsxs("span",{style:{display:"contents"},children:[t&&h.jsx(es,{marginEnd:i,children:t}),r,n&&h.jsx(es,{marginStart:i,children:n})]}):h.jsxs(h.Fragment,{children:[t&&h.jsx(es,{marginEnd:i,children:t}),r,n&&h.jsx(es,{marginStart:i,children:n})]})}const TA={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}}},_A={horizontal:e=>({"& > *:not(style) ~ *:not(style)":{marginStart:e}}),vertical:e=>({"& > *:not(style) ~ *:not(style)":{marginTop:e}})},kg=Ce(function(t,n){const{size:r,colorScheme:i,variant:o,className:a,spacing:s="0.5rem",isAttached:l,isDisabled:c,orientation:u="horizontal",...d}=t,f=Ie("chakra-button__group",a),p=b.useMemo(()=>({size:r,colorScheme:i,variant:o,isDisabled:c}),[r,i,o,c]);let m={display:"inline-flex",...l?TA[u]:_A[u](s)};const g=u==="vertical";return h.jsx(wA,{value:p,children:h.jsx(fe.div,{ref:n,role:"group",__css:m,className:f,"data-attached":l?"":void 0,"data-orientation":u,flexDir:g?"column":void 0,...d})})});kg.displayName="ButtonGroup";const tn=Ce((e,t)=>{const{icon:n,children:r,isRound:i,"aria-label":o,...a}=e,s=n||r,l=b.isValidElement(s)?b.cloneElement(s,{"aria-hidden":!0,focusable:!1}):null;return h.jsx(hn,{px:"0",py:"0",borderRadius:i?"full":void 0,ref:t,"aria-label":o,...a,children:l})});tn.displayName="IconButton";const[qH,EA]=St({name:"CheckboxGroupContext",strict:!1});function PA(e){return h.jsx(fe.svg,{width:"1.2em",viewBox:"0 0 12 10",style:{fill:"none",strokeWidth:2,stroke:"currentColor",strokeDasharray:16},...e,children:h.jsx("polyline",{points:"1.5 6 4.5 9 10.5 1"})})}function AA(e){return h.jsx(fe.svg,{width:"1.2em",viewBox:"0 0 24 24",style:{stroke:"currentColor",strokeWidth:4},...e,children:h.jsx("line",{x1:"21",x2:"3",y1:"12",y2:"12"})})}function jA(e){const{isIndeterminate:t,isChecked:n,...r}=e,i=t?AA:PA;return n||t?h.jsx(fe.div,{style:{display:"flex",alignItems:"center",justifyContent:"center",height:"100%"},children:h.jsx(i,{...r})}):null}var IA=()=>typeof document<"u",Sg=!1,ts=null,Di=!1,af=!1,sf=new Set;function lf(e,t){sf.forEach(n=>n(e,t))}var MA=typeof window<"u"&&window.navigator!=null?/^Mac/.test(window.navigator.platform):!1;function DA(e){return!(e.metaKey||!MA&&e.altKey||e.ctrlKey||e.key==="Control"||e.key==="Shift"||e.key==="Meta")}function Tg(e){Di=!0,DA(e)&&(ts="keyboard",lf("keyboard",e))}function Ao(e){if(ts="pointer",e.type==="mousedown"||e.type==="pointerdown"){Di=!0;const t=e.composedPath?e.composedPath()[0]:e.target;let n=!1;try{n=t.matches(":focus-visible")}catch{}if(n)return;lf("pointer",e)}}function OA(e){return e.mozInputSource===0&&e.isTrusted?!0:e.detail===0&&!e.pointerType}function FA(e){OA(e)&&(Di=!0,ts="virtual")}function zA(e){e.target===window||e.target===document||e.target instanceof Element&&e.target.hasAttribute("tabindex")||(!Di&&!af&&(ts="virtual",lf("virtual",e)),Di=!1,af=!1)}function LA(){Di=!1,af=!0}function _g(){return ts!=="pointer"}function $A(){if(!IA()||Sg)return;const{focus:e}=HTMLElement.prototype;HTMLElement.prototype.focus=function(...n){Di=!0,e.apply(this,n)},document.addEventListener("keydown",Tg,!0),document.addEventListener("keyup",Tg,!0),document.addEventListener("click",FA,!0),window.addEventListener("focus",zA,!0),window.addEventListener("blur",LA,!1),typeof PointerEvent<"u"?(document.addEventListener("pointerdown",Ao,!0),document.addEventListener("pointermove",Ao,!0),document.addEventListener("pointerup",Ao,!0)):(document.addEventListener("mousedown",Ao,!0),document.addEventListener("mousemove",Ao,!0),document.addEventListener("mouseup",Ao,!0)),Sg=!0}function BA(e){$A(),e(_g());const t=()=>e(_g());return sf.add(t),()=>{sf.delete(t)}}const[RA,Eg]=St({name:"FormControlStylesContext",errorMessage:`useFormControlStyles returned is 'undefined'. Seems you forgot to wrap the components in "<FormControl />" `}),[NA,Ul]=St({strict:!1,name:"FormControlContext"});function VA(e){const{id:t,isRequired:n,isInvalid:r,isDisabled:i,isReadOnly:o,...a}=e,s=b.useId(),l=t||`field-${s}`,c=`${l}-label`,u=`${l}-feedback`,d=`${l}-helptext`,[f,p]=b.useState(!1),[m,g]=b.useState(!1),[y,v]=b.useState(!1),x=b.useCallback((I={},D=null)=>({id:d,...I,ref:Jt(D,$=>{$&&g(!0)})}),[d]),w=b.useCallback((I={},D=null)=>({...I,ref:D,"data-focus":Ue(y),"data-disabled":Ue(i),"data-invalid":Ue(r),"data-readonly":Ue(o),id:I.id!==void 0?I.id:c,htmlFor:I.htmlFor!==void 0?I.htmlFor:l}),[l,i,y,r,o,c]),E=b.useCallback((I={},D=null)=>({id:u,...I,ref:Jt(D,$=>{$&&p(!0)}),"aria-live":"polite"}),[u]),k=b.useCallback((I={},D=null)=>({...I,...a,ref:D,role:"group","data-focus":Ue(y),"data-disabled":Ue(i),"data-invalid":Ue(r),"data-readonly":Ue(o)}),[a,i,y,r,o]),T=b.useCallback((I={},D=null)=>({...I,ref:D,role:"presentation","aria-hidden":!0,children:I.children||"*"}),[]);return{isRequired:!!n,isInvalid:!!r,isReadOnly:!!o,isDisabled:!!i,isFocused:!!y,onFocus:()=>v(!0),onBlur:()=>v(!1),hasFeedbackText:f,setHasFeedbackText:p,hasHelpText:m,setHasHelpText:g,id:l,labelId:c,feedbackId:u,helpTextId:d,htmlProps:a,getHelpTextProps:x,getErrorMessageProps:E,getRootProps:k,getLabelProps:w,getRequiredIndicatorProps:T}}const ns=Ce(function(t,n){const r=pn("Form",t),i=Ft(t),{getRootProps:o,htmlProps:a,...s}=VA(i),l=Ie("chakra-form-control",t.className);return h.jsx(NA,{value:s,children:h.jsx(RA,{value:r,children:h.jsx(fe.div,{...o({},n),className:l,__css:r.container})})})});ns.displayName="FormControl";const WA=Ce(function(t,n){const r=Ul(),i=Eg(),o=Ie("chakra-form__helper-text",t.className);return h.jsx(fe.div,{...r==null?void 0:r.getHelpTextProps(t,n),__css:i.helperText,className:o})});WA.displayName="FormHelperText";function cf(e){const{isDisabled:t,isInvalid:n,isReadOnly:r,isRequired:i,...o}=Pg(e);return{...o,disabled:t,readOnly:r,required:i,"aria-invalid":Lc(n),"aria-required":Lc(i),"aria-readonly":Lc(r)}}function Pg(e){const t=Ul(),{id:n,disabled:r,readOnly:i,required:o,isRequired:a,isInvalid:s,isReadOnly:l,isDisabled:c,onFocus:u,onBlur:d,...f}=e,p=e["aria-describedby"]?[e["aria-describedby"]]:[];return t!=null&&t.hasFeedbackText&&(t!=null&&t.isInvalid)&&p.push(t.feedbackId),t!=null&&t.hasHelpText&&p.push(t.helpTextId),{...f,"aria-describedby":p.join(" ")||void 0,id:n??(t==null?void 0:t.id),isDisabled:r??c??(t==null?void 0:t.isDisabled),isReadOnly:i??l??(t==null?void 0:t.isReadOnly),isRequired:o??a??(t==null?void 0:t.isRequired),isInvalid:s??(t==null?void 0:t.isInvalid),onFocus:tt(t==null?void 0:t.onFocus,u),onBlur:tt(t==null?void 0:t.onBlur,d)}}const HA={border:"0",clip:"rect(0, 0, 0, 0)",height:"1px",width:"1px",margin:"-1px",padding:"0",overflow:"hidden",whiteSpace:"nowrap",position:"absolute"};function Ag(e={}){const t=Pg(e),{isDisabled:n,isReadOnly:r,isRequired:i,isInvalid:o,id:a,onBlur:s,onFocus:l,"aria-describedby":c}=t,{defaultChecked:u,isChecked:d,isFocusable:f,onChange:p,isIndeterminate:m,name:g,value:y,tabIndex:v=void 0,"aria-label":x,"aria-labelledby":w,"aria-invalid":E,...k}=e,T=Yi(k,["isDisabled","isReadOnly","isRequired","isInvalid","id","onBlur","onFocus","aria-describedby"]),I=Yn(p),D=Yn(s),$=Yn(l),[P,W]=b.useState(!1),[Z,ne]=b.useState(!1),[z,q]=b.useState(!1),[X,N]=b.useState(!1);b.useEffect(()=>BA(W),[]);const ce=b.useRef(null),[he,C]=b.useState(!0),[R,J]=b.useState(!!u),S=d!==void 0,V=S?d:R,_=b.useCallback(F=>{if(r||n){F.preventDefault();return}S||J(V?F.currentTarget.checked:m?!0:F.currentTarget.checked),I==null||I(F)},[r,n,V,S,m,I]);yi(()=>{ce.current&&(ce.current.indeterminate=!!m)},[m]),Xi(()=>{n&&ne(!1)},[n,ne]),yi(()=>{const F=ce.current;if(!(F!=null&&F.form))return;const ee=()=>{J(!!u)};return F.form.addEventListener("reset",ee),()=>{var oe;return(oe=F.form)==null?void 0:oe.removeEventListener("reset",ee)}},[]);const Q=n&&!f,ie=b.useCallback(F=>{F.key===" "&&N(!0)},[N]),re=b.useCallback(F=>{F.key===" "&&N(!1)},[N]);yi(()=>{if(!ce.current)return;ce.current.checked!==V&&J(ce.current.checked)},[ce.current]);const me=b.useCallback((F={},ee=null)=>{const oe=we=>{Z&&we.preventDefault(),N(!0)};return{...F,ref:ee,"data-active":Ue(X),"data-hover":Ue(z),"data-checked":Ue(V),"data-focus":Ue(Z),"data-focus-visible":Ue(Z&&P),"data-indeterminate":Ue(m),"data-disabled":Ue(n),"data-invalid":Ue(o),"data-readonly":Ue(r),"aria-hidden":!0,onMouseDown:tt(F.onMouseDown,oe),onMouseUp:tt(F.onMouseUp,()=>N(!1)),onMouseEnter:tt(F.onMouseEnter,()=>q(!0)),onMouseLeave:tt(F.onMouseLeave,()=>q(!1))}},[X,V,n,Z,P,z,m,o,r]),pe=b.useCallback((F={},ee=null)=>({...F,ref:ee,"data-active":Ue(X),"data-hover":Ue(z),"data-checked":Ue(V),"data-focus":Ue(Z),"data-focus-visible":Ue(Z&&P),"data-indeterminate":Ue(m),"data-disabled":Ue(n),"data-invalid":Ue(o),"data-readonly":Ue(r)}),[X,V,n,Z,P,z,m,o,r]),ke=b.useCallback((F={},ee=null)=>({...T,htmlFor:he?a:void 0,...F,ref:Jt(ee,oe=>{oe&&C(oe.tagName==="LABEL")}),onClick:tt(F.onClick,()=>{var oe;he||((oe=ce.current)==null||oe.click(),requestAnimationFrame(()=>{var we;(we=ce.current)==null||we.focus({preventScroll:!0})}))}),"data-disabled":Ue(n),"data-checked":Ue(V),"data-invalid":Ue(o)}),[T,n,V,o,he,a]),K=b.useCallback((F={},ee=null)=>({...F,ref:Jt(ce,ee),type:"checkbox",name:g,value:y,id:a,tabIndex:v,onChange:tt(F.onChange,_),onBlur:tt(F.onBlur,D,()=>ne(!1)),onFocus:tt(F.onFocus,$,()=>ne(!0)),onKeyDown:tt(F.onKeyDown,ie),onKeyUp:tt(F.onKeyUp,re),required:i,checked:V,disabled:Q,readOnly:r,"aria-label":x,"aria-labelledby":w,"aria-invalid":E?!!E:o,"aria-describedby":c,"aria-disabled":n,"aria-checked":m?"mixed":V,style:HA}),[g,y,a,v,_,D,$,ie,re,i,V,Q,r,x,w,E,o,c,n,m]),je=b.useCallback((F={},ee=null)=>({...F,ref:ee,onMouseDown:tt(F.onMouseDown,UA),"data-disabled":Ue(n),"data-checked":Ue(V),"data-invalid":Ue(o)}),[V,n,o]);return{state:{isInvalid:o,isFocused:Z,isChecked:V,isActive:X,isHovered:z,isIndeterminate:m,isDisabled:n,isReadOnly:r,isRequired:i},getRootProps:ke,getCheckboxProps:me,getIndicatorProps:pe,getInputProps:K,getLabelProps:je,htmlProps:T}}function UA(e){e.preventDefault(),e.stopPropagation()}function qA(e){const[t,n]=b.useState(e),[r,i]=b.useState(!1);return e!==t&&(i(!0),n(e)),r}const GA={display:"inline-flex",alignItems:"center",justifyContent:"center",verticalAlign:"top",userSelect:"none",flexShrink:0},ZA={cursor:"pointer",display:"inline-flex",alignItems:"center",verticalAlign:"top",position:"relative"},KA=Rr({from:{opacity:0,strokeDashoffset:16,transform:"scale(0.95)"},to:{opacity:1,strokeDashoffset:0,transform:"scale(1)"}}),YA=Rr({from:{opacity:0},to:{opacity:1}}),XA=Rr({from:{transform:"scaleX(0.65)"},to:{transform:"scaleX(1)"}}),jg=Ce(function(t,n){const r=EA(),i={...r,...t},o=pn("Checkbox",i),a=Ft(t),{spacing:s="0.5rem",className:l,children:c,iconColor:u,iconSize:d,icon:f=h.jsx(jA,{}),isChecked:p,isDisabled:m=r==null?void 0:r.isDisabled,onChange:g,inputProps:y,...v}=a;let x=p;r!=null&&r.value&&a.value&&(x=r.value.includes(a.value));let w=g;r!=null&&r.onChange&&a.value&&(w=S1(r.onChange,g));const{state:E,getInputProps:k,getCheckboxProps:T,getLabelProps:I,getRootProps:D}=Ag({...v,isDisabled:m,isChecked:x,onChange:w}),$=qA(E.isChecked),P=b.useMemo(()=>({animation:$?E.isIndeterminate?`${YA} 20ms linear, ${XA} 200ms linear`:`${KA} 200ms linear`:void 0,...o.icon,...da({fontSize:d,color:u})}),[u,d,$,E.isIndeterminate,o.icon]),W=b.cloneElement(f,{__css:P,isIndeterminate:E.isIndeterminate,isChecked:E.isChecked});return h.jsxs(fe.label,{__css:{...ZA,...o.container},className:Ie("chakra-checkbox",l),...D(),children:[h.jsx("input",{className:"chakra-checkbox__input",...k(y,n)}),h.jsx(fe.span,{__css:{...GA,...o.control},className:"chakra-checkbox__control",...T(),children:W}),c&&h.jsx(fe.span,{className:"chakra-checkbox__label",...I(),__css:{marginStart:s,...o.label},children:c})]})});jg.displayName="Checkbox";const Ig=Ce(function(t,n){const{borderLeftWidth:r,borderBottomWidth:i,borderTopWidth:o,borderRightWidth:a,borderWidth:s,borderStyle:l,borderColor:c,...u}=xr("Divider",t),{className:d,orientation:f="horizontal",__css:p,...m}=Ft(t),g={vertical:{borderLeftWidth:r||a||s||"1px",height:"100%"},horizontal:{borderBottomWidth:i||o||s||"1px",width:"100%"}};return h.jsx(fe.hr,{ref:n,"aria-orientation":f,...m,__css:{...u,border:"0",borderColor:c,borderStyle:l,...g[f],...p},className:Ie("chakra-divider",d)})});Ig.displayName="Divider";function rs(e){return typeof e=="function"}function JA(...e){return t=>e.reduce((n,r)=>r(n),t)}const QA=(e=>function(...n){let r=[...n],i=n[n.length-1];return Ew(i)&&r.length>1?r=r.slice(0,r.length-1):i=e,JA(...r.map(o=>a=>rs(o)?o(a):ej(a,o)))(i)})(gh);function ej(...e){return $n({},...e,Mg)}function Mg(e,t,n,r){if((rs(e)||rs(t))&&Object.prototype.hasOwnProperty.call(r,n))return(...i)=>{const o=rs(e)?e(...i):e,a=rs(t)?t(...i):t;return $n({},o,a,Mg)};if(un(e)&&$c(t)||$c(e)&&un(t))return t}const vt=Ce(function(t,n){const{direction:r,align:i,justify:o,wrap:a,basis:s,grow:l,shrink:c,...u}=t,d={display:"flex",flexDirection:r,alignItems:i,justifyContent:o,flexWrap:a,flexBasis:s,flexGrow:l,flexShrink:c};return h.jsx(fe.div,{ref:n,__css:d,...u})});vt.displayName="Flex";function tj(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}var uf={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,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 G=F.call(O),V;if(F!==O.entries){for(;!(V=G.next()).done;)if(!L(V.value))return!1}else for(;!(V=G.next()).done;){var B=V.value;if(B&&!L(B[1]))return!1}}else return!1;return!0;default:return!1}}function Z(O,F){return O==="symbol"?!0:F?F["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&F instanceof Symbol:!1}function Y(O){var F=typeof O;return Array.isArray(O)?"array":O instanceof RegExp?"object":Z(F,O)?"symbol":F}function N(O){if(typeof O>"u"||O===null)return""+O;var F=Y(O);if(F==="object"){if(O instanceof Date)return"date";if(O instanceof RegExp)return"regexp"}return F}function ce(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,ue=t.shards,se=ue===void 0?Pj:ue,L=t.as,Z=L===void 0?"div":L,Y=t.lockProps,N=Y===void 0?{}:Y,ce=t.sideCar,he=t.returnFocus,O=he===void 0?!1:he,F=t.focusOptions,G=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&&G&&G(s.current),l.current=!0,f()},[G]),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 Z!="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:se,enabled:!b,active:l.current}},[b,l.current,se,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(ce,{id:C,sideCar:jj,observed:i,disabled:b,persistentFocus:y,crossFrame:j,autoFocus:E,whiteList:z,shards:se,onActivation:J,onDeactivation:Q,returnFocus:ee,focusOptions:F,noFocusGuards:v}),g.createElement(Z,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),ue=u===!0?pP({x:h,y:m},yn(n)):{x:h,y:m};if(h=ue.x,m=ue.y,l){var se;return Object.assign({},X,(se={},se[j]=y?"0":"",se[w]=S?"0":"",se.transform=(x.devicePixelRatio||1)<=1?"translate("+h+"px, "+m+"px)":"translate3d("+h+"px, "+m+"px, 0)",se))}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 ue=X[o];Object.keys(z).forEach(function(se){var L=[An,En].indexOf(se)>=0?1:-1,Z=[un,En].indexOf(se)>=0?"y":"x";z[se]+=ue[Z]*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],ue=ir(X),se=ci(X)===ai,L=[un,En].indexOf(ue)>=0,Z=L?"width":"height",Y=Da(t,{placement:X,boundary:u,rootBoundary:f,altBoundary:p,padding:c}),N=L?se?An:dn:se?En:un;x[Z]>E[Z]&&(N=al(N));var ce=al(N),he=[];if(i&&he.push(Y[ue]<=0),s&&he.push(Y[N]<=0,Y[ce]<=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"},G=O;G>0;G--){var V=F(G);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,ue={x:0,y:0};if(E){if(i){var se,L=j==="y"?un:dn,Z=j==="y"?En:An,Y=j==="y"?"height":"width",N=E[j],ce=N+v[L],he=N-v[Z],O=h?-D[Y]/2:0,F=y===ai?P[Y]:D[Y],G=y===ai?-D[Y]:-P[Y],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[Z],ee=Oa(0,P[Y],B[Y]),me=w?P[Y]/2-O-ee-J-z.mainAxis:F-ee-J-z.mainAxis,de=w?-P[Y]/2+O+ee+Q+z.mainAxis:G+ee+Q+z.mainAxis,ke=t.elements.arrow&&Ma(t.elements.arrow),H=ke?j==="y"?ke.clientTop||0:ke.clientLeft||0:0,Te=(se=X==null?void 0:X[j])!=null?se:0,De=N+me-Te-H,A=N+de-Te,q=Oa(h?rl(ce,De):ce,N,h?go(he,A):he);E[j]=q,ue[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,le=U?be+P[je]+D[je]-oe-z.altAxis:fe,Ie=h&&U?sP(ie,be,le):Oa(h?ie:$e,be,h?le:fe);E[x]=Ie,ue[x]=Ie-be}t.modifiersData[r]=ue}}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:ue,shadowColor:se,bg:L,style:Z,...Y}=z;return{...Y,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 ce=o&&N.key==="Enter";i&&N.key===" "&&(N.preventDefault(),y(!0)),ce&&(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]),ue=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]),se=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]),Z=g.useCallback(N=>{S&&(N.preventDefault(),y(!1)),h==null||h(N)},[S,h]),Y=Bt(t,j);return m?{...b,ref:Y,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:Y,role:"button","data-active":Le(S),"aria-disabled":n?"true":void 0,tabIndex:E?void 0:x,onClick:P,onMouseDown:ue,onMouseUp:se,onKeyUp:z,onKeyDown:R,onMouseOver:L,onMouseLeave:Z}}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 ue=u3({...m,enabled:D||b,placement:f,direction:h}),[se,L]=g.useState(-1);Pg(v,{focusRef:S,visible:D,shouldFocus:!0});const Z=jg({isOpen:D,ref:v}),[Y,N]=Ag(t,"menu-button","menu-list"),ce=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&&se===-1&&j()},[se,D]),g.useEffect(()=>{var B;if(!D)return;const V=w.item(se);(B=V==null?void 0:V.node)==null||B.focus({preventScroll:!y.current})},[w,se,D]);const O=g.useCallback(()=>{R(),x()},[x,R]),F=g.useCallback(()=>{y.current=!0,R(),E()},[R,E]),G=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(se))==null?void 0:ee.node;J==null||J.focus({preventScroll:!y.current})},[D,se,w]);return{openAndFocusMenu:ce,openAndFocusFirstItem:O,openAndFocusLastItem:F,onTransitionEnd:G,unstable__animationState:Z,descendants:w,popper:ue,buttonId:Y,menuId:N,forceUpdate:ue.forceUpdate,orientation:"vertical",isOpen:D,onToggle:X,onOpen:R,onClose:z,menuRef:v,buttonRef:S,focusedIndex:se,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]),ue=x===b,se=d3({onClick:z,onFocus:X,onMouseEnter:P,onMouseMove:D,onMouseLeave:R,ref:Bt(E,w,t),isDisabled:s,isFocusable:l});return{...f,...se,type:u??se.type,id:j,role:"menuitem",tabIndex:ue?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(
|
|
350
|
+
*/var df,Dg;function nj(){if(Dg)return df;Dg=1;var e=Object.getOwnPropertySymbols,t=Object.prototype.hasOwnProperty,n=Object.prototype.propertyIsEnumerable;function r(o){if(o==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(o)}function i(){try{if(!Object.assign)return!1;var o=new String("abc");if(o[5]="de",Object.getOwnPropertyNames(o)[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 df=i()?Object.assign:function(o,a){for(var s,l=r(o),c,u=1;u<arguments.length;u++){s=Object(arguments[u]);for(var d in s)t.call(s,d)&&(l[d]=s[d]);if(e){c=e(s);for(var f=0;f<c.length;f++)n.call(s,c[f])&&(l[c[f]]=s[c[f]])}}return l},df}var ff,Og;function pf(){if(Og)return ff;Og=1;var e="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return ff=e,ff}var hf,Fg;function zg(){return Fg||(Fg=1,hf=Function.call.bind(Object.prototype.hasOwnProperty)),hf}var mf,Lg;function rj(){if(Lg)return mf;Lg=1;var e=function(){};if(process.env.NODE_ENV!=="production"){var t=pf(),n={},r=zg();e=function(o){var a="Warning: "+o;typeof console<"u"&&console.error(a);try{throw new Error(a)}catch{}}}function i(o,a,s,l,c){if(process.env.NODE_ENV!=="production"){for(var u in o)if(r(o,u)){var d;try{if(typeof o[u]!="function"){var f=Error((l||"React class")+": "+s+" type `"+u+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof o[u]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw f.name="Invariant Violation",f}d=o[u](a,u,l,s,null,t)}catch(m){d=m}if(d&&!(d 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 d+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),d instanceof Error&&!(d.message in n)){n[d.message]=!0;var p=c?c():"";e("Failed "+s+" type: "+d.message+(p??""))}}}}return i.resetWarningCache=function(){process.env.NODE_ENV!=="production"&&(n={})},mf=i,mf}var gf,$g;function ij(){if($g)return gf;$g=1;var e=Pu,t=nj(),n=pf(),r=zg(),i=rj(),o=function(){};process.env.NODE_ENV!=="production"&&(o=function(s){var l="Warning: "+s;typeof console<"u"&&console.error(l);try{throw new Error(l)}catch{}});function a(){return null}return gf=function(s,l){var c=typeof Symbol=="function"&&Symbol.iterator,u="@@iterator";function d(C){var R=C&&(c&&C[c]||C[u]);if(typeof R=="function")return R}var f="<<anonymous>>",p={array:v("array"),bigint:v("bigint"),bool:v("boolean"),func:v("function"),number:v("number"),object:v("object"),string:v("string"),symbol:v("symbol"),any:x(),arrayOf:w,element:E(),elementType:k(),instanceOf:T,node:P(),objectOf:D,oneOf:I,oneOfType:$,shape:Z,exact:ne};function m(C,R){return C===R?C!==0||1/C===1/R:C!==C&&R!==R}function g(C,R){this.message=C,this.data=R&&typeof R=="object"?R:{},this.stack=""}g.prototype=Error.prototype;function y(C){if(process.env.NODE_ENV!=="production")var R={},J=0;function S(_,Q,ie,re,me,pe,ke){if(re=re||f,pe=pe||ie,ke!==n){if(l){var K=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 K.name="Invariant Violation",K}else if(process.env.NODE_ENV!=="production"&&typeof console<"u"){var je=re+":"+ie;!R[je]&&J<3&&(o("You are manually calling a React.PropTypes validation function for the `"+pe+"` prop on `"+re+"`. 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."),R[je]=!0,J++)}}return Q[ie]==null?_?Q[ie]===null?new g("The "+me+" `"+pe+"` is marked as required "+("in `"+re+"`, but its value is `null`.")):new g("The "+me+" `"+pe+"` is marked as required in "+("`"+re+"`, but its value is `undefined`.")):null:C(Q,ie,re,me,pe)}var V=S.bind(null,!1);return V.isRequired=S.bind(null,!0),V}function v(C){function R(J,S,V,_,Q,ie){var re=J[S],me=X(re);if(me!==C){var pe=N(re);return new g("Invalid "+_+" `"+Q+"` of type "+("`"+pe+"` supplied to `"+V+"`, expected ")+("`"+C+"`."),{expectedType:C})}return null}return y(R)}function x(){return y(a)}function w(C){function R(J,S,V,_,Q){if(typeof C!="function")return new g("Property `"+Q+"` of component `"+V+"` has invalid PropType notation inside arrayOf.");var ie=J[S];if(!Array.isArray(ie)){var re=X(ie);return new g("Invalid "+_+" `"+Q+"` of type "+("`"+re+"` supplied to `"+V+"`, expected an array."))}for(var me=0;me<ie.length;me++){var pe=C(ie,me,V,_,Q+"["+me+"]",n);if(pe instanceof Error)return pe}return null}return y(R)}function E(){function C(R,J,S,V,_){var Q=R[J];if(!s(Q)){var ie=X(Q);return new g("Invalid "+V+" `"+_+"` of type "+("`"+ie+"` supplied to `"+S+"`, expected a single ReactElement."))}return null}return y(C)}function k(){function C(R,J,S,V,_){var Q=R[J];if(!e.isValidElementType(Q)){var ie=X(Q);return new g("Invalid "+V+" `"+_+"` of type "+("`"+ie+"` supplied to `"+S+"`, expected a single ReactElement type."))}return null}return y(C)}function T(C){function R(J,S,V,_,Q){if(!(J[S]instanceof C)){var ie=C.name||f,re=he(J[S]);return new g("Invalid "+_+" `"+Q+"` of type "+("`"+re+"` supplied to `"+V+"`, expected ")+("instance of `"+ie+"`."))}return null}return y(R)}function I(C){if(!Array.isArray(C))return process.env.NODE_ENV!=="production"&&(arguments.length>1?o("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])."):o("Invalid argument supplied to oneOf, expected an array.")),a;function R(J,S,V,_,Q){for(var ie=J[S],re=0;re<C.length;re++)if(m(ie,C[re]))return null;var me=JSON.stringify(C,function(ke,K){var je=N(K);return je==="symbol"?String(K):K});return new g("Invalid "+_+" `"+Q+"` of value `"+String(ie)+"` "+("supplied to `"+V+"`, expected one of "+me+"."))}return y(R)}function D(C){function R(J,S,V,_,Q){if(typeof C!="function")return new g("Property `"+Q+"` of component `"+V+"` has invalid PropType notation inside objectOf.");var ie=J[S],re=X(ie);if(re!=="object")return new g("Invalid "+_+" `"+Q+"` of type "+("`"+re+"` supplied to `"+V+"`, expected an object."));for(var me in ie)if(r(ie,me)){var pe=C(ie,me,V,_,Q+"."+me,n);if(pe instanceof Error)return pe}return null}return y(R)}function $(C){if(!Array.isArray(C))return process.env.NODE_ENV!=="production"&&o("Invalid argument supplied to oneOfType, expected an instance of array."),a;for(var R=0;R<C.length;R++){var J=C[R];if(typeof J!="function")return o("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+ce(J)+" at index "+R+"."),a}function S(V,_,Q,ie,re){for(var me=[],pe=0;pe<C.length;pe++){var ke=C[pe],K=ke(V,_,Q,ie,re,n);if(K==null)return null;K.data&&r(K.data,"expectedType")&&me.push(K.data.expectedType)}var je=me.length>0?", expected one of type ["+me.join(", ")+"]":"";return new g("Invalid "+ie+" `"+re+"` supplied to "+("`"+Q+"`"+je+"."))}return y(S)}function P(){function C(R,J,S,V,_){return z(R[J])?null:new g("Invalid "+V+" `"+_+"` supplied to "+("`"+S+"`, expected a ReactNode."))}return y(C)}function W(C,R,J,S,V){return new g((C||"React class")+": "+R+" type `"+J+"."+S+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+V+"`.")}function Z(C){function R(J,S,V,_,Q){var ie=J[S],re=X(ie);if(re!=="object")return new g("Invalid "+_+" `"+Q+"` of type `"+re+"` "+("supplied to `"+V+"`, expected `object`."));for(var me in C){var pe=C[me];if(typeof pe!="function")return W(V,_,Q,me,N(pe));var ke=pe(ie,me,V,_,Q+"."+me,n);if(ke)return ke}return null}return y(R)}function ne(C){function R(J,S,V,_,Q){var ie=J[S],re=X(ie);if(re!=="object")return new g("Invalid "+_+" `"+Q+"` of type `"+re+"` "+("supplied to `"+V+"`, expected `object`."));var me=t({},J[S],C);for(var pe in me){var ke=C[pe];if(r(C,pe)&&typeof ke!="function")return W(V,_,Q,pe,N(ke));if(!ke)return new g("Invalid "+_+" `"+Q+"` key `"+pe+"` supplied to `"+V+"`.\nBad object: "+JSON.stringify(J[S],null," ")+`
|
|
351
|
+
Valid keys: `+JSON.stringify(Object.keys(C),null," "));var K=ke(ie,pe,V,_,Q+"."+pe,n);if(K)return K}return null}return y(R)}function z(C){switch(typeof C){case"number":case"string":case"undefined":return!0;case"boolean":return!C;case"object":if(Array.isArray(C))return C.every(z);if(C===null||s(C))return!0;var R=d(C);if(R){var J=R.call(C),S;if(R!==C.entries){for(;!(S=J.next()).done;)if(!z(S.value))return!1}else for(;!(S=J.next()).done;){var V=S.value;if(V&&!z(V[1]))return!1}}else return!1;return!0;default:return!1}}function q(C,R){return C==="symbol"?!0:R?R["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&R instanceof Symbol:!1}function X(C){var R=typeof C;return Array.isArray(C)?"array":C instanceof RegExp?"object":q(R,C)?"symbol":R}function N(C){if(typeof C>"u"||C===null)return""+C;var R=X(C);if(R==="object"){if(C instanceof Date)return"date";if(C instanceof RegExp)return"regexp"}return R}function ce(C){var R=N(C);switch(R){case"array":case"object":return"an "+R;case"boolean":case"date":case"regexp":return"a "+R;default:return R}}function he(C){return!C.constructor||!C.constructor.name?f:C.constructor.name}return p.checkPropTypes=i,p.resetWarningCache=i.resetWarningCache,p.PropTypes=p,p},gf}var yf,Bg;function oj(){if(Bg)return yf;Bg=1;var e=pf();function t(){}function n(){}return n.resetWarningCache=t,yf=function(){function r(a,s,l,c,u,d){if(d!==e){var f=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 f.name="Invariant Violation",f}}r.isRequired=r;function i(){return r}var o={array:r,bigint:r,bool:r,func:r,number:r,object:r,string:r,symbol:r,any:r,arrayOf:i,element:r,elementType:r,instanceOf:i,node:r,objectOf:i,oneOf:i,oneOfType:i,shape:i,exact:i,checkPropTypes:n,resetWarningCache:t};return o.PropTypes=o,o},yf}if(process.env.NODE_ENV!=="production"){var aj=Pu,sj=!0;uf.exports=ij()(aj.isElement,sj)}else uf.exports=oj()();var bt=uf.exports;const yt=sa(bt);var vf="data-focus-lock",Rg="data-focus-lock-disabled",lj="data-no-focus-lock",cj="data-autofocus-inside",uj="data-no-autofocus";function bf(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}function dj(e,t){var n=b.useState(function(){return{value:e,callback:t,facade:{get current(){return n.value},set current(r){var i=n.value;i!==r&&(n.value=r,n.callback(r,i))}}}})[0];return n.callback=t,n.facade}var fj=typeof window<"u"?Se.useLayoutEffect:Se.useEffect,Ng=new WeakMap;function Vg(e,t){var n=dj(null,function(r){return e.forEach(function(i){return bf(i,r)})});return fj(function(){var r=Ng.get(n);if(r){var i=new Set(r),o=new Set(e),a=n.current;i.forEach(function(s){o.has(s)||bf(s,null)}),o.forEach(function(s){i.has(s)||bf(s,a)})}Ng.set(n,e)},[e]),n}var xf={width:"1px",height:"0px",padding:0,overflow:"hidden",position:"fixed",top:"1px",left:"1px"};process.env.NODE_ENV!=="production"&&yt.node;var wr=function(){return wr=Object.assign||function(t){for(var n,r=1,i=arguments.length;r<i;r++){n=arguments[r];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o])}return t},wr.apply(this,arguments)};function Wg(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 i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n}function Oi(e,t,n,r){function i(o){return o instanceof n?o:new n(function(a){a(o)})}return new(n||(n=Promise))(function(o,a){function s(u){try{c(r.next(u))}catch(d){a(d)}}function l(u){try{c(r.throw(u))}catch(d){a(d)}}function c(u){u.done?o(u.value):i(u.value).then(s,l)}c((r=r.apply(e,t||[])).next())})}function pj(e,t,n){if(n||arguments.length===2)for(var r=0,i=t.length,o;r<i;r++)(o||!(r in t))&&(o||(o=Array.prototype.slice.call(t,0,r)),o[r]=t[r]);return e.concat(o||Array.prototype.slice.call(t))}typeof SuppressedError=="function"&&SuppressedError;function Hg(e){return e}function Ug(e,t){t===void 0&&(t=Hg);var n=[],r=!1,i={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(o){var a=t(o,r);return n.push(a),function(){n=n.filter(function(s){return s!==a})}},assignSyncMedium:function(o){for(r=!0;n.length;){var a=n;n=[],a.forEach(o)}n={push:function(s){return o(s)},filter:function(){return n}}},assignMedium:function(o){r=!0;var a=[];if(n.length){var s=n;n=[],s.forEach(o),a=n}var l=function(){var u=a;a=[],u.forEach(o)},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 i}function Cf(e,t){return t===void 0&&(t=Hg),Ug(e,t)}function qg(e){e===void 0&&(e={});var t=Ug(null);return t.options=wr({async:!0,ssr:!1},e),t}var Gg=function(e){var t=e.sideCar,n=Wg(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,wr({},n))};Gg.isSideCarExport=!0;function hj(e,t){return e.useMedium(t),Gg}var Zg=Cf({},function(e){var t=e.target,n=e.currentTarget;return{target:t,currentTarget:n}}),Kg=Cf(),mj=Cf(),gj=qg({async:!0,ssr:typeof document<"u"}),yj=b.createContext(void 0),vj=[],wf=b.forwardRef(function(t,n){var r,i=b.useState(),o=i[0],a=i[1],s=b.useRef(),l=b.useRef(!1),c=b.useRef(null),u=b.useState({}),d=u[1],f=t.children,p=t.disabled,m=p===void 0?!1:p,g=t.noFocusGuards,y=g===void 0?!1:g,v=t.persistentFocus,x=v===void 0?!1:v,w=t.crossFrame,E=w===void 0?!0:w,k=t.autoFocus,T=k===void 0?!0:k,I=t.allowTextSelection,D=t.group,$=t.className,P=t.whiteList,W=t.hasPositiveIndices,Z=t.shards,ne=Z===void 0?vj:Z,z=t.as,q=z===void 0?"div":z,X=t.lockProps,N=X===void 0?{}:X,ce=t.sideCar,he=t.returnFocus,C=he===void 0?!1:he,R=t.focusOptions,J=t.onActivation,S=t.onDeactivation,V=b.useState({}),_=V[0],Q=b.useCallback(function(oe){var we=oe.captureFocusRestore;if(!c.current){var ye,ve=(ye=document)==null?void 0:ye.activeElement;c.current=ve,ve!==document.body&&(c.current=we(ve))}s.current&&J&&J(s.current),l.current=!0,d()},[J]),ie=b.useCallback(function(){l.current=!1,S&&S(s.current),d()},[S]),re=b.useCallback(function(oe){var we=c.current;if(we){var ye=(typeof we=="function"?we():we)||document.body,ve=typeof C=="function"?C(ye):C;if(ve){var Pe=typeof ve=="object"?ve:void 0;c.current=null,oe?Promise.resolve().then(function(){return ye.focus(Pe)}):ye.focus(Pe)}}},[C]),me=b.useCallback(function(oe){l.current&&Zg.useMedium(oe)},[]),pe=Kg.useMedium,ke=b.useCallback(function(oe){s.current!==oe&&(s.current=oe,a(oe))},[]);process.env.NODE_ENV!=="production"&&(typeof I<"u"&&console.warn("React-Focus-Lock: allowTextSelection is deprecated and enabled by default"),b.useEffect(function(){!s.current&&typeof q!="string"&&console.error("FocusLock: could not obtain ref to internal node")},[]));var K=Si((r={},r[Rg]=m&&"disabled",r[vf]=D,r),N),je=y!==!0,$e=je&&y!=="tail",F=Vg([n,ke]),ee=b.useMemo(function(){return{observed:s,shards:ne,enabled:!m,active:l.current}},[m,l.current,ne,o]);return b.createElement(b.Fragment,null,je&&[b.createElement("div",{key:"guard-first","data-focus-guard":!0,tabIndex:m?-1:0,style:xf}),W?b.createElement("div",{key:"guard-nearest","data-focus-guard":!0,tabIndex:m?-1:1,style:xf}):null],!m&&b.createElement(ce,{id:_,sideCar:gj,observed:o,disabled:m,persistentFocus:x,crossFrame:E,autoFocus:T,whiteList:P,shards:ne,onActivation:Q,onDeactivation:ie,returnFocus:re,focusOptions:R,noFocusGuards:y}),b.createElement(q,Si({ref:F},K,{className:$,onBlur:pe,onFocus:me}),b.createElement(yj.Provider,{value:ee},f)),$e&&b.createElement("div",{"data-focus-guard":!0,tabIndex:m?-1:0,style:xf}))});wf.propTypes=process.env.NODE_ENV!=="production"?{children:bt.node,disabled:bt.bool,returnFocus:bt.oneOfType([bt.bool,bt.object,bt.func]),focusOptions:bt.object,noFocusGuards:bt.bool,hasPositiveIndices:bt.bool,allowTextSelection:bt.bool,autoFocus:bt.bool,persistentFocus:bt.bool,crossFrame:bt.bool,group:bt.string,className:bt.string,whiteList:bt.func,shards:bt.arrayOf(bt.any),as:bt.oneOfType([bt.string,bt.func,bt.object]),lockProps:bt.object,onActivation:bt.func,onDeactivation:bt.func,sideCar:bt.any.isRequired}:{};function kf(e,t){return kf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,r){return n.__proto__=r,n},kf(e,t)}function bj(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,kf(e,t)}function is(e){"@babel/helpers - typeof";return is=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},is(e)}function xj(e,t){if(is(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(is(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Cj(e){var t=xj(e,"string");return is(t)=="symbol"?t:t+""}function wj(e,t,n){return(t=Cj(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function kj(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(i){if(process.env.NODE_ENV!=="production"&&typeof i!="function")throw new Error("Expected WrappedComponent to be a React component.");var o=[],a;function s(){a=e(o.map(function(c){return c.props})),t(a)}var l=function(c){bj(u,c);function u(){return c.apply(this,arguments)||this}u.peek=function(){return a};var d=u.prototype;return d.componentDidMount=function(){o.push(this),s()},d.componentDidUpdate=function(){s()},d.componentWillUnmount=function(){var p=o.indexOf(this);o.splice(p,1),s()},d.render=function(){return b.createElement(i,this.props)},u}(b.PureComponent);return wj(l,"displayName","SideEffect("+n(i)+")"),l}}var kr=function(e){for(var t=Array(e.length),n=0;n<e.length;++n)t[n]=e[n];return t},Fi=function(e){return Array.isArray(e)?e:[e]},Yg=function(e){return Array.isArray(e)?e[0]:e},Sj=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"},Xg=function(e){return e.parentNode&&e.parentNode.nodeType===Node.DOCUMENT_FRAGMENT_NODE?e.parentNode.host:e.parentNode},Jg=function(e){return e===document||e&&e.nodeType===Node.DOCUMENT_NODE},Tj=function(e){return e.hasAttribute("inert")},_j=function(e,t){return!e||Jg(e)||!Sj(e)&&!Tj(e)&&t(Xg(e))},Qg=function(e,t){var n=e.get(t);if(n!==void 0)return n;var r=_j(t,Qg.bind(void 0,e));return e.set(t,r),r},Ej=function(e,t){return e&&!Jg(e)?jj(e)?t(Xg(e)):!1:!0},e3=function(e,t){var n=e.get(t);if(n!==void 0)return n;var r=Ej(t,e3.bind(void 0,e));return e.set(t,r),r},t3=function(e){return e.dataset},Pj=function(e){return e.tagName==="BUTTON"},n3=function(e){return e.tagName==="INPUT"},r3=function(e){return n3(e)&&e.type==="radio"},Aj=function(e){return!((n3(e)||Pj(e))&&(e.type==="hidden"||e.disabled))},jj=function(e){var t=e.getAttribute(uj);return![!0,"true",""].includes(t)},Sf=function(e){var t;return!!(e&&(!((t=t3(e))===null||t===void 0)&&t.focusGuard))},Tf=function(e){return!Sf(e)},Ij=function(e){return!!e},Mj=function(e,t){var n=Math.max(0,e.tabIndex),r=Math.max(0,t.tabIndex),i=n-r,o=e.index-t.index;if(i){if(!n)return 1;if(!r)return-1}return i||o},Dj=function(e){return e.tabIndex<0&&!e.hasAttribute("tabindex")?0:e.tabIndex},_f=function(e,t,n){return kr(e).map(function(r,i){var o=Dj(r);return{node:r,index:i,tabIndex:n&&o===-1?(r.dataset||{}).focusGuard?0:-1:o}}).filter(function(r){return!t||r.tabIndex>=0}).sort(Mj)},Oj=["button:enabled","select:enabled","textarea:enabled","input:enabled","a[href]","area[href]","summary","iframe","object","embed","audio[controls]","video[controls]","[tabindex]","[contenteditable]","[autofocus]"],Ef=Oj.join(","),Fj="".concat(Ef,", [data-focus-guard]"),i3=function(e,t){return kr((e.shadowRoot||e).children).reduce(function(n,r){return n.concat(r.matches(t?Fj:Ef)?[r]:[],i3(r))},[])},zj=function(e,t){var n;return e instanceof HTMLIFrameElement&&(!((n=e.contentDocument)===null||n===void 0)&&n.body)?jo([e.contentDocument.body],t):[e]},jo=function(e,t){return e.reduce(function(n,r){var i,o=i3(r,t),a=(i=[]).concat.apply(i,o.map(function(s){return zj(s,t)}));return n.concat(a,r.parentNode?kr(r.parentNode.querySelectorAll(Ef)).filter(function(s){return s===r}):[])},[])},Lj=function(e){var t=e.querySelectorAll("[".concat(cj,"]"));return kr(t).map(function(n){return jo([n])}).reduce(function(n,r){return n.concat(r)},[])},Pf=function(e,t){return kr(e).filter(function(n){return Qg(t,n)}).filter(function(n){return Aj(n)})},o3=function(e,t){return t===void 0&&(t=new Map),kr(e).filter(function(n){return e3(t,n)})},Af=function(e,t,n){return _f(Pf(jo(e,n),t),!0,n)},os=function(e,t){return _f(Pf(jo(e),t),!1)},$j=function(e,t){return Pf(Lj(e),t)},zi=function(e,t){return e.shadowRoot?zi(e.shadowRoot,t):Object.getPrototypeOf(e).contains!==void 0&&Object.getPrototypeOf(e).contains.call(e,t)?!0:kr(e.children).some(function(n){var r;if(n instanceof HTMLIFrameElement){var i=(r=n.contentDocument)===null||r===void 0?void 0:r.body;return i?zi(i,t):!1}return zi(n,t)})},Bj=function(e){for(var t=new Set,n=e.length,r=0;r<n;r+=1)for(var i=r+1;i<n;i+=1){var o=e[r].compareDocumentPosition(e[i]);(o&Node.DOCUMENT_POSITION_CONTAINED_BY)>0&&t.add(i),(o&Node.DOCUMENT_POSITION_CONTAINS)>0&&t.add(r)}return e.filter(function(a,s){return!t.has(s)})},a3=function(e){return e.parentNode?a3(e.parentNode):e},jf=function(e){var t=Fi(e);return t.filter(Boolean).reduce(function(n,r){var i=r.getAttribute(vf);return n.push.apply(n,i?Bj(kr(a3(r).querySelectorAll("[".concat(vf,'="').concat(i,'"]:not([').concat(Rg,'="disabled"])')))):[r]),n},[])},Rj=function(e){try{return e()}catch{return}},as=function(e){if(e===void 0&&(e=document),!(!e||!e.activeElement)){var t=e.activeElement;return t.shadowRoot?as(t.shadowRoot):t instanceof HTMLIFrameElement&&Rj(function(){return t.contentWindow.document})?as(t.contentWindow.document):t}},Nj=function(e,t){return e===t},Vj=function(e,t){return!!kr(e.querySelectorAll("iframe")).some(function(n){return Nj(n,t)})},s3=function(e,t){return t===void 0&&(t=as(Yg(e).ownerDocument)),!t||t.dataset&&t.dataset.focusGuard?!1:jf(e).some(function(n){return zi(n,t)||Vj(n,t)})},Wj=function(e){e===void 0&&(e=document);var t=as(e);return t?kr(e.querySelectorAll("[".concat(lj,"]"))).some(function(n){return zi(n,t)}):!1},Hj=function(e,t){return t.filter(r3).filter(function(n){return n.name===e.name}).filter(function(n){return n.checked})[0]||e},If=function(e,t){return r3(e)&&e.name?Hj(e,t):e},Uj=function(e){var t=new Set;return e.forEach(function(n){return t.add(If(n,e))}),e.filter(function(n){return t.has(n)})},l3=function(e){return e[0]&&e.length>1?If(e[0],e):e[0]},c3=function(e,t){return e.indexOf(If(t,e))},Mf="NEW_FOCUS",qj=function(e,t,n,r,i){var o=e.length,a=e[0],s=e[o-1],l=Sf(r);if(!(r&&e.indexOf(r)>=0)){var c=r!==void 0?n.indexOf(r):-1,u=i?n.indexOf(i):c,d=i?e.indexOf(i):-1;if(c===-1)return d!==-1?d:Mf;if(d===-1)return Mf;var f=c-u,p=n.indexOf(a),m=n.indexOf(s),g=Uj(n),y=r!==void 0?g.indexOf(r):-1,v=i?g.indexOf(i):y,x=g.filter(function(D){return D.tabIndex>=0}),w=r!==void 0?x.indexOf(r):-1,E=i?x.indexOf(i):w,k=w>=0&&E>=0?E-w:v-y;if(!f&&d>=0||t.length===0)return d;var T=c3(e,t[0]),I=c3(e,t[t.length-1]);if(c<=p&&l&&Math.abs(f)>1)return I;if(c>=m&&l&&Math.abs(f)>1)return T;if(f&&Math.abs(k)>1)return d;if(c<=p)return I;if(c>m)return T;if(f)return Math.abs(f)>1?d:(o+d+f)%o}},Gj=function(e){return function(t){var n,r=(n=t3(t))===null||n===void 0?void 0:n.autofocus;return t.autofocus||r!==void 0&&r!=="false"||e.indexOf(t)>=0}},u3=function(e,t,n){var r=e.map(function(o){var a=o.node;return a}),i=o3(r.filter(Gj(n)));return i&&i.length?l3(i):l3(o3(t))},Df=function(e,t){return t===void 0&&(t=[]),t.push(e),e.parentNode&&Df(e.parentNode.host||e.parentNode,t),t},Of=function(e,t){for(var n=Df(e),r=Df(t),i=0;i<n.length;i+=1){var o=n[i];if(r.indexOf(o)>=0)return o}return!1},d3=function(e,t,n){var r=Fi(e),i=Fi(t),o=r[0],a=!1;return i.filter(Boolean).forEach(function(s){a=Of(a||s,s)||a,n.filter(Boolean).forEach(function(l){var c=Of(o,l);c&&(!a||zi(c,a)?a=c:a=Of(c,a))})}),a},f3=function(e,t){return e.reduce(function(n,r){return n.concat($j(r,t))},[])},Zj=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(Ij)},Kj=function(e,t){var n=as(Fi(e).length>0?document:Yg(e).ownerDocument),r=jf(e).filter(Tf),i=d3(n||e,e,r),o=new Map,a=os(r,o),s=a.filter(function(m){var g=m.node;return Tf(g)});if(s[0]){var l=os([i],o).map(function(m){var g=m.node;return g}),c=Zj(l,s),u=c.map(function(m){var g=m.node;return g}),d=c.filter(function(m){var g=m.tabIndex;return g>=0}).map(function(m){var g=m.node;return g}),f=qj(u,d,l,n,t);if(f===Mf){var p=u3(a,d,f3(r,o))||u3(a,u,f3(r,o));if(p)return{node:p};console.warn("focus-lock: cannot find any node to move focus into");return}return f===void 0?f:c[f]}},Yj=function(e){var t=jf(e).filter(Tf),n=d3(e,e,t),r=_f(jo([n],!0),!0,!0),i=jo(t,!1);return r.map(function(o){var a=o.node,s=o.index;return{node:a,index:s,lockItem:i.indexOf(a)>=0,guard:Sf(a)}})},Ff=function(e,t){e&&("focus"in e&&e.focus(t),"contentWindow"in e&&e.contentWindow&&e.contentWindow.focus())},zf=0,Lf=!1,p3=function(e,t,n){n===void 0&&(n={});var r=Kj(e,t);if(!Lf&&r){if(zf>2){console.error("FocusLock: focus-fighting detected. Only one focus management system could be active. See https://github.com/theKashey/focus-lock/#focus-fighting"),Lf=!0,setTimeout(function(){Lf=!1},1);return}zf++,Ff(r.node,n.focusOptions),zf--}};function ss(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 Xj=function(e){if(!e)return null;for(var t=[],n=e;n&&n!==document.body;)t.push({current:ss(n),parent:ss(n.parentElement),left:ss(n.previousElementSibling),right:ss(n.nextElementSibling)}),n=n.parentElement;return{element:ss(e),stack:t,ownerDocument:e.ownerDocument}},Jj=function(e){var t,n,r,i,o;if(e)for(var a=e.stack,s=e.ownerDocument,l=new Map,c=0,u=a;c<u.length;c++){var d=u[c],f=(t=d.parent)===null||t===void 0?void 0:t.call(d);if(f&&s.contains(f)){for(var p=(n=d.left)===null||n===void 0?void 0:n.call(d),m=d.current(),g=f.contains(m)?m:void 0,y=(r=d.right)===null||r===void 0?void 0:r.call(d),v=Af([f],l),x=(o=(i=g??(p==null?void 0:p.nextElementSibling))!==null&&i!==void 0?i:y)!==null&&o!==void 0?o:p;x;){for(var w=0,E=v;w<E.length;w++){var k=E[w];if(x!=null&&x.contains(k.node))return k.node}x=x.nextElementSibling}if(v.length)return v[0].node}}},h3=function(e){var t=Xj(e);return function(){return Jj(t)}},Qj=function(e,t,n){if(!e||!t)return console.error("no element or scope given"),{};var r=Fi(t);if(r.every(function(a){return!zi(a,e)}))return console.error("Active element is not contained in the scope"),{};var i=n?Af(r,new Map):os(r,new Map),o=i.findIndex(function(a){var s=a.node;return s===e});if(o!==-1)return{prev:i[o-1],next:i[o+1],first:i[0],last:i[i.length-1]}},eI=function(e,t){var n=t?Af(Fi(e),new Map):os(Fi(e),new Map);return{first:n[0],last:n[n.length-1]}},tI=function(e){return Object.assign({scope:document.body,cycle:!0,onlyTabbable:!0},e)},m3=function(e,t,n){t===void 0&&(t={});var r=tI(t),i=Qj(e,r.scope,r.onlyTabbable);if(i){var o=n(i,r.cycle);o&&Ff(o.node,r.focusOptions)}},nI=function(e,t){t===void 0&&(t={}),m3(e,t,function(n,r){var i=n.next,o=n.first;return i||r&&o})},rI=function(e,t){t===void 0&&(t={}),m3(e,t,function(n,r){var i=n.prev,o=n.last;return i||r&&o})},g3=function(e,t,n){var r,i=eI(e,(r=t.onlyTabbable)!==null&&r!==void 0?r:!0),o=i[n];o&&Ff(o.node,t.focusOptions)},iI=function(e,t){t===void 0&&(t={}),g3(e,t,"first")},oI=function(e,t){t===void 0&&(t={}),g3(e,t,"last")};function $f(e){setTimeout(e,1)}var aI=function(t){return t&&"current"in t?t.current:t},y3=function(){return document&&document.activeElement===document.body},sI=function(){return y3()||Wj()},Io=null,wn=null,v3=function(){return null},Mo=null,ls=!1,Bf=!1,lI=function(){return!0},cI=function(t){return(Io.whiteList||lI)(t)},uI=function(t,n){Mo={observerNode:t,portaledElement:n}},dI=function(t){return Mo&&Mo.portaledElement===t};function b3(e,t,n,r){var i=null,o=e;do{var a=r[o];if(a.guard)a.node.dataset.focusAutoGuard&&(i=a);else if(a.lockItem){if(o!==e)return;i=null}else break}while((o+=n)!==t);i&&(i.node.tabIndex=0)}var fI=function(t){return t?!!ls:ls==="meanwhile"},pI=function e(t,n,r){return n&&(n.host===t&&(!n.activeElement||r.contains(n.activeElement))||n.parentNode&&e(t,n.parentNode,r))},hI=function(t,n){return n.some(function(r){return pI(t,r,r)})},x3=function(t){return os(t,new Map)},mI=function(t){return!x3([t.parentNode]).some(function(n){return n.node===t})},ql=function(){var t=!1;if(Io){var n=Io,r=n.observed,i=n.persistentFocus,o=n.autoFocus,a=n.shards,s=n.crossFrame,l=n.focusOptions,c=n.noFocusGuards,u=r||Mo&&Mo.portaledElement;if(y3()&&wn&&wn!==document.body&&(!document.body.contains(wn)||mI(wn))){var d=v3();d&&d.focus()}var f=document&&document.activeElement;if(u){var p=[u].concat(a.map(aI).filter(Boolean)),m=function(){if(!fI(s)||!c||!wn||Bf)return!1;var w=x3(p),E=w.findIndex(function(k){var T=k.node;return T===wn});return E===0||E===w.length-1};if((!f||cI(f))&&(i||m()||!sI()||!wn&&o)&&(u&&!(s3(p)||f&&hI(f,p)||dI(f))&&(document&&!wn&&f&&!o?(f.blur&&f.blur(),document.body.focus()):(t=p3(p,wn,{focusOptions:l}),Mo={})),wn=document&&document.activeElement,wn!==document.body&&(v3=h3(wn)),ls=!1),document&&f!==document.activeElement&&document.querySelector("[data-focus-auto-guard]")){var g=document&&document.activeElement,y=Yj(p),v=y.map(function(x){var w=x.node;return w}).indexOf(g);v>-1&&(y.filter(function(x){var w=x.guard,E=x.node;return w&&E.dataset.focusAutoGuard}).forEach(function(x){var w=x.node;return w.removeAttribute("tabIndex")}),b3(v,y.length,1,y),b3(v,-1,-1,y))}}}return t},C3=function(t){ql()&&t&&(t.stopPropagation(),t.preventDefault())},Rf=function(){return $f(ql)},gI=function(t){var n=t.target,r=t.currentTarget;r.contains(n)||uI(r,n)},yI=function(){return null};process.env.NODE_ENV!=="production"&&yt.node.isRequired;var w3=function(){Bf=!0},k3=function(){Bf=!1,ls="just",$f(function(){ls="meanwhile"})},vI=function(){document.addEventListener("focusin",C3),document.addEventListener("focusout",Rf),window.addEventListener("focus",w3),window.addEventListener("blur",k3)},bI=function(){document.removeEventListener("focusin",C3),document.removeEventListener("focusout",Rf),window.removeEventListener("focus",w3),window.removeEventListener("blur",k3)};function xI(e){return e.filter(function(t){var n=t.disabled;return!n})}var S3={moveFocusInside:p3,focusInside:s3,focusNextElement:nI,focusPrevElement:rI,focusFirstElement:iI,focusLastElement:oI,captureFocusRestore:h3};function CI(e){var t=e.slice(-1)[0];t&&!Io&&vI();var n=Io,r=n&&t&&t.id===n.id;Io=t,n&&!r&&(n.onDeactivation(),e.filter(function(i){var o=i.id;return o===n.id}).length||n.returnFocus(!t)),t?(wn=null,(!r||n.observed!==t.observed)&&t.onActivation(S3),ql(),$f(ql)):(bI(),wn=null)}Zg.assignSyncMedium(gI),Kg.assignMedium(Rf),mj.assignMedium(function(e){return e(S3)});const wI=kj(xI,CI)(yI);var Nf=b.forwardRef(function(t,n){return b.createElement(wf,Si({sideCar:wI,ref:n},t))}),T3=wf.propTypes||{};T3.sideCar;var kI=tj(T3,["sideCar"]);Nf.propTypes=process.env.NODE_ENV!=="production"?kI:{};const SI=Nf.default??Nf,_3=e=>{const{initialFocusRef:t,finalFocusRef:n,contentRef:r,restoreFocus:i,children:o,isDisabled:a,autoFocus:s,persistentFocus:l,lockFocusAcrossFrames:c}=e,u=b.useCallback(()=>{t!=null&&t.current?t.current.focus():r!=null&&r.current&&ub(r.current).length===0&&requestAnimationFrame(()=>{var m;(m=r.current)==null||m.focus()})},[t,r]),d=b.useCallback(()=>{var p;(p=n==null?void 0:n.current)==null||p.focus()},[n]),f=i&&!n;return h.jsx(SI,{crossFrame:c,persistentFocus:l,autoFocus:s,disabled:a,onActivation:u,onDeactivation:d,returnFocus:f,children:o})};_3.displayName="FocusLock";const Do=Ce(function(t,n){const r=xr("FormLabel",t),i=Ft(t),{className:o,children:a,requiredIndicator:s=h.jsx(E3,{}),optionalIndicator:l=null,...c}=i,u=Ul(),d=(u==null?void 0:u.getLabelProps(c,n))??{ref:n,...c};return h.jsxs(fe.label,{...d,className:Ie("chakra-form__label",i.className),__css:{display:"block",textAlign:"start",...r},children:[a,u!=null&&u.isRequired?s:l]})});Do.displayName="FormLabel";const E3=Ce(function(t,n){const r=Ul(),i=Eg();if(!(r!=null&&r.isRequired))return null;const o=Ie("chakra-form__required-indicator",t.className);return h.jsx(fe.span,{...r==null?void 0:r.getRequiredIndicatorProps(t,n),__css:i.requiredIndicator,className:o})});E3.displayName="RequiredIndicator";const P3=Ce(function(t,n){const{templateAreas:r,gap:i,rowGap:o,columnGap:a,column:s,row:l,autoFlow:c,autoRows:u,templateRows:d,autoColumns:f,templateColumns:p,...m}=t,g={display:"grid",gridTemplateAreas:r,gridGap:i,gridRowGap:o,gridColumnGap:a,gridAutoColumns:f,gridColumn:s,gridRow:l,gridAutoFlow:c,gridAutoRows:u,gridTemplateRows:d,gridTemplateColumns:p};return h.jsx(fe.div,{ref:n,__css:g,...m})});P3.displayName="Grid";function er(e){const{viewBox:t="0 0 24 24",d:n,displayName:r,defaultProps:i={}}=e,o=b.Children.toArray(e.path),a=Ce((s,l)=>h.jsx(sn,{ref:l,viewBox:t,...i,...s,children:o.length?o:h.jsx("path",{fill:"currentColor",d:n})}));return a.displayName=r,a}const Vf=Ce(function(t,n){const{htmlWidth:r,htmlHeight:i,alt:o,...a}=t;return h.jsx("img",{width:r,height:i,ref:n,alt:o,...a})});Vf.displayName="NativeImage";const A3=Ce(function(t,n){const{fallbackSrc:r,fallback:i,src:o,srcSet:a,align:s,fit:l,loading:c,ignoreFallback:u,crossOrigin:d,fallbackStrategy:f="beforeLoadOrError",referrerPolicy:p,...m}=t,g=r!==void 0||i!==void 0,y=c!=null||u||!g,v=yg({...t,crossOrigin:d,ignoreFallback:y}),x=xA(v,f),w={ref:n,objectFit:l,objectPosition:s,...y?m:Yi(m,["onError","onLoad"])};return x?i||h.jsx(fe.img,{as:Vf,className:"chakra-image__placeholder",src:r,...w}):h.jsx(fe.img,{as:Vf,src:o,srcSet:a,crossOrigin:d,loading:c,referrerPolicy:p,className:"chakra-image",...w})});A3.displayName="Image";const Oo=Ce(function(t,n){const{htmlSize:r,...i}=t,o=pn("Input",i),a=Ft(i),s=cf(a),l=Ie("chakra-input",t.className);return h.jsx(fe.input,{size:r,...s,__css:o.field,ref:n,className:l})});Oo.displayName="Input",Oo.id="Input";const[TI,_I]=St({name:"InputGroupStylesContext",errorMessage:`useInputGroupStyles returned is 'undefined'. Seems you forgot to wrap the components in "<InputGroup />" `}),j3=Ce(function(t,n){const r=pn("Input",t),{children:i,className:o,...a}=Ft(t),s=Ie("chakra-input__group",o),l={},c=Nc(i),u=r.field;c.forEach(f=>{r&&(u&&f.type.id==="InputLeftElement"&&(l.paddingStart=u.height??u.h),u&&f.type.id==="InputRightElement"&&(l.paddingEnd=u.height??u.h),f.type.id==="InputRightAddon"&&(l.borderEndRadius=0),f.type.id==="InputLeftAddon"&&(l.borderStartRadius=0))});const d=c.map(f=>{var m,g;const p=da({size:((m=f.props)==null?void 0:m.size)||t.size,variant:((g=f.props)==null?void 0:g.variant)||t.variant});return f.type.id!=="Input"?b.cloneElement(f,p):b.cloneElement(f,Object.assign(p,l,f.props))});return h.jsx(fe.div,{className:s,ref:n,__css:{width:"100%",display:"flex",position:"relative",isolation:"isolate",...r.group},"data-group":!0,...a,children:h.jsx(TI,{value:r,children:d})})});j3.displayName="InputGroup";const EI=fe("div",{baseStyle:{display:"flex",alignItems:"center",justifyContent:"center",position:"absolute",top:"0",zIndex:2}}),Gl=Ce(function(t,n){const{placement:r="left",...i}=t,o=_I(),a=o.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,...o.element};return h.jsx(EI,{ref:n,__css:l,...i})});Gl.id="InputElement",Gl.displayName="InputElement";const I3=Ce(function(t,n){const{className:r,...i}=t,o=Ie("chakra-input__left-element",r);return h.jsx(Gl,{ref:n,placement:"left",className:o,...i})});I3.id="InputLeftElement",I3.displayName="InputLeftElement";const Wf=Ce(function(t,n){const{className:r,...i}=t,o=Ie("chakra-input__right-element",r);return h.jsx(Gl,{ref:n,placement:"right",className:o,...i})});Wf.id="InputRightElement",Wf.displayName="InputRightElement";const Hf=Ce(function(t,n){const r=xr("Link",t),{className:i,isExternal:o,...a}=Ft(t);return h.jsx(fe.a,{target:o?"_blank":void 0,rel:o?"noopener":void 0,ref:n,className:Ie("chakra-link",i),...a,__css:r})});Hf.displayName="Link";const[PI,M3]=St({name:"ListStylesContext",errorMessage:`useListStyles returned is 'undefined'. Seems you forgot to wrap the components in "<List />" `}),Zl=Ce(function(t,n){const r=pn("List",t),{children:i,styleType:o="none",stylePosition:a,spacing:s,...l}=Ft(t),c=Nc(i),d=s?{["& > *:not(style) ~ *:not(style)"]:{mt:s}}:{};return h.jsx(PI,{value:r,children:h.jsx(fe.ul,{ref:n,listStyleType:o,listStylePosition:a,role:"list",__css:{...r.container,...d},...l,children:c})})});Zl.displayName="List";const AI=Ce((e,t)=>{const{as:n,...r}=e;return h.jsx(Zl,{ref:t,as:"ol",styleType:"decimal",marginStart:"1em",...r})});AI.displayName="OrderedList";const jI=Ce(function(t,n){const{as:r,...i}=t;return h.jsx(Zl,{ref:n,as:"ul",styleType:"initial",marginStart:"1em",...i})});jI.displayName="UnorderedList";const D3=Ce(function(t,n){const r=M3();return h.jsx(fe.li,{ref:n,...t,__css:r.item})});D3.displayName="ListItem";const O3=Ce(function(t,n){const r=M3();return h.jsx(sn,{ref:n,role:"presentation",...t,__css:r.icon})});O3.displayName="ListIcon";function II(e,t,n,r){if(t==null)return r;if(!r)return e.find(a=>n(a).toLowerCase().startsWith(t.toLowerCase()));const i=e.filter(o=>n(o).toLowerCase().startsWith(t.toLowerCase()));if(i.length>0){let o;return i.includes(r)?(o=i.indexOf(r)+1,o===i.length&&(o=0),i[o]):(o=e.indexOf(i[0]),e[o])}return r}function MI(e){const{key:t}=e;return t.length===1||t.length>1&&/[^a-zA-Z0-9]/.test(t)}function DI(e={}){const{timeout:t=300,preventDefault:n=()=>!0}=e,[r,i]=b.useState([]),o=b.useRef(void 0),a=()=>{o.current&&(clearTimeout(o.current),o.current=null)},s=()=>{a(),o.current=setTimeout(()=>{i([]),o.current=null},t)};b.useEffect(()=>a,[]);function l(c){return u=>{if(u.key==="Backspace"){const d=[...r];d.pop(),i(d);return}if(MI(u)){const d=r.concat(u.key);n(u)&&(u.preventDefault(),u.stopPropagation()),i(d),c(d.join("")),s()}}}return l}var kn="top",Wn="bottom",Hn="right",Sn="left",Uf="auto",cs=[kn,Wn,Hn,Sn],Fo="start",us="end",OI="clippingParents",F3="viewport",ds="popper",FI="reference",z3=cs.reduce(function(e,t){return e.concat([t+"-"+Fo,t+"-"+us])},[]),L3=[].concat(cs,[Uf]).reduce(function(e,t){return e.concat([t,t+"-"+Fo,t+"-"+us])},[]),zI="beforeRead",LI="read",$I="afterRead",BI="beforeMain",RI="main",NI="afterMain",VI="beforeWrite",WI="write",HI="afterWrite",UI=[zI,LI,$I,BI,RI,NI,VI,WI,HI];function Sr(e){return e?(e.nodeName||"").toLowerCase():null}function Mn(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function Li(e){var t=Mn(e).Element;return e instanceof t||e instanceof Element}function Un(e){var t=Mn(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function qf(e){if(typeof ShadowRoot>"u")return!1;var t=Mn(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function qI(e){var t=e.state;Object.keys(t.elements).forEach(function(n){var r=t.styles[n]||{},i=t.attributes[n]||{},o=t.elements[n];!Un(o)||!Sr(o)||(Object.assign(o.style,r),Object.keys(i).forEach(function(a){var s=i[a];s===!1?o.removeAttribute(a):o.setAttribute(a,s===!0?"":s)}))})}function GI(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 i=t.elements[r],o=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},{});!Un(i)||!Sr(i)||(Object.assign(i.style,s),Object.keys(o).forEach(function(l){i.removeAttribute(l)}))})}}const ZI={name:"applyStyles",enabled:!0,phase:"write",fn:qI,effect:GI,requires:["computeStyles"]};function Tr(e){return e.split("-")[0]}var $i=Math.max,Kl=Math.min,zo=Math.round;function Gf(){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 $3(){return!/^((?!chrome|android).)*safari/i.test(Gf())}function Lo(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!1);var r=e.getBoundingClientRect(),i=1,o=1;t&&Un(e)&&(i=e.offsetWidth>0&&zo(r.width)/e.offsetWidth||1,o=e.offsetHeight>0&&zo(r.height)/e.offsetHeight||1);var a=Li(e)?Mn(e):window,s=a.visualViewport,l=!$3()&&n,c=(r.left+(l&&s?s.offsetLeft:0))/i,u=(r.top+(l&&s?s.offsetTop:0))/o,d=r.width/i,f=r.height/o;return{width:d,height:f,top:u,right:c+d,bottom:u+f,left:c,x:c,y:u}}function Zf(e){var t=Lo(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 B3(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&qf(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function Hr(e){return Mn(e).getComputedStyle(e)}function KI(e){return["table","td","th"].indexOf(Sr(e))>=0}function ai(e){return((Li(e)?e.ownerDocument:e.document)||window.document).documentElement}function Yl(e){return Sr(e)==="html"?e:e.assignedSlot||e.parentNode||(qf(e)?e.host:null)||ai(e)}function R3(e){return!Un(e)||Hr(e).position==="fixed"?null:e.offsetParent}function YI(e){var t=/firefox/i.test(Gf()),n=/Trident/i.test(Gf());if(n&&Un(e)){var r=Hr(e);if(r.position==="fixed")return null}var i=Yl(e);for(qf(i)&&(i=i.host);Un(i)&&["html","body"].indexOf(Sr(i))<0;){var o=Hr(i);if(o.transform!=="none"||o.perspective!=="none"||o.contain==="paint"||["transform","perspective"].indexOf(o.willChange)!==-1||t&&o.willChange==="filter"||t&&o.filter&&o.filter!=="none")return i;i=i.parentNode}return null}function fs(e){for(var t=Mn(e),n=R3(e);n&&KI(n)&&Hr(n).position==="static";)n=R3(n);return n&&(Sr(n)==="html"||Sr(n)==="body"&&Hr(n).position==="static")?t:n||YI(e)||t}function Kf(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function ps(e,t,n){return $i(e,Kl(t,n))}function XI(e,t,n){var r=ps(e,t,n);return r>n?n:r}function N3(){return{top:0,right:0,bottom:0,left:0}}function V3(e){return Object.assign({},N3(),e)}function W3(e,t){return t.reduce(function(n,r){return n[r]=e,n},{})}var JI=function(t,n){return t=typeof t=="function"?t(Object.assign({},n.rects,{placement:n.placement})):t,V3(typeof t!="number"?t:W3(t,cs))};function QI(e){var t,n=e.state,r=e.name,i=e.options,o=n.elements.arrow,a=n.modifiersData.popperOffsets,s=Tr(n.placement),l=Kf(s),c=[Sn,Hn].indexOf(s)>=0,u=c?"height":"width";if(!(!o||!a)){var d=JI(i.padding,n),f=Zf(o),p=l==="y"?kn:Sn,m=l==="y"?Wn:Hn,g=n.rects.reference[u]+n.rects.reference[l]-a[l]-n.rects.popper[u],y=a[l]-n.rects.reference[l],v=fs(o),x=v?l==="y"?v.clientHeight||0:v.clientWidth||0:0,w=g/2-y/2,E=d[p],k=x-f[u]-d[m],T=x/2-f[u]/2+w,I=ps(E,T,k),D=l;n.modifiersData[r]=(t={},t[D]=I,t.centerOffset=I-T,t)}}function eM(e){var t=e.state,n=e.options,r=n.element,i=r===void 0?"[data-popper-arrow]":r;i!=null&&(typeof i=="string"&&(i=t.elements.popper.querySelector(i),!i)||B3(t.elements.popper,i)&&(t.elements.arrow=i))}const tM={name:"arrow",enabled:!0,phase:"main",fn:QI,effect:eM,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function $o(e){return e.split("-")[1]}var nM={top:"auto",right:"auto",bottom:"auto",left:"auto"};function rM(e,t){var n=e.x,r=e.y,i=t.devicePixelRatio||1;return{x:zo(n*i)/i||0,y:zo(r*i)/i||0}}function H3(e){var t,n=e.popper,r=e.popperRect,i=e.placement,o=e.variation,a=e.offsets,s=e.position,l=e.gpuAcceleration,c=e.adaptive,u=e.roundOffsets,d=e.isFixed,f=a.x,p=f===void 0?0:f,m=a.y,g=m===void 0?0:m,y=typeof u=="function"?u({x:p,y:g}):{x:p,y:g};p=y.x,g=y.y;var v=a.hasOwnProperty("x"),x=a.hasOwnProperty("y"),w=Sn,E=kn,k=window;if(c){var T=fs(n),I="clientHeight",D="clientWidth";if(T===Mn(n)&&(T=ai(n),Hr(T).position!=="static"&&s==="absolute"&&(I="scrollHeight",D="scrollWidth")),T=T,i===kn||(i===Sn||i===Hn)&&o===us){E=Wn;var $=d&&T===k&&k.visualViewport?k.visualViewport.height:T[I];g-=$-r.height,g*=l?1:-1}if(i===Sn||(i===kn||i===Wn)&&o===us){w=Hn;var P=d&&T===k&&k.visualViewport?k.visualViewport.width:T[D];p-=P-r.width,p*=l?1:-1}}var W=Object.assign({position:s},c&&nM),Z=u===!0?rM({x:p,y:g},Mn(n)):{x:p,y:g};if(p=Z.x,g=Z.y,l){var ne;return Object.assign({},W,(ne={},ne[E]=x?"0":"",ne[w]=v?"0":"",ne.transform=(k.devicePixelRatio||1)<=1?"translate("+p+"px, "+g+"px)":"translate3d("+p+"px, "+g+"px, 0)",ne))}return Object.assign({},W,(t={},t[E]=x?g+"px":"",t[w]=v?p+"px":"",t.transform="",t))}function iM(e){var t=e.state,n=e.options,r=n.gpuAcceleration,i=r===void 0?!0:r,o=n.adaptive,a=o===void 0?!0:o,s=n.roundOffsets,l=s===void 0?!0:s,c={placement:Tr(t.placement),variation:$o(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:i,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,H3(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,H3(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 oM={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:iM,data:{}};var Xl={passive:!0};function aM(e){var t=e.state,n=e.instance,r=e.options,i=r.scroll,o=i===void 0?!0:i,a=r.resize,s=a===void 0?!0:a,l=Mn(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return o&&c.forEach(function(u){u.addEventListener("scroll",n.update,Xl)}),s&&l.addEventListener("resize",n.update,Xl),function(){o&&c.forEach(function(u){u.removeEventListener("scroll",n.update,Xl)}),s&&l.removeEventListener("resize",n.update,Xl)}}const sM={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:aM,data:{}};var lM={left:"right",right:"left",bottom:"top",top:"bottom"};function Jl(e){return e.replace(/left|right|bottom|top/g,function(t){return lM[t]})}var cM={start:"end",end:"start"};function U3(e){return e.replace(/start|end/g,function(t){return cM[t]})}function Yf(e){var t=Mn(e),n=t.pageXOffset,r=t.pageYOffset;return{scrollLeft:n,scrollTop:r}}function Xf(e){return Lo(ai(e)).left+Yf(e).scrollLeft}function uM(e,t){var n=Mn(e),r=ai(e),i=n.visualViewport,o=r.clientWidth,a=r.clientHeight,s=0,l=0;if(i){o=i.width,a=i.height;var c=$3();(c||!c&&t==="fixed")&&(s=i.offsetLeft,l=i.offsetTop)}return{width:o,height:a,x:s+Xf(e),y:l}}function dM(e){var t,n=ai(e),r=Yf(e),i=(t=e.ownerDocument)==null?void 0:t.body,o=$i(n.scrollWidth,n.clientWidth,i?i.scrollWidth:0,i?i.clientWidth:0),a=$i(n.scrollHeight,n.clientHeight,i?i.scrollHeight:0,i?i.clientHeight:0),s=-r.scrollLeft+Xf(e),l=-r.scrollTop;return Hr(i||n).direction==="rtl"&&(s+=$i(n.clientWidth,i?i.clientWidth:0)-o),{width:o,height:a,x:s,y:l}}function Jf(e){var t=Hr(e),n=t.overflow,r=t.overflowX,i=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+i+r)}function q3(e){return["html","body","#document"].indexOf(Sr(e))>=0?e.ownerDocument.body:Un(e)&&Jf(e)?e:q3(Yl(e))}function hs(e,t){var n;t===void 0&&(t=[]);var r=q3(e),i=r===((n=e.ownerDocument)==null?void 0:n.body),o=Mn(r),a=i?[o].concat(o.visualViewport||[],Jf(r)?r:[]):r,s=t.concat(a);return i?s:s.concat(hs(Yl(a)))}function Qf(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function fM(e,t){var n=Lo(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 G3(e,t,n){return t===F3?Qf(uM(e,n)):Li(t)?fM(t,n):Qf(dM(ai(e)))}function pM(e){var t=hs(Yl(e)),n=["absolute","fixed"].indexOf(Hr(e).position)>=0,r=n&&Un(e)?fs(e):e;return Li(r)?t.filter(function(i){return Li(i)&&B3(i,r)&&Sr(i)!=="body"}):[]}function hM(e,t,n,r){var i=t==="clippingParents"?pM(e):[].concat(t),o=[].concat(i,[n]),a=o[0],s=o.reduce(function(l,c){var u=G3(e,c,r);return l.top=$i(u.top,l.top),l.right=Kl(u.right,l.right),l.bottom=Kl(u.bottom,l.bottom),l.left=$i(u.left,l.left),l},G3(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 Z3(e){var t=e.reference,n=e.element,r=e.placement,i=r?Tr(r):null,o=r?$o(r):null,a=t.x+t.width/2-n.width/2,s=t.y+t.height/2-n.height/2,l;switch(i){case kn:l={x:a,y:t.y-n.height};break;case Wn:l={x:a,y:t.y+t.height};break;case Hn:l={x:t.x+t.width,y:s};break;case Sn:l={x:t.x-n.width,y:s};break;default:l={x:t.x,y:t.y}}var c=i?Kf(i):null;if(c!=null){var u=c==="y"?"height":"width";switch(o){case Fo:l[c]=l[c]-(t[u]/2-n[u]/2);break;case us:l[c]=l[c]+(t[u]/2-n[u]/2);break}}return l}function ms(e,t){t===void 0&&(t={});var n=t,r=n.placement,i=r===void 0?e.placement:r,o=n.strategy,a=o===void 0?e.strategy:o,s=n.boundary,l=s===void 0?OI:s,c=n.rootBoundary,u=c===void 0?F3:c,d=n.elementContext,f=d===void 0?ds:d,p=n.altBoundary,m=p===void 0?!1:p,g=n.padding,y=g===void 0?0:g,v=V3(typeof y!="number"?y:W3(y,cs)),x=f===ds?FI:ds,w=e.rects.popper,E=e.elements[m?x:f],k=hM(Li(E)?E:E.contextElement||ai(e.elements.popper),l,u,a),T=Lo(e.elements.reference),I=Z3({reference:T,element:w,placement:i}),D=Qf(Object.assign({},w,I)),$=f===ds?D:T,P={top:k.top-$.top+v.top,bottom:$.bottom-k.bottom+v.bottom,left:k.left-$.left+v.left,right:$.right-k.right+v.right},W=e.modifiersData.offset;if(f===ds&&W){var Z=W[i];Object.keys(P).forEach(function(ne){var z=[Hn,Wn].indexOf(ne)>=0?1:-1,q=[kn,Wn].indexOf(ne)>=0?"y":"x";P[ne]+=Z[q]*z})}return P}function mM(e,t){t===void 0&&(t={});var n=t,r=n.placement,i=n.boundary,o=n.rootBoundary,a=n.padding,s=n.flipVariations,l=n.allowedAutoPlacements,c=l===void 0?L3:l,u=$o(r),d=u?s?z3:z3.filter(function(m){return $o(m)===u}):cs,f=d.filter(function(m){return c.indexOf(m)>=0});f.length===0&&(f=d);var p=f.reduce(function(m,g){return m[g]=ms(e,{placement:g,boundary:i,rootBoundary:o,padding:a})[Tr(g)],m},{});return Object.keys(p).sort(function(m,g){return p[m]-p[g]})}function gM(e){if(Tr(e)===Uf)return[];var t=Jl(e);return[U3(e),t,U3(t)]}function yM(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var i=n.mainAxis,o=i===void 0?!0:i,a=n.altAxis,s=a===void 0?!0:a,l=n.fallbackPlacements,c=n.padding,u=n.boundary,d=n.rootBoundary,f=n.altBoundary,p=n.flipVariations,m=p===void 0?!0:p,g=n.allowedAutoPlacements,y=t.options.placement,v=Tr(y),x=v===y,w=l||(x||!m?[Jl(y)]:gM(y)),E=[y].concat(w).reduce(function(V,_){return V.concat(Tr(_)===Uf?mM(t,{placement:_,boundary:u,rootBoundary:d,padding:c,flipVariations:m,allowedAutoPlacements:g}):_)},[]),k=t.rects.reference,T=t.rects.popper,I=new Map,D=!0,$=E[0],P=0;P<E.length;P++){var W=E[P],Z=Tr(W),ne=$o(W)===Fo,z=[kn,Wn].indexOf(Z)>=0,q=z?"width":"height",X=ms(t,{placement:W,boundary:u,rootBoundary:d,altBoundary:f,padding:c}),N=z?ne?Hn:Sn:ne?Wn:kn;k[q]>T[q]&&(N=Jl(N));var ce=Jl(N),he=[];if(o&&he.push(X[Z]<=0),s&&he.push(X[N]<=0,X[ce]<=0),he.every(function(V){return V})){$=W,D=!1;break}I.set(W,he)}if(D)for(var C=m?3:1,R=function(_){var Q=E.find(function(ie){var re=I.get(ie);if(re)return re.slice(0,_).every(function(me){return me})});if(Q)return $=Q,"break"},J=C;J>0;J--){var S=R(J);if(S==="break")break}t.placement!==$&&(t.modifiersData[r]._skip=!0,t.placement=$,t.reset=!0)}}const vM={name:"flip",enabled:!0,phase:"main",fn:yM,requiresIfExists:["offset"],data:{_skip:!1}};function K3(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 Y3(e){return[kn,Hn,Wn,Sn].some(function(t){return e[t]>=0})}function bM(e){var t=e.state,n=e.name,r=t.rects.reference,i=t.rects.popper,o=t.modifiersData.preventOverflow,a=ms(t,{elementContext:"reference"}),s=ms(t,{altBoundary:!0}),l=K3(a,r),c=K3(s,i,o),u=Y3(l),d=Y3(c);t.modifiersData[n]={referenceClippingOffsets:l,popperEscapeOffsets:c,isReferenceHidden:u,hasPopperEscaped:d},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":d})}const xM={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:bM};function CM(e,t,n){var r=Tr(e),i=[Sn,kn].indexOf(r)>=0?-1:1,o=typeof n=="function"?n(Object.assign({},t,{placement:e})):n,a=o[0],s=o[1];return a=a||0,s=(s||0)*i,[Sn,Hn].indexOf(r)>=0?{x:s,y:a}:{x:a,y:s}}function wM(e){var t=e.state,n=e.options,r=e.name,i=n.offset,o=i===void 0?[0,0]:i,a=L3.reduce(function(u,d){return u[d]=CM(d,t.rects,o),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 kM={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:wM};function SM(e){var t=e.state,n=e.name;t.modifiersData[n]=Z3({reference:t.rects.reference,element:t.rects.popper,placement:t.placement})}const TM={name:"popperOffsets",enabled:!0,phase:"read",fn:SM,data:{}};function _M(e){return e==="x"?"y":"x"}function EM(e){var t=e.state,n=e.options,r=e.name,i=n.mainAxis,o=i===void 0?!0:i,a=n.altAxis,s=a===void 0?!1:a,l=n.boundary,c=n.rootBoundary,u=n.altBoundary,d=n.padding,f=n.tether,p=f===void 0?!0:f,m=n.tetherOffset,g=m===void 0?0:m,y=ms(t,{boundary:l,rootBoundary:c,padding:d,altBoundary:u}),v=Tr(t.placement),x=$o(t.placement),w=!x,E=Kf(v),k=_M(E),T=t.modifiersData.popperOffsets,I=t.rects.reference,D=t.rects.popper,$=typeof g=="function"?g(Object.assign({},t.rects,{placement:t.placement})):g,P=typeof $=="number"?{mainAxis:$,altAxis:$}:Object.assign({mainAxis:0,altAxis:0},$),W=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,Z={x:0,y:0};if(T){if(o){var ne,z=E==="y"?kn:Sn,q=E==="y"?Wn:Hn,X=E==="y"?"height":"width",N=T[E],ce=N+y[z],he=N-y[q],C=p?-D[X]/2:0,R=x===Fo?I[X]:D[X],J=x===Fo?-D[X]:-I[X],S=t.elements.arrow,V=p&&S?Zf(S):{width:0,height:0},_=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:N3(),Q=_[z],ie=_[q],re=ps(0,I[X],V[X]),me=w?I[X]/2-C-re-Q-P.mainAxis:R-re-Q-P.mainAxis,pe=w?-I[X]/2+C+re+ie+P.mainAxis:J+re+ie+P.mainAxis,ke=t.elements.arrow&&fs(t.elements.arrow),K=ke?E==="y"?ke.clientTop||0:ke.clientLeft||0:0,je=(ne=W==null?void 0:W[E])!=null?ne:0,$e=N+me-je-K,F=N+pe-je,ee=ps(p?Kl(ce,$e):ce,N,p?$i(he,F):he);T[E]=ee,Z[E]=ee-N}if(s){var oe,we=E==="x"?kn:Sn,ye=E==="x"?Wn:Hn,ve=T[k],Pe=k==="y"?"height":"width",Be=ve+y[we],ge=ve-y[ye],Y=[kn,Sn].indexOf(v)!==-1,le=(oe=W==null?void 0:W[k])!=null?oe:0,O=Y?Be:ve-I[Pe]-D[Pe]-le+P.altAxis,U=Y?ve+I[Pe]+D[Pe]-le-P.altAxis:ge,ue=p&&Y?XI(O,ve,U):ps(p?O:Be,ve,p?U:ge);T[k]=ue,Z[k]=ue-ve}t.modifiersData[r]=Z}}const PM={name:"preventOverflow",enabled:!0,phase:"main",fn:EM,requiresIfExists:["offset"]};function AM(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function jM(e){return e===Mn(e)||!Un(e)?Yf(e):AM(e)}function IM(e){var t=e.getBoundingClientRect(),n=zo(t.width)/e.offsetWidth||1,r=zo(t.height)/e.offsetHeight||1;return n!==1||r!==1}function MM(e,t,n){n===void 0&&(n=!1);var r=Un(t),i=Un(t)&&IM(t),o=ai(t),a=Lo(e,i,n),s={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(r||!r&&!n)&&((Sr(t)!=="body"||Jf(o))&&(s=jM(t)),Un(t)?(l=Lo(t,!0),l.x+=t.clientLeft,l.y+=t.clientTop):o&&(l.x=Xf(o))),{x:a.left+s.scrollLeft-l.x,y:a.top+s.scrollTop-l.y,width:a.width,height:a.height}}function DM(e){var t=new Map,n=new Set,r=[];e.forEach(function(o){t.set(o.name,o)});function i(o){n.add(o.name);var a=[].concat(o.requires||[],o.requiresIfExists||[]);a.forEach(function(s){if(!n.has(s)){var l=t.get(s);l&&i(l)}}),r.push(o)}return e.forEach(function(o){n.has(o.name)||i(o)}),r}function OM(e){var t=DM(e);return UI.reduce(function(n,r){return n.concat(t.filter(function(i){return i.phase===r}))},[])}function FM(e){var t;return function(){return t||(t=new Promise(function(n){Promise.resolve().then(function(){t=void 0,n(e())})})),t}}function zM(e){var t=e.reduce(function(n,r){var i=n[r.name];return n[r.name]=i?Object.assign({},i,r,{options:Object.assign({},i.options,r.options),data:Object.assign({},i.data,r.data)}):r,n},{});return Object.keys(t).map(function(n){return t[n]})}var X3={placement:"bottom",modifiers:[],strategy:"absolute"};function J3(){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 LM(e){e===void 0&&(e={});var t=e,n=t.defaultModifiers,r=n===void 0?[]:n,i=t.defaultOptions,o=i===void 0?X3:i;return function(s,l,c){c===void 0&&(c=o);var u={placement:"bottom",orderedModifiers:[],options:Object.assign({},X3,o),modifiersData:{},elements:{reference:s,popper:l},attributes:{},styles:{}},d=[],f=!1,p={state:u,setOptions:function(v){var x=typeof v=="function"?v(u.options):v;g(),u.options=Object.assign({},o,u.options,x),u.scrollParents={reference:Li(s)?hs(s):s.contextElement?hs(s.contextElement):[],popper:hs(l)};var w=OM(zM([].concat(r,u.options.modifiers)));return u.orderedModifiers=w.filter(function(E){return E.enabled}),m(),p.update()},forceUpdate:function(){if(!f){var v=u.elements,x=v.reference,w=v.popper;if(J3(x,w)){u.rects={reference:MM(x,fs(w),u.options.strategy==="fixed"),popper:Zf(w)},u.reset=!1,u.placement=u.options.placement,u.orderedModifiers.forEach(function(P){return u.modifiersData[P.name]=Object.assign({},P.data)});for(var E=0;E<u.orderedModifiers.length;E++){if(u.reset===!0){u.reset=!1,E=-1;continue}var k=u.orderedModifiers[E],T=k.fn,I=k.options,D=I===void 0?{}:I,$=k.name;typeof T=="function"&&(u=T({state:u,options:D,name:$,instance:p})||u)}}}},update:FM(function(){return new Promise(function(y){p.forceUpdate(),y(u)})}),destroy:function(){g(),f=!0}};if(!J3(s,l))return p;p.setOptions(c).then(function(y){!f&&c.onFirstUpdate&&c.onFirstUpdate(y)});function m(){u.orderedModifiers.forEach(function(y){var v=y.name,x=y.options,w=x===void 0?{}:x,E=y.effect;if(typeof E=="function"){var k=E({state:u,name:v,instance:p,options:w}),T=function(){};d.push(k||T)}})}function g(){d.forEach(function(y){return y()}),d=[]}return p}}var $M=[sM,TM,oM,ZI,kM,vM,PM,tM,xM],BM=LM({defaultModifiers:$M});const Bo=(e,t)=>({var:e,varRef:t?`var(${e}, ${t})`:`var(${e})`}),nn={arrowShadowColor:Bo("--popper-arrow-shadow-color"),arrowSize:Bo("--popper-arrow-size","8px"),arrowSizeHalf:Bo("--popper-arrow-size-half"),arrowBg:Bo("--popper-arrow-bg"),transformOrigin:Bo("--popper-transform-origin"),arrowOffset:Bo("--popper-arrow-offset")};function RM(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 NM={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"},VM=e=>NM[e],Q3={scroll:!0,resize:!0};function WM(e){let t;return typeof e=="object"?t={enabled:!0,options:{...Q3,...e}}:t={enabled:e,options:Q3},t}const HM={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`}},UM={name:"transformOrigin",enabled:!0,phase:"write",fn:({state:e})=>{e4(e)},effect:({state:e})=>()=>{e4(e)}},e4=e=>{e.elements.popper.style.setProperty(nn.transformOrigin.var,VM(e.placement))},qM={name:"positionArrow",enabled:!0,phase:"afterWrite",fn:({state:e})=>{GM(e)}},GM=e=>{var n;if(!e.placement)return;const t=ZM(e.placement);if((n=e.elements)!=null&&n.arrow&&t){Object.assign(e.elements.arrow.style,{[t.property]:t.value,width:nn.arrowSize.varRef,height:nn.arrowSize.varRef,zIndex:-1});const r={[nn.arrowSizeHalf.var]:`calc(${nn.arrowSize.varRef} / 2 - 1px)`,[nn.arrowOffset.var]:`calc(${nn.arrowSizeHalf.varRef} * -1)`};for(const i in r)e.elements.arrow.style.setProperty(i,r[i])}},ZM=e=>{if(e.startsWith("top"))return{property:"bottom",value:nn.arrowOffset.varRef};if(e.startsWith("bottom"))return{property:"top",value:nn.arrowOffset.varRef};if(e.startsWith("left"))return{property:"right",value:nn.arrowOffset.varRef};if(e.startsWith("right"))return{property:"left",value:nn.arrowOffset.varRef}},KM={name:"innerArrow",enabled:!0,phase:"main",requires:["arrow"],fn:({state:e})=>{t4(e)},effect:({state:e})=>()=>{t4(e)}},t4=e=>{if(!e.elements.arrow)return;const t=e.elements.arrow.querySelector("[data-popper-arrow-inner]");if(!t)return;const n=RM(e.placement);n&&t.style.setProperty("--popper-arrow-default-shadow",n),Object.assign(t.style,{transform:"rotate(45deg)",background:nn.arrowBg.varRef,top:0,left:0,width:"100%",height:"100%",position:"absolute",zIndex:"inherit",boxShadow:"var(--popper-arrow-shadow, var(--popper-arrow-default-shadow))"})},YM={"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"}},XM={"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 JM(e,t="ltr"){var r;const n=((r=YM[e])==null?void 0:r[t])||e;return t==="ltr"?n:XM[e]??n}function n4(e={}){const{enabled:t=!0,modifiers:n,placement:r="bottom",strategy:i="absolute",arrowPadding:o=8,eventListeners:a=!0,offset:s,gutter:l=8,flip:c=!0,boundary:u="clippingParents",preventOverflow:d=!0,matchWidth:f,direction:p="ltr"}=e,m=b.useRef(null),g=b.useRef(null),y=b.useRef(null),v=JM(r,p),x=b.useRef(()=>{}),w=b.useCallback(()=>{var P;!t||!m.current||!g.current||((P=x.current)==null||P.call(x),y.current=BM(m.current,g.current,{placement:v,modifiers:[KM,qM,UM,{...HM,enabled:!!f},{name:"eventListeners",...WM(a)},{name:"arrow",options:{padding:o}},{name:"offset",options:{offset:s??[0,l]}},{name:"flip",enabled:!!c,options:{padding:8}},{name:"preventOverflow",enabled:!!d,options:{boundary:u}},...n??[]],strategy:i}),y.current.forceUpdate(),x.current=y.current.destroy)},[v,t,n,f,a,o,s,l,c,d,u,i]);b.useEffect(()=>()=>{var P;!m.current&&!g.current&&((P=y.current)==null||P.destroy(),y.current=null)},[]);const E=b.useCallback(P=>{m.current=P,w()},[w]),k=b.useCallback((P={},W=null)=>({...P,ref:Jt(E,W)}),[E]),T=b.useCallback(P=>{g.current=P,w()},[w]),I=b.useCallback((P={},W=null)=>({...P,ref:Jt(T,W),style:{...P.style,position:i,minWidth:f?void 0:"max-content",inset:"0 auto auto 0"}}),[i,T,f]),D=b.useCallback((P={},W=null)=>{const{size:Z,shadowColor:ne,bg:z,style:q,...X}=P;return{...X,ref:W,"data-popper-arrow":"",style:QM(P)}},[]),$=b.useCallback((P={},W=null)=>({...P,ref:W,"data-popper-arrow-inner":""}),[]);return{update(){var P;(P=y.current)==null||P.update()},forceUpdate(){var P;(P=y.current)==null||P.forceUpdate()},transformOrigin:nn.transformOrigin.varRef,referenceRef:E,popperRef:T,getPopperProps:I,getArrowProps:D,getArrowInnerProps:$,getReferenceProps:k}}function QM(e){const{size:t,shadowColor:n,bg:r,style:i}=e,o={...i,position:"absolute"};return t&&(o["--popper-arrow-size"]=t),n&&(o["--popper-arrow-shadow-color"]=n),r&&(o["--popper-arrow-bg"]=r),o}function eD(){const e=b.useRef(new Map),t=e.current,n=b.useCallback((i,o,a,s)=>{e.current.set(a,{type:o,el:i,options:s}),i.addEventListener(o,a,s)},[]),r=b.useCallback((i,o,a,s)=>{i.removeEventListener(o,a,s),e.current.delete(a)},[]);return b.useEffect(()=>()=>{t.forEach((i,o)=>{r(i.el,i.type,o,i.options)})},[r,t]),{add:n,remove:r}}function ep(e){var i,o;const t=((o=(i=e.composedPath)==null?void 0:i.call(e))==null?void 0:o[0])??e.target,{tagName:n,isContentEditable:r}=t;return n!=="INPUT"&&n!=="TEXTAREA"&&r!==!0}function r4(e={}){const{ref:t,isDisabled:n,isFocusable:r,clickOnEnter:i=!0,clickOnSpace:o=!0,onMouseDown:a,onMouseUp:s,onClick:l,onKeyDown:c,onKeyUp:u,tabIndex:d,onMouseOver:f,onMouseLeave:p,...m}=e,[g,y]=b.useState(!0),[v,x]=b.useState(!1),w=eD(),E=N=>{N&&N.tagName!=="BUTTON"&&y(!1)},k=g?d:d||0,T=n&&!r,I=b.useCallback(N=>{if(n){N.stopPropagation(),N.preventDefault();return}N.currentTarget.focus(),l==null||l(N)},[n,l]),D=b.useCallback(N=>{v&&ep(N)&&(N.preventDefault(),N.stopPropagation(),x(!1),w.remove(document,"keyup",D,!1))},[v,w]),$=b.useCallback(N=>{if(c==null||c(N),n||N.defaultPrevented||N.metaKey||!ep(N.nativeEvent)||g)return;const ce=i&&N.key==="Enter";o&&N.key===" "&&(N.preventDefault(),x(!0)),ce&&(N.preventDefault(),N.currentTarget.click()),w.add(document,"keyup",D,!1)},[n,g,c,i,o,w,D]),P=b.useCallback(N=>{if(u==null||u(N),n||N.defaultPrevented||N.metaKey||!ep(N.nativeEvent)||g)return;o&&N.key===" "&&(N.preventDefault(),x(!1),N.currentTarget.click())},[o,g,n,u]),W=b.useCallback(N=>{N.button===0&&(x(!1),w.remove(document,"mouseup",W,!1))},[w]),Z=b.useCallback(N=>{if(N.button!==0)return;if(n){N.stopPropagation(),N.preventDefault();return}g||x(!0),N.currentTarget.focus({preventScroll:!0}),w.add(document,"mouseup",W,!1),a==null||a(N)},[n,g,a,w,W]),ne=b.useCallback(N=>{N.button===0&&(g||x(!1),s==null||s(N))},[s,g]),z=b.useCallback(N=>{if(n){N.preventDefault();return}f==null||f(N)},[n,f]),q=b.useCallback(N=>{v&&(N.preventDefault(),x(!1)),p==null||p(N)},[v,p]),X=Jt(t,E);return g?{...m,ref:X,type:"button","aria-disabled":T?void 0:n,disabled:T,onClick:I,onMouseDown:a,onMouseUp:s,onKeyUp:u,onKeyDown:c,onMouseOver:f,onMouseLeave:p}:{...m,ref:X,role:"button","data-active":Ue(v),"aria-disabled":n?"true":void 0,tabIndex:T?void 0:k,onClick:I,onMouseDown:Z,onMouseUp:ne,onKeyUp:P,onKeyDown:$,onMouseOver:z,onMouseLeave:q}}const[tD,nD,rD,iD]=tf(),[oD,gs]=St({strict:!1,name:"MenuContext"});function i4(e){return(e==null?void 0:e.ownerDocument)??document}function aD(e){return i4(e).activeElement===e}function sD(e={}){const{id:t,closeOnSelect:n=!0,closeOnBlur:r=!0,initialFocusRef:i,autoSelect:o=!0,isLazy:a,isOpen:s,defaultIsOpen:l,onClose:c,onOpen:u,placement:d="bottom-start",lazyBehavior:f="unmount",direction:p,computePositionOnMount:m=!1,...g}=e,y=b.useRef(null),v=b.useRef(null),x=b.useRef(!0),w=rD(),E=b.useCallback(()=>{requestAnimationFrame(()=>{var S;(S=y.current)==null||S.focus({preventScroll:!1})})},[]),k=b.useCallback(()=>{const S=setTimeout(()=>{var V,_;if(i)(V=i.current)==null||V.focus();else if(!w.count())(_=y.current)==null||_.focus({preventScroll:!1});else{const Q=w.firstEnabled();Q&&z(Q.index)}});he.current.add(S)},[w,i]),T=b.useCallback(()=>{const S=setTimeout(()=>{var V;if(!w.count())(V=y.current)==null||V.focus({preventScroll:!1});else{const _=w.lastEnabled();_&&z(_.index)}});he.current.add(S)},[w]),I=b.useCallback(()=>{u==null||u(),o?k():E()},[o,k,E,u]),{isOpen:D,onOpen:$,onClose:P,onToggle:W}=D1({isOpen:s,defaultIsOpen:l,onClose:c,onOpen:I});Eb({enabled:D&&r,ref:y,handler:S=>{var _,Q,ie;const V=((Q=(_=S.composedPath)==null?void 0:_.call(S))==null?void 0:Q[0])??S.target;(ie=v.current)!=null&&ie.contains(V)||P()}});const Z=n4({...g,enabled:D||m,placement:d,direction:p}),[ne,z]=b.useState(-1);wb(y,{focusRef:v,visible:D});const q=xb({isOpen:D,ref:y}),[X,N]=Sb(t,"menu-button","menu-list"),ce=b.useCallback(()=>{$(),E()},[$,E]),he=b.useRef(new Set([]));b.useEffect(()=>{const S=he.current;return()=>{S.forEach(V=>clearTimeout(V)),S.clear()}},[]),Xi(()=>{var S;D||(z(-1),(S=y.current)==null||S.scrollTo(0,0))},[D]),Xi(()=>{D&&ne===-1&&E()},[ne,D]),b.useEffect(()=>{var V;if(!D)return;const S=w.item(ne);(V=S==null?void 0:S.node)==null||V.focus({preventScroll:!x.current})},[w,ne,D]);const C=b.useCallback(()=>{$(),k()},[k,$]),R=b.useCallback(()=>{x.current=!0,$(),T()},[$,T]),J=b.useCallback(()=>{var ie,re;const S=i4(y.current),V=(ie=y.current)==null?void 0:ie.contains(S.activeElement);if(!(D&&!V))return;const Q=(re=w.item(ne))==null?void 0:re.node;Q==null||Q.focus({preventScroll:!x.current})},[D,ne,w]);return{openAndFocusMenu:ce,openAndFocusFirstItem:C,openAndFocusLastItem:R,onTransitionEnd:J,unstable__animationState:q,descendants:w,popper:Z,buttonId:X,menuId:N,forceUpdate:Z.forceUpdate,orientation:"vertical",isOpen:D,onToggle:W,onOpen:$,onClose:P,menuRef:y,buttonRef:v,focusedIndex:ne,closeOnSelect:n,closeOnBlur:r,autoSelect:o,setFocusedIndex:z,isLazy:a,lazyBehavior:f,initialFocusRef:i,scrollIntoViewRef:x}}function lD(e={},t=null){const n=gs(),{onToggle:r,popper:i,openAndFocusFirstItem:o,openAndFocusLastItem:a,scrollIntoViewRef:s}=n,l=b.useCallback(c=>{const u=c.key,f={Enter:o,ArrowDown:o,ArrowUp:a}[u];f&&(s.current=!0,c.preventDefault(),c.stopPropagation(),f(c))},[o,a,s]);return{...e,ref:Jt(n.buttonRef,t,i.referenceRef),id:n.buttonId,"data-active":Ue(n.isOpen),"aria-expanded":n.isOpen,"aria-haspopup":"menu","aria-controls":n.menuId,onClick:tt(e.onClick,r),onKeyDown:tt(e.onKeyDown,l)}}function tp(e){var t;return fD(e)&&!!((t=e==null?void 0:e.getAttribute("role"))!=null&&t.startsWith("menuitem"))}function cD(e={},t=null){const n=gs();if(!n)throw new Error("useMenuContext: context is undefined. Seems you forgot to wrap component within <Menu>");const{focusedIndex:r,setFocusedIndex:i,menuRef:o,isOpen:a,onClose:s,menuId:l,isLazy:c,lazyBehavior:u,scrollIntoViewRef:d,unstable__animationState:f}=n,p=nD(),m=DI({preventDefault:x=>x.key!==" "&&tp(x.target)}),g=b.useCallback(x=>{if(!x.currentTarget.contains(x.target))return;const w=x.key,k={Tab:I=>I.preventDefault(),Escape:I=>{I.stopPropagation(),s()},ArrowDown:()=>{d.current=!0;const I=p.nextEnabled(r)??p.firstEnabled();I&&i(I.index)},ArrowUp:()=>{d.current=!0;const I=p.prevEnabled(r)??p.firstEnabled();I&&i(I.index)}}[w];if(k){x.preventDefault(),k(x);return}const T=m(I=>{const D=II(p.values(),I,$=>{var P;return((P=$==null?void 0:$.node)==null?void 0:P.textContent)??""},p.item(r));if(D){const $=p.indexOf(D.node);i($)}});tp(x.target)&&T(x)},[p,r,m,s,i,d]),y=b.useRef(!1);a&&(y.current=!0);const v=fb({wasSelected:y.current,enabled:c,mode:u,isSelected:f.present});return{...e,ref:Jt(o,t),children:v?e.children:null,tabIndex:-1,role:"menu",id:l,style:{...e.style,transformOrigin:"var(--popper-transform-origin)"},"aria-orientation":"vertical",onKeyDown:tt(e.onKeyDown,g)}}function uD(e={}){const{popper:t,isOpen:n}=gs();return t.getPopperProps({...e,style:{visibility:n?"visible":"hidden",...e.style}})}function dD(e={},t=null){const{onMouseEnter:n,onMouseMove:r,onMouseLeave:i,onClick:o,onFocus:a,isDisabled:s,isFocusable:l,closeOnSelect:c,type:u,...d}=e,f=gs(),{setFocusedIndex:p,focusedIndex:m,closeOnSelect:g,onClose:y,menuId:v,scrollIntoViewRef:x}=f,w=b.useRef(null),E=`${v}-menuitem-${b.useId()}`,{index:k,register:T}=iD({disabled:s&&!l}),I=b.useCallback(z=>{n==null||n(z),!s&&(x.current=!1,p(k))},[p,k,s,n,x]),D=b.useCallback(z=>{r==null||r(z),w.current&&!aD(w.current)&&I(z)},[I,r]),$=b.useCallback(z=>{i==null||i(z),!s&&p(-1)},[p,s,i]),P=b.useCallback(z=>{o==null||o(z),tp(z.currentTarget)&&(c??g)&&y()},[y,o,g,c]),W=b.useCallback(z=>{a==null||a(z),p(k)},[p,a,k]),Z=k===m,ne=r4({onClick:P,onFocus:W,onMouseEnter:I,onMouseMove:D,onMouseLeave:$,ref:Jt(T,w,t),isDisabled:s,isFocusable:l});return{...d,...ne,type:u??ne.type,id:E,role:"menuitem",tabIndex:Z?0:-1}}function fD(e){if(!pD(e))return!1;const t=e.ownerDocument.defaultView??window;return e instanceof t.HTMLElement}function pD(e){return e!=null&&typeof e=="object"&&"nodeType"in e&&e.nodeType===Node.ELEMENT_NODE}const[hD,ys]=St({name:"MenuStylesContext",errorMessage:`useMenuStyles returned is 'undefined'. Seems you forgot to wrap the components in "<Menu />" `}),Ql=e=>{const{children:t}=e,n=pn("Menu",e),r=Ft(e),{direction:i}=Qa(),{descendants:o,...a}=sD({...r,direction:i}),s=b.useMemo(()=>a,[a]),{isOpen:l,onClose:c,forceUpdate:u}=s;return h.jsx(tD,{value:o,children:h.jsx(oD,{value:s,children:h.jsx(hD,{value:n,children:Pn(t,{isOpen:l,onClose:c,forceUpdate:u})})})})};Ql.displayName="Menu";const mD=Ce((e,t)=>{const n=ys();return h.jsx(fe.button,{ref:t,...e,__css:{display:"inline-flex",appearance:"none",alignItems:"center",outline:0,...n.button}})}),ec=Ce((e,t)=>{const{children:n,as:r,...i}=e,o=lD(i,t),a=r||mD;return h.jsx(a,{...o,className:Ie("chakra-menu__menu-button",e.className),children:h.jsx(fe.span,{__css:{pointerEvents:"none",flex:"1 1 auto",minW:0},children:e.children})})});ec.displayName="MenuButton";const o4=Ce((e,t)=>{const n=ys();return h.jsx(fe.span,{ref:t,...e,__css:n.command,className:"chakra-menu__command"})});o4.displayName="MenuCommand";const a4=e=>{const{className:t,children:n,...r}=e,i=ys(),o=b.Children.only(n),a=b.isValidElement(o)?b.cloneElement(o,{focusable:"false","aria-hidden":!0,className:Ie("chakra-menu__icon",o.props.className)}):null,s=Ie("chakra-menu__icon-wrapper",t);return h.jsx(fe.span,{className:s,...r,__css:i.icon,children:a})};a4.displayName="MenuIcon";const gD=Ce((e,t)=>{const{type:n,...r}=e,i=ys(),o=r.as||n?n??void 0:"button",a=b.useMemo(()=>({textDecoration:"none",color:"inherit",userSelect:"none",display:"flex",width:"100%",alignItems:"center",textAlign:"start",flex:"0 0 auto",outline:0,...i.item}),[i.item]);return h.jsx(fe.button,{ref:t,type:o,...r,__css:a})}),Ro=Ce((e,t)=>{const{icon:n,iconSpacing:r="0.75rem",command:i,commandSpacing:o="0.75rem",children:a,...s}=e,l=dD(s,t),u=n||i?h.jsx("span",{style:{pointerEvents:"none",flex:1},children:a}):a;return h.jsxs(gD,{...l,className:Ie("chakra-menu__menuitem",l.className),children:[n&&h.jsx(a4,{fontSize:"0.8em",marginEnd:r,children:n}),u,i&&h.jsx(o4,{marginStart:o,children:i})]})});Ro.displayName="MenuItem";const yD={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"}}},vD=fe(br.div),tc=Ce(function(t,n){var f;const{rootProps:r,motionProps:i,...o}=t,{isOpen:a,onTransitionEnd:s,unstable__animationState:l}=gs(),c=cD(o,n),u=uD(r),d=ys();return h.jsx(fe.div,{...u,__css:{zIndex:t.zIndex??((f=d.list)==null?void 0:f.zIndex)},children:h.jsx(vD,{variants:yD,initial:!1,animate:a?"enter":"exit",__css:{outline:0,...d.list},...i,...c,className:Ie("chakra-menu__menu-list",c.className),onUpdate:s,onAnimationComplete:S1(l.onComplete,c.onAnimationComplete)})})});tc.displayName="MenuList";var bD=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},No=new WeakMap,nc=new WeakMap,rc={},np=0,s4=function(e){return e&&(e.host||s4(e.parentNode))},xD=function(e,t){return t.map(function(n){if(e.contains(n))return n;var r=s4(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})},CD=function(e,t,n,r){var i=xD(t,Array.isArray(e)?e:[e]);rc[n]||(rc[n]=new WeakMap);var o=rc[n],a=[],s=new Set,l=new Set(i),c=function(d){!d||s.has(d)||(s.add(d),c(d.parentNode))};i.forEach(c);var u=function(d){!d||l.has(d)||Array.prototype.forEach.call(d.children,function(f){if(s.has(f))u(f);else try{var p=f.getAttribute(r),m=p!==null&&p!=="false",g=(No.get(f)||0)+1,y=(o.get(f)||0)+1;No.set(f,g),o.set(f,y),a.push(f),g===1&&m&&nc.set(f,!0),y===1&&f.setAttribute(n,"true"),m||f.setAttribute(r,"true")}catch(v){console.error("aria-hidden: cannot operate on ",f,v)}})};return u(t),s.clear(),np++,function(){a.forEach(function(d){var f=No.get(d)-1,p=o.get(d)-1;No.set(d,f),o.set(d,p),f||(nc.has(d)||d.removeAttribute(r),nc.delete(d)),p||d.removeAttribute(n)}),np--,np||(No=new WeakMap,No=new WeakMap,nc=new WeakMap,rc={})}},wD=function(e,t,n){n===void 0&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),i=bD(e);return i?(r.push.apply(r,Array.from(i.querySelectorAll("[aria-live]"))),CD(r,i,n,"aria-hidden")):function(){return null}},kD=Object.defineProperty,SD=(e,t,n)=>t in e?kD(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,TD=(e,t,n)=>(SD(e,t+"",n),n);class _D{constructor(){TD(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 rp=new _D;function l4(e,t){const[n,r]=b.useState(0);return b.useEffect(()=>{const i=e.current;if(i){if(t){const o=rp.add(i);r(o)}return()=>{rp.remove(i),r(0)}}},[t,e]),n}function ED(e){const{isOpen:t,onClose:n,id:r,closeOnOverlayClick:i=!0,closeOnEsc:o=!0,useInert:a=!0,onOverlayClick:s,onEsc:l}=e,c=b.useRef(null),u=b.useRef(null),[d,f,p]=AD(r,"chakra-modal","chakra-modal--header","chakra-modal--body");PD(c,t&&a);const m=l4(c,t),g=b.useRef(null),y=b.useCallback($=>{g.current=$.target},[]),v=b.useCallback($=>{$.key==="Escape"&&($.stopPropagation(),o&&(n==null||n()),l==null||l())},[o,n,l]),[x,w]=b.useState(!1),[E,k]=b.useState(!1),T=b.useCallback(($={},P=null)=>({role:"dialog",...$,ref:Jt(P,c),id:d,tabIndex:-1,"aria-modal":!0,"aria-labelledby":x?f:void 0,"aria-describedby":E?p:void 0,onClick:tt($.onClick,W=>W.stopPropagation())}),[p,E,d,f,x]),I=b.useCallback($=>{$.stopPropagation(),g.current===$.target&&rp.isTopModal(c.current)&&(i&&(n==null||n()),s==null||s())},[n,i,s]),D=b.useCallback(($={},P=null)=>({...$,ref:Jt(P,u),onClick:tt($.onClick,I),onKeyDown:tt($.onKeyDown,v),onMouseDown:tt($.onMouseDown,y)}),[v,y,I]);return{isOpen:t,onClose:n,headerId:f,bodyId:p,setBodyMounted:k,setHeaderMounted:w,dialogRef:c,overlayRef:u,getDialogProps:T,getDialogContainerProps:D,index:m}}function PD(e,t){const n=e.current;b.useEffect(()=>{if(!(!e.current||!t))return wD(e.current)},[t,e,n])}function AD(e,...t){const n=b.useId(),r=e||n;return b.useMemo(()=>t.map(i=>`${i}-${r}`),[r,t])}const[jD,Vo]=St({name:"ModalStylesContext",errorMessage:`useModalStyles returned is 'undefined'. Seems you forgot to wrap the components in "<Modal />" `}),[ID,Bi]=St({strict:!0,name:"ModalContext",errorMessage:"useModalContext: `context` is undefined. Seems you forgot to wrap modal components in `<Modal />`"}),vs=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:i,trapFocus:o,initialFocusRef:a,finalFocusRef:s,returnFocusOnClose:l,blockScrollOnMount:c,allowPinchZoom:u,preserveScrollBarGap:d,motionPreset:f,lockFocusAcrossFrames:p,animatePresenceProps:m,onCloseComplete:g}=t,y=pn("Modal",t),x={...ED(t),autoFocus:i,trapFocus:o,initialFocusRef:a,finalFocusRef:s,returnFocusOnClose:l,blockScrollOnMount:c,allowPinchZoom:u,preserveScrollBarGap:d,motionPreset:f,lockFocusAcrossFrames:p};return h.jsx(ID,{value:x,children:h.jsx(jD,{value:y,children:h.jsx(Ti,{...m,onExitComplete:g,children:x.isOpen&&h.jsx(Eo,{...n,children:r})})})})};vs.displayName="Modal";var ic="right-scroll-bar-position",oc="width-before-scroll-bar",MD="with-scroll-bars-hidden",DD="--removed-body-scroll-bar-size",c4=qg(),ip=function(){},ac=Se.forwardRef(function(e,t){var n=Se.useRef(null),r=Se.useState({onScrollCapture:ip,onWheelCapture:ip,onTouchMoveCapture:ip}),i=r[0],o=r[1],a=e.forwardProps,s=e.children,l=e.className,c=e.removeScrollBar,u=e.enabled,d=e.shards,f=e.sideCar,p=e.noIsolation,m=e.inert,g=e.allowPinchZoom,y=e.as,v=y===void 0?"div":y,x=e.gapMode,w=Wg(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as","gapMode"]),E=f,k=Vg([n,t]),T=wr(wr({},w),i);return Se.createElement(Se.Fragment,null,u&&Se.createElement(E,{sideCar:c4,removeScrollBar:c,shards:d,noIsolation:p,inert:m,setCallbacks:o,allowPinchZoom:!!g,lockRef:n,gapMode:x}),a?Se.cloneElement(Se.Children.only(s),wr(wr({},T),{ref:k})):Se.createElement(v,wr({},T,{className:l,ref:k}),s))});ac.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},ac.classNames={fullWidth:oc,zeroRight:ic};var OD=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function FD(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=OD();return t&&e.setAttribute("nonce",t),e}function zD(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function LD(e){var t=document.head||document.getElementsByTagName("head")[0];t.appendChild(e)}var $D=function(){var e=0,t=null;return{add:function(n){e==0&&(t=FD())&&(zD(t,n),LD(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},BD=function(){var e=$D();return function(t,n){Se.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},u4=function(){var e=BD(),t=function(n){var r=n.styles,i=n.dynamic;return e(r,i),null};return t},RD={left:0,top:0,right:0,gap:0},op=function(e){return parseInt(e||"",10)||0},ND=function(e){var t=window.getComputedStyle(document.body),n=t[e==="padding"?"paddingLeft":"marginLeft"],r=t[e==="padding"?"paddingTop":"marginTop"],i=t[e==="padding"?"paddingRight":"marginRight"];return[op(n),op(r),op(i)]},VD=function(e){if(e===void 0&&(e="margin"),typeof window>"u")return RD;var t=ND(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])}},WD=u4(),Wo="data-scroll-locked",HD=function(e,t,n,r){var i=e.left,o=e.top,a=e.right,s=e.gap;return n===void 0&&(n="margin"),`
|
|
352
|
+
.`.concat(MD,` {
|
|
353
353
|
overflow: hidden `).concat(r,`;
|
|
354
354
|
padding-right: `).concat(s,"px ").concat(r,`;
|
|
355
355
|
}
|
|
356
|
-
body[`).concat(
|
|
356
|
+
body[`).concat(Wo,`] {
|
|
357
357
|
overflow: hidden `).concat(r,`;
|
|
358
358
|
overscroll-behavior: contain;
|
|
359
359
|
`).concat([t&&"position: relative ".concat(r,";"),n==="margin"&&`
|
|
360
|
-
padding-left: `.concat(
|
|
361
|
-
padding-top: `).concat(
|
|
360
|
+
padding-left: `.concat(i,`px;
|
|
361
|
+
padding-top: `).concat(o,`px;
|
|
362
362
|
padding-right: `).concat(a,`px;
|
|
363
363
|
margin-left:0;
|
|
364
364
|
margin-top:0;
|
|
@@ -366,38 +366,70 @@ Valid keys: `+JSON.stringify(Object.keys(O),null," "));var H=ke(Q,de,B,C,J+"."+
|
|
|
366
366
|
`),n==="padding"&&"padding-right: ".concat(s,"px ").concat(r,";")].filter(Boolean).join(""),`
|
|
367
367
|
}
|
|
368
368
|
|
|
369
|
-
.`).concat(
|
|
369
|
+
.`).concat(ic,` {
|
|
370
370
|
right: `).concat(s,"px ").concat(r,`;
|
|
371
371
|
}
|
|
372
372
|
|
|
373
|
-
.`).concat(
|
|
373
|
+
.`).concat(oc,` {
|
|
374
374
|
margin-right: `).concat(s,"px ").concat(r,`;
|
|
375
375
|
}
|
|
376
376
|
|
|
377
|
-
.`).concat(
|
|
377
|
+
.`).concat(ic," .").concat(ic,` {
|
|
378
378
|
right: 0 `).concat(r,`;
|
|
379
379
|
}
|
|
380
380
|
|
|
381
|
-
.`).concat(
|
|
381
|
+
.`).concat(oc," .").concat(oc,` {
|
|
382
382
|
margin-right: 0 `).concat(r,`;
|
|
383
383
|
}
|
|
384
384
|
|
|
385
|
-
body[`).concat(
|
|
386
|
-
`).concat(
|
|
385
|
+
body[`).concat(Wo,`] {
|
|
386
|
+
`).concat(DD,": ").concat(s,`px;
|
|
387
387
|
}
|
|
388
|
-
`)},
|
|
388
|
+
`)},d4=function(){var e=parseInt(document.body.getAttribute(Wo)||"0",10);return isFinite(e)?e:0},UD=function(){Se.useEffect(function(){return document.body.setAttribute(Wo,(d4()+1).toString()),function(){var e=d4()-1;e<=0?document.body.removeAttribute(Wo):document.body.setAttribute(Wo,e.toString())}},[])},qD=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,i=r===void 0?"margin":r;UD();var o=Se.useMemo(function(){return VD(i)},[i]);return Se.createElement(WD,{styles:HD(o,!t,i,n?"":"!important")})},ap=!1;if(typeof window<"u")try{var sc=Object.defineProperty({},"passive",{get:function(){return ap=!0,!0}});window.addEventListener("test",sc,sc),window.removeEventListener("test",sc,sc)}catch{ap=!1}var Ho=ap?{passive:!1}:!1,GD=function(e){return e.tagName==="TEXTAREA"},f4=function(e,t){if(!(e instanceof Element))return!1;var n=window.getComputedStyle(e);return n[t]!=="hidden"&&!(n.overflowY===n.overflowX&&!GD(e)&&n[t]==="visible")},ZD=function(e){return f4(e,"overflowY")},KD=function(e){return f4(e,"overflowX")},p4=function(e,t){var n=t.ownerDocument,r=t;do{typeof ShadowRoot<"u"&&r instanceof ShadowRoot&&(r=r.host);var i=h4(e,r);if(i){var o=m4(e,r),a=o[1],s=o[2];if(a>s)return!0}r=r.parentNode}while(r&&r!==n.body);return!1},YD=function(e){var t=e.scrollTop,n=e.scrollHeight,r=e.clientHeight;return[t,n,r]},XD=function(e){var t=e.scrollLeft,n=e.scrollWidth,r=e.clientWidth;return[t,n,r]},h4=function(e,t){return e==="v"?ZD(t):KD(t)},m4=function(e,t){return e==="v"?YD(t):XD(t)},JD=function(e,t){return e==="h"&&t==="rtl"?-1:1},QD=function(e,t,n,r,i){var o=JD(e,window.getComputedStyle(t).direction),a=o*r,s=n.target,l=t.contains(s),c=!1,u=a>0,d=0,f=0;do{var p=m4(e,s),m=p[0],g=p[1],y=p[2],v=g-y-o*m;(m||v)&&h4(e,s)&&(d+=v,f+=m),s instanceof ShadowRoot?s=s.host:s=s.parentNode}while(!l&&s!==document.body||l&&(t.contains(s)||t===s));return(u&&Math.abs(d)<1||!u&&Math.abs(f)<1)&&(c=!0),c},lc=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},g4=function(e){return[e.deltaX,e.deltaY]},y4=function(e){return e&&"current"in e?e.current:e},eO=function(e,t){return e[0]===t[0]&&e[1]===t[1]},tO=function(e){return`
|
|
389
389
|
.block-interactivity-`.concat(e,` {pointer-events: none;}
|
|
390
390
|
.allow-interactivity-`).concat(e,` {pointer-events: all;}
|
|
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:ue,getArrowProps:se}=u3({enabled:P,placement:u,arrowPadding:v,modifiers:S,gutter:w,offset:j,direction:x}),L=g.useId(),Y=`tooltip-${f??L}`,N=g.useRef(null),ce=g.useRef(),he=g.useCallback(()=>{ce.current&&(clearTimeout(ce.current),ce.current=void 0)},[]),O=g.useRef(),F=g.useCallback(()=>{O.current&&(clearTimeout(O.current),O.current=void 0)},[]),G=g.useCallback(()=>{F(),R()},[R,F]),V=QA(N,G),B=g.useCallback(()=>{if(!y&&!ce.current){P&&V();const H=wl(N);ce.current=H.setTimeout(D,t)}},[V,y,P,D,t]),C=g.useCallback(()=>{he();const H=wl(N);O.current=H.setTimeout(G,n)},[n,G,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&&G()},{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?Y:void 0}),[B,C,Q,P,Y,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:Y,role:"tooltip",style:De}},[E,Y]);return{isOpen:P,show:B,hide:C,getTriggerProps:me,getTooltipProps:ke,getTooltipPositionerProps:de,getArrowProps:se,getArrowInnerProps:ue}}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)=>{const[ue,se]=g.useState(""),L=Z=>{se(Z),o(Z)};return 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:Z=>L(Z.target.value),...z,ref:X,fontFamily:i,fontSize:a,color:ue===""?"black.300":"black.500",sx:{"&:focus-visible":{color:"#222222",borderColor:"#c1c1c1",boxShadow:"none"}},disabled:w,children:r.map(Z=>d.jsx("option",{value:Z.value,color:"black.500",children:Z.name},Z.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})=>{const[o,i,a]=Xs("colors",[t,"black.400","black.100"]),s=Lt(o,.3)({});function l(c){const u=c.split(" ");if(u.length<=2)return c;{const f=u.slice(0,2).join(" "),p=u.slice(2).join(" ");return f+`
|
|
392
|
-
`+p}}return d.jsx(dt,{width:"100%",align:"center",justify:"center",children:e.map((c,u)=>{const f=c.isCompleted&&n;return d.jsxs(dt,{align:"center",children:[d.jsxs(dt,{align:"center",cursor:f?"pointer":"default",onClick:()=>{f&&n(u)},children:[d.jsx(Ph,{ml:u!==0?"10px":void 0,size:"40px",bg:c.isCompleted&&!c.isActive&&u!==r?s:"white",border:`2px solid ${c.isCompleted||c.isActive?o:a}`,children:d.jsx(Be,{fontSize:"14px",color:c.isCompleted||c.isActive?o:i,fontWeight:c.isActive?"bold":"normal",children:c.isCompleted&&u===e.length-1?d.jsx(lM,{color:o}):u+1})}),d.jsx(Be,{ml:3,mr:2,color:c.isCompleted||c.isActive?o:i,fontSize:"sm",fontWeight:c.isCompleted||c.isActive?"bold":"normal",textAlign:"initial",whiteSpace:"pre-line",wordBreak:"break-word",children:l(c.label)})]}),u<e.length-1&&d.jsx(Lh,{width:"64px",flex:"1",borderWidth:"2px",borderColor:c.isCompleted||c.isActive?o:a,mx:2})]},u)})})},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
|
|
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 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]),ue=g.useMemo(function(){return typeof v=="function"?v:k4},[v]),se=g.useMemo(function(){return typeof m=="function"?m:k4},[m]),L=g.useRef(null),Z=g.useRef(null),Y=g.useReducer(AO,vf),N=pf(Y,2),ce=N[0],he=N[1],O=ce.isFocused,F=ce.isFileDialogActive,G=g.useRef(typeof window<"u"&&window.isSecureContext&&S&&pO()),V=function(){!G.current&&F&&setTimeout(function(){if(Z.current){var oe=Z.current.files;oe.length||(he({type:"closeDialog"}),se())}},300)};g.useEffect(function(){return window.addEventListener("focus",V,!1),function(){window.removeEventListener("focus",V,!1)}},[Z,F,se,G]);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,le=ie>0&&cO({files:oe,accept:z,minSize:a,maxSize:i,multiple:s,maxFiles:l,validator:R}),Ie=ie>0&&!le;he({isDragAccept:le,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(le){return L.current&&L.current.contains(le)}),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=[],le=[];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)),le.push({file:Ie,errors:fn.filter(function(xn){return xn})})}}),(!s&&ie.length>1||s&&l>=1&&ie.length>l)&&(ie.forEach(function(Ie){le.push({file:Ie,errors:[lO]})}),ie.splice(0)),he({acceptedFiles:ie,fileRejections:le,isDragReject:le.length>0,type:"setFiles"}),p&&p(ie,le,oe),le.length>0&&b&&b(le,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(G.current){he({type:"openDialog"}),ue();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)?(se(oe),he({type:"closeDialog"})):vO(oe)?(G.current=!1,Z.current?(Z.current.value=null,Z.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}Z.current&&(he({type:"openDialog"}),ue(),Z.current.value=null,Z.current.click())},[he,ue,se,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,le=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 le=="string"&&le!==""?le:"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,le=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(le,ke)),onClick:re(sr(Ie,$e)),tabIndex:-1},ie,Z);return kt(kt({},ot),bt)}},[Z,n,s,ke,r]);return kt(kt({},ce),{},{isFocused:O&&!r,getRootProps:je,getInputProps:fe,rootRef:L,inputRef:Z,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(ue=>X.name.endsWith(ue)));R.forEach(X=>{const{file:ue,errors:se}=X;se.forEach(L=>{L.code==="file-too-large"?f({title:"Archivo demasiado grande",description:`El archivo "${ue.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 "${ue.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),ue=Y=>{a(Y.target.value)},se=Jt[u],L=se[200],Z=se[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 ${Z}`,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:ue,bg:"white",isReadOnly:b,isDisabled:m,minHeight:S,color:v,sx:{resize:"none"}}):d.jsx(Ta,{ref:R,placeholder:o,value:i,onChange:ue,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;/*!
|
|
391
|
+
`)},nO=0,Uo=[];function rO(e){var t=Se.useRef([]),n=Se.useRef([0,0]),r=Se.useRef(),i=Se.useState(nO++)[0],o=Se.useState(u4)[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(i));var g=pj([e.lockRef.current],(e.shards||[]).map(y4),!0).filter(Boolean);return g.forEach(function(y){return y.classList.add("allow-interactivity-".concat(i))}),function(){document.body.classList.remove("block-interactivity-".concat(i)),g.forEach(function(y){return y.classList.remove("allow-interactivity-".concat(i))})}}},[e.inert,e.lockRef.current,e.shards]);var s=Se.useCallback(function(g,y){if("touches"in g&&g.touches.length===2||g.type==="wheel"&&g.ctrlKey)return!a.current.allowPinchZoom;var v=lc(g),x=n.current,w="deltaX"in g?g.deltaX:x[0]-v[0],E="deltaY"in g?g.deltaY:x[1]-v[1],k,T=g.target,I=Math.abs(w)>Math.abs(E)?"h":"v";if("touches"in g&&I==="h"&&T.type==="range")return!1;var D=p4(I,T);if(!D)return!0;if(D?k=I:(k=I==="v"?"h":"v",D=p4(I,T)),!D)return!1;if(!r.current&&"changedTouches"in g&&(w||E)&&(r.current=k),!k)return!0;var $=r.current||k;return QD($,y,g,$==="h"?w:E)},[]),l=Se.useCallback(function(g){var y=g;if(!(!Uo.length||Uo[Uo.length-1]!==o)){var v="deltaY"in y?g4(y):lc(y),x=t.current.filter(function(k){return k.name===y.type&&(k.target===y.target||y.target===k.shadowParent)&&eO(k.delta,v)})[0];if(x&&x.should){y.cancelable&&y.preventDefault();return}if(!x){var w=(a.current.shards||[]).map(y4).filter(Boolean).filter(function(k){return k.contains(y.target)}),E=w.length>0?s(y,w[0]):!a.current.noIsolation;E&&y.cancelable&&y.preventDefault()}}},[]),c=Se.useCallback(function(g,y,v,x){var w={name:g,delta:y,target:v,should:x,shadowParent:iO(v)};t.current.push(w),setTimeout(function(){t.current=t.current.filter(function(E){return E!==w})},1)},[]),u=Se.useCallback(function(g){n.current=lc(g),r.current=void 0},[]),d=Se.useCallback(function(g){c(g.type,g4(g),g.target,s(g,e.lockRef.current))},[]),f=Se.useCallback(function(g){c(g.type,lc(g),g.target,s(g,e.lockRef.current))},[]);Se.useEffect(function(){return Uo.push(o),e.setCallbacks({onScrollCapture:d,onWheelCapture:d,onTouchMoveCapture:f}),document.addEventListener("wheel",l,Ho),document.addEventListener("touchmove",l,Ho),document.addEventListener("touchstart",u,Ho),function(){Uo=Uo.filter(function(g){return g!==o}),document.removeEventListener("wheel",l,Ho),document.removeEventListener("touchmove",l,Ho),document.removeEventListener("touchstart",u,Ho)}},[]);var p=e.removeScrollBar,m=e.inert;return Se.createElement(Se.Fragment,null,m?Se.createElement(o,{styles:tO(i)}):null,p?Se.createElement(qD,{gapMode:e.gapMode}):null)}function iO(e){for(var t=null;e!==null;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}const oO=hj(c4,rO);var v4=Se.forwardRef(function(e,t){return Se.createElement(ac,wr({},e,{ref:t,sideCar:oO}))});v4.classNames=ac.classNames;function aO(e){const{autoFocus:t,trapFocus:n,dialogRef:r,initialFocusRef:i,blockScrollOnMount:o,allowPinchZoom:a,finalFocusRef:s,returnFocusOnClose:l,preserveScrollBarGap:c,lockFocusAcrossFrames:u,isOpen:d}=Bi(),[f,p]=Nu();b.useEffect(()=>{!f&&p&&setTimeout(p)},[f,p]);const m=l4(r,d);return h.jsx(_3,{autoFocus:t,isDisabled:!n,initialFocusRef:i,finalFocusRef:s,restoreFocus:l,contentRef:r,lockFocusAcrossFrames:u,children:h.jsx(v4,{removeScrollBar:!c,allowPinchZoom:a,enabled:m===1&&o,forwardProps:!0,children:e.children})})}const bs={initial:"initial",animate:"enter",exit:"exit",variants:{initial:({offsetX:e,offsetY:t,transition:n,transitionEnd:r,delay:i})=>({opacity:0,x:e,y:t,transition:(n==null?void 0:n.exit)??Wr.exit(Mi.exit,i),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)??Wr.enter(Mi.enter,n),transitionEnd:t==null?void 0:t.enter}),exit:({offsetY:e,offsetX:t,transition:n,transitionEnd:r,reverse:i,delay:o})=>{const a={x:t,y:e};return{opacity:0,transition:(n==null?void 0:n.exit)??Wr.exit(Mi.exit,o),...i?{...a,transitionEnd:r==null?void 0:r.exit}:{transitionEnd:{...a,...r==null?void 0:r.exit}}}}}},sO=b.forwardRef(function(t,n){const{unmountOnExit:r,in:i,reverse:o=!0,className:a,offsetX:s=0,offsetY:l=8,transition:c,transitionEnd:u,delay:d,animatePresenceProps:f,...p}=t,m=r?i&&r:!0,g=i||r?"enter":"exit",y={offsetX:s,offsetY:l,reverse:o,transition:c,transitionEnd:u,delay:d};return h.jsx(Ti,{...f,custom:y,children:m&&h.jsx(br.div,{ref:n,className:Ie("chakra-offset-slide",a),custom:y,...bs,animate:g,...p})})});sO.displayName="SlideFade";const b4={initial:"exit",animate:"enter",exit:"exit",variants:{exit:({reverse:e,initialScale:t,transition:n,transitionEnd:r,delay:i})=>({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)??Wr.exit(Mi.exit,i)}),enter:({transitionEnd:e,transition:t,delay:n})=>({opacity:1,scale:1,transition:(t==null?void 0:t.enter)??Wr.enter(Mi.enter,n),transitionEnd:e==null?void 0:e.enter})}},lO=b.forwardRef(function(t,n){const{unmountOnExit:r,in:i,reverse:o=!0,initialScale:a=.95,className:s,transition:l,transitionEnd:c,delay:u,animatePresenceProps:d,...f}=t,p=r?i&&r:!0,m=i||r?"enter":"exit",g={initialScale:a,reverse:o,transition:l,transitionEnd:c,delay:u};return h.jsx(Ti,{...d,custom:g,children:p&&h.jsx(br.div,{ref:n,className:Ie("chakra-offset-slide",s),...b4,animate:m,custom:g,...f})})});lO.displayName="ScaleFade";const cO={slideInBottom:{...bs,custom:{offsetY:16,reverse:!0}},slideInRight:{...bs,custom:{offsetX:16,reverse:!0}},slideInTop:{...bs,custom:{offsetY:-16,reverse:!0}},slideInLeft:{...bs,custom:{offsetX:-16,reverse:!0}},scale:{...b4,custom:{initialScale:.95,reverse:!0}},none:{}},uO=fe(br.section),dO=e=>cO[e||"none"],x4=b.forwardRef((e,t)=>{const{preset:n,motionProps:r=dO(n),...i}=e;return h.jsx(uO,{ref:t,...r,...i})});x4.displayName="ModalTransition";const xs=Ce((e,t)=>{const{className:n,children:r,containerProps:i,motionProps:o,...a}=e,{getDialogProps:s,getDialogContainerProps:l}=Bi(),c=s(a,t),u=l(i),d=Ie("chakra-modal__content",n),f=Vo(),p={display:"flex",flexDirection:"column",position:"relative",width:"100%",outline:0,...f.dialog},m={display:"flex",width:"100vw",height:"$100vh",position:"fixed",left:0,top:0,...f.dialogContainer},{motionPreset:g}=Bi();return h.jsx(aO,{children:h.jsx(fe.div,{...u,className:"chakra-modal__content-container",tabIndex:-1,__css:m,children:h.jsx(x4,{preset:g,motionProps:o,className:d,...c,__css:p,children:r})})})});xs.displayName="ModalContent";const Cs=Ce((e,t)=>{const{className:n,...r}=e,{bodyId:i,setBodyMounted:o}=Bi();b.useEffect(()=>(o(!0),()=>o(!1)),[o]);const a=Ie("chakra-modal__body",n),s=Vo();return h.jsx(fe.div,{ref:t,className:a,id:i,...r,__css:s.body})});Cs.displayName="ModalBody";const C4=Ce((e,t)=>{const{onClick:n,className:r,...i}=e,{onClose:o}=Bi(),a=Ie("chakra-modal__close-btn",r),s=Vo();return h.jsx(Jd,{ref:t,__css:s.closeButton,className:a,onClick:tt(n,l=>{l.stopPropagation(),o()}),...i})});C4.displayName="ModalCloseButton";const cc=Ce((e,t)=>{const{className:n,...r}=e,i=Ie("chakra-modal__footer",n),o=Vo(),a={display:"flex",alignItems:"center",justifyContent:"flex-end",...o.footer};return h.jsx(fe.footer,{ref:t,...r,__css:a,className:i})});cc.displayName="ModalFooter";const ws=Ce((e,t)=>{const{className:n,...r}=e,{headerId:i,setHeaderMounted:o}=Bi();b.useEffect(()=>(o(!0),()=>o(!1)),[o]);const a=Ie("chakra-modal__header",n),s=Vo(),l={flex:0,...s.header};return h.jsx(fe.header,{ref:t,className:a,id:i,...r,__css:l})});ws.displayName="ModalHeader";const w4={initial:"exit",animate:"enter",exit:"exit",variants:{enter:({transition:e,transitionEnd:t,delay:n}={})=>({opacity:1,transition:(e==null?void 0:e.enter)??Wr.enter(Mi.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)??Wr.exit(Mi.exit,n),transitionEnd:t==null?void 0:t.exit})}},fO=b.forwardRef(function(t,n){const{unmountOnExit:r,in:i,className:o,transition:a,transitionEnd:s,delay:l,animatePresenceProps:c,...u}=t,d=i||r?"enter":"exit",f=r?i&&r:!0,p={transition:a,transitionEnd:s,delay:l};return h.jsx(Ti,{...c,custom:p,children:f&&h.jsx(br.div,{ref:n,className:Ie("chakra-fade",o),custom:p,...w4,animate:d,...u})})});fO.displayName="Fade";const pO=fe(br.div),ks=Ce((e,t)=>{const{className:n,transition:r,motionProps:i,...o}=e,a=Ie("chakra-modal__overlay",n),l={pos:"fixed",left:"0",top:"0",w:"100vw",h:"100vh",...Vo().overlay},{motionPreset:c}=Bi(),d=i||(c==="none"?{}:w4);return h.jsx(pO,{...d,__css:l,ref:t,className:a,...o})});ks.displayName="ModalOverlay";function hO(e){var n;const t=Se.version;return typeof t!="string"||t.startsWith("18.")?e==null?void 0:e.ref:(n=e==null?void 0:e.props)==null?void 0:n.ref}function mO(e,t,n){return(e-t)*100/(n-t)}Rr({"0%":{strokeDasharray:"1, 400",strokeDashoffset:"0"},"50%":{strokeDasharray:"400, 400",strokeDashoffset:"-100"},"100%":{strokeDasharray:"400, 400",strokeDashoffset:"-260"}}),Rr({"0%":{transform:"rotate(0deg)"},"100%":{transform:"rotate(360deg)"}});const gO=Rr({"0%":{left:"-40%"},"100%":{left:"100%"}}),yO=Rr({from:{backgroundPosition:"1rem 0"},to:{backgroundPosition:"0 0"}});function vO(e){const{value:t=0,min:n,max:r,valueText:i,getValueText:o,isIndeterminate:a,role:s="progressbar"}=e,l=mO(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 o=="function"?o(t,l):i})(),role:s},percent:l,value:t}}const[bO,xO]=St({name:"ProgressStylesContext",errorMessage:`useProgressStyles returned is 'undefined'. Seems you forgot to wrap the components in "<Progress />" `}),CO=Ce((e,t)=>{const{min:n,max:r,value:i,isIndeterminate:o,role:a,...s}=e,l=vO({value:i,min:n,max:r,isIndeterminate:o,role:a}),u={height:"100%",...xO().filledTrack};return h.jsx(fe.div,{ref:t,style:{width:`${l.percent}%`,...s.style},...l.bind,...s,__css:u})}),k4=Ce((e,t)=>{var I;const{value:n,min:r=0,max:i=100,hasStripe:o,isAnimated:a,children:s,borderRadius:l,isIndeterminate:c,"aria-label":u,"aria-labelledby":d,"aria-valuetext":f,title:p,role:m,...g}=Ft(e),y=pn("Progress",e),v=l??((I=y.track)==null?void 0:I.borderRadius),x={animation:`${yO} 1s linear infinite`},k={...!c&&o&&a&&x,...c&&{position:"absolute",willChange:"left",minWidth:"50%",animation:`${gO} 1s ease infinite normal none running`}},T={overflow:"hidden",position:"relative",...y.track};return h.jsx(fe.div,{ref:t,borderRadius:v,__css:T,...g,children:h.jsxs(bO,{value:y,children:[h.jsx(CO,{"aria-label":u,"aria-labelledby":d,"aria-valuetext":f,min:r,max:i,value:n,isIndeterminate:c,css:k,borderRadius:v,title:p,role:m}),s]})})});k4.displayName="Progress";const S4=Ce(function(t,n){const{children:r,placeholder:i,className:o,...a}=t;return h.jsxs(fe.select,{...a,ref:n,className:Ie("chakra-select",o),children:[i&&h.jsx("option",{value:"",children:i}),r]})});S4.displayName="SelectField";const T4=Ce((e,t)=>{var w;const n=pn("Select",e),{rootProps:r,placeholder:i,icon:o,color:a,height:s,h:l,minH:c,minHeight:u,iconColor:d,iconSize:f,...p}=Ft(e),[m,g]=yb(p,s6),y=cf(g),v={width:"100%",height:"fit-content",position:"relative",color:a},x={paddingEnd:"2rem",...n.field,_focus:{zIndex:"unset",...(w=n.field)==null?void 0:w._focus}};return h.jsxs(fe.div,{className:"chakra-select__wrapper",__css:v,...m,...r,children:[h.jsx(S4,{ref:t,height:l??s,minH:c??u,placeholder:i,...y,__css:x,children:e.children}),h.jsx(_4,{"data-disabled":Ue(y.disabled),...(d||a)&&{color:d||a},__css:n.icon,...f&&{fontSize:f},children:o})]})});T4.displayName="Select";const wO=e=>h.jsx("svg",{viewBox:"0 0 24 24",...e,children:h.jsx("path",{fill:"currentColor",d:"M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6z"})}),kO=fe("div",{baseStyle:{position:"absolute",display:"inline-flex",alignItems:"center",justifyContent:"center",pointerEvents:"none",top:"50%",transform:"translateY(-50%)"}}),_4=e=>{const{children:t=h.jsx(wO,{}),...n}=e,r=b.cloneElement(t,{role:"presentation",className:"chakra-select__icon",focusable:!1,"aria-hidden":!0,style:{width:"1em",height:"1em",color:"currentColor"}});return h.jsx(kO,{...n,className:"chakra-select__icon-wrapper",children:b.isValidElement(t)?r:null})};_4.displayName="SelectIcon";const E4=e=>h.jsx(fe.div,{className:"chakra-stack__item",...e,__css:{display:"inline-block",flex:"0 0 auto",minWidth:0,...e.__css}});E4.displayName="StackItem";function SO(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{"&":pb(n,i=>r[i])}}const sp=Ce((e,t)=>{const{isInline:n,direction:r,align:i,justify:o,spacing:a="0.5rem",wrap:s,children:l,divider:c,className:u,shouldWrapChildren:d,...f}=e,p=n?"row":r??"column",m=b.useMemo(()=>SO({spacing:a,direction:p}),[a,p]),g=!!c,y=!d&&!g,v=b.useMemo(()=>{const w=Nc(l);return y?w:w.map((E,k)=>{const T=typeof E.key<"u"?E.key:k,I=k+1===w.length,$=d?h.jsx(E4,{children:E},T):E;if(!g)return $;const P=b.cloneElement(c,{__css:m}),W=I?null:P;return h.jsxs(b.Fragment,{children:[$,W]},T)})},[c,m,g,y,d,l]),x=Ie("chakra-stack",u);return h.jsx(fe.div,{ref:t,display:"flex",alignItems:i,justifyContent:o,flexDirection:p,flexWrap:s,gap:g?void 0:a,className:x,...f,children:v})});sp.displayName="Stack";const qn=Ce((e,t)=>h.jsx(sp,{align:"center",...e,direction:"row",ref:t}));qn.displayName="HStack";const _r=Ce((e,t)=>h.jsx(sp,{align:"center",...e,direction:"column",ref:t}));_r.displayName="VStack";const P4=Ce(function(t,n){const r=pn("Switch",t),{spacing:i="0.5rem",children:o,...a}=Ft(t),{getIndicatorProps:s,getInputProps:l,getCheckboxProps:c,getRootProps:u,getLabelProps:d}=Ag(a),f=b.useMemo(()=>({display:"inline-block",position:"relative",verticalAlign:"middle",lineHeight:0,...r.container}),[r.container]),p=b.useMemo(()=>({display:"inline-flex",flexShrink:0,justifyContent:"flex-start",boxSizing:"content-box",cursor:"pointer",...r.track}),[r.track]),m=b.useMemo(()=>({userSelect:"none",marginStart:i,...r.label}),[i,r.label]);return h.jsxs(fe.label,{...u(),className:Ie("chakra-switch",t.className),__css:f,children:[h.jsx("input",{className:"chakra-switch__input",...l({},n)}),h.jsx(fe.span,{...c(),className:"chakra-switch__track",__css:p,children:h.jsx(fe.span,{__css:r.thumb,className:"chakra-switch__thumb",...s()})}),o&&h.jsx(fe.span,{className:"chakra-switch__label",...d(),__css:m,children:o})]})});P4.displayName="Switch";const[TO,_O,EO,PO]=tf();function AO(e){const{defaultIndex:t,onChange:n,index:r,isManual:i,isLazy:o,lazyBehavior:a="unmount",orientation:s="horizontal",direction:l="ltr",...c}=e,[u,d]=b.useState(t??0),[f,p]=M1({defaultValue:t??0,value:r,onChange:n});b.useEffect(()=>{r!=null&&d(r)},[r]);const m=EO(),g=b.useId();return{id:`tabs-${e.id??g}`,selectedIndex:f,focusedIndex:u,setSelectedIndex:p,setFocusedIndex:d,isManual:i,isLazy:o,lazyBehavior:a,orientation:s,descendants:m,direction:l,htmlProps:c}}const[jO,A4]=St({name:"TabsContext",errorMessage:"useTabsContext: `context` is undefined. Seems you forgot to wrap all tabs components within <Tabs />"});function IO(e){const{focusedIndex:t,orientation:n,direction:r}=A4(),i=_O(),o=b.useCallback(a=>{const s=()=>{var w;const x=i.nextEnabled(t);x&&((w=x.node)==null||w.focus())},l=()=>{var w;const x=i.prevEnabled(t);x&&((w=x.node)==null||w.focus())},c=()=>{var w;const x=i.firstEnabled();x&&((w=x.node)==null||w.focus())},u=()=>{var w;const x=i.lastEnabled();x&&((w=x.node)==null||w.focus())},d=n==="horizontal",f=n==="vertical",p=a.key,m=r==="ltr"?"ArrowLeft":"ArrowRight",g=r==="ltr"?"ArrowRight":"ArrowLeft",v={[m]:()=>d&&l(),[g]:()=>d&&s(),ArrowDown:()=>f&&s(),ArrowUp:()=>f&&l(),Home:c,End:u}[p];v&&(a.preventDefault(),v(a))},[i,t,n,r]);return{...e,role:"tablist","aria-orientation":n,onKeyDown:tt(e.onKeyDown,o)}}function MO(e){const{isDisabled:t=!1,isFocusable:n=!1,...r}=e,{setSelectedIndex:i,isManual:o,id:a,setFocusedIndex:s,selectedIndex:l}=A4(),{index:c,register:u}=PO({disabled:t&&!n}),d=c===l,f=()=>{i(c)},p=()=>{s(c),!o&&!(t&&n)&&i(c)};return{...r4({...r,ref:Jt(u,e.ref),isDisabled:t,isFocusable:n,onClick:tt(e.onClick,f)}),id:DO(a,c),role:"tab",tabIndex:d?0:-1,type:"button","aria-selected":d,"aria-controls":OO(a,c),onFocus:t?void 0:tt(e.onFocus,p)}}St({});function DO(e,t){return`${e}--tab-${t}`}function OO(e,t){return`${e}--tabpanel-${t}`}const[FO,j4]=St({name:"TabsStylesContext",errorMessage:`useTabsStyles returned is 'undefined'. Seems you forgot to wrap the components in "<Tabs />" `}),I4=Ce(function(t,n){const r=pn("Tabs",t),{children:i,className:o,...a}=Ft(t),{htmlProps:s,descendants:l,...c}=AO(a),u=b.useMemo(()=>c,[c]),{isFitted:d,...f}=s,p={position:"relative",...r.root};return h.jsx(TO,{value:l,children:h.jsx(jO,{value:u,children:h.jsx(FO,{value:r,children:h.jsx(fe.div,{className:Ie("chakra-tabs",o),ref:n,...f,__css:p,children:i})})})})});I4.displayName="Tabs";const M4=Ce(function(t,n){const r=j4(),i=MO({...t,ref:n}),o={outline:"0",display:"flex",alignItems:"center",justifyContent:"center",...r.tab};return h.jsx(fe.button,{...i,className:Ie("chakra-tabs__tab",t.className),__css:o})});M4.displayName="Tab";const D4=Ce(function(t,n){const r=IO({...t,ref:n}),i=j4(),o={display:"flex",...i.tablist};return h.jsx(fe.div,{...r,className:Ie("chakra-tabs__tablist",t.className),__css:o})});D4.displayName="TabList";const[zO,O4]=St({name:"TagStylesContext",errorMessage:`useTagStyles returned is 'undefined'. Seems you forgot to wrap the components in "<Tag />" `}),lp=Ce((e,t)=>{const n=pn("Tag",e),r=Ft(e),i={display:"inline-flex",verticalAlign:"top",alignItems:"center",maxWidth:"100%",...n.container};return h.jsx(zO,{value:n,children:h.jsx(fe.span,{ref:t,...r,__css:i})})});lp.displayName="Tag";const F4=Ce((e,t)=>{const n=O4();return h.jsx(fe.span,{ref:t,noOfLines:1,...e,__css:n.label})});F4.displayName="TagLabel";const LO=Ce((e,t)=>h.jsx(sn,{ref:t,verticalAlign:"top",marginEnd:"0.5rem",...e}));LO.displayName="TagLeftIcon";const $O=Ce((e,t)=>h.jsx(sn,{ref:t,verticalAlign:"top",marginStart:"0.5rem",...e}));$O.displayName="TagRightIcon";const z4=e=>h.jsx(sn,{verticalAlign:"inherit",viewBox:"0 0 512 512",...e,children:h.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"})});z4.displayName="TagCloseIcon";const L4=Ce((e,t)=>{const{isDisabled:n,children:r,...i}=e,a={display:"flex",alignItems:"center",justifyContent:"center",outline:"0",...O4().closeButton};return h.jsx(fe.button,{ref:t,"aria-label":"close",...i,type:"button",disabled:n,__css:a,children:r||h.jsx(z4,{})})});L4.displayName="TagCloseButton";const BO=["h","minH","height","minHeight"],uc=Ce((e,t)=>{const n=xr("Textarea",e),{className:r,rows:i,...o}=Ft(e),a=cf(o),s=i?Yi(n,BO):n;return h.jsx(fe.textarea,{ref:t,rows:i,...a,className:Ie("chakra-textarea",r),__css:s})});uc.displayName="Textarea";function RO(e,t){const n=e??"bottom",i={"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(i==null?void 0:i[t])??n}function NO(e,t){const n=i=>({...t,...i,position:RO((i==null?void 0:i.position)??(t==null?void 0:t.position),e)}),r=i=>{const o=n(i),a=tg(o);return Cr.notify(a,o)};return r.update=(i,o)=>{Cr.update(i,n(o))},r.promise=(i,o)=>{const a=r({...o.loading,status:"loading",duration:null});i.then(s=>r.update(a,{status:"success",duration:5e3,...Pn(o.success,s)})).catch(s=>r.update(a,{status:"error",duration:5e3,...Pn(o.error,s)}))},r.closeAll=Cr.closeAll,r.close=Cr.close,r.isActive=Cr.isActive,r}function $4(e){const{theme:t}=q2(),n=YP();return b.useMemo(()=>NO(t.direction,{...n,...e}),[e,t.direction,n])}const VO={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]}}}},cp=e=>{var t;return((t=e.current)==null?void 0:t.ownerDocument)||document},dc=e=>{var t,n;return((n=(t=e.current)==null?void 0:t.ownerDocument)==null?void 0:n.defaultView)||window};function WO(e={}){const{openDelay:t=0,closeDelay:n=0,closeOnClick:r=!0,closeOnMouseDown:i,closeOnScroll:o,closeOnPointerDown:a=i,closeOnEsc:s=!0,onOpen:l,onClose:c,placement:u,id:d,isOpen:f,defaultIsOpen:p,arrowSize:m=10,arrowShadowColor:g,arrowPadding:y,modifiers:v,isDisabled:x,gutter:w,offset:E,direction:k,...T}=e,{isOpen:I,onOpen:D,onClose:$}=D1({isOpen:f,defaultIsOpen:p,onOpen:l,onClose:c}),{referenceRef:P,getPopperProps:W,getArrowInnerProps:Z,getArrowProps:ne}=n4({enabled:I,placement:u,arrowPadding:y,modifiers:v,gutter:w,offset:E,direction:k}),z=b.useId(),X=`tooltip-${d??z}`,N=b.useRef(null),ce=b.useRef(void 0),he=b.useCallback(()=>{ce.current&&(clearTimeout(ce.current),ce.current=void 0)},[]),C=b.useRef(void 0),R=b.useCallback(()=>{C.current&&(clearTimeout(C.current),C.current=void 0)},[]),J=b.useCallback(()=>{R(),$()},[$,R]),S=HO(N,J),V=b.useCallback(()=>{if(!x&&!ce.current){I&&S();const K=dc(N);ce.current=K.setTimeout(D,t)}},[S,x,I,D,t]),_=b.useCallback(()=>{he();const K=dc(N);C.current=K.setTimeout(J,n)},[n,J,he]),Q=b.useCallback(()=>{I&&r&&_()},[r,_,I]),ie=b.useCallback(()=>{I&&a&&_()},[a,_,I]),re=b.useCallback(K=>{I&&K.key==="Escape"&&_()},[I,_]);Vs(()=>cp(N),"keydown",s?re:void 0),Vs(()=>{if(!o)return null;const K=N.current;if(!K)return null;const je=j1(K);return je.localName==="body"?dc(N):je},"scroll",()=>{I&&o&&J()},{passive:!0,capture:!0}),b.useEffect(()=>{x&&(he(),I&&$())},[x,I,$,he]),b.useEffect(()=>()=>{he(),R()},[he,R]),Vs(()=>N.current,"pointerleave",_);const me=b.useCallback((K={},je=null)=>({...K,ref:Jt(N,je,P),onPointerEnter:tt(K.onPointerEnter,F=>{F.pointerType!=="touch"&&V()}),onClick:tt(K.onClick,Q),onPointerDown:tt(K.onPointerDown,ie),onFocus:tt(K.onFocus,V),onBlur:tt(K.onBlur,_),"aria-describedby":I?X:void 0}),[V,_,ie,I,X,Q,P]),pe=b.useCallback((K={},je=null)=>W({...K,style:{...K.style,[nn.arrowSize.var]:m?`${m}px`:void 0,[nn.arrowShadowColor.var]:g}},je),[W,m,g]),ke=b.useCallback((K={},je=null)=>{const $e={...K.style,position:"relative",transformOrigin:nn.transformOrigin.varRef};return{ref:je,...T,...K,id:X,role:"tooltip",style:$e}},[T,X]);return{isOpen:I,show:V,hide:_,getTriggerProps:me,getTooltipProps:ke,getTooltipPositionerProps:pe,getArrowProps:ne,getArrowInnerProps:Z}}const up="chakra-ui:close-tooltip";function HO(e,t){return b.useEffect(()=>{const n=cp(e);return n.addEventListener(up,t),()=>n.removeEventListener(up,t)},[t,e]),()=>{const n=cp(e),r=dc(e);n.dispatchEvent(new r.CustomEvent(up))}}const UO=fe(br.div),fc=Ce((e,t)=>{const n=xr("Tooltip",e),r=Ft(e),i=Qa(),{children:o,label:a,shouldWrapChildren:s,"aria-label":l,hasArrow:c,bg:u,portalProps:d,background:f,backgroundColor:p,bgColor:m,motionProps:g,animatePresenceProps:y,...v}=r,x=f??p??u??m;if(x){n.bg=x;const P=y6(i,"colors",x);n[nn.arrowBg.var]=P}const w=WO({...v,direction:i.direction}),E=!b.isValidElement(o)||s;let k;if(E)k=h.jsx(fe.span,{display:"inline-block",tabIndex:0,...w.getTriggerProps(),children:o});else{const P=b.Children.only(o);k=b.cloneElement(P,w.getTriggerProps(P.props,hO(P)))}const T=!!l,I=w.getTooltipProps({},t),D=T?Yi(I,["role","id"]):I,$=A1(I,["role","id"]);return a?h.jsxs(h.Fragment,{children:[k,h.jsx(Ti,{...y,children:w.isOpen&&h.jsx(Eo,{...d,children:h.jsx(fe.div,{...w.getTooltipPositionerProps(),__css:{zIndex:n.zIndex,pointerEvents:"none"},children:h.jsxs(UO,{variants:VO,initial:"exit",animate:"enter",exit:"exit",...g,...D,__css:n,children:[a,T&&h.jsx(fe.span,{srOnly:!0,...$,children:l}),c&&h.jsx(fe.div,{"data-popper-arrow":!0,className:"chakra-tooltip__arrow-wrapper",children:h.jsx(fe.div,{"data-popper-arrow-inner":!0,className:"chakra-tooltip__arrow",__css:{bg:n.bg}})})]})})})})]}):h.jsx(h.Fragment,{children:o})});fc.displayName="Tooltip";const qe=Ce(function(t,n){const r=xr("Text",t),{className:i,align:o,decoration:a,casing:s,...l}=Ft(t),c=da({textAlign:t.align,textDecoration:t.decoration,textTransform:t.casing});return h.jsx(fe.p,{ref:n,className:Ie("chakra-text",t.className),...c,...l,__css:r})});qe.displayName="Text";const B4=Ce(function(t,n){const{spacing:r="0.5rem",spacingX:i,spacingY:o,children:a,justify:s,direction:l,align:c,className:u,shouldWrapChildren:d,...f}=t,p=b.useMemo(()=>d?b.Children.map(a,(m,g)=>h.jsx(dp,{children:m},g)):a,[a,d]);return h.jsx(fe.div,{ref:n,className:Ie("chakra-wrap",u),...f,children:h.jsx(fe.ul,{className:"chakra-wrap__list",__css:{display:"flex",flexWrap:"wrap",justifyContent:s,alignItems:c,flexDirection:l,listStyleType:"none",gap:r,columnGap:i,rowGap:o,padding:"0"},children:p})})});B4.displayName="Wrap";const dp=Ce(function(t,n){const{className:r,...i}=t;return h.jsx(fe.li,{ref:n,__css:{display:"flex",alignItems:"flex-start"},className:Ie("chakra-wrap__listitem",r),...i})});dp.displayName="WrapItem";const qO={Body:"Sansation-Regular, sans-serif",Heading:"Sansation-Bold, sans-serif",Lato:"Lato-Regular, sans-serif"},GO={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"}}}},mn={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"}},si=QA({config:{initialColorMode:"light",useSystemColorMode:!1},colors:mn,fonts:qO,styles:GO}),ZO=({children:e,...t})=>h.jsx(JP,{theme:si,...t,children:e}),KO=er({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"}),YO=er({d:"M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z",displayName:"ChevronLeftIcon"}),XO=er({d:"M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z",displayName:"ChevronRightIcon"}),fp=er({displayName:"ChevronDownIcon",d:"M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6z"}),R4=er({d:"M12 8l-6 6 1.41 1.41L12 10.83l4.59 4.58L18 14z",displayName:"ChevronUpIcon"}),Ss=er({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"}),pp=er({displayName:"InfoOutlineIcon",path:h.jsxs("g",{fill:"currentColor",stroke:"currentColor",strokeLinecap:"square",strokeWidth:"2",children:[h.jsx("circle",{cx:"12",cy:"12",fill:"none",r:"11",stroke:"currentColor"}),h.jsx("line",{fill:"none",x1:"11.959",x2:"11.959",y1:"11",y2:"17"}),h.jsx("circle",{cx:"11.959",cy:"7",r:"1",stroke:"none"})]})}),JO=er({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"}),N4=er({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"}),QO=er({viewBox:"0 0 14 14",path:h.jsx("g",{fill:"currentColor",children:h.jsx("polygon",{points:"5.5 11.9993304 14 3.49933039 12.5 2 5.5 8.99933039 1.5 4.9968652 0 6.49933039"})})}),eF=er({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"}),tF=b.forwardRef(({label:e="",fontFamilyLabel:t="sans-serif",fontSizeLabel:n="1rem",options:r,onChange:i,fontFamily:o="sans-serif",fontSize:a="1rem",info:s=!0,infoText:l="",bgColorTooltip:c="rgba(208, 203, 203, 1)",positionTooltip:u="right",borderTooltip:d="1px solid black",borderRadiusTooltip:f=".5rem",fontFamilyTooltip:p="Lato-Regular",fontSizeTooltip:m="0.75rem",textAlignTooltip:g="center",colorTextTooltip:y="black.500",isRequired:v=!0,hasArrowTooltip:x=!1,disableSelect:w=!1,textSubtitle:E="",subtitleAlign:k="left",colorTextSubtitle:T="black.500",spacingTextSubtitle:I="1rem 0",fontSizeSubtitle:D="1rem",fontFamilySubtitle:$="Lato",...P},W)=>{const[Z,ne]=b.useState(""),z=q=>{ne(q),i(q)};return h.jsxs(ns,{isRequired:v,children:[h.jsxs(Do,{display:"flex",alignItems:"center",fontSize:n,fontFamily:t,children:[e,s&&l&&h.jsx(fc,{label:l,"aria-label":"Más información",p:"10px",bg:c||"rgba(0, 0, 0, .5)",border:d,borderRadius:f,color:y,placement:u,fontFamily:p,fontSize:m,textAlign:g,hasArrow:x,children:h.jsx(tn,{icon:h.jsx(pp,{}),"aria-label":"Información",size:"sm",variant:"ghost",ml:2,color:"info.600"})})]}),h.jsxs(qe,{display:E!==""?"block":"none",textAlign:k,color:T,margin:I,fontSize:D,fontFamily:$,children:[" ",E]}),h.jsx(T4,{onChange:q=>z(q.target.value),...P,ref:W,fontFamily:o,fontSize:a,color:Z===""?"black.300":"black.500",sx:{"&:focus-visible":{color:"#222222",borderColor:"#c1c1c1",boxShadow:"none"}},disabled:w,children:r.map(q=>h.jsx("option",{value:q.value,color:"black.500",children:q.name},q.value))})]})});var V4={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},W4=b.createContext&&b.createContext(V4),nF=["attr","size","title"];function rF(e,t){if(e==null)return{};var n=iF(e,t),r,i;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(i=0;i<o.length;i++)r=o[i],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function iF(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 pc(){return pc=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},pc.apply(this,arguments)}function H4(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function hc(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?H4(Object(n),!0).forEach(function(r){oF(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):H4(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function oF(e,t,n){return t=aF(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function aF(e){var t=sF(e,"string");return typeof t=="symbol"?t:t+""}function sF(e,t){if(typeof e!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(typeof r!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function U4(e){return e&&e.map((t,n)=>b.createElement(t.tag,hc({key:n},t.attr),U4(t.child)))}function pt(e){return t=>b.createElement(lF,pc({attr:hc({},e.attr)},t),U4(e.child))}function lF(e){var t=n=>{var{attr:r,size:i,title:o}=e,a=rF(e,nF),s=i||n.size||"1em",l;return n.className&&(l=n.className),e.className&&(l=(l?l+" ":"")+e.className),b.createElement("svg",pc({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},n.attr,r,a,{className:l,style:hc(hc({color:e.color||n.color},n.style),e.style),height:s,width:s,xmlns:"http://www.w3.org/2000/svg"}),o&&b.createElement("title",null,o),e.children)};return W4!==void 0?b.createElement(W4.Consumer,null,n=>t(n)):t(V4)}function cF(e){return pt({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 uF(e){return pt({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 dF(e){return pt({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 fF(e){return pt({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 pF(e){return pt({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)}function hF(e){return pt({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 mF(e){return pt({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 gF(e){return pt({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 yF(e){return pt({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 vF(e){return pt({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 q4(e){return pt({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 bF(e){return pt({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 xF(e){return pt({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 CF(e){return pt({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 wF(e){return pt({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 G4(e){return pt({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 Z4(e){return pt({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 kF(e){return pt({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 SF(e){return pt({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 TF={arrowLeft:uF,arrowRight:dF,delete:kF,save:wF,added:CF,record:q4,file:vF,download:gF,arrowDownload:cF,circle:pF},_F=({text:e,type:t="solid",color:n,size:r="md",loading:i=!1,onClick:o,icon:a,buttonIcon:s=!1,iconSize:l="md",disabled:c,bgColor:u,...d})=>{const[f]=Wl("colors",[n]),p=a?TF[a]:void 0,m=(()=>{switch(t){case"solid":return Yt(f,.7)({});case"outline":return Yt(f,.1)({});case"surface":return Yt(f,.5)({});case"subtle":return Yt(f,.5)({});default:return"transparent"}})(),g=(()=>{switch(t){case"solid":return{bg:f,color:"white"};case"outline":return{bg:"transparent",color:f,borderColor:f,borderWidth:"1px"};case"surface":return{bg:Yt(f,.3)({}),color:f,borderColor:f,borderWidth:"1px"};case"subtle":return{bg:Yt(f,.3)({}),color:f,borderColor:f};default:return{}}})();return h.jsxs(hn,{onClick:o,size:r,isLoading:i,bg:u||g.bg,color:g.color,borderColor:g.borderColor,borderWidth:g.borderWidth,_hover:{bg:m},disabled:c,...d,children:[p&&h.jsx(sn,{fontSize:l,as:p,mr:s?0:2}),!s&&e]})};function EF(e){return pt({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 PF=({title:e,description:t,iconColor:n="elevate.500",onUpload:r,h:i="155px",w:o="155px",initialImage:a,isReadOnly:s=!1})=>{const[l,c]=b.useState(null);b.useEffect(()=>{typeof a=="string"?c(a):a instanceof File?c(URL.createObjectURL(a)):c(null)},[a]);const u=async d=>{var p;if(s)return;const f=(p=d.target.files)==null?void 0:p[0];if(f){const m=URL.createObjectURL(f);c(m),r&&await r(f)}};return h.jsxs(_r,{spacing:4,border:"1px dashed",borderColor:"gray.300",rounded:"md",align:"center",justify:"center",width:o,height:i,cursor:s?"default":"pointer",onClick:()=>{var d;s||(d=document.getElementById("file-input"))==null||d.click()},children:[l?h.jsx(A3,{src:l,alt:"Uploaded",boxSize:"100%",rounded:"md"}):h.jsxs(h.Fragment,{children:[h.jsx(sn,{as:EF,color:n,boxSize:8}),h.jsx(qe,{fontWeight:"bold",children:e}),h.jsx(qe,{fontSize:"sm",color:"gray.500",children:t})]}),!s&&h.jsx("input",{id:"file-input",type:"file",style:{display:"none"},accept:"image/*",onChange:u})]})},AF=({steps:e,color:t,onStepClick:n,activeStep:r})=>{const[i,o,a]=Wl("colors",[t,"black.400","black.100"]),s=Yt(i,.3)({});function l(c){const u=c.split(" ");if(u.length<=2)return c;{const d=u.slice(0,2).join(" "),f=u.slice(2).join(" ");return d+`
|
|
392
|
+
`+f}}return h.jsx(vt,{width:"100%",align:"center",justify:"center",children:e.map((c,u)=>{const d=c.isCompleted&&n;return h.jsxs(vt,{align:"center",children:[h.jsxs(vt,{align:"center",cursor:d?"pointer":"default",onClick:()=>{d&&n(u)},children:[h.jsx(Cg,{ml:u!==0?"10px":void 0,size:"40px",bg:c.isCompleted&&!c.isActive&&u!==r?s:"white",border:`2px solid ${c.isCompleted||c.isActive?i:a}`,children:h.jsx(qe,{fontSize:"14px",color:c.isCompleted||c.isActive?i:o,fontWeight:c.isActive?"bold":"normal",children:c.isCompleted&&u===e.length-1?h.jsx(QO,{color:i}):u+1})}),h.jsx(qe,{ml:3,mr:2,color:c.isCompleted||c.isActive?i:o,fontSize:"sm",fontWeight:c.isCompleted||c.isActive?"bold":"normal",textAlign:"initial",whiteSpace:"pre-line",wordBreak:"break-word",children:l(c.label)})]}),u<e.length-1&&h.jsx(Ig,{width:"64px",flex:"1",borderWidth:"2px",borderColor:c.isCompleted||c.isActive?i:a,mx:2})]},u)})})},jF=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 qo(e,t,n){const r=IF(e),{webkitRelativePath:i}=e,o=typeof t=="string"?t:typeof i=="string"&&i.length>0?i:`./${e.name}`;return typeof r.path!="string"&&K4(r,"path",o),K4(r,"relativePath",o),r}function IF(e){const{name:t}=e;if(t&&t.lastIndexOf(".")!==-1&&!e.type){const r=t.split(".").pop().toLowerCase(),i=jF.get(r);i&&Object.defineProperty(e,"type",{value:i,writable:!1,configurable:!1,enumerable:!0})}return e}function K4(e,t,n){Object.defineProperty(e,t,{value:n,writable:!1,configurable:!1,enumerable:!0})}const MF=[".DS_Store","Thumbs.db"];function DF(e){return Oi(this,void 0,void 0,function*(){return mc(e)&&OF(e.dataTransfer)?$F(e.dataTransfer,e.type):FF(e)?zF(e):Array.isArray(e)&&e.every(t=>"getFile"in t&&typeof t.getFile=="function")?LF(e):[]})}function OF(e){return mc(e)}function FF(e){return mc(e)&&mc(e.target)}function mc(e){return typeof e=="object"&&e!==null}function zF(e){return hp(e.target.files).map(t=>qo(t))}function LF(e){return Oi(this,void 0,void 0,function*(){return(yield Promise.all(e.map(n=>n.getFile()))).map(n=>qo(n))})}function $F(e,t){return Oi(this,void 0,void 0,function*(){if(e.items){const n=hp(e.items).filter(i=>i.kind==="file");if(t!=="drop")return n;const r=yield Promise.all(n.map(BF));return Y4(X4(r))}return Y4(hp(e.files).map(n=>qo(n)))})}function Y4(e){return e.filter(t=>MF.indexOf(t.name)===-1)}function hp(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 BF(e){if(typeof e.webkitGetAsEntry!="function")return J4(e);const t=e.webkitGetAsEntry();return t&&t.isDirectory?Q4(t):J4(e,t)}function X4(e){return e.reduce((t,n)=>[...t,...Array.isArray(n)?X4(n):[n]],[])}function J4(e,t){return Oi(this,void 0,void 0,function*(){var n;if(globalThis.isSecureContext&&typeof e.getAsFileSystemHandle=="function"){const o=yield e.getAsFileSystemHandle();if(o===null)throw new Error(`${e} is not a File`);if(o!==void 0){const a=yield o.getFile();return a.handle=o,qo(a)}}const r=e.getAsFile();if(!r)throw new Error(`${e} is not a File`);return qo(r,(n=t==null?void 0:t.fullPath)!==null&&n!==void 0?n:void 0)})}function RF(e){return Oi(this,void 0,void 0,function*(){return e.isDirectory?Q4(e):NF(e)})}function Q4(e){const t=e.createReader();return new Promise((n,r)=>{const i=[];function o(){t.readEntries(a=>Oi(this,void 0,void 0,function*(){if(a.length){const s=Promise.all(a.map(RF));i.push(s),o()}else try{const s=yield Promise.all(i);n(s)}catch(s){r(s)}}),a=>{r(a)})}o()})}function NF(e){return Oi(this,void 0,void 0,function*(){return new Promise((t,n)=>{e.file(r=>{const i=qo(r,e.fullPath);t(i)},r=>{n(r)})})})}var mp=function(e,t){if(e&&t){var n=Array.isArray(t)?t:t.split(",");if(n.length===0)return!0;var r=e.name||"",i=(e.type||"").toLowerCase(),o=i.replace(/\/.*$/,"");return n.some(function(a){var s=a.trim().toLowerCase();return s.charAt(0)==="."?r.toLowerCase().endsWith(s):s.endsWith("/*")?o===s.replace(/\/.*$/,""):i===s})}return!0};function ey(e){return HF(e)||WF(e)||iy(e)||VF()}function VF(){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 WF(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function HF(e){if(Array.isArray(e))return gp(e)}function ty(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function ny(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?ty(Object(n),!0).forEach(function(r){ry(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ty(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function ry(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ts(e,t){return GF(e)||qF(e,t)||iy(e,t)||UF()}function UF(){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 iy(e,t){if(e){if(typeof e=="string")return gp(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 gp(e,t)}}function gp(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 qF(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r=[],i=!0,o=!1,a,s;try{for(n=n.call(e);!(i=(a=n.next()).done)&&(r.push(a.value),!(t&&r.length===t));i=!0);}catch(l){o=!0,s=l}finally{try{!i&&n.return!=null&&n.return()}finally{if(o)throw s}}return r}}function GF(e){if(Array.isArray(e))return e}var ZF=typeof mp=="function"?mp:mp.default,KF="file-invalid-type",YF="file-too-large",XF="file-too-small",JF="too-many-files",QF=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:KF,message:"File type must be ".concat(r)}},oy=function(t){return{code:YF,message:"File is larger than ".concat(t," ").concat(t===1?"byte":"bytes")}},ay=function(t){return{code:XF,message:"File is smaller than ".concat(t," ").concat(t===1?"byte":"bytes")}},ez={code:JF,message:"Too many files"};function sy(e,t){var n=e.type==="application/x-moz-file"||ZF(e,t);return[n,n?null:QF(t)]}function ly(e,t,n){if(Ri(e.size))if(Ri(t)&&Ri(n)){if(e.size>n)return[!1,oy(n)];if(e.size<t)return[!1,ay(t)]}else{if(Ri(t)&&e.size<t)return[!1,ay(t)];if(Ri(n)&&e.size>n)return[!1,oy(n)]}return[!0,null]}function Ri(e){return e!=null}function tz(e){var t=e.files,n=e.accept,r=e.minSize,i=e.maxSize,o=e.multiple,a=e.maxFiles,s=e.validator;return!o&&t.length>1||o&&a>=1&&t.length>a?!1:t.every(function(l){var c=sy(l,n),u=Ts(c,1),d=u[0],f=ly(l,r,i),p=Ts(f,1),m=p[0],g=s?s(l):null;return d&&m&&!g})}function gc(e){return typeof e.isPropagationStopped=="function"?e.isPropagationStopped():typeof e.cancelBubble<"u"?e.cancelBubble:!1}function yc(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 cy(e){e.preventDefault()}function nz(e){return e.indexOf("MSIE")!==-1||e.indexOf("Trident/")!==-1}function rz(e){return e.indexOf("Edge/")!==-1}function iz(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:window.navigator.userAgent;return nz(e)||rz(e)}function Er(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(r){for(var i=arguments.length,o=new Array(i>1?i-1:0),a=1;a<i;a++)o[a-1]=arguments[a];return t.some(function(s){return!gc(r)&&s&&s.apply(void 0,[r].concat(o)),gc(r)})}}function oz(){return"showOpenFilePicker"in window}function az(e){if(Ri(e)){var t=Object.entries(e).filter(function(n){var r=Ts(n,2),i=r[0],o=r[1],a=!0;return uy(i)||(console.warn('Skipped "'.concat(i,'" 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(o)||!o.every(dy))&&(console.warn('Skipped "'.concat(i,'" because an invalid file extension was provided.')),a=!1),a}).reduce(function(n,r){var i=Ts(r,2),o=i[0],a=i[1];return ny(ny({},n),{},ry({},o,a))},{});return[{description:"Files",accept:t}]}return e}function sz(e){if(Ri(e))return Object.entries(e).reduce(function(t,n){var r=Ts(n,2),i=r[0],o=r[1];return[].concat(ey(t),[i],ey(o))},[]).filter(function(t){return uy(t)||dy(t)}).join(",")}function lz(e){return e instanceof DOMException&&(e.name==="AbortError"||e.code===e.ABORT_ERR)}function cz(e){return e instanceof DOMException&&(e.name==="SecurityError"||e.code===e.SECURITY_ERR)}function uy(e){return e==="audio/*"||e==="video/*"||e==="image/*"||e==="text/*"||e==="application/*"||/\w+\/[-+.\w]+/g.test(e)}function dy(e){return/^.*\.[\w]+$/.test(e)}var uz=["children"],dz=["open"],fz=["refKey","role","onKeyDown","onFocus","onBlur","onClick","onDragEnter","onDragOver","onDragLeave","onDrop"],pz=["refKey","onChange","onClick"];function hz(e){return yz(e)||gz(e)||fy(e)||mz()}function mz(){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 gz(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function yz(e){if(Array.isArray(e))return vp(e)}function yp(e,t){return xz(e)||bz(e,t)||fy(e,t)||vz()}function vz(){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 fy(e,t){if(e){if(typeof e=="string")return vp(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 vp(e,t)}}function vp(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 bz(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r=[],i=!0,o=!1,a,s;try{for(n=n.call(e);!(i=(a=n.next()).done)&&(r.push(a.value),!(t&&r.length===t));i=!0);}catch(l){o=!0,s=l}finally{try{!i&&n.return!=null&&n.return()}finally{if(o)throw s}}return r}}function xz(e){if(Array.isArray(e))return e}function py(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function $t(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?py(Object(n),!0).forEach(function(r){bp(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):py(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function bp(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function vc(e,t){if(e==null)return{};var n=Cz(e,t),r,i;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(i=0;i<o.length;i++)r=o[i],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function Cz(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,o;for(o=0;o<r.length;o++)i=r[o],!(t.indexOf(i)>=0)&&(n[i]=e[i]);return n}var xp=b.forwardRef(function(e,t){var n=e.children,r=vc(e,uz),i=my(r),o=i.open,a=vc(i,dz);return b.useImperativeHandle(t,function(){return{open:o}},[o]),b.createElement(b.Fragment,null,n($t($t({},a),{},{open:o})))});xp.displayName="Dropzone";var hy={disabled:!1,getFilesFromEvent:DF,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};xp.defaultProps=hy,xp.propTypes={children:yt.func,accept:yt.objectOf(yt.arrayOf(yt.string)),multiple:yt.bool,preventDropOnDocument:yt.bool,noClick:yt.bool,noKeyboard:yt.bool,noDrag:yt.bool,noDragEventsBubbling:yt.bool,minSize:yt.number,maxSize:yt.number,maxFiles:yt.number,disabled:yt.bool,getFilesFromEvent:yt.func,onFileDialogCancel:yt.func,onFileDialogOpen:yt.func,useFsAccessApi:yt.bool,autoFocus:yt.bool,onDragEnter:yt.func,onDragLeave:yt.func,onDragOver:yt.func,onDrop:yt.func,onDropAccepted:yt.func,onDropRejected:yt.func,onError:yt.func,validator:yt.func};var Cp={isFocused:!1,isFileDialogActive:!1,isDragActive:!1,isDragAccept:!1,isDragReject:!1,acceptedFiles:[],fileRejections:[]};function my(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=$t($t({},hy),e),n=t.accept,r=t.disabled,i=t.getFilesFromEvent,o=t.maxSize,a=t.minSize,s=t.multiple,l=t.maxFiles,c=t.onDragEnter,u=t.onDragLeave,d=t.onDragOver,f=t.onDrop,p=t.onDropAccepted,m=t.onDropRejected,g=t.onFileDialogCancel,y=t.onFileDialogOpen,v=t.useFsAccessApi,x=t.autoFocus,w=t.preventDropOnDocument,E=t.noClick,k=t.noKeyboard,T=t.noDrag,I=t.noDragEventsBubbling,D=t.onError,$=t.validator,P=b.useMemo(function(){return sz(n)},[n]),W=b.useMemo(function(){return az(n)},[n]),Z=b.useMemo(function(){return typeof y=="function"?y:gy},[y]),ne=b.useMemo(function(){return typeof g=="function"?g:gy},[g]),z=b.useRef(null),q=b.useRef(null),X=b.useReducer(wz,Cp),N=yp(X,2),ce=N[0],he=N[1],C=ce.isFocused,R=ce.isFileDialogActive,J=b.useRef(typeof window<"u"&&window.isSecureContext&&v&&oz()),S=function(){!J.current&&R&&setTimeout(function(){if(q.current){var le=q.current.files;le.length||(he({type:"closeDialog"}),ne())}},300)};b.useEffect(function(){return window.addEventListener("focus",S,!1),function(){window.removeEventListener("focus",S,!1)}},[q,R,ne,J]);var V=b.useRef([]),_=function(le){z.current&&z.current.contains(le.target)||(le.preventDefault(),V.current=[])};b.useEffect(function(){return w&&(document.addEventListener("dragover",cy,!1),document.addEventListener("drop",_,!1)),function(){w&&(document.removeEventListener("dragover",cy),document.removeEventListener("drop",_))}},[z,w]),b.useEffect(function(){return!r&&x&&z.current&&z.current.focus(),function(){}},[z,x,r]);var Q=b.useCallback(function(Y){D?D(Y):console.error(Y)},[D]),ie=b.useCallback(function(Y){Y.preventDefault(),Y.persist(),ve(Y),V.current=[].concat(hz(V.current),[Y.target]),yc(Y)&&Promise.resolve(i(Y)).then(function(le){if(!(gc(Y)&&!I)){var O=le.length,U=O>0&&tz({files:le,accept:P,minSize:a,maxSize:o,multiple:s,maxFiles:l,validator:$}),ue=O>0&&!U;he({isDragAccept:U,isDragReject:ue,isDragActive:!0,type:"setDraggedFiles"}),c&&c(Y)}}).catch(function(le){return Q(le)})},[i,c,Q,I,P,a,o,s,l,$]),re=b.useCallback(function(Y){Y.preventDefault(),Y.persist(),ve(Y);var le=yc(Y);if(le&&Y.dataTransfer)try{Y.dataTransfer.dropEffect="copy"}catch{}return le&&d&&d(Y),!1},[d,I]),me=b.useCallback(function(Y){Y.preventDefault(),Y.persist(),ve(Y);var le=V.current.filter(function(U){return z.current&&z.current.contains(U)}),O=le.indexOf(Y.target);O!==-1&&le.splice(O,1),V.current=le,!(le.length>0)&&(he({type:"setDraggedFiles",isDragActive:!1,isDragAccept:!1,isDragReject:!1}),yc(Y)&&u&&u(Y))},[z,u,I]),pe=b.useCallback(function(Y,le){var O=[],U=[];Y.forEach(function(ue){var _e=sy(ue,P),Ae=yp(_e,2),nt=Ae[0],Ct=Ae[1],It=ly(ue,a,o),Ye=yp(It,2),Et=Ye[0],ht=Ye[1],Xt=$?$(ue):null;if(nt&&Et&&!Xt)O.push(ue);else{var Pt=[Ct,ht];Xt&&(Pt=Pt.concat(Xt)),U.push({file:ue,errors:Pt.filter(function(Zn){return Zn})})}}),(!s&&O.length>1||s&&l>=1&&O.length>l)&&(O.forEach(function(ue){U.push({file:ue,errors:[ez]})}),O.splice(0)),he({acceptedFiles:O,fileRejections:U,isDragReject:U.length>0,type:"setFiles"}),f&&f(O,U,le),U.length>0&&m&&m(U,le),O.length>0&&p&&p(O,le)},[he,s,P,a,o,l,f,p,m,$]),ke=b.useCallback(function(Y){Y.preventDefault(),Y.persist(),ve(Y),V.current=[],yc(Y)&&Promise.resolve(i(Y)).then(function(le){gc(Y)&&!I||pe(le,Y)}).catch(function(le){return Q(le)}),he({type:"reset"})},[i,pe,Q,I]),K=b.useCallback(function(){if(J.current){he({type:"openDialog"}),Z();var Y={multiple:s,types:W};window.showOpenFilePicker(Y).then(function(le){return i(le)}).then(function(le){pe(le,null),he({type:"closeDialog"})}).catch(function(le){lz(le)?(ne(le),he({type:"closeDialog"})):cz(le)?(J.current=!1,q.current?(q.current.value=null,q.current.click()):Q(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."))):Q(le)});return}q.current&&(he({type:"openDialog"}),Z(),q.current.value=null,q.current.click())},[he,Z,ne,v,pe,Q,W,s]),je=b.useCallback(function(Y){!z.current||!z.current.isEqualNode(Y.target)||(Y.key===" "||Y.key==="Enter"||Y.keyCode===32||Y.keyCode===13)&&(Y.preventDefault(),K())},[z,K]),$e=b.useCallback(function(){he({type:"focus"})},[]),F=b.useCallback(function(){he({type:"blur"})},[]),ee=b.useCallback(function(){E||(iz()?setTimeout(K,0):K())},[E,K]),oe=function(le){return r?null:le},we=function(le){return k?null:oe(le)},ye=function(le){return T?null:oe(le)},ve=function(le){I&&le.stopPropagation()},Pe=b.useMemo(function(){return function(){var Y=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},le=Y.refKey,O=le===void 0?"ref":le,U=Y.role,ue=Y.onKeyDown,_e=Y.onFocus,Ae=Y.onBlur,nt=Y.onClick,Ct=Y.onDragEnter,It=Y.onDragOver,Ye=Y.onDragLeave,Et=Y.onDrop,ht=vc(Y,fz);return $t($t(bp({onKeyDown:we(Er(ue,je)),onFocus:we(Er(_e,$e)),onBlur:we(Er(Ae,F)),onClick:oe(Er(nt,ee)),onDragEnter:ye(Er(Ct,ie)),onDragOver:ye(Er(It,re)),onDragLeave:ye(Er(Ye,me)),onDrop:ye(Er(Et,ke)),role:typeof U=="string"&&U!==""?U:"presentation"},O,z),!r&&!k?{tabIndex:0}:{}),ht)}},[z,je,$e,F,ee,ie,re,me,ke,k,T,r]),Be=b.useCallback(function(Y){Y.stopPropagation()},[]),ge=b.useMemo(function(){return function(){var Y=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},le=Y.refKey,O=le===void 0?"ref":le,U=Y.onChange,ue=Y.onClick,_e=vc(Y,pz),Ae=bp({accept:P,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:oe(Er(U,ke)),onClick:oe(Er(ue,Be)),tabIndex:-1},O,q);return $t($t({},Ae),_e)}},[q,n,s,ke,r]);return $t($t({},ce),{},{isFocused:C&&!r,getRootProps:Pe,getInputProps:ge,rootRef:z,inputRef:q,open:oe(K)})}function wz(e,t){switch(t.type){case"focus":return $t($t({},e),{},{isFocused:!0});case"blur":return $t($t({},e),{},{isFocused:!1});case"openDialog":return $t($t({},Cp),{},{isFileDialogActive:!0});case"closeDialog":return $t($t({},e),{},{isFileDialogActive:!1});case"setDraggedFiles":return $t($t({},e),{},{isDragActive:t.isDragActive,isDragAccept:t.isDragAccept,isDragReject:t.isDragReject});case"setFiles":return $t($t({},e),{},{acceptedFiles:t.acceptedFiles,fileRejections:t.fileRejections,isDragReject:t.isDragReject});case"reset":return $t({},Cp);default:return e}}function gy(){}function kz(e){return pt({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 Sz=({onFilesDropped:e,color:t="elevate.500",typeAccept:n="file",fileAccept:r=[".pdf",".doc",".docx",".xls",".xlsx",".txt",".csv"],maxSize:i="5MB",title:o="",description:a="Arrastra y suelta tus archivos aquí",buttonText:s="Seleccionar archivos",colorTitle:l="black.600",colorTextDrag:c="black.600",filesExisting:u=[]})=>{const d=$4(),[f,p,m]=Wl("colors",[t,"white.50","black.300"]),g=Yt(f,.7)({}),y=typeof i=="string"&&i.includes("MB")?parseInt(i)*1024*1024:parseInt(i),v=b.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"]:n==="audio"?[".wav"]:[],[r,n]),x={".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"};b.useEffect(()=>{u.length>0&&e(u)},[u]);const w=v.length>0?v.reduce((D,$)=>{const P=x[$];return P&&(D[P]=[...D[P]||[],$]),D},{}):void 0,E=b.useCallback((D,$)=>{const P=D.filter(W=>v.some(Z=>W.name.endsWith(Z)));$.forEach(W=>{const{file:Z,errors:ne}=W;ne.forEach(z=>{z.code==="file-too-large"?d({title:"Archivo demasiado grande",description:`El archivo "${Z.name}" supera el tamaño máximo permitido.`,status:"warning",duration:4e3,isClosable:!0,variant:"solid",containerStyle:{color:`${p} !important`}}):z.code==="file-invalid-type"&&d({title:"Extensión no permitida",description:`El archivo "${Z.name}" no tiene una extensión válida.`,status:"info",duration:4e3,isClosable:!0,variant:"solid",containerStyle:{color:`${p} !important`}})})}),P.length>0&&e(P)},[v,e,d]),{getRootProps:k,getInputProps:T,isDragActive:I}=my({onDrop:E,multiple:!0,accept:w,maxSize:y});return h.jsxs(Ke,{children:[h.jsx(vt,{mt:4,alignItems:"flex-start",children:o.trim()&&h.jsx(qe,{fontSize:"20px",fontWeight:"700",color:l,mb:2,children:o})}),h.jsxs(Ke,{...k(),py:"70px",px:"41px",border:`2px dashed ${I?f:m}`,borderRadius:"lg",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",textAlign:"center",cursor:"pointer",_hover:{borderColor:g},bg:I?Yt(f,.1)({}):"transparent",children:[h.jsx("input",{...T()}),h.jsx(sn,{as:kz,boxSize:"40px",color:f,mb:"16px"}),h.jsx(qe,{fontSize:"16px",fontWeight:"16px",color:c,mb:4,children:a}),h.jsx(hn,{bg:f,color:p,_hover:{bg:g},size:"lg",children:s})]})]})},Tz=({text:e,fontSize:t="md",...n})=>h.jsx(qe,{fontSize:t,...n,children:e}),_z=b.forwardRef(({label:e,colorLabelText:t="black.400",fontFamilyText:n="Heading",fontSizeText:r="1rem",placeholder:i,value:o="",onChange:a=T=>{console.log(T)},isRequired:s=!1,info:l=!1,infoText:c="",product:u="info",textArea:d=!1,description:f="",descriptionFontSize:p="14px",descriptionColor:m="gray.500",dropdown:g=!1,isReadOnly:y=!1,isDisabled:v=!1,colorText:x="#222222",minHeight:w="auto",type:E="text"},k)=>{const[T,I]=b.useState(!0),D=Z=>{a(Z.target.value)},$=mn[u],P=$[200],W=$[300];return h.jsxs(ns,{isRequired:s,children:[h.jsxs(Do,{display:"flex",alignItems:"center",fontSize:r,color:t,fontFamily:n,children:[g&&h.jsx(tn,{"aria-label":"Toggle Description",icon:T?h.jsx(fp,{}):h.jsx(R4,{}),size:"sm",variant:"ghost",onClick:()=>I(!T),_hover:{bg:"transparent"}}),e,l&&c&&h.jsx(fc,{label:c,"aria-label":"Más información",p:"10px",borderRadius:"5px",bg:P,border:`1px solid ${W}`,color:"black.500",placement:"top",hasArrow:!0,children:h.jsx(tn,{icon:h.jsx(pp,{}),"aria-label":"Información",size:"sm",variant:"ghost",ml:2,color:"info.600"})})]}),!g&&f&&h.jsx(qe,{fontSize:p,color:m,mb:"10px",textAlign:"start",children:f}),g?T&&f?h.jsxs(h.Fragment,{children:[h.jsx(qe,{fontSize:p,color:m,mb:"10px",textAlign:"start",children:f}),d?h.jsx(uc,{ref:k,placeholder:i,value:o,onChange:D,bg:"white",isReadOnly:y,isDisabled:v,minHeight:w,color:x,sx:{resize:"none"}}):h.jsx(Oo,{ref:k,placeholder:i,value:o,onChange:D,bg:"white",type:E,isReadOnly:y,isDisabled:v,minHeight:w,color:x})]}):null:d?h.jsx(uc,{ref:k,placeholder:i,value:o,onChange:D,bg:"white",isReadOnly:y,isDisabled:v,minHeight:w,color:x,sx:{resize:"none"}}):h.jsx(Oo,{ref:k,placeholder:i,value:o,onChange:D,bg:"white",type:E,isReadOnly:y,isDisabled:v,minHeight:w,color:x})]})});var Ez=function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(r,i,o){n.o(r,i)||Object.defineProperty(r,i,{enumerable:!0,get:o})},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,i){if(1&i&&(r=n(r)),8&i||4&i&&typeof r=="object"&&r&&r.__esModule)return r;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:r}),2&i&&typeof r!="string")for(var a in r)n.d(o,a,(function(s){return r[s]}).bind(null,a));return o},n.n=function(r){var i=r&&r.__esModule?function(){return r.default}:function(){return r};return n.d(i,"a",i),i},n.o=function(r,i){return Object.prototype.hasOwnProperty.call(r,i)},n.p="",n(n.s=9)}([function(e,t){e.exports=b},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 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 ue=w(X),se=ue%1;return ue==ue?se?ue-se:ue: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 Z=-1,Y=L?L.length:0;for(this.clear();++Z<Y;){var N=L[Z];this.set(N[0],N[1])}}function E(L){var Z=-1,Y=L?L.length:0;for(this.clear();++Z<Y;){var N=L[Z];this.set(N[0],N[1])}}function P(L){var Z=-1,Y=L?L.length:0;for(this.clear();++Z<Y;){var N=L[Z];this.set(N[0],N[1])}}function D(L,Z){for(var Y,N,ce=L.length;ce--;)if((Y=L[ce][0])===(N=Z)||Y!=Y&&N!=N)return ce;return-1}function R(L){return!(!se(L)||(Z=L,h&&h in Z))&&(function(Y){var N=se(Y)?v.call(Y):"";return N=="[object Function]"||N=="[object GeneratorFunction]"}(L)||function(Y){var N=!1;if(Y!=null&&typeof Y.toString!="function")try{N=!!(Y+"")}catch{}return N}(L)?S:o).test(function(Y){if(Y!=null){try{return b.call(Y)}catch{}try{return Y+""}catch{}}return""}(L));var Z}function z(L,Z){var Y,N,ce=L.__data__;return((N=typeof(Y=Z))=="string"||N=="number"||N=="symbol"||N=="boolean"?Y!=="__proto__":Y===null)?ce[typeof Z=="string"?"string":"hash"]:ce.map}function X(L,Z){var Y=function(N,ce){return N==null?void 0:N[ce]}(L,Z);return R(Y)?Y:void 0}function ue(L,Z){if(typeof L!="function"||Z&&typeof Z!="function")throw new TypeError("Expected a function");var Y=function(){var N=arguments,ce=Z?Z.apply(this,N):N[0],he=Y.cache;if(he.has(ce))return he.get(ce);var O=L.apply(this,N);return Y.cache=he.set(ce,O),O};return Y.cache=new(ue.Cache||P),Y}function se(L){var Z=typeof L;return!!L&&(Z=="object"||Z=="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 Z=this.__data__;if(j){var Y=Z[L];return Y==="__lodash_hash_undefined__"?void 0:Y}return m.call(Z,L)?Z[L]:void 0},x.prototype.has=function(L){var Z=this.__data__;return j?Z[L]!==void 0:m.call(Z,L)},x.prototype.set=function(L,Z){return this.__data__[L]=j&&Z===void 0?"__lodash_hash_undefined__":Z,this},E.prototype.clear=function(){this.__data__=[]},E.prototype.delete=function(L){var Z=this.__data__,Y=D(Z,L);return!(Y<0)&&(Y==Z.length-1?Z.pop():y.call(Z,Y,1),!0)},E.prototype.get=function(L){var Z=this.__data__,Y=D(Z,L);return Y<0?void 0:Z[Y][1]},E.prototype.has=function(L){return D(this.__data__,L)>-1},E.prototype.set=function(L,Z){var Y=this.__data__,N=D(Y,L);return N<0?Y.push([L,Z]):Y[N][1]=Z,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,Z){return z(this,L).set(L,Z),this},ue.Cache=P,e.exports=ue}).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,ue=!1,se=!1,L=!0;if(typeof y!="function")throw new TypeError("Expected a function");function Z(F){var G=x,V=E;return x=E=void 0,X=F,D=y.apply(V,G)}function Y(F){return X=F,R=setTimeout(ce,w),ue?Z(F):D}function N(F){var G=F-z;return z===void 0||G>=w||G<0||se&&F-X>=P}function ce(){var F=m();if(N(F))return he(F);R=setTimeout(ce,function(G){var V=w-(G-z);return se?b(V,P-(G-X)):V}(F))}function he(F){return R=void 0,L&&x?Z(F):(x=E=void 0,D)}function O(){var F=m(),G=N(F);if(x=arguments,E=this,z=F,G){if(R===void 0)return Y(z);if(se)return R=setTimeout(ce,w),Z(z)}return R===void 0&&(R=setTimeout(ce,w)),D}return w=S(w)||0,v(j)&&(ue=!!j.leading,P=(se="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,$,K,ne){var Ce=-1,ye=k?k.length:0;for(ne&&ye&&(K=k[++Ce]);++Ce<ye;)K=$(K,k[Ce],Ce,k);return K}function z(k,$){for(var K=-1,ne=k?k.length:0;++K<ne;)if($(k[K],K,k))return!0;return!1}function X(k,$,K,ne,Ce){return Ce(k,function(ye,Me,it){K=ne?(ne=!1,ye):$(K,ye,Me,it)}),K}function ue(k){var $=!1;if(k!=null&&typeof k.toString!="function")try{$=!!(k+"")}catch{}return $}function se(k){var $=-1,K=Array(k.size);return k.forEach(function(ne,Ce){K[++$]=[Ce,ne]}),K}function L(k){var $=-1,K=Array(k.size);return k.forEach(function(ne){K[++$]=ne}),K}var Z,Y,N,ce=Array.prototype,he=Function.prototype,O=Object.prototype,F=w["__core-js_shared__"],G=(Z=/[^.]+$/.exec(F&&F.keys&&F.keys.IE_PROTO||""))?"Symbol(src)_1."+Z:"",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=ce.splice,ke=(Y=Object.keys,N=Object,function(k){return Y(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,K=k?k.length:0;for(this.clear();++$<K;){var ne=k[$];this.set(ne[0],ne[1])}}function le(k){var $=-1,K=k?k.length:0;for(this.clear();++$<K;){var ne=k[$];this.set(ne[0],ne[1])}}function Ie(k){var $=-1,K=k?k.length:0;for(this.clear();++$<K;){var ne=k[$];this.set(ne[0],ne[1])}}function bt(k){var $=-1,K=k?k.length:0;for(this.__data__=new Ie;++$<K;)this.add(k[$])}function ot(k){this.__data__=new le(k)}function _t(k,$){var K=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=K.length,Ce=!!ne;for(var ye in k)!B.call(k,ye)||Ce&&(ye=="length"||bi(ye,ne))||K.push(ye);return K}function $t(k,$){for(var K=k.length;K--;)if(Nn(k[K][0],$))return K;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 K=$[k];return K==="__lodash_hash_undefined__"?void 0:K}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},le.prototype.clear=function(){this.__data__=[]},le.prototype.delete=function(k){var $=this.__data__,K=$t($,k);return!(K<0)&&(K==$.length-1?$.pop():de.call($,K,1),!0)},le.prototype.get=function(k){var $=this.__data__,K=$t($,k);return K<0?void 0:$[K][1]},le.prototype.has=function(k){return $t(this.__data__,k)>-1},le.prototype.set=function(k,$){var K=this.__data__,ne=$t(K,k);return ne<0?K.push([k,$]):K[ne][1]=$,this},Ie.prototype.clear=function(){this.__data__={hash:new ie,map:new(Te||le),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 le},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 K=this.__data__;if(K instanceof le){var ne=K.__data__;if(!Te||ne.length<199)return ne.push([k,$]),this;K=this.__data__=new Ie(ne)}return K.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 K=k.length,ne=-1,Ce=Object(k);++ne<K&&$(Ce[ne],ne,Ce)!==!1;);return k}),Mt=function(k){return function($,K,ne){for(var Ce=-1,ye=Object($),Me=ne($),it=Me.length;it--;){var ct=Me[++Ce];if(K(ye[ct],ct,ye)===!1)break}return $}}();function Zt(k,$){for(var K=0,ne=($=_r($,k)?[$]:Vr($)).length;k!=null&&K<ne;)k=k[jr($[K++])];return K&&K==ne?k:void 0}function Bn(k,$){return k!=null&&$ in Object(k)}function fn(k,$,K,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&&!ue(ye),Wr=Ot==s&&!ue(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=se;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,K,ne,Ce))}function xn(k){return!(!_e(k)||function($){return!!G&&G in $}(k))&&(te(k)||ue(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)?(K=jr($),function(ne){return ne==null?void 0:ne[K]}):function(ne){return function(Ce){return Zt(Ce,ne)}}($);var $,K}function pn(k){if(K=($=k)&&$.constructor,ne=typeof K=="function"&&K.prototype||O,$!==ne)return ke(k);var $,K,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,$,K,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||K(Et,Wr,ne,Ce,ye)))return zt.add(cr)})){tn=!1;break}}else if(Et!==Ot&&!K(Et,Ot,ne,Ce,ye)){tn=!1;break}}return ye.delete(k),ye.delete($),tn}function kr(k,$){var K,ne,Ce=k.__data__;return((ne=typeof(K=$))=="string"||ne=="number"||ne=="symbol"||ne=="boolean"?K!=="__proto__":K===null)?Ce[typeof $=="string"?"string":"hash"]:Ce.map}function lr(k,$){var K=function(ne,Ce){return ne==null?void 0:ne[Ce]}(k,$);return xn(K)?K: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 K=typeof k;return!(K!="number"&&K!="symbol"&&K!="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(K){return K!=null&&K[k]===$&&($!==void 0||k in Object(K))}}(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),K=$==s?k.constructor:void 0,ne=K?On(K):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 K=[];return f.test(k)&&K.push(""),k.replace(p,function(ne,Ce,ye,Me){K.push(ye?Me.replace(h,"$1"):Ce||ne)}),K});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 K=function(){var ne=arguments,Ce=$?$.apply(this,ne):ne[0],ye=K.cache;if(ye.has(Ce))return ye.get(Ce);var Me=k.apply(this,ne);return K.cache=ye.set(Ce,Me),Me};return K.cache=new(xo.Cache||Ie),K}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,$,K){var ne=In(k)?R:X,Ce=arguments.length<3;return ne(k,yo($),K,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,G){return F in O?Object.defineProperty(O,F,{value:G,enumerable:!0,configurable:!0,writable:!0}):O[F]=G,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 G=0,V=new Array(F.length);G<F.length;G++)V[G]=F[G];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 G=0;G<F.length;G++){var V=F[G];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(G,V){return G.__proto__=V,G})(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(G,V){var B=[],C=!0,J=!1,Q=void 0;try{for(var ee,me=G[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 ue=[["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"]],se=[["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,G,V,B){return!G||B?O+"".padEnd(F.length,".")+" "+V:O+"".padEnd(F.length,".")+" "+G}function Z(O,F,G,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(G,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 Y(O,F,G,V){if(G!==null){var B=Object.keys(G),C=Object.values(G);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(G){var V=F.findIndex(function(C){return C[0]===G[2]});if(V===-1)return G;var B=F[V];return B[1]&&(G[4]=B[1]),B[3]&&(G[5]=B[3]),B[2]&&(G[6]=B[2]),G})}var ce=function O(F,G,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(le){return le===oe})})}return U.filter(function(ie){return fe.map(function(le){return ie.regions.some(function(Ie){return Ie===le})}).some(function(le){return le})})},this.sortTerritories=function(fe,U){var oe=[].concat(i(fe),i(U));return oe.sort(function(ie,le){return ie.name<le.name?-1:ie.name>le.name?1:0}),oe},this.getFilteredCountryList=function(fe,U,oe){return fe.length===0?U:oe?fe.map(function(ie){var le=U.find(function(Ie){return Ie.iso2===ie});if(le)return le}).filter(function(ie){return ie}):U.filter(function(ie){return fe.some(function(le){return le===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(le,Ie){return le.localName<Ie.localName?-1:le.localName>Ie.localName?1:0}),fe},this.getCustomAreas=function(fe,U){for(var oe=[],ie=0;ie<U.length;ie++){var le=JSON.parse(JSON.stringify(fe));le.dialCode+=U[ie],oe.push(le)}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 Y(ie,1,fe,!0),Y(ie,3,U),Y(ie,2,oe),ie}(ee,me,de),q=N(JSON.parse(JSON.stringify(ue)),A),re=N(JSON.parse(JSON.stringify(se)),A),xe=X(Z(q,F,H,Te,De),2),ve=xe[0],be=xe[1];if(G){var je=X(Z(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,le=xe/2-fe/2;if(C.props.enableSearch?U<ve+32:U<ve)q&&(ie-=le),re.scrollTop=ie;else if(oe>be){q&&(ie+=le);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,le){if(ie.remainingText.length===0)return ie;if(le!==".")return{formattedText:ie.formattedText+le,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,le=oe.selectedCountry,Ie=oe.hiddenAreaCodes;if(ve&&A.persist(),q.length>0){var bt=q.replace(/\D/g,"");(!C.state.freezeSelection||le&&le.dialCode.length>bt.length)&&(je=C.props.disableCountryGuess?le:C.guessSelectedCountry(bt.substring(0,6),U,ie,Ie)||le,$e=!1),be=C.formatNumber(bt,je),je=je.dialCode?je:le}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(le){return le.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,le=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},le,le))},!ie&&v.a.createElement("span",{className:z()(r({"search-emoji":!0},"".concat(le,"-emoji"),le)),role:"img","aria-label":"Magnifying glass"},"🔎"),v.a.createElement("input",{className:z()(r({"search-box":!0},"".concat(le,"-box"),le)),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 ce(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 G,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),G=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(le){Q.numberInputRef=le,typeof Q.props.inputProps.ref=="function"?Q.props.inputProps.ref(le):typeof Q.props.inputProps.ref=="object"&&(Q.props.inputProps.ref.current=le)}})),v.a.createElement("div",{className:oe,style:this.props.buttonStyle,ref:function(le){return Q.dropdownContainerRef=le}},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(G.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,{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:`
|
|
400
|
+
*/(function(){var i={}.hasOwnProperty;function o(){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=o.apply(null,l);u&&a.push(u)}else if(c==="object")for(var d in l)i.call(l,d)&&l[d]&&a.push(d)}}return a.join(" ")}e.exports?(o.default=o,e.exports=o):(r=(function(){return o}).apply(t,[]))===void 0||(e.exports=r)})()},function(e,t,n){(function(r){var i=/^\s+|\s+$/g,o=/^[-+]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,d=c||u||Function("return this")(),f=Object.prototype.toString,p=d.Symbol,m=p?p.prototype:void 0,g=m?m.toString:void 0;function y(E){if(typeof E=="string")return E;if(x(E))return g?g.call(E):"";var k=E+"";return k=="0"&&1/E==-1/0?"-0":k}function v(E){var k=typeof E;return!!E&&(k=="object"||k=="function")}function x(E){return typeof E=="symbol"||function(k){return!!k&&typeof k=="object"}(E)&&f.call(E)=="[object Symbol]"}function w(E){return E?(E=function(k){if(typeof k=="number")return k;if(x(k))return NaN;if(v(k)){var T=typeof k.valueOf=="function"?k.valueOf():k;k=v(T)?T+"":T}if(typeof k!="string")return k===0?k:+k;k=k.replace(i,"");var I=a.test(k);return I||s.test(k)?l(k.slice(2),I?2:8):o.test(k)?NaN:+k}(E))===1/0||E===-1/0?17976931348623157e292*(E<0?-1:1):E==E?E:0:E===0?E:0}e.exports=function(E,k,T){var I,D,$,P;return E=(I=E)==null?"":y(I),D=function(W){var Z=w(W),ne=Z%1;return Z==Z?ne?Z-ne:Z:0}(T),$=0,P=E.length,D==D&&(P!==void 0&&(D=D<=P?D:P),$!==void 0&&(D=D>=$?D:$)),T=D,k=y(k),E.slice(T,T+k.length)==k}}).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 i=/^\[object .+?Constructor\]$/,o=typeof r=="object"&&r&&r.Object===Object&&r,a=typeof self=="object"&&self&&self.Object===Object&&self,s=o||a||Function("return this")(),l,c=Array.prototype,u=Function.prototype,d=Object.prototype,f=s["__core-js_shared__"],p=(l=/[^.]+$/.exec(f&&f.keys&&f.keys.IE_PROTO||""))?"Symbol(src)_1."+l:"",m=u.toString,g=d.hasOwnProperty,y=d.toString,v=RegExp("^"+m.call(g).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),x=c.splice,w=W(s,"Map"),E=W(Object,"create");function k(z){var q=-1,X=z?z.length:0;for(this.clear();++q<X;){var N=z[q];this.set(N[0],N[1])}}function T(z){var q=-1,X=z?z.length:0;for(this.clear();++q<X;){var N=z[q];this.set(N[0],N[1])}}function I(z){var q=-1,X=z?z.length:0;for(this.clear();++q<X;){var N=z[q];this.set(N[0],N[1])}}function D(z,q){for(var X,N,ce=z.length;ce--;)if((X=z[ce][0])===(N=q)||X!=X&&N!=N)return ce;return-1}function $(z){return!(!ne(z)||(q=z,p&&p in q))&&(function(X){var N=ne(X)?y.call(X):"";return N=="[object Function]"||N=="[object GeneratorFunction]"}(z)||function(X){var N=!1;if(X!=null&&typeof X.toString!="function")try{N=!!(X+"")}catch{}return N}(z)?v:i).test(function(X){if(X!=null){try{return m.call(X)}catch{}try{return X+""}catch{}}return""}(z));var q}function P(z,q){var X,N,ce=z.__data__;return((N=typeof(X=q))=="string"||N=="number"||N=="symbol"||N=="boolean"?X!=="__proto__":X===null)?ce[typeof q=="string"?"string":"hash"]:ce.map}function W(z,q){var X=function(N,ce){return N==null?void 0:N[ce]}(z,q);return $(X)?X:void 0}function Z(z,q){if(typeof z!="function"||q&&typeof q!="function")throw new TypeError("Expected a function");var X=function(){var N=arguments,ce=q?q.apply(this,N):N[0],he=X.cache;if(he.has(ce))return he.get(ce);var C=z.apply(this,N);return X.cache=he.set(ce,C),C};return X.cache=new(Z.Cache||I),X}function ne(z){var q=typeof z;return!!z&&(q=="object"||q=="function")}k.prototype.clear=function(){this.__data__=E?E(null):{}},k.prototype.delete=function(z){return this.has(z)&&delete this.__data__[z]},k.prototype.get=function(z){var q=this.__data__;if(E){var X=q[z];return X==="__lodash_hash_undefined__"?void 0:X}return g.call(q,z)?q[z]:void 0},k.prototype.has=function(z){var q=this.__data__;return E?q[z]!==void 0:g.call(q,z)},k.prototype.set=function(z,q){return this.__data__[z]=E&&q===void 0?"__lodash_hash_undefined__":q,this},T.prototype.clear=function(){this.__data__=[]},T.prototype.delete=function(z){var q=this.__data__,X=D(q,z);return!(X<0)&&(X==q.length-1?q.pop():x.call(q,X,1),!0)},T.prototype.get=function(z){var q=this.__data__,X=D(q,z);return X<0?void 0:q[X][1]},T.prototype.has=function(z){return D(this.__data__,z)>-1},T.prototype.set=function(z,q){var X=this.__data__,N=D(X,z);return N<0?X.push([z,q]):X[N][1]=q,this},I.prototype.clear=function(){this.__data__={hash:new k,map:new(w||T),string:new k}},I.prototype.delete=function(z){return P(this,z).delete(z)},I.prototype.get=function(z){return P(this,z).get(z)},I.prototype.has=function(z){return P(this,z).has(z)},I.prototype.set=function(z,q){return P(this,z).set(z,q),this},Z.Cache=I,e.exports=Z}).call(this,n(3))},function(e,t,n){(function(r){var i=/^\s+|\s+$/g,o=/^[-+]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,d=c||u||Function("return this")(),f=Object.prototype.toString,p=Math.max,m=Math.min,g=function(){return d.Date.now()};function y(x){var w=typeof x;return!!x&&(w=="object"||w=="function")}function v(x){if(typeof x=="number")return x;if(function(k){return typeof k=="symbol"||function(T){return!!T&&typeof T=="object"}(k)&&f.call(k)=="[object Symbol]"}(x))return NaN;if(y(x)){var w=typeof x.valueOf=="function"?x.valueOf():x;x=y(w)?w+"":w}if(typeof x!="string")return x===0?x:+x;x=x.replace(i,"");var E=a.test(x);return E||s.test(x)?l(x.slice(2),E?2:8):o.test(x)?NaN:+x}e.exports=function(x,w,E){var k,T,I,D,$,P,W=0,Z=!1,ne=!1,z=!0;if(typeof x!="function")throw new TypeError("Expected a function");function q(R){var J=k,S=T;return k=T=void 0,W=R,D=x.apply(S,J)}function X(R){return W=R,$=setTimeout(ce,w),Z?q(R):D}function N(R){var J=R-P;return P===void 0||J>=w||J<0||ne&&R-W>=I}function ce(){var R=g();if(N(R))return he(R);$=setTimeout(ce,function(J){var S=w-(J-P);return ne?m(S,I-(J-W)):S}(R))}function he(R){return $=void 0,z&&k?q(R):(k=T=void 0,D)}function C(){var R=g(),J=N(R);if(k=arguments,T=this,P=R,J){if($===void 0)return X(P);if(ne)return $=setTimeout(ce,w),q(P)}return $===void 0&&($=setTimeout(ce,w)),D}return w=v(w)||0,y(E)&&(Z=!!E.leading,I=(ne="maxWait"in E)?p(v(E.maxWait)||0,w):I,z="trailing"in E?!!E.trailing:z),C.cancel=function(){$!==void 0&&clearTimeout($),W=0,k=P=T=$=void 0},C.flush=function(){return $===void 0?D:he(g())},C}}).call(this,n(3))},function(e,t,n){(function(r,i){var o="[object Arguments]",a="[object Map]",s="[object Object]",l="[object Set]",c=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,u=/^\w*$/,d=/^\./,f=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,p=/\\(\\)?/g,m=/^\[object .+?Constructor\]$/,g=/^(?:0|[1-9]\d*)$/,y={};y["[object Float32Array]"]=y["[object Float64Array]"]=y["[object Int8Array]"]=y["[object Int16Array]"]=y["[object Int32Array]"]=y["[object Uint8Array]"]=y["[object Uint8ClampedArray]"]=y["[object Uint16Array]"]=y["[object Uint32Array]"]=!0,y[o]=y["[object Array]"]=y["[object ArrayBuffer]"]=y["[object Boolean]"]=y["[object DataView]"]=y["[object Date]"]=y["[object Error]"]=y["[object Function]"]=y[a]=y["[object Number]"]=y[s]=y["[object RegExp]"]=y[l]=y["[object String]"]=y["[object WeakMap]"]=!1;var v=typeof r=="object"&&r&&r.Object===Object&&r,x=typeof self=="object"&&self&&self.Object===Object&&self,w=v||x||Function("return this")(),E=t&&!t.nodeType&&t,k=E&&typeof i=="object"&&i&&!i.nodeType&&i,T=k&&k.exports===E&&v.process,I=function(){try{return T&&T.binding("util")}catch{}}(),D=I&&I.isTypedArray;function $(A,H,te,ae){var xe=-1,Ee=A?A.length:0;for(ae&&Ee&&(te=A[++xe]);++xe<Ee;)te=H(te,A[xe],xe,A);return te}function P(A,H){for(var te=-1,ae=A?A.length:0;++te<ae;)if(H(A[te],te,A))return!0;return!1}function W(A,H,te,ae,xe){return xe(A,function(Ee,Le,mt){te=ae?(ae=!1,Ee):H(te,Ee,Le,mt)}),te}function Z(A){var H=!1;if(A!=null&&typeof A.toString!="function")try{H=!!(A+"")}catch{}return H}function ne(A){var H=-1,te=Array(A.size);return A.forEach(function(ae,xe){te[++H]=[xe,ae]}),te}function z(A){var H=-1,te=Array(A.size);return A.forEach(function(ae){te[++H]=ae}),te}var q,X,N,ce=Array.prototype,he=Function.prototype,C=Object.prototype,R=w["__core-js_shared__"],J=(q=/[^.]+$/.exec(R&&R.keys&&R.keys.IE_PROTO||""))?"Symbol(src)_1."+q:"",S=he.toString,V=C.hasOwnProperty,_=C.toString,Q=RegExp("^"+S.call(V).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),ie=w.Symbol,re=w.Uint8Array,me=C.propertyIsEnumerable,pe=ce.splice,ke=(X=Object.keys,N=Object,function(A){return X(N(A))}),K=ir(w,"DataView"),je=ir(w,"Map"),$e=ir(w,"Promise"),F=ir(w,"Set"),ee=ir(w,"WeakMap"),oe=ir(Object,"create"),we=or(K),ye=or(je),ve=or($e),Pe=or(F),Be=or(ee),ge=ie?ie.prototype:void 0,Y=ge?ge.valueOf:void 0,le=ge?ge.toString:void 0;function O(A){var H=-1,te=A?A.length:0;for(this.clear();++H<te;){var ae=A[H];this.set(ae[0],ae[1])}}function U(A){var H=-1,te=A?A.length:0;for(this.clear();++H<te;){var ae=A[H];this.set(ae[0],ae[1])}}function ue(A){var H=-1,te=A?A.length:0;for(this.clear();++H<te;){var ae=A[H];this.set(ae[0],ae[1])}}function _e(A){var H=-1,te=A?A.length:0;for(this.__data__=new ue;++H<te;)this.add(A[H])}function Ae(A){this.__data__=new U(A)}function nt(A,H){var te=M(A)||ta(A)?function(Le,mt){for(var wt=-1,gt=Array(Le);++wt<Le;)gt[wt]=mt(wt);return gt}(A.length,String):[],ae=te.length,xe=!!ae;for(var Ee in A)!V.call(A,Ee)||xe&&(Ee=="length"||Ui(Ee,ae))||te.push(Ee);return te}function Ct(A,H){for(var te=A.length;te--;)if(ar(A[te][0],H))return te;return-1}O.prototype.clear=function(){this.__data__=oe?oe(null):{}},O.prototype.delete=function(A){return this.has(A)&&delete this.__data__[A]},O.prototype.get=function(A){var H=this.__data__;if(oe){var te=H[A];return te==="__lodash_hash_undefined__"?void 0:te}return V.call(H,A)?H[A]:void 0},O.prototype.has=function(A){var H=this.__data__;return oe?H[A]!==void 0:V.call(H,A)},O.prototype.set=function(A,H){return this.__data__[A]=oe&&H===void 0?"__lodash_hash_undefined__":H,this},U.prototype.clear=function(){this.__data__=[]},U.prototype.delete=function(A){var H=this.__data__,te=Ct(H,A);return!(te<0)&&(te==H.length-1?H.pop():pe.call(H,te,1),!0)},U.prototype.get=function(A){var H=this.__data__,te=Ct(H,A);return te<0?void 0:H[te][1]},U.prototype.has=function(A){return Ct(this.__data__,A)>-1},U.prototype.set=function(A,H){var te=this.__data__,ae=Ct(te,A);return ae<0?te.push([A,H]):te[ae][1]=H,this},ue.prototype.clear=function(){this.__data__={hash:new O,map:new(je||U),string:new O}},ue.prototype.delete=function(A){return di(this,A).delete(A)},ue.prototype.get=function(A){return di(this,A).get(A)},ue.prototype.has=function(A){return di(this,A).has(A)},ue.prototype.set=function(A,H){return di(this,A).set(A,H),this},_e.prototype.add=_e.prototype.push=function(A){return this.__data__.set(A,"__lodash_hash_undefined__"),this},_e.prototype.has=function(A){return this.__data__.has(A)},Ae.prototype.clear=function(){this.__data__=new U},Ae.prototype.delete=function(A){return this.__data__.delete(A)},Ae.prototype.get=function(A){return this.__data__.get(A)},Ae.prototype.has=function(A){return this.__data__.has(A)},Ae.prototype.set=function(A,H){var te=this.__data__;if(te instanceof U){var ae=te.__data__;if(!je||ae.length<199)return ae.push([A,H]),this;te=this.__data__=new ue(ae)}return te.set(A,H),this};var It,Ye=(It=function(A,H){return A&&Et(A,H,Rt)},function(A,H){if(A==null)return A;if(!se(A))return It(A,H);for(var te=A.length,ae=-1,xe=Object(A);++ae<te&&H(xe[ae],ae,xe)!==!1;);return A}),Et=function(A){return function(H,te,ae){for(var xe=-1,Ee=Object(H),Le=ae(H),mt=Le.length;mt--;){var wt=Le[++xe];if(te(Ee[wt],wt,Ee)===!1)break}return H}}();function ht(A,H){for(var te=0,ae=(H=Gr(H,A)?[H]:ui(H)).length;A!=null&&te<ae;)A=A[Zr(H[te++])];return te&&te==ae?A:void 0}function Xt(A,H){return A!=null&&H in Object(A)}function Pt(A,H,te,ae,xe){return A===H||(A==null||H==null||!Ve(A)&&!Je(H)?A!=A&&H!=H:function(Ee,Le,mt,wt,gt,Qe){var yn=M(Ee),Kt=M(Le),Wt="[object Array]",qt="[object Array]";yn||(Wt=(Wt=Kn(Ee))==o?s:Wt),Kt||(qt=(qt=Kn(Le))==o?s:qt);var zn=Wt==s&&!Z(Ee),fi=qt==s&&!Z(Le),jr=Wt==qt;if(jr&&!zn)return Qe||(Qe=new Ae),yn||He(Ee)?Fn(Ee,Le,mt,wt,gt,Qe):function(it,rt,zs,Kr,Gi,vn,sr){switch(zs){case"[object DataView]":if(it.byteLength!=rt.byteLength||it.byteOffset!=rt.byteOffset)return!1;it=it.buffer,rt=rt.buffer;case"[object ArrayBuffer]":return!(it.byteLength!=rt.byteLength||!Kr(new re(it),new re(rt)));case"[object Boolean]":case"[object Date]":case"[object Number]":return ar(+it,+rt);case"[object Error]":return it.name==rt.name&&it.message==rt.message;case"[object RegExp]":case"[object String]":return it==rt+"";case a:var Ir=ne;case l:var pi=2&vn;if(Ir||(Ir=z),it.size!=rt.size&&!pi)return!1;var na=sr.get(it);if(na)return na==rt;vn|=1,sr.set(it,rt);var hi=Fn(Ir(it),Ir(rt),Kr,Gi,vn,sr);return sr.delete(it),hi;case"[object Symbol]":if(Y)return Y.call(it)==Y.call(rt)}return!1}(Ee,Le,Wt,mt,wt,gt,Qe);if(!(2>)){var Oc=zn&&V.call(Ee,"__wrapped__"),Fc=fi&&V.call(Le,"__wrapped__");if(Oc||Fc){var d1=Oc?Ee.value():Ee,f1=Fc?Le.value():Le;return Qe||(Qe=new Ae),mt(d1,f1,wt,gt,Qe)}}return jr?(Qe||(Qe=new Ae),function(it,rt,zs,Kr,Gi,vn){var sr=2&Gi,Ir=Rt(it),pi=Ir.length,na=Rt(rt).length;if(pi!=na&&!sr)return!1;for(var hi=pi;hi--;){var Mr=Ir[hi];if(!(sr?Mr in rt:V.call(rt,Mr)))return!1}var ra=vn.get(it);if(ra&&vn.get(rt))return ra==rt;var ia=!0;vn.set(it,rt),vn.set(rt,it);for(var Ls=sr;++hi<pi;){Mr=Ir[hi];var oa=it[Mr],Yr=rt[Mr];if(Kr)var aa=sr?Kr(Yr,oa,Mr,rt,it,vn):Kr(oa,Yr,Mr,it,rt,vn);if(!(aa===void 0?oa===Yr||zs(oa,Yr,Kr,Gi,vn):aa)){ia=!1;break}Ls||(Ls=Mr=="constructor")}if(ia&&!Ls){var mi=it.constructor,gi=rt.constructor;mi==gi||!("constructor"in it)||!("constructor"in rt)||typeof mi=="function"&&mi instanceof mi&&typeof gi=="function"&&gi instanceof gi||(ia=!1)}return vn.delete(it),vn.delete(rt),ia}(Ee,Le,mt,wt,gt,Qe)):!1}(A,H,Pt,te,ae,xe))}function Zn(A){return!(!Ve(A)||function(H){return!!J&&J in H}(A))&&(be(A)||Z(A)?Q:m).test(or(A))}function nr(A){return typeof A=="function"?A:A==null?Mt:typeof A=="object"?M(A)?function(ae,xe){return Gr(ae)&&En(xe)?Qo(Zr(ae),xe):function(Ee){var Le=function(mt,wt,gt){var Qe=mt==null?void 0:ht(mt,wt);return Qe===void 0?gt:Qe}(Ee,ae);return Le===void 0&&Le===xe?function(mt,wt){return mt!=null&&function(gt,Qe,yn){Qe=Gr(Qe,gt)?[Qe]:ui(Qe);for(var Kt,Wt=-1,qt=Qe.length;++Wt<qt;){var zn=Zr(Qe[Wt]);if(!(Kt=gt!=null&&yn(gt,zn)))break;gt=gt[zn]}return Kt||!!(qt=gt?gt.length:0)&&Fe(qt)&&Ui(zn,qt)&&(M(gt)||ta(gt))}(mt,wt,Xt)}(Ee,ae):Pt(xe,Le,void 0,3)}}(A[0],A[1]):function(ae){var xe=function(Ee){for(var Le=Rt(Ee),mt=Le.length;mt--;){var wt=Le[mt],gt=Ee[wt];Le[mt]=[wt,gt,En(gt)]}return Le}(ae);return xe.length==1&&xe[0][2]?Qo(xe[0][0],xe[0][1]):function(Ee){return Ee===ae||function(Le,mt,wt,gt){var Qe=wt.length,yn=Qe;if(Le==null)return!yn;for(Le=Object(Le);Qe--;){var Kt=wt[Qe];if(Kt[2]?Kt[1]!==Le[Kt[0]]:!(Kt[0]in Le))return!1}for(;++Qe<yn;){var Wt=(Kt=wt[Qe])[0],qt=Le[Wt],zn=Kt[1];if(Kt[2]){if(qt===void 0&&!(Wt in Le))return!1}else{var fi=new Ae,jr;if(!(jr===void 0?Pt(zn,qt,gt,3,fi):jr))return!1}}return!0}(Ee,ae,xe)}}(A):Gr(H=A)?(te=Zr(H),function(ae){return ae==null?void 0:ae[te]}):function(ae){return function(xe){return ht(xe,ae)}}(H);var H,te}function rr(A){if(te=(H=A)&&H.constructor,ae=typeof te=="function"&&te.prototype||C,H!==ae)return ke(A);var H,te,ae,xe=[];for(var Ee in Object(A))V.call(A,Ee)&&Ee!="constructor"&&xe.push(Ee);return xe}function ui(A){return M(A)?A:ea(A)}function Fn(A,H,te,ae,xe,Ee){var Le=2&xe,mt=A.length,wt=H.length;if(mt!=wt&&!(Le&&wt>mt))return!1;var gt=Ee.get(A);if(gt&&Ee.get(H))return gt==H;var Qe=-1,yn=!0,Kt=1&xe?new _e:void 0;for(Ee.set(A,H),Ee.set(H,A);++Qe<mt;){var Wt=A[Qe],qt=H[Qe];if(ae)var zn=Le?ae(qt,Wt,Qe,H,A,Ee):ae(Wt,qt,Qe,A,H,Ee);if(zn!==void 0){if(zn)continue;yn=!1;break}if(Kt){if(!P(H,function(fi,jr){if(!Kt.has(jr)&&(Wt===fi||te(Wt,fi,ae,xe,Ee)))return Kt.add(jr)})){yn=!1;break}}else if(Wt!==qt&&!te(Wt,qt,ae,xe,Ee)){yn=!1;break}}return Ee.delete(A),Ee.delete(H),yn}function di(A,H){var te,ae,xe=A.__data__;return((ae=typeof(te=H))=="string"||ae=="number"||ae=="symbol"||ae=="boolean"?te!=="__proto__":te===null)?xe[typeof H=="string"?"string":"hash"]:xe.map}function ir(A,H){var te=function(ae,xe){return ae==null?void 0:ae[xe]}(A,H);return Zn(te)?te:void 0}var Kn=function(A){return _.call(A)};function Ui(A,H){return!!(H=H??9007199254740991)&&(typeof A=="number"||g.test(A))&&A>-1&&A%1==0&&A<H}function Gr(A,H){if(M(A))return!1;var te=typeof A;return!(te!="number"&&te!="symbol"&&te!="boolean"&&A!=null&&!We(A))||u.test(A)||!c.test(A)||H!=null&&A in Object(H)}function En(A){return A==A&&!Ve(A)}function Qo(A,H){return function(te){return te!=null&&te[A]===H&&(H!==void 0||A in Object(te))}}(K&&Kn(new K(new ArrayBuffer(1)))!="[object DataView]"||je&&Kn(new je)!=a||$e&&Kn($e.resolve())!="[object Promise]"||F&&Kn(new F)!=l||ee&&Kn(new ee)!="[object WeakMap]")&&(Kn=function(A){var H=_.call(A),te=H==s?A.constructor:void 0,ae=te?or(te):void 0;if(ae)switch(ae){case we:return"[object DataView]";case ye:return a;case ve:return"[object Promise]";case Pe:return l;case Be:return"[object WeakMap]"}return H});var ea=qi(function(A){var H;A=(H=A)==null?"":function(ae){if(typeof ae=="string")return ae;if(We(ae))return le?le.call(ae):"";var xe=ae+"";return xe=="0"&&1/ae==-1/0?"-0":xe}(H);var te=[];return d.test(A)&&te.push(""),A.replace(f,function(ae,xe,Ee,Le){te.push(Ee?Le.replace(p,"$1"):xe||ae)}),te});function Zr(A){if(typeof A=="string"||We(A))return A;var H=A+"";return H=="0"&&1/A==-1/0?"-0":H}function or(A){if(A!=null){try{return S.call(A)}catch{}try{return A+""}catch{}}return""}function qi(A,H){if(typeof A!="function"||H&&typeof H!="function")throw new TypeError("Expected a function");var te=function(){var ae=arguments,xe=H?H.apply(this,ae):ae[0],Ee=te.cache;if(Ee.has(xe))return Ee.get(xe);var Le=A.apply(this,ae);return te.cache=Ee.set(xe,Le),Le};return te.cache=new(qi.Cache||ue),te}function ar(A,H){return A===H||A!=A&&H!=H}function ta(A){return function(H){return Je(H)&&se(H)}(A)&&V.call(A,"callee")&&(!me.call(A,"callee")||_.call(A)==o)}qi.Cache=ue;var M=Array.isArray;function se(A){return A!=null&&Fe(A.length)&&!be(A)}function be(A){var H=Ve(A)?_.call(A):"";return H=="[object Function]"||H=="[object GeneratorFunction]"}function Fe(A){return typeof A=="number"&&A>-1&&A%1==0&&A<=9007199254740991}function Ve(A){var H=typeof A;return!!A&&(H=="object"||H=="function")}function Je(A){return!!A&&typeof A=="object"}function We(A){return typeof A=="symbol"||Je(A)&&_.call(A)=="[object Symbol]"}var He=D?function(A){return function(H){return A(H)}}(D):function(A){return Je(A)&&Fe(A.length)&&!!y[_.call(A)]};function Rt(A){return se(A)?nt(A):rr(A)}function Mt(A){return A}i.exports=function(A,H,te){var ae=M(A)?$:W,xe=arguments.length<3;return ae(A,nr(H),te,xe,Ye)}}).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(C,R,J){return R in C?Object.defineProperty(C,R,{value:J,enumerable:!0,configurable:!0,writable:!0}):C[R]=J,C}function i(C){if(Symbol.iterator in Object(C)||Object.prototype.toString.call(C)==="[object Arguments]")return Array.from(C)}function o(C){return function(R){if(Array.isArray(R)){for(var J=0,S=new Array(R.length);J<R.length;J++)S[J]=R[J];return S}}(C)||i(C)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function a(C){if(Array.isArray(C))return C}function s(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}function l(C,R){if(!(C instanceof R))throw new TypeError("Cannot call a class as a function")}function c(C,R){for(var J=0;J<R.length;J++){var S=R[J];S.enumerable=S.enumerable||!1,S.configurable=!0,"value"in S&&(S.writable=!0),Object.defineProperty(C,S.key,S)}}function u(C){return(u=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(R){return typeof R}:function(R){return R&&typeof Symbol=="function"&&R.constructor===Symbol&&R!==Symbol.prototype?"symbol":typeof R})(C)}function d(C){return(d=typeof Symbol=="function"&&u(Symbol.iterator)==="symbol"?function(R){return u(R)}:function(R){return R&&typeof Symbol=="function"&&R.constructor===Symbol&&R!==Symbol.prototype?"symbol":u(R)})(C)}function f(C){if(C===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return C}function p(C){return(p=Object.setPrototypeOf?Object.getPrototypeOf:function(R){return R.__proto__||Object.getPrototypeOf(R)})(C)}function m(C,R){return(m=Object.setPrototypeOf||function(J,S){return J.__proto__=S,J})(C,R)}n.r(t);var g=n(0),y=n.n(g),v=n(5),x=n.n(v),w=n(4),E=n.n(w),k=n(6),T=n.n(k),I=n(2),D=n.n(I),$=n(1),P=n.n($);n(8);function W(C,R){return a(C)||function(J,S){var V=[],_=!0,Q=!1,ie=void 0;try{for(var re,me=J[Symbol.iterator]();!(_=(re=me.next()).done)&&(V.push(re.value),!S||V.length!==S);_=!0);}catch(pe){Q=!0,ie=pe}finally{try{_||me.return==null||me.return()}finally{if(Q)throw ie}}return V}(C,R)||s()}var Z=[["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"]],ne=[["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(C,R,J,S,V){return!J||V?C+"".padEnd(R.length,".")+" "+S:C+"".padEnd(R.length,".")+" "+J}function q(C,R,J,S,V){var _,Q,ie=[];return Q=R===!0,[(_=[]).concat.apply(_,o(C.map(function(re){var me={name:re[0],regions:re[1],iso2:re[2],countryCode:re[3],dialCode:re[3],format:z(J,re[3],re[4],S,V),priority:re[5]||0},pe=[];return re[6]&&re[6].map(function(ke){var K=function(je){for(var $e=1;$e<arguments.length;$e++){var F=arguments[$e]!=null?arguments[$e]:{},ee=Object.keys(F);typeof Object.getOwnPropertySymbols=="function"&&(ee=ee.concat(Object.getOwnPropertySymbols(F).filter(function(oe){return Object.getOwnPropertyDescriptor(F,oe).enumerable}))),ee.forEach(function(oe){r(je,oe,F[oe])})}return je}({},me);K.dialCode=re[3]+ke,K.isAreaCode=!0,K.areaCodeLength=ke.length,pe.push(K)}),pe.length>0?(me.mainCode=!0,Q||R.constructor.name==="Array"&&R.includes(re[2])?(me.hasAreaCodes=!0,[me].concat(pe)):(ie=ie.concat(pe),[me])):[me]}))),ie]}function X(C,R,J,S){if(J!==null){var V=Object.keys(J),_=Object.values(J);V.forEach(function(Q,ie){if(S)return C.push([Q,_[ie]]);var re=C.findIndex(function(pe){return pe[0]===Q});if(re===-1){var me=[Q];me[R]=_[ie],C.push(me)}else C[re][R]=_[ie]})}}function N(C,R){return R.length===0?C:C.map(function(J){var S=R.findIndex(function(_){return _[0]===J[2]});if(S===-1)return J;var V=R[S];return V[1]&&(J[4]=V[1]),V[3]&&(J[5]=V[3]),V[2]&&(J[6]=V[2]),J})}var ce=function C(R,J,S,V,_,Q,ie,re,me,pe,ke,K,je,$e){l(this,C),this.filterRegions=function(ge,Y){if(typeof ge=="string"){var le=ge;return Y.filter(function(O){return O.regions.some(function(U){return U===le})})}return Y.filter(function(O){return ge.map(function(U){return O.regions.some(function(ue){return ue===U})}).some(function(U){return U})})},this.sortTerritories=function(ge,Y){var le=[].concat(o(ge),o(Y));return le.sort(function(O,U){return O.name<U.name?-1:O.name>U.name?1:0}),le},this.getFilteredCountryList=function(ge,Y,le){return ge.length===0?Y:le?ge.map(function(O){var U=Y.find(function(ue){return ue.iso2===O});if(U)return U}).filter(function(O){return O}):Y.filter(function(O){return ge.some(function(U){return U===O.iso2})})},this.localizeCountries=function(ge,Y,le){for(var O=0;O<ge.length;O++)Y[ge[O].iso2]!==void 0?ge[O].localName=Y[ge[O].iso2]:Y[ge[O].name]!==void 0&&(ge[O].localName=Y[ge[O].name]);return le||ge.sort(function(U,ue){return U.localName<ue.localName?-1:U.localName>ue.localName?1:0}),ge},this.getCustomAreas=function(ge,Y){for(var le=[],O=0;O<Y.length;O++){var U=JSON.parse(JSON.stringify(ge));U.dialCode+=Y[O],le.push(U)}return le},this.excludeCountries=function(ge,Y){return Y.length===0?ge:ge.filter(function(le){return!Y.includes(le.iso2)})};var F=function(ge,Y,le){var O=[];return X(O,1,ge,!0),X(O,3,Y),X(O,2,le),O}(re,me,pe),ee=N(JSON.parse(JSON.stringify(Z)),F),oe=N(JSON.parse(JSON.stringify(ne)),F),we=W(q(ee,R,K,je,$e),2),ye=we[0],ve=we[1];if(J){var Pe=W(q(oe,R,K,je,$e),2),Be=Pe[0];Pe[1],ye=this.sortTerritories(Be,ye)}S&&(ye=this.filterRegions(S,ye)),this.onlyCountries=this.localizeCountries(this.excludeCountries(this.getFilteredCountryList(V,ye,ie.includes("onlyCountries")),Q),ke,ie.includes("onlyCountries")),this.preferredCountries=_.length===0?[]:this.localizeCountries(this.getFilteredCountryList(_,ye,ie.includes("preferredCountries")),ke,ie.includes("preferredCountries")),this.hiddenAreaCodes=this.excludeCountries(this.getFilteredCountryList(V,ve),Q)},he=function(C){function R(V){var _;l(this,R),(_=function(F,ee){return!ee||d(ee)!=="object"&&typeof ee!="function"?f(F):ee}(this,p(R).call(this,V))).getProbableCandidate=E()(function(F){return F&&F.length!==0?_.state.onlyCountries.filter(function(ee){return D()(ee.name.toLowerCase(),F.toLowerCase())},f(f(_)))[0]:null}),_.guessSelectedCountry=E()(function(F,ee,oe,we){var ye;if(_.props.enableAreaCodes===!1&&(we.some(function(Be){if(D()(F,Be.dialCode))return oe.some(function(ge){if(Be.iso2===ge.iso2&&ge.mainCode)return ye=ge,!0}),!0}),ye))return ye;var ve=oe.find(function(Be){return Be.iso2==ee});if(F.trim()==="")return ve;var Pe=oe.reduce(function(Be,ge){return D()(F,ge.dialCode)&&(ge.dialCode.length>Be.dialCode.length||ge.dialCode.length===Be.dialCode.length&&ge.priority<Be.priority)?ge:Be},{dialCode:"",priority:10001},f(f(_)));return Pe.name?Pe:ve}),_.updateCountry=function(F){var ee,oe=_.state.onlyCountries;(ee=F.indexOf(0)>="0"&&F.indexOf(0)<="9"?oe.find(function(we){return we.dialCode==+F}):oe.find(function(we){return we.iso2==F}))&&ee.dialCode&&_.setState({selectedCountry:ee,formattedNumber:_.props.disableCountryCode?"":_.formatNumber(ee.dialCode,ee)})},_.scrollTo=function(F,ee){if(F){var oe=_.dropdownRef;if(oe&&document.body){var we=oe.offsetHeight,ye=oe.getBoundingClientRect().top+document.body.scrollTop,ve=ye+we,Pe=F,Be=Pe.getBoundingClientRect(),ge=Pe.offsetHeight,Y=Be.top+document.body.scrollTop,le=Y+ge,O=Y-ye+oe.scrollTop,U=we/2-ge/2;if(_.props.enableSearch?Y<ye+32:Y<ye)ee&&(O-=U),oe.scrollTop=O;else if(le>ve){ee&&(O+=U);var ue=we-ge;oe.scrollTop=O-ue}}}},_.scrollToTop=function(){var F=_.dropdownRef;F&&document.body&&(F.scrollTop=0)},_.formatNumber=function(F,ee){if(!ee)return F;var oe,we=ee.format,ye=_.props,ve=ye.disableCountryCode,Pe=ye.enableAreaCodeStretch,Be=ye.enableLongNumbers,ge=ye.autoFormat;if(ve?((oe=we.split(" ")).shift(),oe=oe.join(" ")):Pe&&ee.isAreaCode?((oe=we.split(" "))[1]=oe[1].replace(/\.+/,"".padEnd(ee.areaCodeLength,".")),oe=oe.join(" ")):oe=we,!F||F.length===0)return ve?"":_.props.prefix;if(F&&F.length<2||!oe||!ge)return ve?F:_.props.prefix+F;var Y,le=T()(oe,function(O,U){if(O.remainingText.length===0)return O;if(U!==".")return{formattedText:O.formattedText+U,remainingText:O.remainingText};var ue,_e=a(ue=O.remainingText)||i(ue)||s(),Ae=_e[0],nt=_e.slice(1);return{formattedText:O.formattedText+Ae,remainingText:nt}},{formattedText:"",remainingText:F.split("")});return(Y=Be?le.formattedText+le.remainingText.join(""):le.formattedText).includes("(")&&!Y.includes(")")&&(Y+=")"),Y},_.cursorToEnd=function(){var F=_.numberInputRef;if(document.activeElement===F){F.focus();var ee=F.value.length;F.value.charAt(ee-1)===")"&&(ee-=1),F.setSelectionRange(ee,ee)}},_.getElement=function(F){return _["flag_no_".concat(F)]},_.getCountryData=function(){return _.state.selectedCountry?{name:_.state.selectedCountry.name||"",dialCode:_.state.selectedCountry.dialCode||"",countryCode:_.state.selectedCountry.iso2||"",format:_.state.selectedCountry.format||""}:{}},_.handleFlagDropdownClick=function(F){if(F.preventDefault(),_.state.showDropdown||!_.props.disabled){var ee=_.state,oe=ee.preferredCountries,we=ee.onlyCountries,ye=ee.selectedCountry,ve=_.concatPreferredCountries(oe,we).findIndex(function(Pe){return Pe.dialCode===ye.dialCode&&Pe.iso2===ye.iso2});_.setState({showDropdown:!_.state.showDropdown,highlightCountryIndex:ve},function(){_.state.showDropdown&&_.scrollTo(_.getElement(_.state.highlightCountryIndex))})}},_.handleInput=function(F){var ee=F.target.value,oe=_.props,we=oe.prefix,ye=oe.onChange,ve=_.props.disableCountryCode?"":we,Pe=_.state.selectedCountry,Be=_.state.freezeSelection;if(!_.props.countryCodeEditable){var ge=we+(Pe.hasAreaCodes?_.state.onlyCountries.find(function(Ye){return Ye.iso2===Pe.iso2&&Ye.mainCode}).dialCode:Pe.dialCode);if(ee.slice(0,ge.length)!==ge)return}if(ee===we)return ye&&ye("",_.getCountryData(),F,""),_.setState({formattedNumber:""});if(!(ee.replace(/\D/g,"").length>15&&(_.props.enableLongNumbers===!1||typeof _.props.enableLongNumbers=="number"&&ee.replace(/\D/g,"").length>_.props.enableLongNumbers))&&ee!==_.state.formattedNumber){F.preventDefault?F.preventDefault():F.returnValue=!1;var Y=_.props.country,le=_.state,O=le.onlyCountries,U=le.selectedCountry,ue=le.hiddenAreaCodes;if(ye&&F.persist(),ee.length>0){var _e=ee.replace(/\D/g,"");(!_.state.freezeSelection||U&&U.dialCode.length>_e.length)&&(Pe=_.props.disableCountryGuess?U:_.guessSelectedCountry(_e.substring(0,6),Y,O,ue)||U,Be=!1),ve=_.formatNumber(_e,Pe),Pe=Pe.dialCode?Pe:U}var Ae=F.target.selectionStart,nt=F.target.selectionStart,Ct=_.state.formattedNumber,It=ve.length-Ct.length;_.setState({formattedNumber:ve,freezeSelection:Be,selectedCountry:Pe},function(){It>0&&(nt-=It),ve.charAt(ve.length-1)==")"?_.numberInputRef.setSelectionRange(ve.length-1,ve.length-1):nt>0&&Ct.length>=ve.length?_.numberInputRef.setSelectionRange(nt,nt):Ae<Ct.length&&_.numberInputRef.setSelectionRange(Ae,Ae),ye&&ye(ve.replace(/[^0-9]+/g,""),_.getCountryData(),F,ve)})}},_.handleInputClick=function(F){_.setState({showDropdown:!1}),_.props.onClick&&_.props.onClick(F,_.getCountryData())},_.handleDoubleClick=function(F){var ee=F.target.value.length;F.target.setSelectionRange(0,ee)},_.handleFlagItemClick=function(F,ee){var oe=_.state.selectedCountry,we=_.state.onlyCountries.find(function(Be){return Be==F});if(we){var ye=_.state.formattedNumber.replace(" ","").replace("(","").replace(")","").replace("-",""),ve=ye.length>1?ye.replace(oe.dialCode,we.dialCode):we.dialCode,Pe=_.formatNumber(ve.replace(/\D/g,""),we);_.setState({showDropdown:!1,selectedCountry:we,freezeSelection:!0,formattedNumber:Pe,searchValue:""},function(){_.cursorToEnd(),_.props.onChange&&_.props.onChange(Pe.replace(/[^0-9]+/g,""),_.getCountryData(),ee,Pe)})}},_.handleInputFocus=function(F){_.numberInputRef&&_.numberInputRef.value===_.props.prefix&&_.state.selectedCountry&&!_.props.disableCountryCode&&_.setState({formattedNumber:_.props.prefix+_.state.selectedCountry.dialCode},function(){_.props.jumpCursorToEnd&&setTimeout(_.cursorToEnd,0)}),_.setState({placeholder:""}),_.props.onFocus&&_.props.onFocus(F,_.getCountryData()),_.props.jumpCursorToEnd&&setTimeout(_.cursorToEnd,0)},_.handleInputBlur=function(F){F.target.value||_.setState({placeholder:_.props.placeholder}),_.props.onBlur&&_.props.onBlur(F,_.getCountryData())},_.handleInputCopy=function(F){if(_.props.copyNumbersOnly){var ee=window.getSelection().toString().replace(/[^0-9]+/g,"");F.clipboardData.setData("text/plain",ee),F.preventDefault()}},_.getHighlightCountryIndex=function(F){var ee=_.state.highlightCountryIndex+F;return ee<0||ee>=_.state.onlyCountries.length+_.state.preferredCountries.length?ee-F:_.props.enableSearch&&ee>_.getSearchFilteredCountries().length?0:ee},_.searchCountry=function(){var F=_.getProbableCandidate(_.state.queryString)||_.state.onlyCountries[0],ee=_.state.onlyCountries.findIndex(function(oe){return oe==F})+_.state.preferredCountries.length;_.scrollTo(_.getElement(ee),!0),_.setState({queryString:"",highlightCountryIndex:ee})},_.handleKeydown=function(F){var ee=_.props.keys,oe=F.target.className;if(oe.includes("selected-flag")&&F.which===ee.ENTER&&!_.state.showDropdown)return _.handleFlagDropdownClick(F);if(oe.includes("form-control")&&(F.which===ee.ENTER||F.which===ee.ESC))return F.target.blur();if(_.state.showDropdown&&!_.props.disabled&&(!oe.includes("search-box")||F.which===ee.UP||F.which===ee.DOWN||F.which===ee.ENTER||F.which===ee.ESC&&F.target.value==="")){F.preventDefault?F.preventDefault():F.returnValue=!1;var we=function(ye){_.setState({highlightCountryIndex:_.getHighlightCountryIndex(ye)},function(){_.scrollTo(_.getElement(_.state.highlightCountryIndex),!0)})};switch(F.which){case ee.DOWN:we(1);break;case ee.UP:we(-1);break;case ee.ENTER:_.props.enableSearch?_.handleFlagItemClick(_.getSearchFilteredCountries()[_.state.highlightCountryIndex]||_.getSearchFilteredCountries()[0],F):_.handleFlagItemClick([].concat(o(_.state.preferredCountries),o(_.state.onlyCountries))[_.state.highlightCountryIndex],F);break;case ee.ESC:case ee.TAB:_.setState({showDropdown:!1},_.cursorToEnd);break;default:(F.which>=ee.A&&F.which<=ee.Z||F.which===ee.SPACE)&&_.setState({queryString:_.state.queryString+String.fromCharCode(F.which)},_.state.debouncedQueryStingSearcher)}}},_.handleInputKeyDown=function(F){var ee=_.props,oe=ee.keys,we=ee.onEnterKeyPress,ye=ee.onKeyDown;F.which===oe.ENTER&&we&&we(F),ye&&ye(F)},_.handleClickOutside=function(F){_.dropdownRef&&!_.dropdownContainerRef.contains(F.target)&&_.state.showDropdown&&_.setState({showDropdown:!1})},_.handleSearchChange=function(F){var ee=F.currentTarget.value,oe=_.state,we=oe.preferredCountries,ye=oe.selectedCountry,ve=0;if(ee===""&&ye){var Pe=_.state.onlyCountries;ve=_.concatPreferredCountries(we,Pe).findIndex(function(Be){return Be==ye}),setTimeout(function(){return _.scrollTo(_.getElement(ve))},100)}_.setState({searchValue:ee,highlightCountryIndex:ve})},_.concatPreferredCountries=function(F,ee){return F.length>0?o(new Set(F.concat(ee))):ee},_.getDropdownCountryName=function(F){return F.localName||F.name},_.getSearchFilteredCountries=function(){var F=_.state,ee=F.preferredCountries,oe=F.onlyCountries,we=F.searchValue,ye=_.props.enableSearch,ve=_.concatPreferredCountries(ee,oe),Pe=we.trim().toLowerCase().replace("+","");if(ye&&Pe){if(/^\d+$/.test(Pe))return ve.filter(function(Y){var le=Y.dialCode;return["".concat(le)].some(function(O){return O.toLowerCase().includes(Pe)})});var Be=ve.filter(function(Y){var le=Y.iso2;return["".concat(le)].some(function(O){return O.toLowerCase().includes(Pe)})}),ge=ve.filter(function(Y){var le=Y.name,O=Y.localName;return Y.iso2,["".concat(le),"".concat(O||"")].some(function(U){return U.toLowerCase().includes(Pe)})});return _.scrollToTop(),o(new Set([].concat(Be,ge)))}return ve},_.getCountryDropdownList=function(){var F=_.state,ee=F.preferredCountries,oe=F.highlightCountryIndex,we=F.showDropdown,ye=F.searchValue,ve=_.props,Pe=ve.disableDropdown,Be=ve.prefix,ge=_.props,Y=ge.enableSearch,le=ge.searchNotFound,O=ge.disableSearchIcon,U=ge.searchClass,ue=ge.searchStyle,_e=ge.searchPlaceholder,Ae=ge.autocompleteSearch,nt=_.getSearchFilteredCountries().map(function(Ye,Et){var ht=oe===Et,Xt=P()({country:!0,preferred:Ye.iso2==="us"||Ye.iso2==="gb",active:Ye.iso2==="us",highlight:ht}),Pt="flag ".concat(Ye.iso2);return y.a.createElement("li",Object.assign({ref:function(Zn){return _["flag_no_".concat(Et)]=Zn},key:"flag_no_".concat(Et),"data-flag-key":"flag_no_".concat(Et),className:Xt,"data-dial-code":"1",tabIndex:Pe?"-1":"0","data-country-code":Ye.iso2,onClick:function(Zn){return _.handleFlagItemClick(Ye,Zn)},role:"option"},ht?{"aria-selected":!0}:{}),y.a.createElement("div",{className:Pt}),y.a.createElement("span",{className:"country-name"},_.getDropdownCountryName(Ye)),y.a.createElement("span",{className:"dial-code"},Ye.format?_.formatNumber(Ye.dialCode,Ye):Be+Ye.dialCode))}),Ct=y.a.createElement("li",{key:"dashes",className:"divider"});ee.length>0&&(!Y||Y&&!ye.trim())&&nt.splice(ee.length,0,Ct);var It=P()(r({"country-list":!0,hide:!we},_.props.dropdownClass,!0));return y.a.createElement("ul",{ref:function(Ye){return!Y&&Ye&&Ye.focus(),_.dropdownRef=Ye},className:It,style:_.props.dropdownStyle,role:"listbox",tabIndex:"0"},Y&&y.a.createElement("li",{className:P()(r({search:!0},U,U))},!O&&y.a.createElement("span",{className:P()(r({"search-emoji":!0},"".concat(U,"-emoji"),U)),role:"img","aria-label":"Magnifying glass"},"🔎"),y.a.createElement("input",{className:P()(r({"search-box":!0},"".concat(U,"-box"),U)),style:ue,type:"search",placeholder:_e,autoFocus:!0,autoComplete:Ae?"on":"off",value:ye,onChange:_.handleSearchChange})),nt.length>0?nt:y.a.createElement("li",{className:"no-entries-message"},y.a.createElement("span",null,le)))};var Q,ie=new ce(V.enableAreaCodes,V.enableTerritories,V.regions,V.onlyCountries,V.preferredCountries,V.excludeCountries,V.preserveOrder,V.masks,V.priority,V.areaCodes,V.localization,V.prefix,V.defaultMask,V.alwaysDefaultMask),re=ie.onlyCountries,me=ie.preferredCountries,pe=ie.hiddenAreaCodes,ke=V.value?V.value.replace(/\D/g,""):"";Q=V.disableInitialCountryGuess?0:ke.length>1?_.guessSelectedCountry(ke.substring(0,6),V.country,re,pe)||0:V.country&&re.find(function(F){return F.iso2==V.country})||0;var K,je=ke.length<2&&Q&&!D()(ke,Q.dialCode)?Q.dialCode:"";K=ke===""&&Q===0?"":_.formatNumber((V.disableCountryCode?"":je)+ke,Q.name?Q:void 0);var $e=re.findIndex(function(F){return F==Q});return _.state={showDropdown:V.showDropdown,formattedNumber:K,onlyCountries:re,preferredCountries:me,hiddenAreaCodes:pe,selectedCountry:Q,highlightCountryIndex:$e,queryString:"",freezeSelection:!1,debouncedQueryStingSearcher:x()(_.searchCountry,250),searchValue:""},_}var J,S;return function(V,_){if(typeof _!="function"&&_!==null)throw new TypeError("Super expression must either be null or a function");V.prototype=Object.create(_&&_.prototype,{constructor:{value:V,writable:!0,configurable:!0}}),_&&m(V,_)}(R,C),J=R,(S=[{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(V,_,Q){V.country!==this.props.country?this.updateCountry(this.props.country):V.value!==this.props.value&&this.updateFormattedNumber(this.props.value)}},{key:"updateFormattedNumber",value:function(V){if(V===null)return this.setState({selectedCountry:0,formattedNumber:""});var _=this.state,Q=_.onlyCountries,ie=_.selectedCountry,re=_.hiddenAreaCodes,me=this.props,pe=me.country,ke=me.prefix;if(V==="")return this.setState({selectedCountry:ie,formattedNumber:""});var K,je,$e=V.replace(/\D/g,"");if(ie&&D()(V,ke+ie.dialCode))je=this.formatNumber($e,ie),this.setState({formattedNumber:je});else{var F=(K=this.props.disableCountryGuess?ie:this.guessSelectedCountry($e.substring(0,6),pe,Q,re)||ie)&&D()($e,ke+K.dialCode)?K.dialCode:"";je=this.formatNumber((this.props.disableCountryCode?"":F)+$e,K||void 0),this.setState({selectedCountry:K,formattedNumber:je})}}},{key:"render",value:function(){var V,_,Q,ie=this,re=this.state,me=re.onlyCountries,pe=re.selectedCountry,ke=re.showDropdown,K=re.formattedNumber,je=re.hiddenAreaCodes,$e=this.props,F=$e.disableDropdown,ee=$e.renderStringAsFlag,oe=$e.isValid,we=$e.defaultErrorMessage,ye=$e.specialLabel;if(typeof oe=="boolean")_=oe;else{var ve=oe(K.replace(/\D/g,""),pe,me,je);typeof ve=="boolean"?(_=ve)===!1&&(Q=we):(_=!1,Q=ve)}var Pe=P()((r(V={},this.props.containerClass,!0),r(V,"react-tel-input",!0),V)),Be=P()({arrow:!0,up:ke}),ge=P()(r({"form-control":!0,"invalid-number":!_,open:ke},this.props.inputClass,!0)),Y=P()({"selected-flag":!0,open:ke}),le=P()(r({"flag-dropdown":!0,"invalid-number":!_,open:ke},this.props.buttonClass,!0)),O="flag ".concat(pe&&pe.iso2);return y.a.createElement("div",{className:"".concat(Pe," ").concat(this.props.className),style:this.props.style||this.props.containerStyle,onKeyDown:this.handleKeydown},ye&&y.a.createElement("div",{className:"special-label"},ye),Q&&y.a.createElement("div",{className:"invalid-number-message"},Q),y.a.createElement("input",Object.assign({className:ge,style:this.props.inputStyle,onChange:this.handleInput,onClick:this.handleInputClick,onDoubleClick:this.handleDoubleClick,onFocus:this.handleInputFocus,onBlur:this.handleInputBlur,onCopy:this.handleInputCopy,value:K,onKeyDown:this.handleInputKeyDown,placeholder:this.props.placeholder,disabled:this.props.disabled,type:"tel"},this.props.inputProps,{ref:function(U){ie.numberInputRef=U,typeof ie.props.inputProps.ref=="function"?ie.props.inputProps.ref(U):typeof ie.props.inputProps.ref=="object"&&(ie.props.inputProps.ref.current=U)}})),y.a.createElement("div",{className:le,style:this.props.buttonStyle,ref:function(U){return ie.dropdownContainerRef=U}},ee?y.a.createElement("div",{className:Y},ee):y.a.createElement("div",{onClick:F?void 0:this.handleFlagDropdownClick,className:Y,title:pe?"".concat(pe.localName||pe.name,": + ").concat(pe.dialCode):"",tabIndex:F?"-1":"0",role:"button","aria-haspopup":"listbox","aria-expanded":!!ke||void 0},y.a.createElement("div",{className:O},!F&&y.a.createElement("div",{className:Be}))),ke&&this.getCountryDropdownList()))}}])&&c(J.prototype,S),R}(y.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 Pz=sa(Ez),Az=({label:e,value:t="",onChange:n=a=>{console.log(a)},placeholder:r="Introduce tu número de teléfono",isRequired:i=!1,error:o=""})=>h.jsxs(ns,{isRequired:i,children:[e&&h.jsx(Do,{fontSize:"16px",children:e}),h.jsx(Pz,{country:"es",defaultCountry:"es",regions:"europe",dropdownClass:"custom-dropdown",value:t,onChange:n,inputStyle:{width:"100%",borderRadius:"5px",height:"40px",border:o?"1px solid red":"1px solid #ccc"},dropdownStyle:{borderRadius:"5px"},placeholder:r}),o&&h.jsx(qe,{fontSize:"sm",color:"red.500",mt:1,children:o})]}),jz=({label:e="",description:t="",placeholders:n=[],values:r=[],onChange:i,dropdown:o=!1,info:a=!1,infoText:s="",product:l="info",isRequired:c=!1,isDisabled:u=!1,isReadOnly:d=!1})=>{const[f,p]=b.useState(!0),m=mn[l],g=m[200],y=m[300],v=(x,w)=>{i&&i(x,w)};return h.jsx(Ke,{children:h.jsxs(ns,{isRequired:c,children:[h.jsxs(Do,{fontSize:"16px",children:[o&&h.jsx(tn,{"aria-label":"Toggle Description",icon:f?h.jsx(R4,{}):h.jsx(fp,{}),size:"sm",variant:"ghost",onClick:()=>p(!f),_hover:{bg:"transparent"}}),e,a&&s&&h.jsx(fc,{label:s,"aria-label":"Más información",p:"10px",borderRadius:"5px",bg:g,border:`1px solid ${y}`,color:"black.500",placement:"top",hasArrow:!0,children:h.jsx(tn,{icon:h.jsx(pp,{}),"aria-label":"Información",size:"sm",variant:"ghost",ml:2,color:"info.600"})})]}),o&&f&&t&&h.jsxs(h.Fragment,{children:[h.jsx(qe,{fontSize:"14px",color:"gray.500",mb:"10px",textAlign:"start",children:t}),h.jsx(vt,{wrap:"wrap",mb:2,gap:4,children:n.map((x,w)=>h.jsx(Ke,{flexBasis:{base:"100%",sm:"48%"},children:h.jsx(Oo,{placeholder:x,value:r[w]||"",onChange:E=>v(w,E.target.value),bg:"white",isDisabled:u,isReadOnly:d})},w))})]})]})})},Ur={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"},yy=({type:e,title:t,description:n,customContent:r,onClose:i})=>{const o={success:KO,error:N4,info:JO,warning:N4};return e==="custom"?h.jsx("div",{className:`${Ur.toast} ${Ur.customToast}`,children:h.jsxs(vt,{direction:"row",align:"center",flex:"1",children:[r&&h.jsx("div",{className:Ur.customContent,children:r}),i&&h.jsx(hn,{className:Ur.toastCloseButton,size:"sm",position:"absolute",onClick:i,variant:"link","aria-label":"Close Toast",children:h.jsx(Ss,{boxSize:4})})]})}):h.jsx("div",{className:`${Ur.toast} ${Ur[e]}`,children:h.jsxs(vt,{direction:"row",align:"center",flex:"1",children:[h.jsx(sn,{as:o[e],className:Ur.toastIcon,boxSize:6}),h.jsxs(vt,{direction:"column",flex:"1",ml:3,children:[h.jsx(qe,{className:Ur.toastText,children:t}),n&&h.jsx(qe,{mt:1,children:n})]}),i&&h.jsx(hn,{className:Ur.toastCloseButton,size:"sm",position:"absolute",onClick:i,variant:"link","aria-label":"Close Toast",children:h.jsx(Ss,{boxSize:4})})]})})},vy=()=>{const e=$4();return({type:t,title:n,description:r,duration:i=3e3,customContent:o,position:a="bottom-right"})=>{e({position:a,duration:i,render:({onClose:s})=>h.jsx(yy,{type:t,title:n,description:r,onClose:s,customContent:o})})}},Iz=({message:e,userImage:t,timestamp:n,isError:r=!1,userName:i="User",type:o="text",src:a="",alt:s=""})=>h.jsxs(qn,{justify:"flex-end",spacing:2,w:"100%",py:2,children:[h.jsxs(Ke,{bg:o!=="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:[o==="image"?h.jsx(Ke,{maxWidth:"24.3125rem",height:"13.4375rem",children:h.jsx("img",{src:a,alt:s,style:{width:"100%",objectFit:"contain",height:"100%"}})}):h.jsx(qe,{textAlign:"right",fontSize:"md",whiteSpace:"normal",children:e}),n&&h.jsx(qe,{fontSize:"xs",color:"gray.500",textAlign:"right",mt:1,children:n})]}),h.jsx(bg,{src:t,name:i,size:"sm"})]}),Mz=({width:e=24,height:t=24,color:n="#666666"})=>h.jsxs("svg",{width:e,height:t,viewBox:"0 0 22 24",fill:n,xmlns:"http://www.w3.org/2000/svg",children:[h.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}),h.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}),h.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}),h.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}),h.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}),h.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}),h.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})]});function dU(){}function fU(){}function Dz(e,t){const n={};return(e[e.length-1]===""?[...e,""]:e).join((n.padRight?" ":"")+","+(n.padLeft===!1?"":" ")).trim()}const Oz=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,Fz=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,zz={};function by(e,t){return(zz.jsx?Fz:Oz).test(e)}const Lz=/[ \t\n\f\r]/g;function $z(e){return typeof e=="object"?e.type==="text"?xy(e.value):!1:xy(e)}function xy(e){return e.replace(Lz,"")===""}class _s{constructor(t,n,r){this.normal=n,this.property=t,r&&(this.space=r)}}_s.prototype.normal={},_s.prototype.property={},_s.prototype.space=void 0;function Cy(e,t){const n={},r={};for(const i of e)Object.assign(n,i.property),Object.assign(r,i.normal);return new _s(n,r,t)}function wp(e){return e.toLowerCase()}class Tn{constructor(t,n){this.attribute=n,this.property=t}}Tn.prototype.attribute="",Tn.prototype.booleanish=!1,Tn.prototype.boolean=!1,Tn.prototype.commaOrSpaceSeparated=!1,Tn.prototype.commaSeparated=!1,Tn.prototype.defined=!1,Tn.prototype.mustUseProperty=!1,Tn.prototype.number=!1,Tn.prototype.overloadedBoolean=!1,Tn.prototype.property="",Tn.prototype.spaceSeparated=!1,Tn.prototype.space=void 0;let Bz=0;const Ne=Ni(),Ut=Ni(),wy=Ni(),de=Ni(),_t=Ni(),Go=Ni(),Dn=Ni();function Ni(){return 2**++Bz}const kp=Object.freeze(Object.defineProperty({__proto__:null,boolean:Ne,booleanish:Ut,commaOrSpaceSeparated:Dn,commaSeparated:Go,number:de,overloadedBoolean:wy,spaceSeparated:_t},Symbol.toStringTag,{value:"Module"})),Sp=Object.keys(kp);class Tp extends Tn{constructor(t,n,r,i){let o=-1;if(super(t,n),ky(this,"space",i),typeof r=="number")for(;++o<Sp.length;){const a=Sp[o];ky(this,Sp[o],(r&kp[a])===kp[a])}}}Tp.prototype.defined=!0;function ky(e,t,n){n&&(e[t]=n)}function Zo(e){const t={},n={};for(const[r,i]of Object.entries(e.properties)){const o=new Tp(r,e.transform(e.attributes||{},r),i,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(o.mustUseProperty=!0),t[r]=o,n[wp(r)]=r,n[wp(o.attribute)]=r}return new _s(t,n,e.space)}const Sy=Zo({properties:{ariaActiveDescendant:null,ariaAtomic:Ut,ariaAutoComplete:null,ariaBusy:Ut,ariaChecked:Ut,ariaColCount:de,ariaColIndex:de,ariaColSpan:de,ariaControls:_t,ariaCurrent:null,ariaDescribedBy:_t,ariaDetails:null,ariaDisabled:Ut,ariaDropEffect:_t,ariaErrorMessage:null,ariaExpanded:Ut,ariaFlowTo:_t,ariaGrabbed:Ut,ariaHasPopup:null,ariaHidden:Ut,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:_t,ariaLevel:de,ariaLive:null,ariaModal:Ut,ariaMultiLine:Ut,ariaMultiSelectable:Ut,ariaOrientation:null,ariaOwns:_t,ariaPlaceholder:null,ariaPosInSet:de,ariaPressed:Ut,ariaReadOnly:Ut,ariaRelevant:null,ariaRequired:Ut,ariaRoleDescription:_t,ariaRowCount:de,ariaRowIndex:de,ariaRowSpan:de,ariaSelected:Ut,ariaSetSize:de,ariaSort:null,ariaValueMax:de,ariaValueMin:de,ariaValueNow:de,ariaValueText:null,role:null},transform(e,t){return t==="role"?t:"aria-"+t.slice(4).toLowerCase()}});function Ty(e,t){return t in e?e[t]:t}function _y(e,t){return Ty(e,t.toLowerCase())}const Rz=Zo({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:Go,acceptCharset:_t,accessKey:_t,action:null,allow:null,allowFullScreen:Ne,allowPaymentRequest:Ne,allowUserMedia:Ne,alt:null,as:null,async:Ne,autoCapitalize:null,autoComplete:_t,autoFocus:Ne,autoPlay:Ne,blocking:_t,capture:null,charSet:null,checked:Ne,cite:null,className:_t,cols:de,colSpan:null,content:null,contentEditable:Ut,controls:Ne,controlsList:_t,coords:de|Go,crossOrigin:null,data:null,dateTime:null,decoding:null,default:Ne,defer:Ne,dir:null,dirName:null,disabled:Ne,download:wy,draggable:Ut,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:Ne,formTarget:null,headers:_t,height:de,hidden:Ne,high:de,href:null,hrefLang:null,htmlFor:_t,httpEquiv:_t,id:null,imageSizes:null,imageSrcSet:null,inert:Ne,inputMode:null,integrity:null,is:null,isMap:Ne,itemId:null,itemProp:_t,itemRef:_t,itemScope:Ne,itemType:_t,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:Ne,low:de,manifest:null,max:null,maxLength:de,media:null,method:null,min:null,minLength:de,multiple:Ne,muted:Ne,name:null,nonce:null,noModule:Ne,noValidate:Ne,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:Ne,optimum:de,pattern:null,ping:_t,placeholder:null,playsInline:Ne,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:Ne,referrerPolicy:null,rel:_t,required:Ne,reversed:Ne,rows:de,rowSpan:de,sandbox:_t,scope:null,scoped:Ne,seamless:Ne,selected:Ne,shadowRootClonable:Ne,shadowRootDelegatesFocus:Ne,shadowRootMode:null,shape:null,size:de,sizes:null,slot:null,span:de,spellCheck:Ut,src:null,srcDoc:null,srcLang:null,srcSet:null,start:de,step:null,style:null,tabIndex:de,target:null,title:null,translate:null,type:null,typeMustMatch:Ne,useMap:null,value:Ut,width:de,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:_t,axis:null,background:null,bgColor:null,border:de,borderColor:null,bottomMargin:de,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:Ne,declare:Ne,event:null,face:null,frame:null,frameBorder:null,hSpace:de,leftMargin:de,link:null,longDesc:null,lowSrc:null,marginHeight:de,marginWidth:de,noResize:Ne,noHref:Ne,noShade:Ne,noWrap:Ne,object:null,profile:null,prompt:null,rev:null,rightMargin:de,rules:null,scheme:null,scrolling:Ut,standby:null,summary:null,text:null,topMargin:de,valueType:null,version:null,vAlign:null,vLink:null,vSpace:de,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:Ne,disableRemotePlayback:Ne,prefix:null,property:null,results:de,security:null,unselectable:null},space:"html",transform:_y}),Nz=Zo({attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},properties:{about:Dn,accentHeight:de,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:de,amplitude:de,arabicForm:null,ascent:de,attributeName:null,attributeType:null,azimuth:de,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:de,by:null,calcMode:null,capHeight:de,className:_t,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:de,diffuseConstant:de,direction:null,display:null,dur:null,divisor:de,dominantBaseline:null,download:Ne,dx:null,dy:null,edgeMode:null,editable:null,elevation:de,enableBackground:null,end:null,event:null,exponent:de,externalResourcesRequired:null,fill:null,fillOpacity:de,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:Go,g2:Go,glyphName:Go,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:de,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:de,horizOriginX:de,horizOriginY:de,id:null,ideographic:de,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:de,k:de,k1:de,k2:de,k3:de,k4:de,kernelMatrix:Dn,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:de,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:de,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:de,overlineThickness:de,paintOrder:null,panose1:null,path:null,pathLength:de,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:_t,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:de,pointsAtY:de,pointsAtZ:de,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:Dn,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:Dn,rev:Dn,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:Dn,requiredFeatures:Dn,requiredFonts:Dn,requiredFormats:Dn,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:de,specularExponent:de,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:de,strikethroughThickness:de,string:null,stroke:null,strokeDashArray:Dn,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:de,strokeOpacity:de,strokeWidth:null,style:null,surfaceScale:de,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:Dn,tabIndex:de,tableValues:null,target:null,targetX:de,targetY:de,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:Dn,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:de,underlineThickness:de,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:de,values:null,vAlphabetic:de,vMathematical:de,vectorEffect:null,vHanging:de,vIdeographic:de,version:null,vertAdvY:de,vertOriginX:de,vertOriginY:de,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:de,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:Ty}),Ey=Zo({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform(e,t){return"xlink:"+t.slice(5).toLowerCase()}}),Py=Zo({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:_y}),Ay=Zo({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform(e,t){return"xml:"+t.slice(3).toLowerCase()}}),Vz={classId:"classID",dataType:"datatype",itemId:"itemID",strokeDashArray:"strokeDasharray",strokeDashOffset:"strokeDashoffset",strokeLineCap:"strokeLinecap",strokeLineJoin:"strokeLinejoin",strokeMiterLimit:"strokeMiterlimit",typeOf:"typeof",xLinkActuate:"xlinkActuate",xLinkArcRole:"xlinkArcrole",xLinkHref:"xlinkHref",xLinkRole:"xlinkRole",xLinkShow:"xlinkShow",xLinkTitle:"xlinkTitle",xLinkType:"xlinkType",xmlnsXLink:"xmlnsXlink"},Wz=/[A-Z]/g,jy=/-[a-z]/g,Hz=/^data[-\w.:]+$/i;function Uz(e,t){const n=wp(t);let r=t,i=Tn;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&n.slice(0,4)==="data"&&Hz.test(t)){if(t.charAt(4)==="-"){const o=t.slice(5).replace(jy,Gz);r="data"+o.charAt(0).toUpperCase()+o.slice(1)}else{const o=t.slice(4);if(!jy.test(o)){let a=o.replace(Wz,qz);a.charAt(0)!=="-"&&(a="-"+a),t="data"+a}}i=Tp}return new i(r,t)}function qz(e){return"-"+e.toLowerCase()}function Gz(e){return e.charAt(1).toUpperCase()}const Zz=Cy([Sy,Rz,Ey,Py,Ay],"html"),_p=Cy([Sy,Nz,Ey,Py,Ay],"svg");function Kz(e){return e.join(" ").trim()}var Iy={},My=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,Yz=/\n/g,Xz=/^\s*/,Jz=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,Qz=/^:\s*/,eL=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,tL=/^[;\s]*/,nL=/^\s+|\s+$/g,rL=`
|
|
401
|
+
`,Dy="/",Oy="*",Vi="",iL="comment",oL="declaration",aL=function(e,t){if(typeof e!="string")throw new TypeError("First argument must be a string");if(!e)return[];t=t||{};var n=1,r=1;function i(m){var g=m.match(Yz);g&&(n+=g.length);var y=m.lastIndexOf(rL);r=~y?m.length-y:r+m.length}function o(){var m={line:n,column:r};return function(g){return g.position=new a(m),c(),g}}function a(m){this.start=m,this.end={line:n,column:r},this.source=t.source}a.prototype.content=e;function s(m){var g=new Error(t.source+":"+n+":"+r+": "+m);if(g.reason=m,g.filename=t.source,g.line=n,g.column=r,g.source=e,!t.silent)throw g}function l(m){var g=m.exec(e);if(g){var y=g[0];return i(y),e=e.slice(y.length),g}}function c(){l(Xz)}function u(m){var g;for(m=m||[];g=d();)g!==!1&&m.push(g);return m}function d(){var m=o();if(!(Dy!=e.charAt(0)||Oy!=e.charAt(1))){for(var g=2;Vi!=e.charAt(g)&&(Oy!=e.charAt(g)||Dy!=e.charAt(g+1));)++g;if(g+=2,Vi===e.charAt(g-1))return s("End of comment missing");var y=e.slice(2,g-2);return r+=2,i(y),e=e.slice(g),r+=2,m({type:iL,comment:y})}}function f(){var m=o(),g=l(Jz);if(g){if(d(),!l(Qz))return s("property missing ':'");var y=l(eL),v=m({type:oL,property:Fy(g[0].replace(My,Vi)),value:y?Fy(y[0].replace(My,Vi)):Vi});return l(tL),v}}function p(){var m=[];u(m);for(var g;g=f();)g!==!1&&(m.push(g),u(m));return m}return c(),p()};function Fy(e){return e?e.replace(nL,Vi):Vi}var sL=Ki&&Ki.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(Iy,"__esModule",{value:!0});var zy=Iy.default=cL,lL=sL(aL);function cL(e,t){var n=null;if(!e||typeof e!="string")return n;var r=(0,lL.default)(e),i=typeof t=="function";return r.forEach(function(o){if(o.type==="declaration"){var a=o.property,s=o.value;i?t(a,s,o):s&&(n=n||{},n[a]=s)}}),n}const uL=zy.default||zy,Ly=$y("end"),Ep=$y("start");function $y(e){return t;function t(n){const r=n&&n.position&&n.position[e]||{};if(typeof r.line=="number"&&r.line>0&&typeof r.column=="number"&&r.column>0)return{line:r.line,column:r.column,offset:typeof r.offset=="number"&&r.offset>-1?r.offset:void 0}}}function dL(e){const t=Ep(e),n=Ly(e);if(t&&n)return{start:t,end:n}}function Es(e){return!e||typeof e!="object"?"":"position"in e||"type"in e?By(e.position):"start"in e||"end"in e?By(e):"line"in e||"column"in e?Pp(e):""}function Pp(e){return Ry(e&&e.line)+":"+Ry(e&&e.column)}function By(e){return Pp(e&&e.start)+"-"+Pp(e&&e.end)}function Ry(e){return e&&typeof e=="number"?e:1}class ln extends Error{constructor(t,n,r){super(),typeof n=="string"&&(r=n,n=void 0);let i="",o={},a=!1;if(n&&("line"in n&&"column"in n?o={place:n}:"start"in n&&"end"in n?o={place:n}:"type"in n?o={ancestors:[n],place:n.position}:o={...n}),typeof t=="string"?i=t:!o.cause&&t&&(a=!0,i=t.message,o.cause=t),!o.ruleId&&!o.source&&typeof r=="string"){const l=r.indexOf(":");l===-1?o.ruleId=r:(o.source=r.slice(0,l),o.ruleId=r.slice(l+1))}if(!o.place&&o.ancestors&&o.ancestors){const l=o.ancestors[o.ancestors.length-1];l&&(o.place=l.position)}const s=o.place&&"start"in o.place?o.place.start:o.place;this.ancestors=o.ancestors||void 0,this.cause=o.cause||void 0,this.column=s?s.column:void 0,this.fatal=void 0,this.file,this.message=i,this.line=s?s.line:void 0,this.name=Es(o.place)||"1:1",this.place=o.place||void 0,this.reason=this.message,this.ruleId=o.ruleId||void 0,this.source=o.source||void 0,this.stack=a&&o.cause&&typeof o.cause.stack=="string"?o.cause.stack:"",this.actual,this.expected,this.note,this.url}}ln.prototype.file="",ln.prototype.name="",ln.prototype.reason="",ln.prototype.message="",ln.prototype.stack="",ln.prototype.column=void 0,ln.prototype.line=void 0,ln.prototype.ancestors=void 0,ln.prototype.cause=void 0,ln.prototype.fatal=void 0,ln.prototype.place=void 0,ln.prototype.ruleId=void 0,ln.prototype.source=void 0;const Ap={}.hasOwnProperty,fL=new Map,pL=/[A-Z]/g,hL=/-([a-z])/g,mL=new Set(["table","tbody","thead","tfoot","tr"]),gL=new Set(["td","th"]),Ny="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function yL(e,t){if(!t||t.Fragment===void 0)throw new TypeError("Expected `Fragment` in options");const n=t.filePath||void 0;let r;if(t.development){if(typeof t.jsxDEV!="function")throw new TypeError("Expected `jsxDEV` in options when `development: true`");r=TL(n,t.jsxDEV)}else{if(typeof t.jsx!="function")throw new TypeError("Expected `jsx` in production options");if(typeof t.jsxs!="function")throw new TypeError("Expected `jsxs` in production options");r=SL(n,t.jsx,t.jsxs)}const i={Fragment:t.Fragment,ancestors:[],components:t.components||{},create:r,elementAttributeNameCase:t.elementAttributeNameCase||"react",evaluater:t.createEvaluater?t.createEvaluater():void 0,filePath:n,ignoreInvalidStyle:t.ignoreInvalidStyle||!1,passKeys:t.passKeys!==!1,passNode:t.passNode||!1,schema:t.space==="svg"?_p:Zz,stylePropertyNameCase:t.stylePropertyNameCase||"dom",tableCellAlignToStyle:t.tableCellAlignToStyle!==!1},o=Vy(i,e,void 0);return o&&typeof o!="string"?o:i.create(e,i.Fragment,{children:o||void 0},void 0)}function Vy(e,t,n){if(t.type==="element")return vL(e,t,n);if(t.type==="mdxFlowExpression"||t.type==="mdxTextExpression")return bL(e,t);if(t.type==="mdxJsxFlowElement"||t.type==="mdxJsxTextElement")return CL(e,t,n);if(t.type==="mdxjsEsm")return xL(e,t);if(t.type==="root")return wL(e,t,n);if(t.type==="text")return kL(e,t)}function vL(e,t,n){const r=e.schema;let i=r;t.tagName.toLowerCase()==="svg"&&r.space==="html"&&(i=_p,e.schema=i),e.ancestors.push(t);const o=Hy(e,t.tagName,!1),a=_L(e,t);let s=Ip(e,t);return mL.has(t.tagName)&&(s=s.filter(function(l){return typeof l=="string"?!$z(l):!0})),Wy(e,a,o,t),jp(a,s),e.ancestors.pop(),e.schema=r,e.create(t,o,a,n)}function bL(e,t){if(t.data&&t.data.estree&&e.evaluater){const r=t.data.estree.body[0];return r.type,e.evaluater.evaluateExpression(r.expression)}Ps(e,t.position)}function xL(e,t){if(t.data&&t.data.estree&&e.evaluater)return e.evaluater.evaluateProgram(t.data.estree);Ps(e,t.position)}function CL(e,t,n){const r=e.schema;let i=r;t.name==="svg"&&r.space==="html"&&(i=_p,e.schema=i),e.ancestors.push(t);const o=t.name===null?e.Fragment:Hy(e,t.name,!0),a=EL(e,t),s=Ip(e,t);return Wy(e,a,o,t),jp(a,s),e.ancestors.pop(),e.schema=r,e.create(t,o,a,n)}function wL(e,t,n){const r={};return jp(r,Ip(e,t)),e.create(t,e.Fragment,r,n)}function kL(e,t){return t.value}function Wy(e,t,n,r){typeof n!="string"&&n!==e.Fragment&&e.passNode&&(t.node=r)}function jp(e,t){if(t.length>0){const n=t.length>1?t:t[0];n&&(e.children=n)}}function SL(e,t,n){return r;function r(i,o,a,s){const c=Array.isArray(a.children)?n:t;return s?c(o,a,s):c(o,a)}}function TL(e,t){return n;function n(r,i,o,a){const s=Array.isArray(o.children),l=Ep(r);return t(i,o,a,s,{columnNumber:l?l.column-1:void 0,fileName:e,lineNumber:l?l.line:void 0},void 0)}}function _L(e,t){const n={};let r,i;for(i in t.properties)if(i!=="children"&&Ap.call(t.properties,i)){const o=PL(e,i,t.properties[i]);if(o){const[a,s]=o;e.tableCellAlignToStyle&&a==="align"&&typeof s=="string"&&gL.has(t.tagName)?r=s:n[a]=s}}if(r){const o=n.style||(n.style={});o[e.stylePropertyNameCase==="css"?"text-align":"textAlign"]=r}return n}function EL(e,t){const n={};for(const r of t.attributes)if(r.type==="mdxJsxExpressionAttribute")if(r.data&&r.data.estree&&e.evaluater){const o=r.data.estree.body[0];o.type;const a=o.expression;a.type;const s=a.properties[0];s.type,Object.assign(n,e.evaluater.evaluateExpression(s.argument))}else Ps(e,t.position);else{const i=r.name;let o;if(r.value&&typeof r.value=="object")if(r.value.data&&r.value.data.estree&&e.evaluater){const s=r.value.data.estree.body[0];s.type,o=e.evaluater.evaluateExpression(s.expression)}else Ps(e,t.position);else o=r.value===null?!0:r.value;n[i]=o}return n}function Ip(e,t){const n=[];let r=-1;const i=e.passKeys?new Map:fL;for(;++r<t.children.length;){const o=t.children[r];let a;if(e.passKeys){const l=o.type==="element"?o.tagName:o.type==="mdxJsxFlowElement"||o.type==="mdxJsxTextElement"?o.name:void 0;if(l){const c=i.get(l)||0;a=l+"-"+c,i.set(l,c+1)}}const s=Vy(e,o,a);s!==void 0&&n.push(s)}return n}function PL(e,t,n){const r=Uz(e.schema,t);if(!(n==null||typeof n=="number"&&Number.isNaN(n))){if(Array.isArray(n)&&(n=r.commaSeparated?Dz(n):Kz(n)),r.property==="style"){let i=typeof n=="object"?n:AL(e,String(n));return e.stylePropertyNameCase==="css"&&(i=jL(i)),["style",i]}return[e.elementAttributeNameCase==="react"&&r.space?Vz[r.property]||r.property:r.attribute,n]}}function AL(e,t){const n={};try{uL(t,r)}catch(i){if(!e.ignoreInvalidStyle){const o=i,a=new ln("Cannot parse `style` attribute",{ancestors:e.ancestors,cause:o,ruleId:"style",source:"hast-util-to-jsx-runtime"});throw a.file=e.filePath||void 0,a.url=Ny+"#cannot-parse-style-attribute",a}}return n;function r(i,o){let a=i;a.slice(0,2)!=="--"&&(a.slice(0,4)==="-ms-"&&(a="ms-"+a.slice(4)),a=a.replace(hL,ML)),n[a]=o}}function Hy(e,t,n){let r;if(!n)r={type:"Literal",value:t};else if(t.includes(".")){const i=t.split(".");let o=-1,a;for(;++o<i.length;){const s=by(i[o])?{type:"Identifier",name:i[o]}:{type:"Literal",value:i[o]};a=a?{type:"MemberExpression",object:a,property:s,computed:!!(o&&s.type==="Literal"),optional:!1}:s}r=a}else r=by(t)&&!/^[a-z]/.test(t)?{type:"Identifier",name:t}:{type:"Literal",value:t};if(r.type==="Literal"){const i=r.value;return Ap.call(e.components,i)?e.components[i]:i}if(e.evaluater)return e.evaluater.evaluateExpression(r);Ps(e)}function Ps(e,t){const n=new ln("Cannot handle MDX estrees without `createEvaluater`",{ancestors:e.ancestors,place:t,ruleId:"mdx-estree",source:"hast-util-to-jsx-runtime"});throw n.file=e.filePath||void 0,n.url=Ny+"#cannot-handle-mdx-estrees-without-createevaluater",n}function jL(e){const t={};let n;for(n in e)Ap.call(e,n)&&(t[IL(n)]=e[n]);return t}function IL(e){let t=e.replace(pL,DL);return t.slice(0,3)==="ms-"&&(t="-"+t),t}function ML(e,t){return t.toUpperCase()}function DL(e){return"-"+e.toLowerCase()}const Mp={action:["form"],cite:["blockquote","del","ins","q"],data:["object"],formAction:["button","input"],href:["a","area","base","link"],icon:["menuitem"],itemId:null,manifest:["html"],ping:["a","area"],poster:["video"],src:["audio","embed","iframe","img","input","script","source","track","video"]},OL={};function Dp(e,t){const n=OL,r=typeof n.includeImageAlt=="boolean"?n.includeImageAlt:!0,i=typeof n.includeHtml=="boolean"?n.includeHtml:!0;return Uy(e,r,i)}function Uy(e,t,n){if(FL(e)){if("value"in e)return e.type==="html"&&!n?"":e.value;if(t&&"alt"in e&&e.alt)return e.alt;if("children"in e)return qy(e.children,t,n)}return Array.isArray(e)?qy(e,t,n):""}function qy(e,t,n){const r=[];let i=-1;for(;++i<e.length;)r[i]=Uy(e[i],t,n);return r.join("")}function FL(e){return!!(e&&typeof e=="object")}const Gy=document.createElement("i");function Op(e){const t="&"+e+";";Gy.innerHTML=t;const n=Gy.textContent;return n.charCodeAt(n.length-1)===59&&e!=="semi"||n===t?!1:n}function On(e,t,n,r){const i=e.length;let o=0,a;if(t<0?t=-t>i?0:i+t:t=t>i?i:t,n=n>0?n:0,r.length<1e4)a=Array.from(r),a.unshift(t,n),e.splice(...a);else for(n&&e.splice(t,n);o<r.length;)a=r.slice(o,o+1e4),a.unshift(t,0),e.splice(...a),o+=1e4,t+=1e4}function Gn(e,t){return e.length>0?(On(e,e.length,0,t),e):t}const Zy={}.hasOwnProperty;function Ky(e){const t={};let n=-1;for(;++n<e.length;)zL(t,e[n]);return t}function zL(e,t){let n;for(n in t){const i=(Zy.call(e,n)?e[n]:void 0)||(e[n]={}),o=t[n];let a;if(o)for(a in o){Zy.call(i,a)||(i[a]=[]);const s=o[a];LL(i[a],Array.isArray(s)?s:s?[s]:[])}}}function LL(e,t){let n=-1;const r=[];for(;++n<t.length;)(t[n].add==="after"?e:r).push(t[n]);On(e,0,0,r)}function Yy(e,t){const n=Number.parseInt(e,t);return n<9||n===11||n>13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||(n&65535)===65535||(n&65535)===65534||n>1114111?"�":String.fromCodePoint(n)}function tr(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const gn=li(/[A-Za-z]/),cn=li(/[\dA-Za-z]/),$L=li(/[#-'*+\--9=?A-Z^-~]/);function bc(e){return e!==null&&(e<32||e===127)}const Fp=li(/\d/),BL=li(/[\dA-Fa-f]/),RL=li(/[!-/:-@[-`{-~]/);function Oe(e){return e!==null&&e<-2}function xt(e){return e!==null&&(e<0||e===32)}function Ge(e){return e===-2||e===-1||e===32}const xc=li(new RegExp("\\p{P}|\\p{S}","u")),Wi=li(/\s/);function li(e){return t;function t(n){return n!==null&&n>-1&&e.test(String.fromCharCode(n))}}function Ko(e){const t=[];let n=-1,r=0,i=0;for(;++n<e.length;){const o=e.charCodeAt(n);let a="";if(o===37&&cn(e.charCodeAt(n+1))&&cn(e.charCodeAt(n+2)))i=2;else if(o<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(o))||(a=String.fromCharCode(o));else if(o>55295&&o<57344){const s=e.charCodeAt(n+1);o<56320&&s>56319&&s<57344?(a=String.fromCharCode(o,s),i=1):a="�"}else a=String.fromCharCode(o);a&&(t.push(e.slice(r,n),encodeURIComponent(a)),r=n+i+1,a=""),i&&(n+=i,i=0)}return t.join("")+e.slice(r)}function Xe(e,t,n,r){const i=r?r-1:Number.POSITIVE_INFINITY;let o=0;return a;function a(l){return Ge(l)?(e.enter(n),s(l)):t(l)}function s(l){return Ge(l)&&o++<i?(e.consume(l),s):(e.exit(n),t(l))}}const NL={tokenize:VL};function VL(e){const t=e.attempt(this.parser.constructs.contentInitial,r,i);let n;return t;function r(s){if(s===null){e.consume(s);return}return e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),Xe(e,t,"linePrefix")}function i(s){return e.enter("paragraph"),o(s)}function o(s){const l=e.enter("chunkText",{contentType:"text",previous:n});return n&&(n.next=l),n=l,a(s)}function a(s){if(s===null){e.exit("chunkText"),e.exit("paragraph"),e.consume(s);return}return Oe(s)?(e.consume(s),e.exit("chunkText"),o):(e.consume(s),a)}}const WL={tokenize:HL},Xy={tokenize:UL};function HL(e){const t=this,n=[];let r=0,i,o,a;return s;function s(w){if(r<n.length){const E=n[r];return t.containerState=E[1],e.attempt(E[0].continuation,l,c)(w)}return c(w)}function l(w){if(r++,t.containerState._closeFlow){t.containerState._closeFlow=void 0,i&&x();const E=t.events.length;let k=E,T;for(;k--;)if(t.events[k][0]==="exit"&&t.events[k][1].type==="chunkFlow"){T=t.events[k][1].end;break}v(r);let I=E;for(;I<t.events.length;)t.events[I][1].end={...T},I++;return On(t.events,k+1,0,t.events.slice(E)),t.events.length=I,c(w)}return s(w)}function c(w){if(r===n.length){if(!i)return f(w);if(i.currentConstruct&&i.currentConstruct.concrete)return m(w);t.interrupt=!!(i.currentConstruct&&!i._gfmTableDynamicInterruptHack)}return t.containerState={},e.check(Xy,u,d)(w)}function u(w){return i&&x(),v(r),f(w)}function d(w){return t.parser.lazy[t.now().line]=r!==n.length,a=t.now().offset,m(w)}function f(w){return t.containerState={},e.attempt(Xy,p,m)(w)}function p(w){return r++,n.push([t.currentConstruct,t.containerState]),f(w)}function m(w){if(w===null){i&&x(),v(0),e.consume(w);return}return i=i||t.parser.flow(t.now()),e.enter("chunkFlow",{_tokenizer:i,contentType:"flow",previous:o}),g(w)}function g(w){if(w===null){y(e.exit("chunkFlow"),!0),v(0),e.consume(w);return}return Oe(w)?(e.consume(w),y(e.exit("chunkFlow")),r=0,t.interrupt=void 0,s):(e.consume(w),g)}function y(w,E){const k=t.sliceStream(w);if(E&&k.push(null),w.previous=o,o&&(o.next=w),o=w,i.defineSkip(w.start),i.write(k),t.parser.lazy[w.start.line]){let T=i.events.length;for(;T--;)if(i.events[T][1].start.offset<a&&(!i.events[T][1].end||i.events[T][1].end.offset>a))return;const I=t.events.length;let D=I,$,P;for(;D--;)if(t.events[D][0]==="exit"&&t.events[D][1].type==="chunkFlow"){if($){P=t.events[D][1].end;break}$=!0}for(v(r),T=I;T<t.events.length;)t.events[T][1].end={...P},T++;On(t.events,D+1,0,t.events.slice(I)),t.events.length=T}}function v(w){let E=n.length;for(;E-- >w;){const k=n[E];t.containerState=k[1],k[0].exit.call(t,e)}n.length=w}function x(){i.write([null]),o=void 0,i=void 0,t.containerState._closeFlow=void 0}}function UL(e,t,n){return Xe(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function Yo(e){if(e===null||xt(e)||Wi(e))return 1;if(xc(e))return 2}function Cc(e,t,n){const r=[];let i=-1;for(;++i<e.length;){const o=e[i].resolveAll;o&&!r.includes(o)&&(t=o(t,n),r.push(o))}return t}const zp={name:"attention",resolveAll:qL,tokenize:GL};function qL(e,t){let n=-1,r,i,o,a,s,l,c,u;for(;++n<e.length;)if(e[n][0]==="enter"&&e[n][1].type==="attentionSequence"&&e[n][1]._close){for(r=n;r--;)if(e[r][0]==="exit"&&e[r][1].type==="attentionSequence"&&e[r][1]._open&&t.sliceSerialize(e[r][1]).charCodeAt(0)===t.sliceSerialize(e[n][1]).charCodeAt(0)){if((e[r][1]._close||e[n][1]._open)&&(e[n][1].end.offset-e[n][1].start.offset)%3&&!((e[r][1].end.offset-e[r][1].start.offset+e[n][1].end.offset-e[n][1].start.offset)%3))continue;l=e[r][1].end.offset-e[r][1].start.offset>1&&e[n][1].end.offset-e[n][1].start.offset>1?2:1;const d={...e[r][1].end},f={...e[n][1].start};Jy(d,-l),Jy(f,l),a={type:l>1?"strongSequence":"emphasisSequence",start:d,end:{...e[r][1].end}},s={type:l>1?"strongSequence":"emphasisSequence",start:{...e[n][1].start},end:f},o={type:l>1?"strongText":"emphasisText",start:{...e[r][1].end},end:{...e[n][1].start}},i={type:l>1?"strong":"emphasis",start:{...a.start},end:{...s.end}},e[r][1].end={...a.start},e[n][1].start={...s.end},c=[],e[r][1].end.offset-e[r][1].start.offset&&(c=Gn(c,[["enter",e[r][1],t],["exit",e[r][1],t]])),c=Gn(c,[["enter",i,t],["enter",a,t],["exit",a,t],["enter",o,t]]),c=Gn(c,Cc(t.parser.constructs.insideSpan.null,e.slice(r+1,n),t)),c=Gn(c,[["exit",o,t],["enter",s,t],["exit",s,t],["exit",i,t]]),e[n][1].end.offset-e[n][1].start.offset?(u=2,c=Gn(c,[["enter",e[n][1],t],["exit",e[n][1],t]])):u=0,On(e,r-1,n-r+3,c),n=r+c.length-u-2;break}}for(n=-1;++n<e.length;)e[n][1].type==="attentionSequence"&&(e[n][1].type="data");return e}function GL(e,t){const n=this.parser.constructs.attentionMarkers.null,r=this.previous,i=Yo(r);let o;return a;function a(l){return o=l,e.enter("attentionSequence"),s(l)}function s(l){if(l===o)return e.consume(l),s;const c=e.exit("attentionSequence"),u=Yo(l),d=!u||u===2&&i||n.includes(l),f=!i||i===2&&u||n.includes(r);return c._open=!!(o===42?d:d&&(i||!f)),c._close=!!(o===42?f:f&&(u||!d)),t(l)}}function Jy(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}const ZL={name:"autolink",tokenize:KL};function KL(e,t,n){let r=0;return i;function i(p){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(p),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),o}function o(p){return gn(p)?(e.consume(p),a):p===64?n(p):c(p)}function a(p){return p===43||p===45||p===46||cn(p)?(r=1,s(p)):c(p)}function s(p){return p===58?(e.consume(p),r=0,l):(p===43||p===45||p===46||cn(p))&&r++<32?(e.consume(p),s):(r=0,c(p))}function l(p){return p===62?(e.exit("autolinkProtocol"),e.enter("autolinkMarker"),e.consume(p),e.exit("autolinkMarker"),e.exit("autolink"),t):p===null||p===32||p===60||bc(p)?n(p):(e.consume(p),l)}function c(p){return p===64?(e.consume(p),u):$L(p)?(e.consume(p),c):n(p)}function u(p){return cn(p)?d(p):n(p)}function d(p){return p===46?(e.consume(p),r=0,u):p===62?(e.exit("autolinkProtocol").type="autolinkEmail",e.enter("autolinkMarker"),e.consume(p),e.exit("autolinkMarker"),e.exit("autolink"),t):f(p)}function f(p){if((p===45||cn(p))&&r++<63){const m=p===45?f:d;return e.consume(p),m}return n(p)}}const As={partial:!0,tokenize:YL};function YL(e,t,n){return r;function r(o){return Ge(o)?Xe(e,i,"linePrefix")(o):i(o)}function i(o){return o===null||Oe(o)?t(o):n(o)}}const Qy={continuation:{tokenize:JL},exit:QL,name:"blockQuote",tokenize:XL};function XL(e,t,n){const r=this;return i;function i(a){if(a===62){const s=r.containerState;return s.open||(e.enter("blockQuote",{_container:!0}),s.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(a),e.exit("blockQuoteMarker"),o}return n(a)}function o(a){return Ge(a)?(e.enter("blockQuotePrefixWhitespace"),e.consume(a),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(a))}}function JL(e,t,n){const r=this;return i;function i(a){return Ge(a)?Xe(e,o,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(a):o(a)}function o(a){return e.attempt(Qy,t,n)(a)}}function QL(e){e.exit("blockQuote")}const ev={name:"characterEscape",tokenize:e$};function e$(e,t,n){return r;function r(o){return e.enter("characterEscape"),e.enter("escapeMarker"),e.consume(o),e.exit("escapeMarker"),i}function i(o){return RL(o)?(e.enter("characterEscapeValue"),e.consume(o),e.exit("characterEscapeValue"),e.exit("characterEscape"),t):n(o)}}const tv={name:"characterReference",tokenize:t$};function t$(e,t,n){const r=this;let i=0,o,a;return s;function s(d){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(d),e.exit("characterReferenceMarker"),l}function l(d){return d===35?(e.enter("characterReferenceMarkerNumeric"),e.consume(d),e.exit("characterReferenceMarkerNumeric"),c):(e.enter("characterReferenceValue"),o=31,a=cn,u(d))}function c(d){return d===88||d===120?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(d),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),o=6,a=BL,u):(e.enter("characterReferenceValue"),o=7,a=Fp,u(d))}function u(d){if(d===59&&i){const f=e.exit("characterReferenceValue");return a===cn&&!Op(r.sliceSerialize(f))?n(d):(e.enter("characterReferenceMarker"),e.consume(d),e.exit("characterReferenceMarker"),e.exit("characterReference"),t)}return a(d)&&i++<o?(e.consume(d),u):n(d)}}const nv={partial:!0,tokenize:r$},rv={concrete:!0,name:"codeFenced",tokenize:n$};function n$(e,t,n){const r=this,i={partial:!0,tokenize:k};let o=0,a=0,s;return l;function l(T){return c(T)}function c(T){const I=r.events[r.events.length-1];return o=I&&I[1].type==="linePrefix"?I[2].sliceSerialize(I[1],!0).length:0,s=T,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),u(T)}function u(T){return T===s?(a++,e.consume(T),u):a<3?n(T):(e.exit("codeFencedFenceSequence"),Ge(T)?Xe(e,d,"whitespace")(T):d(T))}function d(T){return T===null||Oe(T)?(e.exit("codeFencedFence"),r.interrupt?t(T):e.check(nv,g,E)(T)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),f(T))}function f(T){return T===null||Oe(T)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),d(T)):Ge(T)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),Xe(e,p,"whitespace")(T)):T===96&&T===s?n(T):(e.consume(T),f)}function p(T){return T===null||Oe(T)?d(T):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),m(T))}function m(T){return T===null||Oe(T)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),d(T)):T===96&&T===s?n(T):(e.consume(T),m)}function g(T){return e.attempt(i,E,y)(T)}function y(T){return e.enter("lineEnding"),e.consume(T),e.exit("lineEnding"),v}function v(T){return o>0&&Ge(T)?Xe(e,x,"linePrefix",o+1)(T):x(T)}function x(T){return T===null||Oe(T)?e.check(nv,g,E)(T):(e.enter("codeFlowValue"),w(T))}function w(T){return T===null||Oe(T)?(e.exit("codeFlowValue"),x(T)):(e.consume(T),w)}function E(T){return e.exit("codeFenced"),t(T)}function k(T,I,D){let $=0;return P;function P(q){return T.enter("lineEnding"),T.consume(q),T.exit("lineEnding"),W}function W(q){return T.enter("codeFencedFence"),Ge(q)?Xe(T,Z,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(q):Z(q)}function Z(q){return q===s?(T.enter("codeFencedFenceSequence"),ne(q)):D(q)}function ne(q){return q===s?($++,T.consume(q),ne):$>=a?(T.exit("codeFencedFenceSequence"),Ge(q)?Xe(T,z,"whitespace")(q):z(q)):D(q)}function z(q){return q===null||Oe(q)?(T.exit("codeFencedFence"),I(q)):D(q)}}}function r$(e,t,n){const r=this;return i;function i(a){return a===null?n(a):(e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),o)}function o(a){return r.parser.lazy[r.now().line]?n(a):t(a)}}const Lp={name:"codeIndented",tokenize:o$},i$={partial:!0,tokenize:a$};function o$(e,t,n){const r=this;return i;function i(c){return e.enter("codeIndented"),Xe(e,o,"linePrefix",5)(c)}function o(c){const u=r.events[r.events.length-1];return u&&u[1].type==="linePrefix"&&u[2].sliceSerialize(u[1],!0).length>=4?a(c):n(c)}function a(c){return c===null?l(c):Oe(c)?e.attempt(i$,a,l)(c):(e.enter("codeFlowValue"),s(c))}function s(c){return c===null||Oe(c)?(e.exit("codeFlowValue"),a(c)):(e.consume(c),s)}function l(c){return e.exit("codeIndented"),t(c)}}function a$(e,t,n){const r=this;return i;function i(a){return r.parser.lazy[r.now().line]?n(a):Oe(a)?(e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),i):Xe(e,o,"linePrefix",5)(a)}function o(a){const s=r.events[r.events.length-1];return s&&s[1].type==="linePrefix"&&s[2].sliceSerialize(s[1],!0).length>=4?t(a):Oe(a)?i(a):n(a)}}const s$={name:"codeText",previous:c$,resolve:l$,tokenize:u$};function l$(e){let t=e.length-4,n=3,r,i;if((e[n][1].type==="lineEnding"||e[n][1].type==="space")&&(e[t][1].type==="lineEnding"||e[t][1].type==="space")){for(r=n;++r<t;)if(e[r][1].type==="codeTextData"){e[n][1].type="codeTextPadding",e[t][1].type="codeTextPadding",n+=2,t-=2;break}}for(r=n-1,t++;++r<=t;)i===void 0?r!==t&&e[r][1].type!=="lineEnding"&&(i=r):(r===t||e[r][1].type==="lineEnding")&&(e[i][1].type="codeTextData",r!==i+2&&(e[i][1].end=e[r-1][1].end,e.splice(i+2,r-i-2),t-=r-i-2,r=i+2),i=void 0);return e}function c$(e){return e!==96||this.events[this.events.length-1][1].type==="characterEscape"}function u$(e,t,n){let r=0,i,o;return a;function a(d){return e.enter("codeText"),e.enter("codeTextSequence"),s(d)}function s(d){return d===96?(e.consume(d),r++,s):(e.exit("codeTextSequence"),l(d))}function l(d){return d===null?n(d):d===32?(e.enter("space"),e.consume(d),e.exit("space"),l):d===96?(o=e.enter("codeTextSequence"),i=0,u(d)):Oe(d)?(e.enter("lineEnding"),e.consume(d),e.exit("lineEnding"),l):(e.enter("codeTextData"),c(d))}function c(d){return d===null||d===32||d===96||Oe(d)?(e.exit("codeTextData"),l(d)):(e.consume(d),c)}function u(d){return d===96?(e.consume(d),i++,u):i===r?(e.exit("codeTextSequence"),e.exit("codeText"),t(d)):(o.type="codeTextData",c(d))}}class d${constructor(t){this.left=t?[...t]:[],this.right=[]}get(t){if(t<0||t>=this.left.length+this.right.length)throw new RangeError("Cannot access index `"+t+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return t<this.left.length?this.left[t]:this.right[this.right.length-t+this.left.length-1]}get length(){return this.left.length+this.right.length}shift(){return this.setCursor(0),this.right.pop()}slice(t,n){const r=n??Number.POSITIVE_INFINITY;return r<this.left.length?this.left.slice(t,r):t>this.left.length?this.right.slice(this.right.length-r+this.left.length,this.right.length-t+this.left.length).reverse():this.left.slice(t).concat(this.right.slice(this.right.length-r+this.left.length).reverse())}splice(t,n,r){const i=n||0;this.setCursor(Math.trunc(t));const o=this.right.splice(this.right.length-i,Number.POSITIVE_INFINITY);return r&&js(this.left,r),o.reverse()}pop(){return this.setCursor(Number.POSITIVE_INFINITY),this.left.pop()}push(t){this.setCursor(Number.POSITIVE_INFINITY),this.left.push(t)}pushMany(t){this.setCursor(Number.POSITIVE_INFINITY),js(this.left,t)}unshift(t){this.setCursor(0),this.right.push(t)}unshiftMany(t){this.setCursor(0),js(this.right,t.reverse())}setCursor(t){if(!(t===this.left.length||t>this.left.length&&this.right.length===0||t<0&&this.left.length===0))if(t<this.left.length){const n=this.left.splice(t,Number.POSITIVE_INFINITY);js(this.right,n.reverse())}else{const n=this.right.splice(this.left.length+this.right.length-t,Number.POSITIVE_INFINITY);js(this.left,n.reverse())}}}function js(e,t){let n=0;if(t.length<1e4)e.push(...t);else for(;n<t.length;)e.push(...t.slice(n,n+1e4)),n+=1e4}function iv(e){const t={};let n=-1,r,i,o,a,s,l,c;const u=new d$(e);for(;++n<u.length;){for(;n in t;)n=t[n];if(r=u.get(n),n&&r[1].type==="chunkFlow"&&u.get(n-1)[1].type==="listItemPrefix"&&(l=r[1]._tokenizer.events,o=0,o<l.length&&l[o][1].type==="lineEndingBlank"&&(o+=2),o<l.length&&l[o][1].type==="content"))for(;++o<l.length&&l[o][1].type!=="content";)l[o][1].type==="chunkText"&&(l[o][1]._isInFirstContentOfListItem=!0,o++);if(r[0]==="enter")r[1].contentType&&(Object.assign(t,f$(u,n)),n=t[n],c=!0);else if(r[1]._container){for(o=n,i=void 0;o--;)if(a=u.get(o),a[1].type==="lineEnding"||a[1].type==="lineEndingBlank")a[0]==="enter"&&(i&&(u.get(i)[1].type="lineEndingBlank"),a[1].type="lineEnding",i=o);else if(a[1].type!=="linePrefix")break;i&&(r[1].end={...u.get(i)[1].start},s=u.slice(i,n),s.unshift(r),u.splice(i,n-i+1,s))}}return On(e,0,Number.POSITIVE_INFINITY,u.slice(0)),!c}function f$(e,t){const n=e.get(t)[1],r=e.get(t)[2];let i=t-1;const o=[],a=n._tokenizer||r.parser[n.contentType](n.start),s=a.events,l=[],c={};let u,d,f=-1,p=n,m=0,g=0;const y=[g];for(;p;){for(;e.get(++i)[1]!==p;);o.push(i),p._tokenizer||(u=r.sliceStream(p),p.next||u.push(null),d&&a.defineSkip(p.start),p._isInFirstContentOfListItem&&(a._gfmTasklistFirstContentOfListItem=!0),a.write(u),p._isInFirstContentOfListItem&&(a._gfmTasklistFirstContentOfListItem=void 0)),d=p,p=p.next}for(p=n;++f<s.length;)s[f][0]==="exit"&&s[f-1][0]==="enter"&&s[f][1].type===s[f-1][1].type&&s[f][1].start.line!==s[f][1].end.line&&(g=f+1,y.push(g),p._tokenizer=void 0,p.previous=void 0,p=p.next);for(a.events=[],p?(p._tokenizer=void 0,p.previous=void 0):y.pop(),f=y.length;f--;){const v=s.slice(y[f],y[f+1]),x=o.pop();l.push([x,x+v.length-1]),e.splice(x,2,v)}for(l.reverse(),f=-1;++f<l.length;)c[m+l[f][0]]=m+l[f][1],m+=l[f][1]-l[f][0]-1;return c}const p$={resolve:m$,tokenize:g$},h$={partial:!0,tokenize:y$};function m$(e){return iv(e),e}function g$(e,t){let n;return r;function r(s){return e.enter("content"),n=e.enter("chunkContent",{contentType:"content"}),i(s)}function i(s){return s===null?o(s):Oe(s)?e.check(h$,a,o)(s):(e.consume(s),i)}function o(s){return e.exit("chunkContent"),e.exit("content"),t(s)}function a(s){return e.consume(s),e.exit("chunkContent"),n.next=e.enter("chunkContent",{contentType:"content",previous:n}),n=n.next,i}}function y$(e,t,n){const r=this;return i;function i(a){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),Xe(e,o,"linePrefix")}function o(a){if(a===null||Oe(a))return n(a);const s=r.events[r.events.length-1];return!r.parser.constructs.disable.null.includes("codeIndented")&&s&&s[1].type==="linePrefix"&&s[2].sliceSerialize(s[1],!0).length>=4?t(a):e.interrupt(r.parser.constructs.flow,n,t)(a)}}function ov(e,t,n,r,i,o,a,s,l){const c=l||Number.POSITIVE_INFINITY;let u=0;return d;function d(v){return v===60?(e.enter(r),e.enter(i),e.enter(o),e.consume(v),e.exit(o),f):v===null||v===32||v===41||bc(v)?n(v):(e.enter(r),e.enter(a),e.enter(s),e.enter("chunkString",{contentType:"string"}),g(v))}function f(v){return v===62?(e.enter(o),e.consume(v),e.exit(o),e.exit(i),e.exit(r),t):(e.enter(s),e.enter("chunkString",{contentType:"string"}),p(v))}function p(v){return v===62?(e.exit("chunkString"),e.exit(s),f(v)):v===null||v===60||Oe(v)?n(v):(e.consume(v),v===92?m:p)}function m(v){return v===60||v===62||v===92?(e.consume(v),p):p(v)}function g(v){return!u&&(v===null||v===41||xt(v))?(e.exit("chunkString"),e.exit(s),e.exit(a),e.exit(r),t(v)):u<c&&v===40?(e.consume(v),u++,g):v===41?(e.consume(v),u--,g):v===null||v===32||v===40||bc(v)?n(v):(e.consume(v),v===92?y:g)}function y(v){return v===40||v===41||v===92?(e.consume(v),g):g(v)}}function av(e,t,n,r,i,o){const a=this;let s=0,l;return c;function c(p){return e.enter(r),e.enter(i),e.consume(p),e.exit(i),e.enter(o),u}function u(p){return s>999||p===null||p===91||p===93&&!l||p===94&&!s&&"_hiddenFootnoteSupport"in a.parser.constructs?n(p):p===93?(e.exit(o),e.enter(i),e.consume(p),e.exit(i),e.exit(r),t):Oe(p)?(e.enter("lineEnding"),e.consume(p),e.exit("lineEnding"),u):(e.enter("chunkString",{contentType:"string"}),d(p))}function d(p){return p===null||p===91||p===93||Oe(p)||s++>999?(e.exit("chunkString"),u(p)):(e.consume(p),l||(l=!Ge(p)),p===92?f:d)}function f(p){return p===91||p===92||p===93?(e.consume(p),s++,d):d(p)}}function sv(e,t,n,r,i,o){let a;return s;function s(f){return f===34||f===39||f===40?(e.enter(r),e.enter(i),e.consume(f),e.exit(i),a=f===40?41:f,l):n(f)}function l(f){return f===a?(e.enter(i),e.consume(f),e.exit(i),e.exit(r),t):(e.enter(o),c(f))}function c(f){return f===a?(e.exit(o),l(a)):f===null?n(f):Oe(f)?(e.enter("lineEnding"),e.consume(f),e.exit("lineEnding"),Xe(e,c,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),u(f))}function u(f){return f===a||f===null||Oe(f)?(e.exit("chunkString"),c(f)):(e.consume(f),f===92?d:u)}function d(f){return f===a||f===92?(e.consume(f),u):u(f)}}function Is(e,t){let n;return r;function r(i){return Oe(i)?(e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),n=!0,r):Ge(i)?Xe(e,r,n?"linePrefix":"lineSuffix")(i):t(i)}}const v$={name:"definition",tokenize:x$},b$={partial:!0,tokenize:C$};function x$(e,t,n){const r=this;let i;return o;function o(p){return e.enter("definition"),a(p)}function a(p){return av.call(r,e,s,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(p)}function s(p){return i=tr(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)),p===58?(e.enter("definitionMarker"),e.consume(p),e.exit("definitionMarker"),l):n(p)}function l(p){return xt(p)?Is(e,c)(p):c(p)}function c(p){return ov(e,u,n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(p)}function u(p){return e.attempt(b$,d,d)(p)}function d(p){return Ge(p)?Xe(e,f,"whitespace")(p):f(p)}function f(p){return p===null||Oe(p)?(e.exit("definition"),r.parser.defined.push(i),t(p)):n(p)}}function C$(e,t,n){return r;function r(s){return xt(s)?Is(e,i)(s):n(s)}function i(s){return sv(e,o,n,"definitionTitle","definitionTitleMarker","definitionTitleString")(s)}function o(s){return Ge(s)?Xe(e,a,"whitespace")(s):a(s)}function a(s){return s===null||Oe(s)?t(s):n(s)}}const w$={name:"hardBreakEscape",tokenize:k$};function k$(e,t,n){return r;function r(o){return e.enter("hardBreakEscape"),e.consume(o),i}function i(o){return Oe(o)?(e.exit("hardBreakEscape"),t(o)):n(o)}}const S$={name:"headingAtx",resolve:T$,tokenize:_$};function T$(e,t){let n=e.length-2,r=3,i,o;return e[r][1].type==="whitespace"&&(r+=2),n-2>r&&e[n][1].type==="whitespace"&&(n-=2),e[n][1].type==="atxHeadingSequence"&&(r===n-1||n-4>r&&e[n-2][1].type==="whitespace")&&(n-=r+1===n?2:4),n>r&&(i={type:"atxHeadingText",start:e[r][1].start,end:e[n][1].end},o={type:"chunkText",start:e[r][1].start,end:e[n][1].end,contentType:"text"},On(e,r,n-r+1,[["enter",i,t],["enter",o,t],["exit",o,t],["exit",i,t]])),e}function _$(e,t,n){let r=0;return i;function i(u){return e.enter("atxHeading"),o(u)}function o(u){return e.enter("atxHeadingSequence"),a(u)}function a(u){return u===35&&r++<6?(e.consume(u),a):u===null||xt(u)?(e.exit("atxHeadingSequence"),s(u)):n(u)}function s(u){return u===35?(e.enter("atxHeadingSequence"),l(u)):u===null||Oe(u)?(e.exit("atxHeading"),t(u)):Ge(u)?Xe(e,s,"whitespace")(u):(e.enter("atxHeadingText"),c(u))}function l(u){return u===35?(e.consume(u),l):(e.exit("atxHeadingSequence"),s(u))}function c(u){return u===null||u===35||xt(u)?(e.exit("atxHeadingText"),s(u)):(e.consume(u),c)}}const E$=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],lv=["pre","script","style","textarea"],P$={concrete:!0,name:"htmlFlow",resolveTo:I$,tokenize:M$},A$={partial:!0,tokenize:O$},j$={partial:!0,tokenize:D$};function I$(e){let t=e.length;for(;t--&&!(e[t][0]==="enter"&&e[t][1].type==="htmlFlow"););return t>1&&e[t-2][1].type==="linePrefix"&&(e[t][1].start=e[t-2][1].start,e[t+1][1].start=e[t-2][1].start,e.splice(t-2,2)),e}function M$(e,t,n){const r=this;let i,o,a,s,l;return c;function c(S){return u(S)}function u(S){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(S),d}function d(S){return S===33?(e.consume(S),f):S===47?(e.consume(S),o=!0,g):S===63?(e.consume(S),i=3,r.interrupt?t:C):gn(S)?(e.consume(S),a=String.fromCharCode(S),y):n(S)}function f(S){return S===45?(e.consume(S),i=2,p):S===91?(e.consume(S),i=5,s=0,m):gn(S)?(e.consume(S),i=4,r.interrupt?t:C):n(S)}function p(S){return S===45?(e.consume(S),r.interrupt?t:C):n(S)}function m(S){const V="CDATA[";return S===V.charCodeAt(s++)?(e.consume(S),s===V.length?r.interrupt?t:Z:m):n(S)}function g(S){return gn(S)?(e.consume(S),a=String.fromCharCode(S),y):n(S)}function y(S){if(S===null||S===47||S===62||xt(S)){const V=S===47,_=a.toLowerCase();return!V&&!o&&lv.includes(_)?(i=1,r.interrupt?t(S):Z(S)):E$.includes(a.toLowerCase())?(i=6,V?(e.consume(S),v):r.interrupt?t(S):Z(S)):(i=7,r.interrupt&&!r.parser.lazy[r.now().line]?n(S):o?x(S):w(S))}return S===45||cn(S)?(e.consume(S),a+=String.fromCharCode(S),y):n(S)}function v(S){return S===62?(e.consume(S),r.interrupt?t:Z):n(S)}function x(S){return Ge(S)?(e.consume(S),x):P(S)}function w(S){return S===47?(e.consume(S),P):S===58||S===95||gn(S)?(e.consume(S),E):Ge(S)?(e.consume(S),w):P(S)}function E(S){return S===45||S===46||S===58||S===95||cn(S)?(e.consume(S),E):k(S)}function k(S){return S===61?(e.consume(S),T):Ge(S)?(e.consume(S),k):w(S)}function T(S){return S===null||S===60||S===61||S===62||S===96?n(S):S===34||S===39?(e.consume(S),l=S,I):Ge(S)?(e.consume(S),T):D(S)}function I(S){return S===l?(e.consume(S),l=null,$):S===null||Oe(S)?n(S):(e.consume(S),I)}function D(S){return S===null||S===34||S===39||S===47||S===60||S===61||S===62||S===96||xt(S)?k(S):(e.consume(S),D)}function $(S){return S===47||S===62||Ge(S)?w(S):n(S)}function P(S){return S===62?(e.consume(S),W):n(S)}function W(S){return S===null||Oe(S)?Z(S):Ge(S)?(e.consume(S),W):n(S)}function Z(S){return S===45&&i===2?(e.consume(S),X):S===60&&i===1?(e.consume(S),N):S===62&&i===4?(e.consume(S),R):S===63&&i===3?(e.consume(S),C):S===93&&i===5?(e.consume(S),he):Oe(S)&&(i===6||i===7)?(e.exit("htmlFlowData"),e.check(A$,J,ne)(S)):S===null||Oe(S)?(e.exit("htmlFlowData"),ne(S)):(e.consume(S),Z)}function ne(S){return e.check(j$,z,J)(S)}function z(S){return e.enter("lineEnding"),e.consume(S),e.exit("lineEnding"),q}function q(S){return S===null||Oe(S)?ne(S):(e.enter("htmlFlowData"),Z(S))}function X(S){return S===45?(e.consume(S),C):Z(S)}function N(S){return S===47?(e.consume(S),a="",ce):Z(S)}function ce(S){if(S===62){const V=a.toLowerCase();return lv.includes(V)?(e.consume(S),R):Z(S)}return gn(S)&&a.length<8?(e.consume(S),a+=String.fromCharCode(S),ce):Z(S)}function he(S){return S===93?(e.consume(S),C):Z(S)}function C(S){return S===62?(e.consume(S),R):S===45&&i===2?(e.consume(S),C):Z(S)}function R(S){return S===null||Oe(S)?(e.exit("htmlFlowData"),J(S)):(e.consume(S),R)}function J(S){return e.exit("htmlFlow"),t(S)}}function D$(e,t,n){const r=this;return i;function i(a){return Oe(a)?(e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),o):n(a)}function o(a){return r.parser.lazy[r.now().line]?n(a):t(a)}}function O$(e,t,n){return r;function r(i){return e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),e.attempt(As,t,n)}}const F$={name:"htmlText",tokenize:z$};function z$(e,t,n){const r=this;let i,o,a;return s;function s(C){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(C),l}function l(C){return C===33?(e.consume(C),c):C===47?(e.consume(C),k):C===63?(e.consume(C),w):gn(C)?(e.consume(C),D):n(C)}function c(C){return C===45?(e.consume(C),u):C===91?(e.consume(C),o=0,m):gn(C)?(e.consume(C),x):n(C)}function u(C){return C===45?(e.consume(C),p):n(C)}function d(C){return C===null?n(C):C===45?(e.consume(C),f):Oe(C)?(a=d,N(C)):(e.consume(C),d)}function f(C){return C===45?(e.consume(C),p):d(C)}function p(C){return C===62?X(C):C===45?f(C):d(C)}function m(C){const R="CDATA[";return C===R.charCodeAt(o++)?(e.consume(C),o===R.length?g:m):n(C)}function g(C){return C===null?n(C):C===93?(e.consume(C),y):Oe(C)?(a=g,N(C)):(e.consume(C),g)}function y(C){return C===93?(e.consume(C),v):g(C)}function v(C){return C===62?X(C):C===93?(e.consume(C),v):g(C)}function x(C){return C===null||C===62?X(C):Oe(C)?(a=x,N(C)):(e.consume(C),x)}function w(C){return C===null?n(C):C===63?(e.consume(C),E):Oe(C)?(a=w,N(C)):(e.consume(C),w)}function E(C){return C===62?X(C):w(C)}function k(C){return gn(C)?(e.consume(C),T):n(C)}function T(C){return C===45||cn(C)?(e.consume(C),T):I(C)}function I(C){return Oe(C)?(a=I,N(C)):Ge(C)?(e.consume(C),I):X(C)}function D(C){return C===45||cn(C)?(e.consume(C),D):C===47||C===62||xt(C)?$(C):n(C)}function $(C){return C===47?(e.consume(C),X):C===58||C===95||gn(C)?(e.consume(C),P):Oe(C)?(a=$,N(C)):Ge(C)?(e.consume(C),$):X(C)}function P(C){return C===45||C===46||C===58||C===95||cn(C)?(e.consume(C),P):W(C)}function W(C){return C===61?(e.consume(C),Z):Oe(C)?(a=W,N(C)):Ge(C)?(e.consume(C),W):$(C)}function Z(C){return C===null||C===60||C===61||C===62||C===96?n(C):C===34||C===39?(e.consume(C),i=C,ne):Oe(C)?(a=Z,N(C)):Ge(C)?(e.consume(C),Z):(e.consume(C),z)}function ne(C){return C===i?(e.consume(C),i=void 0,q):C===null?n(C):Oe(C)?(a=ne,N(C)):(e.consume(C),ne)}function z(C){return C===null||C===34||C===39||C===60||C===61||C===96?n(C):C===47||C===62||xt(C)?$(C):(e.consume(C),z)}function q(C){return C===47||C===62||xt(C)?$(C):n(C)}function X(C){return C===62?(e.consume(C),e.exit("htmlTextData"),e.exit("htmlText"),t):n(C)}function N(C){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(C),e.exit("lineEnding"),ce}function ce(C){return Ge(C)?Xe(e,he,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(C):he(C)}function he(C){return e.enter("htmlTextData"),a(C)}}const $p={name:"labelEnd",resolveAll:R$,resolveTo:N$,tokenize:V$},L$={tokenize:W$},$$={tokenize:H$},B$={tokenize:U$};function R$(e){let t=-1;const n=[];for(;++t<e.length;){const r=e[t][1];if(n.push(e[t]),r.type==="labelImage"||r.type==="labelLink"||r.type==="labelEnd"){const i=r.type==="labelImage"?4:2;r.type="data",t+=i}}return e.length!==n.length&&On(e,0,e.length,n),e}function N$(e,t){let n=e.length,r=0,i,o,a,s;for(;n--;)if(i=e[n][1],o){if(i.type==="link"||i.type==="labelLink"&&i._inactive)break;e[n][0]==="enter"&&i.type==="labelLink"&&(i._inactive=!0)}else if(a){if(e[n][0]==="enter"&&(i.type==="labelImage"||i.type==="labelLink")&&!i._balanced&&(o=n,i.type!=="labelLink")){r=2;break}}else i.type==="labelEnd"&&(a=n);const l={type:e[o][1].type==="labelLink"?"link":"image",start:{...e[o][1].start},end:{...e[e.length-1][1].end}},c={type:"label",start:{...e[o][1].start},end:{...e[a][1].end}},u={type:"labelText",start:{...e[o+r+2][1].end},end:{...e[a-2][1].start}};return s=[["enter",l,t],["enter",c,t]],s=Gn(s,e.slice(o+1,o+r+3)),s=Gn(s,[["enter",u,t]]),s=Gn(s,Cc(t.parser.constructs.insideSpan.null,e.slice(o+r+4,a-3),t)),s=Gn(s,[["exit",u,t],e[a-2],e[a-1],["exit",c,t]]),s=Gn(s,e.slice(a+1)),s=Gn(s,[["exit",l,t]]),On(e,o,e.length,s),e}function V$(e,t,n){const r=this;let i=r.events.length,o,a;for(;i--;)if((r.events[i][1].type==="labelImage"||r.events[i][1].type==="labelLink")&&!r.events[i][1]._balanced){o=r.events[i][1];break}return s;function s(f){return o?o._inactive?d(f):(a=r.parser.defined.includes(tr(r.sliceSerialize({start:o.end,end:r.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(f),e.exit("labelMarker"),e.exit("labelEnd"),l):n(f)}function l(f){return f===40?e.attempt(L$,u,a?u:d)(f):f===91?e.attempt($$,u,a?c:d)(f):a?u(f):d(f)}function c(f){return e.attempt(B$,u,d)(f)}function u(f){return t(f)}function d(f){return o._balanced=!0,n(f)}}function W$(e,t,n){return r;function r(d){return e.enter("resource"),e.enter("resourceMarker"),e.consume(d),e.exit("resourceMarker"),i}function i(d){return xt(d)?Is(e,o)(d):o(d)}function o(d){return d===41?u(d):ov(e,a,s,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(d)}function a(d){return xt(d)?Is(e,l)(d):u(d)}function s(d){return n(d)}function l(d){return d===34||d===39||d===40?sv(e,c,n,"resourceTitle","resourceTitleMarker","resourceTitleString")(d):u(d)}function c(d){return xt(d)?Is(e,u)(d):u(d)}function u(d){return d===41?(e.enter("resourceMarker"),e.consume(d),e.exit("resourceMarker"),e.exit("resource"),t):n(d)}}function H$(e,t,n){const r=this;return i;function i(s){return av.call(r,e,o,a,"reference","referenceMarker","referenceString")(s)}function o(s){return r.parser.defined.includes(tr(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)))?t(s):n(s)}function a(s){return n(s)}}function U$(e,t,n){return r;function r(o){return e.enter("reference"),e.enter("referenceMarker"),e.consume(o),e.exit("referenceMarker"),i}function i(o){return o===93?(e.enter("referenceMarker"),e.consume(o),e.exit("referenceMarker"),e.exit("reference"),t):n(o)}}const q$={name:"labelStartImage",resolveAll:$p.resolveAll,tokenize:G$};function G$(e,t,n){const r=this;return i;function i(s){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(s),e.exit("labelImageMarker"),o}function o(s){return s===91?(e.enter("labelMarker"),e.consume(s),e.exit("labelMarker"),e.exit("labelImage"),a):n(s)}function a(s){return s===94&&"_hiddenFootnoteSupport"in r.parser.constructs?n(s):t(s)}}const Z$={name:"labelStartLink",resolveAll:$p.resolveAll,tokenize:K$};function K$(e,t,n){const r=this;return i;function i(a){return e.enter("labelLink"),e.enter("labelMarker"),e.consume(a),e.exit("labelMarker"),e.exit("labelLink"),o}function o(a){return a===94&&"_hiddenFootnoteSupport"in r.parser.constructs?n(a):t(a)}}const Bp={name:"lineEnding",tokenize:Y$};function Y$(e,t){return n;function n(r){return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),Xe(e,t,"linePrefix")}}const wc={name:"thematicBreak",tokenize:X$};function X$(e,t,n){let r=0,i;return o;function o(c){return e.enter("thematicBreak"),a(c)}function a(c){return i=c,s(c)}function s(c){return c===i?(e.enter("thematicBreakSequence"),l(c)):r>=3&&(c===null||Oe(c))?(e.exit("thematicBreak"),t(c)):n(c)}function l(c){return c===i?(e.consume(c),r++,l):(e.exit("thematicBreakSequence"),Ge(c)?Xe(e,s,"whitespace")(c):s(c))}}const _n={continuation:{tokenize:tB},exit:rB,name:"list",tokenize:eB},J$={partial:!0,tokenize:iB},Q$={partial:!0,tokenize:nB};function eB(e,t,n){const r=this,i=r.events[r.events.length-1];let o=i&&i[1].type==="linePrefix"?i[2].sliceSerialize(i[1],!0).length:0,a=0;return s;function s(p){const m=r.containerState.type||(p===42||p===43||p===45?"listUnordered":"listOrdered");if(m==="listUnordered"?!r.containerState.marker||p===r.containerState.marker:Fp(p)){if(r.containerState.type||(r.containerState.type=m,e.enter(m,{_container:!0})),m==="listUnordered")return e.enter("listItemPrefix"),p===42||p===45?e.check(wc,n,c)(p):c(p);if(!r.interrupt||p===49)return e.enter("listItemPrefix"),e.enter("listItemValue"),l(p)}return n(p)}function l(p){return Fp(p)&&++a<10?(e.consume(p),l):(!r.interrupt||a<2)&&(r.containerState.marker?p===r.containerState.marker:p===41||p===46)?(e.exit("listItemValue"),c(p)):n(p)}function c(p){return e.enter("listItemMarker"),e.consume(p),e.exit("listItemMarker"),r.containerState.marker=r.containerState.marker||p,e.check(As,r.interrupt?n:u,e.attempt(J$,f,d))}function u(p){return r.containerState.initialBlankLine=!0,o++,f(p)}function d(p){return Ge(p)?(e.enter("listItemPrefixWhitespace"),e.consume(p),e.exit("listItemPrefixWhitespace"),f):n(p)}function f(p){return r.containerState.size=o+r.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(p)}}function tB(e,t,n){const r=this;return r.containerState._closeFlow=void 0,e.check(As,i,o);function i(s){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,Xe(e,t,"listItemIndent",r.containerState.size+1)(s)}function o(s){return r.containerState.furtherBlankLines||!Ge(s)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,a(s)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,e.attempt(Q$,t,a)(s))}function a(s){return r.containerState._closeFlow=!0,r.interrupt=void 0,Xe(e,e.attempt(_n,t,n),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(s)}}function nB(e,t,n){const r=this;return Xe(e,i,"listItemIndent",r.containerState.size+1);function i(o){const a=r.events[r.events.length-1];return a&&a[1].type==="listItemIndent"&&a[2].sliceSerialize(a[1],!0).length===r.containerState.size?t(o):n(o)}}function rB(e){e.exit(this.containerState.type)}function iB(e,t,n){const r=this;return Xe(e,i,"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function i(o){const a=r.events[r.events.length-1];return!Ge(o)&&a&&a[1].type==="listItemPrefixWhitespace"?t(o):n(o)}}const cv={name:"setextUnderline",resolveTo:oB,tokenize:aB};function oB(e,t){let n=e.length,r,i,o;for(;n--;)if(e[n][0]==="enter"){if(e[n][1].type==="content"){r=n;break}e[n][1].type==="paragraph"&&(i=n)}else e[n][1].type==="content"&&e.splice(n,1),!o&&e[n][1].type==="definition"&&(o=n);const a={type:"setextHeading",start:{...e[i][1].start},end:{...e[e.length-1][1].end}};return e[i][1].type="setextHeadingText",o?(e.splice(i,0,["enter",a,t]),e.splice(o+1,0,["exit",e[r][1],t]),e[r][1].end={...e[o][1].end}):e[r][1]=a,e.push(["exit",a,t]),e}function aB(e,t,n){const r=this;let i;return o;function o(c){let u=r.events.length,d;for(;u--;)if(r.events[u][1].type!=="lineEnding"&&r.events[u][1].type!=="linePrefix"&&r.events[u][1].type!=="content"){d=r.events[u][1].type==="paragraph";break}return!r.parser.lazy[r.now().line]&&(r.interrupt||d)?(e.enter("setextHeadingLine"),i=c,a(c)):n(c)}function a(c){return e.enter("setextHeadingLineSequence"),s(c)}function s(c){return c===i?(e.consume(c),s):(e.exit("setextHeadingLineSequence"),Ge(c)?Xe(e,l,"lineSuffix")(c):l(c))}function l(c){return c===null||Oe(c)?(e.exit("setextHeadingLine"),t(c)):n(c)}}const sB={tokenize:lB};function lB(e){const t=this,n=e.attempt(As,r,e.attempt(this.parser.constructs.flowInitial,i,Xe(e,e.attempt(this.parser.constructs.flow,i,e.attempt(p$,i)),"linePrefix")));return n;function r(o){if(o===null){e.consume(o);return}return e.enter("lineEndingBlank"),e.consume(o),e.exit("lineEndingBlank"),t.currentConstruct=void 0,n}function i(o){if(o===null){e.consume(o);return}return e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),t.currentConstruct=void 0,n}}const cB={resolveAll:dv()},uB=uv("string"),dB=uv("text");function uv(e){return{resolveAll:dv(e==="text"?fB:void 0),tokenize:t};function t(n){const r=this,i=this.parser.constructs[e],o=n.attempt(i,a,s);return a;function a(u){return c(u)?o(u):s(u)}function s(u){if(u===null){n.consume(u);return}return n.enter("data"),n.consume(u),l}function l(u){return c(u)?(n.exit("data"),o(u)):(n.consume(u),l)}function c(u){if(u===null)return!0;const d=i[u];let f=-1;if(d)for(;++f<d.length;){const p=d[f];if(!p.previous||p.previous.call(r,r.previous))return!0}return!1}}}function dv(e){return t;function t(n,r){let i=-1,o;for(;++i<=n.length;)o===void 0?n[i]&&n[i][1].type==="data"&&(o=i,i++):(!n[i]||n[i][1].type!=="data")&&(i!==o+2&&(n[o][1].end=n[i-1][1].end,n.splice(o+2,i-o-2),i=o+2),o=void 0);return e?e(n,r):n}}function fB(e,t){let n=0;for(;++n<=e.length;)if((n===e.length||e[n][1].type==="lineEnding")&&e[n-1][1].type==="data"){const r=e[n-1][1],i=t.sliceStream(r);let o=i.length,a=-1,s=0,l;for(;o--;){const c=i[o];if(typeof c=="string"){for(a=c.length;c.charCodeAt(a-1)===32;)s++,a--;if(a)break;a=-1}else if(c===-2)l=!0,s++;else if(c!==-1){o++;break}}if(s){const c={type:n===e.length||l||s<2?"lineSuffix":"hardBreakTrailing",start:{_bufferIndex:o?a:r.start._bufferIndex+a,_index:r.start._index+o,line:r.end.line,column:r.end.column-s,offset:r.end.offset-s},end:{...r.end}};r.end={...c.start},r.start.offset===r.end.offset?Object.assign(r,c):(e.splice(n,0,["enter",c,t],["exit",c,t]),n+=2)}n++}return e}const pB=Object.freeze(Object.defineProperty({__proto__:null,attentionMarkers:{null:[42,95]},contentInitial:{91:v$},disable:{null:[]},document:{42:_n,43:_n,45:_n,48:_n,49:_n,50:_n,51:_n,52:_n,53:_n,54:_n,55:_n,56:_n,57:_n,62:Qy},flow:{35:S$,42:wc,45:[cv,wc],60:P$,61:cv,95:wc,96:rv,126:rv},flowInitial:{[-2]:Lp,[-1]:Lp,32:Lp},insideSpan:{null:[zp,cB]},string:{38:tv,92:ev},text:{[-5]:Bp,[-4]:Bp,[-3]:Bp,33:q$,38:tv,42:zp,60:[ZL,F$],91:Z$,92:[w$,ev],93:$p,95:zp,96:s$}},Symbol.toStringTag,{value:"Module"}));function hB(e,t,n){let r={_bufferIndex:-1,_index:0,line:n&&n.line||1,column:n&&n.column||1,offset:n&&n.offset||0};const i={},o=[];let a=[],s=[];const l={attempt:I(k),check:I(T),consume:x,enter:w,exit:E,interrupt:I(T,{interrupt:!0})},c={code:null,containerState:{},defineSkip:g,events:[],now:m,parser:e,previous:null,sliceSerialize:f,sliceStream:p,write:d};let u=t.tokenize.call(c,l);return t.resolveAll&&o.push(t),c;function d(W){return a=Gn(a,W),y(),a[a.length-1]!==null?[]:(D(t,0),c.events=Cc(o,c.events,c),c.events)}function f(W,Z){return gB(p(W),Z)}function p(W){return mB(a,W)}function m(){const{_bufferIndex:W,_index:Z,line:ne,column:z,offset:q}=r;return{_bufferIndex:W,_index:Z,line:ne,column:z,offset:q}}function g(W){i[W.line]=W.column,P()}function y(){let W;for(;r._index<a.length;){const Z=a[r._index];if(typeof Z=="string")for(W=r._index,r._bufferIndex<0&&(r._bufferIndex=0);r._index===W&&r._bufferIndex<Z.length;)v(Z.charCodeAt(r._bufferIndex));else v(Z)}}function v(W){u=u(W)}function x(W){Oe(W)?(r.line++,r.column=1,r.offset+=W===-3?2:1,P()):W!==-1&&(r.column++,r.offset++),r._bufferIndex<0?r._index++:(r._bufferIndex++,r._bufferIndex===a[r._index].length&&(r._bufferIndex=-1,r._index++)),c.previous=W}function w(W,Z){const ne=Z||{};return ne.type=W,ne.start=m(),c.events.push(["enter",ne,c]),s.push(ne),ne}function E(W){const Z=s.pop();return Z.end=m(),c.events.push(["exit",Z,c]),Z}function k(W,Z){D(W,Z.from)}function T(W,Z){Z.restore()}function I(W,Z){return ne;function ne(z,q,X){let N,ce,he,C;return Array.isArray(z)?J(z):"tokenize"in z?J([z]):R(z);function R(Q){return ie;function ie(re){const me=re!==null&&Q[re],pe=re!==null&&Q.null,ke=[...Array.isArray(me)?me:me?[me]:[],...Array.isArray(pe)?pe:pe?[pe]:[]];return J(ke)(re)}}function J(Q){return N=Q,ce=0,Q.length===0?X:S(Q[ce])}function S(Q){return ie;function ie(re){return C=$(),he=Q,Q.partial||(c.currentConstruct=Q),Q.name&&c.parser.constructs.disable.null.includes(Q.name)?_():Q.tokenize.call(Z?Object.assign(Object.create(c),Z):c,l,V,_)(re)}}function V(Q){return W(he,C),q}function _(Q){return C.restore(),++ce<N.length?S(N[ce]):X}}}function D(W,Z){W.resolveAll&&!o.includes(W)&&o.push(W),W.resolve&&On(c.events,Z,c.events.length-Z,W.resolve(c.events.slice(Z),c)),W.resolveTo&&(c.events=W.resolveTo(c.events,c))}function $(){const W=m(),Z=c.previous,ne=c.currentConstruct,z=c.events.length,q=Array.from(s);return{from:z,restore:X};function X(){r=W,c.previous=Z,c.currentConstruct=ne,c.events.length=z,s=q,P()}}function P(){r.line in i&&r.column<2&&(r.column=i[r.line],r.offset+=i[r.line]-1)}}function mB(e,t){const n=t.start._index,r=t.start._bufferIndex,i=t.end._index,o=t.end._bufferIndex;let a;if(n===i)a=[e[n].slice(r,o)];else{if(a=e.slice(n,i),r>-1){const s=a[0];typeof s=="string"?a[0]=s.slice(r):a.shift()}o>0&&a.push(e[i].slice(0,o))}return a}function gB(e,t){let n=-1;const r=[];let i;for(;++n<e.length;){const o=e[n];let a;if(typeof o=="string")a=o;else switch(o){case-5:{a="\r";break}case-4:{a=`
|
|
402
|
+
`;break}case-3:{a=`\r
|
|
403
|
+
`;break}case-2:{a=t?" ":" ";break}case-1:{if(!t&&i)continue;a=" ";break}default:a=String.fromCharCode(o)}i=o===-2,r.push(a)}return r.join("")}function yB(e){const r={constructs:Ky([pB,...(e||{}).extensions||[]]),content:i(NL),defined:[],document:i(WL),flow:i(sB),lazy:{},string:i(uB),text:i(dB)};return r;function i(o){return a;function a(s){return hB(r,o,s)}}}function vB(e){for(;!iv(e););return e}const fv=/[\0\t\n\r]/g;function bB(){let e=1,t="",n=!0,r;return i;function i(o,a,s){const l=[];let c,u,d,f,p;for(o=t+(typeof o=="string"?o.toString():new TextDecoder(a||void 0).decode(o)),d=0,t="",n&&(o.charCodeAt(0)===65279&&d++,n=void 0);d<o.length;){if(fv.lastIndex=d,c=fv.exec(o),f=c&&c.index!==void 0?c.index:o.length,p=o.charCodeAt(f),!c){t=o.slice(d);break}if(p===10&&d===f&&r)l.push(-3),r=void 0;else switch(r&&(l.push(-5),r=void 0),d<f&&(l.push(o.slice(d,f)),e+=f-d),p){case 0:{l.push(65533),e++;break}case 9:{for(u=Math.ceil(e/4)*4,l.push(-2);e++<u;)l.push(-1);break}case 10:{l.push(-4),e=1;break}default:r=!0,e=1}d=f+1}return s&&(r&&l.push(-5),t&&l.push(t),l.push(null)),l}}const xB=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function CB(e){return e.replace(xB,wB)}function wB(e,t,n){if(t)return t;if(n.charCodeAt(0)===35){const i=n.charCodeAt(1),o=i===120||i===88;return Yy(n.slice(o?2:1),o?16:10)}return Op(n)||e}const pv={}.hasOwnProperty;function kB(e,t,n){return typeof t!="string"&&(n=t,t=void 0),SB(n)(vB(yB(n).document().write(bB()(e,t,!0))))}function SB(e){const t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:o(ye),autolinkProtocol:$,autolinkEmail:$,atxHeading:o(F),blockQuote:o(pe),characterEscape:$,characterReference:$,codeFenced:o(ke),codeFencedFenceInfo:a,codeFencedFenceMeta:a,codeIndented:o(ke,a),codeText:o(K,a),codeTextData:$,data:$,codeFlowValue:$,definition:o(je),definitionDestinationString:a,definitionLabelString:a,definitionTitleString:a,emphasis:o($e),hardBreakEscape:o(ee),hardBreakTrailing:o(ee),htmlFlow:o(oe,a),htmlFlowData:$,htmlText:o(oe,a),htmlTextData:$,image:o(we),label:a,link:o(ye),listItem:o(Pe),listItemValue:f,listOrdered:o(ve,d),listUnordered:o(ve),paragraph:o(Be),reference:S,referenceString:a,resourceDestinationString:a,resourceTitleString:a,setextHeading:o(F),strong:o(ge),thematicBreak:o(le)},exit:{atxHeading:l(),atxHeadingSequence:k,autolink:l(),autolinkEmail:me,autolinkProtocol:re,blockQuote:l(),characterEscapeValue:P,characterReferenceMarkerHexadecimal:_,characterReferenceMarkerNumeric:_,characterReferenceValue:Q,characterReference:ie,codeFenced:l(y),codeFencedFence:g,codeFencedFenceInfo:p,codeFencedFenceMeta:m,codeFlowValue:P,codeIndented:l(v),codeText:l(q),codeTextData:P,data:P,definition:l(),definitionDestinationString:E,definitionLabelString:x,definitionTitleString:w,emphasis:l(),hardBreakEscape:l(Z),hardBreakTrailing:l(Z),htmlFlow:l(ne),htmlFlowData:P,htmlText:l(z),htmlTextData:P,image:l(N),label:he,labelText:ce,lineEnding:W,link:l(X),listItem:l(),listOrdered:l(),listUnordered:l(),paragraph:l(),referenceString:V,resourceDestinationString:C,resourceTitleString:R,resource:J,setextHeading:l(D),setextHeadingLineSequence:I,setextHeadingText:T,strong:l(),thematicBreak:l()}};hv(t,(e||{}).mdastExtensions||[]);const n={};return r;function r(O){let U={type:"root",children:[]};const ue={stack:[U],tokenStack:[],config:t,enter:s,exit:c,buffer:a,resume:u,data:n},_e=[];let Ae=-1;for(;++Ae<O.length;)if(O[Ae][1].type==="listOrdered"||O[Ae][1].type==="listUnordered")if(O[Ae][0]==="enter")_e.push(Ae);else{const nt=_e.pop();Ae=i(O,nt,Ae)}for(Ae=-1;++Ae<O.length;){const nt=t[O[Ae][0]];pv.call(nt,O[Ae][1].type)&&nt[O[Ae][1].type].call(Object.assign({sliceSerialize:O[Ae][2].sliceSerialize},ue),O[Ae][1])}if(ue.tokenStack.length>0){const nt=ue.tokenStack[ue.tokenStack.length-1];(nt[1]||mv).call(ue,void 0,nt[0])}for(U.position={start:ci(O.length>0?O[0][1].start:{line:1,column:1,offset:0}),end:ci(O.length>0?O[O.length-2][1].end:{line:1,column:1,offset:0})},Ae=-1;++Ae<t.transforms.length;)U=t.transforms[Ae](U)||U;return U}function i(O,U,ue){let _e=U-1,Ae=-1,nt=!1,Ct,It,Ye,Et;for(;++_e<=ue;){const ht=O[_e];switch(ht[1].type){case"listUnordered":case"listOrdered":case"blockQuote":{ht[0]==="enter"?Ae++:Ae--,Et=void 0;break}case"lineEndingBlank":{ht[0]==="enter"&&(Ct&&!Et&&!Ae&&!Ye&&(Ye=_e),Et=void 0);break}case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:Et=void 0}if(!Ae&&ht[0]==="enter"&&ht[1].type==="listItemPrefix"||Ae===-1&&ht[0]==="exit"&&(ht[1].type==="listUnordered"||ht[1].type==="listOrdered")){if(Ct){let Xt=_e;for(It=void 0;Xt--;){const Pt=O[Xt];if(Pt[1].type==="lineEnding"||Pt[1].type==="lineEndingBlank"){if(Pt[0]==="exit")continue;It&&(O[It][1].type="lineEndingBlank",nt=!0),Pt[1].type="lineEnding",It=Xt}else if(!(Pt[1].type==="linePrefix"||Pt[1].type==="blockQuotePrefix"||Pt[1].type==="blockQuotePrefixWhitespace"||Pt[1].type==="blockQuoteMarker"||Pt[1].type==="listItemIndent"))break}Ye&&(!It||Ye<It)&&(Ct._spread=!0),Ct.end=Object.assign({},It?O[It][1].start:ht[1].end),O.splice(It||_e,0,["exit",Ct,ht[2]]),_e++,ue++}if(ht[1].type==="listItemPrefix"){const Xt={type:"listItem",_spread:!1,start:Object.assign({},ht[1].start),end:void 0};Ct=Xt,O.splice(_e,0,["enter",Xt,ht[2]]),_e++,ue++,Ye=void 0,Et=!0}}}return O[U][1]._spread=nt,ue}function o(O,U){return ue;function ue(_e){s.call(this,O(_e),_e),U&&U.call(this,_e)}}function a(){this.stack.push({type:"fragment",children:[]})}function s(O,U,ue){this.stack[this.stack.length-1].children.push(O),this.stack.push(O),this.tokenStack.push([U,ue||void 0]),O.position={start:ci(U.start),end:void 0}}function l(O){return U;function U(ue){O&&O.call(this,ue),c.call(this,ue)}}function c(O,U){const ue=this.stack.pop(),_e=this.tokenStack.pop();if(_e)_e[0].type!==O.type&&(U?U.call(this,O,_e[0]):(_e[1]||mv).call(this,O,_e[0]));else throw new Error("Cannot close `"+O.type+"` ("+Es({start:O.start,end:O.end})+"): it’s not open");ue.position.end=ci(O.end)}function u(){return Dp(this.stack.pop())}function d(){this.data.expectingFirstListItemValue=!0}function f(O){if(this.data.expectingFirstListItemValue){const U=this.stack[this.stack.length-2];U.start=Number.parseInt(this.sliceSerialize(O),10),this.data.expectingFirstListItemValue=void 0}}function p(){const O=this.resume(),U=this.stack[this.stack.length-1];U.lang=O}function m(){const O=this.resume(),U=this.stack[this.stack.length-1];U.meta=O}function g(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}function y(){const O=this.resume(),U=this.stack[this.stack.length-1];U.value=O.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}function v(){const O=this.resume(),U=this.stack[this.stack.length-1];U.value=O.replace(/(\r?\n|\r)$/g,"")}function x(O){const U=this.resume(),ue=this.stack[this.stack.length-1];ue.label=U,ue.identifier=tr(this.sliceSerialize(O)).toLowerCase()}function w(){const O=this.resume(),U=this.stack[this.stack.length-1];U.title=O}function E(){const O=this.resume(),U=this.stack[this.stack.length-1];U.url=O}function k(O){const U=this.stack[this.stack.length-1];if(!U.depth){const ue=this.sliceSerialize(O).length;U.depth=ue}}function T(){this.data.setextHeadingSlurpLineEnding=!0}function I(O){const U=this.stack[this.stack.length-1];U.depth=this.sliceSerialize(O).codePointAt(0)===61?1:2}function D(){this.data.setextHeadingSlurpLineEnding=void 0}function $(O){const ue=this.stack[this.stack.length-1].children;let _e=ue[ue.length-1];(!_e||_e.type!=="text")&&(_e=Y(),_e.position={start:ci(O.start),end:void 0},ue.push(_e)),this.stack.push(_e)}function P(O){const U=this.stack.pop();U.value+=this.sliceSerialize(O),U.position.end=ci(O.end)}function W(O){const U=this.stack[this.stack.length-1];if(this.data.atHardBreak){const ue=U.children[U.children.length-1];ue.position.end=ci(O.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&t.canContainEols.includes(U.type)&&($.call(this,O),P.call(this,O))}function Z(){this.data.atHardBreak=!0}function ne(){const O=this.resume(),U=this.stack[this.stack.length-1];U.value=O}function z(){const O=this.resume(),U=this.stack[this.stack.length-1];U.value=O}function q(){const O=this.resume(),U=this.stack[this.stack.length-1];U.value=O}function X(){const O=this.stack[this.stack.length-1];if(this.data.inReference){const U=this.data.referenceType||"shortcut";O.type+="Reference",O.referenceType=U,delete O.url,delete O.title}else delete O.identifier,delete O.label;this.data.referenceType=void 0}function N(){const O=this.stack[this.stack.length-1];if(this.data.inReference){const U=this.data.referenceType||"shortcut";O.type+="Reference",O.referenceType=U,delete O.url,delete O.title}else delete O.identifier,delete O.label;this.data.referenceType=void 0}function ce(O){const U=this.sliceSerialize(O),ue=this.stack[this.stack.length-2];ue.label=CB(U),ue.identifier=tr(U).toLowerCase()}function he(){const O=this.stack[this.stack.length-1],U=this.resume(),ue=this.stack[this.stack.length-1];if(this.data.inReference=!0,ue.type==="link"){const _e=O.children;ue.children=_e}else ue.alt=U}function C(){const O=this.resume(),U=this.stack[this.stack.length-1];U.url=O}function R(){const O=this.resume(),U=this.stack[this.stack.length-1];U.title=O}function J(){this.data.inReference=void 0}function S(){this.data.referenceType="collapsed"}function V(O){const U=this.resume(),ue=this.stack[this.stack.length-1];ue.label=U,ue.identifier=tr(this.sliceSerialize(O)).toLowerCase(),this.data.referenceType="full"}function _(O){this.data.characterReferenceType=O.type}function Q(O){const U=this.sliceSerialize(O),ue=this.data.characterReferenceType;let _e;ue?(_e=Yy(U,ue==="characterReferenceMarkerNumeric"?10:16),this.data.characterReferenceType=void 0):_e=Op(U);const Ae=this.stack[this.stack.length-1];Ae.value+=_e}function ie(O){const U=this.stack.pop();U.position.end=ci(O.end)}function re(O){P.call(this,O);const U=this.stack[this.stack.length-1];U.url=this.sliceSerialize(O)}function me(O){P.call(this,O);const U=this.stack[this.stack.length-1];U.url="mailto:"+this.sliceSerialize(O)}function pe(){return{type:"blockquote",children:[]}}function ke(){return{type:"code",lang:null,meta:null,value:""}}function K(){return{type:"inlineCode",value:""}}function je(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function $e(){return{type:"emphasis",children:[]}}function F(){return{type:"heading",depth:0,children:[]}}function ee(){return{type:"break"}}function oe(){return{type:"html",value:""}}function we(){return{type:"image",title:null,url:"",alt:null}}function ye(){return{type:"link",title:null,url:"",children:[]}}function ve(O){return{type:"list",ordered:O.type==="listOrdered",start:null,spread:O._spread,children:[]}}function Pe(O){return{type:"listItem",spread:O._spread,checked:null,children:[]}}function Be(){return{type:"paragraph",children:[]}}function ge(){return{type:"strong",children:[]}}function Y(){return{type:"text",value:""}}function le(){return{type:"thematicBreak"}}}function ci(e){return{line:e.line,column:e.column,offset:e.offset}}function hv(e,t){let n=-1;for(;++n<t.length;){const r=t[n];Array.isArray(r)?hv(e,r):TB(e,r)}}function TB(e,t){let n;for(n in t)if(pv.call(t,n))switch(n){case"canContainEols":{const r=t[n];r&&e[n].push(...r);break}case"transforms":{const r=t[n];r&&e[n].push(...r);break}case"enter":case"exit":{const r=t[n];r&&Object.assign(e[n],r);break}}}function mv(e,t){throw e?new Error("Cannot close `"+e.type+"` ("+Es({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+Es({start:t.start,end:t.end})+") is open"):new Error("Cannot close document, a token (`"+t.type+"`, "+Es({start:t.start,end:t.end})+") is still open")}function _B(e){const t=this;t.parser=n;function n(r){return kB(r,{...t.data("settings"),...e,extensions:t.data("micromarkExtensions")||[],mdastExtensions:t.data("fromMarkdownExtensions")||[]})}}function EB(e,t){const n={type:"element",tagName:"blockquote",properties:{},children:e.wrap(e.all(t),!0)};return e.patch(t,n),e.applyData(t,n)}function PB(e,t){const n={type:"element",tagName:"br",properties:{},children:[]};return e.patch(t,n),[e.applyData(t,n),{type:"text",value:`
|
|
404
|
+
`}]}function AB(e,t){const n=t.value?t.value+`
|
|
405
|
+
`:"",r={};t.lang&&(r.className=["language-"+t.lang]);let i={type:"element",tagName:"code",properties:r,children:[{type:"text",value:n}]};return t.meta&&(i.data={meta:t.meta}),e.patch(t,i),i=e.applyData(t,i),i={type:"element",tagName:"pre",properties:{},children:[i]},e.patch(t,i),i}function jB(e,t){const n={type:"element",tagName:"del",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function IB(e,t){const n={type:"element",tagName:"em",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function MB(e,t){const n=typeof e.options.clobberPrefix=="string"?e.options.clobberPrefix:"user-content-",r=String(t.identifier).toUpperCase(),i=Ko(r.toLowerCase()),o=e.footnoteOrder.indexOf(r);let a,s=e.footnoteCounts.get(r);s===void 0?(s=0,e.footnoteOrder.push(r),a=e.footnoteOrder.length):a=o+1,s+=1,e.footnoteCounts.set(r,s);const l={type:"element",tagName:"a",properties:{href:"#"+n+"fn-"+i,id:n+"fnref-"+i+(s>1?"-"+s:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(a)}]};e.patch(t,l);const c={type:"element",tagName:"sup",properties:{},children:[l]};return e.patch(t,c),e.applyData(t,c)}function DB(e,t){const n={type:"element",tagName:"h"+t.depth,properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function OB(e,t){if(e.options.allowDangerousHtml){const n={type:"raw",value:t.value};return e.patch(t,n),e.applyData(t,n)}}function gv(e,t){const n=t.referenceType;let r="]";if(n==="collapsed"?r+="[]":n==="full"&&(r+="["+(t.label||t.identifier)+"]"),t.type==="imageReference")return[{type:"text",value:"!["+t.alt+r}];const i=e.all(t),o=i[0];o&&o.type==="text"?o.value="["+o.value:i.unshift({type:"text",value:"["});const a=i[i.length-1];return a&&a.type==="text"?a.value+=r:i.push({type:"text",value:r}),i}function FB(e,t){const n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return gv(e,t);const i={src:Ko(r.url||""),alt:t.alt};r.title!==null&&r.title!==void 0&&(i.title=r.title);const o={type:"element",tagName:"img",properties:i,children:[]};return e.patch(t,o),e.applyData(t,o)}function zB(e,t){const n={src:Ko(t.url)};t.alt!==null&&t.alt!==void 0&&(n.alt=t.alt),t.title!==null&&t.title!==void 0&&(n.title=t.title);const r={type:"element",tagName:"img",properties:n,children:[]};return e.patch(t,r),e.applyData(t,r)}function LB(e,t){const n={type:"text",value:t.value.replace(/\r?\n|\r/g," ")};e.patch(t,n);const r={type:"element",tagName:"code",properties:{},children:[n]};return e.patch(t,r),e.applyData(t,r)}function $B(e,t){const n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return gv(e,t);const i={href:Ko(r.url||"")};r.title!==null&&r.title!==void 0&&(i.title=r.title);const o={type:"element",tagName:"a",properties:i,children:e.all(t)};return e.patch(t,o),e.applyData(t,o)}function BB(e,t){const n={href:Ko(t.url)};t.title!==null&&t.title!==void 0&&(n.title=t.title);const r={type:"element",tagName:"a",properties:n,children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function RB(e,t,n){const r=e.all(t),i=n?NB(n):yv(t),o={},a=[];if(typeof t.checked=="boolean"){const u=r[0];let d;u&&u.type==="element"&&u.tagName==="p"?d=u:(d={type:"element",tagName:"p",properties:{},children:[]},r.unshift(d)),d.children.length>0&&d.children.unshift({type:"text",value:" "}),d.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:t.checked,disabled:!0},children:[]}),o.className=["task-list-item"]}let s=-1;for(;++s<r.length;){const u=r[s];(i||s!==0||u.type!=="element"||u.tagName!=="p")&&a.push({type:"text",value:`
|
|
406
|
+
`}),u.type==="element"&&u.tagName==="p"&&!i?a.push(...u.children):a.push(u)}const l=r[r.length-1];l&&(i||l.type!=="element"||l.tagName!=="p")&&a.push({type:"text",value:`
|
|
407
|
+
`});const c={type:"element",tagName:"li",properties:o,children:a};return e.patch(t,c),e.applyData(t,c)}function NB(e){let t=!1;if(e.type==="list"){t=e.spread||!1;const n=e.children;let r=-1;for(;!t&&++r<n.length;)t=yv(n[r])}return t}function yv(e){const t=e.spread;return t??e.children.length>1}function VB(e,t){const n={},r=e.all(t);let i=-1;for(typeof t.start=="number"&&t.start!==1&&(n.start=t.start);++i<r.length;){const a=r[i];if(a.type==="element"&&a.tagName==="li"&&a.properties&&Array.isArray(a.properties.className)&&a.properties.className.includes("task-list-item")){n.className=["contains-task-list"];break}}const o={type:"element",tagName:t.ordered?"ol":"ul",properties:n,children:e.wrap(r,!0)};return e.patch(t,o),e.applyData(t,o)}function WB(e,t){const n={type:"element",tagName:"p",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function HB(e,t){const n={type:"root",children:e.wrap(e.all(t))};return e.patch(t,n),e.applyData(t,n)}function UB(e,t){const n={type:"element",tagName:"strong",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function qB(e,t){const n=e.all(t),r=n.shift(),i=[];if(r){const a={type:"element",tagName:"thead",properties:{},children:e.wrap([r],!0)};e.patch(t.children[0],a),i.push(a)}if(n.length>0){const a={type:"element",tagName:"tbody",properties:{},children:e.wrap(n,!0)},s=Ep(t.children[1]),l=Ly(t.children[t.children.length-1]);s&&l&&(a.position={start:s,end:l}),i.push(a)}const o={type:"element",tagName:"table",properties:{},children:e.wrap(i,!0)};return e.patch(t,o),e.applyData(t,o)}function GB(e,t,n){const r=n?n.children:void 0,o=(r?r.indexOf(t):1)===0?"th":"td",a=n&&n.type==="table"?n.align:void 0,s=a?a.length:t.children.length;let l=-1;const c=[];for(;++l<s;){const d=t.children[l],f={},p=a?a[l]:void 0;p&&(f.align=p);let m={type:"element",tagName:o,properties:f,children:[]};d&&(m.children=e.all(d),e.patch(d,m),m=e.applyData(d,m)),c.push(m)}const u={type:"element",tagName:"tr",properties:{},children:e.wrap(c,!0)};return e.patch(t,u),e.applyData(t,u)}function ZB(e,t){const n={type:"element",tagName:"td",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}const vv=9,bv=32;function KB(e){const t=String(e),n=/\r?\n|\r/g;let r=n.exec(t),i=0;const o=[];for(;r;)o.push(xv(t.slice(i,r.index),i>0,!0),r[0]),i=r.index+r[0].length,r=n.exec(t);return o.push(xv(t.slice(i),i>0,!1)),o.join("")}function xv(e,t,n){let r=0,i=e.length;if(t){let o=e.codePointAt(r);for(;o===vv||o===bv;)r++,o=e.codePointAt(r)}if(n){let o=e.codePointAt(i-1);for(;o===vv||o===bv;)i--,o=e.codePointAt(i-1)}return i>r?e.slice(r,i):""}function YB(e,t){const n={type:"text",value:KB(String(t.value))};return e.patch(t,n),e.applyData(t,n)}function XB(e,t){const n={type:"element",tagName:"hr",properties:{},children:[]};return e.patch(t,n),e.applyData(t,n)}const JB={blockquote:EB,break:PB,code:AB,delete:jB,emphasis:IB,footnoteReference:MB,heading:DB,html:OB,imageReference:FB,image:zB,inlineCode:LB,linkReference:$B,link:BB,listItem:RB,list:VB,paragraph:WB,root:HB,strong:UB,table:qB,tableCell:ZB,tableRow:GB,text:YB,thematicBreak:XB,toml:kc,yaml:kc,definition:kc,footnoteDefinition:kc};function kc(){}const Cv=-1,Sc=0,Ms=1,Tc=2,Rp=3,Np=4,Vp=5,Wp=6,wv=7,kv=8,Sv=typeof self=="object"?self:globalThis,QB=(e,t)=>{const n=(i,o)=>(e.set(o,i),i),r=i=>{if(e.has(i))return e.get(i);const[o,a]=t[i];switch(o){case Sc:case Cv:return n(a,i);case Ms:{const s=n([],i);for(const l of a)s.push(r(l));return s}case Tc:{const s=n({},i);for(const[l,c]of a)s[r(l)]=r(c);return s}case Rp:return n(new Date(a),i);case Np:{const{source:s,flags:l}=a;return n(new RegExp(s,l),i)}case Vp:{const s=n(new Map,i);for(const[l,c]of a)s.set(r(l),r(c));return s}case Wp:{const s=n(new Set,i);for(const l of a)s.add(r(l));return s}case wv:{const{name:s,message:l}=a;return n(new Sv[s](l),i)}case kv:return n(BigInt(a),i);case"BigInt":return n(Object(BigInt(a)),i);case"ArrayBuffer":return n(new Uint8Array(a).buffer,a);case"DataView":{const{buffer:s}=new Uint8Array(a);return n(new DataView(s),a)}}return n(new Sv[o](a),i)};return r},Tv=e=>QB(new Map,e)(0),Xo="",{toString:eR}={},{keys:tR}=Object,Ds=e=>{const t=typeof e;if(t!=="object"||!e)return[Sc,t];const n=eR.call(e).slice(8,-1);switch(n){case"Array":return[Ms,Xo];case"Object":return[Tc,Xo];case"Date":return[Rp,Xo];case"RegExp":return[Np,Xo];case"Map":return[Vp,Xo];case"Set":return[Wp,Xo];case"DataView":return[Ms,n]}return n.includes("Array")?[Ms,n]:n.includes("Error")?[wv,n]:[Tc,n]},_c=([e,t])=>e===Sc&&(t==="function"||t==="symbol"),nR=(e,t,n,r)=>{const i=(a,s)=>{const l=r.push(a)-1;return n.set(s,l),l},o=a=>{if(n.has(a))return n.get(a);let[s,l]=Ds(a);switch(s){case Sc:{let u=a;switch(l){case"bigint":s=kv,u=a.toString();break;case"function":case"symbol":if(e)throw new TypeError("unable to serialize "+l);u=null;break;case"undefined":return i([Cv],a)}return i([s,u],a)}case Ms:{if(l){let f=a;return l==="DataView"?f=new Uint8Array(a.buffer):l==="ArrayBuffer"&&(f=new Uint8Array(a)),i([l,[...f]],a)}const u=[],d=i([s,u],a);for(const f of a)u.push(o(f));return d}case Tc:{if(l)switch(l){case"BigInt":return i([l,a.toString()],a);case"Boolean":case"Number":case"String":return i([l,a.valueOf()],a)}if(t&&"toJSON"in a)return o(a.toJSON());const u=[],d=i([s,u],a);for(const f of tR(a))(e||!_c(Ds(a[f])))&&u.push([o(f),o(a[f])]);return d}case Rp:return i([s,a.toISOString()],a);case Np:{const{source:u,flags:d}=a;return i([s,{source:u,flags:d}],a)}case Vp:{const u=[],d=i([s,u],a);for(const[f,p]of a)(e||!(_c(Ds(f))||_c(Ds(p))))&&u.push([o(f),o(p)]);return d}case Wp:{const u=[],d=i([s,u],a);for(const f of a)(e||!_c(Ds(f)))&&u.push(o(f));return d}}const{message:c}=a;return i([s,{name:l,message:c}],a)};return o},_v=(e,{json:t,lossy:n}={})=>{const r=[];return nR(!(t||n),!!t,new Map,r)(e),r},Ec=typeof structuredClone=="function"?(e,t)=>t&&("json"in t||"lossy"in t)?Tv(_v(e,t)):structuredClone(e):(e,t)=>Tv(_v(e,t));function rR(e,t){const n=[{type:"text",value:"↩"}];return t>1&&n.push({type:"element",tagName:"sup",properties:{},children:[{type:"text",value:String(t)}]}),n}function iR(e,t){return"Back to reference "+(e+1)+(t>1?"-"+t:"")}function oR(e){const t=typeof e.options.clobberPrefix=="string"?e.options.clobberPrefix:"user-content-",n=e.options.footnoteBackContent||rR,r=e.options.footnoteBackLabel||iR,i=e.options.footnoteLabel||"Footnotes",o=e.options.footnoteLabelTagName||"h2",a=e.options.footnoteLabelProperties||{className:["sr-only"]},s=[];let l=-1;for(;++l<e.footnoteOrder.length;){const c=e.footnoteById.get(e.footnoteOrder[l]);if(!c)continue;const u=e.all(c),d=String(c.identifier).toUpperCase(),f=Ko(d.toLowerCase());let p=0;const m=[],g=e.footnoteCounts.get(d);for(;g!==void 0&&++p<=g;){m.length>0&&m.push({type:"text",value:" "});let x=typeof n=="string"?n:n(l,p);typeof x=="string"&&(x={type:"text",value:x}),m.push({type:"element",tagName:"a",properties:{href:"#"+t+"fnref-"+f+(p>1?"-"+p:""),dataFootnoteBackref:"",ariaLabel:typeof r=="string"?r:r(l,p),className:["data-footnote-backref"]},children:Array.isArray(x)?x:[x]})}const y=u[u.length-1];if(y&&y.type==="element"&&y.tagName==="p"){const x=y.children[y.children.length-1];x&&x.type==="text"?x.value+=" ":y.children.push({type:"text",value:" "}),y.children.push(...m)}else u.push(...m);const v={type:"element",tagName:"li",properties:{id:t+"fn-"+f},children:e.wrap(u,!0)};e.patch(c,v),s.push(v)}if(s.length!==0)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:o,properties:{...Ec(a),id:"footnote-label"},children:[{type:"text",value:i}]},{type:"text",value:`
|
|
408
|
+
`},{type:"element",tagName:"ol",properties:{},children:e.wrap(s,!0)},{type:"text",value:`
|
|
409
|
+
`}]}}const Pc=function(e){if(e==null)return cR;if(typeof e=="function")return Ac(e);if(typeof e=="object")return Array.isArray(e)?aR(e):sR(e);if(typeof e=="string")return lR(e);throw new Error("Expected function, string, or object as test")};function aR(e){const t=[];let n=-1;for(;++n<e.length;)t[n]=Pc(e[n]);return Ac(r);function r(...i){let o=-1;for(;++o<t.length;)if(t[o].apply(this,i))return!0;return!1}}function sR(e){const t=e;return Ac(n);function n(r){const i=r;let o;for(o in e)if(i[o]!==t[o])return!1;return!0}}function lR(e){return Ac(t);function t(n){return n&&n.type===e}}function Ac(e){return t;function t(n,r,i){return!!(uR(n)&&e.call(this,n,typeof r=="number"?r:void 0,i||void 0))}}function cR(){return!0}function uR(e){return e!==null&&typeof e=="object"&&"type"in e}function wU(e){return e}const Ev=[],dR=!0,Hp=!1,fR="skip";function Pv(e,t,n,r){let i;typeof t=="function"&&typeof n!="function"?(r=n,n=t):i=t;const o=Pc(i),a=r?-1:1;s(e,void 0,[])();function s(l,c,u){const d=l&&typeof l=="object"?l:{};if(typeof d.type=="string"){const p=typeof d.tagName=="string"?d.tagName:typeof d.name=="string"?d.name:void 0;Object.defineProperty(f,"name",{value:"node ("+(l.type+(p?"<"+p+">":""))+")"})}return f;function f(){let p=Ev,m,g,y;if((!t||o(l,c,u[u.length-1]||void 0))&&(p=pR(n(l,u)),p[0]===Hp))return p;if("children"in l&&l.children){const v=l;if(v.children&&p[0]!==fR)for(g=(r?v.children.length:-1)+a,y=u.concat(v);g>-1&&g<v.children.length;){const x=v.children[g];if(m=s(x,g,y)(),m[0]===Hp)return m;g=typeof m[1]=="number"?m[1]:g+a}}return p}}}function pR(e){return Array.isArray(e)?e:typeof e=="number"?[dR,e]:e==null?Ev:[e]}function Up(e,t,n,r){let i,o,a;typeof t=="function"?(o=void 0,a=t,i=n):(o=t,a=n,i=r),Pv(e,o,s,i);function s(l,c){const u=c[c.length-1],d=u?u.children.indexOf(l):void 0;return a(l,d,u)}}const qp={}.hasOwnProperty,hR={};function mR(e,t){const n=t||hR,r=new Map,i=new Map,o=new Map,a={...JB,...n.handlers},s={all:c,applyData:yR,definitionById:r,footnoteById:i,footnoteCounts:o,footnoteOrder:[],handlers:a,one:l,options:n,patch:gR,wrap:bR};return Up(e,function(u){if(u.type==="definition"||u.type==="footnoteDefinition"){const d=u.type==="definition"?r:i,f=String(u.identifier).toUpperCase();d.has(f)||d.set(f,u)}}),s;function l(u,d){const f=u.type,p=s.handlers[f];if(qp.call(s.handlers,f)&&p)return p(s,u,d);if(s.options.passThrough&&s.options.passThrough.includes(f)){if("children"in u){const{children:g,...y}=u,v=Ec(y);return v.children=s.all(u),v}return Ec(u)}return(s.options.unknownHandler||vR)(s,u,d)}function c(u){const d=[];if("children"in u){const f=u.children;let p=-1;for(;++p<f.length;){const m=s.one(f[p],u);if(m){if(p&&f[p-1].type==="break"&&(!Array.isArray(m)&&m.type==="text"&&(m.value=Av(m.value)),!Array.isArray(m)&&m.type==="element")){const g=m.children[0];g&&g.type==="text"&&(g.value=Av(g.value))}Array.isArray(m)?d.push(...m):d.push(m)}}}return d}}function gR(e,t){e.position&&(t.position=dL(e))}function yR(e,t){let n=t;if(e&&e.data){const r=e.data.hName,i=e.data.hChildren,o=e.data.hProperties;if(typeof r=="string")if(n.type==="element")n.tagName=r;else{const a="children"in n?n.children:[n];n={type:"element",tagName:r,properties:{},children:a}}n.type==="element"&&o&&Object.assign(n.properties,Ec(o)),"children"in n&&n.children&&i!==null&&i!==void 0&&(n.children=i)}return n}function vR(e,t){const n=t.data||{},r="value"in t&&!(qp.call(n,"hProperties")||qp.call(n,"hChildren"))?{type:"text",value:t.value}:{type:"element",tagName:"div",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function bR(e,t){const n=[];let r=-1;for(t&&n.push({type:"text",value:`
|
|
410
|
+
`});++r<e.length;)r&&n.push({type:"text",value:`
|
|
411
|
+
`}),n.push(e[r]);return t&&e.length>0&&n.push({type:"text",value:`
|
|
412
|
+
`}),n}function Av(e){let t=0,n=e.charCodeAt(t);for(;n===9||n===32;)t++,n=e.charCodeAt(t);return e.slice(t)}function jv(e,t){const n=mR(e,t),r=n.one(e,void 0),i=oR(n),o=Array.isArray(r)?{type:"root",children:r}:r||{type:"root",children:[]};return i&&o.children.push({type:"text",value:`
|
|
413
|
+
`},i),o}function xR(e,t){return e&&"run"in e?async function(n,r){const i=jv(n,{file:r,...t});await e.run(i,r)}:function(n,r){return jv(n,{file:r,...e||t})}}function Iv(e){if(e)throw e}var jc=Object.prototype.hasOwnProperty,Mv=Object.prototype.toString,Dv=Object.defineProperty,Ov=Object.getOwnPropertyDescriptor,Fv=function(t){return typeof Array.isArray=="function"?Array.isArray(t):Mv.call(t)==="[object Array]"},zv=function(t){if(!t||Mv.call(t)!=="[object Object]")return!1;var n=jc.call(t,"constructor"),r=t.constructor&&t.constructor.prototype&&jc.call(t.constructor.prototype,"isPrototypeOf");if(t.constructor&&!n&&!r)return!1;var i;for(i in t);return typeof i>"u"||jc.call(t,i)},Lv=function(t,n){Dv&&n.name==="__proto__"?Dv(t,n.name,{enumerable:!0,configurable:!0,value:n.newValue,writable:!0}):t[n.name]=n.newValue},$v=function(t,n){if(n==="__proto__")if(jc.call(t,n)){if(Ov)return Ov(t,n).value}else return;return t[n]},CR=function e(){var t,n,r,i,o,a,s=arguments[0],l=1,c=arguments.length,u=!1;for(typeof s=="boolean"&&(u=s,s=arguments[1]||{},l=2),(s==null||typeof s!="object"&&typeof s!="function")&&(s={});l<c;++l)if(t=arguments[l],t!=null)for(n in t)r=$v(s,n),i=$v(t,n),s!==i&&(u&&i&&(zv(i)||(o=Fv(i)))?(o?(o=!1,a=r&&Fv(r)?r:[]):a=r&&zv(r)?r:{},Lv(s,{name:n,newValue:e(u,a,i)})):typeof i<"u"&&Lv(s,{name:n,newValue:i}));return s};const Gp=sa(CR);function Zp(e){if(typeof e!="object"||e===null)return!1;const t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function wR(){const e=[],t={run:n,use:r};return t;function n(...i){let o=-1;const a=i.pop();if(typeof a!="function")throw new TypeError("Expected function as last argument, not "+a);s(null,...i);function s(l,...c){const u=e[++o];let d=-1;if(l){a(l);return}for(;++d<i.length;)(c[d]===null||c[d]===void 0)&&(c[d]=i[d]);i=c,u?kR(u,s)(...c):a(null,...c)}}function r(i){if(typeof i!="function")throw new TypeError("Expected `middelware` to be a function, not "+i);return e.push(i),t}}function kR(e,t){let n;return r;function r(...a){const s=e.length>a.length;let l;s&&a.push(i);try{l=e.apply(this,a)}catch(c){const u=c;if(s&&n)throw u;return i(u)}s||(l&&l.then&&typeof l.then=="function"?l.then(o,i):l instanceof Error?i(l):o(l))}function i(a,...s){n||(n=!0,t(a,...s))}function o(a){i(null,a)}}const Pr={basename:SR,dirname:TR,extname:_R,join:ER,sep:"/"};function SR(e,t){if(t!==void 0&&typeof t!="string")throw new TypeError('"ext" argument must be a string');Os(e);let n=0,r=-1,i=e.length,o;if(t===void 0||t.length===0||t.length>e.length){for(;i--;)if(e.codePointAt(i)===47){if(o){n=i+1;break}}else r<0&&(o=!0,r=i+1);return r<0?"":e.slice(n,r)}if(t===e)return"";let a=-1,s=t.length-1;for(;i--;)if(e.codePointAt(i)===47){if(o){n=i+1;break}}else a<0&&(o=!0,a=i+1),s>-1&&(e.codePointAt(i)===t.codePointAt(s--)?s<0&&(r=i):(s=-1,r=a));return n===r?r=a:r<0&&(r=e.length),e.slice(n,r)}function TR(e){if(Os(e),e.length===0)return".";let t=-1,n=e.length,r;for(;--n;)if(e.codePointAt(n)===47){if(r){t=n;break}}else r||(r=!0);return t<0?e.codePointAt(0)===47?"/":".":t===1&&e.codePointAt(0)===47?"//":e.slice(0,t)}function _R(e){Os(e);let t=e.length,n=-1,r=0,i=-1,o=0,a;for(;t--;){const s=e.codePointAt(t);if(s===47){if(a){r=t+1;break}continue}n<0&&(a=!0,n=t+1),s===46?i<0?i=t:o!==1&&(o=1):i>-1&&(o=-1)}return i<0||n<0||o===0||o===1&&i===n-1&&i===r+1?"":e.slice(i,n)}function ER(...e){let t=-1,n;for(;++t<e.length;)Os(e[t]),e[t]&&(n=n===void 0?e[t]:n+"/"+e[t]);return n===void 0?".":PR(n)}function PR(e){Os(e);const t=e.codePointAt(0)===47;let n=AR(e,!t);return n.length===0&&!t&&(n="."),n.length>0&&e.codePointAt(e.length-1)===47&&(n+="/"),t?"/"+n:n}function AR(e,t){let n="",r=0,i=-1,o=0,a=-1,s,l;for(;++a<=e.length;){if(a<e.length)s=e.codePointAt(a);else{if(s===47)break;s=47}if(s===47){if(!(i===a-1||o===1))if(i!==a-1&&o===2){if(n.length<2||r!==2||n.codePointAt(n.length-1)!==46||n.codePointAt(n.length-2)!==46){if(n.length>2){if(l=n.lastIndexOf("/"),l!==n.length-1){l<0?(n="",r=0):(n=n.slice(0,l),r=n.length-1-n.lastIndexOf("/")),i=a,o=0;continue}}else if(n.length>0){n="",r=0,i=a,o=0;continue}}t&&(n=n.length>0?n+"/..":"..",r=2)}else n.length>0?n+="/"+e.slice(i+1,a):n=e.slice(i+1,a),r=a-i-1;i=a,o=0}else s===46&&o>-1?o++:o=-1}return n}function Os(e){if(typeof e!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}const jR={cwd:IR};function IR(){return"/"}function Kp(e){return!!(e!==null&&typeof e=="object"&&"href"in e&&e.href&&"protocol"in e&&e.protocol&&e.auth===void 0)}function MR(e){if(typeof e=="string")e=new URL(e);else if(!Kp(e)){const t=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+e+"`");throw t.code="ERR_INVALID_ARG_TYPE",t}if(e.protocol!=="file:"){const t=new TypeError("The URL must be of scheme file");throw t.code="ERR_INVALID_URL_SCHEME",t}return DR(e)}function DR(e){if(e.hostname!==""){const r=new TypeError('File URL host must be "localhost" or empty on darwin');throw r.code="ERR_INVALID_FILE_URL_HOST",r}const t=e.pathname;let n=-1;for(;++n<t.length;)if(t.codePointAt(n)===37&&t.codePointAt(n+1)===50){const r=t.codePointAt(n+2);if(r===70||r===102){const i=new TypeError("File URL path must not include encoded / characters");throw i.code="ERR_INVALID_FILE_URL_PATH",i}}return decodeURIComponent(t)}const Yp=["history","path","basename","stem","extname","dirname"];class Bv{constructor(t){let n;t?Kp(t)?n={path:t}:typeof t=="string"||OR(t)?n={value:t}:n=t:n={},this.cwd="cwd"in n?"":jR.cwd(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let r=-1;for(;++r<Yp.length;){const o=Yp[r];o in n&&n[o]!==void 0&&n[o]!==null&&(this[o]=o==="history"?[...n[o]]:n[o])}let i;for(i in n)Yp.includes(i)||(this[i]=n[i])}get basename(){return typeof this.path=="string"?Pr.basename(this.path):void 0}set basename(t){Jp(t,"basename"),Xp(t,"basename"),this.path=Pr.join(this.dirname||"",t)}get dirname(){return typeof this.path=="string"?Pr.dirname(this.path):void 0}set dirname(t){Rv(this.basename,"dirname"),this.path=Pr.join(t||"",this.basename)}get extname(){return typeof this.path=="string"?Pr.extname(this.path):void 0}set extname(t){if(Xp(t,"extname"),Rv(this.dirname,"extname"),t){if(t.codePointAt(0)!==46)throw new Error("`extname` must start with `.`");if(t.includes(".",1))throw new Error("`extname` cannot contain multiple dots")}this.path=Pr.join(this.dirname,this.stem+(t||""))}get path(){return this.history[this.history.length-1]}set path(t){Kp(t)&&(t=MR(t)),Jp(t,"path"),this.path!==t&&this.history.push(t)}get stem(){return typeof this.path=="string"?Pr.basename(this.path,this.extname):void 0}set stem(t){Jp(t,"stem"),Xp(t,"stem"),this.path=Pr.join(this.dirname||"",t+(this.extname||""))}fail(t,n,r){const i=this.message(t,n,r);throw i.fatal=!0,i}info(t,n,r){const i=this.message(t,n,r);return i.fatal=void 0,i}message(t,n,r){const i=new ln(t,n,r);return this.path&&(i.name=this.path+":"+i.name,i.file=this.path),i.fatal=!1,this.messages.push(i),i}toString(t){return this.value===void 0?"":typeof this.value=="string"?this.value:new TextDecoder(t||void 0).decode(this.value)}}function Xp(e,t){if(e&&e.includes(Pr.sep))throw new Error("`"+t+"` cannot be a path: did not expect `"+Pr.sep+"`")}function Jp(e,t){if(!e)throw new Error("`"+t+"` cannot be empty")}function Rv(e,t){if(!e)throw new Error("Setting `"+t+"` requires `path` to be set too")}function OR(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}const FR=function(e){const r=this.constructor.prototype,i=r[e],o=function(){return i.apply(o,arguments)};return Object.setPrototypeOf(o,r),o},zR={}.hasOwnProperty;class Qp extends FR{constructor(){super("copy"),this.Compiler=void 0,this.Parser=void 0,this.attachers=[],this.compiler=void 0,this.freezeIndex=-1,this.frozen=void 0,this.namespace={},this.parser=void 0,this.transformers=wR()}copy(){const t=new Qp;let n=-1;for(;++n<this.attachers.length;){const r=this.attachers[n];t.use(...r)}return t.data(Gp(!0,{},this.namespace)),t}data(t,n){return typeof t=="string"?arguments.length===2?(n1("data",this.frozen),this.namespace[t]=n,this):zR.call(this.namespace,t)&&this.namespace[t]||void 0:t?(n1("data",this.frozen),this.namespace=t,this):this.namespace}freeze(){if(this.frozen)return this;const t=this;for(;++this.freezeIndex<this.attachers.length;){const[n,...r]=this.attachers[this.freezeIndex];if(r[0]===!1)continue;r[0]===!0&&(r[0]=void 0);const i=n.call(t,...r);typeof i=="function"&&this.transformers.use(i)}return this.frozen=!0,this.freezeIndex=Number.POSITIVE_INFINITY,this}parse(t){this.freeze();const n=Ic(t),r=this.parser||this.Parser;return e1("parse",r),r(String(n),n)}process(t,n){const r=this;return this.freeze(),e1("process",this.parser||this.Parser),t1("process",this.compiler||this.Compiler),n?i(void 0,n):new Promise(i);function i(o,a){const s=Ic(t),l=r.parse(s);r.run(l,s,function(u,d,f){if(u||!d||!f)return c(u);const p=d,m=r.stringify(p,f);BR(m)?f.value=m:f.result=m,c(u,f)});function c(u,d){u||!d?a(u):o?o(d):n(void 0,d)}}}processSync(t){let n=!1,r;return this.freeze(),e1("processSync",this.parser||this.Parser),t1("processSync",this.compiler||this.Compiler),this.process(t,i),Vv("processSync","process",n),r;function i(o,a){n=!0,Iv(o),r=a}}run(t,n,r){Nv(t),this.freeze();const i=this.transformers;return!r&&typeof n=="function"&&(r=n,n=void 0),r?o(void 0,r):new Promise(o);function o(a,s){const l=Ic(n);i.run(t,l,c);function c(u,d,f){const p=d||t;u?s(u):a?a(p):r(void 0,p,f)}}}runSync(t,n){let r=!1,i;return this.run(t,n,o),Vv("runSync","run",r),i;function o(a,s){Iv(a),i=s,r=!0}}stringify(t,n){this.freeze();const r=Ic(n),i=this.compiler||this.Compiler;return t1("stringify",i),Nv(t),i(t,r)}use(t,...n){const r=this.attachers,i=this.namespace;if(n1("use",this.frozen),t!=null)if(typeof t=="function")l(t,n);else if(typeof t=="object")Array.isArray(t)?s(t):a(t);else throw new TypeError("Expected usable value, not `"+t+"`");return this;function o(c){if(typeof c=="function")l(c,[]);else if(typeof c=="object")if(Array.isArray(c)){const[u,...d]=c;l(u,d)}else a(c);else throw new TypeError("Expected usable value, not `"+c+"`")}function a(c){if(!("plugins"in c)&&!("settings"in c))throw new Error("Expected usable value but received an empty preset, which is probably a mistake: presets typically come with `plugins` and sometimes with `settings`, but this has neither");s(c.plugins),c.settings&&(i.settings=Gp(!0,i.settings,c.settings))}function s(c){let u=-1;if(c!=null)if(Array.isArray(c))for(;++u<c.length;){const d=c[u];o(d)}else throw new TypeError("Expected a list of plugins, not `"+c+"`")}function l(c,u){let d=-1,f=-1;for(;++d<r.length;)if(r[d][0]===c){f=d;break}if(f===-1)r.push([c,...u]);else if(u.length>0){let[p,...m]=u;const g=r[f][1];Zp(g)&&Zp(p)&&(p=Gp(!0,g,p)),r[f]=[c,p,...m]}}}}const LR=new Qp().freeze();function e1(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `parser`")}function t1(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `compiler`")}function n1(e,t){if(t)throw new Error("Cannot call `"+e+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function Nv(e){if(!Zp(e)||typeof e.type!="string")throw new TypeError("Expected node, got `"+e+"`")}function Vv(e,t,n){if(!n)throw new Error("`"+e+"` finished async. Use `"+t+"` instead")}function Ic(e){return $R(e)?e:new Bv(e)}function $R(e){return!!(e&&typeof e=="object"&&"message"in e&&"messages"in e)}function BR(e){return typeof e=="string"||RR(e)}function RR(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}const NR="https://github.com/remarkjs/react-markdown/blob/main/changelog.md",Wv=[],Hv={allowDangerousHtml:!0},VR=/^(https?|ircs?|mailto|xmpp)$/i,WR=[{from:"astPlugins",id:"remove-buggy-html-in-markdown-parser"},{from:"allowDangerousHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"allowNode",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowElement"},{from:"allowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowedElements"},{from:"className",id:"remove-classname"},{from:"disallowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"disallowedElements"},{from:"escapeHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"includeElementIndex",id:"#remove-includeelementindex"},{from:"includeNodeIndex",id:"change-includenodeindex-to-includeelementindex"},{from:"linkTarget",id:"remove-linktarget"},{from:"plugins",id:"change-plugins-to-remarkplugins",to:"remarkPlugins"},{from:"rawSourcePos",id:"#remove-rawsourcepos"},{from:"renderers",id:"change-renderers-to-components",to:"components"},{from:"source",id:"change-source-to-children",to:"children"},{from:"sourcePos",id:"#remove-sourcepos"},{from:"transformImageUri",id:"#add-urltransform",to:"urlTransform"},{from:"transformLinkUri",id:"#add-urltransform",to:"urlTransform"}];function HR(e){const t=UR(e),n=qR(e);return GR(t.runSync(t.parse(n),n),e)}function UR(e){const t=e.rehypePlugins||Wv,n=e.remarkPlugins||Wv,r=e.remarkRehypeOptions?{...e.remarkRehypeOptions,...Hv}:Hv;return LR().use(_B).use(n).use(xR,r).use(t)}function qR(e){const t=e.children||"",n=new Bv;return typeof t=="string"&&(n.value=t),n}function GR(e,t){const n=t.allowedElements,r=t.allowElement,i=t.components,o=t.disallowedElements,a=t.skipHtml,s=t.unwrapDisallowed,l=t.urlTransform||ZR;for(const u of WR)Object.hasOwn(t,u.from)&&(""+u.from+(u.to?"use `"+u.to+"` instead":"remove it")+NR+u.id,void 0);return Up(e,c),yL(e,{Fragment:h.Fragment,components:i,ignoreInvalidStyle:!0,jsx:h.jsx,jsxs:h.jsxs,passKeys:!0,passNode:!0});function c(u,d,f){if(u.type==="raw"&&f&&typeof d=="number")return a?f.children.splice(d,1):f.children[d]={type:"text",value:u.value},d;if(u.type==="element"){let p;for(p in Mp)if(Object.hasOwn(Mp,p)&&Object.hasOwn(u.properties,p)){const m=u.properties[p],g=Mp[p];(g===null||g.includes(u.tagName))&&(u.properties[p]=l(String(m||""),p,u))}}if(u.type==="element"){let p=n?!n.includes(u.tagName):o?o.includes(u.tagName):!1;if(!p&&r&&typeof d=="number"&&(p=!r(u,d,f)),p&&f&&typeof d=="number")return s&&u.children?f.children.splice(d,1,...u.children):f.children.splice(d,1),d}}}function ZR(e){const t=e.indexOf(":"),n=e.indexOf("?"),r=e.indexOf("#"),i=e.indexOf("/");return t===-1||i!==-1&&t>i||n!==-1&&t>n||r!==-1&&t>r||VR.test(e.slice(0,t))?e:""}function Uv(e,t){const n=String(e);if(typeof t!="string")throw new TypeError("Expected character");let r=0,i=n.indexOf(t);for(;i!==-1;)r++,i=n.indexOf(t,i+t.length);return r}function KR(e){if(typeof e!="string")throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}function YR(e,t,n){const i=Pc((n||{}).ignore||[]),o=XR(t);let a=-1;for(;++a<o.length;)Pv(e,"text",s);function s(c,u){let d=-1,f;for(;++d<u.length;){const p=u[d],m=f?f.children:void 0;if(i(p,m?m.indexOf(p):void 0,f))return;f=p}if(f)return l(c,u)}function l(c,u){const d=u[u.length-1],f=o[a][0],p=o[a][1];let m=0;const y=d.children.indexOf(c);let v=!1,x=[];f.lastIndex=0;let w=f.exec(c.value);for(;w;){const E=w.index,k={index:w.index,input:w.input,stack:[...u,c]};let T=p(...w,k);if(typeof T=="string"&&(T=T.length>0?{type:"text",value:T}:void 0),T===!1?f.lastIndex=E+1:(m!==E&&x.push({type:"text",value:c.value.slice(m,E)}),Array.isArray(T)?x.push(...T):T&&x.push(T),m=E+w[0].length,v=!0),!f.global)break;w=f.exec(c.value)}return v?(m<c.value.length&&x.push({type:"text",value:c.value.slice(m)}),d.children.splice(y,1,...x)):x=[c],y+x.length}}function XR(e){const t=[];if(!Array.isArray(e))throw new TypeError("Expected find and replace tuple or list of tuples");const n=!e[0]||Array.isArray(e[0])?e:[e];let r=-1;for(;++r<n.length;){const i=n[r];t.push([JR(i[0]),QR(i[1])])}return t}function JR(e){return typeof e=="string"?new RegExp(KR(e),"g"):e}function QR(e){return typeof e=="function"?e:function(){return e}}const r1="phrasing",i1=["autolink","link","image","label"];function eN(){return{transforms:[sN],enter:{literalAutolink:nN,literalAutolinkEmail:o1,literalAutolinkHttp:o1,literalAutolinkWww:o1},exit:{literalAutolink:aN,literalAutolinkEmail:oN,literalAutolinkHttp:rN,literalAutolinkWww:iN}}}function tN(){return{unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:r1,notInConstruct:i1},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct:r1,notInConstruct:i1},{character:":",before:"[ps]",after:"\\/",inConstruct:r1,notInConstruct:i1}]}}function nN(e){this.enter({type:"link",title:null,url:"",children:[]},e)}function o1(e){this.config.enter.autolinkProtocol.call(this,e)}function rN(e){this.config.exit.autolinkProtocol.call(this,e)}function iN(e){this.config.exit.data.call(this,e);const t=this.stack[this.stack.length-1];t.type,t.url="http://"+this.sliceSerialize(e)}function oN(e){this.config.exit.autolinkEmail.call(this,e)}function aN(e){this.exit(e)}function sN(e){YR(e,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,lN],[new RegExp("(?<=^|\\s|\\p{P}|\\p{S})([-.\\w+]+)@([-\\w]+(?:\\.[-\\w]+)+)","gu"),cN]],{ignore:["link","linkReference"]})}function lN(e,t,n,r,i){let o="";if(!qv(i)||(/^w/i.test(t)&&(n=t+n,t="",o="http://"),!uN(n)))return!1;const a=dN(n+r);if(!a[0])return!1;const s={type:"link",title:null,url:o+t+a[0],children:[{type:"text",value:t+a[0]}]};return a[1]?[s,{type:"text",value:a[1]}]:s}function cN(e,t,n,r){return!qv(r,!0)||/[-\d_]$/.test(n)?!1:{type:"link",title:null,url:"mailto:"+t+"@"+n,children:[{type:"text",value:t+"@"+n}]}}function uN(e){const t=e.split(".");return!(t.length<2||t[t.length-1]&&(/_/.test(t[t.length-1])||!/[a-zA-Z\d]/.test(t[t.length-1]))||t[t.length-2]&&(/_/.test(t[t.length-2])||!/[a-zA-Z\d]/.test(t[t.length-2])))}function dN(e){const t=/[!"&'),.:;<>?\]}]+$/.exec(e);if(!t)return[e,void 0];e=e.slice(0,t.index);let n=t[0],r=n.indexOf(")");const i=Uv(e,"(");let o=Uv(e,")");for(;r!==-1&&i>o;)e+=n.slice(0,r+1),n=n.slice(r+1),r=n.indexOf(")"),o++;return[e,n]}function qv(e,t){const n=e.input.charCodeAt(e.index-1);return(e.index===0||Wi(n)||xc(n))&&(!t||n!==47)}Gv.peek=xN;function fN(){this.buffer()}function pN(e){this.enter({type:"footnoteReference",identifier:"",label:""},e)}function hN(){this.buffer()}function mN(e){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},e)}function gN(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.type,n.identifier=tr(this.sliceSerialize(e)).toLowerCase(),n.label=t}function yN(e){this.exit(e)}function vN(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.type,n.identifier=tr(this.sliceSerialize(e)).toLowerCase(),n.label=t}function bN(e){this.exit(e)}function xN(){return"["}function Gv(e,t,n,r){const i=n.createTracker(r);let o=i.move("[^");const a=n.enter("footnoteReference"),s=n.enter("reference");return o+=i.move(n.safe(n.associationId(e),{after:"]",before:o})),s(),a(),o+=i.move("]"),o}function CN(){return{enter:{gfmFootnoteCallString:fN,gfmFootnoteCall:pN,gfmFootnoteDefinitionLabelString:hN,gfmFootnoteDefinition:mN},exit:{gfmFootnoteCallString:gN,gfmFootnoteCall:yN,gfmFootnoteDefinitionLabelString:vN,gfmFootnoteDefinition:bN}}}function wN(e){let t=!1;return e&&e.firstLineBlank&&(t=!0),{handlers:{footnoteDefinition:n,footnoteReference:Gv},unsafe:[{character:"[",inConstruct:["label","phrasing","reference"]}]};function n(r,i,o,a){const s=o.createTracker(a);let l=s.move("[^");const c=o.enter("footnoteDefinition"),u=o.enter("label");return l+=s.move(o.safe(o.associationId(r),{before:l,after:"]"})),u(),l+=s.move("]:"),r.children&&r.children.length>0&&(s.shift(4),l+=s.move((t?`
|
|
414
|
+
`:" ")+o.indentLines(o.containerFlow(r,s.current()),t?Zv:kN))),c(),l}}function kN(e,t,n){return t===0?e:Zv(e,t,n)}function Zv(e,t,n){return(n?"":" ")+e}const SN=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"];Kv.peek=AN;function TN(){return{canContainEols:["delete"],enter:{strikethrough:EN},exit:{strikethrough:PN}}}function _N(){return{unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:SN}],handlers:{delete:Kv}}}function EN(e){this.enter({type:"delete",children:[]},e)}function PN(e){this.exit(e)}function Kv(e,t,n,r){const i=n.createTracker(r),o=n.enter("strikethrough");let a=i.move("~~");return a+=n.containerPhrasing(e,{...i.current(),before:a,after:"~"}),a+=i.move("~~"),o(),a}function AN(){return"~"}function jN(e){return e.length}function IN(e,t){const n=t||{},r=(n.align||[]).concat(),i=n.stringLength||jN,o=[],a=[],s=[],l=[];let c=0,u=-1;for(;++u<e.length;){const g=[],y=[];let v=-1;for(e[u].length>c&&(c=e[u].length);++v<e[u].length;){const x=MN(e[u][v]);if(n.alignDelimiters!==!1){const w=i(x);y[v]=w,(l[v]===void 0||w>l[v])&&(l[v]=w)}g.push(x)}a[u]=g,s[u]=y}let d=-1;if(typeof r=="object"&&"length"in r)for(;++d<c;)o[d]=Yv(r[d]);else{const g=Yv(r);for(;++d<c;)o[d]=g}d=-1;const f=[],p=[];for(;++d<c;){const g=o[d];let y="",v="";g===99?(y=":",v=":"):g===108?y=":":g===114&&(v=":");let x=n.alignDelimiters===!1?1:Math.max(1,l[d]-y.length-v.length);const w=y+"-".repeat(x)+v;n.alignDelimiters!==!1&&(x=y.length+x+v.length,x>l[d]&&(l[d]=x),p[d]=x),f[d]=w}a.splice(1,0,f),s.splice(1,0,p),u=-1;const m=[];for(;++u<a.length;){const g=a[u],y=s[u];d=-1;const v=[];for(;++d<c;){const x=g[d]||"";let w="",E="";if(n.alignDelimiters!==!1){const k=l[d]-(y[d]||0),T=o[d];T===114?w=" ".repeat(k):T===99?k%2?(w=" ".repeat(k/2+.5),E=" ".repeat(k/2-.5)):(w=" ".repeat(k/2),E=w):E=" ".repeat(k)}n.delimiterStart!==!1&&!d&&v.push("|"),n.padding!==!1&&!(n.alignDelimiters===!1&&x==="")&&(n.delimiterStart!==!1||d)&&v.push(" "),n.alignDelimiters!==!1&&v.push(w),v.push(x),n.alignDelimiters!==!1&&v.push(E),n.padding!==!1&&v.push(" "),(n.delimiterEnd!==!1||d!==c-1)&&v.push("|")}m.push(n.delimiterEnd===!1?v.join("").replace(/ +$/,""):v.join(""))}return m.join(`
|
|
415
|
+
`)}function MN(e){return e==null?"":String(e)}function Yv(e){const t=typeof e=="string"?e.codePointAt(0):0;return t===67||t===99?99:t===76||t===108?108:t===82||t===114?114:0}function DN(e,t,n,r){const i=n.enter("blockquote"),o=n.createTracker(r);o.move("> "),o.shift(2);const a=n.indentLines(n.containerFlow(e,o.current()),ON);return i(),a}function ON(e,t,n){return">"+(n?"":" ")+e}function FN(e,t){return Xv(e,t.inConstruct,!0)&&!Xv(e,t.notInConstruct,!1)}function Xv(e,t,n){if(typeof t=="string"&&(t=[t]),!t||t.length===0)return n;let r=-1;for(;++r<t.length;)if(e.includes(t[r]))return!0;return!1}function Jv(e,t,n,r){let i=-1;for(;++i<n.unsafe.length;)if(n.unsafe[i].character===`
|
|
416
|
+
`&&FN(n.stack,n.unsafe[i]))return/[ \t]/.test(r.before)?"":" ";return`\\
|
|
417
|
+
`}function zN(e,t){const n=String(e);let r=n.indexOf(t),i=r,o=0,a=0;if(typeof t!="string")throw new TypeError("Expected substring");for(;r!==-1;)r===i?++o>a&&(a=o):o=1,i=r+t.length,r=n.indexOf(t,i);return a}function LN(e,t){return!!(t.options.fences===!1&&e.value&&!e.lang&&/[^ \r\n]/.test(e.value)&&!/^[\t ]*(?:[\r\n]|$)|(?:^|[\r\n])[\t ]*$/.test(e.value))}function $N(e){const t=e.options.fence||"`";if(t!=="`"&&t!=="~")throw new Error("Cannot serialize code with `"+t+"` for `options.fence`, expected `` ` `` or `~`");return t}function BN(e,t,n,r){const i=$N(n),o=e.value||"",a=i==="`"?"GraveAccent":"Tilde";if(LN(e,n)){const d=n.enter("codeIndented"),f=n.indentLines(o,RN);return d(),f}const s=n.createTracker(r),l=i.repeat(Math.max(zN(o,i)+1,3)),c=n.enter("codeFenced");let u=s.move(l);if(e.lang){const d=n.enter(`codeFencedLang${a}`);u+=s.move(n.safe(e.lang,{before:u,after:" ",encode:["`"],...s.current()})),d()}if(e.lang&&e.meta){const d=n.enter(`codeFencedMeta${a}`);u+=s.move(" "),u+=s.move(n.safe(e.meta,{before:u,after:`
|
|
418
|
+
`,encode:["`"],...s.current()})),d()}return u+=s.move(`
|
|
419
|
+
`),o&&(u+=s.move(o+`
|
|
420
|
+
`)),u+=s.move(l),c(),u}function RN(e,t,n){return(n?"":" ")+e}function a1(e){const t=e.options.quote||'"';if(t!=='"'&&t!=="'")throw new Error("Cannot serialize title with `"+t+"` for `options.quote`, expected `\"`, or `'`");return t}function NN(e,t,n,r){const i=a1(n),o=i==='"'?"Quote":"Apostrophe",a=n.enter("definition");let s=n.enter("label");const l=n.createTracker(r);let c=l.move("[");return c+=l.move(n.safe(n.associationId(e),{before:c,after:"]",...l.current()})),c+=l.move("]: "),s(),!e.url||/[\0- \u007F]/.test(e.url)?(s=n.enter("destinationLiteral"),c+=l.move("<"),c+=l.move(n.safe(e.url,{before:c,after:">",...l.current()})),c+=l.move(">")):(s=n.enter("destinationRaw"),c+=l.move(n.safe(e.url,{before:c,after:e.title?" ":`
|
|
421
|
+
`,...l.current()}))),s(),e.title&&(s=n.enter(`title${o}`),c+=l.move(" "+i),c+=l.move(n.safe(e.title,{before:c,after:i,...l.current()})),c+=l.move(i),s()),a(),c}function VN(e){const t=e.options.emphasis||"*";if(t!=="*"&&t!=="_")throw new Error("Cannot serialize emphasis with `"+t+"` for `options.emphasis`, expected `*`, or `_`");return t}function Fs(e){return"&#x"+e.toString(16).toUpperCase()+";"}function Mc(e,t,n){const r=Yo(e),i=Yo(t);return r===void 0?i===void 0?n==="_"?{inside:!0,outside:!0}:{inside:!1,outside:!1}:i===1?{inside:!0,outside:!0}:{inside:!1,outside:!0}:r===1?i===void 0?{inside:!1,outside:!1}:i===1?{inside:!0,outside:!0}:{inside:!1,outside:!1}:i===void 0?{inside:!1,outside:!1}:i===1?{inside:!0,outside:!1}:{inside:!1,outside:!1}}Qv.peek=WN;function Qv(e,t,n,r){const i=VN(n),o=n.enter("emphasis"),a=n.createTracker(r),s=a.move(i);let l=a.move(n.containerPhrasing(e,{after:i,before:s,...a.current()}));const c=l.charCodeAt(0),u=Mc(r.before.charCodeAt(r.before.length-1),c,i);u.inside&&(l=Fs(c)+l.slice(1));const d=l.charCodeAt(l.length-1),f=Mc(r.after.charCodeAt(0),d,i);f.inside&&(l=l.slice(0,-1)+Fs(d));const p=a.move(i);return o(),n.attentionEncodeSurroundingInfo={after:f.outside,before:u.outside},s+l+p}function WN(e,t,n){return n.options.emphasis||"*"}function HN(e,t){let n=!1;return Up(e,function(r){if("value"in r&&/\r?\n|\r/.test(r.value)||r.type==="break")return n=!0,Hp}),!!((!e.depth||e.depth<3)&&Dp(e)&&(t.options.setext||n))}function UN(e,t,n,r){const i=Math.max(Math.min(6,e.depth||1),1),o=n.createTracker(r);if(HN(e,n)){const u=n.enter("headingSetext"),d=n.enter("phrasing"),f=n.containerPhrasing(e,{...o.current(),before:`
|
|
422
|
+
`,after:`
|
|
423
|
+
`});return d(),u(),f+`
|
|
424
|
+
`+(i===1?"=":"-").repeat(f.length-(Math.max(f.lastIndexOf("\r"),f.lastIndexOf(`
|
|
425
|
+
`))+1))}const a="#".repeat(i),s=n.enter("headingAtx"),l=n.enter("phrasing");o.move(a+" ");let c=n.containerPhrasing(e,{before:"# ",after:`
|
|
426
|
+
`,...o.current()});return/^[\t ]/.test(c)&&(c=Fs(c.charCodeAt(0))+c.slice(1)),c=c?a+" "+c:a,n.options.closeAtx&&(c+=" "+a),l(),s(),c}e5.peek=qN;function e5(e){return e.value||""}function qN(){return"<"}t5.peek=GN;function t5(e,t,n,r){const i=a1(n),o=i==='"'?"Quote":"Apostrophe",a=n.enter("image");let s=n.enter("label");const l=n.createTracker(r);let c=l.move("![");return c+=l.move(n.safe(e.alt,{before:c,after:"]",...l.current()})),c+=l.move("]("),s(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(s=n.enter("destinationLiteral"),c+=l.move("<"),c+=l.move(n.safe(e.url,{before:c,after:">",...l.current()})),c+=l.move(">")):(s=n.enter("destinationRaw"),c+=l.move(n.safe(e.url,{before:c,after:e.title?" ":")",...l.current()}))),s(),e.title&&(s=n.enter(`title${o}`),c+=l.move(" "+i),c+=l.move(n.safe(e.title,{before:c,after:i,...l.current()})),c+=l.move(i),s()),c+=l.move(")"),a(),c}function GN(){return"!"}n5.peek=ZN;function n5(e,t,n,r){const i=e.referenceType,o=n.enter("imageReference");let a=n.enter("label");const s=n.createTracker(r);let l=s.move("![");const c=n.safe(e.alt,{before:l,after:"]",...s.current()});l+=s.move(c+"]["),a();const u=n.stack;n.stack=[],a=n.enter("reference");const d=n.safe(n.associationId(e),{before:l,after:"]",...s.current()});return a(),n.stack=u,o(),i==="full"||!c||c!==d?l+=s.move(d+"]"):i==="shortcut"?l=l.slice(0,-1):l+=s.move("]"),l}function ZN(){return"!"}r5.peek=KN;function r5(e,t,n){let r=e.value||"",i="`",o=-1;for(;new RegExp("(^|[^`])"+i+"([^`]|$)").test(r);)i+="`";for(/[^ \r\n]/.test(r)&&(/^[ \r\n]/.test(r)&&/[ \r\n]$/.test(r)||/^`|`$/.test(r))&&(r=" "+r+" ");++o<n.unsafe.length;){const a=n.unsafe[o],s=n.compilePattern(a);let l;if(a.atBreak)for(;l=s.exec(r);){let c=l.index;r.charCodeAt(c)===10&&r.charCodeAt(c-1)===13&&c--,r=r.slice(0,c)+" "+r.slice(l.index+1)}}return i+r+i}function KN(){return"`"}function i5(e,t){const n=Dp(e);return!!(!t.options.resourceLink&&e.url&&!e.title&&e.children&&e.children.length===1&&e.children[0].type==="text"&&(n===e.url||"mailto:"+n===e.url)&&/^[a-z][a-z+.-]+:/i.test(e.url)&&!/[\0- <>\u007F]/.test(e.url))}o5.peek=YN;function o5(e,t,n,r){const i=a1(n),o=i==='"'?"Quote":"Apostrophe",a=n.createTracker(r);let s,l;if(i5(e,n)){const u=n.stack;n.stack=[],s=n.enter("autolink");let d=a.move("<");return d+=a.move(n.containerPhrasing(e,{before:d,after:">",...a.current()})),d+=a.move(">"),s(),n.stack=u,d}s=n.enter("link"),l=n.enter("label");let c=a.move("[");return c+=a.move(n.containerPhrasing(e,{before:c,after:"](",...a.current()})),c+=a.move("]("),l(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(l=n.enter("destinationLiteral"),c+=a.move("<"),c+=a.move(n.safe(e.url,{before:c,after:">",...a.current()})),c+=a.move(">")):(l=n.enter("destinationRaw"),c+=a.move(n.safe(e.url,{before:c,after:e.title?" ":")",...a.current()}))),l(),e.title&&(l=n.enter(`title${o}`),c+=a.move(" "+i),c+=a.move(n.safe(e.title,{before:c,after:i,...a.current()})),c+=a.move(i),l()),c+=a.move(")"),s(),c}function YN(e,t,n){return i5(e,n)?"<":"["}a5.peek=XN;function a5(e,t,n,r){const i=e.referenceType,o=n.enter("linkReference");let a=n.enter("label");const s=n.createTracker(r);let l=s.move("[");const c=n.containerPhrasing(e,{before:l,after:"]",...s.current()});l+=s.move(c+"]["),a();const u=n.stack;n.stack=[],a=n.enter("reference");const d=n.safe(n.associationId(e),{before:l,after:"]",...s.current()});return a(),n.stack=u,o(),i==="full"||!c||c!==d?l+=s.move(d+"]"):i==="shortcut"?l=l.slice(0,-1):l+=s.move("]"),l}function XN(){return"["}function s1(e){const t=e.options.bullet||"*";if(t!=="*"&&t!=="+"&&t!=="-")throw new Error("Cannot serialize items with `"+t+"` for `options.bullet`, expected `*`, `+`, or `-`");return t}function JN(e){const t=s1(e),n=e.options.bulletOther;if(!n)return t==="*"?"-":"*";if(n!=="*"&&n!=="+"&&n!=="-")throw new Error("Cannot serialize items with `"+n+"` for `options.bulletOther`, expected `*`, `+`, or `-`");if(n===t)throw new Error("Expected `bullet` (`"+t+"`) and `bulletOther` (`"+n+"`) to be different");return n}function QN(e){const t=e.options.bulletOrdered||".";if(t!=="."&&t!==")")throw new Error("Cannot serialize items with `"+t+"` for `options.bulletOrdered`, expected `.` or `)`");return t}function s5(e){const t=e.options.rule||"*";if(t!=="*"&&t!=="-"&&t!=="_")throw new Error("Cannot serialize rules with `"+t+"` for `options.rule`, expected `*`, `-`, or `_`");return t}function eV(e,t,n,r){const i=n.enter("list"),o=n.bulletCurrent;let a=e.ordered?QN(n):s1(n);const s=e.ordered?a==="."?")":".":JN(n);let l=t&&n.bulletLastUsed?a===n.bulletLastUsed:!1;if(!e.ordered){const u=e.children?e.children[0]:void 0;if((a==="*"||a==="-")&&u&&(!u.children||!u.children[0])&&n.stack[n.stack.length-1]==="list"&&n.stack[n.stack.length-2]==="listItem"&&n.stack[n.stack.length-3]==="list"&&n.stack[n.stack.length-4]==="listItem"&&n.indexStack[n.indexStack.length-1]===0&&n.indexStack[n.indexStack.length-2]===0&&n.indexStack[n.indexStack.length-3]===0&&(l=!0),s5(n)===a&&u){let d=-1;for(;++d<e.children.length;){const f=e.children[d];if(f&&f.type==="listItem"&&f.children&&f.children[0]&&f.children[0].type==="thematicBreak"){l=!0;break}}}}l&&(a=s),n.bulletCurrent=a;const c=n.containerFlow(e,r);return n.bulletLastUsed=a,n.bulletCurrent=o,i(),c}function tV(e){const t=e.options.listItemIndent||"one";if(t!=="tab"&&t!=="one"&&t!=="mixed")throw new Error("Cannot serialize items with `"+t+"` for `options.listItemIndent`, expected `tab`, `one`, or `mixed`");return t}function nV(e,t,n,r){const i=tV(n);let o=n.bulletCurrent||s1(n);t&&t.type==="list"&&t.ordered&&(o=(typeof t.start=="number"&&t.start>-1?t.start:1)+(n.options.incrementListMarker===!1?0:t.children.indexOf(e))+o);let a=o.length+1;(i==="tab"||i==="mixed"&&(t&&t.type==="list"&&t.spread||e.spread))&&(a=Math.ceil(a/4)*4);const s=n.createTracker(r);s.move(o+" ".repeat(a-o.length)),s.shift(a);const l=n.enter("listItem"),c=n.indentLines(n.containerFlow(e,s.current()),u);return l(),c;function u(d,f,p){return f?(p?"":" ".repeat(a))+d:(p?o:o+" ".repeat(a-o.length))+d}}function rV(e,t,n,r){const i=n.enter("paragraph"),o=n.enter("phrasing"),a=n.containerPhrasing(e,r);return o(),i(),a}const iV=Pc(["break","delete","emphasis","footnote","footnoteReference","image","imageReference","inlineCode","inlineMath","link","linkReference","mdxJsxTextElement","mdxTextExpression","strong","text","textDirective"]);function oV(e,t,n,r){return(e.children.some(function(a){return iV(a)})?n.containerPhrasing:n.containerFlow).call(n,e,r)}function aV(e){const t=e.options.strong||"*";if(t!=="*"&&t!=="_")throw new Error("Cannot serialize strong with `"+t+"` for `options.strong`, expected `*`, or `_`");return t}l5.peek=sV;function l5(e,t,n,r){const i=aV(n),o=n.enter("strong"),a=n.createTracker(r),s=a.move(i+i);let l=a.move(n.containerPhrasing(e,{after:i,before:s,...a.current()}));const c=l.charCodeAt(0),u=Mc(r.before.charCodeAt(r.before.length-1),c,i);u.inside&&(l=Fs(c)+l.slice(1));const d=l.charCodeAt(l.length-1),f=Mc(r.after.charCodeAt(0),d,i);f.inside&&(l=l.slice(0,-1)+Fs(d));const p=a.move(i+i);return o(),n.attentionEncodeSurroundingInfo={after:f.outside,before:u.outside},s+l+p}function sV(e,t,n){return n.options.strong||"*"}function lV(e,t,n,r){return n.safe(e.value,r)}function cV(e){const t=e.options.ruleRepetition||3;if(t<3)throw new Error("Cannot serialize rules with repetition `"+t+"` for `options.ruleRepetition`, expected `3` or more");return t}function uV(e,t,n){const r=(s5(n)+(n.options.ruleSpaces?" ":"")).repeat(cV(n));return n.options.ruleSpaces?r.slice(0,-1):r}const c5={blockquote:DN,break:Jv,code:BN,definition:NN,emphasis:Qv,hardBreak:Jv,heading:UN,html:e5,image:t5,imageReference:n5,inlineCode:r5,link:o5,linkReference:a5,list:eV,listItem:nV,paragraph:rV,root:oV,strong:l5,text:lV,thematicBreak:uV};function dV(){return{enter:{table:fV,tableData:u5,tableHeader:u5,tableRow:hV},exit:{codeText:mV,table:pV,tableData:l1,tableHeader:l1,tableRow:l1}}}function fV(e){const t=e._align;this.enter({type:"table",align:t.map(function(n){return n==="none"?null:n}),children:[]},e),this.data.inTable=!0}function pV(e){this.exit(e),this.data.inTable=void 0}function hV(e){this.enter({type:"tableRow",children:[]},e)}function l1(e){this.exit(e)}function u5(e){this.enter({type:"tableCell",children:[]},e)}function mV(e){let t=this.resume();this.data.inTable&&(t=t.replace(/\\([\\|])/g,gV));const n=this.stack[this.stack.length-1];n.type,n.value=t,this.exit(e)}function gV(e,t){return t==="|"?t:e}function yV(e){const t=e||{},n=t.tableCellPadding,r=t.tablePipeAlign,i=t.stringLength,o=n?" ":"|";return{unsafe:[{character:"\r",inConstruct:"tableCell"},{character:`
|
|
427
|
+
`,inConstruct:"tableCell"},{atBreak:!0,character:"|",after:"[ :-]"},{character:"|",inConstruct:"tableCell"},{atBreak:!0,character:":",after:"-"},{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{inlineCode:f,table:a,tableCell:l,tableRow:s}};function a(p,m,g,y){return c(u(p,g,y),p.align)}function s(p,m,g,y){const v=d(p,g,y),x=c([v]);return x.slice(0,x.indexOf(`
|
|
428
|
+
`))}function l(p,m,g,y){const v=g.enter("tableCell"),x=g.enter("phrasing"),w=g.containerPhrasing(p,{...y,before:o,after:o});return x(),v(),w}function c(p,m){return IN(p,{align:m,alignDelimiters:r,padding:n,stringLength:i})}function u(p,m,g){const y=p.children;let v=-1;const x=[],w=m.enter("table");for(;++v<y.length;)x[v]=d(y[v],m,g);return w(),x}function d(p,m,g){const y=p.children;let v=-1;const x=[],w=m.enter("tableRow");for(;++v<y.length;)x[v]=l(y[v],p,m,g);return w(),x}function f(p,m,g){let y=c5.inlineCode(p,m,g);return g.stack.includes("tableCell")&&(y=y.replace(/\|/g,"\\$&")),y}}function vV(){return{exit:{taskListCheckValueChecked:d5,taskListCheckValueUnchecked:d5,paragraph:xV}}}function bV(){return{unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:CV}}}function d5(e){const t=this.stack[this.stack.length-2];t.type,t.checked=e.type==="taskListCheckValueChecked"}function xV(e){const t=this.stack[this.stack.length-2];if(t&&t.type==="listItem"&&typeof t.checked=="boolean"){const n=this.stack[this.stack.length-1];n.type;const r=n.children[0];if(r&&r.type==="text"){const i=t.children;let o=-1,a;for(;++o<i.length;){const s=i[o];if(s.type==="paragraph"){a=s;break}}a===n&&(r.value=r.value.slice(1),r.value.length===0?n.children.shift():n.position&&r.position&&typeof r.position.start.offset=="number"&&(r.position.start.column++,r.position.start.offset++,n.position.start=Object.assign({},r.position.start)))}}this.exit(e)}function CV(e,t,n,r){const i=e.children[0],o=typeof e.checked=="boolean"&&i&&i.type==="paragraph",a="["+(e.checked?"x":" ")+"] ",s=n.createTracker(r);o&&s.move(a);let l=c5.listItem(e,t,n,{...r,...s.current()});return o&&(l=l.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,c)),l;function c(u){return u+a}}function wV(){return[eN(),CN(),TN(),dV(),vV()]}function kV(e){return{extensions:[tN(),wN(e),_N(),yV(e),bV()]}}const SV={tokenize:jV,partial:!0},f5={tokenize:IV,partial:!0},p5={tokenize:MV,partial:!0},h5={tokenize:DV,partial:!0},TV={tokenize:OV,partial:!0},m5={name:"wwwAutolink",tokenize:PV,previous:y5},g5={name:"protocolAutolink",tokenize:AV,previous:v5},qr={name:"emailAutolink",tokenize:EV,previous:b5},Ar={};function _V(){return{text:Ar}}let Hi=48;for(;Hi<123;)Ar[Hi]=qr,Hi++,Hi===58?Hi=65:Hi===91&&(Hi=97);Ar[43]=qr,Ar[45]=qr,Ar[46]=qr,Ar[95]=qr,Ar[72]=[qr,g5],Ar[104]=[qr,g5],Ar[87]=[qr,m5],Ar[119]=[qr,m5];function EV(e,t,n){const r=this;let i,o;return a;function a(d){return!c1(d)||!b5.call(r,r.previous)||u1(r.events)?n(d):(e.enter("literalAutolink"),e.enter("literalAutolinkEmail"),s(d))}function s(d){return c1(d)?(e.consume(d),s):d===64?(e.consume(d),l):n(d)}function l(d){return d===46?e.check(TV,u,c)(d):d===45||d===95||cn(d)?(o=!0,e.consume(d),l):u(d)}function c(d){return e.consume(d),i=!0,l}function u(d){return o&&i&&gn(r.previous)?(e.exit("literalAutolinkEmail"),e.exit("literalAutolink"),t(d)):n(d)}}function PV(e,t,n){const r=this;return i;function i(a){return a!==87&&a!==119||!y5.call(r,r.previous)||u1(r.events)?n(a):(e.enter("literalAutolink"),e.enter("literalAutolinkWww"),e.check(SV,e.attempt(f5,e.attempt(p5,o),n),n)(a))}function o(a){return e.exit("literalAutolinkWww"),e.exit("literalAutolink"),t(a)}}function AV(e,t,n){const r=this;let i="",o=!1;return a;function a(d){return(d===72||d===104)&&v5.call(r,r.previous)&&!u1(r.events)?(e.enter("literalAutolink"),e.enter("literalAutolinkHttp"),i+=String.fromCodePoint(d),e.consume(d),s):n(d)}function s(d){if(gn(d)&&i.length<5)return i+=String.fromCodePoint(d),e.consume(d),s;if(d===58){const f=i.toLowerCase();if(f==="http"||f==="https")return e.consume(d),l}return n(d)}function l(d){return d===47?(e.consume(d),o?c:(o=!0,l)):n(d)}function c(d){return d===null||bc(d)||xt(d)||Wi(d)||xc(d)?n(d):e.attempt(f5,e.attempt(p5,u),n)(d)}function u(d){return e.exit("literalAutolinkHttp"),e.exit("literalAutolink"),t(d)}}function jV(e,t,n){let r=0;return i;function i(a){return(a===87||a===119)&&r<3?(r++,e.consume(a),i):a===46&&r===3?(e.consume(a),o):n(a)}function o(a){return a===null?n(a):t(a)}}function IV(e,t,n){let r,i,o;return a;function a(c){return c===46||c===95?e.check(h5,l,s)(c):c===null||xt(c)||Wi(c)||c!==45&&xc(c)?l(c):(o=!0,e.consume(c),a)}function s(c){return c===95?r=!0:(i=r,r=void 0),e.consume(c),a}function l(c){return i||r||!o?n(c):t(c)}}function MV(e,t){let n=0,r=0;return i;function i(a){return a===40?(n++,e.consume(a),i):a===41&&r<n?o(a):a===33||a===34||a===38||a===39||a===41||a===42||a===44||a===46||a===58||a===59||a===60||a===63||a===93||a===95||a===126?e.check(h5,t,o)(a):a===null||xt(a)||Wi(a)?t(a):(e.consume(a),i)}function o(a){return a===41&&r++,e.consume(a),i}}function DV(e,t,n){return r;function r(s){return s===33||s===34||s===39||s===41||s===42||s===44||s===46||s===58||s===59||s===63||s===95||s===126?(e.consume(s),r):s===38?(e.consume(s),o):s===93?(e.consume(s),i):s===60||s===null||xt(s)||Wi(s)?t(s):n(s)}function i(s){return s===null||s===40||s===91||xt(s)||Wi(s)?t(s):r(s)}function o(s){return gn(s)?a(s):n(s)}function a(s){return s===59?(e.consume(s),r):gn(s)?(e.consume(s),a):n(s)}}function OV(e,t,n){return r;function r(o){return e.consume(o),i}function i(o){return cn(o)?n(o):t(o)}}function y5(e){return e===null||e===40||e===42||e===95||e===91||e===93||e===126||xt(e)}function v5(e){return!gn(e)}function b5(e){return!(e===47||c1(e))}function c1(e){return e===43||e===45||e===46||e===95||cn(e)}function u1(e){let t=e.length,n=!1;for(;t--;){const r=e[t][1];if((r.type==="labelLink"||r.type==="labelImage")&&!r._balanced){n=!0;break}if(r._gfmAutolinkLiteralWalkedInto){n=!1;break}}return e.length>0&&!n&&(e[e.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),n}const FV={tokenize:WV,partial:!0};function zV(){return{document:{91:{name:"gfmFootnoteDefinition",tokenize:RV,continuation:{tokenize:NV},exit:VV}},text:{91:{name:"gfmFootnoteCall",tokenize:BV},93:{name:"gfmPotentialFootnoteCall",add:"after",tokenize:LV,resolveTo:$V}}}}function LV(e,t,n){const r=this;let i=r.events.length;const o=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let a;for(;i--;){const l=r.events[i][1];if(l.type==="labelImage"){a=l;break}if(l.type==="gfmFootnoteCall"||l.type==="labelLink"||l.type==="label"||l.type==="image"||l.type==="link")break}return s;function s(l){if(!a||!a._balanced)return n(l);const c=tr(r.sliceSerialize({start:a.end,end:r.now()}));return c.codePointAt(0)!==94||!o.includes(c.slice(1))?n(l):(e.enter("gfmFootnoteCallLabelMarker"),e.consume(l),e.exit("gfmFootnoteCallLabelMarker"),t(l))}}function $V(e,t){let n=e.length;for(;n--;)if(e[n][1].type==="labelImage"&&e[n][0]==="enter"){e[n][1];break}e[n+1][1].type="data",e[n+3][1].type="gfmFootnoteCallLabelMarker";const r={type:"gfmFootnoteCall",start:Object.assign({},e[n+3][1].start),end:Object.assign({},e[e.length-1][1].end)},i={type:"gfmFootnoteCallMarker",start:Object.assign({},e[n+3][1].end),end:Object.assign({},e[n+3][1].end)};i.end.column++,i.end.offset++,i.end._bufferIndex++;const o={type:"gfmFootnoteCallString",start:Object.assign({},i.end),end:Object.assign({},e[e.length-1][1].start)},a={type:"chunkString",contentType:"string",start:Object.assign({},o.start),end:Object.assign({},o.end)},s=[e[n+1],e[n+2],["enter",r,t],e[n+3],e[n+4],["enter",i,t],["exit",i,t],["enter",o,t],["enter",a,t],["exit",a,t],["exit",o,t],e[e.length-2],e[e.length-1],["exit",r,t]];return e.splice(n,e.length-n+1,...s),e}function BV(e,t,n){const r=this,i=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let o=0,a;return s;function s(d){return e.enter("gfmFootnoteCall"),e.enter("gfmFootnoteCallLabelMarker"),e.consume(d),e.exit("gfmFootnoteCallLabelMarker"),l}function l(d){return d!==94?n(d):(e.enter("gfmFootnoteCallMarker"),e.consume(d),e.exit("gfmFootnoteCallMarker"),e.enter("gfmFootnoteCallString"),e.enter("chunkString").contentType="string",c)}function c(d){if(o>999||d===93&&!a||d===null||d===91||xt(d))return n(d);if(d===93){e.exit("chunkString");const f=e.exit("gfmFootnoteCallString");return i.includes(tr(r.sliceSerialize(f)))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(d),e.exit("gfmFootnoteCallLabelMarker"),e.exit("gfmFootnoteCall"),t):n(d)}return xt(d)||(a=!0),o++,e.consume(d),d===92?u:c}function u(d){return d===91||d===92||d===93?(e.consume(d),o++,c):c(d)}}function RV(e,t,n){const r=this,i=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let o,a=0,s;return l;function l(m){return e.enter("gfmFootnoteDefinition")._container=!0,e.enter("gfmFootnoteDefinitionLabel"),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(m),e.exit("gfmFootnoteDefinitionLabelMarker"),c}function c(m){return m===94?(e.enter("gfmFootnoteDefinitionMarker"),e.consume(m),e.exit("gfmFootnoteDefinitionMarker"),e.enter("gfmFootnoteDefinitionLabelString"),e.enter("chunkString").contentType="string",u):n(m)}function u(m){if(a>999||m===93&&!s||m===null||m===91||xt(m))return n(m);if(m===93){e.exit("chunkString");const g=e.exit("gfmFootnoteDefinitionLabelString");return o=tr(r.sliceSerialize(g)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(m),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),f}return xt(m)||(s=!0),a++,e.consume(m),m===92?d:u}function d(m){return m===91||m===92||m===93?(e.consume(m),a++,u):u(m)}function f(m){return m===58?(e.enter("definitionMarker"),e.consume(m),e.exit("definitionMarker"),i.includes(o)||i.push(o),Xe(e,p,"gfmFootnoteDefinitionWhitespace")):n(m)}function p(m){return t(m)}}function NV(e,t,n){return e.check(As,t,e.attempt(FV,t,n))}function VV(e){e.exit("gfmFootnoteDefinition")}function WV(e,t,n){const r=this;return Xe(e,i,"gfmFootnoteDefinitionIndent",5);function i(o){const a=r.events[r.events.length-1];return a&&a[1].type==="gfmFootnoteDefinitionIndent"&&a[2].sliceSerialize(a[1],!0).length===4?t(o):n(o)}}function HV(e){let n=(e||{}).singleTilde;const r={name:"strikethrough",tokenize:o,resolveAll:i};return n==null&&(n=!0),{text:{126:r},insideSpan:{null:[r]},attentionMarkers:{null:[126]}};function i(a,s){let l=-1;for(;++l<a.length;)if(a[l][0]==="enter"&&a[l][1].type==="strikethroughSequenceTemporary"&&a[l][1]._close){let c=l;for(;c--;)if(a[c][0]==="exit"&&a[c][1].type==="strikethroughSequenceTemporary"&&a[c][1]._open&&a[l][1].end.offset-a[l][1].start.offset===a[c][1].end.offset-a[c][1].start.offset){a[l][1].type="strikethroughSequence",a[c][1].type="strikethroughSequence";const u={type:"strikethrough",start:Object.assign({},a[c][1].start),end:Object.assign({},a[l][1].end)},d={type:"strikethroughText",start:Object.assign({},a[c][1].end),end:Object.assign({},a[l][1].start)},f=[["enter",u,s],["enter",a[c][1],s],["exit",a[c][1],s],["enter",d,s]],p=s.parser.constructs.insideSpan.null;p&&On(f,f.length,0,Cc(p,a.slice(c+1,l),s)),On(f,f.length,0,[["exit",d,s],["enter",a[l][1],s],["exit",a[l][1],s],["exit",u,s]]),On(a,c-1,l-c+3,f),l=c+f.length-2;break}}for(l=-1;++l<a.length;)a[l][1].type==="strikethroughSequenceTemporary"&&(a[l][1].type="data");return a}function o(a,s,l){const c=this.previous,u=this.events;let d=0;return f;function f(m){return c===126&&u[u.length-1][1].type!=="characterEscape"?l(m):(a.enter("strikethroughSequenceTemporary"),p(m))}function p(m){const g=Yo(c);if(m===126)return d>1?l(m):(a.consume(m),d++,p);if(d<2&&!n)return l(m);const y=a.exit("strikethroughSequenceTemporary"),v=Yo(m);return y._open=!v||v===2&&!!g,y._close=!g||g===2&&!!v,s(m)}}}class UV{constructor(){this.map=[]}add(t,n,r){qV(this,t,n,r)}consume(t){if(this.map.sort(function(o,a){return o[0]-a[0]}),this.map.length===0)return;let n=this.map.length;const r=[];for(;n>0;)n-=1,r.push(t.slice(this.map[n][0]+this.map[n][1]),this.map[n][2]),t.length=this.map[n][0];r.push(t.slice()),t.length=0;let i=r.pop();for(;i;){for(const o of i)t.push(o);i=r.pop()}this.map.length=0}}function qV(e,t,n,r){let i=0;if(!(n===0&&r.length===0)){for(;i<e.map.length;){if(e.map[i][0]===t){e.map[i][1]+=n,e.map[i][2].push(...r);return}i+=1}e.map.push([t,n,r])}}function GV(e,t){let n=!1;const r=[];for(;t<e.length;){const i=e[t];if(n){if(i[0]==="enter")i[1].type==="tableContent"&&r.push(e[t+1][1].type==="tableDelimiterMarker"?"left":"none");else if(i[1].type==="tableContent"){if(e[t-1][1].type==="tableDelimiterMarker"){const o=r.length-1;r[o]=r[o]==="left"?"center":"right"}}else if(i[1].type==="tableDelimiterRow")break}else i[0]==="enter"&&i[1].type==="tableDelimiterRow"&&(n=!0);t+=1}return r}function ZV(){return{flow:{null:{name:"table",tokenize:KV,resolveAll:YV}}}}function KV(e,t,n){const r=this;let i=0,o=0,a;return s;function s(P){let W=r.events.length-1;for(;W>-1;){const z=r.events[W][1].type;if(z==="lineEnding"||z==="linePrefix")W--;else break}const Z=W>-1?r.events[W][1].type:null,ne=Z==="tableHead"||Z==="tableRow"?T:l;return ne===T&&r.parser.lazy[r.now().line]?n(P):ne(P)}function l(P){return e.enter("tableHead"),e.enter("tableRow"),c(P)}function c(P){return P===124||(a=!0,o+=1),u(P)}function u(P){return P===null?n(P):Oe(P)?o>1?(o=0,r.interrupt=!0,e.exit("tableRow"),e.enter("lineEnding"),e.consume(P),e.exit("lineEnding"),p):n(P):Ge(P)?Xe(e,u,"whitespace")(P):(o+=1,a&&(a=!1,i+=1),P===124?(e.enter("tableCellDivider"),e.consume(P),e.exit("tableCellDivider"),a=!0,u):(e.enter("data"),d(P)))}function d(P){return P===null||P===124||xt(P)?(e.exit("data"),u(P)):(e.consume(P),P===92?f:d)}function f(P){return P===92||P===124?(e.consume(P),d):d(P)}function p(P){return r.interrupt=!1,r.parser.lazy[r.now().line]?n(P):(e.enter("tableDelimiterRow"),a=!1,Ge(P)?Xe(e,m,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(P):m(P))}function m(P){return P===45||P===58?y(P):P===124?(a=!0,e.enter("tableCellDivider"),e.consume(P),e.exit("tableCellDivider"),g):k(P)}function g(P){return Ge(P)?Xe(e,y,"whitespace")(P):y(P)}function y(P){return P===58?(o+=1,a=!0,e.enter("tableDelimiterMarker"),e.consume(P),e.exit("tableDelimiterMarker"),v):P===45?(o+=1,v(P)):P===null||Oe(P)?E(P):k(P)}function v(P){return P===45?(e.enter("tableDelimiterFiller"),x(P)):k(P)}function x(P){return P===45?(e.consume(P),x):P===58?(a=!0,e.exit("tableDelimiterFiller"),e.enter("tableDelimiterMarker"),e.consume(P),e.exit("tableDelimiterMarker"),w):(e.exit("tableDelimiterFiller"),w(P))}function w(P){return Ge(P)?Xe(e,E,"whitespace")(P):E(P)}function E(P){return P===124?m(P):P===null||Oe(P)?!a||i!==o?k(P):(e.exit("tableDelimiterRow"),e.exit("tableHead"),t(P)):k(P)}function k(P){return n(P)}function T(P){return e.enter("tableRow"),I(P)}function I(P){return P===124?(e.enter("tableCellDivider"),e.consume(P),e.exit("tableCellDivider"),I):P===null||Oe(P)?(e.exit("tableRow"),t(P)):Ge(P)?Xe(e,I,"whitespace")(P):(e.enter("data"),D(P))}function D(P){return P===null||P===124||xt(P)?(e.exit("data"),I(P)):(e.consume(P),P===92?$:D)}function $(P){return P===92||P===124?(e.consume(P),D):D(P)}}function YV(e,t){let n=-1,r=!0,i=0,o=[0,0,0,0],a=[0,0,0,0],s=!1,l=0,c,u,d;const f=new UV;for(;++n<e.length;){const p=e[n],m=p[1];p[0]==="enter"?m.type==="tableHead"?(s=!1,l!==0&&(x5(f,t,l,c,u),u=void 0,l=0),c={type:"table",start:Object.assign({},m.start),end:Object.assign({},m.end)},f.add(n,0,[["enter",c,t]])):m.type==="tableRow"||m.type==="tableDelimiterRow"?(r=!0,d=void 0,o=[0,0,0,0],a=[0,n+1,0,0],s&&(s=!1,u={type:"tableBody",start:Object.assign({},m.start),end:Object.assign({},m.end)},f.add(n,0,[["enter",u,t]])),i=m.type==="tableDelimiterRow"?2:u?3:1):i&&(m.type==="data"||m.type==="tableDelimiterMarker"||m.type==="tableDelimiterFiller")?(r=!1,a[2]===0&&(o[1]!==0&&(a[0]=a[1],d=Dc(f,t,o,i,void 0,d),o=[0,0,0,0]),a[2]=n)):m.type==="tableCellDivider"&&(r?r=!1:(o[1]!==0&&(a[0]=a[1],d=Dc(f,t,o,i,void 0,d)),o=a,a=[o[1],n,0,0])):m.type==="tableHead"?(s=!0,l=n):m.type==="tableRow"||m.type==="tableDelimiterRow"?(l=n,o[1]!==0?(a[0]=a[1],d=Dc(f,t,o,i,n,d)):a[1]!==0&&(d=Dc(f,t,a,i,n,d)),i=0):i&&(m.type==="data"||m.type==="tableDelimiterMarker"||m.type==="tableDelimiterFiller")&&(a[3]=n)}for(l!==0&&x5(f,t,l,c,u),f.consume(t.events),n=-1;++n<t.events.length;){const p=t.events[n];p[0]==="enter"&&p[1].type==="table"&&(p[1]._align=GV(t.events,n))}return e}function Dc(e,t,n,r,i,o){const a=r===1?"tableHeader":r===2?"tableDelimiter":"tableData",s="tableContent";n[0]!==0&&(o.end=Object.assign({},Jo(t.events,n[0])),e.add(n[0],0,[["exit",o,t]]));const l=Jo(t.events,n[1]);if(o={type:a,start:Object.assign({},l),end:Object.assign({},l)},e.add(n[1],0,[["enter",o,t]]),n[2]!==0){const c=Jo(t.events,n[2]),u=Jo(t.events,n[3]),d={type:s,start:Object.assign({},c),end:Object.assign({},u)};if(e.add(n[2],0,[["enter",d,t]]),r!==2){const f=t.events[n[2]],p=t.events[n[3]];if(f[1].end=Object.assign({},p[1].end),f[1].type="chunkText",f[1].contentType="text",n[3]>n[2]+1){const m=n[2]+1,g=n[3]-n[2]-1;e.add(m,g,[])}}e.add(n[3]+1,0,[["exit",d,t]])}return i!==void 0&&(o.end=Object.assign({},Jo(t.events,i)),e.add(i,0,[["exit",o,t]]),o=void 0),o}function x5(e,t,n,r,i){const o=[],a=Jo(t.events,n);i&&(i.end=Object.assign({},a),o.push(["exit",i,t])),r.end=Object.assign({},a),o.push(["exit",r,t]),e.add(n+1,0,o)}function Jo(e,t){const n=e[t],r=n[0]==="enter"?"start":"end";return n[1][r]}const XV={name:"tasklistCheck",tokenize:QV};function JV(){return{text:{91:XV}}}function QV(e,t,n){const r=this;return i;function i(l){return r.previous!==null||!r._gfmTasklistFirstContentOfListItem?n(l):(e.enter("taskListCheck"),e.enter("taskListCheckMarker"),e.consume(l),e.exit("taskListCheckMarker"),o)}function o(l){return xt(l)?(e.enter("taskListCheckValueUnchecked"),e.consume(l),e.exit("taskListCheckValueUnchecked"),a):l===88||l===120?(e.enter("taskListCheckValueChecked"),e.consume(l),e.exit("taskListCheckValueChecked"),a):n(l)}function a(l){return l===93?(e.enter("taskListCheckMarker"),e.consume(l),e.exit("taskListCheckMarker"),e.exit("taskListCheck"),s):n(l)}function s(l){return Oe(l)?t(l):Ge(l)?e.check({tokenize:eW},t,n)(l):n(l)}}function eW(e,t,n){return Xe(e,r,"whitespace");function r(i){return i===null?n(i):t(i)}}function tW(e){return Ky([_V(),zV(),HV(e),ZV(),JV()])}const nW={};function rW(e){const t=this,n=e||nW,r=t.data(),i=r.micromarkExtensions||(r.micromarkExtensions=[]),o=r.fromMarkdownExtensions||(r.fromMarkdownExtensions=[]),a=r.toMarkdownExtensions||(r.toMarkdownExtensions=[]);i.push(tW(n)),o.push(wV()),a.push(kV(n))}const iW=Rr`
|
|
429
|
+
0% { opacity: 1; }
|
|
430
|
+
50% { opacity: 0.3; }
|
|
431
|
+
100% { opacity: 1; }
|
|
432
|
+
`,oW=()=>h.jsx(qn,{spacing:"2px",children:Array.from({length:3}).map((e,t)=>h.jsx(Ke,{width:"7px",height:"7px",bg:"gray.500",borderRadius:"50%",animation:`${iW} 1.5s ${t*.2}s infinite`},t))}),aW=({message:e,colorTextMessage:t="#333333",color:n=si.colors.primary[400],isError:r=!1,thumbUp:i=!1,thumbDown:o=!1,withFeedback:a=!1,onThumbUp:s,onThumbDown:l,toastSuccessMsg:c="Text copied",isTyping:u=!1,colorCopyIcon:d="#333333",colorThumbUp:f="#333333",colorThumbDown:p="#333333"})=>{const m=r?"red.400":i?"success.400":o?"red.400":"transparent",g=a||r?"2px solid":"none",y=n||si.colors.primary[500],v=vy(),x=async()=>{try{typeof e=="string"&&await navigator.clipboard.writeText(e),v({type:"success",title:c,duration:2e3,position:"bottom-right"})}catch(w){console.error("Error al copiar el mensaje:",w);const E=w instanceof Error?w.message:String(w);v({type:"error",title:E,duration:2e3,position:"bottom-right"})}};return h.jsxs(_r,{align:"flex-start",spacing:2,w:"100%",py:2,children:[h.jsxs(qn,{spacing:2,w:"100%",children:[h.jsx(Ke,{display:"flex",alignItems:"center",justifyContent:"center",boxSize:"34px",borderRadius:"50%",bg:y,flexShrink:0,children:h.jsx(Mz,{width:20,height:20,color:si.colors.white[100]})}),h.jsx(Ke,{bg:"transparent",color:"black",px:5,py:3,w:"100%",border:g,borderColor:m,borderRadius:"50px",children:h.jsxs(vt,{justify:"space-between",align:"center",w:"100%",children:[h.jsx(Ke,{fontSize:"md",whiteSpace:"pre-wrap",wordBreak:"break-word",w:"85%",textAlign:"left",color:t||"#333333",children:u?h.jsx(oW,{}):h.jsx(HR,{remarkPlugins:[rW],children:e})}),a&&h.jsxs(qn,{spacing:1,justify:"flex-end",w:"15%",children:[i&&h.jsx(Z4,{size:24,color:si.colors.green[400]}),o&&h.jsx(G4,{size:24,color:si.colors.red[400]})]})]})})]}),a&&h.jsxs(qn,{spacing:2,children:[h.jsx(tn,{"aria-label":"Copy",icon:h.jsx(hF,{size:20,color:d}),variant:"ghost",onClick:x}),h.jsx(tn,{"aria-label":"Thumbs Up",icon:h.jsx(Z4,{size:20,color:f}),variant:"ghost",onClick:s}),h.jsx(tn,{"aria-label":"Thumbs Down",icon:h.jsx(G4,{size:20,color:p}),variant:"ghost",onClick:l})]})]})},sW=({width:e=33,height:t=32,color:n=mn.black[50]})=>h.jsxs("svg",{width:e,height:t,viewBox:"0 0 33 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[h.jsxs("g",{id:"hinton-plot 1",clipPath:"url(#clip0_3937_23354)",children:[h.jsx("path",{id:"Vector",d:"M6.5 2H2.5V6H6.5V2Z",fill:n}),h.jsx("path",{id:"Vector_2",d:"M14.5 2H10.5V6H14.5V2Z",fill:n}),h.jsx("path",{id:"Vector_3",d:"M22.5 2H18.5V6H22.5V2Z",fill:n}),h.jsx("path",{id:"Vector_4",d:"M30.5 2H26.5V6H30.5V2Z",fill:n}),h.jsx("path",{id:"Vector_5",d:"M6.5 10H2.5V14H6.5V10Z",fill:n}),h.jsx("path",{id:"Vector_6",d:"M14.5 10H10.5V14H14.5V10Z",fill:n}),h.jsx("path",{id:"Vector_7",d:"M22.5 10H18.5V14H22.5V10Z",fill:n}),h.jsx("path",{id:"Vector_8",d:"M30.5 10H26.5V14H30.5V10Z",fill:n}),h.jsx("path",{id:"Vector_9",d:"M6.5 18H2.5V22H6.5V18Z",fill:n}),h.jsx("path",{id:"Vector_10",d:"M14.5 18H10.5V22H14.5V18Z",fill:n}),h.jsx("path",{id:"Vector_11",d:"M22.5 18H18.5V22H22.5V18Z",fill:n}),h.jsx("path",{id:"Vector_12",d:"M30.5 18H26.5V22H30.5V18Z",fill:n}),h.jsx("path",{id:"Vector_13",d:"M6.5 26H2.5V30H6.5V26Z",fill:n}),h.jsx("path",{id:"Vector_14",d:"M14.5 26H10.5V30H14.5V26Z",fill:n}),h.jsx("path",{id:"Vector_15",d:"M22.5 26H18.5V30H22.5V26Z",fill:n}),h.jsx("path",{id:"Vector_16",d:"M30.5 26H26.5V30H30.5V26Z",fill:n})]}),h.jsx("defs",{children:h.jsx("clipPath",{id:"clip0_3937_23354",children:h.jsx("rect",{width:"32",height:"32",fill:"white",transform:"translate(0.5)"})})})]}),lW=({width:e=24,height:t=24})=>h.jsxs("svg",{width:e,height:t,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[h.jsx("g",{clipPath:"url(#clip0_389_1416)",children:h.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"})}),h.jsx("defs",{children:h.jsx("clipPath",{id:"clip0_389_1416",children:h.jsx("rect",{width:"24",height:"24",fill:"white"})})})]}),cW=({width:e=24,height:t=24})=>h.jsxs("svg",{width:e,height:t,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[h.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"}),h.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"})]}),uW=({width:e=24,height:t=24})=>h.jsxs("svg",{width:e,height:t,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[h.jsxs("g",{clipPath:"url(#clip0_960_8687)",children:[h.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"}),h.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"}),h.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"}),h.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"}),h.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"}),h.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"}),h.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"}),h.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"})]}),h.jsx("defs",{children:h.jsx("clipPath",{id:"clip0_960_8687",children:h.jsx("rect",{width:"24",height:"24",fill:"white"})})})]}),dW=({width:e=24,height:t=24})=>h.jsx("svg",{width:e,height:t,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:h.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"})}),fW=({width:e=24,height:t=24})=>h.jsxs("svg",{width:e,height:t,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[h.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"}),h.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"})]}),pW=({width:e=24,height:t=24})=>h.jsxs("svg",{width:e,height:t,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[h.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"}),h.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"})]}),hW=({width:e=24,height:t=27})=>h.jsxs("svg",{width:e,height:t,viewBox:"0 0 24 28",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[h.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"}),h.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"}),h.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"}),h.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"}),h.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"}),h.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"}),h.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"})]}),mW={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"},gW={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"},yW=[{name:"Hub",icon:h.jsx(lW,{}),bgColor:"primary.400"},{name:"Play",icon:h.jsx(cW,{}),bgColor:"play.500"},{name:"Assist",icon:h.jsx(hW,{}),bgColor:"assist.500"},{name:"Elevate",icon:h.jsx(uW,{}),bgColor:"elevate.500"},{name:"Talent",icon:h.jsx(dW,{}),bgColor:"talent.500"},{name:"Collect",icon:h.jsx(fW,{}),bgColor:"collect.500"},{name:"Ad",icon:h.jsx(pW,{}),bgColor:"ad.500"}],vW=e=>e?gW:mW,bW=({isProduction:e,showMenuItems:t,platform:n})=>{const r=vW(e),i=t&&t.length>0?t:["hub"],o=n==="canaia"?"hub":n,a=yW.filter(l=>i.includes(l.name.toLowerCase())),s=l=>{window.location.href=l};return h.jsx(P3,{templateColumns:"repeat(4, 1fr)",gap:1,children:a.map(l=>{const c=o===l.name.toLowerCase();return h.jsxs(Ro,{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:[h.jsx(Ke,{fontSize:"2xl",as:"div",children:h.jsx(vt,{w:"42px",h:"42px",bg:l.bgColor,borderRadius:"full",align:"center",justify:"center",children:l.icon})}),h.jsx(qe,{textAlign:"center",mt:2,fontWeight:c?"bold":"normal",children:l.name})]},l.name)})})},xW=({width:e=129,height:t=50})=>h.jsxs("svg",{width:e,height:t,viewBox:"0 0 266 93",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[h.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"}),h.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"}),h.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"}),h.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"}),h.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"}),h.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"}),h.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"}),h.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"})]}),C5=({width:e=170,height:t=40})=>h.jsxs("svg",{width:e,height:t,viewBox:"0 0 645 160",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[h.jsxs("g",{clipPath:"url(#clip0_859_97)",children:[h.jsx("mask",{id:"mask0_859_97",maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"645",height:"160",children:h.jsx("path",{d:"M645 0H0V160H645V0Z",fill:"white"})}),h.jsxs("g",{mask:"url(#mask0_859_97)",children:[h.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"}),h.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"}),h.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"}),h.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"}),h.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"}),h.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"}),h.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"}),h.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"}),h.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"})]})]}),h.jsx("defs",{children:h.jsx("clipPath",{id:"clip0_859_97",children:h.jsx("rect",{width:"645",height:"160",fill:"white"})})})]}),CW=({width:e=166,height:t=42})=>h.jsxs("svg",{width:e,height:t,viewBox:"0 0 324 78",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[h.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"}),h.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"}),h.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"}),h.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"}),h.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"}),h.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"}),h.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"}),h.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"}),h.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"}),h.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"})]}),wW=({width:e=198,height:t=42})=>h.jsxs("svg",{width:e,height:t,viewBox:"0 0 393 78",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[h.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"}),h.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"}),h.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"}),h.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"}),h.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"}),h.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"}),h.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"}),h.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"}),h.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"}),h.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"}),h.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"})]}),kW=({width:e=177,height:t=42})=>h.jsxs("svg",{width:e,height:t,viewBox:"0 0 355 79",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[h.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"}),h.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"}),h.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"}),h.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"}),h.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"}),h.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"}),h.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"}),h.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"}),h.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"}),h.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"}),h.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"})]}),SW=({width:e=168,height:t=42})=>h.jsxs("svg",{width:e,height:t,viewBox:"0 0 332 79",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[h.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"}),h.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"}),h.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"}),h.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"}),h.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"}),h.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"}),h.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"}),h.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"}),h.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"}),h.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"})]}),TW=({width:e=92,height:t=42})=>h.jsxs("svg",{width:e,height:t,viewBox:"0 0 199 79",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[h.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"}),h.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"}),h.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"}),h.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"}),h.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"}),h.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"})]}),_W=({platform:e,width:t,height:n})=>{switch(e){case"play":return h.jsx(xW,{width:t,height:n});case"canaia":return h.jsx(C5,{width:t,height:n});case"assist":return h.jsx(CW,{width:t,height:n});case"elevate":return h.jsx(wW,{width:t,height:n});case"collect":return h.jsx(kW,{width:t,height:n});case"talent":return h.jsx(SW,{width:t,height:n});case"ad":return h.jsx(TW,{width:t,height:n});default:return h.jsx(C5,{width:t,height:n})}};function EW(e){return pt({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 PW(e){return pt({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 AW(e){return pt({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 jW=({platform:e="canaia",color:t=mn.primary[500],onSettingsClick:n,onLogOutClick:r=()=>{},onSubscriptionClick:i=()=>{},onLogoClick:o=()=>{window.location.hash="/"},userName:a="Nombre de Usuario",settingsName:s="Settings",logoutName:l="Logout",subscriptionName:c="Subscription",isProduction:u=!1,showMenuItems:d,menuAppRef:f,menuSettingsRef:p,...m})=>{const g=t||si.colors.primary[500],y=Yt(g,.7),v=Yt(g,.8),x=t||si.colors.primary[500],E=n||(()=>{window.location.href=u?"https://hub.canaia.ai/settings":"https://staging.hub.canaia.ai"});return h.jsx(Ke,{position:"fixed",top:"0",left:"0",width:"100%",zIndex:"1000",bg:mn.white[100],boxShadow:"sm",pt:"14px",pb:"14px",px:{base:"10px",md:"24px"},...m,children:h.jsxs(vt,{justify:"space-between",align:"center",children:[h.jsxs(vt,{align:"center",children:[h.jsxs(Ql,{children:[h.jsx(ec,{as:tn,"aria-label":"App Menu",icon:h.jsx(sW,{color:mn.black[600]}),variant:"ghost",fontSize:"2xl",marginRight:"40px",width:"32px",height:"32px",ref:f,_hover:{bg:"transparent"},_focus:{bg:"transparent"},_active:{bg:"transparent"}}),h.jsx(tc,{px:4,borderRadius:"lg",boxShadow:"lg",bg:"white",children:h.jsx(vt,{wrap:"wrap",maxW:"300px",justify:"flex-start",children:h.jsx(bW,{isProduction:u,showMenuItems:d,platform:e})})})]}),h.jsx(Ke,{as:"a",onClick:o,cursor:"pointer",children:h.jsx(_W,{platform:e})})]}),h.jsxs(Ql,{children:[h.jsx(ec,{border:"2px solid",borderColor:g,borderRadius:"md",px:"14px",py:"12px",ref:p,_hover:{borderColor:y},_active:{borderColor:v},_focus:{borderColor:g,boxShadow:"0 0 0 3px rgba(66, 153, 225, 0.6)"},children:h.jsx(_r,{align:"flex-end",spacing:0,children:h.jsxs(vt,{align:"center",gap:"10px",children:[h.jsx(Ke,{as:PW,color:t,size:18}),h.jsx(qe,{color:t,fontSize:"md",fontWeight:"medium",marginRight:2,children:a}),h.jsx(fp,{color:t})]})})}),h.jsxs(tc,{_hover:{boxShadow:"none"},children:[h.jsx(Ro,{as:"a",display:"flex",bg:"transparent",alignItems:"center",onClick:E,_hover:{bg:"transparent",color:x},children:h.jsxs(vt,{align:"center",gap:"10px",children:[h.jsx(yF,{size:24}),h.jsx(qe,{children:s})]})}),e!=="elevate"&&h.jsx(Ro,{as:"a",bg:"transparent",display:"flex",alignItems:"center",onClick:i,_hover:{bg:"transparent",color:x},children:h.jsxs(vt,{align:"center",gap:"10px",children:[h.jsx(mF,{size:24}),h.jsx(qe,{children:c})]})}),h.jsx(Ro,{as:"a",bg:"transparent",display:"flex",alignItems:"center",onClick:r,_hover:{bg:"transparent",color:x},children:h.jsxs(vt,{align:"center",gap:"10px",children:[h.jsx(AW,{size:24}),h.jsx(qe,{children:l})]})})]})]})]})})},IW=({placeholder:e="Escribe tu mensaje aquí...",onSend:t,disabled:n=!1})=>{const[r,i]=b.useState(""),o=()=>{n||r.trim()===""||(t(r.trim()),i(""))},a=s=>{s.key==="Enter"&&!n&&(s.preventDefault(),o())};return h.jsx(Ke,{w:"100%",children:h.jsxs(j3,{children:[h.jsx(Oo,{placeholder:e,value:r,borderRadius:"3xl",onChange:s=>i(s.target.value),onKeyPress:a,size:"md",background:"white.100",borderColor:"black.100"}),h.jsx(Wf,{children:h.jsx(tn,{onClick:o,"aria-label":"Enviar mensaje",icon:h.jsx(fF,{}),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"}})})]})})},MW=({iconDefault:e,iconHover:t,isActive:n})=>{const[r,i]=b.useState(!1);return h.jsx("span",{onMouseEnter:()=>i(!0),onMouseLeave:()=>i(!1),style:{display:"inline-flex"},children:n||r?t:e})},DW=({color:e,menuOptions:t,currentUrl:n,...r})=>{const i=["hub","play","elevate","assist","talent","ad","collect","localhost"],a=`sidebarOpen_${window.location.hostname.split(".").find(g=>i.includes(g))||"default"}`,[s,l]=b.useState(()=>{const f=localStorage.getItem(a);return f===null?(localStorage.setItem(a,"true"),!0):f==="true"}),c=e||mn.primary[400],u=E1(mn,`${c.split(".")[0]}.300`),d=()=>{l(f=>(localStorage.setItem(a,String(!f)),!f))};return h.jsx(Ke,{bg:mn.white[100],color:mn.black[400],borderRight:`1px solid ${mn.black[50]}`,minWidth:s?"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,...r,children:h.jsxs(_r,{align:"start",spacing:4,p:4,pt:"120px",position:"relative",children:[h.jsx(tn,{icon:s?h.jsx(YO,{boxSize:"24px"}):h.jsx(XO,{boxSize:"24px"}),onClick:d,position:"absolute",top:"125px",right:"-20px",size:"sm","aria-label":"Toggle Menu",bg:mn.white[100],color:mn.black[400],boxShadow:"md",zIndex:2,transition:"all 0.3s ease",_hover:{bg:u}}),t.map((f,p)=>h.jsxs(hn,{justifyContent:s?"flex-start":"center",width:"100%",variant:"ghost",color:mn.black[400],px:s?4:0,transition:"all 0.3s ease",iconSpacing:s?2:0,display:"flex",alignItems:"center",_hover:{svg:{color:c},"> p":{fontWeight:"bold"}},_active:{svg:{color:c},"> p":{fontWeight:"bold"}},onClick:()=>f.onClick(),isActive:n===f.url,children:[h.jsx(MW,{iconDefault:f.icon,iconHover:f.iconHover,isActive:n===f.url}),s&&h.jsx(qe,{ml:2,fontWeight:n===f.url?"bold":"normal",transition:"font-weight 0.3s ease",children:f.title})]},p))]})})},OW=({showTitle:e=!0,title:t="Delete user",fontSizeTitle:n="2xl",titleAlign:r="center",disableOverlay:i=!1,children:o,buttonAcceptTextColor:a="white.100",buttonAcceptVisible:s=!1,buttonAcceptBackground:l="primary.400",buttonCancelVisible:c=!1,buttonCancelBackground:u="white.100",buttonAcceptBorder:d="primary.600",buttonCancelBorder:f="primary.600",buttonCancelText:p="primary.600",backgroundColorModal:m="play.500",buttonAcceptDisable:g=!0,buttonCancelDisable:y=!1,isOpen:v,onClose:x=()=>{},maxWidth:w,isCenteredModal:E=!0,onAcceptClick:k=()=>{},onCancelClick:T=()=>{},onAcceptText:I="Aceptar",onCancelText:D="Cancelar",backgroundOverlayColor:$="rgba(0, 0, 0, 0.1)",hideCloseButton:P=!1,closeOnEsc:W=!0,closeOnOverlayClick:Z=!0,...ne})=>h.jsx(_r,{alignItems:"center",justifyContent:"center",...ne,children:h.jsxs(vs,{isOpen:v,onClose:x,isCentered:E,closeOnEsc:W,closeOnOverlayClick:Z,children:[h.jsx(ks,{display:i?"none":"block",opacity:i?.5:1,backgroundColor:$||"rgba(0, 0, 0, 0.1)"}),h.jsxs(xs,{borderRadius:"1rem",backgroundColor:m,maxWidth:w,children:[h.jsx(ws,{display:e?"block":"none",fontSize:n,textAlign:r,children:t}),h.jsx(C4,{_hover:{backgroundColor:"white.100"},hidden:P}),h.jsxs(Cs,{fontSize:"1rem",paddingTop:e?".5rem":"2.5rem",paddingBottom:"1rem",children:[o,h.jsxs(vt,{justifyContent:"center",marginTop:"1rem",children:[h.jsx(hn,{variant:"primary",border:"1px solid",borderColor:f,color:p,backgroundColor:u,disabled:y,display:c?"block":"none",onClick:()=>{T==null||T()},children:D}),h.jsx(hn,{variant:"secondary",backgroundColor:l,disabled:g,color:a,borderColor:d,display:s?"block":"none",marginLeft:"2.5rem",onClick:()=>{k==null||k()},_hover:{backgroundColor:g?l:"primary.500",color:g?a:"white"},children:I})]})]})]})]})});function FW(e){return pt({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 zW(e){return pt({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 LW=({items:e,colorIcon:t,onClickPinned:n,onClickConversation:r,onExpandedChange:i})=>{const[o,a]=b.useState(()=>e.map(l=>Array.isArray(l.content)?l.content.map(c=>c.is_pinned):[]));b.useEffect(()=>{a(l=>e.map((c,u)=>{if(!Array.isArray(c.content))return[];const d=l[u]||[];return c.content.map((f,p)=>p<d.length?d[p]:c.title==="Favorites"?!0:f.is_pinned)}))},[e]);const s=(l,c,u)=>{if(a(d=>{const f=[...d],p=[...f[l]],m=!p[c];return p[c]=m,f[l]=p,f}),n){const d=!o[l][c];n(u,d)}};return h.jsx(_r,{borderRadius:"1px",width:"100%",padding:".5rem",children:h.jsx(lg,{defaultIndex:[0],allowMultiple:!0,width:"100%",onChange:l=>{const c=Array.isArray(l)?l:[l],u=e.map((d,f)=>c.includes(f));i&&i(u)},children:e.map((l,c)=>!Array.isArray(l.content)||l.content.length===0?null:h.jsxs(dg,{border:"none",children:[h.jsx("h2",{children:h.jsxs(cg,{children:[h.jsx(Ke,{as:"span",flex:"1",textAlign:"left",fontSize:"1rem",lineHeight:"1.5rem",fontWeight:700,children:l.title}),h.jsx(ug,{boxSize:4})]})}),h.jsx(hg,{pb:4,textAlign:"left",children:h.jsx(Zl,{children:l.content.map((u,d)=>h.jsxs(D3,{display:"flex",alignItems:"center",fontFamily:"Lato",fontSize:"16px",fontWeight:400,margin:".5rem",justifyContent:"space-between",width:"95%",position:"relative",_hover:{".pin-icon":o[c][d]?{}:{visibility:"visible",opacity:1}},cursor:r?"pointer":"default",onClick:()=>{r&&r(u.id)},children:[u.title,t&&h.jsx(Ke,{className:"pin-icon",cursor:"pointer",visibility:o[c][d]?"visible":"hidden",opacity:o[c][d]?1:0,transition:"opacity 0.2s ease, visibility 0.2s ease",onClick:f=>{f.stopPropagation(),s(c,d,u.id)},children:h.jsx(O3,{as:o[c][d]?zW:FW,color:t,boxSize:6})})]},u.id))})})]},c))})})},$W=({items:e,navigation:t})=>{const n=(r,i)=>{i.startsWith("/")?(r.preventDefault(),t(i)):window.open(i,"_blank")};return h.jsxs(Ql,{children:[h.jsx(ec,{as:tn,"aria-label":"Options",icon:h.jsx(eF,{}),variant:"outline"}),h.jsx(tc,{children:e.map((r,i)=>h.jsx(Ro,{icon:r.icon,onClick:o=>n(o,r.link),className:"custom-menulist",fontSize:"1rem",lineHeight:"1.75rem",children:r.link.startsWith("http")?h.jsx("a",{href:r.link,target:"_blank",rel:"noopener noreferrer",children:r.option}):h.jsx(Hf,{href:r.link,children:r.option})},i))})]})},BW=({title:e="",isEditable:t=!0,placeholder:n="",size:r="md",onChange:i,textValue:o=""})=>{const[a,s]=b.useState(o);b.useEffect(()=>{t&&s(o)},[o,t]);const l=c=>{t&&s(c.target.value),i&&i(c)};return h.jsxs(_r,{align:"start",children:[h.jsx(qe,{fontSize:"1.875rem",fontWeight:"bold",color:"black.300",children:e}),h.jsx(uc,{border:"1px solid",borderColor:"black.100",borderRadius:".5rem",color:"black.600",isReadOnly:!t,value:t?a:o,onChange:l,placeholder:n,size:r,resize:"none",minHeight:"5rem",opacity:1,sx:{"::placeholder":{color:"black.100"},_focus:{borderColor:"black.100",boxShadow:"none"}}})]})};function RW(e){return pt({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 NW(e){return pt({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 VW=({type:e="progress"})=>{let t,n,r="#007edf";switch(e.toLowerCase()){case"progress":t=h.jsx(RW,{size:20,style:{color:r,marginRight:".5rem"}}),n="Procesando";break;case"ready":t=h.jsx(NW,{size:20,style:{color:"#21B06e",marginRight:".5rem"}}),n="Completado",r="#21B06e";break;case"failed":t=h.jsx(SF,{size:20,style:{color:"#ce0015",marginRight:".5rem"}}),n="Error",r="#ce0015";break;case"inactive":t=h.jsx(EW,{size:20,style:{color:"#666666",marginRight:".5rem",transform:"rotate(90deg)"}}),n="Inactivo",r="#666666";break}return h.jsx(_r,{children:h.jsxs(vt,{children:[t,h.jsx(qe,{color:r,fontWeight:"900",fontSize:"1rem",lineHeight:"1.375rem",children:n})]})})},WW=({value:e=50,size:t="sm",backgroundColor:n="black.40",status:r="loading"})=>{const i=`${e}%`,o={completed:"success.400",error:"danger.400",loading:"info.400"}[r]||"info.500";return h.jsxs(vt,{alignContent:"center",children:[h.jsx(vt,{maxWidth:"30rem",width:"100%",alignItems:"center",children:h.jsx(k4,{width:"100%",value:e,size:t,backgroundColor:n,borderRadius:".5rem",padding:".1rem",sx:{"& > div":{backgroundColor:o}}})}),h.jsx(qe,{fontWeight:"bold",fontSize:"1rem",marginLeft:"1.75rem",children:i})]})},HW=({items:e,colorBackground:t,colorTitle:n,colorOption:r})=>h.jsx(vt,{backgroundColor:t,width:"100%",borderTopLeftRadius:".75rem",borderTopRightRadius:".75rem",justifyContent:"space-around",children:e.map((i,o)=>h.jsxs(Ke,{maxWidth:"max-content",textAlign:"center",padding:"1rem",children:[h.jsx(qe,{color:n,fontSize:"1rem",fontWeight:"bold",children:i.title}),h.jsx(qe,{fontSize:"0.875rem",color:r,paddingTop:".25rem",children:i.option})]},o))}),UW=({text:e="Positive Ranking",value:t="1,302"})=>h.jsxs(Ke,{color:"black.600",maxWidth:"max-content",width:"100%",children:[h.jsx(qe,{fontSize:"1rem",children:e}),h.jsx(qe,{fontSize:"1.75rem",fontWeight:"bold",textAlign:"left",marginTop:"0.25rem",children:t})]}),qW=({backgroundColor:e="#fff",boxShadow:t="1px 1px 4px #d7d7d7",maxWidth:n="34.125rem",padding:r="1.5rem",borderRadius:i=".5rem",children:o,...a})=>h.jsx(Ke,{...a,backgroundColor:e,boxShadow:t,maxWidth:n,width:"100%",padding:r,borderRadius:i,children:o}),GW=({color:e})=>h.jsxs(Ke,{position:"relative",width:"89px",height:"89px",children:[h.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"89",height:"89",viewBox:"-10 -10 60 60",style:{display:"block"},children:[h.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"}}),h.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"}}),h.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"}}),h.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"}})]}),h.jsx("style",{children:`
|
|
401
433
|
@keyframes colorAnimation {
|
|
402
434
|
0% {
|
|
403
435
|
fill-opacity: 0.1; /* Comienza transparente */
|
|
@@ -409,4 +441,4 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
409
441
|
fill-opacity: 0.1; /* Se desvanece */
|
|
410
442
|
}
|
|
411
443
|
}
|
|
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 ue=he=>{const O=e==null?void 0:e.find(F=>F.value===he);if(O){const F=z.includes(O)?z.filter(G=>G.value!==O.value):[...z,O];X(F),n&&n(F)}},L=b.trim().split(" ");let Z="0",Y="0",N="0",ce="0";return L.length===4?(Z=L[0],Y=L[1],N=L[2],ce=L[3]):L.length===3?(Z=L[0],Y=ce=L[1],N=L[2]):L.length===2?(Z=N=L[0],ce=Y=L[1]):L.length===1?Z=Y=N=ce=L[0]:Z=Y=N=ce="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:Z,marginBottom:N,marginLeft:O===0&&p==="row"?"0":ce,marginRight:Y,isChecked:z.some(F=>F.value===he.value),onChange:()=>ue(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"})});
|
|
444
|
+
`})]}),ZW=({color:e="elevate"})=>{const[t]=Wl("colors",[`${e}.500`]);return h.jsx(Ke,{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:h.jsx(GW,{color:t||"elevate.500"})})},KW=({options:e,selectedValue:t,onChange:n})=>h.jsx(kg,{isAttached:!0,variant:"outline",children:e.map(r=>h.jsxs(hn,{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 YW(e){return pt({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:"12",x2:"12",y1:"8",y2:"12"},child:[]},{tag:"line",attr:{x1:"12",x2:"12.01",y1:"16",y2:"16"},child:[]}]})(e)}function XW(e){return pt({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 JW=({state:e,duration:t="00:00",onClickPlayPause:n,onClickRecord:r,inactive:i=!1,buttonColor:o="primary.500"})=>{const a=Qa(),s=()=>{switch(e){case"idle":return XW;case"recording":return q4;case"playing":return bF;case"paused":case"stopped":default:return xF}},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=i?void 0:Yt(o,.7)(a),u=()=>{i||(e==="idle"||e==="recording"?r&&r():(e==="playing"||e==="paused")&&n())};return h.jsxs(Ke,{display:"flex",alignItems:"center",justifyContent:"space-between",padding:"2px 12px",borderRadius:"25px",bg:i?"gray.300":o,color:i?"gray.600":"white",cursor:i?"not-allowed":"pointer",_hover:{bg:c},width:"100%",onClick:u,children:[h.jsx(tn,{"aria-label":e==="recording"?"Recording":e==="idle"?"Start recording":e==="playing"?"Pause playback":"Play playback",icon:b.createElement(s()),isRound:!0,isDisabled:i,bg:"transparent",_hover:{bg:"transparent"},color:i?"gray.600":"white",fontSize:"20px"}),h.jsx(Ke,{display:"flex",justifyContent:"center",flex:"1",mx:"16px",alignItems:"center",children:e==="idle"?h.jsx(qe,{fontSize:"sm",fontWeight:"bold",color:"white",children:"Record your voice"}):e==="recording"?h.jsx(Ke,{display:"flex",gap:"2px",alignItems:"center",children:l.map((d,f)=>h.jsx(Ke,{width:"2px",height:`${d*3}px`,bg:"white",borderRadius:"1px",_hover:{bg:"gray.200"}},f))}):h.jsx(Ke,{display:"flex",gap:"2px",alignItems:"center",children:l.map((d,f)=>h.jsx(Ke,{width:"2px",height:`${d*3}px`,bg:"white",borderRadius:"1px",_hover:{bg:"gray.200"}},f))})}),h.jsx(qe,{fontSize:"sm",fontWeight:"bold",marginLeft:"8px",children:t})]})},QW=({options:e,selectedValue:t,onChange:n,tabWidth:r="150px",fullWidthTabs:i=!1,...o})=>h.jsx(B4,{...o,spacing:"0",justify:"center",width:i?"100%":"auto",children:e.map(a=>h.jsx(dp,{flex:i?"1":"none",width:i?"auto":r,children:h.jsxs(hn,{isActive:t===a.value,width:i?"100%":r,minWidth:i?"auto":r,flex:i?"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&&h.jsx(Ke,{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:h.jsx(Ke,{as:a.icon,boxSize:"100%"})}),a.label]})},a.value))}),eH=({isChecked:e,onChange:t,size:n="lg",colorScheme:r="success",labelPosition:i="left",isActive:o=!0,checkedLabel:a="",uncheckedLabel:s=""})=>{const[l,c]=b.useState(e),u=d=>{if(!o)return;const f=d.target.checked;c(f),t&&t(f)};return h.jsxs(Ke,{display:"flex",alignItems:"center",children:[h.jsx(Do,{htmlFor:"switch",mb:"0",order:i==="right"?1:0,mr:i==="right"?0:2,ml:i==="left"?0:2,children:l?a:s}),h.jsx(P4,{id:"switch",isChecked:l,onChange:u,size:n,colorScheme:r,isDisabled:!o})]})},tH=({availableTags:e,selectedTags:t=[],onTagChange:n,colorScheme:r="primary",colorSchemeNumber:i="400"})=>{const o=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 h.jsxs(_r,{align:"start",spacing:4,children:[h.jsx(qn,{spacing:2,wrap:"wrap",children:t.map(s=>h.jsxs(lp,{size:"lg",bg:`${r}.${i}`,color:"white",borderRadius:"full",children:[h.jsx(F4,{children:s}),h.jsx(L4,{onClick:()=>a(s)})]},s))}),h.jsx(qn,{spacing:2,wrap:"wrap",children:e.filter(s=>!t.includes(s)).map(s=>h.jsx(lp,{size:"lg",variant:"outline",colorScheme:r,cursor:"pointer",onClick:()=>o(s),children:s},s))})]})},nH=({items:e,selectedOptions:t=[],onCheckBoxChange:n,isFileUpload:r=!1,borderColor:i="gray.600",backgroundColor:o="gray.600",fontFamily:a="Lato",fontSize:s=".875rem",height:l="1rem",width:c="1rem",borderRadius:u="0.125rem",borderWidth:d="2px",directionOptions:f="column",spacingContentOptions:p=".5rem 0",spacingOptions:m=".5rem .5rem",title:g="Seleccionar proveedor",colorTitle:y="black.100",fontFamilyTitle:v="Lato",fontSizeTitle:x="1rem",alignTitle:w="left",marginTitle:E=".5rem 0",subtitle:k="Selecciona uno o varios de los siguientes proveedores para probar sus capacidades.",colorSubtitle:T="black.100",fontFamilySubtitle:I="Lato",fontSizeSubtitle:D="1rem",alignSubtitle:$="left"})=>{const[P,W]=b.useState(t);b.useEffect(()=>{r&&W(t)},[r,t]);const Z=he=>{const C=e==null?void 0:e.find(R=>R.value===he);if(C){const R=P.includes(C)?P.filter(J=>J.value!==C.value):[...P,C];W(R),n&&n(R)}},z=m.trim().split(" ");let q="0",X="0",N="0",ce="0";return z.length===4?(q=z[0],X=z[1],N=z[2],ce=z[3]):z.length===3?(q=z[0],X=ce=z[1],N=z[2]):z.length===2?(q=N=z[0],ce=X=z[1]):z.length===1?q=X=N=ce=z[0]:q=X=N=ce="0",h.jsxs(vt,{flexDirection:"column",alignItems:"flex-start",children:[h.jsx(qe,{color:y,fontFamily:v,fontSize:x,textAlign:w,margin:E,children:g}),h.jsx(qe,{color:T,fontFamily:I,fontSize:D,textAlign:$,children:k}),h.jsx(vt,{flexDirection:f,margin:p,children:e==null?void 0:e.map((he,C)=>h.jsx("div",{children:h.jsx(jg,{marginTop:q,marginBottom:N,marginLeft:C===0&&f==="row"?"0":ce,marginRight:X,isChecked:P.some(R=>R.value===he.value),onChange:()=>Z(he.value),value:he.value,fontFamily:a,fontSize:s,sx:{"& .chakra-checkbox__control":{borderColor:i,borderWidth:d,height:l,width:c,borderRadius:u},'& .chakra-checkbox__control[data-checked=""]':{backgroundColor:o,borderColor:i},'& .chakra-checkbox__control[data-checked=""]:hover':{backgroundColor:o,borderColor:i}},children:h.jsxs(vt,{alignItems:"center",children:[he.icon&&h.jsxs("span",{style:{marginRight:".5rem"},children:[" ",he.icon]})," ",he.name]})})},he.value))})]})},w5=br(M4),rH=({text1:e="",text2:t="",colorScheme:n="elevate.500",setOnChange:r,defaultIndex:i=0})=>{const o=a=>{r&&r(a)};return h.jsx(Ke,{bg:"gray.100",borderRadius:"md",boxShadow:"md",p:"3px",children:h.jsx(I4,{onChange:o,defaultIndex:i,isFitted:!0,variant:"unstyled",children:h.jsxs(D4,{display:"flex",gap:1,position:"relative",children:[h.jsx(w5,{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}),h.jsx(w5,{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})]})})})},iH=({isOpen:e,onClose:t,onConfirm:n,title:r,description:i,cancelText:o="Cancelar",confirmText:a="Salir",product:s="elevate"})=>h.jsxs(vs,{isOpen:e,onClose:t,isCentered:!0,children:[h.jsx(ks,{}),h.jsxs(xs,{position:"relative",bg:"white",p:"24px",borderRadius:"8px",minW:"450px",children:[h.jsx(tn,{"aria-label":"Cerrar modal",icon:h.jsx(Ss,{}),size:"sm",variant:"ghost",position:"absolute",top:3,right:3,onClick:t}),h.jsx(ws,{fontSize:"18px",fontFamily:"Body",children:r}),h.jsx(Cs,{children:h.jsx(qe,{fontFamily:"Lato",children:i})}),h.jsxs(cc,{display:"flex",justifyContent:"center",mt:"10px",children:[h.jsx(hn,{variant:"outline",color:`${s}.500`,borderColor:`${s}.500`,mr:12,onClick:t,children:o}),h.jsx(hn,{backgroundColor:`${s}.500`,color:"white",_hover:{backgroundColor:`${s}.600`},onClick:n,children:a})]})]})]}),oH=({height:e="40px",width:t="41px"})=>h.jsxs("svg",{width:t,height:e,viewBox:"0 0 41 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[h.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"}),h.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"})]}),aH=({height:e="28px",width:t="24px"})=>h.jsxs("svg",{width:t,height:e,viewBox:"0 0 24 28",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[h.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"}),h.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"}),h.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"}),h.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"}),h.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"}),h.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"}),h.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"})]}),sH=({isOpen:e,onClose:t,description:n,buttonText:r,product:i="elevate",onConfirm:o,children:a,secondButton:s=!1,optionalFunction:l,optionalButtonText:c})=>h.jsxs(vs,{isOpen:e,onClose:t,isCentered:!0,children:[h.jsx(ks,{}),h.jsxs(xs,{bg:"white",position:"relative",textAlign:"center",p:6,borderRadius:"8px",width:"auto",children:[h.jsx(tn,{"aria-label":"Cerrar modal",icon:h.jsx(Ss,{}),size:"sm",variant:"ghost",position:"absolute",top:3,right:3,onClick:t}),h.jsxs(vt,{direction:"column",align:"center",gap:0,children:[h.jsx(oH,{}),h.jsx(ws,{fontSize:"xl",fontWeight:"bold",color:"success.400",fontFamily:"Body",children:"¡Enhorabuena!"}),h.jsxs(Cs,{children:[h.jsxs(qn,{spacing:3,justifyContent:"center",children:[h.jsx(aH,{}),h.jsx(qe,{children:n})]}),h.jsx(qn,{spacing:3,justifyContent:"center",children:a})]}),h.jsxs(cc,{children:[s&&h.jsx(hn,{backgroundColor:"#fff",border:"1px solid",borderColor:`${i}.600`,color:`${i}.600`,onClick:l,_hover:{backgroundColor:"#fff"},marginRight:"1.5rem",children:c}),h.jsx(hn,{backgroundColor:`${i}.500`,color:"white",_hover:{backgroundColor:`${i}.600`},onClick:o,children:r})]})]})]})]}),lH=({isOpen:e,onClose:t,description:n,title:r,buttonText:i,onConfirm:o,children:a})=>h.jsxs(vs,{isOpen:e,onClose:t,isCentered:!0,children:[h.jsx(ks,{}),h.jsxs(xs,{bg:"white",position:"relative",textAlign:"center",p:4,width:"280px",boxShadow:"0px 2px 4px -1px rgba(0, 0, 0, 0.06), 0px 4px 6px -1px rgba(0, 0, 0, 0.1)",borderRadius:"lg",children:[h.jsx(tn,{"aria-label":"Cerrar modal",icon:h.jsx(Ss,{}),size:"sm",variant:"ghost",position:"absolute",top:3,right:3,onClick:t}),h.jsxs(vt,{direction:"column",align:"center",gap:0,children:[h.jsx(sn,{as:YW,boxSize:"42px",color:"danger.400"}),h.jsx(ws,{fontSize:"xl",fontWeight:"bold",color:"danger.400",fontFamily:"Lato-Bold",p:1,children:r}),h.jsxs(Cs,{p:1,mb:3,children:[h.jsx(qn,{spacing:3,justifyContent:"center",children:h.jsx(qe,{fontFamily:"Lato-Regular",color:"danger.400",children:n})}),h.jsx(qn,{spacing:3,justifyContent:"center",children:a})]}),h.jsx(cc,{p:1,children:h.jsx(Hf,{as:"button",color:"info.500",fontFamily:"lato-bold",style:{textDecoration:"underline"},_hover:{color:"info.600"},onClick:o,children:i})})]})]})]});Re.AccordionCustom=LW,Re.AudioButtons=JW,Re.Button=_F,Re.CanaiaProvider=ZO,Re.CardCustom=qW,Re.ChatAssistant=aW,Re.ChatInput=IW,Re.ChatUser=Iz,Re.CustomBox=HW,Re.CustomCheckBox=nH,Re.CustomProgressBar=WW,Re.DragAndDrop=Sz,Re.Header=jW,Re.Input=_z,Re.InputPhone=Az,Re.MenuListCustom=$W,Re.MetricCustom=UW,Re.ModalCustom=OW,Re.ModalFeedback=iH,Re.MultiInput=jz,Re.NegativeModal=lH,Re.PhotoUpload=PF,Re.PositiveModal=sH,Re.SegmentedControl=KW,Re.Select=tF,Re.SideBar=DW,Re.Spinner=ZW,Re.StatusCustom=VW,Re.Steps=AF,Re.SwitchCustom=eH,Re.Tabs=QW,Re.TabsOptions=rH,Re.TagSelector=tH,Re.Text=Tz,Re.TextareaCustom=BW,Re.Toast=yy,Re.useCustomToast=vy,Object.defineProperty(Re,Symbol.toStringTag,{value:"Module"})});
|