globalfy-design-system 0.71.0 → 0.73.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
- (function(xe,f){typeof exports=="object"&&typeof module<"u"?f(exports,require("react"),require("react-dom")):typeof define=="function"&&define.amd?define(["exports","react","react-dom"],f):(xe=typeof globalThis<"u"?globalThis:xe||self,f(xe["Globalfy Design System"]={},xe.React,xe.$k7QOs$reactdom))})(this,function(xe,f,$n){"use strict";function Mc(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:()=>e[r]})}}return t.default=e,Object.freeze(t)}const W=Mc(f),Th=Mc($n);var gs={exports:{}},Dn={};/**
1
+ (function(Ee,f){typeof exports=="object"&&typeof module<"u"?f(exports,require("react"),require("react-dom")):typeof define=="function"&&define.amd?define(["exports","react","react-dom"],f):(Ee=typeof globalThis<"u"?globalThis:Ee||self,f(Ee["Globalfy Design System"]={},Ee.React,Ee.$k7QOs$reactdom))})(this,function(Ee,f,mr){"use strict";function ud(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 V=ud(f),Gb=ud(mr);var ys={exports:{}},eo={};/**
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 Sc;function Eh(){if(Sc)return Dn;Sc=1;var e=f,t=Symbol.for("react.element"),r=Symbol.for("react.fragment"),n=Object.prototype.hasOwnProperty,o=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,a={key:!0,ref:!0,__self:!0,__source:!0};function s(i,l,c){var u,d={},p=null,h=null;c!==void 0&&(p=""+c),l.key!==void 0&&(p=""+l.key),l.ref!==void 0&&(h=l.ref);for(u in l)n.call(l,u)&&!a.hasOwnProperty(u)&&(d[u]=l[u]);if(i&&i.defaultProps)for(u in l=i.defaultProps,l)d[u]===void 0&&(d[u]=l[u]);return{$$typeof:t,type:i,key:p,ref:h,props:d,_owner:o.current}}return Dn.Fragment=r,Dn.jsx=s,Dn.jsxs=s,Dn}var kn={};/**
9
+ */var cd;function Rb(){if(cd)return eo;cd=1;var e=f,t=Symbol.for("react.element"),n=Symbol.for("react.fragment"),r=Object.prototype.hasOwnProperty,o=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,a={key:!0,ref:!0,__self:!0,__source:!0};function i(s,l,u){var c,d={},p=null,m=null;u!==void 0&&(p=""+u),l.key!==void 0&&(p=""+l.key),l.ref!==void 0&&(m=l.ref);for(c in l)r.call(l,c)&&!a.hasOwnProperty(c)&&(d[c]=l[c]);if(s&&s.defaultProps)for(c in l=s.defaultProps,l)d[c]===void 0&&(d[c]=l[c]);return{$$typeof:t,type:s,key:p,ref:m,props:d,_owner:o.current}}return eo.Fragment=n,eo.jsx=i,eo.jsxs=i,eo}var to={};/**
10
10
  * @license React
11
11
  * react-jsx-runtime.development.js
12
12
  *
@@ -14,65 +14,65 @@
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 Tc;function $h(){return Tc||(Tc=1,process.env.NODE_ENV!=="production"&&function(){var e=f,t=Symbol.for("react.element"),r=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),s=Symbol.for("react.provider"),i=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"),p=Symbol.for("react.lazy"),h=Symbol.for("react.offscreen"),g=Symbol.iterator,v="@@iterator";function b(y){if(y===null||typeof y!="object")return null;var j=g&&y[g]||y[v];return typeof j=="function"?j:null}var P=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function x(y){{for(var j=arguments.length,V=new Array(j>1?j-1:0),H=1;H<j;H++)V[H-1]=arguments[H];w("error",y,V)}}function w(y,j,V){{var H=P.ReactDebugCurrentFrame,re=H.getStackAddendum();re!==""&&(j+="%s",V=V.concat([re]));var oe=V.map(function(J){return String(J)});oe.unshift("Warning: "+j),Function.prototype.apply.call(console[y],console,oe)}}var T=!1,$=!1,E=!1,A=!1,m=!1,k;k=Symbol.for("react.module.reference");function I(y){return!!(typeof y=="string"||typeof y=="function"||y===n||y===a||m||y===o||y===c||y===u||A||y===h||T||$||E||typeof y=="object"&&y!==null&&(y.$$typeof===p||y.$$typeof===d||y.$$typeof===s||y.$$typeof===i||y.$$typeof===l||y.$$typeof===k||y.getModuleId!==void 0))}function S(y,j,V){var H=y.displayName;if(H)return H;var re=j.displayName||j.name||"";return re!==""?V+"("+re+")":V}function N(y){return y.displayName||"Context"}function C(y){if(y==null)return null;if(typeof y.tag=="number"&&x("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof y=="function")return y.displayName||y.name||null;if(typeof y=="string")return y;switch(y){case n:return"Fragment";case r:return"Portal";case a:return"Profiler";case o:return"StrictMode";case c:return"Suspense";case u:return"SuspenseList"}if(typeof y=="object")switch(y.$$typeof){case i:var j=y;return N(j)+".Consumer";case s:var V=y;return N(V._context)+".Provider";case l:return S(y,y.render,"ForwardRef");case d:var H=y.displayName||null;return H!==null?H:C(y.type)||"Memo";case p:{var re=y,oe=re._payload,J=re._init;try{return C(J(oe))}catch{return null}}}return null}var M=Object.assign,O=0,_,D,z,X,G,U,F;function B(){}B.__reactDisabledLog=!0;function q(){{if(O===0){_=console.log,D=console.info,z=console.warn,X=console.error,G=console.group,U=console.groupCollapsed,F=console.groupEnd;var y={configurable:!0,enumerable:!0,value:B,writable:!0};Object.defineProperties(console,{info:y,log:y,warn:y,error:y,group:y,groupCollapsed:y,groupEnd:y})}O++}}function K(){{if(O--,O===0){var y={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:M({},y,{value:_}),info:M({},y,{value:D}),warn:M({},y,{value:z}),error:M({},y,{value:X}),group:M({},y,{value:G}),groupCollapsed:M({},y,{value:U}),groupEnd:M({},y,{value:F})})}O<0&&x("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var Q=P.ReactCurrentDispatcher,ne;function le(y,j,V){{if(ne===void 0)try{throw Error()}catch(re){var H=re.stack.trim().match(/\n( *(at )?)/);ne=H&&H[1]||""}return`
18
- `+ne+y}}var ce=!1,ue;{var ge=typeof WeakMap=="function"?WeakMap:Map;ue=new ge}function Se(y,j){if(!y||ce)return"";{var V=ue.get(y);if(V!==void 0)return V}var H;ce=!0;var re=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var oe;oe=Q.current,Q.current=null,q();try{if(j){var J=function(){throw Error()};if(Object.defineProperty(J.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(J,[])}catch(We){H=We}Reflect.construct(y,[],J)}else{try{J.call()}catch(We){H=We}y.call(J.prototype)}}else{try{throw Error()}catch(We){H=We}y()}}catch(We){if(We&&H&&typeof We.stack=="string"){for(var Z=We.stack.split(`
19
- `),Pe=H.stack.split(`
20
- `),pe=Z.length-1,me=Pe.length-1;pe>=1&&me>=0&&Z[pe]!==Pe[me];)me--;for(;pe>=1&&me>=0;pe--,me--)if(Z[pe]!==Pe[me]){if(pe!==1||me!==1)do if(pe--,me--,me<0||Z[pe]!==Pe[me]){var Oe=`
21
- `+Z[pe].replace(" at new "," at ");return y.displayName&&Oe.includes("<anonymous>")&&(Oe=Oe.replace("<anonymous>",y.displayName)),typeof y=="function"&&ue.set(y,Oe),Oe}while(pe>=1&&me>=0);break}}}finally{ce=!1,Q.current=oe,K(),Error.prepareStackTrace=re}var pt=y?y.displayName||y.name:"",Wo=pt?le(pt):"";return typeof y=="function"&&ue.set(y,Wo),Wo}function Te(y,j,V){return Se(y,!1)}function se(y){var j=y.prototype;return!!(j&&j.isReactComponent)}function te(y,j,V){if(y==null)return"";if(typeof y=="function")return Se(y,se(y));if(typeof y=="string")return le(y);switch(y){case c:return le("Suspense");case u:return le("SuspenseList")}if(typeof y=="object")switch(y.$$typeof){case l:return Te(y.render);case d:return te(y.type,j,V);case p:{var H=y,re=H._payload,oe=H._init;try{return te(oe(re),j,V)}catch{}}}return""}var je=Object.prototype.hasOwnProperty,Fe={},Ve=P.ReactDebugCurrentFrame;function Ie(y){if(y){var j=y._owner,V=te(y.type,y._source,j?j.type:null);Ve.setExtraStackFrame(V)}else Ve.setExtraStackFrame(null)}function Nt(y,j,V,H,re){{var oe=Function.call.bind(je);for(var J in y)if(oe(y,J)){var Z=void 0;try{if(typeof y[J]!="function"){var Pe=Error((H||"React class")+": "+V+" type `"+J+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof y[J]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw Pe.name="Invariant Violation",Pe}Z=y[J](j,J,H,V,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(pe){Z=pe}Z&&!(Z instanceof Error)&&(Ie(re),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).",H||"React class",V,J,typeof Z),Ie(null)),Z instanceof Error&&!(Z.message in Fe)&&(Fe[Z.message]=!0,Ie(re),x("Failed %s type: %s",V,Z.message),Ie(null))}}}var vt=Array.isArray;function rt(y){return vt(y)}function Wr(y){{var j=typeof Symbol=="function"&&Symbol.toStringTag,V=j&&y[Symbol.toStringTag]||y.constructor.name||"Object";return V}}function Qe(y){try{return Xe(y),!1}catch{return!0}}function Xe(y){return""+y}function Br(y){if(Qe(y))return x("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Wr(y)),Xe(y)}var Ce=P.ReactCurrentOwner,$o={key:!0,ref:!0,__self:!0,__source:!0},Kr,Rr,Qt;Qt={};function Do(y){if(je.call(y,"ref")){var j=Object.getOwnPropertyDescriptor(y,"ref").get;if(j&&j.isReactWarning)return!1}return y.ref!==void 0}function ko(y){if(je.call(y,"key")){var j=Object.getOwnPropertyDescriptor(y,"key").get;if(j&&j.isReactWarning)return!1}return y.key!==void 0}function Io(y,j){if(typeof y.ref=="string"&&Ce.current&&j&&Ce.current.stateNode!==j){var V=C(Ce.current.type);Qt[V]||(x('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',C(Ce.current.type),y.ref),Qt[V]=!0)}}function Ao(y,j){{var V=function(){Kr||(Kr=!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)",j))};V.isReactWarning=!0,Object.defineProperty(y,"key",{get:V,configurable:!0})}}function No(y,j){{var V=function(){Rr||(Rr=!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)",j))};V.isReactWarning=!0,Object.defineProperty(y,"ref",{get:V,configurable:!0})}}var Oo=function(y,j,V,H,re,oe,J){var Z={$$typeof:t,type:y,key:j,ref:V,props:J,_owner:oe};return Z._store={},Object.defineProperty(Z._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(Z,"_self",{configurable:!1,enumerable:!1,writable:!1,value:H}),Object.defineProperty(Z,"_source",{configurable:!1,enumerable:!1,writable:!1,value:re}),Object.freeze&&(Object.freeze(Z.props),Object.freeze(Z)),Z};function he(y,j,V,H,re){{var oe,J={},Z=null,Pe=null;V!==void 0&&(Br(V),Z=""+V),ko(j)&&(Br(j.key),Z=""+j.key),Do(j)&&(Pe=j.ref,Io(j,re));for(oe in j)je.call(j,oe)&&!$o.hasOwnProperty(oe)&&(J[oe]=j[oe]);if(y&&y.defaultProps){var pe=y.defaultProps;for(oe in pe)J[oe]===void 0&&(J[oe]=pe[oe])}if(Z||Pe){var me=typeof y=="function"?y.displayName||y.name||"Unknown":y;Z&&Ao(J,me),Pe&&No(J,me)}return Oo(y,Z,Pe,re,H,Ce.current,J)}}var dt=P.ReactCurrentOwner,jo=P.ReactDebugCurrentFrame;function ft(y){if(y){var j=y._owner,V=te(y.type,y._source,j?j.type:null);jo.setExtraStackFrame(V)}else jo.setExtraStackFrame(null)}var Ur;Ur=!1;function Gr(y){return typeof y=="object"&&y!==null&&y.$$typeof===t}function Lo(){{if(dt.current){var y=C(dt.current.type);if(y)return`
17
+ */var dd;function zb(){return dd||(dd=1,process.env.NODE_ENV!=="production"&&function(){var e=f,t=Symbol.for("react.element"),n=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),i=Symbol.for("react.provider"),s=Symbol.for("react.context"),l=Symbol.for("react.forward_ref"),u=Symbol.for("react.suspense"),c=Symbol.for("react.suspense_list"),d=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),m=Symbol.for("react.offscreen"),h=Symbol.iterator,g="@@iterator";function b(C){if(C===null||typeof C!="object")return null;var L=h&&C[h]||C[g];return typeof L=="function"?L:null}var x=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function y(C){{for(var L=arguments.length,_=new Array(L>1?L-1:0),U=1;U<L;U++)_[U-1]=arguments[U];w("error",C,_)}}function w(C,L,_){{var U=x.ReactDebugCurrentFrame,oe=U.getStackAddendum();oe!==""&&(L+="%s",_=_.concat([oe]));var se=_.map(function(te){return String(te)});se.unshift("Warning: "+L),Function.prototype.apply.call(console[C],console,se)}}var S=!1,P=!1,A=!1,T=!1,v=!1,D;D=Symbol.for("react.module.reference");function $(C){return!!(typeof C=="string"||typeof C=="function"||C===r||C===a||v||C===o||C===u||C===c||T||C===m||S||P||A||typeof C=="object"&&C!==null&&(C.$$typeof===p||C.$$typeof===d||C.$$typeof===i||C.$$typeof===s||C.$$typeof===l||C.$$typeof===D||C.getModuleId!==void 0))}function M(C,L,_){var U=C.displayName;if(U)return U;var oe=L.displayName||L.name||"";return oe!==""?_+"("+oe+")":_}function k(C){return C.displayName||"Context"}function I(C){if(C==null)return null;if(typeof C.tag=="number"&&y("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof C=="function")return C.displayName||C.name||null;if(typeof C=="string")return C;switch(C){case r:return"Fragment";case n:return"Portal";case a:return"Profiler";case o:return"StrictMode";case u:return"Suspense";case c:return"SuspenseList"}if(typeof C=="object")switch(C.$$typeof){case s:var L=C;return k(L)+".Consumer";case i:var _=C;return k(_._context)+".Provider";case l:return M(C,C.render,"ForwardRef");case d:var U=C.displayName||null;return U!==null?U:I(C.type)||"Memo";case p:{var oe=C,se=oe._payload,te=oe._init;try{return I(te(se))}catch{return null}}}return null}var E=Object.assign,O=0,j,N,W,K,H,X,B;function G(){}G.__reactDisabledLog=!0;function Y(){{if(O===0){j=console.log,N=console.info,W=console.warn,K=console.error,H=console.group,X=console.groupCollapsed,B=console.groupEnd;var C={configurable:!0,enumerable:!0,value:G,writable:!0};Object.defineProperties(console,{info:C,log:C,warn:C,error:C,group:C,groupCollapsed:C,groupEnd:C})}O++}}function R(){{if(O--,O===0){var C={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:E({},C,{value:j}),info:E({},C,{value:N}),warn:E({},C,{value:W}),error:E({},C,{value:K}),group:E({},C,{value:H}),groupCollapsed:E({},C,{value:X}),groupEnd:E({},C,{value:B})})}O<0&&y("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var Z=x.ReactCurrentDispatcher,q;function ae(C,L,_){{if(q===void 0)try{throw Error()}catch(oe){var U=oe.stack.trim().match(/\n( *(at )?)/);q=U&&U[1]||""}return`
18
+ `+q+C}}var le=!1,pe;{var be=typeof WeakMap=="function"?WeakMap:Map;pe=new be}function Q(C,L){if(!C||le)return"";{var _=pe.get(C);if(_!==void 0)return _}var U;le=!0;var oe=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var se;se=Z.current,Z.current=null,Y();try{if(L){var te=function(){throw Error()};if(Object.defineProperty(te.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(te,[])}catch(Ke){U=Ke}Reflect.construct(C,[],te)}else{try{te.call()}catch(Ke){U=Ke}C.call(te.prototype)}}else{try{throw Error()}catch(Ke){U=Ke}C()}}catch(Ke){if(Ke&&U&&typeof Ke.stack=="string"){for(var ee=Ke.stack.split(`
19
+ `),De=U.stack.split(`
20
+ `),ve=ee.length-1,Ce=De.length-1;ve>=1&&Ce>=0&&ee[ve]!==De[Ce];)Ce--;for(;ve>=1&&Ce>=0;ve--,Ce--)if(ee[ve]!==De[Ce]){if(ve!==1||Ce!==1)do if(ve--,Ce--,Ce<0||ee[ve]!==De[Ce]){var _e=`
21
+ `+ee[ve].replace(" at new "," at ");return C.displayName&&_e.includes("<anonymous>")&&(_e=_e.replace("<anonymous>",C.displayName)),typeof C=="function"&&pe.set(C,_e),_e}while(ve>=1&&Ce>=0);break}}}finally{le=!1,Z.current=se,R(),Error.prepareStackTrace=oe}var St=C?C.displayName||C.name:"",xa=St?ae(St):"";return typeof C=="function"&&pe.set(C,xa),xa}function Pe(C,L,_){return Q(C,!1)}function ie(C){var L=C.prototype;return!!(L&&L.isReactComponent)}function ne(C,L,_){if(C==null)return"";if(typeof C=="function")return Q(C,ie(C));if(typeof C=="string")return ae(C);switch(C){case u:return ae("Suspense");case c:return ae("SuspenseList")}if(typeof C=="object")switch(C.$$typeof){case l:return Pe(C.render);case d:return ne(C.type,L,_);case p:{var U=C,oe=U._payload,se=U._init;try{return ne(se(oe),L,_)}catch{}}}return""}var Ge=Object.prototype.hasOwnProperty,Xe={},Ze=x.ReactDebugCurrentFrame;function je(C){if(C){var L=C._owner,_=ne(C.type,C._source,L?L.type:null);Ze.setExtraStackFrame(_)}else Ze.setExtraStackFrame(null)}function Kt(C,L,_,U,oe){{var se=Function.call.bind(Ge);for(var te in C)if(se(C,te)){var ee=void 0;try{if(typeof C[te]!="function"){var De=Error((U||"React class")+": "+_+" type `"+te+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof C[te]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw De.name="Invariant Violation",De}ee=C[te](L,te,U,_,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(ve){ee=ve}ee&&!(ee instanceof Error)&&(je(oe),y("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",U||"React class",_,te,typeof ee),je(null)),ee instanceof Error&&!(ee.message in Xe)&&(Xe[ee.message]=!0,je(oe),y("Failed %s type: %s",_,ee.message),je(null))}}}var Dt=Array.isArray;function mt(C){return Dt(C)}function lr(C){{var L=typeof Symbol=="function"&&Symbol.toStringTag,_=L&&C[Symbol.toStringTag]||C.constructor.name||"Object";return _}}function st(C){try{return lt(C),!1}catch{return!0}}function lt(C){return""+C}function ur(C){if(st(C))return y("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",lr(C)),lt(C)}var Me=x.ReactCurrentOwner,sa={key:!0,ref:!0,__self:!0,__source:!0},cr,dr,gn;gn={};function la(C){if(Ge.call(C,"ref")){var L=Object.getOwnPropertyDescriptor(C,"ref").get;if(L&&L.isReactWarning)return!1}return C.ref!==void 0}function ua(C){if(Ge.call(C,"key")){var L=Object.getOwnPropertyDescriptor(C,"key").get;if(L&&L.isReactWarning)return!1}return C.key!==void 0}function ca(C,L){if(typeof C.ref=="string"&&Me.current&&L&&Me.current.stateNode!==L){var _=I(Me.current.type);gn[_]||(y('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',I(Me.current.type),C.ref),gn[_]=!0)}}function da(C,L){{var _=function(){cr||(cr=!0,y("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",L))};_.isReactWarning=!0,Object.defineProperty(C,"key",{get:_,configurable:!0})}}function fa(C,L){{var _=function(){dr||(dr=!0,y("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",L))};_.isReactWarning=!0,Object.defineProperty(C,"ref",{get:_,configurable:!0})}}var pa=function(C,L,_,U,oe,se,te){var ee={$$typeof:t,type:C,key:L,ref:_,props:te,_owner:se};return ee._store={},Object.defineProperty(ee._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(ee,"_self",{configurable:!1,enumerable:!1,writable:!1,value:U}),Object.defineProperty(ee,"_source",{configurable:!1,enumerable:!1,writable:!1,value:oe}),Object.freeze&&(Object.freeze(ee.props),Object.freeze(ee)),ee};function xe(C,L,_,U,oe){{var se,te={},ee=null,De=null;_!==void 0&&(ur(_),ee=""+_),ua(L)&&(ur(L.key),ee=""+L.key),la(L)&&(De=L.ref,ca(L,oe));for(se in L)Ge.call(L,se)&&!sa.hasOwnProperty(se)&&(te[se]=L[se]);if(C&&C.defaultProps){var ve=C.defaultProps;for(se in ve)te[se]===void 0&&(te[se]=ve[se])}if(ee||De){var Ce=typeof C=="function"?C.displayName||C.name||"Unknown":C;ee&&da(te,Ce),De&&fa(te,Ce)}return pa(C,ee,De,oe,U,Me.current,te)}}var Et=x.ReactCurrentOwner,ma=x.ReactDebugCurrentFrame;function Pt(C){if(C){var L=C._owner,_=ne(C.type,C._source,L?L.type:null);ma.setExtraStackFrame(_)}else ma.setExtraStackFrame(null)}var fr;fr=!1;function pr(C){return typeof C=="object"&&C!==null&&C.$$typeof===t}function ha(){{if(Et.current){var C=I(Et.current.type);if(C)return`
22
22
 
23
- Check the render method of \``+y+"`."}return""}}function gc(y){{if(y!==void 0){var j=y.fileName.replace(/^.*[\\\/]/,""),V=y.lineNumber;return`
23
+ Check the render method of \``+C+"`."}return""}}function td(C){{if(C!==void 0){var L=C.fileName.replace(/^.*[\\\/]/,""),_=C.lineNumber;return`
24
24
 
25
- Check your code at `+j+":"+V+"."}return""}}var _o={};function vc(y){{var j=Lo();if(!j){var V=typeof y=="string"?y:y.displayName||y.name;V&&(j=`
25
+ Check your code at `+L+":"+_+"."}return""}}var ga={};function nd(C){{var L=ha();if(!L){var _=typeof C=="string"?C:C.displayName||C.name;_&&(L=`
26
26
 
27
- Check the top-level render call using <`+V+">.")}return j}}function Fo(y,j){{if(!y._store||y._store.validated||y.key!=null)return;y._store.validated=!0;var V=vc(j);if(_o[V])return;_o[V]=!0;var H="";y&&y._owner&&y._owner!==dt.current&&(H=" It was passed a child from "+C(y._owner.type)+"."),ft(y),x('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',V,H),ft(null)}}function Vo(y,j){{if(typeof y!="object")return;if(rt(y))for(var V=0;V<y.length;V++){var H=y[V];Gr(H)&&Fo(H,j)}else if(Gr(y))y._store&&(y._store.validated=!0);else if(y){var re=b(y);if(typeof re=="function"&&re!==y.entries)for(var oe=re.call(y),J;!(J=oe.next()).done;)Gr(J.value)&&Fo(J.value,j)}}}function bc(y){{var j=y.type;if(j==null||typeof j=="string")return;var V;if(typeof j=="function")V=j.propTypes;else if(typeof j=="object"&&(j.$$typeof===l||j.$$typeof===d))V=j.propTypes;else return;if(V){var H=C(j);Nt(V,y.props,"prop",H,y)}else if(j.PropTypes!==void 0&&!Ur){Ur=!0;var re=C(j);x("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",re||"Unknown")}typeof j.getDefaultProps=="function"&&!j.getDefaultProps.isReactClassApproved&&x("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function yc(y){{for(var j=Object.keys(y.props),V=0;V<j.length;V++){var H=j[V];if(H!=="children"&&H!=="key"){ft(y),x("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",H),ft(null);break}}y.ref!==null&&(ft(y),x("Invalid attribute `ref` supplied to `React.Fragment`."),ft(null))}}function zo(y,j,V,H,re,oe){{var J=I(y);if(!J){var Z="";(y===void 0||typeof y=="object"&&y!==null&&Object.keys(y).length===0)&&(Z+=" 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 Pe=gc(re);Pe?Z+=Pe:Z+=Lo();var pe;y===null?pe="null":rt(y)?pe="array":y!==void 0&&y.$$typeof===t?(pe="<"+(C(y.type)||"Unknown")+" />",Z=" Did you accidentally export a JSX literal instead of a component?"):pe=typeof y,x("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",pe,Z)}var me=he(y,j,V,re,oe);if(me==null)return me;if(J){var Oe=j.children;if(Oe!==void 0)if(H)if(rt(Oe)){for(var pt=0;pt<Oe.length;pt++)Vo(Oe[pt],y);Object.freeze&&Object.freeze(Oe)}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 Vo(Oe,y)}return y===n?yc(me):bc(me),me}}function xc(y,j,V){return zo(y,j,V,!0)}function wc(y,j,V){return zo(y,j,V,!1)}var Cc=wc,Pc=xc;kn.Fragment=n,kn.jsx=Cc,kn.jsxs=Pc}()),kn}process.env.NODE_ENV==="production"?gs.exports=Eh():gs.exports=$h();var L=gs.exports,Ec=e=>typeof e=="boolean"?`${e}`:e===0?"0":e,Ue=e=>!e||typeof e!="object"||Object.keys(e).length===0,Dh=(e,t)=>JSON.stringify(e)===JSON.stringify(t);function $c(e,t){e.forEach(function(r){Array.isArray(r)?$c(r,t):t.push(r)})}function Dc(e){let t=[];return $c(e,t),t}var kh=(...e)=>Dc(e).filter(Boolean),kc=(e,t)=>{let r={},n=Object.keys(e),o=Object.keys(t);for(let a of n)if(o.includes(a)){let s=e[a],i=t[a];typeof s=="object"&&typeof i=="object"?r[a]=kc(s,i):r[a]=i+" "+s}else r[a]=e[a];for(let a of o)n.includes(a)||(r[a]=t[a]);return r},Ic=e=>!e||typeof e!="string"?e:e.replace(/\s+/g," ").trim();function Ih(){for(var e=0,t,r,n="";e<arguments.length;)(t=arguments[e++])&&(r=Ac(t))&&(n&&(n+=" "),n+=r);return n}function Ac(e){if(typeof e=="string")return e;for(var t,r="",n=0;n<e.length;n++)e[n]&&(t=Ac(e[n]))&&(r&&(r+=" "),r+=t);return r}var vs="-";function Ah(e){var t=Oh(e),r=e.conflictingClassGroups,n=e.conflictingClassGroupModifiers,o=n===void 0?{}:n;function a(i){var l=i.split(vs);return l[0]===""&&l.length!==1&&l.shift(),Nc(l,t)||Nh(i)}function s(i,l){var c=r[i]||[];return l&&o[i]?[].concat(c,o[i]):c}return{getClassGroupId:a,getConflictingClassGroupIds:s}}function Nc(e,t){var s;if(e.length===0)return t.classGroupId;var r=e[0],n=t.nextPart.get(r),o=n?Nc(e.slice(1),n):void 0;if(o)return o;if(t.validators.length!==0){var a=e.join(vs);return(s=t.validators.find(function(i){var l=i.validator;return l(a)}))==null?void 0:s.classGroupId}}var Oc=/^\[(.+)\]$/;function Nh(e){if(Oc.test(e)){var t=Oc.exec(e)[1],r=t==null?void 0:t.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}}function Oh(e){var t=e.theme,r=e.prefix,n={nextPart:new Map,validators:[]},o=Lh(Object.entries(e.classGroups),r);return o.forEach(function(a){var s=a[0],i=a[1];bs(i,n,s,t)}),n}function bs(e,t,r,n){e.forEach(function(o){if(typeof o=="string"){var a=o===""?t:jc(t,o);a.classGroupId=r;return}if(typeof o=="function"){if(jh(o)){bs(o(n),t,r,n);return}t.validators.push({validator:o,classGroupId:r});return}Object.entries(o).forEach(function(s){var i=s[0],l=s[1];bs(l,jc(t,i),r,n)})})}function jc(e,t){var r=e;return t.split(vs).forEach(function(n){r.nextPart.has(n)||r.nextPart.set(n,{nextPart:new Map,validators:[]}),r=r.nextPart.get(n)}),r}function jh(e){return e.isThemeGetter}function Lh(e,t){return t?e.map(function(r){var n=r[0],o=r[1],a=o.map(function(s){return typeof s=="string"?t+s:typeof s=="object"?Object.fromEntries(Object.entries(s).map(function(i){var l=i[0],c=i[1];return[t+l,c]})):s});return[n,a]}):e}function _h(e){if(e<1)return{get:function(){},set:function(){}};var t=0,r=new Map,n=new Map;function o(a,s){r.set(a,s),t++,t>e&&(t=0,n=r,r=new Map)}return{get:function(s){var i=r.get(s);if(i!==void 0)return i;if((i=n.get(s))!==void 0)return o(s,i),i},set:function(s,i){r.has(s)?r.set(s,i):o(s,i)}}}var Lc="!";function Fh(e){var t=e.separator||":",r=t.length===1,n=t[0],o=t.length;return function(s){for(var i=[],l=0,c=0,u,d=0;d<s.length;d++){var p=s[d];if(l===0){if(p===n&&(r||s.slice(d,d+o)===t)){i.push(s.slice(c,d)),c=d+o;continue}if(p==="/"){u=d;continue}}p==="["?l++:p==="]"&&l--}var h=i.length===0?s:s.substring(c),g=h.startsWith(Lc),v=g?h.substring(1):h,b=u&&u>c?u-c:void 0;return{modifiers:i,hasImportantModifier:g,baseClassName:v,maybePostfixModifierPosition:b}}}function Vh(e){if(e.length<=1)return e;var t=[],r=[];return e.forEach(function(n){var o=n[0]==="[";o?(t.push.apply(t,r.sort().concat([n])),r=[]):r.push(n)}),t.push.apply(t,r.sort()),t}function zh(e){return{cache:_h(e.cacheSize),splitModifiers:Fh(e),...Ah(e)}}var Wh=/\s+/;function Bh(e,t){var r=t.splitModifiers,n=t.getClassGroupId,o=t.getConflictingClassGroupIds,a=new Set;return e.trim().split(Wh).map(function(s){var i=r(s),l=i.modifiers,c=i.hasImportantModifier,u=i.baseClassName,d=i.maybePostfixModifierPosition,p=n(d?u.substring(0,d):u),h=!!d;if(!p){if(!d)return{isTailwindClass:!1,originalClassName:s};if(p=n(u),!p)return{isTailwindClass:!1,originalClassName:s};h=!1}var g=Vh(l).join(":"),v=c?g+Lc:g;return{isTailwindClass:!0,modifierId:v,classGroupId:p,originalClassName:s,hasPostfixModifier:h}}).reverse().filter(function(s){if(!s.isTailwindClass)return!0;var i=s.modifierId,l=s.classGroupId,c=s.hasPostfixModifier,u=i+l;return a.has(u)?!1:(a.add(u),o(l,c).forEach(function(d){return a.add(i+d)}),!0)}).reverse().map(function(s){return s.originalClassName}).join(" ")}function ys(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n,o,a,s=i;function i(c){var u=t[0],d=t.slice(1),p=d.reduce(function(h,g){return g(h)},u());return n=zh(p),o=n.cache.get,a=n.cache.set,s=l,l(c)}function l(c){var u=o(c);if(u)return u;var d=Bh(c,n);return a(c,d),d}return function(){return s(Ih.apply(null,arguments))}}function Ae(e){var t=function(n){return n[e]||[]};return t.isThemeGetter=!0,t}var _c=/^\[(?:([a-z-]+):)?(.+)\]$/i,Kh=/^\d+\/\d+$/,Rh=new Set(["px","full","screen"]),Uh=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Gh=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,Hh=/^-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/;function bt(e){return hr(e)||Rh.has(e)||Kh.test(e)||xs(e)}function xs(e){return mr(e,"length",Jh)}function Yh(e){return mr(e,"size",Fc)}function qh(e){return mr(e,"position",Fc)}function Qh(e){return mr(e,"url",em)}function Bo(e){return mr(e,"number",hr)}function hr(e){return!Number.isNaN(Number(e))}function Xh(e){return e.endsWith("%")&&hr(e.slice(0,-1))}function In(e){return Vc(e)||mr(e,"number",Vc)}function be(e){return _c.test(e)}function An(){return!0}function Xt(e){return Uh.test(e)}function Zh(e){return mr(e,"",tm)}function mr(e,t,r){var n=_c.exec(e);return n?n[1]?n[1]===t:r(n[2]):!1}function Jh(e){return Gh.test(e)}function Fc(){return!1}function em(e){return e.startsWith("url(")}function Vc(e){return Number.isInteger(Number(e))}function tm(e){return Hh.test(e)}function ws(){var e=Ae("colors"),t=Ae("spacing"),r=Ae("blur"),n=Ae("brightness"),o=Ae("borderColor"),a=Ae("borderRadius"),s=Ae("borderSpacing"),i=Ae("borderWidth"),l=Ae("contrast"),c=Ae("grayscale"),u=Ae("hueRotate"),d=Ae("invert"),p=Ae("gap"),h=Ae("gradientColorStops"),g=Ae("gradientColorStopPositions"),v=Ae("inset"),b=Ae("margin"),P=Ae("opacity"),x=Ae("padding"),w=Ae("saturate"),T=Ae("scale"),$=Ae("sepia"),E=Ae("skew"),A=Ae("space"),m=Ae("translate"),k=function(){return["auto","contain","none"]},I=function(){return["auto","hidden","clip","visible","scroll"]},S=function(){return["auto",be,t]},N=function(){return[be,t]},C=function(){return["",bt]},M=function(){return["auto",hr,be]},O=function(){return["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"]},_=function(){return["solid","dashed","dotted","double","none"]},D=function(){return["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity","plus-lighter"]},z=function(){return["start","end","center","between","around","evenly","stretch"]},X=function(){return["","0",be]},G=function(){return["auto","avoid","all","avoid-page","page","left","right","column"]},U=function(){return[hr,Bo]},F=function(){return[hr,be]};return{cacheSize:500,theme:{colors:[An],spacing:[bt],blur:["none","",Xt,be],brightness:U(),borderColor:[e],borderRadius:["none","","full",Xt,be],borderSpacing:N(),borderWidth:C(),contrast:U(),grayscale:X(),hueRotate:F(),invert:X(),gap:N(),gradientColorStops:[e],gradientColorStopPositions:[Xh,xs],inset:S(),margin:S(),opacity:U(),padding:N(),saturate:U(),scale:U(),sepia:X(),skew:F(),space:N(),translate:N()},classGroups:{aspect:[{aspect:["auto","square","video",be]}],container:["container"],columns:[{columns:[Xt]}],"break-after":[{"break-after":G()}],"break-before":[{"break-before":G()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none"]}],clear:[{clear:["left","right","both","none"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[].concat(O(),[be])}],overflow:[{overflow:I()}],"overflow-x":[{"overflow-x":I()}],"overflow-y":[{"overflow-y":I()}],overscroll:[{overscroll:k()}],"overscroll-x":[{"overscroll-x":k()}],"overscroll-y":[{"overscroll-y":k()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[v]}],"inset-x":[{"inset-x":[v]}],"inset-y":[{"inset-y":[v]}],start:[{start:[v]}],end:[{end:[v]}],top:[{top:[v]}],right:[{right:[v]}],bottom:[{bottom:[v]}],left:[{left:[v]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",In]}],basis:[{basis:S()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",be]}],grow:[{grow:X()}],shrink:[{shrink:X()}],order:[{order:["first","last","none",In]}],"grid-cols":[{"grid-cols":[An]}],"col-start-end":[{col:["auto",{span:["full",In]},be]}],"col-start":[{"col-start":M()}],"col-end":[{"col-end":M()}],"grid-rows":[{"grid-rows":[An]}],"row-start-end":[{row:["auto",{span:[In]},be]}],"row-start":[{"row-start":M()}],"row-end":[{"row-end":M()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",be]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",be]}],gap:[{gap:[p]}],"gap-x":[{"gap-x":[p]}],"gap-y":[{"gap-y":[p]}],"justify-content":[{justify:["normal"].concat(z())}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal"].concat(z(),["baseline"])}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[].concat(z(),["baseline"])}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[x]}],px:[{px:[x]}],py:[{py:[x]}],ps:[{ps:[x]}],pe:[{pe:[x]}],pt:[{pt:[x]}],pr:[{pr:[x]}],pb:[{pb:[x]}],pl:[{pl:[x]}],m:[{m:[b]}],mx:[{mx:[b]}],my:[{my:[b]}],ms:[{ms:[b]}],me:[{me:[b]}],mt:[{mt:[b]}],mr:[{mr:[b]}],mb:[{mb:[b]}],ml:[{ml:[b]}],"space-x":[{"space-x":[A]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[A]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit",be,t]}],"min-w":[{"min-w":["min","max","fit",be,bt]}],"max-w":[{"max-w":["0","none","full","min","max","fit","prose",{screen:[Xt]},Xt,be]}],h:[{h:[be,t,"auto","min","max","fit"]}],"min-h":[{"min-h":["min","max","fit",be,bt]}],"max-h":[{"max-h":[be,t,"min","max","fit"]}],"font-size":[{text:["base",Xt,xs]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",Bo]}],"font-family":[{font:[An]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractons"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",be]}],"line-clamp":[{"line-clamp":["none",hr,Bo]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",be,bt]}],"list-image":[{"list-image":["none",be]}],"list-style-type":[{list:["none","disc","decimal",be]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[P]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[P]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[].concat(_(),["wavy"])}],"text-decoration-thickness":[{decoration:["auto","from-font",bt]}],"underline-offset":[{"underline-offset":["auto",be,bt]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],indent:[{indent:N()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",be]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",be]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[P]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[].concat(O(),[qh])}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",Yh]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},Qh]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[g]}],"gradient-via-pos":[{via:[g]}],"gradient-to-pos":[{to:[g]}],"gradient-from":[{from:[h]}],"gradient-via":[{via:[h]}],"gradient-to":[{to:[h]}],rounded:[{rounded:[a]}],"rounded-s":[{"rounded-s":[a]}],"rounded-e":[{"rounded-e":[a]}],"rounded-t":[{"rounded-t":[a]}],"rounded-r":[{"rounded-r":[a]}],"rounded-b":[{"rounded-b":[a]}],"rounded-l":[{"rounded-l":[a]}],"rounded-ss":[{"rounded-ss":[a]}],"rounded-se":[{"rounded-se":[a]}],"rounded-ee":[{"rounded-ee":[a]}],"rounded-es":[{"rounded-es":[a]}],"rounded-tl":[{"rounded-tl":[a]}],"rounded-tr":[{"rounded-tr":[a]}],"rounded-br":[{"rounded-br":[a]}],"rounded-bl":[{"rounded-bl":[a]}],"border-w":[{border:[i]}],"border-w-x":[{"border-x":[i]}],"border-w-y":[{"border-y":[i]}],"border-w-s":[{"border-s":[i]}],"border-w-e":[{"border-e":[i]}],"border-w-t":[{"border-t":[i]}],"border-w-r":[{"border-r":[i]}],"border-w-b":[{"border-b":[i]}],"border-w-l":[{"border-l":[i]}],"border-opacity":[{"border-opacity":[P]}],"border-style":[{border:[].concat(_(),["hidden"])}],"divide-x":[{"divide-x":[i]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[i]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[P]}],"divide-style":[{divide:_()}],"border-color":[{border:[o]}],"border-color-x":[{"border-x":[o]}],"border-color-y":[{"border-y":[o]}],"border-color-t":[{"border-t":[o]}],"border-color-r":[{"border-r":[o]}],"border-color-b":[{"border-b":[o]}],"border-color-l":[{"border-l":[o]}],"divide-color":[{divide:[o]}],"outline-style":[{outline:[""].concat(_())}],"outline-offset":[{"outline-offset":[be,bt]}],"outline-w":[{outline:[bt]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:C()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[P]}],"ring-offset-w":[{"ring-offset":[bt]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",Xt,Zh]}],"shadow-color":[{shadow:[An]}],opacity:[{opacity:[P]}],"mix-blend":[{"mix-blend":D()}],"bg-blend":[{"bg-blend":D()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[n]}],contrast:[{contrast:[l]}],"drop-shadow":[{"drop-shadow":["","none",Xt,be]}],grayscale:[{grayscale:[c]}],"hue-rotate":[{"hue-rotate":[u]}],invert:[{invert:[d]}],saturate:[{saturate:[w]}],sepia:[{sepia:[$]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[n]}],"backdrop-contrast":[{"backdrop-contrast":[l]}],"backdrop-grayscale":[{"backdrop-grayscale":[c]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[u]}],"backdrop-invert":[{"backdrop-invert":[d]}],"backdrop-opacity":[{"backdrop-opacity":[P]}],"backdrop-saturate":[{"backdrop-saturate":[w]}],"backdrop-sepia":[{"backdrop-sepia":[$]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[s]}],"border-spacing-x":[{"border-spacing-x":[s]}],"border-spacing-y":[{"border-spacing-y":[s]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",be]}],duration:[{duration:F()}],ease:[{ease:["linear","in","out","in-out",be]}],delay:[{delay:F()}],animate:[{animate:["none","spin","ping","pulse","bounce",be]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[T]}],"scale-x":[{"scale-x":[T]}],"scale-y":[{"scale-y":[T]}],rotate:[{rotate:[In,be]}],"translate-x":[{"translate-x":[m]}],"translate-y":[{"translate-y":[m]}],"skew-x":[{"skew-x":[E]}],"skew-y":[{"skew-y":[E]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",be]}],accent:[{accent:["auto",e]}],appearance:["appearance-none"],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",be]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":N()}],"scroll-mx":[{"scroll-mx":N()}],"scroll-my":[{"scroll-my":N()}],"scroll-ms":[{"scroll-ms":N()}],"scroll-me":[{"scroll-me":N()}],"scroll-mt":[{"scroll-mt":N()}],"scroll-mr":[{"scroll-mr":N()}],"scroll-mb":[{"scroll-mb":N()}],"scroll-ml":[{"scroll-ml":N()}],"scroll-p":[{"scroll-p":N()}],"scroll-px":[{"scroll-px":N()}],"scroll-py":[{"scroll-py":N()}],"scroll-ps":[{"scroll-ps":N()}],"scroll-pe":[{"scroll-pe":N()}],"scroll-pt":[{"scroll-pt":N()}],"scroll-pr":[{"scroll-pr":N()}],"scroll-pb":[{"scroll-pb":N()}],"scroll-pl":[{"scroll-pl":N()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","pinch-zoom","manipulation",{pan:["x","left","right","y","up","down"]}]}],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",be]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[bt,Bo]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}}function rm(e,t){for(var r in t)zc(e,r,t[r]);return e}var nm=Object.prototype.hasOwnProperty,om=new Set(["string","number","boolean"]);function zc(e,t,r){if(!nm.call(e,t)||om.has(typeof r)||r===null){e[t]=r;return}if(Array.isArray(r)&&Array.isArray(e[t])){e[t]=e[t].concat(r);return}if(typeof r=="object"&&typeof e[t]=="object"){if(e[t]===null){e[t]=r;return}for(var n in r)zc(e[t],n,r[n])}}function am(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];return typeof e=="function"?ys.apply(void 0,[ws,e].concat(r)):ys.apply(void 0,[function(){return rm(ws(),e)}].concat(r))}var Wc=ys(ws),sm={twMerge:!0,twMergeConfig:{},responsiveVariants:!1},Bc=e=>e||void 0,Ko=(...e)=>Bc(Dc(e).filter(Boolean).join(" ")),Cs=null,Ro={},Ps=!1,Nn=(...e)=>t=>t.twMerge?((!Cs||Ps)&&(Ps=!1,Cs=Ue(Ro)?Wc:am(Ro)),Bc(Cs(Ko(e)))):Ko(e),Kc=(e,t)=>{for(let r in t)e.hasOwnProperty(r)?e[r]=Ko(e[r],t[r]):e[r]=t[r];return e},ye=(e,t)=>{let{extend:r=null,slots:n={},variants:o={},compoundVariants:a=[],compoundSlots:s=[],defaultVariants:i={}}=e,l={...sm,...t},c=r!=null&&r.base?Ko(r.base,e==null?void 0:e.base):e==null?void 0:e.base,u=r!=null&&r.variants&&!Ue(r.variants)?kc(o,r.variants):o,d=r!=null&&r.defaultVariants&&!Ue(r.defaultVariants)?{...r.defaultVariants,...i}:i;!Ue(l.twMergeConfig)&&!Dh(l.twMergeConfig,Ro)&&(Ps=!0,Ro=l.twMergeConfig);let p=Ue(n)?{}:{base:e==null?void 0:e.base,...n},h=Ue(r==null?void 0:r.slots)?p:Kc({...r==null?void 0:r.slots},Ue(p)?{base:e==null?void 0:e.base}:p),g=b=>{if(Ue(u)&&Ue(n)&&Ue(r==null?void 0:r.slots))return Nn(c,b==null?void 0:b.class,b==null?void 0:b.className)(l);if(a&&!Array.isArray(a))throw new TypeError(`The "compoundVariants" prop must be an array. Received: ${typeof a}`);if(s&&!Array.isArray(s))throw new TypeError(`The "compoundSlots" prop must be an array. Received: ${typeof s}`);let P=(S,N,C=[],M)=>{let O=C;if(typeof N=="string")O=O.concat(Ic(N).split(" ").map(_=>`${S}:${_}`));else if(Array.isArray(N))O=O.concat(N.reduce((_,D)=>_.concat(`${S}:${D}`),[]));else if(typeof N=="object"&&typeof M=="string"){for(let _ in N)if(N.hasOwnProperty(_)&&_===M){let D=N[_];if(D&&typeof D=="string"){let z=Ic(D);O[M]?O[M]=O[M].concat(z.split(" ").map(X=>`${S}:${X}`)):O[M]=z.split(" ").map(X=>`${S}:${X}`)}else Array.isArray(D)&&D.length>0&&(O[M]=D.reduce((z,X)=>z.concat(`${S}:${X}`),[]))}}return O},x=(S,N=u,C=null,M=null)=>{var O;let _=N[S];if(!_||Ue(_))return null;let D=(O=M==null?void 0:M[S])!=null?O:b==null?void 0:b[S];if(D===null)return null;let z=Ec(D),X=Array.isArray(l.responsiveVariants)&&l.responsiveVariants.length>0||l.responsiveVariants===!0,G=d==null?void 0:d[S],U=[];if(typeof z=="object"&&X)for(let[B,q]of Object.entries(z)){let K=_[q];if(B==="initial"){G=q;continue}Array.isArray(l.responsiveVariants)&&!l.responsiveVariants.includes(B)||(U=P(B,K,U,C))}let F=_[z]||_[Ec(G)];return typeof U=="object"&&typeof C=="string"&&U[C]?Kc(U,F):U.length>0?(U.push(F),U):F},w=()=>u?Object.keys(u).map(S=>x(S,u)):null,T=(S,N)=>{if(!u||typeof u!="object")return null;let C=new Array;for(let M in u){let O=x(M,u,S,N),_=S==="base"&&typeof O=="string"?O:O&&O[S];_&&(C[C.length]=_)}return C},$={};for(let S in b)b[S]!==void 0&&($[S]=b[S]);let E=(S,N)=>{var C;let M=typeof(b==null?void 0:b[S])=="object"?{[S]:(C=b[S])==null?void 0:C.initial}:{};return{...d,...$,...M,...N}},A=(S=[],N)=>{let C=[];for(let{class:M,className:O,..._}of S){let D=!0;for(let[z,X]of Object.entries(_)){let G=E(z,N);if(Array.isArray(X)){if(!X.includes(G[z])){D=!1;break}}else if(G[z]!==X){D=!1;break}}D&&(M&&C.push(M),O&&C.push(O))}return C},m=S=>{let N=A(a,S),C=A(r==null?void 0:r.compoundVariants,S);return kh(C,N)},k=S=>{let N=m(S);if(!Array.isArray(N))return N;let C={};for(let M of N)if(typeof M=="string"&&(C.base=Nn(C.base,M)(l)),typeof M=="object")for(let[O,_]of Object.entries(M))C[O]=Nn(C[O],_)(l);return C},I=S=>{if(s.length<1)return null;let N={};for(let{slots:C=[],class:M,className:O,..._}of s){if(!Ue(_)){let D=!0;for(let z of Object.keys(_)){let X=E(z,S)[z];if(X===void 0||(Array.isArray(_[z])?!_[z].includes(X):_[z]!==X)){D=!1;break}}if(!D)continue}for(let D of C)N[D]=N[D]||[],N[D].push([M,O])}return N};if(!Ue(n)||!Ue(r==null?void 0:r.slots)){let S={};if(typeof h=="object"&&!Ue(h))for(let N of Object.keys(h))S[N]=C=>{var M,O;return Nn(h[N],T(N,C),((M=k(C))!=null?M:[])[N],((O=I(C))!=null?O:[])[N],C==null?void 0:C.class,C==null?void 0:C.className)(l)};return S}return Nn(c,w(),m(),b==null?void 0:b.class,b==null?void 0:b.className)(l)},v=()=>{if(!(!u||typeof u!="object"))return Object.keys(u)};return g.variantKeys=v(),g.extend=r,g.base=c,g.slots=h,g.variants=u,g.defaultVariants=d,g.compoundSlots=s,g.compoundVariants=a,g};const im=258,lm=70,cm=223,um=266;function dm({variant:e="default",className:t,short:r,width:n,height:o}){let a=r?cm:im,s=r?um:lm;const i=a/s;n&&(a=n,s=parseFloat((n/i).toFixed(2))),o&&(s=o,a=parseFloat((o*i).toFixed(2)));const l=ye({base:"",variants:{variant:{default:"fill-secondary-green-500",dark:"fill-primary-green-500",light:"fill-white"}}});return r?L.jsx("svg",{preserveAspectRatio:"none",width:a,height:s,viewBox:"0 0 223 266",xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",className:l({variant:e,className:t}),children:L.jsx("path",{d:"M222.964 194.18V85.6459C222.964 85.2381 222.88 84.8344 222.718 84.458C222.556 84.0816 222.319 83.74 222.02 83.4529C221.721 83.1657 221.366 82.9388 220.975 82.7852C220.585 82.6316 220.167 82.5543 219.746 82.5577H182.608C182.191 82.5577 181.777 82.6378 181.392 82.7933C181.006 82.9488 180.656 83.1767 180.362 83.4638C180.068 83.7509 179.836 84.0916 179.678 84.4661C179.521 84.8406 179.442 85.2416 179.445 85.6459V171.586C177.727 171.586 176.719 171.586 176.364 171.586C164.721 170.029 159.213 167.178 152.914 161.028C146.616 154.878 144.516 146.089 144.025 135.637V104.914C144.03 104.501 143.948 104.091 143.784 103.71C143.62 103.329 143.377 102.984 143.071 102.697L121.966 82.9009L101.434 62.498C101.143 62.1997 100.792 61.9617 100.403 61.7984C100.014 61.6351 99.5947 61.5498 99.1707 61.5478H66.0684C66.7731 54.8644 69.6353 48.5659 74.2486 43.5468C77.1792 40.3682 80.7538 37.8071 84.7504 36.0226C88.7469 34.2381 93.08 33.2684 97.4802 33.1738C98.2977 33.14 99.0706 32.8033 99.639 32.2335C100.207 31.6636 100.528 30.9041 100.534 30.112V2.66184C100.546 2.04062 100.331 1.43533 99.9266 0.952523C99.5226 0.469716 98.9556 0.140347 98.3255 0.0223983H97.7529C97.5176 -0.00746611 97.2792 -0.00746611 97.0439 0.0223983C84.1284 0.266286 71.4425 3.37237 59.9605 9.10208C49.7635 14.1971 41.0132 21.6355 34.4766 30.7653C27.94 39.8951 23.8167 50.4375 22.4681 61.4686H3.163C2.32163 61.4756 1.51715 61.804 0.924744 62.3824C0.332339 62.9608 -3.07314e-05 63.7423 2.13119e-09 64.5568V100.612C2.13119e-09 101.014 0.0817794 101.412 0.240735 101.783C0.39969 102.155 0.632697 102.492 0.926408 102.777C1.22012 103.061 1.56884 103.286 1.95259 103.44C2.33634 103.594 2.74763 103.673 3.163 103.673H21.841V201.517C21.841 201.922 21.9237 202.322 22.0844 202.695C22.245 203.068 22.4804 203.407 22.777 203.692C23.0736 203.976 23.4255 204.201 23.8124 204.354C24.1993 204.506 24.6136 204.583 25.0313 204.579H62.1691C62.5868 204.583 63.0011 204.506 63.388 204.354C63.7749 204.201 64.1268 203.976 64.4234 203.692C64.72 203.407 64.9554 203.068 65.116 202.695C65.2767 202.322 65.3595 201.922 65.3594 201.517V103.673H100.534V132.707C100.534 132.707 100.534 132.918 100.534 133.05C100.31 146.04 103.822 158.834 110.677 170.002C117.395 180.787 127.07 189.558 138.626 195.341C150.258 201.217 163.137 204.406 176.255 204.658H179.5C178.479 211.37 175.291 217.597 170.393 222.448C163.549 229.416 158.013 233.006 147.379 233.006C146.958 233.002 146.54 233.08 146.15 233.233C145.76 233.387 145.405 233.614 145.106 233.901C144.806 234.188 144.569 234.53 144.407 234.906C144.245 235.283 144.162 235.686 144.162 236.094V262.937C144.158 263.345 144.239 263.749 144.4 264.126C144.561 264.502 144.799 264.843 145.099 265.129C145.399 265.415 145.756 265.639 146.148 265.789C146.539 265.938 146.958 266.01 147.379 265.999C160.384 265.772 173.152 262.589 184.653 256.708C196.283 250.973 206.042 242.23 212.848 231.449C219.691 220.275 223.202 207.485 222.991 194.496C222.991 194.496 222.964 194.312 222.964 194.18Z"})}):L.jsxs("svg",{preserveAspectRatio:"none",width:a,height:s,viewBox:"0 0 258 70",xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",className:l({variant:e,className:t}),children:[L.jsx("path",{d:"M44.1576 5.54621e-10H53.8953C54.117 5.54621e-10 54.3296 0.0853594 54.4864 0.2373C54.6431 0.389241 54.7312 0.595316 54.7312 0.810193V52.8634C54.7312 52.9694 54.7095 53.0745 54.6674 53.1724C54.6253 53.2703 54.5637 53.3591 54.486 53.4338C54.4082 53.5085 54.316 53.5675 54.2147 53.6075C54.1133 53.6474 54.0048 53.6675 53.8953 53.6666H44.1576C43.9378 53.6666 43.727 53.582 43.5716 53.4314C43.4162 53.2807 43.3289 53.0764 43.3289 52.8634V0.810193C43.3279 0.704125 43.3487 0.598926 43.3899 0.500669C43.4311 0.402411 43.492 0.31304 43.5691 0.237715C43.6461 0.162389 43.7378 0.102601 43.8388 0.0618008C43.9398 0.0210004 44.0482 -3.94095e-06 44.1576 5.54621e-10Z"}),L.jsx("path",{d:"M68.7089 51.2755C65.8506 49.7718 63.4549 47.4816 61.7891 44.6605C60.1032 41.7448 59.2396 38.4048 59.2947 35.0137C59.2396 31.6226 60.1032 28.2825 61.7891 25.3668C63.45 22.5364 65.8465 20.2384 68.7089 18.7312C71.8146 17.1539 75.2322 16.3335 78.6964 16.3335C82.1606 16.3335 85.5782 17.1539 88.6838 18.7312C91.5312 20.2475 93.9147 22.5442 95.5701 25.3668C97.251 28.2844 98.1121 31.6236 98.0578 35.0137C98.1121 38.4038 97.251 41.743 95.5701 44.6605C93.9093 47.4735 91.5268 49.7622 88.6838 51.2755C85.577 52.8486 82.1599 53.6668 78.6964 53.6668C75.2329 53.6668 71.8157 52.8486 68.7089 51.2755ZM85.1703 42.3177C86.8555 40.4802 87.6982 38.0432 87.6982 35.0068C87.6982 31.9703 86.8555 29.5379 85.1703 27.7096C84.3456 26.806 83.3434 26.093 82.2302 25.6178C81.1169 25.1426 79.9181 24.9161 78.7131 24.9534C77.5026 24.9186 76.2984 25.146 75.179 25.6209C74.0596 26.0957 73.0499 26.8074 72.2157 27.7096C70.5215 29.5287 69.6744 31.9657 69.6744 35.0206C69.6744 38.0754 70.5215 40.5078 72.2157 42.3177C73.0507 43.2189 74.0605 43.9299 75.1797 44.4047C76.2989 44.8795 77.5027 45.1075 78.7131 45.074C79.9179 45.1103 81.1166 44.8834 82.2297 44.4083C83.3428 43.9332 84.3451 43.2206 85.1703 42.3177Z"}),L.jsx("path",{d:"M187.827 5.54621e-10H197.565C197.787 5.54621e-10 197.999 0.0853594 198.156 0.2373C198.313 0.389241 198.401 0.595316 198.401 0.810193V52.8634C198.401 52.9694 198.379 53.0745 198.337 53.1724C198.295 53.2703 198.233 53.3591 198.156 53.4338C198.078 53.5085 197.986 53.5675 197.884 53.6075C197.783 53.6474 197.674 53.6675 197.565 53.6666H187.827C187.718 53.6666 187.611 53.6459 187.51 53.6055C187.41 53.5651 187.318 53.506 187.241 53.4314C187.164 53.3568 187.103 53.2682 187.062 53.1708C187.02 53.0733 186.999 52.9688 186.999 52.8634V0.810193C186.998 0.704125 187.018 0.598926 187.06 0.500669C187.101 0.402411 187.162 0.31304 187.239 0.237715C187.316 0.162389 187.407 0.102601 187.508 0.0618008C187.61 0.0210004 187.718 -3.94095e-06 187.827 5.54621e-10V5.54621e-10Z"}),L.jsx("path",{d:"M138.924 25.2187C137.26 22.3784 134.865 20.0701 132.005 18.5505C129.42 17.1729 126.578 16.3842 123.671 16.2378C123.128 16.1962 122.591 16.1408 122.027 16.1408C121.464 16.1408 120.927 16.1962 120.377 16.2378C117.94 16.3776 115.546 16.9589 113.304 17.955V0.810156C113.306 0.599481 113.227 0.396499 113.085 0.244956C112.944 0.0934118 112.75 0.00544026 112.546 0L103.406 0C103.198 0 102.998 0.0853555 102.851 0.237289C102.704 0.389223 102.621 0.59529 102.621 0.810156V52.861C102.623 53.0746 102.706 53.2789 102.853 53.4294C103 53.5798 103.199 53.6642 103.406 53.6642H112.546C112.752 53.6642 112.95 53.5796 113.096 53.4289C113.242 53.2783 113.324 53.074 113.324 52.861V51.8569C116.078 53.0793 119.049 53.6948 122.047 53.6642C125.51 53.718 128.931 52.8854 132.005 51.2407C134.853 49.7142 137.238 47.4069 138.897 44.5725C140.579 41.6406 141.441 38.285 141.386 34.8783C141.443 31.4859 140.591 28.1433 138.924 25.2187ZM128.523 42.2389C127.695 43.1457 126.691 43.8613 125.576 44.3387C124.461 44.8161 123.261 45.0445 122.054 45.0087C120.843 45.0424 119.638 44.8132 118.518 44.3361C117.398 43.859 116.387 43.1445 115.552 42.2389C114.427 40.9975 113.659 39.4587 113.331 37.7935C112.883 35.8844 112.883 33.8929 113.331 31.9839C113.659 30.3207 114.428 28.7842 115.552 27.5453C116.387 26.6387 117.397 25.9235 118.517 25.4463C119.638 24.9691 120.843 24.7406 122.054 24.7756C123.261 24.7385 124.462 24.9662 125.577 25.4437C126.692 25.9211 127.696 26.6375 128.523 27.5453C130.205 29.3918 131.046 31.8408 131.046 34.8921C131.046 37.9435 130.205 40.3924 128.523 42.2389Z"}),L.jsx("path",{d:"M171.742 17.1428V18.1215C169.01 16.9171 166.064 16.3092 163.092 16.3365C159.615 16.2772 156.179 17.1011 153.087 18.7349C150.224 20.2425 147.828 22.541 146.166 25.3719C144.48 28.2882 143.617 31.6289 143.672 35.0207C143.617 38.4125 144.48 41.7532 146.166 44.6695C147.834 47.4861 150.23 49.7718 153.087 51.2721C156.179 52.9037 159.616 53.7252 163.092 53.6636C166.064 53.693 169.009 53.0875 171.742 51.8855V52.8641C171.742 53.0762 171.824 53.2795 171.97 53.4294C172.116 53.5794 172.313 53.6636 172.52 53.6636H181.66C181.866 53.6636 182.064 53.5794 182.21 53.4294C182.355 53.2795 182.437 53.0762 182.437 52.8641V17.1428C182.437 16.9302 182.356 16.7261 182.21 16.5751C182.064 16.4241 181.866 16.3383 181.66 16.3365H172.52C172.313 16.3383 172.115 16.4241 171.969 16.5751C171.824 16.7261 171.742 16.9302 171.742 17.1428ZM169.549 42.3125C168.724 43.2155 167.722 43.9282 166.608 44.4035C165.495 44.8787 164.296 45.1056 163.092 45.0693C161.881 45.1028 160.677 44.8747 159.558 44.3998C158.439 43.9249 157.429 43.2138 156.594 42.3125C154.891 40.4746 154.039 38.0371 154.039 35C154.039 31.963 154.891 29.5255 156.594 27.6876C157.428 26.7852 158.438 26.0734 159.557 25.5984C160.677 25.1235 161.881 24.896 163.092 24.9308C164.297 24.8936 165.495 25.1201 166.609 25.5954C167.722 26.0707 168.724 26.7839 169.549 27.6876C170.66 28.9209 171.418 30.4446 171.742 32.0916C172.189 34.0033 172.189 35.9967 171.742 37.9085C171.416 39.5549 170.658 41.0781 169.549 42.3125Z"}),L.jsx("path",{d:"M41.0484 51.1316V17.1532C41.0485 16.9392 40.9619 16.7339 40.8076 16.582C40.6533 16.43 40.4437 16.3437 40.2246 16.3419H30.5438C30.3247 16.3437 30.1151 16.43 29.9608 16.582C29.8065 16.7339 29.7199 16.9392 29.7199 17.1532V18.2003C26.8101 16.9534 23.6643 16.3179 20.4866 16.335C16.8207 16.2935 13.2007 17.1342 9.9465 18.7828C6.92093 20.297 4.38759 22.6047 2.6309 25.4467C0.855237 28.3743 -0.0544231 31.7252 0.00296367 35.1271C-0.0590547 38.5392 0.853371 41.9008 2.638 44.8352C4.39099 47.6742 6.92257 49.9777 9.9465 51.4853C13.2111 53.1311 16.8413 53.9648 20.515 53.9123C23.7856 53.8752 27.015 53.196 30.0111 51.9152C30.0135 54.3789 29.0796 56.7559 27.3903 58.5861C25.6076 60.4167 24.116 61.3043 21.3318 61.3043C21.1127 61.3062 20.9031 61.3925 20.7488 61.5444C20.5945 61.6964 20.5079 61.9017 20.5079 62.1157V69.1887C20.5089 69.2968 20.5317 69.4036 20.5751 69.503C20.6185 69.6023 20.6817 69.6923 20.7609 69.7678C20.8402 69.8432 20.9339 69.9026 21.0368 69.9424C21.1397 69.9823 21.2496 70.0019 21.3603 70C24.7569 69.9521 28.0956 69.1331 31.112 67.6077C34.128 66.0809 36.6507 63.7667 38.3992 60.923C40.1863 57.9893 41.1012 54.6276 41.0413 51.2148C41.0413 51.2148 41.0484 51.1663 41.0484 51.1316ZM29.7199 37.8107C29.4003 39.553 28.5772 41.1698 27.3477 42.4706C26.475 43.379 25.4145 44.0961 24.2366 44.5742C23.0587 45.0524 21.7902 45.2808 20.515 45.2443C19.2361 45.2782 17.9641 45.0487 16.782 44.5708C15.5999 44.0929 14.5341 43.3773 13.654 42.4706C11.8594 40.6214 10.9598 38.1736 10.9551 35.1271C10.9503 32.0806 11.85 29.6328 13.654 27.7836C14.5349 26.878 15.6009 26.1631 16.7828 25.6852C17.9647 25.2074 19.2362 24.9773 20.515 25.0099C21.79 24.9747 23.0581 25.2037 24.2358 25.6818C25.4136 26.1599 26.4741 26.8762 27.3477 27.7836C28.5734 29.0842 29.396 30.6977 29.7199 32.4366C30.1081 34.2079 30.1081 36.0394 29.7199 37.8107Z"}),L.jsx("path",{d:"M257.684 51.0999V22.5384C257.684 22.4311 257.662 22.3248 257.621 22.2258C257.579 22.1267 257.519 22.0368 257.442 21.9613C257.366 21.8857 257.275 21.826 257.175 21.7856C257.076 21.7451 256.969 21.7248 256.861 21.7257H247.366C247.26 21.7257 247.154 21.7468 247.055 21.7877C246.957 21.8286 246.867 21.8886 246.792 21.9642C246.717 22.0397 246.658 22.1294 246.617 22.2279C246.577 22.3265 246.557 22.432 246.558 22.5384V45.1542C246.119 45.1542 245.861 45.1542 245.77 45.1542C242.793 44.7444 241.385 43.9943 239.775 42.3759C238.165 40.7575 237.628 38.4445 237.502 35.6939V27.6089C237.504 27.5002 237.483 27.3924 237.441 27.2921C237.399 27.1918 237.337 27.101 237.258 27.0254L231.863 21.816L226.614 16.4468C226.539 16.3683 226.449 16.3057 226.35 16.2627C226.251 16.2198 226.143 16.1973 226.035 16.1968H217.572C217.752 14.438 218.484 12.7805 219.663 11.4597C220.413 10.6232 221.327 9.94923 222.348 9.47962C223.37 9.01002 224.478 8.75484 225.603 8.72994C225.812 8.72104 226.009 8.63245 226.155 8.48249C226.3 8.33253 226.382 8.13267 226.384 7.92422V0.700484C226.386 0.537006 226.331 0.377718 226.228 0.250664C226.125 0.123609 225.98 0.0369334 225.819 0.00589429H225.672C225.612 -0.00196476 225.551 -0.00196476 225.491 0.00589429C222.189 0.0700753 218.946 0.887465 216.011 2.39528C213.404 3.73607 211.166 5.69354 209.495 8.09612C207.824 10.4987 206.77 13.273 206.425 16.1759H201.49C201.275 16.1778 201.069 16.2642 200.918 16.4164C200.766 16.5686 200.681 16.7743 200.681 16.9886V26.4767C200.681 26.5825 200.702 26.6873 200.743 26.7851C200.783 26.8828 200.843 26.9716 200.918 27.0465C200.993 27.1213 201.082 27.1806 201.18 27.2211C201.278 27.2616 201.384 27.2824 201.49 27.2824H206.265V53.0309C206.265 53.1373 206.286 53.2426 206.327 53.3408C206.368 53.439 206.428 53.5282 206.504 53.6031C206.58 53.678 206.67 53.7372 206.769 53.7773C206.868 53.8174 206.974 53.8375 207.081 53.8366H216.575C216.682 53.8375 216.788 53.8174 216.887 53.7773C216.986 53.7372 217.076 53.678 217.152 53.6031C217.227 53.5282 217.288 53.439 217.329 53.3408C217.37 53.2426 217.391 53.1373 217.391 53.0309V27.2824H226.384V34.9229C226.384 34.9229 226.384 34.9785 226.384 35.0132C226.326 38.4315 227.224 41.7984 228.977 44.7375C230.694 47.5755 233.168 49.8836 236.122 51.4056C239.096 52.9517 242.389 53.791 245.742 53.8575H246.572C246.311 55.6236 245.496 57.2623 244.243 58.539C242.494 60.3727 241.079 61.3173 238.36 61.3173C238.252 61.3164 238.145 61.3368 238.046 61.3772C237.946 61.4176 237.855 61.4774 237.779 61.5529C237.702 61.6285 237.641 61.7184 237.6 61.8174C237.559 61.9165 237.537 62.0227 237.537 62.13V69.194C237.536 69.3013 237.557 69.4076 237.598 69.5067C237.639 69.6058 237.7 69.6956 237.777 69.7708C237.854 69.846 237.945 69.9051 238.045 69.9444C238.145 69.9837 238.252 70.0025 238.36 69.9997C241.685 69.94 244.949 69.1025 247.889 67.5548C250.862 66.0456 253.358 63.7446 255.097 60.9075C256.847 57.9672 257.745 54.6012 257.691 51.1833C257.691 51.1833 257.684 51.1347 257.684 51.0999Z"})]})}function Rc(e){var t,r,n="";if(typeof e=="string"||typeof e=="number")n+=e;else if(typeof e=="object")if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(r=Rc(e[t]))&&(n&&(n+=" "),n+=r);else for(t in e)e[t]&&(n&&(n+=" "),n+=t);return n}function Uc(){for(var e,t,r=0,n="";r<arguments.length;)(e=arguments[r++])&&(t=Rc(e))&&(n&&(n+=" "),n+=t);return n}const Zt=(...e)=>Wc(Uc(e)),Gc=({children:e,className:t,font:r="satoshi",weight:n="regular",...o})=>{const a=ye({variants:{font:{satoshi:"font-satoshi",livvic:"font-livvic"},weight:{light:"font-light",regular:"font-normal",medium:"font-medium",semibold:"font-semibold",bold:"font-bold",black:"font-black"}}});return L.jsx("p",{...o,className:Zt(t,a({font:r,weight:n})),children:e})},fm={bra:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzgiIGhlaWdodD0iMzciIHZpZXdCb3g9IjAgMCAzOCAzNyIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGNpcmNsZSBjeD0iMTguNTA5OSIgY3k9IjE4LjUwMzMiIHI9IjE4LjUwMzMiIGZpbGw9IndoaXRlIi8+CjxwYXRoIGQ9Ik0xOC41MSAzNS4xODY1QzI3LjcyMzkgMzUuMTg2NSAzNS4xOTMzIDI3LjcxNzEgMzUuMTkzMyAxOC41MDMyQzM1LjE5MzMgOS4yODkyMSAyNy43MjM5IDEuODE5ODIgMTguNTEgMS44MTk4MkM5LjI5NjA0IDEuODE5ODIgMS44MjY2NiA5LjI4OTIxIDEuODI2NjYgMTguNTAzMkMxLjgyNjY2IDI3LjcxNzEgOS4yOTYwNCAzNS4xODY1IDE4LjUxIDM1LjE4NjVaIiBmaWxsPSIjMEI5RjU5Ii8+CjxwYXRoIGQ9Ik0xOC41MTAxIDguMzQ4MjhMMzIuMjkyIDE4LjUwMzNMMTguNTEwMSAyOC42NTg0TDQuNzI4MjQgMTguNTAzM0wxOC41MTAxIDguMzQ4MjhaIiBmaWxsPSIjRkZEQTQ0Ii8+CjxwYXRoIGQ9Ik0xOC41MDk5IDI0LjMwNjJDMjEuNzE0OCAyNC4zMDYyIDI0LjMxMjggMjEuNzA4MSAyNC4zMTI4IDE4LjUwMzNDMjQuMzEyOCAxNS4yOTg1IDIxLjcxNDggMTIuNzAwNCAxOC41MDk5IDEyLjcwMDRDMTUuMzA1MSAxMi43MDA0IDEyLjcwNyAxNS4yOTg1IDEyLjcwNyAxOC41MDMzQzEyLjcwNyAyMS43MDgxIDE1LjMwNTEgMjQuMzA2MiAxOC41MDk5IDI0LjMwNjJaIiBmaWxsPSIjRjBGMEYwIi8+CjxwYXRoIGQ9Ik0xNS42MDgzIDE4LjEzOTdDMTQuNTk5MiAxOC4xMzk3IDEzLjYyNTQgMTguMjkzMSAxMi43MDg3IDE4LjU3NzlDMTIuNzQ5MyAyMS43NDc4IDE1LjMzMDMgMjQuMzA1MyAxOC41MDk4IDI0LjMwNTNDMjAuNDc1OCAyNC4zMDUzIDIyLjIxMjIgMjMuMzI2NiAyMy4yNjE4IDIxLjgzMDlDMjEuNDY2IDE5LjU4MjggMTguNzAyNyAxOC4xMzk3IDE1LjYwODMgMTguMTM5N1oiIGZpbGw9IiMwMDUyQjQiLz4KPHBhdGggZD0iTTI0LjIwNTEgMTkuNjE0MkMyNC4yNzUgMTkuMjU0MiAyNC4zMTI3IDE4Ljg4MjggMjQuMzEyNyAxOC41MDI1QzI0LjMxMjcgMTUuMjk3NiAyMS43MTQ3IDEyLjY5OTYgMTguNTA5OSAxMi42OTk2QzE2LjExODUgMTIuNjk5NiAxNC4wNjU3IDE0LjE0NjQgMTMuMTc3MyAxNi4yMTIxQzEzLjk2MjYgMTYuMDQ5NCAxNC43NzU3IDE1Ljk2MzcgMTUuNjA4NSAxNS45NjM3QzE4Ljk3ODggMTUuOTYzNyAyMi4wMjc4IDE3LjM2NDcgMjQuMjA1MSAxOS42MTQyWiIgZmlsbD0iIzAwNTJCNCIvPgo8L3N2Zz4K",esp:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzgiIGhlaWdodD0iMzciIHZpZXdCb3g9IjAgMCAzOCAzNyIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGNpcmNsZSBjeD0iMTguNTE2OCIgY3k9IjE4LjUwMzMiIHI9IjE4LjUwMzMiIGZpbGw9IndoaXRlIi8+CjxwYXRoIGQ9Ik0xLjgzMzUgMTguNTAyN0MxLjgzMzUgMjAuNTQzNCAyLjIwMDU5IDIyLjQ5ODIgMi44NzExOSAyNC4zMDU2TDE4LjUxNjggMjUuNzU2M0wzNC4xNjI1IDI0LjMwNTZDMzQuODMzMSAyMi40OTgyIDM1LjIwMDIgMjAuNTQzNCAzNS4yMDAyIDE4LjUwMjdDMzUuMjAwMiAxNi40NjIgMzQuODMzMSAxNC41MDcyIDM0LjE2MjUgMTIuNjk5OEwxOC41MTY4IDExLjI0OTFMMi44NzExOSAxMi42OTk4QzIuMjAwNTkgMTQuNTA3MiAxLjgzMzUgMTYuNDYyIDEuODMzNSAxOC41MDI3WiIgZmlsbD0iI0ZGREE0NCIvPgo8cGF0aCBkPSJNMzQuMTYyOCAxMi43MDAzQzMxLjgwNTUgNi4zNDczNSAyNS42OTA0IDEuODE5ODIgMTguNTE3MSAxLjgxOTgyQzExLjM0MzkgMS44MTk4MiA1LjIyODcgNi4zNDczNSAyLjg3MTQ2IDEyLjcwMDNIMzQuMTYyOFoiIGZpbGw9IiNEODAwMjciLz4KPHBhdGggZD0iTTIuODcxMTkgMjQuMzA1NkM1LjIyODQyIDMwLjY1ODYgMTEuMzQzOSAzNS4xODY1IDE4LjUxNzEgMzUuMTg2NUMyNS42OTA0IDM1LjE4NjUgMzEuODA1MiAzMC42NTg2IDM0LjE2MjUgMjQuMzA1NkgyLjg3MTE5WiIgZmlsbD0iI0Q4MDAyNyIvPgo8L3N2Zz4K",usa:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzciIGhlaWdodD0iMzciIHZpZXdCb3g9IjAgMCAzNyAzNyIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGNpcmNsZSBjeD0iMTguNTAzMyIgY3k9IjE4LjUwMzMiIHI9IjE4LjUwMzMiIGZpbGw9IndoaXRlIi8+CjxwYXRoIGQ9Ik0xOC41MDM0IDM1LjE4NjVDMjcuNzE3NCAzNS4xODY1IDM1LjE4NjcgMjcuNzE3MSAzNS4xODY3IDE4LjUwMzJDMzUuMTg2NyA5LjI4OTIxIDI3LjcxNzQgMS44MTk4MiAxOC41MDM0IDEuODE5ODJDOS4yODk0NSAxLjgxOTgyIDEuODIwMDcgOS4yODkyMSAxLjgyMDA3IDE4LjUwMzJDMS44MjAwNyAyNy43MTcxIDkuMjg5NDUgMzUuMTg2NSAxOC41MDM0IDM1LjE4NjVaIiBmaWxsPSIjRjBGMEYwIi8+CjxwYXRoIGQ9Ik0xNy43Nzc5IDE4LjUwMzdIMzUuMTg2NkMzNS4xODY2IDE2Ljk5NzggMzQuOTg1OCAxNS41MzkxIDM0LjYxMTggMTQuMTUxNUgxNy43Nzc5VjE4LjUwMzdaIiBmaWxsPSIjRDgwMDI3Ii8+CjxwYXRoIGQ9Ik0xNy43Nzc5IDkuNzk5MzRIMzIuNzM3OUMzMS43MTY2IDguMTMyODMgMzAuNDEwOCA2LjY1OTgxIDI4Ljg4ODMgNS40NDcxNEgxNy43Nzc5VjkuNzk5MzRaIiBmaWxsPSIjRDgwMDI3Ii8+CjxwYXRoIGQ9Ik0xOC41MDM0IDM1LjE4NjVDMjIuNDI5OCAzNS4xODY1IDI2LjAzODQgMzMuODI5OCAyOC44ODgyIDMxLjU2MDFIOC4xMTc5OUMxMC45Njc4IDMzLjgyOTggMTQuNTc3IDM1LjE4NjUgMTguNTAzNCAzNS4xODY1WiIgZmlsbD0iI0Q4MDAyNyIvPgo8cGF0aCBkPSJNNC4yNjg1NyAyNy4yMDhIMzIuNzM3OUMzMy41NTc4IDI1Ljg3MDEgMzQuMTkzNiAyNC40MDc3IDM0LjYxMTggMjIuODU1OEgyLjM5NDYzQzIuODEyODIgMjQuNDA3NyAzLjQ0ODY3IDI1Ljg3MDEgNC4yNjg1NyAyNy4yMDhaIiBmaWxsPSIjRDgwMDI3Ii8+CjxwYXRoIGQ9Ik05LjU0ODEgNC40MjUxNkgxMS4wNjg0TDkuNjU0MjYgNS40NTI1NUwxMC4xOTQ0IDcuMTE0OTZMOC43ODAzNCA2LjA4NzU2TDcuMzY2MjMgNy4xMTQ5Nkw3LjgzMjg1IDUuNjc4ODJDNi41ODc3MiA2LjcxNTk5IDUuNDk2NCA3LjkzMTE0IDQuNTk3MDYgOS4yODUwOUg1LjA4NDJMNC4xODQwMiA5LjkzOTA3QzQuMDQzNzcgMTAuMTczIDMuOTA5MjYgMTAuNDEwNyAzLjc4MDM2IDEwLjY1MTlMNC4yMTAyMiAxMS45NzQ5TDMuNDA4MjQgMTEuMzkyMkMzLjIwODg5IDExLjgxNDYgMy4wMjY1NSAxMi4yNDY1IDIuODYyNjUgMTIuNjg3M0wzLjMzNjIzIDE0LjE0NUg1LjA4NDJMMy42NzAwMyAxNS4xNzI0TDQuMjEwMjIgMTYuODM0OEwyLjc5NjExIDE1LjgwNzRMMS45NDkwNCAxNi40MjI5QzEuODY0MjUgMTcuMTA0NCAxLjgyMDA3IDE3Ljc5ODYgMS44MjAwNyAxOC41MDMySDE4LjUwMzRDMTguNTAzNCA5LjI4OTI3IDE4LjUwMzQgOC4yMDMwMiAxOC41MDM0IDEuODE5ODJDMTUuMjA3NyAxLjgxOTgyIDEyLjEzNTQgMi43NzU4NiA5LjU0ODEgNC40MjUxNlpNMTAuMTk0NCAxNi44MzQ4TDguNzgwMzQgMTUuODA3NEw3LjM2NjIzIDE2LjgzNDhMNy45MDY0MiAxNS4xNzI0TDYuNDkyMjUgMTQuMTQ1SDguMjQwMjJMOC43ODAzNCAxMi40ODI2TDkuMzIwNDYgMTQuMTQ1SDExLjA2ODRMOS42NTQyNiAxNS4xNzI0TDEwLjE5NDQgMTYuODM0OFpNOS42NTQyNiAxMC4zMTI1TDEwLjE5NDQgMTEuOTc0OUw4Ljc4MDM0IDEwLjk0NzVMNy4zNjYyMyAxMS45NzQ5TDcuOTA2NDIgMTAuMzEyNUw2LjQ5MjI1IDkuMjg1MDlIOC4yNDAyMkw4Ljc4MDM0IDcuNjIyNjlMOS4zMjA0NiA5LjI4NTA5SDExLjA2ODRMOS42NTQyNiAxMC4zMTI1Wk0xNi4xNzg3IDE2LjgzNDhMMTQuNzY0NiAxNS44MDc0TDEzLjM1MDUgMTYuODM0OEwxMy44OTA3IDE1LjE3MjRMMTIuNDc2NSAxNC4xNDVIMTQuMjI0NUwxNC43NjQ2IDEyLjQ4MjZMMTUuMzA0NyAxNC4xNDVIMTcuMDUyN0wxNS42Mzg1IDE1LjE3MjRMMTYuMTc4NyAxNi44MzQ4Wk0xNS42Mzg1IDEwLjMxMjVMMTYuMTc4NyAxMS45NzQ5TDE0Ljc2NDYgMTAuOTQ3NUwxMy4zNTA1IDExLjk3NDlMMTMuODkwNyAxMC4zMTI1TDEyLjQ3NjUgOS4yODUwOUgxNC4yMjQ1TDE0Ljc2NDYgNy42MjI2OUwxNS4zMDQ3IDkuMjg1MDlIMTcuMDUyN0wxNS42Mzg1IDEwLjMxMjVaTTE1LjYzODUgNS40NTI1NUwxNi4xNzg3IDcuMTE0OTZMMTQuNzY0NiA2LjA4NzU2TDEzLjM1MDUgNy4xMTQ5NkwxMy44OTA3IDUuNDUyNTVMMTIuNDc2NSA0LjQyNTE2SDE0LjIyNDVMMTQuNzY0NiAyLjc2Mjc2TDE1LjMwNDcgNC40MjUxNkgxNy4wNTI3TDE1LjYzODUgNS40NTI1NVoiIGZpbGw9IiMwMDUyQjQiLz4KPC9zdmc+Cg=="},pm=({shadow:e,country:t,className:r,...n})=>{const o=ye({base:"rounded-full",variants:{shadow:{true:"shadow-[4px_4px_6px_0px_rgba(0,0,0,0.17)]",false:""}}}),a=fm[t];return L.jsx("img",{...n,src:a,alt:`${t} flag`,className:Zt(r,o({shadow:e}))})},BC="",Ge=({name:e,className:t,...r})=>L.jsx("span",{...r,className:`icon-${e} ${t??""}`});({IcoMoonType:"selection",icons:[{icon:{paths:["M695.177 547.182c48.599-38.234 84.074-90.672 101.482-150.006 17.414-59.336 15.898-122.624-4.332-181.059-20.236-58.435-58.178-109.11-108.546-144.977-50.375-35.867-110.679-55.141-172.514-55.141-61.842 0-122.139 19.273-172.514 55.141s-88.316 86.542-108.547 144.977c-20.233 58.435-21.747 121.723-4.335 181.059 17.411 59.334 52.885 111.77 101.483 150.006-83.277 33.367-155.938 88.703-210.238 160.112-54.3 71.413-88.203 156.219-98.097 245.383-0.715 6.509-0.144 13.098 1.687 19.387 1.829 6.286 4.879 12.155 8.977 17.262 8.274 10.321 20.307 16.934 33.454 18.377 13.147 1.448 26.329-2.389 36.649-10.663s16.929-20.309 18.376-33.455c10.884-96.902 57.090-186.399 129.789-251.386s166.794-100.912 264.305-100.912c97.512 0 191.604 35.926 264.305 100.912 72.696 64.989 118.901 154.483 129.789 251.386 1.348 12.18 7.159 23.433 16.315 31.578 9.156 8.15 21.003 12.617 33.258 12.543h5.452c12.992-1.492 24.87-8.066 33.039-18.276 8.174-10.217 11.976-23.243 10.583-36.251-9.94-89.417-44.024-174.441-98.609-245.963-54.579-71.52-127.592-126.838-211.213-160.027zM511.266 511.984c-39.215 0-77.554-11.629-110.162-33.417s-58.021-52.754-73.030-88.989c-15.007-36.232-18.935-76.102-11.284-114.564s26.536-73.795 54.267-101.525c27.731-27.731 63.062-46.616 101.525-54.267s78.334-3.724 114.564 11.284c36.232 15.007 67.199 40.422 88.991 73.030 21.787 32.608 33.417 70.945 33.417 110.161 0 52.59-20.89 103.022-58.077 140.213-37.183 37.183-87.617 58.072-140.208 58.072z"],attrs:[],isMulticolor:!1,isMulticolor2:!1,grid:0,tags:["user"],colorPermutations:{}},attrs:[],properties:{order:37,id:23,name:"user",prevSize:32,code:59658},setIdx:0,setId:3,iconIdx:0},{icon:{paths:["M526.086 521.84c23.866-20.659 43.009-46.207 56.127-74.918 13.118-28.707 19.908-59.901 19.908-91.464 0-59.31-23.562-116.193-65.502-158.13-41.936-41.938-98.819-65.501-158.129-65.501s-116.193 23.561-158.13 65.501c-41.938 41.938-65.501 98.822-65.501 158.13 0 31.564 6.789 62.757 19.909 91.464 13.119 28.71 32.26 54.257 56.126 74.918-62.61 28.351-115.731 74.134-153.010 131.876-37.28 57.747-57.139 125.002-57.204 193.732 0 11.86 4.712 23.24 13.1 31.626s19.764 13.1 31.626 13.1c11.861 0 23.238-4.714 31.626-13.1s13.1-19.764 13.1-31.626c0-71.172 28.273-139.43 78.601-189.756 50.327-50.331 118.586-78.602 189.757-78.602s139.43 28.272 189.756 78.602c50.331 50.327 78.602 118.583 78.602 189.756 0 11.86 4.714 23.24 13.1 31.626s19.764 13.1 31.626 13.1c11.86 0 23.24-4.714 31.626-13.1s13.1-19.764 13.1-31.626c-0.068-68.732-19.926-135.985-57.205-193.732-37.281-57.742-90.397-103.524-153.009-131.876zM378.488 489.638c-26.539 0-52.48-7.866-74.545-22.613-22.067-14.742-39.265-35.702-49.42-60.217-10.155-24.518-12.812-51.497-7.635-77.526s17.957-49.936 36.722-68.701c18.765-18.765 42.674-31.544 68.701-36.722s53.008-2.52 77.528 7.635c24.515 10.155 45.473 27.353 60.215 49.42 14.747 22.067 22.613 48.008 22.613 74.545 0 35.586-14.138 69.715-39.301 94.877s-59.291 39.301-94.877 39.301zM814.122 503.948c28.626-32.235 47.32-72.050 53.841-114.663 6.522-42.611 0.587-86.199-17.085-125.518-17.676-39.318-46.337-72.689-82.533-96.099-36.201-23.407-78.391-35.855-121.498-35.845-11.86 0-23.24 4.712-31.626 13.1s-13.1 19.764-13.1 31.626c0 11.861 4.714 23.238 13.1 31.626s19.764 13.1 31.626 13.1c35.584 0 69.715 14.138 94.877 39.3s39.301 59.292 39.301 94.878c-0.064 23.492-6.294 46.555-18.065 66.886-11.776 20.327-28.679 37.212-49.024 48.957-6.632 3.825-12.171 9.291-16.085 15.864-3.919 6.58-6.078 14.053-6.279 21.705-0.188 7.594 1.561 15.109 5.085 21.839 3.52 6.726 8.694 12.451 15.041 16.624l17.443 11.628 5.815 3.131c53.914 25.571 99.394 66.016 131.092 116.57 31.693 50.554 48.282 109.115 47.813 168.783 0 11.86 4.714 23.24 13.1 31.626s19.764 13.1 31.626 13.1c11.86 0 23.24-4.714 31.626-13.1s13.1-19.764 13.1-31.626c0.366-68.637-16.826-136.222-49.936-196.343-33.115-60.122-81.053-110.779-139.256-147.154z"],attrs:[],isMulticolor:!1,isMulticolor2:!1,grid:0,tags:["users"],colorPermutations:{}},attrs:[],properties:{order:38,id:22,name:"users",prevSize:32,code:59666},setIdx:0,setId:3,iconIdx:1},{icon:{paths:["M857.957 264.888h-49.422v-49.422c0-39.324-15.622-77.034-43.427-104.84s-65.52-43.426-104.839-43.426h-494.223c-39.324 0-77.034 15.621-104.84 43.426s-43.426 65.518-43.426 104.84v593.066c0 39.321 15.621 77.034 43.426 104.839s65.518 43.427 104.84 43.427h691.912c39.321 0 77.034-15.622 104.839-43.427s43.427-65.52 43.427-104.839v-395.378c0-39.324-15.622-77.034-43.427-104.84s-65.52-43.426-104.839-43.426zM166.044 166.043h494.223c13.106 0 25.68 5.206 34.946 14.476s14.476 21.839 14.476 34.946v49.422h-543.644c-13.107 0-25.678-5.206-34.946-14.476s-14.476-21.839-14.476-34.946c0-13.107 5.206-25.678 14.476-34.946s21.839-14.476 34.946-14.476zM907.378 660.266h-49.422c-13.106 0-25.68-5.208-34.946-14.476s-14.476-21.839-14.476-34.946c0-13.106 5.208-25.68 14.476-34.946s21.839-14.476 34.946-14.476h49.422v98.844zM907.378 462.578h-49.422c-39.321 0-77.034 15.622-104.839 43.427s-43.427 65.52-43.427 104.839c0 39.321 15.622 77.034 43.427 104.839s65.52 43.427 104.839 43.427h49.422v49.422c0 13.106-5.208 25.68-14.476 34.946s-21.839 14.476-34.946 14.476h-691.912c-13.107 0-25.678-5.208-34.946-14.476s-14.476-21.839-14.476-34.946v-453.202c15.878 5.586 32.591 8.426 49.422 8.402h691.912c13.106 0 25.68 5.206 34.946 14.476s14.476 21.839 14.476 34.946v49.422z"],attrs:[],isMulticolor:!1,isMulticolor2:!1,grid:0,tags:["wallet"],colorPermutations:{}},attrs:[],properties:{order:39,id:21,name:"wallet",prevSize:32,code:59667},setIdx:0,setId:3,iconIdx:2},{icon:{paths:["M979.553 176.238c-6.483-6.535-14.195-11.724-22.693-15.262-8.5-3.542-17.616-5.365-26.818-5.365s-18.319 1.823-26.818 5.365c-8.5 3.542-16.213 8.727-22.693 15.262l-519.504 520.201-218.263-218.958c-6.732-6.501-14.678-11.612-23.382-15.044s-18.004-5.113-27.36-4.952c-9.357 0.159-18.592 2.163-27.172 5.897s-16.347 9.112-22.848 15.844c-6.501 6.73-11.612 14.677-15.043 23.382s-5.114 18.004-4.952 27.36c0.161 9.357 2.163 18.592 5.897 27.172s9.112 16.345 15.843 22.848l267.77 267.773c6.482 6.532 14.193 11.722 22.694 15.263 8.496 3.537 17.613 5.365 26.817 5.365s18.319-1.827 26.816-5.365c8.496-3.542 16.209-8.731 22.695-15.263l569.013-569.015c7.078-6.528 12.724-14.456 16.591-23.277s5.858-18.347 5.858-27.977c0-9.63-1.992-19.156-5.858-27.977s-9.511-16.746-16.591-23.277z"],attrs:[],isMulticolor:!1,isMulticolor2:!1,grid:0,tags:["check"],colorPermutations:{}},attrs:[],properties:{order:40,id:20,name:"check",prevSize:32,code:59668},setIdx:0,setId:3,iconIdx:3},{icon:{paths:["M441.48 33.984c-101.267 0-181.649 77.289-195.622 175.411-0.576-0.148-1.357-0.3-2.151-0.42l-0.154-0.021h-197.93c-15.529 0-28.116 12.587-28.116 28.116v0c0 15.529 12.587 28.116 28.116 28.116v0h197.93c0.934-0.329 1.661-0.627 2.37-0.951l-0.175 0.073c13.778 98.344 94.31 175.852 195.731 175.852 111.011 0 201.335-91.419 201.335-203.090s-90.322-203.090-201.335-203.090zM441.48 90.222c80.312 0 145.098 65.272 145.098 146.854s-64.786 146.854-145.098 146.854c-80.312 0-144.989-65.272-144.989-146.854s64.676-146.854 144.989-146.854zM738.484 208.958c-15.529 0-28.116 12.587-28.116 28.116v0c0 15.529 12.587 28.116 28.116 28.116v0h296.892c15.529 0 28.116-12.587 28.116-28.116v0c0-15.529-12.587-28.116-28.116-28.116v0zM639.522 583.838c-111.010 0-201.335 91.42-201.335 203.090s90.323 203.090 201.335 203.090c101.43 0 182.067-77.505 195.841-175.852 0.506 0.249 1.192 0.546 1.892 0.813l0.193 0.065h197.93c15.529 0 28.116-12.587 28.116-28.116v0c0-15.529-12.587-28.116-28.116-28.116v0h-197.93c-0.895 0.332-1.583 0.628-2.254 0.952l0.169-0.074c-13.773-98.346-94.413-175.852-195.841-175.852zM639.522 640.076c80.317 0 145.098 65.272 145.098 146.854s-64.783 146.854-145.098 146.854c-80.31 0-145.098-65.273-145.098-146.854s64.788-146.854 145.098-146.854zM45.622 758.808c-15.529 0-28.116 12.587-28.116 28.116v0c0 15.529 12.587 28.116 28.116 28.116v0h296.892c15.529 0 28.116-12.587 28.116-28.116v0c0-15.529-12.587-28.116-28.116-28.116v0z"],width:1081,attrs:[],isMulticolor:!1,isMulticolor2:!1,colorPermutations:{},tags:["filters"],grid:0},attrs:[],properties:{order:36,id:0,name:"filters",prevSize:32,code:59665},setIdx:0,setId:3,iconIdx:4},{icon:{paths:["M221.91 16c-48.472 0-91.817 15.678-120.059 48.704s-39.686 78.531-39.686 132.284v742.129h-11.959c-18.891 0-34.206 15.315-34.206 34.206v0c0 18.891 15.315 34.206 34.206 34.206v0h787.294c0.153 0.078 0.527 0.235 0.904 0.387l0.23 0.082c0.608-0.232 0.983-0.39 1.354-0.554l-0.218 0.087h134.021c18.891 0 34.206-15.315 34.206-34.206v0c0-18.891-15.315-34.206-34.206-34.206v0h-100.951v-155.067c54.54-16.957 93.201-70.819 93.201-133.487v-110.371c0-75.121-54.176-141.17-126.606-141.17s-126.539 66.049-126.539 141.17v110.371c0 62.051 37.857 115.532 91.531 133.085v155.467h-161.681v-742.129c0-53.703-11.226-99.158-39.351-132.217s-71.454-48.771-119.925-48.771zM221.91 84.415h261.562c35.068 0 54.273 8.805 67.812 24.719s23.049 43.854 23.049 87.856v742.129h-185.533v-148.119c0-18.891-15.315-34.206-34.206-34.206v0c-18.891 0-34.206 15.315-34.206 34.206v0 148.119h-189.809v-742.129c0-43.953 9.613-71.84 23.25-87.789s33.010-24.786 68.080-24.786zM251.707 270.748c-18.891 0-34.206 15.315-34.206 34.206v0c0 18.891 15.315 34.206 34.206 34.206v0h207.848c18.891 0 34.206-15.315 34.206-34.206v0c0-18.891-15.315-34.206-34.206-34.206v0zM251.707 453.007c-18.891 0-34.206 15.315-34.206 34.206v0c0 18.891 15.315 34.206 34.206 34.206v0h207.848c18.891 0 34.206-15.315 34.206-34.206v0c0-18.891-15.315-34.206-34.206-34.206v0zM839.438 467.438c30.006 0 58.191 29.277 58.191 72.757v110.371c0 43.236-27.909 72.162-57.724 72.49-0.193-0.054-0.622-0.148-1.053-0.231l-0.217-0.034c-0.010 0-0.023 0-0.033 0s-0.025 0-0.035 0h0.002c-29.634-0.633-57.257-29.219-57.257-72.222v-110.371c0-43.481 28.118-72.757 58.125-72.757z"],attrs:[],isMulticolor:!1,isMulticolor2:!1,colorPermutations:{"13513613712552552551":[],"125525525513463581":[]},tags:["building"],grid:0},attrs:[],properties:{order:32,id:1,name:"building",prevSize:32,code:59661},setIdx:0,setId:3,iconIdx:5},{icon:{paths:["M474.119 16c-80.744 0-133.002 18.798-160.546 57.657s-25.188 83.466-25.188 124.335v2.74h-13.162c-106.295 0-176.908 24.402-217.869 71.889s-45.635 110.102-38.75 170.768l35.477 368.794c0.042 0.341 0.067 0.5 0.092 0.658l-0.025-0.191c5.325 48.463 18.348 100.416 60.797 138.23s108.001 57.124 207.647 57.124h378.814c99.646 0 165.199-19.309 207.647-57.124s55.471-89.767 60.797-138.23c0 0.034 0.025-0.125 0.046-0.284l0.022-0.183 32.737-340.466 0.069-0.134c0-0.039 0-0.087 0-0.134s0-0.093 0-0.141v0.007l2.673-27.928c6.881-60.667 2.208-123.284-38.753-170.769s-111.574-71.889-217.869-71.889h-13.162v-2.74c0-40.869 2.356-85.474-25.188-124.335s-79.802-57.657-160.546-57.657zM474.119 84.415h75.763c70.807 0 94.347 14.202 104.691 28.796s12.626 43.914 12.626 84.783v2.74h-310.402v-2.74c0-40.869 2.283-70.189 12.626-84.783s33.884-28.796 104.691-28.796zM275.224 269.144h473.552c95.931 0 143.050 21.538 166.023 48.17s28.485 66.309 22.582 118.322c-0.009 0.036-0.032 0.243-0.055 0.451l-0.014 0.152-0.802 8.418c-90.418 61.486-191.449 98.993-295.569 117.186v-3.675c0-11.545 0.127-20.64-1.003-30.533-1.127-9.891-4.112-23.496-15.232-34.34s-24.375-13.492-34.271-14.565-19.227-0.936-31.067-0.936h-94.737c-11.84 0-21.171-0.137-31.067 0.935s-23.153 3.721-34.273 14.564c-11.122 10.844-14.105 24.449-15.232 34.34s-1.003 18.988-1.003 30.533v4.743c-103.328-16.824-204.524-52.276-294.967-112.376l-1.402-14.297c-0.034-0.355-0.058-0.562-0.084-0.768l0.017 0.166c-5.903-52.012-0.393-91.688 22.582-118.322s70.092-48.17 166.023-48.17zM928.696 525.763l-26.858 279.869v-0.467c-4.62 42.048-13.6 72.616-38.283 94.603s-71.408 39.819-162.149 39.819h-378.814c-90.739 0-137.466-17.83-162.149-39.819s-33.662-52.555-38.283-94.603v0.467l-26.456-275.126c90.546 52.332 187.8 87.604 288.487 102.42 0.946 18.776 3.822 38.317 17.639 57.322 20.648 28.406 58.343 40.688 110.17 40.688 52.096 0 89.971-12.499 110.505-41.088 13.846-19.276 16.588-38.976 17.438-57.858 100.973-16.032 198.085-52.864 288.755-106.229zM464.631 546.206h94.737c6.436 0 8.729 0.167 12.894 0.267 0.090 3.921 0.267 5.767 0.267 11.691v47.101c0 25.061-2.348 40.084-5.611 44.629s-12.767 12.626-54.918 12.626c-41.943 0-51.583-8.064-54.851-12.56s-5.678-19.275-5.678-44.229v-47.569c0-5.924 0.178-7.771 0.267-11.691 4.165-0.098 6.458-0.267 12.894-0.267z"],attrs:[],isMulticolor:!1,isMulticolor2:!1,colorPermutations:{"13513613712552552551":[],"125525525513463581":[]},tags:["briefcase"],grid:0},attrs:[],properties:{order:33,id:2,name:"briefcase",prevSize:32,code:59662},setIdx:0,setId:3,iconIdx:6},{icon:{paths:["M482.712 22.394l-377.328 166.783c-31.614 13.974-46.767 41.583-46.767 74.318v153.774c0 42.336 32.474 80.455 76.119 80.455h7.738v255.977h-7.738c-43.641 0-76.119 38.118-76.119 80.455v104.807h-7.738c-18.865 0-34.157 15.292-34.157 34.157v0c0 18.865 15.292 34.157 34.157 34.157v0h922.239c18.865 0 34.157-15.292 34.157-34.157v0c0-18.865-15.292-34.157-34.157-34.157v0h-7.738v-104.807c0-42.335-32.478-80.455-76.119-80.455h-7.738v-255.977h7.738c43.644 0 76.119-38.121 76.119-80.455v-153.774c0-32.732-15.149-60.347-46.767-74.318l-377.328-166.783c-21.473-9.489-37.103-9.489-58.574 0zM510.266 84.905c-4.7 2.077 8.17 2.077 3.469 0l377.262 166.783c-2.269-1.003 6.071 10.263 6.071 11.809v153.774c0 8.614-5.338 12.142-7.805 12.142h-754.523c-2.467 0-7.805-3.53-7.805-12.142v-153.774c0-1.543 8.34-12.811 6.071-11.809zM512 174.698c-55.125 0-97.067 48.525-97.067 103.605s41.943 103.672 97.067 103.672c55.125 0 97.067-48.593 97.067-103.672s-41.943-103.605-97.067-103.605zM512 243.013c14.33 0 28.753 13.623 28.753 35.292s-14.423 35.359-28.753 35.359c-14.33 0-28.753-13.69-28.753-35.359s14.423-35.292 28.753-35.292zM210.791 497.723h99.403v255.977h-99.403zM378.507 497.723h99.336v255.977h-99.336zM546.157 497.723h99.336v255.977h-99.336zM713.807 497.723h99.403v255.977h-99.403zM134.738 822.016h754.523c2.47 0 7.805 3.522 7.805 12.142v104.807h-770.134v-104.807c0-8.617 5.335-12.142 7.805-12.142z"],attrs:[],isMulticolor:!1,isMulticolor2:!1,colorPermutations:{"13513613712552552551":[],"125525525513463581":[]},tags:["bank"],grid:0},attrs:[],properties:{order:34,id:3,name:"bank",prevSize:32,code:59663},setIdx:0,setId:3,iconIdx:7},{icon:{paths:["M511.864 16.070c-272.629 0-495.93 223.302-495.93 495.93 0 272.626 223.302 495.93 495.93 495.93 272.631 0 496.066-223.304 496.066-495.93 0-272.629-223.435-495.93-496.066-495.93zM511.864 85.276c234.882 0 426.859 191.845 426.859 426.724s-191.977 426.724-426.859 426.724c-234.88 0-426.724-191.846-426.724-426.724s191.843-426.724 426.724-426.724z","M327.36 460.095c-28.667 0-51.905 23.238-51.905 51.905v0c0 28.667 23.238 51.905 51.905 51.905v0h369.142c28.667 0 51.905-23.238 51.905-51.905v0c0-28.667-23.238-51.905-51.905-51.905v0z","M512 275.593c-28.667 0-51.905 23.238-51.905 51.905v0 369.007c0 28.667 23.238 51.905 51.905 51.905v0c28.667 0 51.905-23.238 51.905-51.905v0-369.007c0-28.667-23.238-51.905-51.905-51.905v0z"],attrs:[],isMulticolor:!1,isMulticolor2:!1,colorPermutations:{"13513613712552552551":[],"125525525513463581":[]},tags:["add-circle"],grid:0},attrs:[],properties:{order:35,id:4,name:"add-circle",prevSize:32,code:59664},setIdx:0,setId:3,iconIdx:8},{icon:{paths:["M512 810.667c8.439 0 16.687-2.5 23.706-7.189 7.014-4.689 12.484-11.354 15.714-19.149s4.075-16.375 2.428-24.653c-1.647-8.277-5.709-15.881-11.678-21.845-5.965-5.969-13.568-10.031-21.845-11.678s-16.858-0.802-24.653 2.428c-7.795 3.23-14.46 8.7-19.149 15.714-4.689 7.019-7.189 15.266-7.189 23.706 0 11.315 4.497 22.17 12.497 30.17s18.854 12.497 30.17 12.497zM725.333 810.667c8.439 0 16.687-2.5 23.706-7.189 7.014-4.689 12.484-11.354 15.714-19.149s4.075-16.375 2.428-24.653c-1.647-8.277-5.709-15.881-11.678-21.845-5.965-5.969-13.568-10.031-21.845-11.678s-16.858-0.802-24.653 2.428c-7.795 3.23-14.46 8.7-19.149 15.714-4.689 7.019-7.189 15.266-7.189 23.706 0 11.315 4.497 22.17 12.497 30.17s18.854 12.497 30.17 12.497zM725.333 640c8.439 0 16.687-2.5 23.706-7.189 7.014-4.689 12.484-11.354 15.714-19.149s4.075-16.375 2.428-24.653c-1.647-8.277-5.709-15.881-11.678-21.845-5.965-5.969-13.568-10.031-21.845-11.678s-16.858-0.802-24.653 2.428c-7.795 3.23-14.46 8.7-19.149 15.714-4.689 7.019-7.189 15.266-7.189 23.706 0 11.315 4.497 22.17 12.497 30.17s18.854 12.497 30.17 12.497zM512 640c8.439 0 16.687-2.5 23.706-7.189 7.014-4.689 12.484-11.354 15.714-19.149s4.075-16.375 2.428-24.653c-1.647-8.277-5.709-15.881-11.678-21.845-5.965-5.969-13.568-10.031-21.845-11.678s-16.858-0.802-24.653 2.428c-7.795 3.23-14.46 8.7-19.149 15.714-4.689 7.019-7.189 15.266-7.189 23.706 0 11.315 4.497 22.17 12.497 30.17s18.854 12.497 30.17 12.497zM810.667 128h-42.667v-42.667c0-11.316-4.497-22.168-12.497-30.17s-18.854-12.497-30.17-12.497c-11.315 0-22.17 4.495-30.17 12.497s-12.497 18.854-12.497 30.17v42.667h-341.333v-42.667c0-11.316-4.495-22.168-12.497-30.17s-18.854-12.497-30.17-12.497c-11.316 0-22.168 4.495-30.17 12.497s-12.497 18.854-12.497 30.17v42.667h-42.667c-33.948 0-66.505 13.486-90.51 37.49s-37.49 56.562-37.49 90.51v597.333c0 33.946 13.486 66.505 37.49 90.509s56.562 37.491 90.51 37.491h597.333c33.946 0 66.505-13.487 90.509-37.491s37.491-56.563 37.491-90.509v-597.333c0-33.948-13.487-66.505-37.491-90.51s-56.563-37.49-90.509-37.49zM853.333 853.333c0 11.315-4.497 22.17-12.497 30.17s-18.854 12.497-30.17 12.497h-597.333c-11.316 0-22.168-4.497-30.17-12.497s-12.497-18.854-12.497-30.17v-384h682.667v384zM853.333 384h-682.667v-128c0-11.316 4.495-22.168 12.497-30.17s18.854-12.497 30.17-12.497h42.667v42.667c0 11.316 4.495 22.168 12.497 30.17s18.854 12.497 30.17 12.497c11.316 0 22.168-4.495 30.17-12.497s12.497-18.854 12.497-30.17v-42.667h341.333v42.667c0 11.316 4.497 22.168 12.497 30.17s18.854 12.497 30.17 12.497c11.315 0 22.17-4.495 30.17-12.497s12.497-18.854 12.497-30.17v-42.667h42.667c11.315 0 22.17 4.495 30.17 12.497s12.497 18.854 12.497 30.17v128zM298.667 640c8.439 0 16.688-2.5 23.704-7.189s12.485-11.354 15.715-19.149c3.229-7.795 4.074-16.375 2.428-24.653s-5.71-15.881-11.677-21.845c-5.967-5.969-13.57-10.031-21.846-11.678s-16.855-0.802-24.652 2.428c-7.796 3.23-14.46 8.7-19.148 15.714-4.688 7.019-7.191 15.266-7.191 23.706 0 11.315 4.495 22.17 12.497 30.17s18.854 12.497 30.17 12.497zM298.667 810.667c8.439 0 16.688-2.5 23.704-7.189s12.485-11.354 15.715-19.149c3.229-7.795 4.074-16.375 2.428-24.653s-5.71-15.881-11.677-21.845c-5.967-5.969-13.57-10.031-21.846-11.678s-16.855-0.802-24.652 2.428c-7.796 3.23-14.46 8.7-19.148 15.714-4.688 7.019-7.191 15.266-7.191 23.706 0 11.315 4.495 22.17 12.497 30.17s18.854 12.497 30.17 12.497z"],attrs:[{}],isMulticolor:!1,isMulticolor2:!1,colorPermutations:{"13513613712552552551":[],"125525525513463581":[{}]},tags:["calendar"],grid:0},attrs:[{}],properties:{order:22,id:5,name:"calendar",prevSize:32,code:59660},setIdx:0,setId:3,iconIdx:9},{icon:{paths:["M92.308 1008.001l-76.307-76.31 419.692-419.691-419.692-419.692 76.307-76.307 419.692 419.692 419.691-419.692 76.31 76.307-419.692 419.692 419.692 419.691-76.31 76.31-419.691-419.692-419.692 419.692z"],attrs:[],isMulticolor:!1,isMulticolor2:!1,colorPermutations:{"13513613712552552551":[],"125525525513463581":[]},tags:["close"],grid:0},attrs:[],properties:{order:20,id:6,name:"close",prevSize:32,code:59659},setIdx:0,setId:3,iconIdx:10},{icon:{paths:["M479.562 16.805l-25.249 2.704c-85.122 9.016-168.126 42.381-241.661 97.025-27.458 20.423-75.563 68.53-96.213 96.124-112.624 150.903-131.877 345.585-50.901 514.566 24.618 51.308 53.156 91.118 96.528 134.446 43.329 43.372 83.138 71.911 134.446 96.528 168.936 80.974 363.753 61.632 514.745-51.083 27.458-20.47 75.698-68.711 96.169-96.169 134.086-179.667 134.086-418.804 0-598.47-20.47-27.413-68.666-75.61-96.033-95.944-71.911-53.472-147.656-84.537-235.214-96.44-19.071-2.616-83.365-4.78-96.62-3.292zM571.537 110.494c115.556 17.447 216.593 82.507 281.336 181.201 13.662 20.875 33.498 61.272 42.020 85.663 15.6 44.769 21.866 83.183 21.866 134.357 0 67.314-11.587 118.17-40.442 177.639-31.786 65.555-79.757 120.244-142.157 161.949-35.573 23.806-92.472 47.612-136.114 57.034-25.62 5.722-55.043 8.998-85.231 8.998-96.674 0-185.496-33.609-255.424-89.779l0.796 0.619c-68.215-54.644-119.387-134.806-139.902-219.072-8.387-34.401-11-57.348-11-97.385 0-67.314 11.587-118.17 40.442-177.639 48.209-97.574 131.699-171.591 233.4-206.28l2.851-0.844c31.786-10.504 57.348-15.69 98.288-19.928 14.519-1.488 70.83 0.676 89.27 3.471zM494.621 288.856c-9.882 2.687-17.931 9.133-22.672 17.667l-0.094 0.187c-4.012 7.484-4.012 7.935-4.508 110.821-0.36 66.771 0.136 105.727 1.352 110.19 4.735 17.674 17.764 27.322 38.638 28.674 21.866 1.397 36.204-4.915 44.365-19.523l4.508-8.025v-214.608l-4.012-7.528c-2.526-4.494-5.734-8.293-9.532-11.395l-0.071-0.056c-11.903-8.52-32.507-11.227-47.972-6.403zM494.621 649.453c-17.764 5.816-25.925 17.223-27.277 38.097-1.397 21.687 4.959 36.025 19.523 44.184 6.988 3.923 10.235 4.508 25.158 4.508 14.067 0 18.395-0.721 24.346-3.876 14.698-7.935 20.739-19.611 20.739-40.306 0-28.99-12.939-42.922-41.344-44.365-8.567-0.452-16.455 0.224-21.146 1.759z"],attrs:[{}],isMulticolor:!1,isMulticolor2:!1,colorPermutations:{"13513613712552552551":[{}],"125525525513463581":[{}]},tags:["alert-circle"],grid:0},attrs:[{}],properties:{order:3,id:8,name:"alert-circle",prevSize:32,code:59648},setIdx:0,setId:3,iconIdx:11},{icon:{paths:["M86.74 248.039c-13.743 7.271-32.022 25.885-39.226 39.959-3.593 6.962-5.699 15.194-5.699 23.918 0 8.777 2.132 17.053 5.906 24.343l-0.14-0.295c8.339 16.68 423.485 431.822 440.161 440.161 7.050 3.626 15.386 5.753 24.216 5.753s17.166-2.127 24.519-5.894l-0.303 0.141c16.68-8.339 431.822-423.485 440.161-440.161 11.741-23.549 5.737-47.899-17.345-70.981-22.684-22.684-48.099-28.753-71.58-17.012-7.472 3.734-71.38 65.711-193.329 187.392l-182.121 181.854-182.121-181.854c-121.949-121.682-185.858-183.656-193.329-187.392-7.274-3.457-15.806-5.475-24.812-5.475-9.058 0-17.641 2.042-25.313 5.692l0.355-0.152z"],attrs:[{}],isMulticolor:!1,isMulticolor2:!1,colorPermutations:{"13513613712552552551":[{}],"125525525513463581":[{}]},tags:["chevron-down"],grid:0},attrs:[{}],properties:{order:4,id:9,name:"chevron-down",prevSize:32,code:59649},setIdx:0,setId:3,iconIdx:12},{icon:{paths:["M696.431 22.299c-16.683 8.519-455.166 447.703-463.259 463.964-3.67 7.465-5.925 16.214-6.192 25.461l-0.002 0.092c0 7.814 2.463 18.021 6.195 25.553 8.798 17.599 446.859 455.657 464.458 464.458 24.848 12.388 50.544 6.053 74.898-18.302 24.426-24.426 30.692-50.050 18.302-74.898-4.434-8.729-63.566-69.902-198.087-204.633l-191.892-192.174 191.892-192.174c134.521-134.733 193.654-195.904 198.087-204.633 12.388-24.848 6.124-50.472-18.302-74.898-23.934-23.934-51.6-30.411-76.097-17.811z"],attrs:[{}],isMulticolor:!1,isMulticolor2:!1,colorPermutations:{"13513613712552552551":[{}],"125525525513463581":[{}]},tags:["chevron-left"],grid:0},attrs:[{}],properties:{order:5,id:10,name:"chevron-left",prevSize:32,code:59650},setIdx:0,setId:3,iconIdx:13},{icon:{paths:["M274.397 21.85c-14.506 7.676-33.802 27.323-41.407 42.182-3.793 7.347-6.016 16.037-6.016 25.248 0 9.265 2.25 18.003 6.233 25.699l-0.148-0.312c4.436 8.732 63.589 69.927 198.164 204.713l191.967 192.248-191.967 192.248c-134.573 134.785-193.727 195.98-198.164 204.713-12.393 24.858-6.126 50.492 18.309 74.927 24.366 24.366 50.068 30.704 74.927 18.309 17.606-8.802 455.833-447.031 464.636-464.636 3.671-7.468 5.928-16.22 6.194-25.472l0.002-0.092c-0.268-9.341-2.525-18.096-6.36-25.936l0.164 0.373c-8.522-17.112-446.96-455.833-464.002-464.284-7.679-3.647-16.687-5.779-26.192-5.779-9.563 0-18.623 2.157-26.72 6.009l0.376-0.161z"],attrs:[{}],isMulticolor:!1,isMulticolor2:!1,colorPermutations:{"13513613712552552551":[{}],"125525525513463581":[{}]},tags:["chevron-right"],grid:0},attrs:[{}],properties:{order:6,id:11,name:"chevron-right",prevSize:32,code:59651},setIdx:0,setId:3,iconIdx:14},{icon:{paths:["M122.87 145.282c-45.789 7.741-83.47 41.162-97.682 86.706l-3.85 12.287v535.715l3.85 12.287c12.591 40.186 43.612 71.207 82.901 83.554l0.897 0.243 12.287 3.85h781.455l12.287-3.85c40.186-12.591 71.207-43.612 83.554-82.901l0.243-0.897 3.85-12.287v-535.715l-3.85-12.287c-12.527-39.881-43.174-70.717-82.042-83.262l-0.897-0.25-13.147-4.136-385.813-0.246c-212.197-0.122-389.54 0.41-394.045 1.187zM893.308 227.933c6.274 1.981 11.613 5.404 15.833 9.892l0.019 0.020c12.122 12.122 12.41 14.212 12.41 87.812v63.606h-819.135v-63.606c0-73.641 0.287-75.688 12.451-87.812 4.087-4.335 9.153-7.7 14.847-9.746l0.265-0.083c6.554-2.006 60.903-2.375 381.308-2.458 329.949-0.122 374.59 0.163 382.004 2.375zM921.568 616.736c0 157.93 0.205 154.324-9.051 166.448-2.499 3.277-7.945 7.986-12.082 10.403l-7.536 4.424h-761.796l-7.536-4.424c-4.601-2.832-8.531-6.217-11.861-10.129l-0.058-0.069c-9.543-12.532-9.216-6.511-9.216-165.793v-146.42h819.135v145.56z"],attrs:[{}],isMulticolor:!1,isMulticolor2:!1,colorPermutations:{"13513613712552552551":[{}],"125525525513463581":[{}]},tags:["credit-card"],grid:0},attrs:[{}],properties:{order:7,id:12,name:"credit-card",prevSize:32,code:59652},setIdx:0,setId:3,iconIdx:15},{icon:{paths:["M124.444 1024c-25.6 0-48-9.603-67.2-28.803s-28.8-41.597-28.8-67.197v-228.801h96v228.801h832v-228.801h96v228.801c0 25.6-9.603 47.997-28.803 67.197s-41.597 28.803-67.197 28.803h-832zM540.444 779.201l-308.8-308.801 68.8-68.8 192 192.002v-593.601h96.003v593.601l192-192.002 68.796 68.8-308.799 308.801z"],width:1081,attrs:[{}],isMulticolor:!1,isMulticolor2:!1,colorPermutations:{"13513613712552552551":[{}],"125525525513463581":[{}]},tags:["download"],grid:0},attrs:[{}],properties:{order:8,id:13,name:"download",prevSize:32,code:59653},setIdx:0,setId:3,iconIdx:16},{icon:{paths:["M794.006 17.661l-151.696 1.040-9.863 5.054c-16.85 8.673-23.837 23.986-22.3 48.666 1.437 22.747 11.943 37.069 31.023 42.371 4.362 1.239 44.353 2.031 101.345 2.031h94.11l-234.158 234.406c-167.702 167.801-235.446 236.884-238.618 243.178-8.721 17.494-4.311 35.583 12.884 52.728 17.147 17.197 35.236 21.607 52.728 12.884 6.293-3.172 75.377-70.917 243.178-238.618l234.406-234.158v94.11c0 56.992 0.793 96.984 2.031 101.345 5.301 19.080 19.624 29.586 42.371 31.023 24.034 1.536 39.794-5.402 48.764-21.459l4.956-8.822 1.337-156.601c0.743-86.13 1.389-159.525 1.487-163.094 0.199-9.367-10.010-30.676-17.197-35.781-11.101-7.88-24.034-12.29-34.839-11.796-5.65 0.247-78.549 0.942-161.954 1.487zM138.857 168.514c-55.307 9.267-100.999 49.804-118.194 104.912l-4.659 14.867v598.654l4.659 14.867c15.235 48.626 52.77 86.159 100.311 101.101l1.085 0.293 14.867 4.659h598.654l14.867-4.659c48.626-15.235 86.159-52.77 101.101-100.311l0.293-1.085 4.659-14.867v-342.936l-4.51-8.424c-8.177-15.363-27.751-23.787-50.3-21.756-21.557 1.983-36.326 13.034-41.281 30.924-1.288 4.558-2.031 65.068-2.031 163.985 0 170.081 0.149 167.504-10.951 182.074-3.023 3.964-9.614 9.664-14.62 12.587l-9.119 5.353h-574.865l-9.119-5.353c-5.567-3.428-10.323-7.523-14.351-12.254l-0.070-0.086c-11.796-15.463-11.15 1.585-11.15-302.349 0-314.194-1.090-292.092 15.016-308.198 15.61-15.61 8.177-15.016 186.040-15.016 98.917 0 159.377-0.743 163.935-2.031 11.026-3.042 20.021-10.196 25.414-19.667l0.108-0.206c4.311-7.73 4.956-11.2 4.906-27.653-0.050-21.459-4.014-31.964-14.916-39.696-13.925-9.911-13.034-9.863-185.048-9.614-88.411 0.098-165.274 0.991-170.726 1.884z"],attrs:[{}],isMulticolor:!1,isMulticolor2:!1,colorPermutations:{"13513613712552552551":[{}],"125525525513463581":[{}]},tags:["external-link"],grid:0},attrs:[{}],properties:{order:9,id:14,name:"external-link",prevSize:32,code:59654},setIdx:0,setId:3,iconIdx:17},{icon:{paths:["M37.011 21.092c-7.44 4.919-15.211 13.392-19.096 20.832-2.893 5.497-2.397 26.205 0.744 32.446 1.488 2.893 43.936 46.623 94.363 97.173l91.676 91.883-22.072 19.881c-55.882 50.302-111.391 120.526-152.394 192.652-19.923 35.091-19.551 40.216 6.572 83.906 22.981 38.439 50.839 77.582 81.963 114.987 17.277 20.832 68.571 72.374 88.204 88.659 77.664 64.52 156.486 101.967 243.863 115.938 29.181 4.671 84.691 4.919 114.905 0.537 64.774-9.256 123.081-30.451 174.918-61.366l-2.146 1.186 14.053-8.391 95.891 95.643c52.74 52.575 98.289 96.801 101.182 98.289 3.431 1.695 9.589 2.645 17.484 2.645 10.871 0 13.061-0.579 19.881-5.084 7.44-4.919 15.211-13.392 19.096-20.832 1.033-1.984 1.901-9.135 1.901-15.872 0-10.788-0.579-13.061-4.877-19.509-6.696-10.003-922.132-924.736-928.745-928.042-3.431-1.695-9.631-2.645-17.484-2.645-10.871 0-13.061 0.579-19.881 5.084zM483.073 140.957c-38.77 3.885-70.679 9.879-81.384 15.335-17.443 8.928-22.651 27.611-14.467 51.748 3.431 9.961 12.565 20.501 19.964 22.94 7.233 2.397 20.584 2.356 31.413-0.083 21.828-4.99 46.894-7.847 72.629-7.847 24.765 0 48.908 2.647 72.168 7.674l-2.239-0.405c112.673 22.94 225.345 110.358 314.128 243.697 27.404 41.126 25.833 34.802 13.681 54.89-18.486 29.629-36.424 54.854-55.698 78.967l1.263-1.635c-15.665 19.427-20.419 28.396-20.419 38.728 0 9.961 3.844 17.897 13.020 26.825 15.789 15.335 32.074 19.179 47.078 10.995 16.285-8.845 62.164-70.431 96.553-129.578 23.188-39.844 23.064-44.267-2.356-87.212-37.302-62.647-79.77-116.755-128.241-164.821l-0.056-0.055c-52.906-52.864-96.015-84.608-154.667-113.789-47.987-23.891-92.875-37.778-142.185-43.978-14.921-1.901-69.067-3.472-80.186-2.397zM363.497 436.278c-7.027 12.235-16.161 40.547-18.6 57.411-2.273 15.748-1.281 38.026 2.439 55.51 13.81 64.070 63.4 113.659 126.385 127.273l1.085 0.197c36.992 7.853 73.986 2.976 109.035-14.467l13.144-6.531 95.767 95.767-18.145 9.093c-55.551 27.859-106.762 40.010-167.562 39.762-34.884-0.124-55.51-2.852-85.146-11.325-108.953-31.041-213.029-116.558-296.355-243.491-23.767-36.207-22.609-30.421-10.209-50.798 36.103-58.15 77.662-108.281 125.123-152.115l0.487-0.445 22.196-20.295 105.481 105.481-5.125 8.969zM482.99 541.677c28.148 28.189 50.839 51.5 50.426 51.872-2.371 0.956-5.22 1.825-8.155 2.456l-0.358 0.065c-32.694 8.019-71.795-10.664-88.618-42.324-7.068-13.309-10.871-31.165-9.424-44.226s2.645-19.013 3.927-19.013c0.579 0 24.097 23.023 52.203 51.17z"],attrs:[{}],isMulticolor:!1,isMulticolor2:!1,colorPermutations:{"13513613712552552551":[{}],"125525525513463581":[{}]},tags:["eye-off"],grid:0},attrs:[{}],properties:{order:10,id:15,name:"eye-off",prevSize:32,code:59655},setIdx:0,setId:3,iconIdx:18},{icon:{paths:["M476.812 145.058c-91.938 8.183-178.844 45.99-262.682 114.237-22.013 17.88-73.24 69.23-93.411 93.576-27.898 33.332-54.401 70.307-78.054 109.206l-2.265 4.009c-25.408 43.004-25.408 48.075 0 91.079 26.595 43.828 53.754 81.602 83.511 117.127l-1.187-1.456c17.103 20.621 67.881 71.644 87.316 87.765 95.252 79.132 196.848 119.231 301.963 119.231 101.186 0 199.262-37.274 291.528-110.8 24.55-19.599 77.168-71.317 97.789-96.194 28.531-34.062 55.678-71.838 79.947-111.56l2.335-4.112c25.408-43.004 25.408-48.075 0-91.079-36.927-62.014-78.968-115.578-126.948-163.159l-0.056-0.055c-52.373-52.333-95.049-83.755-153.109-112.642-47.258-23.526-92.471-37.52-140.752-43.534-19.762-2.456-66.611-3.355-85.924-1.636zM542.401 226.93c113.297 11.048 221.112 79.46 315.996 200.613 12.97 16.572 49.221 69.557 54.46 79.622 2.865 5.524 3.109 4.991-18.289 37.602-76.268 116.162-173.648 200.285-270.457 233.633-36.375 12.521-63.503 17.677-100.654 19.107-41.858 1.595-75.777-3.436-118.575-17.634-99.877-33.061-197.545-116.447-275.448-235.106-21.4-32.57-21.154-32.118-18.289-37.561 5.319-10.106 35.598-54.828 49.058-72.503 112.439-147.544 247.339-220.865 382.198-207.772zM485.731 350.456c-46.153 7.2-90.63 37.358-114.115 77.413-14.495 23.907-23.073 52.8-23.073 83.696 0 68.318 41.943 126.839 101.484 151.218l1.089 0.394c18.045 7.475 38.999 11.817 60.968 11.817 68.256 0 126.725-41.91 151.074-101.401l0.393-1.088c7.497-18.004 11.851-38.921 11.851-60.853 0-21.895-4.34-42.775-12.205-61.827l0.393 1.079c-21.587-53.034-68.85-91.572-125.925-100.454l-0.915-0.116c-7.561-1.328-16.266-2.088-25.149-2.088-9.141 0-18.093 0.805-26.792 2.346l0.92-0.135zM533.4 432.78c30.737 8.794 53.801 34.225 59.016 65.681l0.066 0.48c4.092 26.718-3.846 50.859-23.077 70.131-16.407 16.489-35.024 24.386-57.404 24.386-21.072 0-39.361-7.284-55.114-21.891-54.418-50.572-18.985-141.571 55.114-141.571 5.851 0 15.467 1.268 21.4 2.782z"],attrs:[{}],isMulticolor:!1,isMulticolor2:!1,colorPermutations:{"13513613712552552551":[{}],"125525525513463581":[{}]},tags:["eye"],grid:0},attrs:[{}],properties:{order:11,id:16,name:"eye",prevSize:32,code:59656},setIdx:0,setId:3,iconIdx:19},{icon:{paths:["M481.28 43.648l-23.893 2.56c-80.555 8.533-159.104 40.107-228.693 91.819-25.984 19.328-71.509 64.853-91.051 90.965-106.581 142.805-124.8 327.040-48.171 486.955 23.296 48.555 50.304 86.229 91.349 127.232 41.003 41.045 78.677 68.053 127.232 91.349 159.872 76.629 344.235 58.325 487.125-48.341 25.984-19.371 71.637-65.024 91.008-91.008 126.891-170.027 126.891-396.331 0-566.357-19.371-25.941-64.981-71.552-90.88-90.795-68.053-50.603-139.733-80-222.592-91.264-18.048-2.475-78.891-4.523-91.435-3.115zM568.32 132.309c109.355 16.512 204.971 78.080 266.24 171.477 12.928 19.755 31.701 57.984 39.765 81.067 14.763 42.368 20.693 78.72 20.693 127.147 0 63.701-10.965 111.829-38.272 168.107-30.080 62.037-75.477 113.792-134.528 153.259-33.664 22.528-87.509 45.056-128.811 53.973-24.244 5.414-52.089 8.515-80.658 8.515-91.486 0-175.543-31.805-241.717-84.962l0.754 0.586c-64.555-51.712-112.981-127.573-132.395-207.317-7.936-32.555-10.411-54.272-10.411-92.16 0-63.701 10.965-111.829 38.272-168.107 45.622-92.339 124.633-162.383 220.876-195.211l2.698-0.799c30.080-9.941 54.272-14.848 93.013-18.859 13.739-1.408 67.029 0.64 84.48 3.285zM482.133 257.792c-22.357 3.456-48.768 14.165-70.827 28.715-38.101 25.131-71.424 80-66.261 109.184 2.56 14.72 15.104 25.173 36.309 30.421 9.771 2.389 12.843 2.517 19.499 0.768 11.392-3.029 20.821-12.971 27.563-28.928 6.741-16.085 12.8-25.003 23.509-34.645 26.325-23.68 61.141-28.501 94.208-13.013 14.848 6.955 31.744 24.021 38.997 39.381 6.059 12.843 9.643 32.128 8.021 43.093-4.096 27.221-38.699 56.917-92.288 79.232-31.019 12.885-39.424 24.107-34.944 46.805 5.675 28.8 22.997 43.221 46.421 38.613 24.832-4.907 68.651-26.965 97.451-49.109 49.365-37.973 71.595-80.213 68.949-130.987-2.261-43.136-18.731-79.957-49.749-111.189-21.063-21.482-47.858-37.271-77.909-44.894l-1.152-0.248c-15.317-3.968-51.925-5.675-67.797-3.2zM495.531 685.013c-16.811 5.504-24.533 16.299-25.813 36.053-1.323 20.523 4.693 34.091 18.475 41.813 6.613 3.712 9.685 4.267 23.808 4.267 13.312 0 17.408-0.683 23.040-3.669 13.909-7.509 19.627-18.56 19.627-38.144 0-27.435-12.245-40.619-39.125-41.984-8.107-0.427-15.573 0.213-20.011 1.664z"],attrs:[{}],isMulticolor:!1,isMulticolor2:!1,colorPermutations:{"13513613712552552551":[{}],"125525525513463581":[{}]},tags:["help-circle"],grid:0},attrs:[{}],properties:{order:12,id:17,name:"help-circle",prevSize:32,code:59657},setIdx:0,setId:3,iconIdx:20}],height:1024,metadata:{name:"icomoon"},preferences:{showGlyphs:!0,showQuickUse:!0,showQuickUse2:!0,showSVGs:!0,fontPref:{prefix:"icon-",metadata:{fontFamily:"icomoon"},metrics:{emSize:1024,baseline:6.25,whitespace:50},embed:!1},imagePref:{prefix:"icon-",png:!0,useClassSelector:!0,color:0,bgColor:16777215,classSelector:".icon",name:"icomoon"},historySize:50,showCodes:!0,gridSize:16,showGrid:!1}}).icons.map(e=>e.properties.name).reduce((e,t)=>(e[t]=t,e),{});const Uo={prefix:String(Math.round(Math.random()*1e10)),current:0},Hc=f.createContext(Uo),hm=f.createContext(!1);let mm=!!(typeof window<"u"&&window.document&&window.document.createElement),Ms=new WeakMap;function gm(e=!1){let t=f.useContext(Hc),r=f.useRef(null);if(r.current===null&&!e){var n,o;let a=(o=f.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED)===null||o===void 0||(n=o.ReactCurrentOwner)===null||n===void 0?void 0:n.current;if(a){let s=Ms.get(a);s==null?Ms.set(a,{id:t.current,state:a.memoizedState}):a.memoizedState!==s.state&&(t.current=s.id,Ms.delete(a))}r.current=++t.current}return r.current}function vm(e){let t=f.useContext(Hc);t===Uo&&!mm&&console.warn("When server rendering, you must wrap your application in an <SSRProvider> to ensure consistent ids are generated between the client and server.");let r=gm(!!e),n=t===Uo&&process.env.NODE_ENV==="test"?"react-aria":`react-aria${t.prefix}`;return e||`${n}-${r}`}function bm(e){let t=f.useId(),[r]=f.useState(Yc()),n=r||process.env.NODE_ENV==="test"?"react-aria":`react-aria${Uo.prefix}`;return e||`${n}-${t}`}const ym=typeof f.useId=="function"?bm:vm;function xm(){return!1}function wm(){return!0}function Cm(e){return()=>{}}function Yc(){return typeof f.useSyncExternalStore=="function"?f.useSyncExternalStore(Cm,xm,wm):f.useContext(hm)}function Pm(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function Mm(e,t,r){Pm(e,t),t.set(e,r)}function Hr(e,t,r){let[n,o]=f.useState(e||t),a=f.useRef(e!==void 0),s=e!==void 0;f.useEffect(()=>{let c=a.current;c!==s&&console.warn(`WARN: A component changed from ${c?"controlled":"uncontrolled"} to ${s?"controlled":"uncontrolled"}.`),a.current=s},[s]);let i=s?e:n,l=f.useCallback((c,...u)=>{let d=(p,...h)=>{r&&(Object.is(i,p)||r(p,...h)),s||(i=p)};typeof c=="function"?(console.warn("We can not support a function callback. See Github Issues for details https://github.com/adobe/react-spectrum/issues/2320"),o((h,...g)=>{let v=c(s?i:h,...g);return d(v,...u),s?h:v})):(s||o(c),d(c,...u))},[s,i,r]);return[i,l]}const Ot=typeof document<"u"?f.useLayoutEffect:()=>{};function Be(e){const t=f.useRef(null);return Ot(()=>{t.current=e},[e]),f.useCallback((...r)=>{const n=t.current;return n(...r)},[])}function Sm(e){let[t,r]=f.useState(e),n=f.useRef(null),o=Be(()=>{let s=n.current.next();if(s.done){n.current=null;return}t===s.value?o():r(s.value)});Ot(()=>{n.current&&o()});let a=Be(s=>{n.current=s(t),o()});return[t,a]}let Tm=!!(typeof window<"u"&&window.document&&window.document.createElement),Go=new Map;function Yr(e){let[t,r]=f.useState(e),n=f.useRef(null),o=ym(t),a=f.useCallback(s=>{n.current=s},[]);return Tm&&Go.set(o,a),Ot(()=>{let s=o;return()=>{Go.delete(s)}},[o]),f.useEffect(()=>{let s=n.current;s&&(n.current=null,r(s))}),o}function Em(e,t){if(e===t)return e;let r=Go.get(e);if(r)return r(t),t;let n=Go.get(t);return n?(n(e),e):t}function qc(e=[]){let t=Yr(),[r,n]=Sm(t),o=f.useCallback(()=>{n(function*(){yield t,yield document.getElementById(t)?t:void 0})},[t,n]);return Ot(o,[t,o,...e]),r}function gr(...e){return(...t)=>{for(let r of e)typeof r=="function"&&r(...t)}}const St=e=>{var t;return(t=e==null?void 0:e.ownerDocument)!==null&&t!==void 0?t:document},On=e=>e&&"window"in e&&e.window===e?e:St(e).defaultView||window;function de(...e){let t={...e[0]};for(let r=1;r<e.length;r++){let n=e[r];for(let o in n){let a=t[o],s=n[o];typeof a=="function"&&typeof s=="function"&&o[0]==="o"&&o[1]==="n"&&o.charCodeAt(2)>=65&&o.charCodeAt(2)<=90?t[o]=gr(a,s):(o==="className"||o==="UNSAFE_className")&&typeof a=="string"&&typeof s=="string"?t[o]=Uc(a,s):o==="id"&&a&&s?t.id=Em(a,s):t[o]=s!==void 0?s:a}}return t}const $m=new Set(["id"]),Dm=new Set(["aria-label","aria-labelledby","aria-describedby","aria-details"]),km=new Set(["href","target","rel","download","ping","referrerPolicy"]),Im=/^(data-.*)$/;function qr(e,t={}){let{labelable:r,isLink:n,propNames:o}=t,a={};for(const s in e)Object.prototype.hasOwnProperty.call(e,s)&&($m.has(s)||r&&Dm.has(s)||n&&km.has(s)||o!=null&&o.has(s)||Im.test(s))&&(a[s]=e[s]);return a}function nt(e){if(Am())e.focus({preventScroll:!0});else{let t=Nm(e);e.focus(),Om(t)}}let Ho=null;function Am(){if(Ho==null){Ho=!1;try{var e=document.createElement("div");e.focus({get preventScroll(){return Ho=!0,!0}})}catch{}}return Ho}function Nm(e){for(var t=e.parentNode,r=[],n=document.scrollingElement||document.documentElement;t instanceof HTMLElement&&t!==n;)(t.offsetHeight<t.scrollHeight||t.offsetWidth<t.scrollWidth)&&r.push({element:t,scrollTop:t.scrollTop,scrollLeft:t.scrollLeft}),t=t.parentNode;return n instanceof HTMLElement&&r.push({element:n,scrollTop:n.scrollTop,scrollLeft:n.scrollLeft}),r}function Om(e){for(let{element:t,scrollTop:r,scrollLeft:n}of e)t.scrollTop=r,t.scrollLeft=n}function Yo(e){var t;return typeof window>"u"||window.navigator==null?!1:((t=window.navigator.userAgentData)===null||t===void 0?void 0:t.brands.some(r=>e.test(r.brand)))||e.test(window.navigator.userAgent)}function Ss(e){var t;return typeof window<"u"&&window.navigator!=null?e.test(((t=window.navigator.userAgentData)===null||t===void 0?void 0:t.platform)||window.navigator.platform):!1}function Jt(){return Ss(/^Mac/i)}function jm(){return Ss(/^iPhone/i)}function Qc(){return Ss(/^iPad/i)||Jt()&&navigator.maxTouchPoints>1}function jn(){return jm()||Qc()}function Lm(){return Jt()||jn()}function _m(){return Yo(/AppleWebKit/i)&&!Fm()}function Fm(){return Yo(/Chrome/i)}function Xc(){return Yo(/Android/i)}function Vm(){return Yo(/Firefox/i)}const zm=f.createContext({isNative:!0,open:Bm});function Zc(){return f.useContext(zm)}function jt(e,t,r=!0){var n,o;let{metaKey:a,ctrlKey:s,altKey:i,shiftKey:l}=t;Vm()&&(!((o=window.event)===null||o===void 0||(n=o.type)===null||n===void 0)&&n.startsWith("key"))&&e.target==="_blank"&&(Jt()?a=!0:s=!0);let c=_m()&&Jt()&&!Qc()?new KeyboardEvent("keydown",{keyIdentifier:"Enter",metaKey:a,ctrlKey:s,altKey:i,shiftKey:l}):new MouseEvent("click",{metaKey:a,ctrlKey:s,altKey:i,shiftKey:l,bubbles:!0,cancelable:!0});jt.isOpening=r,nt(e),e.dispatchEvent(c),jt.isOpening=!1}jt.isOpening=!1;function Wm(e,t){if(e instanceof HTMLAnchorElement)t(e);else if(e.hasAttribute("data-href")){let r=document.createElement("a");r.href=e.getAttribute("data-href"),e.hasAttribute("data-target")&&(r.target=e.getAttribute("data-target")),e.hasAttribute("data-rel")&&(r.rel=e.getAttribute("data-rel")),e.hasAttribute("data-download")&&(r.download=e.getAttribute("data-download")),e.hasAttribute("data-ping")&&(r.ping=e.getAttribute("data-ping")),e.hasAttribute("data-referrer-policy")&&(r.referrerPolicy=e.getAttribute("data-referrer-policy")),e.appendChild(r),t(r),e.removeChild(r)}}function Bm(e,t){Wm(e,r=>jt(r,t))}let Qr=new Map,Ts=new Set;function Jc(){if(typeof window>"u")return;let e=r=>{let n=Qr.get(r.target);n||(n=new Set,Qr.set(r.target,n),r.target.addEventListener("transitioncancel",t)),n.add(r.propertyName)},t=r=>{let n=Qr.get(r.target);if(n&&(n.delete(r.propertyName),n.size===0&&(r.target.removeEventListener("transitioncancel",t),Qr.delete(r.target)),Qr.size===0)){for(let o of Ts)o();Ts.clear()}};document.body.addEventListener("transitionrun",e),document.body.addEventListener("transitionend",t)}typeof document<"u"&&(document.readyState!=="loading"?Jc():document.addEventListener("DOMContentLoaded",Jc));function Es(e){requestAnimationFrame(()=>{Qr.size===0?e():Ts.add(e)})}function $s(){let e=f.useRef(new Map),t=f.useCallback((o,a,s,i)=>{let l=i!=null&&i.once?(...c)=>{e.current.delete(s),s(...c)}:s;e.current.set(s,{type:a,eventTarget:o,fn:l,options:i}),o.addEventListener(a,s,i)},[]),r=f.useCallback((o,a,s,i)=>{var l;let c=((l=e.current.get(s))===null||l===void 0?void 0:l.fn)||s;o.removeEventListener(a,c,i),e.current.delete(s)},[]),n=f.useCallback(()=>{e.current.forEach((o,a)=>{r(o.eventTarget,o.type,a,o.options)})},[r]);return f.useEffect(()=>n,[n]),{addGlobalListener:t,removeGlobalListener:r,removeAllGlobalListeners:n}}function Ds(e,t){let{id:r,"aria-label":n,"aria-labelledby":o}=e;return r=Yr(r),o&&n?o=[...new Set([r,...o.trim().split(/\s+/)])].join(" "):o&&(o=o.trim().split(/\s+/).join(" ")),!n&&!o&&t&&(n=t),{id:r,"aria-label":n,"aria-labelledby":o}}function ks(e,t){Ot(()=>{if(e&&e.ref&&t)return e.ref.current=t.current,()=>{e.ref.current=null}})}function eu(e,t){for(tu(e,t)&&(e=e.parentElement);e&&!tu(e,t);)e=e.parentElement;return e||document.scrollingElement||document.documentElement}function tu(e,t){let r=window.getComputedStyle(e),n=/(auto|scroll)/.test(r.overflow+r.overflowX+r.overflowY);return n&&t&&(n=e.scrollHeight!==e.clientHeight||e.scrollWidth!==e.clientWidth),n}let Km=0;const Is=new Map;function Rm(e){let[t,r]=f.useState(void 0);return Ot(()=>{if(!e)return;let n=Is.get(e);if(n)r(n.element.id);else{let o=`react-aria-description-${Km++}`;r(o);let a=document.createElement("div");a.id=o,a.style.display="none",a.textContent=e,document.body.appendChild(a),n={refCount:0,element:a},Is.set(e,n)}return n.refCount++,()=>{--n.refCount===0&&(n.element.remove(),Is.delete(e))}},[e]),{"aria-describedby":e?t:void 0}}function Um(e,t,r,n){let o=Be(r),a=r==null;f.useEffect(()=>{if(a)return;let s=e.current;return s.addEventListener(t,o,n),()=>{s.removeEventListener(t,o,n)}},[e,t,n,a,o])}function ru(e,t){let r=nu(e,t,"left"),n=nu(e,t,"top"),o=t.offsetWidth,a=t.offsetHeight,s=e.scrollLeft,i=e.scrollTop,{borderTopWidth:l,borderLeftWidth:c}=getComputedStyle(e),u=e.scrollLeft+parseInt(c,10),d=e.scrollTop+parseInt(l,10),p=u+e.clientWidth,h=d+e.clientHeight;r<=s?s=r-parseInt(c,10):r+o>p&&(s+=r+o-p),n<=d?i=n-parseInt(l,10):n+a>h&&(i+=n+a-h),e.scrollLeft=s,e.scrollTop=i}function nu(e,t,r){const n=r==="left"?"offsetLeft":"offsetTop";let o=0;for(;t.offsetParent&&(o+=t[n],t.offsetParent!==e);){if(t.offsetParent.contains(e)){o-=e[n];break}t=t.offsetParent}return o}function ou(e,t){if(document.contains(e)){let s=document.scrollingElement||document.documentElement;if(window.getComputedStyle(s).overflow==="hidden"){let l=eu(e);for(;e&&l&&e!==s&&l!==s;)ru(l,e),e=l,l=eu(e)}else{var r;let{left:l,top:c}=e.getBoundingClientRect();e==null||(r=e.scrollIntoView)===null||r===void 0||r.call(e,{block:"nearest"});let{left:u,top:d}=e.getBoundingClientRect();if(Math.abs(l-u)>1||Math.abs(c-d)>1){var n,o,a;t==null||(o=t.containingElement)===null||o===void 0||(n=o.scrollIntoView)===null||n===void 0||n.call(o,{block:"center",inline:"center"}),(a=e.scrollIntoView)===null||a===void 0||a.call(e,{block:"nearest"})}}}}function Ln(e){return e.mozInputSource===0&&e.isTrusted?!0:Xc()&&e.pointerType?e.type==="click"&&e.buttons===1:e.detail===0&&!e.pointerType}function au(e){return!Xc()&&e.width===0&&e.height===0||e.width===1&&e.height===1&&e.pressure===0&&e.detail===0&&e.pointerType==="mouse"}function As(e,t,r){let n=f.useRef(t),o=Be(()=>{r&&r(n.current)});f.useEffect(()=>{var a;let s=e==null||(a=e.current)===null||a===void 0?void 0:a.form;return s==null||s.addEventListener("reset",o),()=>{s==null||s.removeEventListener("reset",o)}},[e,o])}const Gm=new Set(["Arab","Syrc","Samr","Mand","Thaa","Mend","Nkoo","Adlm","Rohg","Hebr"]),Hm=new Set(["ae","ar","arc","bcc","bqi","ckb","dv","fa","glk","he","ku","mzn","nqo","pnb","ps","sd","ug","ur","yi"]);function Ym(e){if(Intl.Locale){let r=new Intl.Locale(e).maximize(),n=typeof r.getTextInfo=="function"?r.getTextInfo():r.textInfo;if(n)return n.direction==="rtl";if(r.script)return Gm.has(r.script)}let t=e.split("-")[0];return Hm.has(t)}const qm=Symbol.for("react-aria.i18n.locale");function su(){let e=typeof window<"u"&&window[qm]||typeof navigator<"u"&&(navigator.language||navigator.userLanguage)||"en-US";try{Intl.DateTimeFormat.supportedLocalesOf([e])}catch{e="en-US"}return{locale:e,direction:Ym(e)?"rtl":"ltr"}}let Ns=su(),_n=new Set;function iu(){Ns=su();for(let e of _n)e(Ns)}function Qm(){let e=Yc(),[t,r]=f.useState(Ns);return f.useEffect(()=>(_n.size===0&&window.addEventListener("languagechange",iu),_n.add(r),()=>{_n.delete(r),_n.size===0&&window.removeEventListener("languagechange",iu)}),[]),e?{locale:"en-US",direction:"ltr"}:t}const Xm=f.createContext(null);function Os(){let e=Qm();return f.useContext(Xm)||e}var Tt=function(){return Tt=Object.assign||function(t){for(var r,n=1,o=arguments.length;n<o;n++){r=arguments[n];for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(t[a]=r[a])}return t},Tt.apply(this,arguments)};function lu(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r}function Zm(e,t,r){if(r||arguments.length===2)for(var n=0,o=t.length,a;n<o;n++)(a||!(n in t))&&(a||(a=Array.prototype.slice.call(t,0,n)),a[n]=t[n]);return e.concat(a||Array.prototype.slice.call(t))}typeof SuppressedError=="function"&&SuppressedError;function Jm(e,t){return t.get?t.get.call(e):t.value}function cu(e,t,r){if(!t.has(e))throw new TypeError("attempted to "+r+" private field on non-instance");return t.get(e)}function eg(e,t){var r=cu(e,t,"get");return Jm(e,r)}function tg(e,t,r){if(t.set)t.set.call(e,r);else{if(!t.writable)throw new TypeError("attempted to set read only private field");t.value=r}}function uu(e,t,r){var n=cu(e,t,"set");return tg(e,n,r),r}let Xr="default",js="",qo=new WeakMap;function du(e){if(jn()){if(Xr==="default"){const t=St(e);js=t.documentElement.style.webkitUserSelect,t.documentElement.style.webkitUserSelect="none"}Xr="disabled"}else(e instanceof HTMLElement||e instanceof SVGElement)&&(qo.set(e,e.style.userSelect),e.style.userSelect="none")}function Qo(e){if(jn()){if(Xr!=="disabled")return;Xr="restoring",setTimeout(()=>{Es(()=>{if(Xr==="restoring"){const t=St(e);t.documentElement.style.webkitUserSelect==="none"&&(t.documentElement.style.webkitUserSelect=js||""),js="",Xr="default"}})},300)}else if((e instanceof HTMLElement||e instanceof SVGElement)&&e&&qo.has(e)){let t=qo.get(e);e.style.userSelect==="none"&&(e.style.userSelect=t),e.getAttribute("style")===""&&e.removeAttribute("style"),qo.delete(e)}}const fu=f.createContext({register:()=>{}});fu.displayName="PressResponderContext";function rg(e){let t=f.useContext(fu);if(t){let{register:r,...n}=t;e=de(n,e),r()}return ks(t,e.ref),e}var Xo=new WeakMap;class Zo{continuePropagation(){uu(this,Xo,!1)}get shouldStopPropagation(){return eg(this,Xo)}constructor(t,r,n){Mm(this,Xo,{writable:!0,value:void 0}),uu(this,Xo,!0),this.type=t,this.pointerType=r,this.target=n.currentTarget,this.shiftKey=n.shiftKey,this.metaKey=n.metaKey,this.ctrlKey=n.ctrlKey,this.altKey=n.altKey}}const pu=Symbol("linkClicked");function vr(e){let{onPress:t,onPressChange:r,onPressStart:n,onPressEnd:o,onPressUp:a,isDisabled:s,isPressed:i,preventFocusOnPress:l,shouldCancelOnPointerExit:c,allowTextSelectionOnPress:u,ref:d,...p}=rg(e),[h,g]=f.useState(!1),v=f.useRef({isPressed:!1,ignoreEmulatedMouseEvents:!1,ignoreClickAfterPress:!1,didFirePressStart:!1,isTriggeringEvent:!1,activePointerId:null,target:null,isOverTarget:!1,pointerType:null}),{addGlobalListener:b,removeAllGlobalListeners:P}=$s(),x=Be((m,k)=>{let I=v.current;if(s||I.didFirePressStart)return!1;let S=!0;if(I.isTriggeringEvent=!0,n){let N=new Zo("pressstart",k,m);n(N),S=N.shouldStopPropagation}return r&&r(!0),I.isTriggeringEvent=!1,I.didFirePressStart=!0,g(!0),S}),w=Be((m,k,I=!0)=>{let S=v.current;if(!S.didFirePressStart)return!1;S.ignoreClickAfterPress=!0,S.didFirePressStart=!1,S.isTriggeringEvent=!0;let N=!0;if(o){let C=new Zo("pressend",k,m);o(C),N=C.shouldStopPropagation}if(r&&r(!1),g(!1),t&&I&&!s){let C=new Zo("press",k,m);t(C),N&&(N=C.shouldStopPropagation)}return S.isTriggeringEvent=!1,N}),T=Be((m,k)=>{let I=v.current;if(s)return!1;if(a){I.isTriggeringEvent=!0;let S=new Zo("pressup",k,m);return a(S),I.isTriggeringEvent=!1,S.shouldStopPropagation}return!0}),$=Be(m=>{let k=v.current;k.isPressed&&k.target&&(k.isOverTarget&&k.pointerType!=null&&w(Lt(k.target,m),k.pointerType,!1),k.isPressed=!1,k.isOverTarget=!1,k.activePointerId=null,k.pointerType=null,P(),u||Qo(k.target))}),E=Be(m=>{c&&$(m)}),A=f.useMemo(()=>{let m=v.current,k={onKeyDown(S){if(_s(S.nativeEvent,S.currentTarget)&&S.currentTarget.contains(S.target)){var N;mu(S.target,S.key)&&S.preventDefault();let C=!0;!m.isPressed&&!S.repeat&&(m.target=S.currentTarget,m.isPressed=!0,C=x(S,"keyboard"),b(St(S.currentTarget),"keyup",I,!1)),C&&S.stopPropagation(),S.metaKey&&Jt()&&((N=m.metaKeyEvents)===null||N===void 0||N.set(S.key,S.nativeEvent))}else S.key==="Meta"&&(m.metaKeyEvents=new Map)},onKeyUp(S){_s(S.nativeEvent,S.currentTarget)&&!S.repeat&&S.currentTarget.contains(S.target)&&m.target&&T(Lt(m.target,S),"keyboard")},onClick(S){if(!(S&&!S.currentTarget.contains(S.target))&&S&&S.button===0&&!m.isTriggeringEvent&&!jt.isOpening){let N=!0;if(s&&S.preventDefault(),!m.ignoreClickAfterPress&&!m.ignoreEmulatedMouseEvents&&!m.isPressed&&(m.pointerType==="virtual"||Ln(S.nativeEvent))){!s&&!l&&nt(S.currentTarget);let C=x(S,"virtual"),M=T(S,"virtual"),O=w(S,"virtual");N=C&&M&&O}m.ignoreEmulatedMouseEvents=!1,m.ignoreClickAfterPress=!1,N&&S.stopPropagation()}}},I=S=>{var N;if(m.isPressed&&m.target&&_s(S,m.target)){var C;mu(S.target,S.key)&&S.preventDefault();let O=S.target,_=w(Lt(m.target,S),"keyboard",m.target.contains(O));P(),_&&S.stopPropagation(),S.key!=="Enter"&&Ls(m.target)&&m.target.contains(O)&&!S[pu]&&(S[pu]=!0,jt(m.target,S,!1)),m.isPressed=!1,(C=m.metaKeyEvents)===null||C===void 0||C.delete(S.key)}else if(S.key==="Meta"&&(!((N=m.metaKeyEvents)===null||N===void 0)&&N.size)){var M;let O=m.metaKeyEvents;m.metaKeyEvents=void 0;for(let _ of O.values())(M=m.target)===null||M===void 0||M.dispatchEvent(new KeyboardEvent("keyup",_))}};if(typeof PointerEvent<"u"){k.onPointerDown=M=>{if(M.button!==0||!M.currentTarget.contains(M.target))return;if(au(M.nativeEvent)){m.pointerType="virtual";return}Fs(M.currentTarget)&&M.preventDefault(),m.pointerType=M.pointerType;let O=!0;m.isPressed||(m.isPressed=!0,m.isOverTarget=!0,m.activePointerId=M.pointerId,m.target=M.currentTarget,!s&&!l&&nt(M.currentTarget),u||du(m.target),O=x(M,m.pointerType),b(St(M.currentTarget),"pointermove",S,!1),b(St(M.currentTarget),"pointerup",N,!1),b(St(M.currentTarget),"pointercancel",C,!1)),O&&M.stopPropagation()},k.onMouseDown=M=>{M.currentTarget.contains(M.target)&&M.button===0&&(Fs(M.currentTarget)&&M.preventDefault(),M.stopPropagation())},k.onPointerUp=M=>{!M.currentTarget.contains(M.target)||m.pointerType==="virtual"||M.button===0&&Zr(M,M.currentTarget)&&T(M,m.pointerType||M.pointerType)};let S=M=>{M.pointerId===m.activePointerId&&(m.target&&Zr(M,m.target)?!m.isOverTarget&&m.pointerType!=null&&(m.isOverTarget=!0,x(Lt(m.target,M),m.pointerType)):m.target&&m.isOverTarget&&m.pointerType!=null&&(m.isOverTarget=!1,w(Lt(m.target,M),m.pointerType,!1),E(M)))},N=M=>{M.pointerId===m.activePointerId&&m.isPressed&&M.button===0&&m.target&&(Zr(M,m.target)&&m.pointerType!=null?w(Lt(m.target,M),m.pointerType):m.isOverTarget&&m.pointerType!=null&&w(Lt(m.target,M),m.pointerType,!1),m.isPressed=!1,m.isOverTarget=!1,m.activePointerId=null,m.pointerType=null,P(),u||Qo(m.target))},C=M=>{$(M)};k.onDragStart=M=>{M.currentTarget.contains(M.target)&&$(M)}}else{k.onMouseDown=C=>{if(C.button!==0||!C.currentTarget.contains(C.target))return;if(Fs(C.currentTarget)&&C.preventDefault(),m.ignoreEmulatedMouseEvents){C.stopPropagation();return}m.isPressed=!0,m.isOverTarget=!0,m.target=C.currentTarget,m.pointerType=Ln(C.nativeEvent)?"virtual":"mouse",!s&&!l&&nt(C.currentTarget),x(C,m.pointerType)&&C.stopPropagation(),b(St(C.currentTarget),"mouseup",S,!1)},k.onMouseEnter=C=>{if(!C.currentTarget.contains(C.target))return;let M=!0;m.isPressed&&!m.ignoreEmulatedMouseEvents&&m.pointerType!=null&&(m.isOverTarget=!0,M=x(C,m.pointerType)),M&&C.stopPropagation()},k.onMouseLeave=C=>{if(!C.currentTarget.contains(C.target))return;let M=!0;m.isPressed&&!m.ignoreEmulatedMouseEvents&&m.pointerType!=null&&(m.isOverTarget=!1,M=w(C,m.pointerType,!1),E(C)),M&&C.stopPropagation()},k.onMouseUp=C=>{C.currentTarget.contains(C.target)&&!m.ignoreEmulatedMouseEvents&&C.button===0&&T(C,m.pointerType||"mouse")};let S=C=>{if(C.button===0){if(m.isPressed=!1,P(),m.ignoreEmulatedMouseEvents){m.ignoreEmulatedMouseEvents=!1;return}m.target&&Zr(C,m.target)&&m.pointerType!=null?w(Lt(m.target,C),m.pointerType):m.target&&m.isOverTarget&&m.pointerType!=null&&w(Lt(m.target,C),m.pointerType,!1),m.isOverTarget=!1}};k.onTouchStart=C=>{if(!C.currentTarget.contains(C.target))return;let M=ng(C.nativeEvent);if(!M)return;m.activePointerId=M.identifier,m.ignoreEmulatedMouseEvents=!0,m.isOverTarget=!0,m.isPressed=!0,m.target=C.currentTarget,m.pointerType="touch",!s&&!l&&nt(C.currentTarget),u||du(m.target),x(C,m.pointerType)&&C.stopPropagation(),b(On(C.currentTarget),"scroll",N,!0)},k.onTouchMove=C=>{if(!C.currentTarget.contains(C.target))return;if(!m.isPressed){C.stopPropagation();return}let M=hu(C.nativeEvent,m.activePointerId),O=!0;M&&Zr(M,C.currentTarget)?!m.isOverTarget&&m.pointerType!=null&&(m.isOverTarget=!0,O=x(C,m.pointerType)):m.isOverTarget&&m.pointerType!=null&&(m.isOverTarget=!1,O=w(C,m.pointerType,!1),E(C)),O&&C.stopPropagation()},k.onTouchEnd=C=>{if(!C.currentTarget.contains(C.target))return;if(!m.isPressed){C.stopPropagation();return}let M=hu(C.nativeEvent,m.activePointerId),O=!0;M&&Zr(M,C.currentTarget)&&m.pointerType!=null?(T(C,m.pointerType),O=w(C,m.pointerType)):m.isOverTarget&&m.pointerType!=null&&(O=w(C,m.pointerType,!1)),O&&C.stopPropagation(),m.isPressed=!1,m.activePointerId=null,m.isOverTarget=!1,m.ignoreEmulatedMouseEvents=!0,m.target&&!u&&Qo(m.target),P()},k.onTouchCancel=C=>{C.currentTarget.contains(C.target)&&(C.stopPropagation(),m.isPressed&&$(C))};let N=C=>{m.isPressed&&C.target.contains(m.target)&&$({currentTarget:m.target,shiftKey:!1,ctrlKey:!1,metaKey:!1,altKey:!1})};k.onDragStart=C=>{C.currentTarget.contains(C.target)&&$(C)}}return k},[b,s,l,P,u,$,E,w,x,T]);return f.useEffect(()=>()=>{var m;u||Qo((m=v.current.target)!==null&&m!==void 0?m:void 0)},[u]),{isPressed:i||h,pressProps:de(p,A)}}function Ls(e){return e.tagName==="A"&&e.hasAttribute("href")}function _s(e,t){const{key:r,code:n}=e,o=t,a=o.getAttribute("role");return(r==="Enter"||r===" "||r==="Spacebar"||n==="Space")&&!(o instanceof On(o).HTMLInputElement&&!gu(o,r)||o instanceof On(o).HTMLTextAreaElement||o.isContentEditable)&&!((a==="link"||!a&&Ls(o))&&r!=="Enter")}function ng(e){const{targetTouches:t}=e;return t.length>0?t[0]:null}function hu(e,t){const r=e.changedTouches;for(let n=0;n<r.length;n++){const o=r[n];if(o.identifier===t)return o}return null}function Lt(e,t){return{currentTarget:e,shiftKey:t.shiftKey,ctrlKey:t.ctrlKey,metaKey:t.metaKey,altKey:t.altKey}}function og(e){let t=0,r=0;return e.width!==void 0?t=e.width/2:e.radiusX!==void 0&&(t=e.radiusX),e.height!==void 0?r=e.height/2:e.radiusY!==void 0&&(r=e.radiusY),{top:e.clientY-r,right:e.clientX+t,bottom:e.clientY+r,left:e.clientX-t}}function ag(e,t){return!(e.left>t.right||t.left>e.right||e.top>t.bottom||t.top>e.bottom)}function Zr(e,t){let r=t.getBoundingClientRect(),n=og(e);return ag(r,n)}function Fs(e){return!(e instanceof HTMLElement)||!e.hasAttribute("draggable")}function mu(e,t){return e instanceof HTMLInputElement?!gu(e,t):e instanceof HTMLButtonElement?e.type!=="submit"&&e.type!=="reset":!Ls(e)}const sg=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function gu(e,t){return e.type==="checkbox"||e.type==="radio"?t===" ":sg.has(e.type)}class ig{isDefaultPrevented(){return this.nativeEvent.defaultPrevented}preventDefault(){this.defaultPrevented=!0,this.nativeEvent.preventDefault()}stopPropagation(){this.nativeEvent.stopPropagation(),this.isPropagationStopped=()=>!0}isPropagationStopped(){return!1}persist(){}constructor(t,r){this.nativeEvent=r,this.target=r.target,this.currentTarget=r.currentTarget,this.relatedTarget=r.relatedTarget,this.bubbles=r.bubbles,this.cancelable=r.cancelable,this.defaultPrevented=r.defaultPrevented,this.eventPhase=r.eventPhase,this.isTrusted=r.isTrusted,this.timeStamp=r.timeStamp,this.type=t}}function vu(e){let t=f.useRef({isFocused:!1,observer:null});Ot(()=>{const n=t.current;return()=>{n.observer&&(n.observer.disconnect(),n.observer=null)}},[]);let r=Be(n=>{e==null||e(n)});return f.useCallback(n=>{if(n.target instanceof HTMLButtonElement||n.target instanceof HTMLInputElement||n.target instanceof HTMLTextAreaElement||n.target instanceof HTMLSelectElement){t.current.isFocused=!0;let o=n.target,a=s=>{t.current.isFocused=!1,o.disabled&&r(new ig("blur",s)),t.current.observer&&(t.current.observer.disconnect(),t.current.observer=null)};o.addEventListener("focusout",a,{once:!0}),t.current.observer=new MutationObserver(()=>{if(t.current.isFocused&&o.disabled){var s;(s=t.current.observer)===null||s===void 0||s.disconnect();let i=o===document.activeElement?null:document.activeElement;o.dispatchEvent(new FocusEvent("blur",{relatedTarget:i})),o.dispatchEvent(new FocusEvent("focusout",{bubbles:!0,relatedTarget:i}))}}),t.current.observer.observe(o,{attributes:!0,attributeFilter:["disabled"]})}},[r])}function bu(e){let{isDisabled:t,onFocus:r,onBlur:n,onFocusChange:o}=e;const a=f.useCallback(l=>{if(l.target===l.currentTarget)return n&&n(l),o&&o(!1),!0},[n,o]),s=vu(a),i=f.useCallback(l=>{l.target===l.currentTarget&&document.activeElement===l.target&&(r&&r(l),o&&o(!0),s(l))},[o,r,s]);return{focusProps:{onFocus:!t&&(r||o||n)?i:void 0,onBlur:!t&&(n||o)?a:void 0}}}let br=null,Vs=new Set,yu=!1,yr=!1,zs=!1;const lg={Tab:!0,Escape:!0};function Jo(e,t){for(let r of Vs)r(e,t)}function cg(e){return!(e.metaKey||!Jt()&&e.altKey||e.ctrlKey||e.key==="Control"||e.key==="Shift"||e.key==="Meta")}function xu(e){yr=!0,cg(e)&&(br="keyboard",Jo("keyboard",e))}function Jr(e){br="pointer",(e.type==="mousedown"||e.type==="pointerdown")&&(yr=!0,Jo("pointer",e))}function ug(e){Ln(e)&&(yr=!0,br="virtual")}function dg(e){e.target===window||e.target===document||(!yr&&!zs&&(br="virtual",Jo("virtual",e)),yr=!1,zs=!1)}function fg(){yr=!1,zs=!0}function Ws(){if(typeof window>"u"||yu)return;let e=HTMLElement.prototype.focus;HTMLElement.prototype.focus=function(){yr=!0,e.apply(this,arguments)},document.addEventListener("keydown",xu,!0),document.addEventListener("keyup",xu,!0),document.addEventListener("click",ug,!0),window.addEventListener("focus",dg,!0),window.addEventListener("blur",fg,!1),typeof PointerEvent<"u"?(document.addEventListener("pointerdown",Jr,!0),document.addEventListener("pointermove",Jr,!0),document.addEventListener("pointerup",Jr,!0)):(document.addEventListener("mousedown",Jr,!0),document.addEventListener("mousemove",Jr,!0),document.addEventListener("mouseup",Jr,!0)),yu=!0}typeof document<"u"&&(document.readyState!=="loading"?Ws():document.addEventListener("DOMContentLoaded",Ws));function wu(){return br!=="pointer"}function Bs(){return br}function pg(e){br=e,Jo(e,null)}const hg=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function mg(e,t,r){var n;return e=e||(r==null?void 0:r.target)instanceof HTMLInputElement&&!hg.has(r==null||(n=r.target)===null||n===void 0?void 0:n.type)||(r==null?void 0:r.target)instanceof HTMLTextAreaElement||(r==null?void 0:r.target)instanceof HTMLElement&&(r==null?void 0:r.target.isContentEditable),!(e&&t==="keyboard"&&r instanceof KeyboardEvent&&!lg[r.key])}function gg(e,t,r){Ws(),f.useEffect(()=>{let n=(o,a)=>{mg(!!(r!=null&&r.isTextInput),o,a)&&e(wu())};return Vs.add(n),()=>{Vs.delete(n)}},t)}function ea(e){let{isDisabled:t,onBlurWithin:r,onFocusWithin:n,onFocusWithinChange:o}=e,a=f.useRef({isFocusWithin:!1}),s=f.useCallback(c=>{a.current.isFocusWithin&&!c.currentTarget.contains(c.relatedTarget)&&(a.current.isFocusWithin=!1,r&&r(c),o&&o(!1))},[r,o,a]),i=vu(s),l=f.useCallback(c=>{!a.current.isFocusWithin&&document.activeElement===c.target&&(n&&n(c),o&&o(!0),a.current.isFocusWithin=!0,i(c))},[n,o,i]);return t?{focusWithinProps:{onFocus:void 0,onBlur:void 0}}:{focusWithinProps:{onFocus:l,onBlur:s}}}let ta=!1,Ks=0;function Rs(){ta=!0,setTimeout(()=>{ta=!1},50)}function Cu(e){e.pointerType==="touch"&&Rs()}function vg(){if(!(typeof document>"u"))return typeof PointerEvent<"u"?document.addEventListener("pointerup",Cu):document.addEventListener("touchend",Rs),Ks++,()=>{Ks--,!(Ks>0)&&(typeof PointerEvent<"u"?document.removeEventListener("pointerup",Cu):document.removeEventListener("touchend",Rs))}}function xr(e){let{onHoverStart:t,onHoverChange:r,onHoverEnd:n,isDisabled:o}=e,[a,s]=f.useState(!1),i=f.useRef({isHovered:!1,ignoreEmulatedMouseEvents:!1,pointerType:"",target:null}).current;f.useEffect(vg,[]);let{hoverProps:l,triggerHoverEnd:c}=f.useMemo(()=>{let u=(h,g)=>{if(i.pointerType=g,o||g==="touch"||i.isHovered||!h.currentTarget.contains(h.target))return;i.isHovered=!0;let v=h.currentTarget;i.target=v,t&&t({type:"hoverstart",target:v,pointerType:g}),r&&r(!0),s(!0)},d=(h,g)=>{if(i.pointerType="",i.target=null,g==="touch"||!i.isHovered)return;i.isHovered=!1;let v=h.currentTarget;n&&n({type:"hoverend",target:v,pointerType:g}),r&&r(!1),s(!1)},p={};return typeof PointerEvent<"u"?(p.onPointerEnter=h=>{ta&&h.pointerType==="mouse"||u(h,h.pointerType)},p.onPointerLeave=h=>{!o&&h.currentTarget.contains(h.target)&&d(h,h.pointerType)}):(p.onTouchStart=()=>{i.ignoreEmulatedMouseEvents=!0},p.onMouseEnter=h=>{!i.ignoreEmulatedMouseEvents&&!ta&&u(h,"mouse"),i.ignoreEmulatedMouseEvents=!1},p.onMouseLeave=h=>{!o&&h.currentTarget.contains(h.target)&&d(h,"mouse")}),{hoverProps:p,triggerHoverEnd:d}},[t,r,n,o,i]);return f.useEffect(()=>{o&&c({currentTarget:i.target},i.pointerType)},[o]),{hoverProps:l,isHovered:a}}function Pu(e){if(!e)return;let t=!0;return r=>{let n={...r,preventDefault(){r.preventDefault()},isDefaultPrevented(){return r.isDefaultPrevented()},stopPropagation(){console.error("stopPropagation is now the default behavior for events in React Spectrum. You can use continuePropagation() to revert this behavior.")},continuePropagation(){t=!1}};e(n),t&&r.stopPropagation()}}function bg(e){return{keyboardProps:e.isDisabled?{}:{onKeyDown:Pu(e.onKeyDown),onKeyUp:Pu(e.onKeyUp)}}}const yg=500;function xg(e){let{isDisabled:t,onLongPressStart:r,onLongPressEnd:n,onLongPress:o,threshold:a=yg,accessibilityDescription:s}=e;const i=f.useRef();let{addGlobalListener:l,removeGlobalListener:c}=$s(),{pressProps:u}=vr({isDisabled:t,onPressStart(p){if(p.continuePropagation(),(p.pointerType==="mouse"||p.pointerType==="touch")&&(r&&r({...p,type:"longpressstart"}),i.current=setTimeout(()=>{p.target.dispatchEvent(new PointerEvent("pointercancel",{bubbles:!0})),o&&o({...p,type:"longpress"}),i.current=void 0},a),p.pointerType==="touch")){let h=g=>{g.preventDefault()};l(p.target,"contextmenu",h,{once:!0}),l(window,"pointerup",()=>{setTimeout(()=>{c(p.target,"contextmenu",h)},30)},{once:!0})}},onPressEnd(p){i.current&&clearTimeout(i.current),n&&(p.pointerType==="mouse"||p.pointerType==="touch")&&n({...p,type:"longpressend"})}}),d=Rm(o&&!t?s:void 0);return{longPressProps:de(u,d)}}function ra(e){const t=St(e);if(Bs()==="virtual"){let r=t.activeElement;Es(()=>{t.activeElement===r&&e.isConnected&&nt(e)})}else nt(e)}function wg(e){const t=On(e);if(!(e instanceof t.HTMLElement)&&!(e instanceof t.SVGElement))return!1;let{display:r,visibility:n}=e.style,o=r!=="none"&&n!=="hidden"&&n!=="collapse";if(o){const{getComputedStyle:a}=e.ownerDocument.defaultView;let{display:s,visibility:i}=a(e);o=s!=="none"&&i!=="hidden"&&i!=="collapse"}return o}function Cg(e,t){return!e.hasAttribute("hidden")&&(e.nodeName==="DETAILS"&&t&&t.nodeName!=="SUMMARY"?e.hasAttribute("open"):!0)}function Mu(e,t){return e.nodeName!=="#comment"&&wg(e)&&Cg(e,t)&&(!e.parentElement||Mu(e.parentElement,e))}const Us=["input:not([disabled]):not([type=hidden])","select:not([disabled])","textarea:not([disabled])","button:not([disabled])","a[href]","area[href]","summary","iframe","object","embed","audio[controls]","video[controls]","[contenteditable]"],Pg=Us.join(":not([hidden]),")+",[tabindex]:not([disabled]):not([hidden])";Us.push('[tabindex]:not([tabindex="-1"]):not([disabled])');const Mg=Us.join(':not([hidden]):not([tabindex="-1"]),');function Su(e,t){return!e||!t?!1:t.some(r=>r.contains(e))}function Gs(e,t,r){let n=t!=null&&t.tabbable?Mg:Pg,o=St(e).createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode(a){var s;return!(t==null||(s=t.from)===null||s===void 0)&&s.contains(a)?NodeFilter.FILTER_REJECT:a.matches(n)&&Mu(a)&&(!r||Su(a,r))&&(!(t!=null&&t.accept)||t.accept(a))?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});return t!=null&&t.from&&(o.currentNode=t.from),o}class Hs{get size(){return this.fastMap.size}getTreeNode(t){return this.fastMap.get(t)}addTreeNode(t,r,n){let o=this.fastMap.get(r??null);if(!o)return;let a=new Tu({scopeRef:t});o.addChild(a),a.parent=o,this.fastMap.set(t,a),n&&(a.nodeToRestore=n)}addNode(t){this.fastMap.set(t.scopeRef,t)}removeTreeNode(t){if(t===null)return;let r=this.fastMap.get(t);if(!r)return;let n=r.parent;for(let a of this.traverse())a!==r&&r.nodeToRestore&&a.nodeToRestore&&r.scopeRef&&r.scopeRef.current&&Su(a.nodeToRestore,r.scopeRef.current)&&(a.nodeToRestore=r.nodeToRestore);let o=r.children;n&&(n.removeChild(r),o.size>0&&o.forEach(a=>n&&n.addChild(a))),this.fastMap.delete(r.scopeRef)}*traverse(t=this.root){if(t.scopeRef!=null&&(yield t),t.children.size>0)for(let r of t.children)yield*this.traverse(r)}clone(){var t;let r=new Hs;var n;for(let o of this.traverse())r.addTreeNode(o.scopeRef,(n=(t=o.parent)===null||t===void 0?void 0:t.scopeRef)!==null&&n!==void 0?n:null,o.nodeToRestore);return r}constructor(){this.fastMap=new Map,this.root=new Tu({scopeRef:null}),this.fastMap.set(null,this.root)}}class Tu{addChild(t){this.children.add(t),t.parent=this}removeChild(t){this.children.delete(t),t.parent=void 0}constructor(t){this.children=new Set,this.contain=!1,this.scopeRef=t.scopeRef}}new Hs;function Et(e={}){let{autoFocus:t=!1,isTextInput:r,within:n}=e,o=f.useRef({isFocused:!1,isFocusVisible:t||wu()}),[a,s]=f.useState(!1),[i,l]=f.useState(()=>o.current.isFocused&&o.current.isFocusVisible),c=f.useCallback(()=>l(o.current.isFocused&&o.current.isFocusVisible),[]),u=f.useCallback(h=>{o.current.isFocused=h,s(h),c()},[c]);gg(h=>{o.current.isFocusVisible=h,c()},[],{isTextInput:r});let{focusProps:d}=bu({isDisabled:n,onFocusChange:u}),{focusWithinProps:p}=ea({isDisabled:!n,onFocusWithinChange:u});return{isFocused:a,isFocusVisible:i,focusProps:n?p:d}}let Sg=f.createContext(null);function Tg(e){let t=f.useContext(Sg)||{};ks(t,e);let{ref:r,...n}=t;return n}function na(e,t){let{focusProps:r}=bu(e),{keyboardProps:n}=bg(e),o=de(r,n),a=Tg(t),s=e.isDisabled?{}:a,i=f.useRef(e.autoFocus);return f.useEffect(()=>{i.current&&t.current&&ra(t.current),i.current=!1},[t]),{focusableProps:de({...o,tabIndex:e.excludeFromTabOrder&&!e.isDisabled?-1:void 0},s)}}function Eg(e,t){let r=t==null?void 0:t.isDisabled,[n,o]=f.useState(!1);return Ot(()=>{if(e!=null&&e.current&&!r){let a=()=>{if(e.current){let i=Gs(e.current,{tabbable:!0});o(!!i.nextNode())}};a();let s=new MutationObserver(a);return s.observe(e.current,{subtree:!0,childList:!0,attributes:!0,attributeFilter:["tabIndex","disabled"]}),()=>{s.disconnect()}}}),r?!1:n}const Eu={border:0,clip:"rect(0 0 0 0)",clipPath:"inset(50%)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",width:"1px",whiteSpace:"nowrap"};function $g(e={}){let{style:t,isFocusable:r}=e,[n,o]=f.useState(!1),{focusWithinProps:a}=ea({isDisabled:!r,onFocusWithinChange:i=>o(i)}),s=f.useMemo(()=>n?t:t?{...Eu,...t}:Eu,[n]);return{visuallyHiddenProps:{...a,style:s}}}function Ys(e){let{children:t,elementType:r="div",isFocusable:n,style:o,...a}=e,{visuallyHiddenProps:s}=$g(e);return f.createElement(r,de(a,s),t)}function yt(e){return f.forwardRef(e)}var Fn=(e,t,r=!0)=>{if(!t)return[e,{}];const n=t.reduce((o,a)=>a in e?{...o,[a]:e[a]}:o,{});return r?[Object.keys(e).filter(a=>!t.includes(a)).reduce((a,s)=>({...a,[s]:e[s]}),{}),n]:[e,n]},Dg=["0","xs","sm","md","lg","xl","2xl","3xl","4xl","5xl","6xl","7xl","8xl","9xl","1","2","3","3.5","4","5","6","7","8","9","10","11","12","13","14","15","16","17","18","20","24","28","32","36","40","44","48","52","56","60","64","72","80","96"],qs=Dg.map(e=>`unit-${e}`),oa=["small","medium","large"],ot=(e,t)=>{var r,n,o;return ye(e,{...t,twMerge:(r=t==null?void 0:t.twMerge)!=null?r:!0,twMergeConfig:{...t==null?void 0:t.twMergeConfig,theme:{...(n=t==null?void 0:t.twMergeConfig)==null?void 0:n.theme,opacity:["disabled"],spacing:["divider","unit",...qs],borderWidth:oa,borderRadius:oa},classGroups:{...(o=t==null?void 0:t.twMergeConfig)==null?void 0:o.classGroups,shadow:[{shadow:oa}],"font-size":[{text:["tiny",...oa]}],"bg-image":["bg-stripe-gradient"],"min-w":[{"min-w":["unit",...qs]}],"min-h":[{"min-h":["unit",...qs]}]}}})},Vn=["outline-none","data-[focus-visible=true]:z-10","data-[focus-visible=true]:outline-2","data-[focus-visible=true]:outline-focus","data-[focus-visible=true]:outline-offset-2"],aa=["outline-none","group-data-[focus-visible=true]:z-10","group-data-[focus-visible=true]:ring-2","group-data-[focus-visible=true]:ring-focus","group-data-[focus-visible=true]:ring-offset-2","group-data-[focus-visible=true]:ring-offset-background"],kg=["outline-none","ring-2","ring-focus","ring-offset-2","ring-offset-background"],Qs=["absolute","top-1/2","left-1/2","-translate-x-1/2","-translate-y-1/2"],en={default:["[&+.border-medium.border-default]:ms-[calc(theme(borderWidth.medium)*-1)]"],primary:["[&+.border-medium.border-primary]:ms-[calc(theme(borderWidth.medium)*-1)]"],secondary:["[&+.border-medium.border-secondary]:ms-[calc(theme(borderWidth.medium)*-1)]"],success:["[&+.border-medium.border-success]:ms-[calc(theme(borderWidth.medium)*-1)]"],warning:["[&+.border-medium.border-warning]:ms-[calc(theme(borderWidth.medium)*-1)]"],danger:["[&+.border-medium.border-danger]:ms-[calc(theme(borderWidth.medium)*-1)]"]},Ig={default:"bg-default text-default-foreground",primary:"bg-primary text-primary-foreground",secondary:"bg-secondary text-secondary-foreground",success:"bg-success text-success-foreground",warning:"bg-warning text-warning-foreground",danger:"bg-danger text-danger-foreground",foreground:"bg-foreground text-background"},Ag={default:"shadow-lg shadow-default/50 bg-default text-default-foreground",primary:"shadow-lg shadow-primary/40 bg-primary text-primary-foreground",secondary:"shadow-lg shadow-secondary/40 bg-secondary text-secondary-foreground",success:"shadow-lg shadow-success/40 bg-success text-success-foreground",warning:"shadow-lg shadow-warning/40 bg-warning text-warning-foreground",danger:"shadow-lg shadow-danger/40 bg-danger text-danger-foreground",foreground:"shadow-lg shadow-foreground/40 bg-foreground text-background"},Ng={default:"bg-transparent border-default text-foreground",primary:"bg-transparent border-primary text-primary",secondary:"bg-transparent border-secondary text-secondary",success:"bg-transparent border-success text-success",warning:"bg-transparent border-warning text-warning",danger:"bg-transparent border-danger text-danger",foreground:"bg-transparent border-foreground text-foreground"},Og={default:"bg-default/40 text-default-foreground",primary:"bg-primary/20 text-primary",secondary:"bg-secondary/20 text-secondary",success:"bg-success/20 text-success-600 dark:text-success",warning:"bg-warning/20 text-warning-600 dark:text-warning",danger:"bg-danger/20 text-danger dark:text-danger-500",foreground:"bg-foreground/10 text-foreground"},jg={default:"border-default bg-default-100 text-default-foreground",primary:"border-default bg-default-100 text-primary",secondary:"border-default bg-default-100 text-secondary",success:"border-default bg-default-100 text-success",warning:"border-default bg-default-100 text-warning",danger:"border-default bg-default-100 text-danger",foreground:"border-default bg-default-100 text-foreground"},Lg={default:"bg-transparent text-default-foreground",primary:"bg-transparent text-primary",secondary:"bg-transparent text-secondary",success:"bg-transparent text-success",warning:"bg-transparent text-warning",danger:"bg-transparent text-danger",foreground:"bg-transparent text-foreground"},_g={default:"border-default text-default-foreground hover:!bg-default",primary:"border-primary text-primary hover:!text-primary-foreground hover:!bg-primary",secondary:"border-secondary text-secondary hover:text-secondary-foreground hover:!bg-secondary",success:"border-success text-success hover:!text-success-foreground hover:!bg-success",warning:"border-warning text-warning hover:!text-warning-foreground hover:!bg-warning",danger:"border-danger text-danger hover:!text-danger-foreground hover:!bg-danger",foreground:"border-foreground text-foreground hover:!bg-foreground"},Y={solid:Ig,shadow:Ag,bordered:Ng,flat:Og,faded:jg,light:Lg,ghost:_g},$u=ot({slots:{base:"relative inline-flex flex-col gap-2 items-center justify-center",wrapper:"relative flex",circle1:["absolute","w-full","h-full","rounded-full","animate-spinner-ease-spin","border-2","border-solid","border-t-transparent","border-l-transparent","border-r-transparent"],circle2:["absolute","w-full","h-full","rounded-full","opacity-75","animate-spinner-linear-spin","border-2","border-dotted","border-t-transparent","border-l-transparent","border-r-transparent"],label:"text-foreground dark:text-foreground-dark font-regular"},variants:{size:{sm:{wrapper:"w-5 h-5",circle1:"border-2",circle2:"border-2",label:"text-small"},md:{wrapper:"w-8 h-8",circle1:"border-3",circle2:"border-3",label:"text-medium"},lg:{wrapper:"w-10 h-10",circle1:"border-3",circle2:"border-3",label:"text-large"}},color:{current:{circle1:"border-b-current",circle2:"border-b-current"},white:{circle1:"border-b-white",circle2:"border-b-white"},default:{circle1:"border-b-default",circle2:"border-b-default"},primary:{circle1:"border-b-primary",circle2:"border-b-primary"},secondary:{circle1:"border-b-secondary",circle2:"border-b-secondary"},success:{circle1:"border-b-success",circle2:"border-b-success"},warning:{circle1:"border-b-warning",circle2:"border-b-warning"},danger:{circle1:"border-b-danger",circle2:"border-b-danger"}},labelColor:{foreground:{label:"text-foreground"},primary:{label:"text-primary"},secondary:{label:"text-secondary"},success:{label:"text-success"},warning:{label:"text-warning"},danger:{label:"text-danger"}}},defaultVariants:{size:"md",color:"primary",labelColor:"foreground"}}),Du=ot({slots:{base:"inline-flex",tabList:["flex","p-1","h-fit","gap-2","items-center","flex-nowrap","overflow-x-scroll","scrollbar-hide","bg-default-100"],tab:["z-0","w-full","px-3","py-1","flex","group","relative","justify-center","items-center","outline-none","cursor-pointer","transition-opacity","tap-highlight-transparent","data-[disabled=true]:cursor-not-allowed","data-[disabled=true]:opacity-30","data-[hover-unselected=true]:opacity-disabled",...Vn],tabContent:["relative","z-10","text-inherit","whitespace-nowrap","transition-colors","text-default-500","group-data-[selected=true]:text-foreground"],cursor:["absolute","z-0","bg-white"],panel:["py-3","px-1","outline-none",...Vn]},variants:{variant:{solid:{cursor:"inset-0"},light:{tabList:"bg-transparent dark:bg-transparent",cursor:"inset-0"},underlined:{tabList:"bg-transparent dark:bg-transparent",cursor:"h-[2px] w-[80%] bottom-0 shadow-[0_1px_0px_0_rgba(0,0,0,0.05)]"},bordered:{tabList:"bg-transparent dark:bg-transparent border-medium border-default-200 shadow-sm",cursor:"inset-0"}},color:{default:{},primary:{},secondary:{},success:{},warning:{},danger:{}},size:{sm:{tabList:"rounded-medium",tab:"h-7 text-tiny rounded-small",cursor:"rounded-small"},md:{tabList:"rounded-medium",tab:"h-8 text-small rounded-small",cursor:"rounded-small"},lg:{tabList:"rounded-large",tab:"h-9 text-medium rounded-medium",cursor:"rounded-medium"}},radius:{none:{tabList:"rounded-none",tab:"rounded-none",cursor:"rounded-none"},sm:{tabList:"rounded-medium",tab:"rounded-small",cursor:"rounded-small"},md:{tabList:"rounded-medium",tab:"rounded-small",cursor:"rounded-small"},lg:{tabList:"rounded-large",tab:"rounded-medium",cursor:"rounded-medium"},full:{tabList:"rounded-full",tab:"rounded-full",cursor:"rounded-full"}},fullWidth:{true:{base:"w-full",tabList:"w-full"}},isDisabled:{true:{tabList:"opacity-disabled pointer-events-none"}},disableAnimation:{true:{tab:"transition-none",tabContent:"transition-none"}}},defaultVariants:{color:"default",variant:"solid",size:"md",fullWidth:!1,isDisabled:!1,disableAnimation:!1},compoundVariants:[{variant:["solid","bordered","light"],color:"default",class:{cursor:["bg-background","dark:bg-default","shadow-small"],tabContent:"group-data-[selected=true]:text-default-foreground"}},{variant:["solid","bordered","light"],color:"primary",class:{cursor:Y.solid.primary,tabContent:"group-data-[selected=true]:text-primary-foreground"}},{variant:["solid","bordered","light"],color:"secondary",class:{cursor:Y.solid.secondary,tabContent:"group-data-[selected=true]:text-secondary-foreground"}},{variant:["solid","bordered","light"],color:"success",class:{cursor:Y.solid.success,tabContent:"group-data-[selected=true]:text-success-foreground"}},{variant:["solid","bordered","light"],color:"warning",class:{cursor:Y.solid.warning,tabContent:"group-data-[selected=true]:text-warning-foreground"}},{variant:["solid","bordered","light"],color:"danger",class:{cursor:Y.solid.danger,tabContent:"group-data-[selected=true]:text-danger-foreground"}},{variant:"underlined",color:"default",class:{cursor:"bg-foreground",tabContent:"group-data-[selected=true]:text-foreground"}},{variant:"underlined",color:"primary",class:{cursor:"bg-primary",tabContent:"group-data-[selected=true]:text-primary"}},{variant:"underlined",color:"secondary",class:{cursor:"bg-secondary",tabContent:"group-data-[selected=true]:text-secondary"}},{variant:"underlined",color:"success",class:{cursor:"bg-success",tabContent:"group-data-[selected=true]:text-success"}},{variant:"underlined",color:"warning",class:{cursor:"bg-warning",tabContent:"group-data-[selected=true]:text-warning"}},{variant:"underlined",color:"danger",class:{cursor:"bg-danger",tabContent:"group-data-[selected=true]:text-danger"}},{disableAnimation:!0,variant:"underlined",class:{tab:["after:content-['']","after:absolute","after:bottom-0","after:h-[2px]","after:w-[80%]","after:opacity-0","after:shadow-[0_1px_0px_0_rgba(0,0,0,0.05)]","data-[selected=true]:after:opacity-100"]}},{disableAnimation:!0,color:"default",variant:["solid","bordered","light"],class:{tab:"data-[selected=true]:bg-default data-[selected=true]:text-default-foreground"}},{disableAnimation:!0,color:"primary",variant:["solid","bordered","light"],class:{tab:"data-[selected=true]:bg-primary data-[selected=true]:text-primary-foreground"}},{disableAnimation:!0,color:"secondary",variant:["solid","bordered","light"],class:{tab:"data-[selected=true]:bg-secondary data-[selected=true]:text-secondary-foreground"}},{disableAnimation:!0,color:"success",variant:["solid","bordered","light"],class:{tab:"data-[selected=true]:bg-success data-[selected=true]:text-success-foreground"}},{disableAnimation:!0,color:"warning",variant:["solid","bordered","light"],class:{tab:"data-[selected=true]:bg-warning data-[selected=true]:text-warning-foreground"}},{disableAnimation:!0,color:"danger",variant:["solid","bordered","light"],class:{tab:"data-[selected=true]:bg-danger data-[selected=true]:text-danger-foreground"}},{disableAnimation:!0,color:"default",variant:"underlined",class:{tab:"data-[selected=true]:after:bg-foreground"}},{disableAnimation:!0,color:"primary",variant:"underlined",class:{tab:"data-[selected=true]:after:bg-primary"}},{disableAnimation:!0,color:"secondary",variant:"underlined",class:{tab:"data-[selected=true]:after:bg-secondary"}},{disableAnimation:!0,color:"success",variant:"underlined",class:{tab:"data-[selected=true]:after:bg-success"}},{disableAnimation:!0,color:"warning",variant:"underlined",class:{tab:"data-[selected=true]:after:bg-warning"}},{disableAnimation:!0,color:"danger",variant:"underlined",class:{tab:"data-[selected=true]:after:bg-danger"}}],compoundSlots:[{variant:"underlined",slots:["tab","tabList","cursor"],class:["rounded-none"]}]}),ku=ot({slots:{base:"group relative max-w-fit inline-flex items-center justify-start cursor-pointer touch-none tap-highlight-transparent",wrapper:["px-1","relative","inline-flex","items-center","justify-start","flex-shrink-0","overflow-hidden","bg-default-200","rounded-full",...aa],thumb:["z-10","flex","items-center","justify-center","bg-white","shadow-small","rounded-full","origin-right"],startContent:"z-0 absolute left-1.5 text-current",endContent:"z-0 absolute right-1.5 text-default-600",thumbIcon:"text-black",label:"relative text-foreground select-none"},variants:{color:{default:{wrapper:["group-data-[selected=true]:bg-default-400","group-data-[selected=true]:text-default-foreground"]},primary:{wrapper:["group-data-[selected=true]:bg-primary","group-data-[selected=true]:text-primary-foreground"]},secondary:{wrapper:["group-data-[selected=true]:bg-secondary","group-data-[selected=true]:text-secondary-foreground"]},success:{wrapper:["group-data-[selected=true]:bg-success","group-data-[selected=true]:text-success-foreground"]},warning:{wrapper:["group-data-[selected=true]:bg-warning","group-data-[selected=true]:text-warning-foreground"]},danger:{wrapper:["group-data-[selected=true]:bg-danger","data-[selected=true]:text-danger-foreground"]}},size:{sm:{wrapper:"w-10 h-6 mr-2",thumb:["w-4 h-4 text-tiny","group-data-[selected=true]:ml-4"],endContent:"text-tiny",startContent:"text-tiny",label:"text-small"},md:{wrapper:"w-12 h-7 mr-2",thumb:["w-5 h-5 text-small","group-data-[selected=true]:ml-5"],endContent:"text-small",startContent:"text-small",label:"text-medium"},lg:{wrapper:"w-14 h-8 mr-2",thumb:["w-6 h-6 text-medium","group-data-[selected=true]:ml-6"],endContent:"text-medium",startContent:"text-medium",label:"text-large"}},isDisabled:{true:{base:"opacity-disabled pointer-events-none"}},disableAnimation:{true:{wrapper:"transition-none",thumb:"transition-none"},false:{wrapper:"transition-background",thumb:"transition-all",startContent:["opacity-0","scale-50","transition-transform-opacity","group-data-[selected=true]:scale-100","group-data-[selected=true]:opacity-100"],endContent:["opacity-100","transition-transform-opacity","group-data-[selected=true]:translate-x-3","group-data-[selected=true]:opacity-0"]}}},defaultVariants:{color:"primary",size:"md",isDisabled:!1,disableAnimation:!1},compoundVariants:[{disableAnimation:!1,size:"sm",class:{thumb:["group-data-[pressed=true]:w-5","group-data-[selected]:group-data-[pressed]:ml-3"]}},{disableAnimation:!1,size:"md",class:{thumb:["group-data-[pressed=true]:w-6","group-data-[selected]:group-data-[pressed]:ml-4"]}},{disableAnimation:!1,size:"lg",class:{thumb:["group-data-[pressed=true]:w-7","group-data-[selected]:group-data-[pressed]:ml-5"]}}]}),Fg=ot({slots:{base:"group relative max-w-fit inline-flex items-center justify-start cursor-pointer tap-highlight-transparent p-2 -m-2",wrapper:["relative","inline-flex","items-center","justify-center","flex-shrink-0","overflow-hidden","border-solid","border-medium","box-border","border-default","rounded-full","group-data-[hover-unselected=true]:bg-default-100",...aa],labelWrapper:"flex flex-col ml-1",control:["z-10","w-2","h-2","opacity-0","scale-0","origin-center","rounded-full","group-data-[selected=true]:opacity-100","group-data-[selected=true]:scale-100"],label:"relative text-foreground select-none",description:"relative text-foreground-400"},variants:{color:{default:{control:"bg-default-500 text-default-foreground",wrapper:"group-data-[selected=true]:border-default-500"},primary:{control:"bg-primary text-primary-foreground",wrapper:"group-data-[selected=true]:border-primary"},secondary:{control:"bg-secondary text-secondary-foreground",wrapper:"group-data-[selected=true]:border-secondary"},success:{control:"bg-success text-success-foreground",wrapper:"group-data-[selected=true]:border-success"},warning:{control:"bg-warning text-warning-foreground",wrapper:"group-data-[selected=true]:border-warning"},danger:{control:"bg-danger text-danger-foreground",wrapper:"group-data-[selected=true]:border-danger"}},size:{sm:{wrapper:"w-4 h-4",control:"w-1.5 h-1.5",labelWrapper:"ml-1",label:"text-small",description:"text-tiny"},md:{wrapper:"w-5 h-5",control:"w-2 h-2",labelWrapper:"ml-2",label:"text-medium",description:"text-small"},lg:{wrapper:"w-6 h-6",control:"w-2.5 h-2.5",labelWrapper:"ml-2",label:"text-large",description:"text-medium"}},isDisabled:{true:{base:"opacity-disabled pointer-events-none"}},isInvalid:{true:{control:"bg-danger text-danger-foreground",wrapper:"border-danger group-data-[selected=true]:border-danger",label:"text-danger",description:"text-danger-300"}},disableAnimation:{true:{},false:{wrapper:["group-data-[pressed=true]:scale-95","transition-transform-colors","motion-reduce:transition-none"],control:"transition-transform-opacity motion-reduce:transition-none",label:"transition-colors motion-reduce:transition-none",description:"transition-colors motion-reduce:transition-none"}}},defaultVariants:{color:"primary",size:"md",isDisabled:!1,isInvalid:!1,disableAnimation:!1}}),Vg=ot({slots:{base:"relative flex flex-col gap-2",label:"relative text-foreground-500",wrapper:"flex flex-col flex-wrap gap-2 data-[orientation=horizontal]:flex-row",description:"text-tiny text-foreground-400",errorMessage:"text-tiny text-danger"},variants:{isRequired:{true:{label:"after:content-['*'] after:text-danger after:ml-0.5"}},isInvalid:{true:{description:"text-danger"}},disableAnimation:{true:{},false:{description:"transition-colors !duration-150 motion-reduce:transition-none"}}},defaultVariants:{isInvalid:!1,isRequired:!1,disableAnimation:!1}}),Iu=ot({slots:{base:"group flex flex-col",label:["absolute","z-10","pointer-events-none","origin-top-left","subpixel-antialiased","block","text-small","text-foreground-500"],mainWrapper:"h-full",inputWrapper:"relative w-full inline-flex tap-highlight-transparent flex-row items-center shadow-sm px-3 gap-3",innerWrapper:"inline-flex w-full items-center h-full box-border",input:["w-full font-normal bg-transparent !outline-none placeholder:text-foreground-500 focus-visible:outline-none","data-[has-start-content=true]:ps-1.5","data-[has-end-content=true]:pe-1.5"],clearButton:["p-2","-m-2","z-10","hidden","absolute","right-3","appearance-none","outline-none","select-none","opacity-0","hover:!opacity-100","cursor-pointer","active:!opacity-70","rounded-full",...Vn],helperWrapper:"hidden group-data-[has-helper=true]:flex p-1 relative flex-col gap-1.5",description:"text-tiny text-foreground-400",errorMessage:"text-tiny text-danger"},variants:{variant:{flat:{inputWrapper:["bg-default-100","data-[hover=true]:bg-default-200","group-data-[focus=true]:bg-default-100"]},faded:{inputWrapper:["bg-default-100","border-medium","border-default-200","data-[hover=true]:border-default-400"],value:"group-data-[has-value=true]:text-default-foreground"},bordered:{inputWrapper:["border-medium","border-default-200","data-[hover=true]:border-default-400","group-data-[focus=true]:border-default-foreground"]},underlined:{inputWrapper:["!px-1","!pb-0","!gap-0","relative","box-border","border-b-medium","shadow-[0_1px_0px_0_rgba(0,0,0,0.05)]","border-default-200","!rounded-none","hover:border-default-300","after:content-['']","after:w-0","after:origin-center","after:bg-default-foreground","after:absolute","after:left-1/2","after:-translate-x-1/2","after:-bottom-[2px]","after:h-[2px]","group-data-[focus=true]:after:w-full"],innerWrapper:"pb-1",label:"group-data-[filled-within=true]:text-foreground"}},color:{default:{},primary:{},secondary:{},success:{},warning:{},danger:{}},size:{sm:{label:"text-tiny",inputWrapper:"h-unit-8 min-h-unit-8 px-2 rounded-small",input:"text-small",clearButton:"text-medium"},md:{inputWrapper:"h-unit-10 min-h-unit-10 rounded-medium",input:"text-small",clearButton:"text-large"},lg:{inputWrapper:"h-unit-12 min-h-unit-12 rounded-large",input:"text-medium",clearButton:"text-large"}},radius:{none:{inputWrapper:"rounded-none"},sm:{inputWrapper:"rounded-small"},md:{inputWrapper:"rounded-medium"},lg:{inputWrapper:"rounded-large"},full:{inputWrapper:"rounded-full"}},labelPlacement:{outside:{mainWrapper:"flex flex-col"},"outside-left":{base:"flex-row items-center flex-nowrap data-[has-helper=true]:items-start",inputWrapper:"flex-1",mainWrapper:"flex flex-col",label:"relative text-foreground pr-2"},inside:{label:"text-tiny cursor-text",inputWrapper:"flex-col items-start justify-center gap-0",innerWrapper:"group-data-[has-label=true]:items-end"}},fullWidth:{true:{base:"w-full"}},isClearable:{true:{input:"peer pr-6",clearButton:"peer-data-[filled=true]:opacity-70 peer-data-[filled=true]:block"}},isDisabled:{true:{base:"opacity-disabled pointer-events-none",inputWrapper:"pointer-events-none",label:"pointer-events-none"}},isInvalid:{true:{label:"!text-danger",input:"!placeholder:text-danger !text-danger"}},isRequired:{true:{label:"after:content-['*'] after:text-danger after:ml-0.5"}},isMultiline:{true:{label:"relative",inputWrapper:"!h-auto",innerWrapper:"items-start group-data-[has-label=true]:items-start",input:"resize-none data-[hide-scroll=true]:scrollbar-hide"}},disableAnimation:{true:{input:"transition-none",inputWrapper:"transition-none",label:"transition-none"},false:{inputWrapper:"transition-background motion-reduce:transition-none !duration-150",label:["will-change-auto","!duration-200","!ease-out","motion-reduce:transition-none","transition-[transform,color,left,opacity]"],clearButton:["transition-opacity","motion-reduce:transition-none"]}}},defaultVariants:{variant:"flat",color:"default",size:"md",fullWidth:!0,labelPlacement:"inside",isDisabled:!1,isMultiline:!1,disableAnimation:!1},compoundVariants:[{variant:"flat",color:"default",class:{input:"group-data-[has-value=true]:text-default-foreground"}},{variant:"flat",color:"primary",class:{inputWrapper:["bg-primary-50","data-[hover=true]:bg-primary-100","text-primary","group-data-[focus=true]:bg-primary-50","placeholder:text-primary"],input:"placeholder:text-primary",label:"text-primary"}},{variant:"flat",color:"secondary",class:{inputWrapper:["bg-secondary-50","text-secondary","data-[hover=true]:bg-secondary-100","group-data-[focus=true]:bg-secondary-50","placeholder:text-secondary"],input:"placeholder:text-secondary",label:"text-secondary"}},{variant:"flat",color:"success",class:{inputWrapper:["bg-success-50","text-success-600","dark:text-success","placeholder:text-success-600","dark:placeholder:text-success","data-[hover=true]:bg-success-100","group-data-[focus=true]:bg-success-50"],input:"placeholder:text-success-600 dark:placeholder:text-success",label:"text-success-600 dark:text-success"}},{variant:"flat",color:"warning",class:{inputWrapper:["bg-warning-50","text-warning-600","dark:text-warning","placeholder:text-warning-600","dark:placeholder:text-warning","data-[hover=true]:bg-warning-100","group-data-[focus=true]:bg-warning-50"],input:"placeholder:text-warning-600 dark:placeholder:text-warning",label:"text-warning-600 dark:text-warning"}},{variant:"flat",color:"danger",class:{inputWrapper:["bg-danger-50","text-danger","dark:text-danger-500","placeholder:text-danger","dark:placeholder:text-danger-500","data-[hover=true]:bg-danger-100","group-data-[focus=true]:bg-danger-50"],input:"placeholder:text-danger dark:placeholder:text-danger-500",label:"text-danger dark:text-danger-500"}},{variant:"faded",color:"primary",class:{label:"text-primary",inputWrapper:"data-[hover=true]:border-primary focus-within:border-primary"}},{variant:"faded",color:"secondary",class:{label:"text-secondary",inputWrapper:"data-[hover=true]:border-secondary focus-within:border-secondary"}},{variant:"faded",color:"success",class:{label:"text-success",inputWrapper:"data-[hover=true]:border-success focus-within:border-success"}},{variant:"faded",color:"warning",class:{label:"text-warning",inputWrapper:"data-[hover=true]:border-warning focus-within:border-warning"}},{variant:"faded",color:"danger",class:{label:"text-danger",inputWrapper:"data-[hover=true]:border-danger focus-within:border-danger"}},{variant:"underlined",color:"default",class:{input:"group-data-[has-value=true]:text-foreground"}},{variant:"underlined",color:"primary",class:{inputWrapper:"after:bg-primary",label:"text-primary"}},{variant:"underlined",color:"secondary",class:{inputWrapper:"after:bg-secondary",label:"text-secondary"}},{variant:"underlined",color:"success",class:{inputWrapper:"after:bg-success",label:"text-success"}},{variant:"underlined",color:"warning",class:{inputWrapper:"after:bg-warning",label:"text-warning"}},{variant:"underlined",color:"danger",class:{inputWrapper:"after:bg-danger",label:"text-danger"}},{variant:"bordered",color:"primary",class:{inputWrapper:"group-data-[focus=true]:border-primary",label:"text-primary"}},{variant:"bordered",color:"secondary",class:{inputWrapper:"group-data-[focus=true]:border-secondary",label:"text-secondary"}},{variant:"bordered",color:"success",class:{inputWrapper:"group-data-[focus=true]:border-success",label:"text-success"}},{variant:"bordered",color:"warning",class:{inputWrapper:"group-data-[focus=true]:border-warning",label:"text-warning"}},{variant:"bordered",color:"danger",class:{inputWrapper:"group-data-[focus=true]:border-danger",label:"text-danger"}},{labelPlacement:"inside",color:"default",class:{label:"group-data-[filled-within=true]:text-default-600"}},{labelPlacement:"outside",color:"default",class:{label:"group-data-[filled-within=true]:text-foreground"}},{radius:"full",size:["sm"],class:{inputWrapper:"px-3"}},{radius:"full",size:"md",class:{inputWrapper:"px-4"}},{radius:"full",size:"lg",class:{inputWrapper:"px-5"}},{disableAnimation:!1,variant:["faded","bordered"],class:{inputWrapper:"transition-colors motion-reduce:transition-none"}},{disableAnimation:!1,variant:"underlined",class:{inputWrapper:"after:transition-width motion-reduce:after:transition-none"}},{variant:["flat","faded"],class:{inputWrapper:[...aa]}},{isInvalid:!0,variant:"flat",class:{inputWrapper:["bg-danger-50","data-[hover=true]:bg-danger-100","group-data-[focus=true]:bg-danger-50"]}},{isInvalid:!0,variant:"bordered",class:{inputWrapper:"!border-danger group-data-[focus=true]:border-danger"}},{isInvalid:!0,variant:"underlined",class:{inputWrapper:"after:bg-danger"}},{labelPlacement:"inside",size:"sm",class:{inputWrapper:"h-12 py-1.5 px-3"}},{labelPlacement:"inside",size:"md",class:{inputWrapper:"h-14 py-2"}},{labelPlacement:"inside",size:"lg",class:{label:"text-small",inputWrapper:"h-16 py-2.5 gap-0"}},{labelPlacement:"inside",size:"sm",variant:["bordered","faded"],class:{inputWrapper:"py-1"}},{labelPlacement:["inside","outside"],class:{label:["group-data-[filled-within=true]:pointer-events-auto"]}},{labelPlacement:["outside","outside-left"],class:{input:"h-full"}},{labelPlacement:"outside",isMultiline:!1,class:{base:"group relative justify-end",label:["pb-0","z-20","top-1/2","-translate-y-1/2","group-data-[filled-within=true]:left-0"]}},{labelPlacement:["inside"],class:{label:["group-data-[filled-within=true]:scale-85"]}},{labelPlacement:["inside"],variant:"flat",class:{innerWrapper:"pb-0.5"}},{variant:"underlined",size:"sm",class:{innerWrapper:"pb-1"}},{variant:"underlined",size:["md","lg"],class:{innerWrapper:"pb-1.5"}},{labelPlacement:"inside",size:["sm","md"],class:{label:"text-small"}},{labelPlacement:"inside",isMultiline:!1,size:"sm",class:{label:["group-data-[filled-within=true]:-translate-y-[calc(50%_+_theme(fontSize.tiny)/2_-_8px)]"]}},{labelPlacement:"inside",isMultiline:!1,size:"md",class:{label:["group-data-[filled-within=true]:-translate-y-[calc(50%_+_theme(fontSize.small)/2_-_6px)]"]}},{labelPlacement:"inside",isMultiline:!1,size:"lg",class:{label:["text-medium","group-data-[filled-within=true]:-translate-y-[calc(50%_+_theme(fontSize.small)/2_-_8px)]"]}},{labelPlacement:"inside",variant:["faded","bordered"],isMultiline:!1,size:"sm",class:{label:["group-data-[filled-within=true]:-translate-y-[calc(50%_+_theme(fontSize.tiny)/2_-_8px_-_theme(borderWidth.medium))]"]}},{labelPlacement:"inside",variant:["faded","bordered"],isMultiline:!1,size:"md",class:{label:["group-data-[filled-within=true]:-translate-y-[calc(50%_+_theme(fontSize.small)/2_-_6px_-_theme(borderWidth.medium))]"]}},{labelPlacement:"inside",variant:["faded","bordered"],isMultiline:!1,size:"lg",class:{label:["text-medium","group-data-[filled-within=true]:-translate-y-[calc(50%_+_theme(fontSize.small)/2_-_8px_-_theme(borderWidth.medium))]"]}},{labelPlacement:"inside",variant:"underlined",isMultiline:!1,size:"sm",class:{label:["group-data-[filled-within=true]:-translate-y-[calc(50%_+_theme(fontSize.tiny)/2_-_5px)]"]}},{labelPlacement:"inside",variant:"underlined",isMultiline:!1,size:"md",class:{label:["group-data-[filled-within=true]:-translate-y-[calc(50%_+_theme(fontSize.small)/2_-_3.5px)]"]}},{labelPlacement:"inside",variant:"underlined",size:"lg",isMultiline:!1,class:{label:["text-medium","group-data-[filled-within=true]:-translate-y-[calc(50%_+_theme(fontSize.small)/2_-_4px)]"]}},{labelPlacement:"outside",size:"sm",isMultiline:!1,class:{label:["left-2","text-tiny","group-data-[filled-within=true]:-translate-y-[calc(100%_+_theme(fontSize.tiny)/2_+_16px)]"],base:"data-[has-label=true]:mt-[calc(theme(fontSize.small)_+_8px)]"}},{labelPlacement:"outside",size:"md",isMultiline:!1,class:{label:["left-3","text-small","group-data-[filled-within=true]:-translate-y-[calc(100%_+_theme(fontSize.small)/2_+_20px)]"],base:"data-[has-label=true]:mt-[calc(theme(fontSize.small)_+_10px)]"}},{labelPlacement:"outside",size:"lg",isMultiline:!1,class:{label:["left-3","text-medium","group-data-[filled-within=true]:-translate-y-[calc(100%_+_theme(fontSize.small)/2_+_24px)]"],base:"data-[has-label=true]:mt-[calc(theme(fontSize.small)_+_12px)]"}},{labelPlacement:"outside-left",size:"sm",class:{label:"group-data-[has-helper=true]:pt-2"}},{labelPlacement:"outside-left",size:"md",class:{label:"group-data-[has-helper=true]:pt-3"}},{labelPlacement:"outside-left",size:"lg",class:{label:"group-data-[has-helper=true]:pt-4"}},{labelPlacement:["outside","outside-left"],isMultiline:!0,class:{inputWrapper:"py-2"}},{labelPlacement:"outside",isMultiline:!0,class:{label:"pb-1.5"}},{labelPlacement:"inside",isMultiline:!0,class:{label:"pb-0.5",input:"pt-0"}},{isMultiline:!0,disableAnimation:!1,class:{input:"transition-height !duration-100 motion-reduce:transition-none"}},{labelPlacement:["inside","outside"],class:{label:["pe-2","max-w-full","text-ellipsis","overflow-hidden"]}},{isMultiline:!0,radius:"full",class:{inputWrapper:"data-[has-multiple-rows=true]:rounded-large"}}]}),zg=ot({slots:{base:"group relative max-w-fit inline-flex items-center justify-start cursor-pointer tap-highlight-transparent p-2 -m-2",wrapper:["relative","inline-flex","items-center","justify-center","flex-shrink-0","overflow-hidden","before:content-['']","before:absolute","before:inset-0","before:border-solid","before:border-2","before:box-border","before:border-default","after:content-['']","after:absolute","after:inset-0","after:scale-50","after:opacity-0","after:origin-center","group-data-[selected=true]:after:scale-100","group-data-[selected=true]:after:opacity-100","group-data-[hover=true]:before:bg-default-100",...aa],icon:"z-10 w-4 h-3 opacity-0 group-data-[selected=true]:opacity-100",label:"relative text-foreground select-none"},variants:{color:{default:{wrapper:"after:bg-default after:text-default-foreground text-default-foreground"},primary:{wrapper:"after:bg-primary after:text-primary-foreground text-primary-foreground"},secondary:{wrapper:"after:bg-secondary after:text-secondary-foreground text-secondary-foreground"},success:{wrapper:"after:bg-success after:text-success-foreground text-success-foreground"},warning:{wrapper:"after:bg-warning after:text-warning-foreground text-warning-foreground"},danger:{wrapper:"after:bg-danger after:text-danger-foreground text-danger-foreground"}},size:{sm:{wrapper:["w-4 h-4 mr-2","rounded-[calc(theme(borderRadius.medium)*0.5)]","before:rounded-[calc(theme(borderRadius.medium)*0.5)]","after:rounded-[calc(theme(borderRadius.medium)*0.5)]"],label:"text-small",icon:"w-3 h-2"},md:{wrapper:["w-5 h-5 mr-2","rounded-[calc(theme(borderRadius.medium)*0.6)]","before:rounded-[calc(theme(borderRadius.medium)*0.6)]","after:rounded-[calc(theme(borderRadius.medium)*0.6)]"],label:"text-medium",icon:"w-4 h-3"},lg:{wrapper:["w-6 h-6 mr-2","rounded-[calc(theme(borderRadius.medium)*0.7)]","before:rounded-[calc(theme(borderRadius.medium)*0.7)]","after:rounded-[calc(theme(borderRadius.medium)*0.7)]"],label:"text-large",icon:"w-5 h-4"}},radius:{none:{wrapper:"rounded-none before:rounded-none after:rounded-none"},sm:{wrapper:["rounded-[calc(theme(borderRadius.medium)*0.5)]","before:rounded-[calc(theme(borderRadius.medium)*0.5)]","after:rounded-[calc(theme(borderRadius.medium)*0.5)]"]},md:{wrapper:["rounded-[calc(theme(borderRadius.medium)*0.6)]","before:rounded-[calc(theme(borderRadius.medium)*0.6)]","after:rounded-[calc(theme(borderRadius.medium)*0.6)]"]},lg:{wrapper:["rounded-[calc(theme(borderRadius.medium)*0.7)]","before:rounded-[calc(theme(borderRadius.medium)*0.7)]","after:rounded-[calc(theme(borderRadius.medium)*0.7)]"]},full:{wrapper:"rounded-full before:rounded-full after:rounded-full"}},lineThrough:{true:{label:["inline-flex","items-center","justify-center","before:content-['']","before:absolute","before:bg-foreground","before:w-0","before:h-0.5","group-data-[selected=true]:opacity-60","group-data-[selected=true]:before:w-full"]}},isDisabled:{true:{base:"opacity-disabled pointer-events-none"}},isInvalid:{true:{wrapper:"before:border-danger",label:"text-danger"}},disableAnimation:{true:{wrapper:"transition-none",icon:"transition-none",label:"transition-none"},false:{wrapper:["before:transition-colors","group-data-[pressed=true]:scale-95","transition-transform","after:transition-transform-opacity","after:!ease-linear","after:!duration-200","motion-reduce:transition-none"],icon:"transition-opacity motion-reduce:transition-none",label:"transition-colors-opacity before:transition-width motion-reduce:transition-none"}}},defaultVariants:{color:"primary",size:"md",isDisabled:!1,lineThrough:!1,disableAnimation:!1}});ot({slots:{base:"relative flex flex-col gap-2",label:"relative text-medium text-foreground-500",wrapper:"flex flex-col flex-wrap gap-2 data-[orientation=horizontal]:flex-row",description:"text-small text-foreground-400",errorMessage:"text-small text-danger"},variants:{isRequired:{true:{label:"after:content-['*'] after:text-danger after:ml-0.5"}},isInvalid:{true:{description:"text-danger"}},disableAnimation:{true:{},false:{description:"transition-colors !duration-150 motion-reduce:transition-none"}}},defaultVariants:{isInvalid:!1,isRequired:!1,disableAnimation:!1}});var Au=ot({slots:{base:["relative","max-w-fit","inline-flex","items-center","justify-between","box-border","whitespace-nowrap"],content:"flex-1 text-inherit font-normal",dot:["w-2","h-2","ml-1","rounded-full"],avatar:"flex-shrink-0",closeButton:["z-10","appearance-none","outline-none","select-none","transition-opacity","opacity-70","hover:opacity-100","cursor-pointer","active:opacity-disabled","tap-highlight-transparent"]},variants:{variant:{solid:{},bordered:{base:"border-medium bg-transparent"},light:{base:"bg-transparent"},flat:{},faded:{base:"border-medium"},shadow:{},dot:{base:"border-medium border-default text-foreground bg-transparent"}},color:{default:{dot:"bg-default-400"},primary:{dot:"bg-primary"},secondary:{dot:"bg-secondary"},success:{dot:"bg-success"},warning:{dot:"bg-warning"},danger:{dot:"bg-danger"}},size:{sm:{base:"px-1 h-6 text-tiny",content:"px-1",closeButton:"text-medium",avatar:"w-4 h-4"},md:{base:"px-1 h-7 text-small",content:"px-2",closeButton:"text-large",avatar:"w-5 h-5"},lg:{base:"px-2 h-8 text-medium",content:"px-2",closeButton:"text-xl",avatar:"w-6 h-6"}},radius:{none:{base:"rounded-none"},sm:{base:"rounded-small"},md:{base:"rounded-medium"},lg:{base:"rounded-large"},full:{base:"rounded-full"}},isOneChar:{true:{},false:{}},isCloseable:{true:{},false:{}},hasStartContent:{true:{}},hasEndContent:{true:{}},isDisabled:{true:{base:"opacity-disabled pointer-events-none"}},isCloseButtonFocusVisible:{true:{closeButton:[...kg,"ring-1","rounded-full"]}}},defaultVariants:{variant:"solid",color:"default",size:"md",radius:"full",isDisabled:!1},compoundVariants:[{variant:"solid",color:"default",class:{base:Y.solid.default}},{variant:"solid",color:"primary",class:{base:Y.solid.primary}},{variant:"solid",color:"secondary",class:{base:Y.solid.secondary}},{variant:"solid",color:"success",class:{base:Y.solid.success}},{variant:"solid",color:"warning",class:{base:Y.solid.warning}},{variant:"solid",color:"danger",class:{base:Y.solid.danger}},{variant:"shadow",color:"default",class:{base:Y.shadow.default}},{variant:"shadow",color:"primary",class:{base:Y.shadow.primary}},{variant:"shadow",color:"secondary",class:{base:Y.shadow.secondary}},{variant:"shadow",color:"success",class:{base:Y.shadow.success}},{variant:"shadow",color:"warning",class:{base:Y.shadow.warning}},{variant:"shadow",color:"danger",class:{base:Y.shadow.danger}},{variant:"bordered",color:"default",class:{base:Y.bordered.default}},{variant:"bordered",color:"primary",class:{base:Y.bordered.primary}},{variant:"bordered",color:"secondary",class:{base:Y.bordered.secondary}},{variant:"bordered",color:"success",class:{base:Y.bordered.success}},{variant:"bordered",color:"warning",class:{base:Y.bordered.warning}},{variant:"bordered",color:"danger",class:{base:Y.bordered.danger}},{variant:"flat",color:"default",class:{base:Y.flat.default}},{variant:"flat",color:"primary",class:{base:Y.flat.primary}},{variant:"flat",color:"secondary",class:{base:Y.flat.secondary}},{variant:"flat",color:"success",class:{base:Y.flat.success}},{variant:"flat",color:"warning",class:{base:Y.flat.warning}},{variant:"flat",color:"danger",class:{base:Y.flat.danger}},{variant:"faded",color:"default",class:{base:Y.faded.default}},{variant:"faded",color:"primary",class:{base:Y.faded.primary}},{variant:"faded",color:"secondary",class:{base:Y.faded.secondary}},{variant:"faded",color:"success",class:{base:Y.faded.success}},{variant:"faded",color:"warning",class:{base:Y.faded.warning}},{variant:"faded",color:"danger",class:{base:Y.faded.danger}},{variant:"light",color:"default",class:{base:Y.light.default}},{variant:"light",color:"primary",class:{base:Y.light.primary}},{variant:"light",color:"secondary",class:{base:Y.light.secondary}},{variant:"light",color:"success",class:{base:Y.light.success}},{variant:"light",color:"warning",class:{base:Y.light.warning}},{variant:"light",color:"danger",class:{base:Y.light.danger}},{isOneChar:!0,size:"sm",class:{base:"w-5 h-5 min-w-unit-5 min-h-5"}},{isOneChar:!0,size:"md",class:{base:"w-6 h-6 min-w-unit-6 min-h-6"}},{isOneChar:!0,size:"lg",class:{base:"w-7 h-7 min-w-unit-7 min-h-7"}},{isOneChar:!0,isCloseable:!1,class:{base:"px-0 justify-center",content:"px-0 flex-none"}},{isOneChar:!0,isCloseable:!0,class:{base:"w-auto"}},{hasStartContent:!0,size:"sm",class:{content:"pl-0.5"}},{hasStartContent:!0,size:["md","lg"],class:{content:"pl-1"}},{hasEndContent:!0,size:"sm",class:{content:"pr-0.5"}},{hasEndContent:!0,size:["md","lg"],class:{content:"pr-1"}}]}),Wg=ot({slots:{base:["flex","relative","justify-center","items-center","box-border","overflow-hidden","align-middle","text-white","z-0",...Vn],img:["flex","object-cover","w-full","h-full","transition-opacity","!duration-500","opacity-0","data-[loaded=true]:opacity-100"],fallback:[...Qs,"flex","items-center","justify-center"],name:[...Qs,"font-normal","text-center","text-inherit"],icon:[...Qs,"flex","items-center","justify-center","text-inherit","w-full","h-full"]},variants:{size:{sm:{base:"w-8 h-8 text-tiny"},md:{base:"w-10 h-10 text-tiny"},lg:{base:"w-14 h-14 text-small"}},color:{default:{base:Y.solid.default},primary:{base:Y.solid.primary},secondary:{base:Y.solid.secondary},success:{base:Y.solid.success},warning:{base:Y.solid.warning},danger:{base:Y.solid.danger}},radius:{none:{base:"rounded-none"},sm:{base:"rounded-small"},md:{base:"rounded-medium"},lg:{base:"rounded-large"},full:{base:"rounded-full"}},isBordered:{true:{base:"ring-2 ring-offset-2 ring-offset-background dark:ring-offset-background-dark"}},isDisabled:{true:{base:"opacity-disabled"}},isInGroup:{true:{base:["-ms-2 data-[hover=true]:-translate-x-3 transition-transform","data-[focus-visible=true]:-translate-x-3"]}},isInGridGroup:{true:{base:"m-0 data-[hover=true]:translate-x-0"}}},defaultVariants:{size:"md",color:"default",radius:"full"},compoundVariants:[{color:"default",isBordered:!0,class:{base:"ring-default"}},{color:"primary",isBordered:!0,class:{base:"ring-primary"}},{color:"secondary",isBordered:!0,class:{base:"ring-secondary"}},{color:"success",isBordered:!0,class:{base:"ring-success"}},{color:"warning",isBordered:!0,class:{base:"ring-warning"}},{color:"danger",isBordered:!0,class:{base:"ring-danger"}}]});ot({base:"flex items-center justify-center h-auto w-max-content",variants:{isGrid:{true:"inline-grid grid-cols-4 gap-3"}}});var Bg=ot({base:["z-0","group","relative","inline-flex","items-center","justify-center","box-border","appearance-none","outline-none","select-none","whitespace-nowrap","min-w-max","font-normal","subpixel-antialiased","overflow-hidden","tap-highlight-transparent",...Vn],variants:{variant:{solid:"",bordered:"border-medium bg-transparent",light:"bg-transparent",flat:"",faded:"border-medium",shadow:"",ghost:"border-medium bg-transparent"},size:{sm:"px-unit-3 min-w-unit-16 h-unit-8 text-tiny gap-unit-2 rounded-small",md:"px-unit-4 min-w-unit-20 h-unit-10 text-small gap-unit-2 rounded-medium",lg:"px-unit-6 min-w-unit-24 h-unit-12 text-medium gap-unit-3 rounded-large"},color:{default:"",primary:"",secondary:"",success:"",warning:"",danger:""},radius:{none:"rounded-none",sm:"rounded-small",md:"rounded-medium",lg:"rounded-large",full:"rounded-full"},fullWidth:{true:"w-full"},isDisabled:{true:"opacity-disabled pointer-events-none"},isInGroup:{true:"[&:not(:first-child):not(:last-child)]:rounded-none"},isIconOnly:{true:"px-unit-0 !gap-unit-0",false:"[&>svg]:max-w-[theme(spacing.unit-8)]"},disableAnimation:{true:"!transition-none",false:"data-[pressed=true]:scale-[0.97] transition-transform-colors-opacity motion-reduce:transition-none"}},defaultVariants:{size:"md",variant:"solid",color:"default",fullWidth:!1,isDisabled:!1,isInGroup:!1,disableAnimation:!1},compoundVariants:[{variant:"solid",color:"default",class:Y.solid.default},{variant:"solid",color:"primary",class:Y.solid.primary},{variant:"solid",color:"secondary",class:Y.solid.secondary},{variant:"solid",color:"success",class:Y.solid.success},{variant:"solid",color:"warning",class:Y.solid.warning},{variant:"solid",color:"danger",class:Y.solid.danger},{variant:"shadow",color:"default",class:Y.shadow.default},{variant:"shadow",color:"primary",class:Y.shadow.primary},{variant:"shadow",color:"secondary",class:Y.shadow.secondary},{variant:"shadow",color:"success",class:Y.shadow.success},{variant:"shadow",color:"warning",class:Y.shadow.warning},{variant:"shadow",color:"danger",class:Y.shadow.danger},{variant:"bordered",color:"default",class:Y.bordered.default},{variant:"bordered",color:"primary",class:Y.bordered.primary},{variant:"bordered",color:"secondary",class:Y.bordered.secondary},{variant:"bordered",color:"success",class:Y.bordered.success},{variant:"bordered",color:"warning",class:Y.bordered.warning},{variant:"bordered",color:"danger",class:Y.bordered.danger},{variant:"flat",color:"default",class:Y.flat.default},{variant:"flat",color:"primary",class:Y.flat.primary},{variant:"flat",color:"secondary",class:Y.flat.secondary},{variant:"flat",color:"success",class:Y.flat.success},{variant:"flat",color:"warning",class:Y.flat.warning},{variant:"flat",color:"danger",class:Y.flat.danger},{variant:"faded",color:"default",class:Y.faded.default},{variant:"faded",color:"primary",class:Y.faded.primary},{variant:"faded",color:"secondary",class:Y.faded.secondary},{variant:"faded",color:"success",class:Y.faded.success},{variant:"faded",color:"warning",class:Y.faded.warning},{variant:"faded",color:"danger",class:Y.faded.danger},{variant:"light",color:"default",class:[Y.light.default,"data-[hover=true]:bg-default/40"]},{variant:"light",color:"primary",class:[Y.light.primary,"data-[hover=true]:bg-primary/20"]},{variant:"light",color:"secondary",class:[Y.light.secondary,"data-[hover=true]:bg-secondary/20"]},{variant:"light",color:"success",class:[Y.light.success,"data-[hover=true]:bg-success/20"]},{variant:"light",color:"warning",class:[Y.light.warning,"data-[hover=true]:bg-warning/20"]},{variant:"light",color:"danger",class:[Y.light.danger,"data-[hover=true]:bg-danger/20"]},{variant:"ghost",color:"default",class:Y.ghost.default},{variant:"ghost",color:"primary",class:Y.ghost.primary},{variant:"ghost",color:"secondary",class:Y.ghost.secondary},{variant:"ghost",color:"success",class:Y.ghost.success},{variant:"ghost",color:"warning",class:Y.ghost.warning},{variant:"ghost",color:"danger",class:Y.ghost.danger},{isInGroup:!0,class:"rounded-none first:rounded-s-medium last:rounded-e-medium"},{isInGroup:!0,size:"sm",class:"rounded-none first:rounded-s-small last:rounded-e-small"},{isInGroup:!0,size:"md",class:"rounded-none first:rounded-s-medium last:rounded-e-medium"},{isInGroup:!0,size:"lg",class:"rounded-none first:rounded-s-large last:rounded-e-large"},{isInGroup:!0,isRounded:!0,class:"rounded-none first:rounded-s-full last:rounded-e-full"},{isInGroup:!0,radius:"none",class:"rounded-none first:rounded-s-none last:rounded-e-none"},{isInGroup:!0,radius:"sm",class:"rounded-none first:rounded-s-small last:rounded-e-small"},{isInGroup:!0,radius:"md",class:"rounded-none first:rounded-s-medium last:rounded-e-medium"},{isInGroup:!0,radius:"lg",class:"rounded-none first:rounded-s-large last:rounded-e-large"},{isInGroup:!0,radius:"full",class:"rounded-none first:rounded-s-full last:rounded-e-full"},{isInGroup:!0,variant:["ghost","bordered"],color:"default",className:en.default},{isInGroup:!0,variant:["ghost","bordered"],color:"primary",className:en.primary},{isInGroup:!0,variant:["ghost","bordered"],color:"secondary",className:en.secondary},{isInGroup:!0,variant:["ghost","bordered"],color:"success",className:en.success},{isInGroup:!0,variant:["ghost","bordered"],color:"warning",className:en.warning},{isInGroup:!0,variant:["ghost","bordered"],color:"danger",className:en.danger},{isIconOnly:!0,size:"sm",class:"min-w-unit-8 w-unit-8 h-unit-8"},{isIconOnly:!0,size:"md",class:"min-w-unit-10 w-unit-10 h-unit-10"},{isIconOnly:!0,size:"lg",class:"min-w-unit-12 w-unit-12 h-unit-12"},{variant:["solid","faded","flat","bordered","shadow"],class:"data-[hover=true]:opacity-hover"}]});ot({base:"inline-flex items-center justify-center h-auto",variants:{fullWidth:{true:"w-full"}},defaultVariants:{fullWidth:!1}});var Kg=e=>(e==null?void 0:e.length)<=4?e:e==null?void 0:e.slice(0,3),Xs=(...e)=>{let t=" ";for(const r of e)if(typeof r=="string"&&r.length>0){t=r;break}return t};function Nu(e){var t,r,n="";if(typeof e=="string"||typeof e=="number")n+=e;else if(typeof e=="object")if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(r=Nu(e[t]))&&(n&&(n+=" "),n+=r);else for(t in e)e[t]&&(n&&(n+=" "),n+=t);return n}function ve(...e){for(var t=0,r,n,o="";t<e.length;)(r=e[t++])&&(n=Nu(r))&&(o&&(o+=" "),o+=n);return o}var Ou={};function sa(e,t,...r){var n;const a=`[Next UI]${t?` [${t}]`:" "}: ${e}`;if(!(typeof console>"u")&&!Ou[a]&&(Ou[a]=!0,((n=process==null?void 0:process.env)==null?void 0:n.NODE_ENV)!=="production"))return console.warn(a,r)}function Rg(e){return`${e}-${Math.floor(Math.random()*1e6)}`}var ju=process.env.NODE_ENV!=="production";process.env.NODE_ENV;var ee=e=>e?"true":void 0;function ia(e={}){const{strict:t=!0,errorMessage:r="useContext: `context` is undefined. Seems you forgot to wrap component within the Provider",name:n}=e,o=W.createContext(void 0);o.displayName=n;function a(){var s;const i=W.useContext(o);if(!i&&t){const l=new Error(r);throw l.name="ContextError",(s=Error.captureStackTrace)==null||s.call(Error,l,a),l}return i}return[o.Provider,a,o]}function Ug(e){return{UNSAFE_getDOMNode(){return e.current}}}function Gg(e,t=e){return{...Ug(e),focus(){t.current&&t.current.focus()}}}function at(e){const t=f.useRef(null);return f.useImperativeHandle(e,()=>t.current),t}function Lu(e,t){const r=f.useRef(null);return f.useImperativeHandle(e,()=>Gg(r,t)),r}var Hg=new Set(["id","type","style","title","role","tabIndex","htmlFor","width","height","abbr","accept","acceptCharset","accessKey","action","allowFullScreen","allowTransparency","alt","async","autoComplete","autoFocus","autoPlay","cellPadding","cellSpacing","challenge","charset","checked","cite","class","className","cols","colSpan","command","content","contentEditable","contextMenu","controls","coords","crossOrigin","data","dateTime","default","defer","dir","disabled","download","draggable","dropzone","encType","for","form","formAction","formEncType","formMethod","formNoValidate","formTarget","frameBorder","headers","hidden","high","href","hrefLang","httpEquiv","icon","inputMode","isMap","itemId","itemProp","itemRef","itemScope","itemType","kind","label","lang","list","loop","manifest","max","maxLength","media","mediaGroup","method","min","minLength","multiple","muted","name","noValidate","open","optimum","pattern","ping","placeholder","poster","preload","radioGroup","referrerPolicy","readOnly","rel","required","rows","rowSpan","sandbox","scope","scoped","scrolling","seamless","selected","shape","size","sizes","slot","sortable","span","spellCheck","src","srcDoc","srcSet","start","step","target","translate","typeMustMatch","useMap","value","wmode","wrap"]),Yg=new Set(["onCopy","onCut","onPaste","onLoad","onError","onWheel","onScroll","onCompositionEnd","onCompositionStart","onCompositionUpdate","onKeyDown","onKeyPress","onKeyUp","onFocus","onBlur","onChange","onInput","onSubmit","onClick","onContextMenu","onDoubleClick","onDrag","onDragEnd","onDragEnter","onDragExit","onDragLeave","onDragOver","onDragStart","onDrop","onMouseDown","onMouseEnter","onMouseLeave","onMouseMove","onMouseOut","onMouseOver","onMouseUp","onPointerDown","onPointerEnter","onPointerLeave","onPointerUp","onSelect","onTouchCancel","onTouchEnd","onTouchMove","onTouchStart","onAnimationStart","onAnimationEnd","onAnimationIteration","onTransitionEnd"]),qg=/^(data-.*)$/,Qg=/^(aria-.*)$/,Zs=/^(on[A-Z].*)$/;function zn(e,t={}){let{labelable:r=!0,enabled:n=!0,propNames:o,omitPropNames:a,omitEventNames:s}=t,i={};if(!n)return e;for(const l in e)a!=null&&a.has(l)||s!=null&&s.has(l)&&Zs.test(l)||Zs.test(l)&&!Yg.has(l)||(Object.prototype.hasOwnProperty.call(e,l)&&(Hg.has(l)||r&&Qg.test(l)||o!=null&&o.has(l)||qg.test(l))||Zs.test(l))&&(i[l]=e[l]);return i}function Js(e){return Lm()?e.altKey:e.ctrlKey}function tn(e){return Jt()?e.metaKey:e.ctrlKey}const Xg=1e3;function Zg(e){let{keyboardDelegate:t,selectionManager:r,onTypeSelect:n}=e,o=f.useRef({search:"",timeout:null}).current,a=s=>{let i=Jg(s.key);if(!i||s.ctrlKey||s.metaKey||!s.currentTarget.contains(s.target))return;i===" "&&o.search.trim().length>0&&(s.preventDefault(),"continuePropagation"in s||s.stopPropagation()),o.search+=i;let l=t.getKeyForSearch(o.search,r.focusedKey);l==null&&(l=t.getKeyForSearch(o.search)),l!=null&&(r.setFocusedKey(l),n&&n(l)),clearTimeout(o.timeout),o.timeout=setTimeout(()=>{o.search=""},Xg)};return{typeSelectProps:{onKeyDownCapture:t.getKeyForSearch?a:null}}}function Jg(e){return e.length===1||!/^[A-Z]/i.test(e)?e:""}function ev(e){let{selectionManager:t,keyboardDelegate:r,ref:n,autoFocus:o=!1,shouldFocusWrap:a=!1,disallowEmptySelection:s=!1,disallowSelectAll:i=!1,selectOnFocus:l=t.selectionBehavior==="replace",disallowTypeAhead:c=!1,shouldUseVirtualFocus:u,allowsTabNavigation:d=!1,isVirtualized:p,scrollRef:h=n,linkBehavior:g="action"}=e,{direction:v}=Os(),b=Zc(),P=I=>{if(I.altKey&&I.key==="Tab"&&I.preventDefault(),!n.current.contains(I.target))return;const S=(G,U)=>{if(G!=null){if(t.isLink(G)&&g==="selection"&&l&&!Js(I)){$n.flushSync(()=>{t.setFocusedKey(G,U)});let F=h.current.querySelector(`[data-key="${CSS.escape(G.toString())}"]`);b.open(F,I);return}if(t.setFocusedKey(G,U),t.isLink(G)&&g==="override")return;I.shiftKey&&t.selectionMode==="multiple"?t.extendSelection(G):l&&!Js(I)&&t.replaceSelection(G)}};switch(I.key){case"ArrowDown":if(r.getKeyBelow){var N,C;I.preventDefault();let G=t.focusedKey!=null?r.getKeyBelow(t.focusedKey):(N=r.getFirstKey)===null||N===void 0?void 0:N.call(r);G==null&&a&&(G=(C=r.getFirstKey)===null||C===void 0?void 0:C.call(r,t.focusedKey)),S(G)}break;case"ArrowUp":if(r.getKeyAbove){var M,O;I.preventDefault();let G=t.focusedKey!=null?r.getKeyAbove(t.focusedKey):(M=r.getLastKey)===null||M===void 0?void 0:M.call(r);G==null&&a&&(G=(O=r.getLastKey)===null||O===void 0?void 0:O.call(r,t.focusedKey)),S(G)}break;case"ArrowLeft":if(r.getKeyLeftOf){var _,D;I.preventDefault();let G=r.getKeyLeftOf(t.focusedKey);G==null&&a&&(G=v==="rtl"?(_=r.getFirstKey)===null||_===void 0?void 0:_.call(r,t.focusedKey):(D=r.getLastKey)===null||D===void 0?void 0:D.call(r,t.focusedKey)),S(G,v==="rtl"?"first":"last")}break;case"ArrowRight":if(r.getKeyRightOf){var z,X;I.preventDefault();let G=r.getKeyRightOf(t.focusedKey);G==null&&a&&(G=v==="rtl"?(z=r.getLastKey)===null||z===void 0?void 0:z.call(r,t.focusedKey):(X=r.getFirstKey)===null||X===void 0?void 0:X.call(r,t.focusedKey)),S(G,v==="rtl"?"last":"first")}break;case"Home":if(r.getFirstKey){I.preventDefault();let G=r.getFirstKey(t.focusedKey,tn(I));t.setFocusedKey(G),tn(I)&&I.shiftKey&&t.selectionMode==="multiple"?t.extendSelection(G):l&&t.replaceSelection(G)}break;case"End":if(r.getLastKey){I.preventDefault();let G=r.getLastKey(t.focusedKey,tn(I));t.setFocusedKey(G),tn(I)&&I.shiftKey&&t.selectionMode==="multiple"?t.extendSelection(G):l&&t.replaceSelection(G)}break;case"PageDown":if(r.getKeyPageBelow){I.preventDefault();let G=r.getKeyPageBelow(t.focusedKey);S(G)}break;case"PageUp":if(r.getKeyPageAbove){I.preventDefault();let G=r.getKeyPageAbove(t.focusedKey);S(G)}break;case"a":tn(I)&&t.selectionMode==="multiple"&&i!==!0&&(I.preventDefault(),t.selectAll());break;case"Escape":I.preventDefault(),s||t.clearSelection();break;case"Tab":if(!d){if(I.shiftKey)n.current.focus();else{let G=Gs(n.current,{tabbable:!0}),U,F;do F=G.lastChild(),F&&(U=F);while(F);U&&!U.contains(document.activeElement)&&nt(U)}break}}},x=f.useRef({top:0,left:0});Um(h,"scroll",p?null:()=>{x.current={top:h.current.scrollTop,left:h.current.scrollLeft}});let w=I=>{if(t.isFocused){I.currentTarget.contains(I.target)||t.setFocused(!1);return}if(I.currentTarget.contains(I.target)){if(t.setFocused(!0),t.focusedKey==null){let C=O=>{O!=null&&(t.setFocusedKey(O),l&&t.replaceSelection(O))},M=I.relatedTarget;var S,N;M&&I.currentTarget.compareDocumentPosition(M)&Node.DOCUMENT_POSITION_FOLLOWING?C((S=t.lastSelectedKey)!==null&&S!==void 0?S:r.getLastKey()):C((N=t.firstSelectedKey)!==null&&N!==void 0?N:r.getFirstKey())}else p||(h.current.scrollTop=x.current.top,h.current.scrollLeft=x.current.left);if(!p&&t.focusedKey!=null){let C=h.current.querySelector(`[data-key="${CSS.escape(t.focusedKey.toString())}"]`);C&&(C.contains(document.activeElement)||nt(C),Bs()==="keyboard"&&ou(C,{containingElement:n.current}))}}},T=I=>{I.currentTarget.contains(I.relatedTarget)||t.setFocused(!1)};const $=f.useRef(o);f.useEffect(()=>{if($.current){let I=null;o==="first"&&(I=r.getFirstKey()),o==="last"&&(I=r.getLastKey());let S=t.selectedKeys;if(S.size){for(let N of S)if(t.canSelectItem(N)){I=N;break}}t.setFocused(!0),t.setFocusedKey(I),I==null&&!u&&ra(n.current)}},[]);let E=f.useRef(t.focusedKey);f.useEffect(()=>{let I=Bs();if(t.isFocused&&t.focusedKey!=null&&(h!=null&&h.current)){let S=h.current.querySelector(`[data-key="${CSS.escape(t.focusedKey.toString())}"]`);S&&(I==="keyboard"||$.current)&&(p||ru(h.current,S),ou(S,{containingElement:n.current}))}t.isFocused&&t.focusedKey==null&&E.current!=null&&ra(n.current),E.current=t.focusedKey,$.current=!1},[p,h,t.focusedKey,t.isFocused,n]);let A={onKeyDown:P,onFocus:w,onBlur:T,onMouseDown(I){h.current===I.target&&I.preventDefault()}},{typeSelectProps:m}=Zg({keyboardDelegate:r,selectionManager:t});c||(A=de(m,A));let k;return u||(k=t.focusedKey==null?0:-1),{collectionProps:{...A,tabIndex:k}}}function tv(e){let{selectionManager:t,key:r,ref:n,shouldSelectOnPressUp:o,shouldUseVirtualFocus:a,focus:s,isDisabled:i,onAction:l,allowsDifferentPressOrigin:c,linkBehavior:u="action"}=e,d=Zc(),p=D=>{if(D.pointerType==="keyboard"&&Js(D))t.toggleSelection(r);else{if(t.selectionMode==="none")return;if(t.isLink(r)){if(u==="selection"){d.open(n.current,D),t.setSelectedKeys(t.selectedKeys);return}else if(u==="override"||u==="none")return}t.selectionMode==="single"?t.isSelected(r)&&!t.disallowEmptySelection?t.toggleSelection(r):t.replaceSelection(r):D&&D.shiftKey?t.extendSelection(r):t.selectionBehavior==="toggle"||D&&(tn(D)||D.pointerType==="touch"||D.pointerType==="virtual")?t.toggleSelection(r):t.replaceSelection(r)}};f.useEffect(()=>{r===t.focusedKey&&t.isFocused&&!a&&(s?s():document.activeElement!==n.current&&ra(n.current))},[n,r,t.focusedKey,t.childFocusStrategy,t.isFocused,a]),i=i||t.isDisabled(r);let h={};!a&&!i?h={tabIndex:r===t.focusedKey?0:-1,onFocus(D){D.target===n.current&&t.setFocusedKey(r)}}:i&&(h.onMouseDown=D=>{D.preventDefault()});let g=t.isLink(r)&&u==="override",v=t.isLink(r)&&u!=="selection"&&u!=="none",b=!i&&t.canSelectItem(r)&&!g,P=(l||v)&&!i,x=P&&(t.selectionBehavior==="replace"?!b:!b||t.isEmpty),w=P&&b&&t.selectionBehavior==="replace",T=x||w,$=f.useRef(null),E=T&&b,A=f.useRef(!1),m=f.useRef(!1),k=D=>{l&&l(),v&&d.open(n.current,D)},I={};o?(I.onPressStart=D=>{$.current=D.pointerType,A.current=E,D.pointerType==="keyboard"&&(!T||Fu())&&p(D)},c?(I.onPressUp=x?null:D=>{D.pointerType!=="keyboard"&&b&&p(D)},I.onPress=x?k:null):I.onPress=D=>{if(x||w&&D.pointerType!=="mouse"){if(D.pointerType==="keyboard"&&!_u())return;k(D)}else D.pointerType!=="keyboard"&&b&&p(D)}):(I.onPressStart=D=>{$.current=D.pointerType,A.current=E,m.current=x,b&&(D.pointerType==="mouse"&&!x||D.pointerType==="keyboard"&&(!P||Fu()))&&p(D)},I.onPress=D=>{(D.pointerType==="touch"||D.pointerType==="pen"||D.pointerType==="virtual"||D.pointerType==="keyboard"&&T&&_u()||D.pointerType==="mouse"&&m.current)&&(T?k(D):b&&p(D))}),h["data-key"]=r,I.preventFocusOnPress=a;let{pressProps:S,isPressed:N}=vr(I),C=w?D=>{$.current==="mouse"&&(D.stopPropagation(),D.preventDefault(),k(D))}:void 0,{longPressProps:M}=xg({isDisabled:!E,onLongPress(D){D.pointerType==="touch"&&(p(D),t.setSelectionBehavior("toggle"))}}),O=D=>{$.current==="touch"&&A.current&&D.preventDefault()},_=t.isLink(r)?D=>{jt.isOpening||D.preventDefault()}:void 0;return{itemProps:de(h,b||x?S:{},E?M:{},{onDoubleClick:C,onDragStartCapture:O,onClick:_}),isPressed:N,isSelected:t.isSelected(r),isFocused:t.isFocused&&t.focusedKey===r,isDisabled:i,allowsSelection:b,hasAction:T}}function _u(){let e=window.event;return(e==null?void 0:e.key)==="Enter"}function Fu(){let e=window.event;return(e==null?void 0:e.key)===" "||(e==null?void 0:e.code)==="Space"}var Vu=f.createContext(null);Vu.displayName="PressResponderContext";var rv=Object.defineProperty,nv=(e,t,r)=>t in e?rv(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,wr=(e,t,r)=>(nv(e,typeof t!="symbol"?t+"":t,r),r),zu=(e,t,r)=>{if(!t.has(e))throw TypeError("Cannot "+r)},ov=(e,t,r)=>(zu(e,t,"read from private field"),r?r.call(e):t.get(e)),av=(e,t,r)=>{if(t.has(e))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(e):t.set(e,r)},sv=(e,t,r,n)=>(zu(e,t,"write to private field"),n?n.call(e,r):t.set(e,r),r),la,ca=class{constructor(e,t,r){wr(this,"type"),wr(this,"pointerType"),wr(this,"target"),wr(this,"shiftKey"),wr(this,"ctrlKey"),wr(this,"metaKey"),wr(this,"altKey"),av(this,la,!0),this.type=e,this.pointerType=t,this.target=r.currentTarget,this.shiftKey=r.shiftKey,this.metaKey=r.metaKey,this.ctrlKey=r.ctrlKey,this.altKey=r.altKey}continuePropagation(){sv(this,la,!1)}get shouldStopPropagation(){return ov(this,la)}};la=new WeakMap;var Cr=e=>{var t;return(t=e==null?void 0:e.ownerDocument)!=null?t:document},ei=e=>{var t,r;return(r=(t=e==null?void 0:e.ownerDocument)==null?void 0:t.defaultView)!=null?r:window},rn="default",ti="",ua=new WeakMap;function Wu(e){if(jn()){if(rn==="default"){const t=Cr(e);ti=t.documentElement.style.webkitUserSelect,t.documentElement.style.webkitUserSelect="none"}rn="disabled"}else(e instanceof HTMLElement||e instanceof SVGElement)&&(ua.set(e,e.style.userSelect),e.style.userSelect="none")}function da(e){if(jn()){if(rn!=="disabled")return;rn="restoring",setTimeout(()=>{Es(()=>{if(rn==="restoring"){const t=Cr(e);t.documentElement.style.webkitUserSelect==="none"&&(t.documentElement.style.webkitUserSelect=ti||""),ti="",rn="default"}})},300)}else if((e instanceof HTMLElement||e instanceof SVGElement)&&e&&ua.has(e)){let t=ua.get(e);e.style.userSelect==="none"&&t&&(e.style.userSelect=t),e.getAttribute("style")===""&&e.removeAttribute("style"),ua.delete(e)}}function iv(e){let t=f.useContext(Vu);if(t){let{register:r,...n}=t;e=de(n,e),r()}return ks(t,e.ref),e}var Bu=Symbol("linkClicked");function Wn(e){let{onPress:t,onPressChange:r,onPressStart:n,onPressEnd:o,onPressUp:a,isDisabled:s,isPressed:i,preventFocusOnPress:l,shouldCancelOnPointerExit:c,allowTextSelectionOnPress:u,ref:d,...p}=iv(e),[h,g]=f.useState(!1),v=f.useRef({isPressed:!1,ignoreEmulatedMouseEvents:!1,ignoreClickAfterPress:!1,didFirePressStart:!1,isTriggeringEvent:!1,activePointerId:null,target:null,isOverTarget:!1,pointerType:null}),{addGlobalListener:b,removeAllGlobalListeners:P}=$s(),x=Be((m,k)=>{let I=v.current;if(s||I.didFirePressStart)return;let S=!0;if(I.isTriggeringEvent=!0,n){let N=new ca("pressstart",k,m);n(N),S=N.shouldStopPropagation}return r&&r(!0),I.isTriggeringEvent=!1,I.didFirePressStart=!0,g(!0),S}),w=Be((m,k,I=!0)=>{let S=v.current;if(!S.didFirePressStart)return;S.ignoreClickAfterPress=!0,S.didFirePressStart=!1,S.isTriggeringEvent=!0;let N=!0;if(o){let C=new ca("pressend",k,m);o(C),N=C.shouldStopPropagation}if(r&&r(!1),g(!1),t&&I&&!s){let C=new ca("press",k,m);t(C),N&&(N=C.shouldStopPropagation)}return S.isTriggeringEvent=!1,N}),T=Be((m,k)=>{let I=v.current;if(!s){if(a){I.isTriggeringEvent=!0;let S=new ca("pressup",k,m);return a(S),I.isTriggeringEvent=!1,S.shouldStopPropagation}return!0}}),$=Be(m=>{let k=v.current;k.isPressed&&(k.isOverTarget&&k.target&&w(_t(k.target,m),k.pointerType,!1),k.isPressed=!1,k.isOverTarget=!1,k.activePointerId=null,k.pointerType=null,P(),!u&&k.target&&da(k.target))}),E=Be(m=>{c&&$(m)}),A=f.useMemo(()=>{let m=v.current,k={onKeyDown(S){var N;if(ni(S.nativeEvent,S.currentTarget)&&S.currentTarget.contains(S.target)){Ru(S.target,S.key)&&S.preventDefault();let C=!0;!m.isPressed&&!S.repeat&&(m.target=S.currentTarget,m.isPressed=!0,C=x(S,"keyboard"),b(Cr(S.currentTarget),"keyup",I,!1)),C&&S.stopPropagation(),S.metaKey&&Jt()&&((N=m.metaKeyEvents)==null||N.set(S.key,S.nativeEvent))}else S.key==="Meta"&&(m.metaKeyEvents=new Map)},onKeyUp(S){m.target&&ni(S.nativeEvent,S.currentTarget)&&!S.repeat&&S.currentTarget.contains(S.target)&&T(_t(m.target,S),"keyboard")},onClick(S){if(!(S&&!S.currentTarget.contains(S.target))&&S&&S.button===0&&!m.isTriggeringEvent&&!jt.isOpening){let N=!0;if(s&&S.preventDefault(),!m.ignoreClickAfterPress&&!m.ignoreEmulatedMouseEvents&&!m.isPressed&&(m.pointerType==="virtual"||Ln(S.nativeEvent))){!s&&!l&&nt(S.currentTarget);let C=x(S,"virtual"),M=T(S,"virtual"),O=w(S,"virtual");N=C&&M&&O}m.ignoreEmulatedMouseEvents=!1,m.ignoreClickAfterPress=!1,N&&S.stopPropagation()}}},I=S=>{var N,C;if(m.isPressed&&m.target&&ni(S,m.target)){Ru(S.target,S.key)&&S.preventDefault();let M=S.target,O=w(_t(m.target,S),"keyboard",m.target.contains(M));P(),O&&S.stopPropagation(),S.key!=="Enter"&&ri(m.target)&&m.target.contains(M)&&!S[Bu]&&(S[Bu]=!0,jt(m.target,S,!1)),m.isPressed=!1,(N=m.metaKeyEvents)==null||N.delete(S.key)}else if(S.key==="Meta"&&((C=m.metaKeyEvents)!=null&&C.size)){let M=m.metaKeyEvents;m.metaKeyEvents=null;for(let O of M.values())m.target&&m.target.dispatchEvent(new KeyboardEvent("keyup",O))}};if(typeof PointerEvent<"u"){k.onPointerDown=M=>{if(M.button!==0||!M.currentTarget.contains(M.target))return;if(au(M.nativeEvent)){m.pointerType="virtual";return}oi(M.currentTarget)&&M.preventDefault(),m.pointerType=M.pointerType;let O=!0;m.isPressed||(m.isPressed=!0,m.isOverTarget=!0,m.activePointerId=M.pointerId,m.target=M.currentTarget,!s&&!l&&nt(M.currentTarget),u||Wu(m.target),O=x(M,m.pointerType),b(Cr(M.currentTarget),"pointermove",S,!1),b(Cr(M.currentTarget),"pointerup",N,!1),b(Cr(M.currentTarget),"pointercancel",C,!1)),O&&M.stopPropagation()},k.onMouseDown=M=>{M.currentTarget.contains(M.target)&&M.button===0&&(oi(M.currentTarget)&&M.preventDefault(),M.stopPropagation())},k.onPointerUp=M=>{!M.currentTarget.contains(M.target)||m.pointerType==="virtual"||M.button===0&&nn(M,M.currentTarget)&&T(M,m.pointerType||M.pointerType)};let S=M=>{M.pointerId!==m.activePointerId||!m.target||(nn(M,m.target)?m.isOverTarget||(m.isOverTarget=!0,x(_t(m.target,M),m.pointerType)):m.isOverTarget&&(m.isOverTarget=!1,w(_t(m.target,M),m.pointerType,!1),E(M)))},N=M=>{M.pointerId===m.activePointerId&&m.isPressed&&M.button===0&&m.target&&((nn(M,m.target)||m.isOverTarget)&&w(_t(m.target,M),m.pointerType),m.isPressed=!1,m.isOverTarget=!1,m.activePointerId=null,m.pointerType=null,P(),u||da(m.target))},C=M=>{$(M)};k.onDragStart=M=>{M.currentTarget.contains(M.target)&&$(M)}}else{k.onMouseDown=C=>{if(C.button!==0||!C.currentTarget.contains(C.target))return;if(oi(C.currentTarget)&&C.preventDefault(),m.ignoreEmulatedMouseEvents){C.stopPropagation();return}m.isPressed=!0,m.isOverTarget=!0,m.target=C.currentTarget,m.pointerType=Ln(C.nativeEvent)?"virtual":"mouse",!s&&!l&&nt(C.currentTarget),x(C,m.pointerType)&&C.stopPropagation(),b(Cr(C.currentTarget),"mouseup",S,!1)},k.onMouseEnter=C=>{if(!C.currentTarget.contains(C.target))return;let M=!0;m.isPressed&&!m.ignoreEmulatedMouseEvents&&(m.isOverTarget=!0,M=x(C,m.pointerType)),M&&C.stopPropagation()},k.onMouseLeave=C=>{if(!C.currentTarget.contains(C.target))return;let M=!0;m.isPressed&&!m.ignoreEmulatedMouseEvents&&(m.isOverTarget=!1,M=w(C,m.pointerType,!1),E(C)),M&&C.stopPropagation()},k.onMouseUp=C=>{C.currentTarget.contains(C.target)&&!m.ignoreEmulatedMouseEvents&&C.button===0&&T(C,m.pointerType||"mouse")};let S=C=>{if(C.button===0){if(m.isPressed=!1,P(),m.ignoreEmulatedMouseEvents){m.ignoreEmulatedMouseEvents=!1;return}m.target&&(nn(C,m.target)?w(_t(m.target,C),m.pointerType):m.isOverTarget&&w(_t(m.target,C),m.pointerType,!1),m.isOverTarget=!1)}};k.onTouchStart=C=>{if(!C.currentTarget.contains(C.target))return;let M=lv(C.nativeEvent);if(!M)return;m.activePointerId=M.identifier,m.ignoreEmulatedMouseEvents=!0,m.isOverTarget=!0,m.isPressed=!0,m.target=C.currentTarget,m.pointerType="touch",!s&&!l&&nt(C.currentTarget),u||Wu(m.target),x(C,m.pointerType)&&C.stopPropagation(),b(ei(C.currentTarget),"scroll",N,!0)},k.onTouchMove=C=>{if(!C.currentTarget.contains(C.target))return;if(!m.isPressed){C.stopPropagation();return}let M=Ku(C.nativeEvent,m.activePointerId),O=!0;M&&nn(M,C.currentTarget)?m.isOverTarget||(m.isOverTarget=!0,O=x(C,m.pointerType)):m.isOverTarget&&(m.isOverTarget=!1,O=w(C,m.pointerType,!1),E(C)),O&&C.stopPropagation()},k.onTouchEnd=C=>{if(!C.currentTarget.contains(C.target))return;if(!m.isPressed){C.stopPropagation();return}let M=Ku(C.nativeEvent,m.activePointerId),O=!0;M&&nn(M,C.currentTarget)?(T(C,m.pointerType),O=w(C,m.pointerType)):m.isOverTarget&&(O=w(C,m.pointerType,!1)),O&&C.stopPropagation(),m.isPressed=!1,m.activePointerId=null,m.isOverTarget=!1,m.ignoreEmulatedMouseEvents=!0,!u&&m.target&&da(m.target),P()},k.onTouchCancel=C=>{C.currentTarget.contains(C.target)&&(C.stopPropagation(),m.isPressed&&$(C))};let N=C=>{m.isPressed&&C.target.contains(m.target)&&$({currentTarget:m.target,shiftKey:!1,ctrlKey:!1,metaKey:!1,altKey:!1})};k.onDragStart=C=>{C.currentTarget.contains(C.target)&&$(C)}}return k},[b,s,l,P,u,$,E,w,x,T]);return f.useEffect(()=>()=>{!u&&v.current.target&&da(v.current.target)},[u]),{isPressed:i||h,pressProps:de(p,A)}}function ri(e){return e.tagName==="A"&&e.hasAttribute("href")}function ni(e,t){const{key:r,code:n}=e,o=t,a=o.getAttribute("role");return(r==="Enter"||r===" "||r==="Spacebar"||n==="Space")&&!(o instanceof ei(o).HTMLInputElement&&!Uu(o,r)||o instanceof ei(o).HTMLTextAreaElement||o.isContentEditable)&&!((a==="link"||!a&&ri(o))&&r!=="Enter")}function lv(e){const{targetTouches:t}=e;return t.length>0?t[0]:null}function Ku(e,t){const r=e.changedTouches;for(let n=0;n<r.length;n++){const o=r[n];if(o.identifier===t)return o}return null}function _t(e,t){return{currentTarget:e,shiftKey:t.shiftKey,ctrlKey:t.ctrlKey,metaKey:t.metaKey,altKey:t.altKey}}function cv(e){let t=e.width?e.width/2:e.radiusX||0,r=e.height?e.height/2:e.radiusY||0;return{top:e.clientY-r,right:e.clientX+t,bottom:e.clientY+r,left:e.clientX-t}}function uv(e,t){return!(e.left>t.right||t.left>e.right||e.top>t.bottom||t.top>e.bottom)}function nn(e,t){let r=t.getBoundingClientRect(),n=cv(e);return uv(r,n)}function oi(e){return!(e instanceof HTMLElement)||!e.hasAttribute("draggable")}function Ru(e,t){return e instanceof HTMLInputElement?!Uu(e,t):e instanceof HTMLButtonElement?e.type!=="submit"&&e.type!=="reset":!ri(e)}var dv=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function Uu(e,t){return e.type==="checkbox"||e.type==="radio"?t===" ":dv.has(e.type)}var fv=e=>L.jsx("svg",{"aria-hidden":"true",focusable:"false",height:"1em",role:"presentation",viewBox:"0 0 24 24",width:"1em",...e,children:L.jsx("path",{d:"M12 2a10 10 0 1010 10A10.016 10.016 0 0012 2zm3.36 12.3a.754.754 0 010 1.06.748.748 0 01-1.06 0l-2.3-2.3-2.3 2.3a.748.748 0 01-1.06 0 .754.754 0 010-1.06l2.3-2.3-2.3-2.3A.75.75 0 019.7 8.64l2.3 2.3 2.3-2.3a.75.75 0 011.06 1.06l-2.3 2.3z",fill:"currentColor"})});const Gu=f.createContext({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"}),fa=f.createContext({}),pa=f.createContext(null),ha=typeof document<"u",ai=ha?f.useLayoutEffect:f.useEffect,Hu=f.createContext({strict:!1}),si=e=>e.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),Yu="data-"+si("framerAppearId");function pv(e,t,r,n){const{visualElement:o}=f.useContext(fa),a=f.useContext(Hu),s=f.useContext(pa),i=f.useContext(Gu).reducedMotion,l=f.useRef();n=n||a.renderer,!l.current&&n&&(l.current=n(e,{visualState:t,parent:o,props:r,presenceContext:s,blockInitialAnimation:s?s.initial===!1:!1,reducedMotionConfig:i}));const c=l.current;f.useInsertionEffect(()=>{c&&c.update(r,s)});const u=f.useRef(!!(r[Yu]&&!window.HandoffComplete));return ai(()=>{c&&(c.render(),u.current&&c.animationState&&c.animationState.animateChanges())}),f.useEffect(()=>{c&&(c.updateFeatures(),!u.current&&c.animationState&&c.animationState.animateChanges(),u.current&&(u.current=!1,window.HandoffComplete=!0))}),c}function on(e){return typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}function hv(e,t,r){return f.useCallback(n=>{n&&e.mount&&e.mount(n),t&&(n?t.mount(n):t.unmount()),r&&(typeof r=="function"?r(n):on(r)&&(r.current=n))},[t])}function Bn(e){return typeof e=="string"||Array.isArray(e)}function ma(e){return typeof e=="object"&&typeof e.start=="function"}const ii=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],li=["initial",...ii];function ga(e){return ma(e.animate)||li.some(t=>Bn(e[t]))}function qu(e){return!!(ga(e)||e.variants)}function mv(e,t){if(ga(e)){const{initial:r,animate:n}=e;return{initial:r===!1||Bn(r)?r:void 0,animate:Bn(n)?n:void 0}}return e.inherit!==!1?t:{}}function gv(e){const{initial:t,animate:r}=mv(e,f.useContext(fa));return f.useMemo(()=>({initial:t,animate:r}),[Qu(t),Qu(r)])}function Qu(e){return Array.isArray(e)?e.join(" "):e}const Xu={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"]},Kn={};for(const e in Xu)Kn[e]={isEnabled:t=>Xu[e].some(r=>!!t[r])};function vv(e){for(const t in e)Kn[t]={...Kn[t],...e[t]}}const Rn=f.createContext({}),Zu=f.createContext({}),bv=Symbol.for("motionComponentSymbol");function yv({preloadedFeatures:e,createVisualElement:t,useRender:r,useVisualState:n,Component:o}){e&&vv(e);function a(i,l){let c;const u={...f.useContext(Gu),...i,layoutId:xv(i)},{isStatic:d}=u,p=gv(i),h=n(i,d);if(!d&&ha){p.visualElement=pv(o,h,u,t);const g=f.useContext(Zu),v=f.useContext(Hu).strict;p.visualElement&&(c=p.visualElement.loadFeatures(u,v,e,g))}return W.createElement(fa.Provider,{value:p},c&&p.visualElement?W.createElement(c,{visualElement:p.visualElement,...u}):null,r(o,i,hv(h,p.visualElement,l),h,d,p.visualElement))}const s=f.forwardRef(a);return s[bv]=o,s}function xv({layoutId:e}){const t=f.useContext(Rn).id;return t&&e!==void 0?t+"-"+e:e}function wv(e){function t(n,o={}){return yv(e(n,o))}if(typeof Proxy>"u")return t;const r=new Map;return new Proxy(t,{get:(n,o)=>(r.has(o)||r.set(o,t(o)),r.get(o))})}const Cv=["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 ci(e){return typeof e!="string"||e.includes("-")?!1:!!(Cv.indexOf(e)>-1||/[A-Z]/.test(e))}const va={};function Pv(e){Object.assign(va,e)}const Un=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],Pr=new Set(Un);function Ju(e,{layout:t,layoutId:r}){return Pr.has(e)||e.startsWith("origin")||(t||r!==void 0)&&(!!va[e]||e==="opacity")}const Ze=e=>!!(e&&e.getVelocity),Mv={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},Sv=Un.length;function Tv(e,{enableHardwareAcceleration:t=!0,allowTransformNone:r=!0},n,o){let a="";for(let s=0;s<Sv;s++){const i=Un[s];if(e[i]!==void 0){const l=Mv[i]||i;a+=`${l}(${e[i]}) `}}return t&&!e.z&&(a+="translateZ(0)"),a=a.trim(),o?a=o(e,n?"":a):r&&n&&(a="none"),a}const ed=e=>t=>typeof t=="string"&&t.startsWith(e),td=ed("--"),ui=ed("var(--"),Ev=/var\s*\(\s*--[\w-]+(\s*,\s*(?:(?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)+)?\s*\)/g,$v=(e,t)=>t&&typeof e=="number"?t.transform(e):e,er=(e,t,r)=>Math.min(Math.max(r,e),t),Mr={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},Gn={...Mr,transform:e=>er(0,1,e)},ba={...Mr,default:1},Hn=e=>Math.round(e*1e5)/1e5,ya=/(-)?([\d]*\.?[\d])+/g,rd=/(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))/gi,Dv=/^(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))$/i;function Yn(e){return typeof e=="string"}const qn=e=>({test:t=>Yn(t)&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),tr=qn("deg"),$t=qn("%"),ae=qn("px"),kv=qn("vh"),Iv=qn("vw"),nd={...$t,parse:e=>$t.parse(e)/100,transform:e=>$t.transform(e*100)},od={...Mr,transform:Math.round},ad={borderWidth:ae,borderTopWidth:ae,borderRightWidth:ae,borderBottomWidth:ae,borderLeftWidth:ae,borderRadius:ae,radius:ae,borderTopLeftRadius:ae,borderTopRightRadius:ae,borderBottomRightRadius:ae,borderBottomLeftRadius:ae,width:ae,maxWidth:ae,height:ae,maxHeight:ae,size:ae,top:ae,right:ae,bottom:ae,left:ae,padding:ae,paddingTop:ae,paddingRight:ae,paddingBottom:ae,paddingLeft:ae,margin:ae,marginTop:ae,marginRight:ae,marginBottom:ae,marginLeft:ae,rotate:tr,rotateX:tr,rotateY:tr,rotateZ:tr,scale:ba,scaleX:ba,scaleY:ba,scaleZ:ba,skew:tr,skewX:tr,skewY:tr,distance:ae,translateX:ae,translateY:ae,translateZ:ae,x:ae,y:ae,z:ae,perspective:ae,transformPerspective:ae,opacity:Gn,originX:nd,originY:nd,originZ:ae,zIndex:od,fillOpacity:Gn,strokeOpacity:Gn,numOctaves:od};function di(e,t,r,n){const{style:o,vars:a,transform:s,transformOrigin:i}=e;let l=!1,c=!1,u=!0;for(const d in t){const p=t[d];if(td(d)){a[d]=p;continue}const h=ad[d],g=$v(p,h);if(Pr.has(d)){if(l=!0,s[d]=g,!u)continue;p!==(h.default||0)&&(u=!1)}else d.startsWith("origin")?(c=!0,i[d]=g):o[d]=g}if(t.transform||(l||n?o.transform=Tv(e.transform,r,u,n):o.transform&&(o.transform="none")),c){const{originX:d="50%",originY:p="50%",originZ:h=0}=i;o.transformOrigin=`${d} ${p} ${h}`}}const fi=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function sd(e,t,r){for(const n in t)!Ze(t[n])&&!Ju(n,r)&&(e[n]=t[n])}function Av({transformTemplate:e},t,r){return f.useMemo(()=>{const n=fi();return di(n,t,{enableHardwareAcceleration:!r},e),Object.assign({},n.vars,n.style)},[t])}function Nv(e,t,r){const n=e.style||{},o={};return sd(o,n,e),Object.assign(o,Av(e,t,r)),e.transformValues?e.transformValues(o):o}function Ov(e,t,r){const n={},o=Nv(e,t,r);return e.drag&&e.dragListener!==!1&&(n.draggable=!1,o.userSelect=o.WebkitUserSelect=o.WebkitTouchCallout="none",o.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=o,n}const jv=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","transformValues","custom","inherit","onLayoutAnimationStart","onLayoutAnimationComplete","onLayoutMeasure","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","ignoreStrict","viewport"]);function xa(e){return e.startsWith("while")||e.startsWith("drag")&&e!=="draggable"||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||jv.has(e)}let id=e=>!xa(e);function Lv(e){e&&(id=t=>t.startsWith("on")?!xa(t):e(t))}try{Lv(require("@emotion/is-prop-valid").default)}catch{}function _v(e,t,r){const n={};for(const o in e)o==="values"&&typeof e.values=="object"||(id(o)||r===!0&&xa(o)||!t&&!xa(o)||e.draggable&&o.startsWith("onDrag"))&&(n[o]=e[o]);return n}function ld(e,t,r){return typeof e=="string"?e:ae.transform(t+r*e)}function Fv(e,t,r){const n=ld(t,e.x,e.width),o=ld(r,e.y,e.height);return`${n} ${o}`}const Vv={offset:"stroke-dashoffset",array:"stroke-dasharray"},zv={offset:"strokeDashoffset",array:"strokeDasharray"};function Wv(e,t,r=1,n=0,o=!0){e.pathLength=1;const a=o?Vv:zv;e[a.offset]=ae.transform(-n);const s=ae.transform(t),i=ae.transform(r);e[a.array]=`${s} ${i}`}function pi(e,{attrX:t,attrY:r,attrScale:n,originX:o,originY:a,pathLength:s,pathSpacing:i=1,pathOffset:l=0,...c},u,d,p){if(di(e,c,u,p),d){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};const{attrs:h,style:g,dimensions:v}=e;h.transform&&(v&&(g.transform=h.transform),delete h.transform),v&&(o!==void 0||a!==void 0||g.transform)&&(g.transformOrigin=Fv(v,o!==void 0?o:.5,a!==void 0?a:.5)),t!==void 0&&(h.x=t),r!==void 0&&(h.y=r),n!==void 0&&(h.scale=n),s!==void 0&&Wv(h,s,i,l,!1)}const cd=()=>({...fi(),attrs:{}}),hi=e=>typeof e=="string"&&e.toLowerCase()==="svg";function Bv(e,t,r,n){const o=f.useMemo(()=>{const a=cd();return pi(a,t,{enableHardwareAcceleration:!1},hi(n),e.transformTemplate),{...a.attrs,style:{...a.style}}},[t]);if(e.style){const a={};sd(a,e.style,e),o.style={...a,...o.style}}return o}function Kv(e=!1){return(r,n,o,{latestValues:a},s)=>{const l=(ci(r)?Bv:Ov)(n,a,s,r),u={..._v(n,typeof r=="string",e),...l,ref:o},{children:d}=n,p=f.useMemo(()=>Ze(d)?d.get():d,[d]);return f.createElement(r,{...u,children:p})}}function ud(e,{style:t,vars:r},n,o){Object.assign(e.style,t,o&&o.getProjectionStyles(n));for(const a in r)e.style.setProperty(a,r[a])}const dd=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 fd(e,t,r,n){ud(e,t,void 0,n);for(const o in t.attrs)e.setAttribute(dd.has(o)?o:si(o),t.attrs[o])}function mi(e,t){const{style:r}=e,n={};for(const o in r)(Ze(r[o])||t.style&&Ze(t.style[o])||Ju(o,e))&&(n[o]=r[o]);return n}function pd(e,t){const r=mi(e,t);for(const n in e)if(Ze(e[n])||Ze(t[n])){const o=Un.indexOf(n)!==-1?"attr"+n.charAt(0).toUpperCase()+n.substring(1):n;r[o]=e[n]}return r}function gi(e,t,r,n={},o={}){return typeof t=="function"&&(t=t(r!==void 0?r:e.custom,n,o)),typeof t=="string"&&(t=e.variants&&e.variants[t]),typeof t=="function"&&(t=t(r!==void 0?r:e.custom,n,o)),t}function hd(e){const t=f.useRef(null);return t.current===null&&(t.current=e()),t.current}const wa=e=>Array.isArray(e),Rv=e=>!!(e&&typeof e=="object"&&e.mix&&e.toValue),Uv=e=>wa(e)?e[e.length-1]||0:e;function Ca(e){const t=Ze(e)?e.get():e;return Rv(t)?t.toValue():t}function Gv({scrapeMotionValuesFromProps:e,createRenderState:t,onMount:r},n,o,a){const s={latestValues:Hv(n,o,a,e),renderState:t()};return r&&(s.mount=i=>r(n,i,s)),s}const md=e=>(t,r)=>{const n=f.useContext(fa),o=f.useContext(pa),a=()=>Gv(e,t,n,o);return r?a():hd(a)};function Hv(e,t,r,n){const o={},a=n(e,{});for(const p in a)o[p]=Ca(a[p]);let{initial:s,animate:i}=e;const l=ga(e),c=qu(e);t&&c&&!l&&e.inherit!==!1&&(s===void 0&&(s=t.initial),i===void 0&&(i=t.animate));let u=r?r.initial===!1:!1;u=u||s===!1;const d=u?i:s;return d&&typeof d!="boolean"&&!ma(d)&&(Array.isArray(d)?d:[d]).forEach(h=>{const g=gi(e,h);if(!g)return;const{transitionEnd:v,transition:b,...P}=g;for(const x in P){let w=P[x];if(Array.isArray(w)){const T=u?w.length-1:0;w=w[T]}w!==null&&(o[x]=w)}for(const x in v)o[x]=v[x]}),o}const _e=e=>e;class gd{constructor(){this.order=[],this.scheduled=new Set}add(t){if(!this.scheduled.has(t))return this.scheduled.add(t),this.order.push(t),!0}remove(t){const r=this.order.indexOf(t);r!==-1&&(this.order.splice(r,1),this.scheduled.delete(t))}clear(){this.order.length=0,this.scheduled.clear()}}function Yv(e){let t=new gd,r=new gd,n=0,o=!1,a=!1;const s=new WeakSet,i={schedule:(l,c=!1,u=!1)=>{const d=u&&o,p=d?t:r;return c&&s.add(l),p.add(l)&&d&&o&&(n=t.order.length),l},cancel:l=>{r.remove(l),s.delete(l)},process:l=>{if(o){a=!0;return}if(o=!0,[t,r]=[r,t],r.clear(),n=t.order.length,n)for(let c=0;c<n;c++){const u=t.order[c];u(l),s.has(u)&&(i.schedule(u),e())}o=!1,a&&(a=!1,i.process(l))}};return i}const Pa=["prepare","read","update","preRender","render","postRender"],qv=40;function Qv(e,t){let r=!1,n=!0;const o={delta:0,timestamp:0,isProcessing:!1},a=Pa.reduce((d,p)=>(d[p]=Yv(()=>r=!0),d),{}),s=d=>a[d].process(o),i=()=>{const d=performance.now();r=!1,o.delta=n?1e3/60:Math.max(Math.min(d-o.timestamp,qv),1),o.timestamp=d,o.isProcessing=!0,Pa.forEach(s),o.isProcessing=!1,r&&t&&(n=!1,e(i))},l=()=>{r=!0,n=!0,o.isProcessing||e(i)};return{schedule:Pa.reduce((d,p)=>{const h=a[p];return d[p]=(g,v=!1,b=!1)=>(r||l(),h.schedule(g,v,b)),d},{}),cancel:d=>Pa.forEach(p=>a[p].cancel(d)),state:o,steps:a}}const{schedule:Ee,cancel:Ft,state:Ke,steps:vi}=Qv(typeof requestAnimationFrame<"u"?requestAnimationFrame:_e,!0),Xv={useVisualState:md({scrapeMotionValuesFromProps:pd,createRenderState:cd,onMount:(e,t,{renderState:r,latestValues:n})=>{Ee.read(()=>{try{r.dimensions=typeof t.getBBox=="function"?t.getBBox():t.getBoundingClientRect()}catch{r.dimensions={x:0,y:0,width:0,height:0}}}),Ee.render(()=>{pi(r,n,{enableHardwareAcceleration:!1},hi(t.tagName),e.transformTemplate),fd(t,r)})}})},Zv={useVisualState:md({scrapeMotionValuesFromProps:mi,createRenderState:fi})};function Jv(e,{forwardMotionProps:t=!1},r,n){return{...ci(e)?Xv:Zv,preloadedFeatures:r,useRender:Kv(t),createVisualElement:n,Component:e}}function Vt(e,t,r,n={passive:!0}){return e.addEventListener(t,r,n),()=>e.removeEventListener(t,r)}const vd=e=>e.pointerType==="mouse"?typeof e.button!="number"||e.button<=0:e.isPrimary!==!1;function Ma(e,t="page"){return{point:{x:e[t+"X"],y:e[t+"Y"]}}}const e2=e=>t=>vd(t)&&e(t,Ma(t));function zt(e,t,r,n){return Vt(e,t,e2(r),n)}const t2=(e,t)=>r=>t(e(r)),rr=(...e)=>e.reduce(t2);function bd(e){let t=null;return()=>{const r=()=>{t=null};return t===null?(t=e,r):!1}}const yd=bd("dragHorizontal"),xd=bd("dragVertical");function wd(e){let t=!1;if(e==="y")t=xd();else if(e==="x")t=yd();else{const r=yd(),n=xd();r&&n?t=()=>{r(),n()}:(r&&r(),n&&n())}return t}function Cd(){const e=wd(!0);return e?(e(),!1):!0}class nr{constructor(t){this.isMounted=!1,this.node=t}update(){}}function Pd(e,t){const r="pointer"+(t?"enter":"leave"),n="onHover"+(t?"Start":"End"),o=(a,s)=>{if(a.type==="touch"||Cd())return;const i=e.getProps();e.animationState&&i.whileHover&&e.animationState.setActive("whileHover",t),i[n]&&Ee.update(()=>i[n](a,s))};return zt(e.current,r,o,{passive:!e.getProps()[n]})}class r2 extends nr{mount(){this.unmount=rr(Pd(this.node,!0),Pd(this.node,!1))}unmount(){}}class n2 extends nr{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=rr(Vt(this.node.current,"focus",()=>this.onFocus()),Vt(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}const Md=(e,t)=>t?e===t?!0:Md(e,t.parentElement):!1;function bi(e,t){if(!t)return;const r=new PointerEvent("pointer"+e);t(r,Ma(r))}class o2 extends nr{constructor(){super(...arguments),this.removeStartListeners=_e,this.removeEndListeners=_e,this.removeAccessibleListeners=_e,this.startPointerPress=(t,r)=>{if(this.removeEndListeners(),this.isPressing)return;const n=this.node.getProps(),a=zt(window,"pointerup",(i,l)=>{if(!this.checkPressEnd())return;const{onTap:c,onTapCancel:u}=this.node.getProps();Ee.update(()=>{Md(this.node.current,i.target)?c&&c(i,l):u&&u(i,l)})},{passive:!(n.onTap||n.onPointerUp)}),s=zt(window,"pointercancel",(i,l)=>this.cancelPress(i,l),{passive:!(n.onTapCancel||n.onPointerCancel)});this.removeEndListeners=rr(a,s),this.startPress(t,r)},this.startAccessiblePress=()=>{const t=a=>{if(a.key!=="Enter"||this.isPressing)return;const s=i=>{i.key!=="Enter"||!this.checkPressEnd()||bi("up",(l,c)=>{const{onTap:u}=this.node.getProps();u&&Ee.update(()=>u(l,c))})};this.removeEndListeners(),this.removeEndListeners=Vt(this.node.current,"keyup",s),bi("down",(i,l)=>{this.startPress(i,l)})},r=Vt(this.node.current,"keydown",t),n=()=>{this.isPressing&&bi("cancel",(a,s)=>this.cancelPress(a,s))},o=Vt(this.node.current,"blur",n);this.removeAccessibleListeners=rr(r,o)}}startPress(t,r){this.isPressing=!0;const{onTapStart:n,whileTap:o}=this.node.getProps();o&&this.node.animationState&&this.node.animationState.setActive("whileTap",!0),n&&Ee.update(()=>n(t,r))}checkPressEnd(){return this.removeEndListeners(),this.isPressing=!1,this.node.getProps().whileTap&&this.node.animationState&&this.node.animationState.setActive("whileTap",!1),!Cd()}cancelPress(t,r){if(!this.checkPressEnd())return;const{onTapCancel:n}=this.node.getProps();n&&Ee.update(()=>n(t,r))}mount(){const t=this.node.getProps(),r=zt(this.node.current,"pointerdown",this.startPointerPress,{passive:!(t.onTapStart||t.onPointerStart)}),n=Vt(this.node.current,"focus",this.startAccessiblePress);this.removeStartListeners=rr(r,n)}unmount(){this.removeStartListeners(),this.removeEndListeners(),this.removeAccessibleListeners()}}const yi=new WeakMap,xi=new WeakMap,a2=e=>{const t=yi.get(e.target);t&&t(e)},s2=e=>{e.forEach(a2)};function i2({root:e,...t}){const r=e||document;xi.has(r)||xi.set(r,{});const n=xi.get(r),o=JSON.stringify(t);return n[o]||(n[o]=new IntersectionObserver(s2,{root:e,...t})),n[o]}function l2(e,t,r){const n=i2(t);return yi.set(e,r),n.observe(e),()=>{yi.delete(e),n.unobserve(e)}}const c2={some:0,all:1};class u2 extends nr{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:t={}}=this.node.getProps(),{root:r,margin:n,amount:o="some",once:a}=t,s={root:r?r.current:void 0,rootMargin:n,threshold:typeof o=="number"?o:c2[o]},i=l=>{const{isIntersecting:c}=l;if(this.isInView===c||(this.isInView=c,a&&!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(),p=c?u:d;p&&p(l)};return l2(this.node.current,s,i)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:t,prevProps:r}=this.node;["amount","margin","root"].some(d2(t,r))&&this.startObserver()}unmount(){}}function d2({viewport:e={}},{viewport:t={}}={}){return r=>e[r]!==t[r]}const f2={inView:{Feature:u2},tap:{Feature:o2},focus:{Feature:n2},hover:{Feature:r2}};function Sd(e,t){if(!Array.isArray(t))return!1;const r=t.length;if(r!==e.length)return!1;for(let n=0;n<r;n++)if(t[n]!==e[n])return!1;return!0}function p2(e){const t={};return e.values.forEach((r,n)=>t[n]=r.get()),t}function h2(e){const t={};return e.values.forEach((r,n)=>t[n]=r.getVelocity()),t}function Sa(e,t,r){const n=e.getProps();return gi(n,t,r!==void 0?r:n.custom,p2(e),h2(e))}let Qn=_e,xt=_e;process.env.NODE_ENV!=="production"&&(Qn=(e,t)=>{!e&&typeof console<"u"&&console.warn(t)},xt=(e,t)=>{if(!e)throw new Error(t)});const or=e=>e*1e3,Wt=e=>e/1e3,m2={current:!1},Td=e=>Array.isArray(e)&&typeof e[0]=="number";function Ed(e){return!!(!e||typeof e=="string"&&$d[e]||Td(e)||Array.isArray(e)&&e.every(Ed))}const Xn=([e,t,r,n])=>`cubic-bezier(${e}, ${t}, ${r}, ${n})`,$d={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:Xn([0,.65,.55,1]),circOut:Xn([.55,0,1,.45]),backIn:Xn([.31,.01,.66,-.59]),backOut:Xn([.33,1.53,.69,.99])};function Dd(e){if(e)return Td(e)?Xn(e):Array.isArray(e)?e.map(Dd):$d[e]}function g2(e,t,r,{delay:n=0,duration:o,repeat:a=0,repeatType:s="loop",ease:i,times:l}={}){const c={[t]:r};l&&(c.offset=l);const u=Dd(i);return Array.isArray(u)&&(c.easing=u),e.animate(c,{delay:n,duration:o,easing:Array.isArray(u)?"linear":u,fill:"both",iterations:a+1,direction:s==="reverse"?"alternate":"normal"})}function v2(e,{repeat:t,repeatType:r="loop"}){const n=t&&r!=="loop"&&t%2===1?0:e.length-1;return e[n]}const kd=(e,t,r)=>(((1-3*r+3*t)*e+(3*r-6*t))*e+3*t)*e,b2=1e-7,y2=12;function x2(e,t,r,n,o){let a,s,i=0;do s=t+(r-t)/2,a=kd(s,n,o)-e,a>0?r=s:t=s;while(Math.abs(a)>b2&&++i<y2);return s}function Zn(e,t,r,n){if(e===t&&r===n)return _e;const o=a=>x2(a,0,1,e,r);return a=>a===0||a===1?a:kd(o(a),t,n)}const w2=Zn(.42,0,1,1),C2=Zn(0,0,.58,1),Id=Zn(.42,0,.58,1),P2=e=>Array.isArray(e)&&typeof e[0]!="number",Ad=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,Nd=e=>t=>1-e(1-t),wi=e=>1-Math.sin(Math.acos(e)),Od=Nd(wi),M2=Ad(wi),jd=Zn(.33,1.53,.69,.99),Ci=Nd(jd),S2=Ad(Ci),Ld={linear:_e,easeIn:w2,easeInOut:Id,easeOut:C2,circIn:wi,circInOut:M2,circOut:Od,backIn:Ci,backInOut:S2,backOut:jd,anticipate:e=>(e*=2)<1?.5*Ci(e):.5*(2-Math.pow(2,-10*(e-1)))},_d=e=>{if(Array.isArray(e)){xt(e.length===4,"Cubic bezier arrays must contain four numerical values.");const[t,r,n,o]=e;return Zn(t,r,n,o)}else if(typeof e=="string")return xt(Ld[e]!==void 0,`Invalid easing type '${e}'`),Ld[e];return e},Pi=(e,t)=>r=>!!(Yn(r)&&Dv.test(r)&&r.startsWith(e)||t&&Object.prototype.hasOwnProperty.call(r,t)),Fd=(e,t,r)=>n=>{if(!Yn(n))return n;const[o,a,s,i]=n.match(ya);return{[e]:parseFloat(o),[t]:parseFloat(a),[r]:parseFloat(s),alpha:i!==void 0?parseFloat(i):1}},T2=e=>er(0,255,e),Mi={...Mr,transform:e=>Math.round(T2(e))},Sr={test:Pi("rgb","red"),parse:Fd("red","green","blue"),transform:({red:e,green:t,blue:r,alpha:n=1})=>"rgba("+Mi.transform(e)+", "+Mi.transform(t)+", "+Mi.transform(r)+", "+Hn(Gn.transform(n))+")"};function E2(e){let t="",r="",n="",o="";return e.length>5?(t=e.substring(1,3),r=e.substring(3,5),n=e.substring(5,7),o=e.substring(7,9)):(t=e.substring(1,2),r=e.substring(2,3),n=e.substring(3,4),o=e.substring(4,5),t+=t,r+=r,n+=n,o+=o),{red:parseInt(t,16),green:parseInt(r,16),blue:parseInt(n,16),alpha:o?parseInt(o,16)/255:1}}const Si={test:Pi("#"),parse:E2,transform:Sr.transform},an={test:Pi("hsl","hue"),parse:Fd("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:r,alpha:n=1})=>"hsla("+Math.round(e)+", "+$t.transform(Hn(t))+", "+$t.transform(Hn(r))+", "+Hn(Gn.transform(n))+")"},He={test:e=>Sr.test(e)||Si.test(e)||an.test(e),parse:e=>Sr.test(e)?Sr.parse(e):an.test(e)?an.parse(e):Si.parse(e),transform:e=>Yn(e)?e:e.hasOwnProperty("red")?Sr.transform(e):an.transform(e)},Le=(e,t,r)=>-r*e+r*t+e;function Ti(e,t,r){return r<0&&(r+=1),r>1&&(r-=1),r<1/6?e+(t-e)*6*r:r<1/2?t:r<2/3?e+(t-e)*(2/3-r)*6:e}function $2({hue:e,saturation:t,lightness:r,alpha:n}){e/=360,t/=100,r/=100;let o=0,a=0,s=0;if(!t)o=a=s=r;else{const i=r<.5?r*(1+t):r+t-r*t,l=2*r-i;o=Ti(l,i,e+1/3),a=Ti(l,i,e),s=Ti(l,i,e-1/3)}return{red:Math.round(o*255),green:Math.round(a*255),blue:Math.round(s*255),alpha:n}}const Ei=(e,t,r)=>{const n=e*e;return Math.sqrt(Math.max(0,r*(t*t-n)+n))},D2=[Si,Sr,an],k2=e=>D2.find(t=>t.test(e));function Vd(e){const t=k2(e);xt(!!t,`'${e}' is not an animatable color. Use the equivalent color code instead.`);let r=t.parse(e);return t===an&&(r=$2(r)),r}const zd=(e,t)=>{const r=Vd(e),n=Vd(t),o={...r};return a=>(o.red=Ei(r.red,n.red,a),o.green=Ei(r.green,n.green,a),o.blue=Ei(r.blue,n.blue,a),o.alpha=Le(r.alpha,n.alpha,a),Sr.transform(o))};function I2(e){var t,r;return isNaN(e)&&Yn(e)&&(((t=e.match(ya))===null||t===void 0?void 0:t.length)||0)+(((r=e.match(rd))===null||r===void 0?void 0:r.length)||0)>0}const Wd={regex:Ev,countKey:"Vars",token:"${v}",parse:_e},Bd={regex:rd,countKey:"Colors",token:"${c}",parse:He.parse},Kd={regex:ya,countKey:"Numbers",token:"${n}",parse:Mr.parse};function $i(e,{regex:t,countKey:r,token:n,parse:o}){const a=e.tokenised.match(t);a&&(e["num"+r]=a.length,e.tokenised=e.tokenised.replace(t,n),e.values.push(...a.map(o)))}function Ta(e){const t=e.toString(),r={value:t,tokenised:t,values:[],numVars:0,numColors:0,numNumbers:0};return r.value.includes("var(--")&&$i(r,Wd),$i(r,Bd),$i(r,Kd),r}function Rd(e){return Ta(e).values}function Ud(e){const{values:t,numColors:r,numVars:n,tokenised:o}=Ta(e),a=t.length;return s=>{let i=o;for(let l=0;l<a;l++)l<n?i=i.replace(Wd.token,s[l]):l<n+r?i=i.replace(Bd.token,He.transform(s[l])):i=i.replace(Kd.token,Hn(s[l]));return i}}const A2=e=>typeof e=="number"?0:e;function N2(e){const t=Rd(e);return Ud(e)(t.map(A2))}const ar={test:I2,parse:Rd,createTransformer:Ud,getAnimatableNone:N2},Gd=(e,t)=>r=>`${r>0?t:e}`;function Hd(e,t){return typeof e=="number"?r=>Le(e,t,r):He.test(e)?zd(e,t):e.startsWith("var(")?Gd(e,t):qd(e,t)}const Yd=(e,t)=>{const r=[...e],n=r.length,o=e.map((a,s)=>Hd(a,t[s]));return a=>{for(let s=0;s<n;s++)r[s]=o[s](a);return r}},O2=(e,t)=>{const r={...e,...t},n={};for(const o in r)e[o]!==void 0&&t[o]!==void 0&&(n[o]=Hd(e[o],t[o]));return o=>{for(const a in n)r[a]=n[a](o);return r}},qd=(e,t)=>{const r=ar.createTransformer(t),n=Ta(e),o=Ta(t);return n.numVars===o.numVars&&n.numColors===o.numColors&&n.numNumbers>=o.numNumbers?rr(Yd(n.values,o.values),r):(Qn(!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.`),Gd(e,t))},Jn=(e,t,r)=>{const n=t-e;return n===0?1:(r-e)/n},Qd=(e,t)=>r=>Le(e,t,r);function j2(e){return typeof e=="number"?Qd:typeof e=="string"?He.test(e)?zd:qd:Array.isArray(e)?Yd:typeof e=="object"?O2:Qd}function L2(e,t,r){const n=[],o=r||j2(e[0]),a=e.length-1;for(let s=0;s<a;s++){let i=o(e[s],e[s+1]);if(t){const l=Array.isArray(t)?t[s]||_e:t;i=rr(l,i)}n.push(i)}return n}function Xd(e,t,{clamp:r=!0,ease:n,mixer:o}={}){const a=e.length;if(xt(a===t.length,"Both input and output ranges must be the same length"),a===1)return()=>t[0];e[0]>e[a-1]&&(e=[...e].reverse(),t=[...t].reverse());const s=L2(t,n,o),i=s.length,l=c=>{let u=0;if(i>1)for(;u<e.length-2&&!(c<e[u+1]);u++);const d=Jn(e[u],e[u+1],c);return s[u](d)};return r?c=>l(er(e[0],e[a-1],c)):l}function _2(e,t){const r=e[e.length-1];for(let n=1;n<=t;n++){const o=Jn(0,t,n);e.push(Le(r,1,o))}}function F2(e){const t=[0];return _2(t,e.length-1),t}function V2(e,t){return e.map(r=>r*t)}function z2(e,t){return e.map(()=>t||Id).splice(0,e.length-1)}function Ea({duration:e=300,keyframes:t,times:r,ease:n="easeInOut"}){const o=P2(n)?n.map(_d):_d(n),a={done:!1,value:t[0]},s=V2(r&&r.length===t.length?r:F2(t),e),i=Xd(s,t,{ease:Array.isArray(o)?o:z2(t,o)});return{calculatedDuration:e,next:l=>(a.value=i(l),a.done=l>=e,a)}}function Zd(e,t){return t?e*(1e3/t):0}const W2=5;function Jd(e,t,r){const n=Math.max(t-W2,0);return Zd(r-e(n),t-n)}const Di=.001,B2=.01,ef=10,K2=.05,R2=1;function U2({duration:e=800,bounce:t=.25,velocity:r=0,mass:n=1}){let o,a;Qn(e<=or(ef),"Spring duration must be 10 seconds or less");let s=1-t;s=er(K2,R2,s),e=er(B2,ef,Wt(e)),s<1?(o=c=>{const u=c*s,d=u*e,p=u-r,h=ki(c,s),g=Math.exp(-d);return Di-p/h*g},a=c=>{const d=c*s*e,p=d*r+r,h=Math.pow(s,2)*Math.pow(c,2)*e,g=Math.exp(-d),v=ki(Math.pow(c,2),s);return(-o(c)+Di>0?-1:1)*((p-h)*g)/v}):(o=c=>{const u=Math.exp(-c*e),d=(c-r)*e+1;return-Di+u*d},a=c=>{const u=Math.exp(-c*e),d=(r-c)*(e*e);return u*d});const i=5/e,l=H2(o,a,i);if(e=or(e),isNaN(l))return{stiffness:100,damping:10,duration:e};{const c=Math.pow(l,2)*n;return{stiffness:c,damping:s*2*Math.sqrt(n*c),duration:e}}}const G2=12;function H2(e,t,r){let n=r;for(let o=1;o<G2;o++)n=n-e(n)/t(n);return n}function ki(e,t){return e*Math.sqrt(1-t*t)}const Y2=["duration","bounce"],q2=["stiffness","damping","mass"];function tf(e,t){return t.some(r=>e[r]!==void 0)}function Q2(e){let t={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...e};if(!tf(e,q2)&&tf(e,Y2)){const r=U2(e);t={...t,...r,velocity:0,mass:1},t.isResolvedFromDuration=!0}return t}function rf({keyframes:e,restDelta:t,restSpeed:r,...n}){const o=e[0],a=e[e.length-1],s={done:!1,value:o},{stiffness:i,damping:l,mass:c,velocity:u,duration:d,isResolvedFromDuration:p}=Q2(n),h=u?-Wt(u):0,g=l/(2*Math.sqrt(i*c)),v=a-o,b=Wt(Math.sqrt(i/c)),P=Math.abs(v)<5;r||(r=P?.01:2),t||(t=P?.005:.5);let x;if(g<1){const w=ki(b,g);x=T=>{const $=Math.exp(-g*b*T);return a-$*((h+g*b*v)/w*Math.sin(w*T)+v*Math.cos(w*T))}}else if(g===1)x=w=>a-Math.exp(-b*w)*(v+(h+b*v)*w);else{const w=b*Math.sqrt(g*g-1);x=T=>{const $=Math.exp(-g*b*T),E=Math.min(w*T,300);return a-$*((h+g*b*v)*Math.sinh(E)+w*v*Math.cosh(E))/w}}return{calculatedDuration:p&&d||null,next:w=>{const T=x(w);if(p)s.done=w>=d;else{let $=h;w!==0&&(g<1?$=Jd(x,w,T):$=0);const E=Math.abs($)<=r,A=Math.abs(a-T)<=t;s.done=E&&A}return s.value=s.done?a:T,s}}}function nf({keyframes:e,velocity:t=0,power:r=.8,timeConstant:n=325,bounceDamping:o=10,bounceStiffness:a=500,modifyTarget:s,min:i,max:l,restDelta:c=.5,restSpeed:u}){const d=e[0],p={done:!1,value:d},h=m=>i!==void 0&&m<i||l!==void 0&&m>l,g=m=>i===void 0?l:l===void 0||Math.abs(i-m)<Math.abs(l-m)?i:l;let v=r*t;const b=d+v,P=s===void 0?b:s(b);P!==b&&(v=P-d);const x=m=>-v*Math.exp(-m/n),w=m=>P+x(m),T=m=>{const k=x(m),I=w(m);p.done=Math.abs(k)<=c,p.value=p.done?P:I};let $,E;const A=m=>{h(p.value)&&($=m,E=rf({keyframes:[p.value,g(p.value)],velocity:Jd(w,m,p.value),damping:o,stiffness:a,restDelta:c,restSpeed:u}))};return A(0),{calculatedDuration:null,next:m=>{let k=!1;return!E&&$===void 0&&(k=!0,T(m),A(m)),$!==void 0&&m>$?E.next(m-$):(!k&&T(m),p)}}}const X2=e=>{const t=({timestamp:r})=>e(r);return{start:()=>Ee.update(t,!0),stop:()=>Ft(t),now:()=>Ke.isProcessing?Ke.timestamp:performance.now()}},of=2e4;function af(e){let t=0;const r=50;let n=e.next(t);for(;!n.done&&t<of;)t+=r,n=e.next(t);return t>=of?1/0:t}const Z2={decay:nf,inertia:nf,tween:Ea,keyframes:Ea,spring:rf};function $a({autoplay:e=!0,delay:t=0,driver:r=X2,keyframes:n,type:o="keyframes",repeat:a=0,repeatDelay:s=0,repeatType:i="loop",onPlay:l,onStop:c,onComplete:u,onUpdate:d,...p}){let h=1,g=!1,v,b;const P=()=>{b=new Promise(U=>{v=U})};P();let x;const w=Z2[o]||Ea;let T;w!==Ea&&typeof n[0]!="number"&&(T=Xd([0,100],n,{clamp:!1}),n=[0,100]);const $=w({...p,keyframes:n});let E;i==="mirror"&&(E=w({...p,keyframes:[...n].reverse(),velocity:-(p.velocity||0)}));let A="idle",m=null,k=null,I=null;$.calculatedDuration===null&&a&&($.calculatedDuration=af($));const{calculatedDuration:S}=$;let N=1/0,C=1/0;S!==null&&(N=S+s,C=N*(a+1)-s);let M=0;const O=U=>{if(k===null)return;h>0&&(k=Math.min(k,U)),h<0&&(k=Math.min(U-C/h,k)),m!==null?M=m:M=Math.round(U-k)*h;const F=M-t*(h>=0?1:-1),B=h>=0?F<0:F>C;M=Math.max(F,0),A==="finished"&&m===null&&(M=C);let q=M,K=$;if(a){const ce=M/N;let ue=Math.floor(ce),ge=ce%1;!ge&&ce>=1&&(ge=1),ge===1&&ue--,ue=Math.min(ue,a+1);const Se=!!(ue%2);Se&&(i==="reverse"?(ge=1-ge,s&&(ge-=s/N)):i==="mirror"&&(K=E));let Te=er(0,1,ge);M>C&&(Te=i==="reverse"&&Se?1:0),q=Te*N}const Q=B?{done:!1,value:n[0]}:K.next(q);T&&(Q.value=T(Q.value));let{done:ne}=Q;!B&&S!==null&&(ne=h>=0?M>=C:M<=0);const le=m===null&&(A==="finished"||A==="running"&&ne);return d&&d(Q.value),le&&z(),Q},_=()=>{x&&x.stop(),x=void 0},D=()=>{A="idle",_(),v(),P(),k=I=null},z=()=>{A="finished",u&&u(),_(),v()},X=()=>{if(g)return;x||(x=r(O));const U=x.now();l&&l(),m!==null?k=U-m:(!k||A==="finished")&&(k=U),A==="finished"&&P(),I=k,m=null,A="running",x.start()};e&&X();const G={then(U,F){return b.then(U,F)},get time(){return Wt(M)},set time(U){U=or(U),M=U,m!==null||!x||h===0?m=U:k=x.now()-U/h},get duration(){const U=$.calculatedDuration===null?af($):$.calculatedDuration;return Wt(U)},get speed(){return h},set speed(U){U===h||!x||(h=U,G.time=Wt(M))},get state(){return A},play:X,pause:()=>{A="paused",m=M},stop:()=>{g=!0,A!=="idle"&&(A="idle",c&&c(),D())},cancel:()=>{I!==null&&O(I),D()},complete:()=>{A="finished"},sample:U=>(k=0,O(U))};return G}function J2(e){let t;return()=>(t===void 0&&(t=e()),t)}const eb=J2(()=>Object.hasOwnProperty.call(Element.prototype,"animate")),tb=new Set(["opacity","clipPath","filter","transform","backgroundColor"]),Da=10,rb=2e4,nb=(e,t)=>t.type==="spring"||e==="backgroundColor"||!Ed(t.ease);function ob(e,t,{onUpdate:r,onComplete:n,...o}){if(!(eb()&&tb.has(t)&&!o.repeatDelay&&o.repeatType!=="mirror"&&o.damping!==0&&o.type!=="inertia"))return!1;let s=!1,i,l;const c=()=>{l=new Promise(x=>{i=x})};c();let{keyframes:u,duration:d=300,ease:p,times:h}=o;if(nb(t,o)){const x=$a({...o,repeat:0,delay:0});let w={done:!1,value:u[0]};const T=[];let $=0;for(;!w.done&&$<rb;)w=x.sample($),T.push(w.value),$+=Da;h=void 0,u=T,d=$-Da,p="linear"}const g=g2(e.owner.current,t,u,{...o,duration:d,ease:p,times:h}),v=()=>g.cancel(),b=()=>{Ee.update(v),i(),c()};return g.onfinish=()=>{e.set(v2(u,o)),n&&n(),b()},{then(x,w){return l.then(x,w)},attachTimeline(x){return g.timeline=x,g.onfinish=null,_e},get time(){return Wt(g.currentTime||0)},set time(x){g.currentTime=or(x)},get speed(){return g.playbackRate},set speed(x){g.playbackRate=x},get duration(){return Wt(d)},play:()=>{s||(g.play(),Ft(v))},pause:()=>g.pause(),stop:()=>{if(s=!0,g.playState==="idle")return;const{currentTime:x}=g;if(x){const w=$a({...o,autoplay:!1});e.setWithVelocity(w.sample(x-Da).value,w.sample(x).value,Da)}b()},complete:()=>g.finish(),cancel:b}}function ab({keyframes:e,delay:t,onUpdate:r,onComplete:n}){const o=()=>(r&&r(e[e.length-1]),n&&n(),{time:0,speed:1,duration:0,play:_e,pause:_e,stop:_e,then:a=>(a(),Promise.resolve()),cancel:_e,complete:_e});return t?$a({keyframes:[0,1],duration:0,delay:t,onComplete:o}):o()}const sb={type:"spring",stiffness:500,damping:25,restSpeed:10},ib=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),lb={type:"keyframes",duration:.8},cb={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},ub=(e,{keyframes:t})=>t.length>2?lb:Pr.has(e)?e.startsWith("scale")?ib(t[1]):sb:cb,Ii=(e,t)=>e==="zIndex"?!1:!!(typeof t=="number"||Array.isArray(t)||typeof t=="string"&&(ar.test(t)||t==="0")&&!t.startsWith("url(")),db=new Set(["brightness","contrast","saturate","opacity"]);function fb(e){const[t,r]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;const[n]=r.match(ya)||[];if(!n)return e;const o=r.replace(n,"");let a=db.has(t)?1:0;return n!==r&&(a*=100),t+"("+a+o+")"}const pb=/([a-z-]*)\(.*?\)/g,Ai={...ar,getAnimatableNone:e=>{const t=e.match(pb);return t?t.map(fb).join(" "):e}},hb={...ad,color:He,backgroundColor:He,outlineColor:He,fill:He,stroke:He,borderColor:He,borderTopColor:He,borderRightColor:He,borderBottomColor:He,borderLeftColor:He,filter:Ai,WebkitFilter:Ai},Ni=e=>hb[e];function sf(e,t){let r=Ni(e);return r!==Ai&&(r=ar),r.getAnimatableNone?r.getAnimatableNone(t):void 0}const lf=e=>/^0[^.\s]+$/.test(e);function mb(e){if(typeof e=="number")return e===0;if(e!==null)return e==="none"||e==="0"||lf(e)}function gb(e,t,r,n){const o=Ii(t,r);let a;Array.isArray(r)?a=[...r]:a=[null,r];const s=n.from!==void 0?n.from:e.get();let i;const l=[];for(let c=0;c<a.length;c++)a[c]===null&&(a[c]=c===0?s:a[c-1]),mb(a[c])&&l.push(c),typeof a[c]=="string"&&a[c]!=="none"&&a[c]!=="0"&&(i=a[c]);if(o&&l.length&&i)for(let c=0;c<l.length;c++){const u=l[c];a[u]=sf(t,i)}return a}function vb({when:e,delay:t,delayChildren:r,staggerChildren:n,staggerDirection:o,repeat:a,repeatType:s,repeatDelay:i,from:l,elapsed:c,...u}){return!!Object.keys(u).length}function Oi(e,t){return e[t]||e.default||e}const ji=(e,t,r,n={})=>o=>{const a=Oi(n,e)||{},s=a.delay||n.delay||0;let{elapsed:i=0}=n;i=i-or(s);const l=gb(t,e,r,a),c=l[0],u=l[l.length-1],d=Ii(e,c),p=Ii(e,u);Qn(d===p,`You are trying to animate ${e} from "${c}" to "${u}". ${c} is not an animatable value - to enable this animation set ${c} to a value animatable to ${u} via the \`style\` property.`);let h={keyframes:l,velocity:t.getVelocity(),ease:"easeOut",...a,delay:-i,onUpdate:g=>{t.set(g),a.onUpdate&&a.onUpdate(g)},onComplete:()=>{o(),a.onComplete&&a.onComplete()}};if(vb(a)||(h={...h,...ub(e,h)}),h.duration&&(h.duration=or(h.duration)),h.repeatDelay&&(h.repeatDelay=or(h.repeatDelay)),!d||!p||m2.current||a.type===!1)return ab(h);if(!n.isHandoff&&t.owner&&t.owner.current instanceof HTMLElement&&!t.owner.getProps().onUpdate){const g=ob(t,e,h);if(g)return g}return $a(h)};function ka(e){return!!(Ze(e)&&e.add)}const cf=e=>/^\-?\d*\.?\d+$/.test(e);function Li(e,t){e.indexOf(t)===-1&&e.push(t)}function _i(e,t){const r=e.indexOf(t);r>-1&&e.splice(r,1)}class Fi{constructor(){this.subscriptions=[]}add(t){return Li(this.subscriptions,t),()=>_i(this.subscriptions,t)}notify(t,r,n){const o=this.subscriptions.length;if(o)if(o===1)this.subscriptions[0](t,r,n);else for(let a=0;a<o;a++){const s=this.subscriptions[a];s&&s(t,r,n)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const uf=new Set;function Vi(e,t,r){e||uf.has(t)||(console.warn(t),r&&console.warn(r),uf.add(t))}const bb=e=>!isNaN(parseFloat(e));class yb{constructor(t,r={}){this.version="10.16.16",this.timeDelta=0,this.lastUpdated=0,this.canTrackVelocity=!1,this.events={},this.updateAndNotify=(n,o=!0)=>{this.prev=this.current,this.current=n;const{delta:a,timestamp:s}=Ke;this.lastUpdated!==s&&(this.timeDelta=a,this.lastUpdated=s,Ee.postRender(this.scheduleVelocityCheck)),this.prev!==this.current&&this.events.change&&this.events.change.notify(this.current),this.events.velocityChange&&this.events.velocityChange.notify(this.getVelocity()),o&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.scheduleVelocityCheck=()=>Ee.postRender(this.velocityCheck),this.velocityCheck=({timestamp:n})=>{n!==this.lastUpdated&&(this.prev=this.current,this.events.velocityChange&&this.events.velocityChange.notify(this.getVelocity()))},this.hasAnimated=!1,this.prev=this.current=t,this.canTrackVelocity=bb(this.current),this.owner=r.owner}onChange(t){return process.env.NODE_ENV!=="production"&&Vi(!1,'value.onChange(callback) is deprecated. Switch to value.on("change", callback).'),this.on("change",t)}on(t,r){this.events[t]||(this.events[t]=new Fi);const n=this.events[t].add(r);return t==="change"?()=>{n(),Ee.read(()=>{this.events.change.getSize()||this.stop()})}:n}clearListeners(){for(const t in this.events)this.events[t].clear()}attach(t,r){this.passiveEffect=t,this.stopPassiveEffect=r}set(t,r=!0){!r||!this.passiveEffect?this.updateAndNotify(t,r):this.passiveEffect(t,this.updateAndNotify)}setWithVelocity(t,r,n){this.set(r),this.prev=t,this.timeDelta=n}jump(t){this.updateAndNotify(t),this.prev=t,this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return this.current}getPrevious(){return this.prev}getVelocity(){return this.canTrackVelocity?Zd(parseFloat(this.current)-parseFloat(this.prev),this.timeDelta):0}start(t){return this.stop(),new Promise(r=>{this.hasAnimated=!0,this.animation=t(r),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 sn(e,t){return new yb(e,t)}const df=e=>t=>t.test(e),ff=[Mr,ae,$t,tr,Iv,kv,{test:e=>e==="auto",parse:e=>e}],eo=e=>ff.find(df(e)),xb=[...ff,He,ar],wb=e=>xb.find(df(e));function Cb(e,t,r){e.hasValue(t)?e.getValue(t).set(r):e.addValue(t,sn(r))}function Pb(e,t){const r=Sa(e,t);let{transitionEnd:n={},transition:o={},...a}=r?e.makeTargetAnimatable(r,!1):{};a={...a,...n};for(const s in a){const i=Uv(a[s]);Cb(e,s,i)}}function Mb(e,t,r){var n,o;const a=Object.keys(t).filter(i=>!e.hasValue(i)),s=a.length;if(s)for(let i=0;i<s;i++){const l=a[i],c=t[l];let u=null;Array.isArray(c)&&(u=c[0]),u===null&&(u=(o=(n=r[l])!==null&&n!==void 0?n:e.readValue(l))!==null&&o!==void 0?o:t[l]),u!=null&&(typeof u=="string"&&(cf(u)||lf(u))?u=parseFloat(u):!wb(u)&&ar.test(c)&&(u=sf(l,c)),e.addValue(l,sn(u,{owner:e})),r[l]===void 0&&(r[l]=u),u!==null&&e.setBaseTarget(l,u))}}function Sb(e,t){return t?(t[e]||t.default||t).from:void 0}function Tb(e,t,r){const n={};for(const o in e){const a=Sb(o,t);if(a!==void 0)n[o]=a;else{const s=r.getValue(o);s&&(n[o]=s.get())}}return n}function Eb({protectedKeys:e,needsAnimating:t},r){const n=e.hasOwnProperty(r)&&t[r]!==!0;return t[r]=!1,n}function $b(e,t){const r=e.get();if(Array.isArray(t)){for(let n=0;n<t.length;n++)if(t[n]!==r)return!0}else return r!==t}function pf(e,t,{delay:r=0,transitionOverride:n,type:o}={}){let{transition:a=e.getDefaultTransition(),transitionEnd:s,...i}=e.makeTargetAnimatable(t);const l=e.getValue("willChange");n&&(a=n);const c=[],u=o&&e.animationState&&e.animationState.getState()[o];for(const d in i){const p=e.getValue(d),h=i[d];if(!p||h===void 0||u&&Eb(u,d))continue;const g={delay:r,elapsed:0,...Oi(a||{},d)};if(window.HandoffAppearAnimations){const P=e.getProps()[Yu];if(P){const x=window.HandoffAppearAnimations(P,d,p,Ee);x!==null&&(g.elapsed=x,g.isHandoff=!0)}}let v=!g.isHandoff&&!$b(p,h);if(g.type==="spring"&&(p.getVelocity()||g.velocity)&&(v=!1),p.animation&&(v=!1),v)continue;p.start(ji(d,p,h,e.shouldReduceMotion&&Pr.has(d)?{type:!1}:g));const b=p.animation;ka(l)&&(l.add(d),b.then(()=>l.remove(d))),c.push(b)}return s&&Promise.all(c).then(()=>{s&&Pb(e,s)}),c}function zi(e,t,r={}){const n=Sa(e,t,r.custom);let{transition:o=e.getDefaultTransition()||{}}=n||{};r.transitionOverride&&(o=r.transitionOverride);const a=n?()=>Promise.all(pf(e,n,r)):()=>Promise.resolve(),s=e.variantChildren&&e.variantChildren.size?(l=0)=>{const{delayChildren:c=0,staggerChildren:u,staggerDirection:d}=o;return Db(e,t,c+l,u,d,r)}:()=>Promise.resolve(),{when:i}=o;if(i){const[l,c]=i==="beforeChildren"?[a,s]:[s,a];return l().then(()=>c())}else return Promise.all([a(),s(r.delay)])}function Db(e,t,r=0,n=0,o=1,a){const s=[],i=(e.variantChildren.size-1)*n,l=o===1?(c=0)=>c*n:(c=0)=>i-c*n;return Array.from(e.variantChildren).sort(kb).forEach((c,u)=>{c.notify("AnimationStart",t),s.push(zi(c,t,{...a,delay:r+l(u)}).then(()=>c.notify("AnimationComplete",t)))}),Promise.all(s)}function kb(e,t){return e.sortNodePosition(t)}function Ib(e,t,r={}){e.notify("AnimationStart",t);let n;if(Array.isArray(t)){const o=t.map(a=>zi(e,a,r));n=Promise.all(o)}else if(typeof t=="string")n=zi(e,t,r);else{const o=typeof t=="function"?Sa(e,t,r.custom):t;n=Promise.all(pf(e,o,r))}return n.then(()=>e.notify("AnimationComplete",t))}const Ab=[...ii].reverse(),Nb=ii.length;function Ob(e){return t=>Promise.all(t.map(({animation:r,options:n})=>Ib(e,r,n)))}function jb(e){let t=Ob(e);const r=_b();let n=!0;const o=(l,c)=>{const u=Sa(e,c);if(u){const{transition:d,transitionEnd:p,...h}=u;l={...l,...h,...p}}return l};function a(l){t=l(e)}function s(l,c){const u=e.getProps(),d=e.getVariantContext(!0)||{},p=[],h=new Set;let g={},v=1/0;for(let P=0;P<Nb;P++){const x=Ab[P],w=r[x],T=u[x]!==void 0?u[x]:d[x],$=Bn(T),E=x===c?w.isActive:null;E===!1&&(v=P);let A=T===d[x]&&T!==u[x]&&$;if(A&&n&&e.manuallyAnimateOnMount&&(A=!1),w.protectedKeys={...g},!w.isActive&&E===null||!T&&!w.prevProp||ma(T)||typeof T=="boolean")continue;const m=Lb(w.prevProp,T);let k=m||x===c&&w.isActive&&!A&&$||P>v&&$;const I=Array.isArray(T)?T:[T];let S=I.reduce(o,{});E===!1&&(S={});const{prevResolvedValues:N={}}=w,C={...N,...S},M=O=>{k=!0,h.delete(O),w.needsAnimating[O]=!0};for(const O in C){const _=S[O],D=N[O];g.hasOwnProperty(O)||(_!==D?wa(_)&&wa(D)?!Sd(_,D)||m?M(O):w.protectedKeys[O]=!0:_!==void 0?M(O):h.add(O):_!==void 0&&h.has(O)?M(O):w.protectedKeys[O]=!0)}w.prevProp=T,w.prevResolvedValues=S,w.isActive&&(g={...g,...S}),n&&e.blockInitialAnimation&&(k=!1),k&&!A&&p.push(...I.map(O=>({animation:O,options:{type:x,...l}})))}if(h.size){const P={};h.forEach(x=>{const w=e.getBaseTarget(x);w!==void 0&&(P[x]=w)}),p.push({animation:P})}let b=!!p.length;return n&&(u.initial===!1||u.initial===u.animate)&&!e.manuallyAnimateOnMount&&(b=!1),n=!1,b?t(p):Promise.resolve()}function i(l,c,u){var d;if(r[l].isActive===c)return Promise.resolve();(d=e.variantChildren)===null||d===void 0||d.forEach(h=>{var g;return(g=h.animationState)===null||g===void 0?void 0:g.setActive(l,c)}),r[l].isActive=c;const p=s(u,l);for(const h in r)r[h].protectedKeys={};return p}return{animateChanges:s,setActive:i,setAnimateFunction:a,getState:()=>r}}function Lb(e,t){return typeof t=="string"?t!==e:Array.isArray(t)?!Sd(t,e):!1}function Tr(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function _b(){return{animate:Tr(!0),whileInView:Tr(),whileHover:Tr(),whileTap:Tr(),whileDrag:Tr(),whileFocus:Tr(),exit:Tr()}}class Fb extends nr{constructor(t){super(t),t.animationState||(t.animationState=jb(t))}updateAnimationControlsSubscription(){const{animate:t}=this.node.getProps();this.unmount(),ma(t)&&(this.unmount=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:t}=this.node.getProps(),{animate:r}=this.node.prevProps||{};t!==r&&this.updateAnimationControlsSubscription()}unmount(){}}let Vb=0;class zb extends nr{constructor(){super(...arguments),this.id=Vb++}update(){if(!this.node.presenceContext)return;const{isPresent:t,onExitComplete:r,custom:n}=this.node.presenceContext,{isPresent:o}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===o)return;const a=this.node.animationState.setActive("exit",!t,{custom:n??this.node.getProps().custom});r&&!t&&a.then(()=>r(this.id))}mount(){const{register:t}=this.node.presenceContext||{};t&&(this.unmount=t(this.id))}unmount(){}}const Wb={animation:{Feature:Fb},exit:{Feature:zb}},hf=(e,t)=>Math.abs(e-t);function Bb(e,t){const r=hf(e.x,t.x),n=hf(e.y,t.y);return Math.sqrt(r**2+n**2)}class mf{constructor(t,r,{transformPagePoint:n,contextWindow:o}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const u=Bi(this.lastMoveEventInfo,this.history),d=this.startEvent!==null,p=Bb(u.offset,{x:0,y:0})>=3;if(!d&&!p)return;const{point:h}=u,{timestamp:g}=Ke;this.history.push({...h,timestamp:g});const{onStart:v,onMove:b}=this.handlers;d||(v&&v(this.lastMoveEvent,u),this.startEvent=this.lastMoveEvent),b&&b(this.lastMoveEvent,u)},this.handlePointerMove=(u,d)=>{this.lastMoveEvent=u,this.lastMoveEventInfo=Wi(d,this.transformPagePoint),Ee.update(this.updatePoint,!0)},this.handlePointerUp=(u,d)=>{if(this.end(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const{onEnd:p,onSessionEnd:h}=this.handlers,g=Bi(u.type==="pointercancel"?this.lastMoveEventInfo:Wi(d,this.transformPagePoint),this.history);this.startEvent&&p&&p(u,g),h&&h(u,g)},!vd(t))return;this.handlers=r,this.transformPagePoint=n,this.contextWindow=o||window;const a=Ma(t),s=Wi(a,this.transformPagePoint),{point:i}=s,{timestamp:l}=Ke;this.history=[{...i,timestamp:l}];const{onSessionStart:c}=r;c&&c(t,Bi(s,this.history)),this.removeListeners=rr(zt(this.contextWindow,"pointermove",this.handlePointerMove),zt(this.contextWindow,"pointerup",this.handlePointerUp),zt(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),Ft(this.updatePoint)}}function Wi(e,t){return t?{point:t(e.point)}:e}function gf(e,t){return{x:e.x-t.x,y:e.y-t.y}}function Bi({point:e},t){return{point:e,delta:gf(e,vf(t)),offset:gf(e,Kb(t)),velocity:Rb(t,.1)}}function Kb(e){return e[0]}function vf(e){return e[e.length-1]}function Rb(e,t){if(e.length<2)return{x:0,y:0};let r=e.length-1,n=null;const o=vf(e);for(;r>=0&&(n=e[r],!(o.timestamp-n.timestamp>or(t)));)r--;if(!n)return{x:0,y:0};const a=Wt(o.timestamp-n.timestamp);if(a===0)return{x:0,y:0};const s={x:(o.x-n.x)/a,y:(o.y-n.y)/a};return s.x===1/0&&(s.x=0),s.y===1/0&&(s.y=0),s}function st(e){return e.max-e.min}function Ki(e,t=0,r=.01){return Math.abs(e-t)<=r}function bf(e,t,r,n=.5){e.origin=n,e.originPoint=Le(t.min,t.max,e.origin),e.scale=st(r)/st(t),(Ki(e.scale,1,1e-4)||isNaN(e.scale))&&(e.scale=1),e.translate=Le(r.min,r.max,e.origin)-e.originPoint,(Ki(e.translate)||isNaN(e.translate))&&(e.translate=0)}function to(e,t,r,n){bf(e.x,t.x,r.x,n?n.originX:void 0),bf(e.y,t.y,r.y,n?n.originY:void 0)}function yf(e,t,r){e.min=r.min+t.min,e.max=e.min+st(t)}function Ub(e,t,r){yf(e.x,t.x,r.x),yf(e.y,t.y,r.y)}function xf(e,t,r){e.min=t.min-r.min,e.max=e.min+st(t)}function ro(e,t,r){xf(e.x,t.x,r.x),xf(e.y,t.y,r.y)}function Gb(e,{min:t,max:r},n){return t!==void 0&&e<t?e=n?Le(t,e,n.min):Math.max(e,t):r!==void 0&&e>r&&(e=n?Le(r,e,n.max):Math.min(e,r)),e}function wf(e,t,r){return{min:t!==void 0?e.min+t:void 0,max:r!==void 0?e.max+r-(e.max-e.min):void 0}}function Hb(e,{top:t,left:r,bottom:n,right:o}){return{x:wf(e.x,r,o),y:wf(e.y,t,n)}}function Cf(e,t){let r=t.min-e.min,n=t.max-e.max;return t.max-t.min<e.max-e.min&&([r,n]=[n,r]),{min:r,max:n}}function Yb(e,t){return{x:Cf(e.x,t.x),y:Cf(e.y,t.y)}}function qb(e,t){let r=.5;const n=st(e),o=st(t);return o>n?r=Jn(t.min,t.max-n,e.min):n>o&&(r=Jn(e.min,e.max-o,t.min)),er(0,1,r)}function Qb(e,t){const r={};return t.min!==void 0&&(r.min=t.min-e.min),t.max!==void 0&&(r.max=t.max-e.min),r}const Ri=.35;function Xb(e=Ri){return e===!1?e=0:e===!0&&(e=Ri),{x:Pf(e,"left","right"),y:Pf(e,"top","bottom")}}function Pf(e,t,r){return{min:Mf(e,t),max:Mf(e,r)}}function Mf(e,t){return typeof e=="number"?e:e[t]||0}const Sf=()=>({translate:0,scale:1,origin:0,originPoint:0}),ln=()=>({x:Sf(),y:Sf()}),Tf=()=>({min:0,max:0}),ze=()=>({x:Tf(),y:Tf()});function Dt(e){return[e("x"),e("y")]}function Ef({top:e,left:t,right:r,bottom:n}){return{x:{min:t,max:r},y:{min:e,max:n}}}function Zb({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function Jb(e,t){if(!t)return e;const r=t({x:e.left,y:e.top}),n=t({x:e.right,y:e.bottom});return{top:r.y,left:r.x,bottom:n.y,right:n.x}}function Ui(e){return e===void 0||e===1}function Gi({scale:e,scaleX:t,scaleY:r}){return!Ui(e)||!Ui(t)||!Ui(r)}function Er(e){return Gi(e)||$f(e)||e.z||e.rotate||e.rotateX||e.rotateY}function $f(e){return Df(e.x)||Df(e.y)}function Df(e){return e&&e!=="0%"}function Ia(e,t,r){const n=e-r,o=t*n;return r+o}function kf(e,t,r,n,o){return o!==void 0&&(e=Ia(e,o,n)),Ia(e,r,n)+t}function Hi(e,t=0,r=1,n,o){e.min=kf(e.min,t,r,n,o),e.max=kf(e.max,t,r,n,o)}function If(e,{x:t,y:r}){Hi(e.x,t.translate,t.scale,t.originPoint),Hi(e.y,r.translate,r.scale,r.originPoint)}function ey(e,t,r,n=!1){const o=r.length;if(!o)return;t.x=t.y=1;let a,s;for(let i=0;i<o;i++){a=r[i],s=a.projectionDelta;const l=a.instance;l&&l.style&&l.style.display==="contents"||(n&&a.options.layoutScroll&&a.scroll&&a!==a.root&&cn(e,{x:-a.scroll.offset.x,y:-a.scroll.offset.y}),s&&(t.x*=s.x.scale,t.y*=s.y.scale,If(e,s)),n&&Er(a.latestValues)&&cn(e,a.latestValues))}t.x=Af(t.x),t.y=Af(t.y)}function Af(e){return Number.isInteger(e)||e>1.0000000000001||e<.999999999999?e:1}function sr(e,t){e.min=e.min+t,e.max=e.max+t}function Nf(e,t,[r,n,o]){const a=t[o]!==void 0?t[o]:.5,s=Le(e.min,e.max,a);Hi(e,t[r],t[n],s,t.scale)}const ty=["x","scaleX","originX"],ry=["y","scaleY","originY"];function cn(e,t){Nf(e.x,t,ty),Nf(e.y,t,ry)}function Of(e,t){return Ef(Jb(e.getBoundingClientRect(),t))}function ny(e,t,r){const n=Of(e,r),{scroll:o}=t;return o&&(sr(n.x,o.offset.x),sr(n.y,o.offset.y)),n}const jf=({current:e})=>e?e.ownerDocument.defaultView:null,oy=new WeakMap;class ay{constructor(t){this.openGlobalLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=ze(),this.visualElement=t}start(t,{snapToCursor:r=!1}={}){const{presenceContext:n}=this.visualElement;if(n&&n.isPresent===!1)return;const o=l=>{this.stopAnimation(),r&&this.snapToCursor(Ma(l,"page").point)},a=(l,c)=>{const{drag:u,dragPropagation:d,onDragStart:p}=this.getProps();if(u&&!d&&(this.openGlobalLock&&this.openGlobalLock(),this.openGlobalLock=wd(u),!this.openGlobalLock))return;this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),Dt(g=>{let v=this.getAxisMotionValue(g).get()||0;if($t.test(v)){const{projection:b}=this.visualElement;if(b&&b.layout){const P=b.layout.layoutBox[g];P&&(v=st(P)*(parseFloat(v)/100))}}this.originPoint[g]=v}),p&&Ee.update(()=>p(l,c),!1,!0);const{animationState:h}=this.visualElement;h&&h.setActive("whileDrag",!0)},s=(l,c)=>{const{dragPropagation:u,dragDirectionLock:d,onDirectionLock:p,onDrag:h}=this.getProps();if(!u&&!this.openGlobalLock)return;const{offset:g}=c;if(d&&this.currentDirection===null){this.currentDirection=sy(g),this.currentDirection!==null&&p&&p(this.currentDirection);return}this.updateAxis("x",c.point,g),this.updateAxis("y",c.point,g),this.visualElement.render(),h&&h(l,c)},i=(l,c)=>this.stop(l,c);this.panSession=new mf(t,{onSessionStart:o,onStart:a,onMove:s,onSessionEnd:i},{transformPagePoint:this.visualElement.getTransformPagePoint(),contextWindow:jf(this.visualElement)})}stop(t,r){const n=this.isDragging;if(this.cancel(),!n)return;const{velocity:o}=r;this.startAnimation(o);const{onDragEnd:a}=this.getProps();a&&Ee.update(()=>a(t,r))}cancel(){this.isDragging=!1;const{projection:t,animationState:r}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation:n}=this.getProps();!n&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),r&&r.setActive("whileDrag",!1)}updateAxis(t,r,n){const{drag:o}=this.getProps();if(!n||!Aa(t,o,this.currentDirection))return;const a=this.getAxisMotionValue(t);let s=this.originPoint[t]+n[t];this.constraints&&this.constraints[t]&&(s=Gb(s,this.constraints[t],this.elastic[t])),a.set(s)}resolveConstraints(){var t;const{dragConstraints:r,dragElastic:n}=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,a=this.constraints;r&&on(r)?this.constraints||(this.constraints=this.resolveRefConstraints()):r&&o?this.constraints=Hb(o.layoutBox,r):this.constraints=!1,this.elastic=Xb(n),a!==this.constraints&&o&&this.constraints&&!this.hasMutatedConstraints&&Dt(s=>{this.getAxisMotionValue(s)&&(this.constraints[s]=Qb(o.layoutBox[s],this.constraints[s]))})}resolveRefConstraints(){const{dragConstraints:t,onMeasureDragConstraints:r}=this.getProps();if(!t||!on(t))return!1;const n=t.current;xt(n!==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 a=ny(n,o.root,this.visualElement.getTransformPagePoint());let s=Yb(o.layout.layoutBox,a);if(r){const i=r(Zb(s));this.hasMutatedConstraints=!!i,i&&(s=Ef(i))}return s}startAnimation(t){const{drag:r,dragMomentum:n,dragElastic:o,dragTransition:a,dragSnapToOrigin:s,onDragTransitionEnd:i}=this.getProps(),l=this.constraints||{},c=Dt(u=>{if(!Aa(u,r,this.currentDirection))return;let d=l&&l[u]||{};s&&(d={min:0,max:0});const p=o?200:1e6,h=o?40:1e7,g={type:"inertia",velocity:n?t[u]:0,bounceStiffness:p,bounceDamping:h,timeConstant:750,restDelta:1,restSpeed:10,...a,...d};return this.startAxisValueAnimation(u,g)});return Promise.all(c).then(i)}startAxisValueAnimation(t,r){const n=this.getAxisMotionValue(t);return n.start(ji(t,n,0,r))}stopAnimation(){Dt(t=>this.getAxisMotionValue(t).stop())}getAxisMotionValue(t){const r="_drag"+t.toUpperCase(),n=this.visualElement.getProps(),o=n[r];return o||this.visualElement.getValue(t,(n.initial?n.initial[t]:void 0)||0)}snapToCursor(t){Dt(r=>{const{drag:n}=this.getProps();if(!Aa(r,n,this.currentDirection))return;const{projection:o}=this.visualElement,a=this.getAxisMotionValue(r);if(o&&o.layout){const{min:s,max:i}=o.layout.layoutBox[r];a.set(t[r]-Le(s,i,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:t,dragConstraints:r}=this.getProps(),{projection:n}=this.visualElement;if(!on(r)||!n||!this.constraints)return;this.stopAnimation();const o={x:0,y:0};Dt(s=>{const i=this.getAxisMotionValue(s);if(i){const l=i.get();o[s]=qb({min:l,max:l},this.constraints[s])}});const{transformTemplate:a}=this.visualElement.getProps();this.visualElement.current.style.transform=a?a({},""):"none",n.root&&n.root.updateScroll(),n.updateLayout(),this.resolveConstraints(),Dt(s=>{if(!Aa(s,t,null))return;const i=this.getAxisMotionValue(s),{min:l,max:c}=this.constraints[s];i.set(Le(l,c,o[s]))})}addListeners(){if(!this.visualElement.current)return;oy.set(this.visualElement,this);const t=this.visualElement.current,r=zt(t,"pointerdown",l=>{const{drag:c,dragListener:u=!0}=this.getProps();c&&u&&this.start(l)}),n=()=>{const{dragConstraints:l}=this.getProps();on(l)&&(this.constraints=this.resolveRefConstraints())},{projection:o}=this.visualElement,a=o.addEventListener("measure",n);o&&!o.layout&&(o.root&&o.root.updateScroll(),o.updateLayout()),n();const s=Vt(window,"resize",()=>this.scalePositionWithinConstraints()),i=o.addEventListener("didUpdate",({delta:l,hasLayoutChanged:c})=>{this.isDragging&&c&&(Dt(u=>{const d=this.getAxisMotionValue(u);d&&(this.originPoint[u]+=l[u].translate,d.set(d.get()+l[u].translate))}),this.visualElement.render())});return()=>{s(),r(),a(),i&&i()}}getProps(){const t=this.visualElement.getProps(),{drag:r=!1,dragDirectionLock:n=!1,dragPropagation:o=!1,dragConstraints:a=!1,dragElastic:s=Ri,dragMomentum:i=!0}=t;return{...t,drag:r,dragDirectionLock:n,dragPropagation:o,dragConstraints:a,dragElastic:s,dragMomentum:i}}}function Aa(e,t,r){return(t===!0||t===e)&&(r===null||r===e)}function sy(e,t=10){let r=null;return Math.abs(e.y)>t?r="y":Math.abs(e.x)>t&&(r="x"),r}class iy extends nr{constructor(t){super(t),this.removeGroupControls=_e,this.removeListeners=_e,this.controls=new ay(t)}mount(){const{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||_e}unmount(){this.removeGroupControls(),this.removeListeners()}}const Lf=e=>(t,r)=>{e&&Ee.update(()=>e(t,r))};class ly extends nr{constructor(){super(...arguments),this.removePointerDownListener=_e}onPointerDown(t){this.session=new mf(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:jf(this.node)})}createPanHandlers(){const{onPanSessionStart:t,onPanStart:r,onPan:n,onPanEnd:o}=this.node.getProps();return{onSessionStart:Lf(t),onStart:Lf(r),onMove:n,onEnd:(a,s)=>{delete this.session,o&&Ee.update(()=>o(a,s))}}}mount(){this.removePointerDownListener=zt(this.node.current,"pointerdown",t=>this.onPointerDown(t))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}function cy(){const e=f.useContext(pa);if(e===null)return[!0,null];const{isPresent:t,onExitComplete:r,register:n}=e,o=f.useId();return f.useEffect(()=>n(o),[]),!t&&r?[!1,()=>r&&r(o)]:[!0]}const Na={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function _f(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const no={correct:(e,t)=>{if(!t.target)return e;if(typeof e=="string")if(ae.test(e))e=parseFloat(e);else return e;const r=_f(e,t.target.x),n=_f(e,t.target.y);return`${r}% ${n}%`}},uy={correct:(e,{treeScale:t,projectionDelta:r})=>{const n=e,o=ar.parse(e);if(o.length>5)return n;const a=ar.createTransformer(e),s=typeof o[0]!="number"?1:0,i=r.x.scale*t.x,l=r.y.scale*t.y;o[0+s]/=i,o[1+s]/=l;const c=Le(i,l,.5);return typeof o[2+s]=="number"&&(o[2+s]/=c),typeof o[3+s]=="number"&&(o[3+s]/=c),a(o)}};class dy extends f.Component{componentDidMount(){const{visualElement:t,layoutGroup:r,switchLayoutGroup:n,layoutId:o}=this.props,{projection:a}=t;Pv(fy),a&&(r.group&&r.group.add(a),n&&n.register&&o&&n.register(a),a.root.didUpdate(),a.addEventListener("animationComplete",()=>{this.safeToRemove()}),a.setOptions({...a.options,onExitComplete:()=>this.safeToRemove()})),Na.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){const{layoutDependency:r,visualElement:n,drag:o,isPresent:a}=this.props,s=n.projection;return s&&(s.isPresent=a,o||t.layoutDependency!==r||r===void 0?s.willUpdate():this.safeToRemove(),t.isPresent!==a&&(a?s.promote():s.relegate()||Ee.postRender(()=>{const i=s.getStack();(!i||!i.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),queueMicrotask(()=>{!t.currentAnimation&&t.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:t,layoutGroup:r,switchLayoutGroup:n}=this.props,{projection:o}=t;o&&(o.scheduleCheckAfterUnmount(),r&&r.group&&r.group.remove(o),n&&n.deregister&&n.deregister(o))}safeToRemove(){const{safeToRemove:t}=this.props;t&&t()}render(){return null}}function Ff(e){const[t,r]=cy(),n=f.useContext(Rn);return f.createElement(dy,{...e,layoutGroup:n,switchLayoutGroup:f.useContext(Zu),isPresent:t,safeToRemove:r})}const fy={borderRadius:{...no,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:no,borderTopRightRadius:no,borderBottomLeftRadius:no,borderBottomRightRadius:no,boxShadow:uy},Vf=["TopLeft","TopRight","BottomLeft","BottomRight"],py=Vf.length,zf=e=>typeof e=="string"?parseFloat(e):e,Wf=e=>typeof e=="number"||ae.test(e);function hy(e,t,r,n,o,a){o?(e.opacity=Le(0,r.opacity!==void 0?r.opacity:1,my(n)),e.opacityExit=Le(t.opacity!==void 0?t.opacity:1,0,gy(n))):a&&(e.opacity=Le(t.opacity!==void 0?t.opacity:1,r.opacity!==void 0?r.opacity:1,n));for(let s=0;s<py;s++){const i=`border${Vf[s]}Radius`;let l=Bf(t,i),c=Bf(r,i);if(l===void 0&&c===void 0)continue;l||(l=0),c||(c=0),l===0||c===0||Wf(l)===Wf(c)?(e[i]=Math.max(Le(zf(l),zf(c),n),0),($t.test(c)||$t.test(l))&&(e[i]+="%")):e[i]=c}(t.rotate||r.rotate)&&(e.rotate=Le(t.rotate||0,r.rotate||0,n))}function Bf(e,t){return e[t]!==void 0?e[t]:e.borderRadius}const my=Kf(0,.5,Od),gy=Kf(.5,.95,_e);function Kf(e,t,r){return n=>n<e?0:n>t?1:r(Jn(e,t,n))}function Rf(e,t){e.min=t.min,e.max=t.max}function ht(e,t){Rf(e.x,t.x),Rf(e.y,t.y)}function Uf(e,t,r,n,o){return e-=t,e=Ia(e,1/r,n),o!==void 0&&(e=Ia(e,1/o,n)),e}function vy(e,t=0,r=1,n=.5,o,a=e,s=e){if($t.test(t)&&(t=parseFloat(t),t=Le(s.min,s.max,t/100)-s.min),typeof t!="number")return;let i=Le(a.min,a.max,n);e===a&&(i-=t),e.min=Uf(e.min,t,r,i,o),e.max=Uf(e.max,t,r,i,o)}function Gf(e,t,[r,n,o],a,s){vy(e,t[r],t[n],t[o],t.scale,a,s)}const by=["x","scaleX","originX"],yy=["y","scaleY","originY"];function Hf(e,t,r,n){Gf(e.x,t,by,r?r.x:void 0,n?n.x:void 0),Gf(e.y,t,yy,r?r.y:void 0,n?n.y:void 0)}function Yf(e){return e.translate===0&&e.scale===1}function qf(e){return Yf(e.x)&&Yf(e.y)}function xy(e,t){return e.x.min===t.x.min&&e.x.max===t.x.max&&e.y.min===t.y.min&&e.y.max===t.y.max}function Qf(e,t){return Math.round(e.x.min)===Math.round(t.x.min)&&Math.round(e.x.max)===Math.round(t.x.max)&&Math.round(e.y.min)===Math.round(t.y.min)&&Math.round(e.y.max)===Math.round(t.y.max)}function Xf(e){return st(e.x)/st(e.y)}class wy{constructor(){this.members=[]}add(t){Li(this.members,t),t.scheduleRender()}remove(t){if(_i(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){const r=this.members[this.members.length-1];r&&this.promote(r)}}relegate(t){const r=this.members.findIndex(o=>t===o);if(r===0)return!1;let n;for(let o=r;o>=0;o--){const a=this.members[o];if(a.isPresent!==!1){n=a;break}}return n?(this.promote(n),!0):!1}promote(t,r){const n=this.lead;if(t!==n&&(this.prevLead=n,this.lead=t,t.show(),n)){n.instance&&n.scheduleRender(),t.scheduleRender(),t.resumeFrom=n,r&&(t.resumeFrom.preserveOpacity=!0),n.snapshot&&(t.snapshot=n.snapshot,t.snapshot.latestValues=n.animationValues||n.latestValues),t.root&&t.root.isUpdating&&(t.isLayoutDirty=!0);const{crossfade:o}=t.options;o===!1&&n.hide()}}exitAnimationComplete(){this.members.forEach(t=>{const{options:r,resumingFrom:n}=t;r.onExitComplete&&r.onExitComplete(),n&&n.options.onExitComplete&&n.options.onExitComplete()})}scheduleRender(){this.members.forEach(t=>{t.instance&&t.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function Zf(e,t,r){let n="";const o=e.x.translate/t.x,a=e.y.translate/t.y;if((o||a)&&(n=`translate3d(${o}px, ${a}px, 0) `),(t.x!==1||t.y!==1)&&(n+=`scale(${1/t.x}, ${1/t.y}) `),r){const{rotate:l,rotateX:c,rotateY:u}=r;l&&(n+=`rotate(${l}deg) `),c&&(n+=`rotateX(${c}deg) `),u&&(n+=`rotateY(${u}deg) `)}const s=e.x.scale*t.x,i=e.y.scale*t.y;return(s!==1||i!==1)&&(n+=`scale(${s}, ${i})`),n||"none"}const Cy=(e,t)=>e.depth-t.depth;class Py{constructor(){this.children=[],this.isDirty=!1}add(t){Li(this.children,t),this.isDirty=!0}remove(t){_i(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(Cy),this.isDirty=!1,this.children.forEach(t)}}function My(e,t){const r=performance.now(),n=({timestamp:o})=>{const a=o-r;a>=t&&(Ft(n),e(a-t))};return Ee.read(n,!0),()=>Ft(n)}function Sy(e){window.MotionDebug&&window.MotionDebug.record(e)}function Ty(e){return e instanceof SVGElement&&e.tagName!=="svg"}function Ey(e,t,r){const n=Ze(e)?e:sn(e);return n.start(ji("",n,t,r)),n.animation}const Jf=["","X","Y","Z"],$y={visibility:"hidden"},ep=1e3;let Dy=0;const $r={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0};function tp({attachResizeListener:e,defaultParent:t,measureScroll:r,checkIsScrollRoot:n,resetTransform:o}){return class{constructor(s={},i=t==null?void 0:t()){this.id=Dy++,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.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,$r.totalNodes=$r.resolvedTargetDeltas=$r.recalculatedProjection=0,this.nodes.forEach(Ay),this.nodes.forEach(_y),this.nodes.forEach(Fy),this.nodes.forEach(Ny),Sy($r)},this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=s,this.root=i?i.root||i:this,this.path=i?[...i.path,i]:[],this.parent=i,this.depth=i?i.depth+1:0;for(let l=0;l<this.path.length;l++)this.path[l].shouldResetTransform=!0;this.root===this&&(this.nodes=new Py)}addEventListener(s,i){return this.eventHandlers.has(s)||this.eventHandlers.set(s,new Fi),this.eventHandlers.get(s).add(i)}notifyListeners(s,...i){const l=this.eventHandlers.get(s);l&&l.notify(...i)}hasListeners(s){return this.eventHandlers.has(s)}mount(s,i=this.root.hasTreeAnimated){if(this.instance)return;this.isSVG=Ty(s),this.instance=s;const{layoutId:l,layout:c,visualElement:u}=this.options;if(u&&!u.current&&u.mount(s),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),i&&(c||l)&&(this.isLayoutDirty=!0),e){let d;const p=()=>this.root.updateBlockedByResize=!1;e(s,()=>{this.root.updateBlockedByResize=!0,d&&d(),d=My(p,250),Na.hasAnimatedSinceResize&&(Na.hasAnimatedSinceResize=!1,this.nodes.forEach(np))})}l&&this.root.registerSharedNode(l,this),this.options.animate!==!1&&u&&(l||c)&&this.addEventListener("didUpdate",({delta:d,hasLayoutChanged:p,hasRelativeTargetChanged:h,layout:g})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const v=this.options.transition||u.getDefaultTransition()||Ky,{onLayoutAnimationStart:b,onLayoutAnimationComplete:P}=u.getProps(),x=!this.targetLayout||!Qf(this.targetLayout,g)||h,w=!p&&h;if(this.options.layoutRoot||this.resumeFrom&&this.resumeFrom.instance||w||p&&(x||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(d,w);const T={...Oi(v,"layout"),onPlay:b,onComplete:P};(u.shouldReduceMotion||this.options.layoutRoot)&&(T.delay=0,T.type=!1),this.startAnimation(T)}else p||np(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=g})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const s=this.getStack();s&&s.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,Ft(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(Vy),this.animationId++)}getTransformTemplate(){const{visualElement:s}=this.options;return s&&s.getProps().transformTemplate}willUpdate(s=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(!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:i,layout:l}=this.options;if(i===void 0&&!l)return;const c=this.getTransformTemplate();this.prevTransformTemplateValue=c?c(this.latestValues,""):void 0,this.updateSnapshot(),s&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(rp);return}this.isUpdating||this.nodes.forEach(jy),this.isUpdating=!1,this.nodes.forEach(Ly),this.nodes.forEach(ky),this.nodes.forEach(Iy),this.clearAllSnapshots();const i=performance.now();Ke.delta=er(0,1e3/60,i-Ke.timestamp),Ke.timestamp=i,Ke.isProcessing=!0,vi.update.process(Ke),vi.preRender.process(Ke),vi.render.process(Ke),Ke.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,queueMicrotask(()=>this.update()))}clearAllSnapshots(){this.nodes.forEach(Oy),this.sharedNodes.forEach(zy)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,Ee.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){Ee.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 s=this.layout;this.layout=this.measure(!1),this.layoutCorrected=ze(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:i}=this.options;i&&i.notify("LayoutMeasure",this.layout.layoutBox,s?s.layoutBox:void 0)}updateScroll(s="measure"){let i=!!(this.options.layoutScroll&&this.instance);this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===s&&(i=!1),i&&(this.scroll={animationId:this.root.animationId,phase:s,isRoot:n(this.instance),offset:r(this.instance)})}resetTransform(){if(!o)return;const s=this.isLayoutDirty||this.shouldResetTransform,i=this.projectionDelta&&!qf(this.projectionDelta),l=this.getTransformTemplate(),c=l?l(this.latestValues,""):void 0,u=c!==this.prevTransformTemplateValue;s&&(i||Er(this.latestValues)||u)&&(o(this.instance,c),this.shouldResetTransform=!1,this.scheduleRender())}measure(s=!0){const i=this.measurePageBox();let l=this.removeElementScroll(i);return s&&(l=this.removeTransform(l)),Ry(l),{animationId:this.root.animationId,measuredBox:i,layoutBox:l,latestValues:{},source:this.id}}measurePageBox(){const{visualElement:s}=this.options;if(!s)return ze();const i=s.measureViewportBox(),{scroll:l}=this.root;return l&&(sr(i.x,l.offset.x),sr(i.y,l.offset.y)),i}removeElementScroll(s){const i=ze();ht(i,s);for(let l=0;l<this.path.length;l++){const c=this.path[l],{scroll:u,options:d}=c;if(c!==this.root&&u&&d.layoutScroll){if(u.isRoot){ht(i,s);const{scroll:p}=this.root;p&&(sr(i.x,-p.offset.x),sr(i.y,-p.offset.y))}sr(i.x,u.offset.x),sr(i.y,u.offset.y)}}return i}applyTransform(s,i=!1){const l=ze();ht(l,s);for(let c=0;c<this.path.length;c++){const u=this.path[c];!i&&u.options.layoutScroll&&u.scroll&&u!==u.root&&cn(l,{x:-u.scroll.offset.x,y:-u.scroll.offset.y}),Er(u.latestValues)&&cn(l,u.latestValues)}return Er(this.latestValues)&&cn(l,this.latestValues),l}removeTransform(s){const i=ze();ht(i,s);for(let l=0;l<this.path.length;l++){const c=this.path[l];if(!c.instance||!Er(c.latestValues))continue;Gi(c.latestValues)&&c.updateSnapshot();const u=ze(),d=c.measurePageBox();ht(u,d),Hf(i,c.latestValues,c.snapshot?c.snapshot.layoutBox:void 0,u)}return Er(this.latestValues)&&Hf(i,this.latestValues),i}setTargetDelta(s){this.targetDelta=s,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(s){this.options={...this.options,...s,crossfade:s.crossfade!==void 0?s.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!==Ke.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(s=!1){var i;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(!(s||c&&this.isSharedProjectionDirty||this.isProjectionDirty||!((i=this.parent)===null||i===void 0)&&i.isProjectionDirty||this.attemptToResolveRelativeTarget))return;const{layout:d,layoutId:p}=this.options;if(!(!this.layout||!(d||p))){if(this.resolvedRelativeTargetAt=Ke.timestamp,!this.targetDelta&&!this.relativeTarget){const h=this.getClosestProjectingParent();h&&h.layout&&this.animationProgress!==1?(this.relativeParent=h,this.forceRelativeParentToResolveTarget(),this.relativeTarget=ze(),this.relativeTargetOrigin=ze(),ro(this.relativeTargetOrigin,this.layout.layoutBox,h.layout.layoutBox),ht(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(!(!this.relativeTarget&&!this.targetDelta)){if(this.target||(this.target=ze(),this.targetWithTransforms=ze()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),Ub(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):ht(this.target,this.layout.layoutBox),If(this.target,this.targetDelta)):ht(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=ze(),this.relativeTargetOrigin=ze(),ro(this.relativeTargetOrigin,this.target,h.target),ht(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}$r.resolvedTargetDeltas++}}}getClosestProjectingParent(){if(!(!this.parent||Gi(this.parent.latestValues)||$f(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 s;const i=this.getLead(),l=!!this.resumingFrom||this!==i;let c=!0;if((this.isProjectionDirty||!((s=this.parent)===null||s===void 0)&&s.isProjectionDirty)&&(c=!1),l&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(c=!1),this.resolvedRelativeTargetAt===Ke.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;ht(this.layoutCorrected,this.layout.layoutBox);const p=this.treeScale.x,h=this.treeScale.y;ey(this.layoutCorrected,this.treeScale,this.path,l),i.layout&&!i.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(i.target=i.layout.layoutBox);const{target:g}=i;if(!g){this.projectionTransform&&(this.projectionDelta=ln(),this.projectionTransform="none",this.scheduleRender());return}this.projectionDelta||(this.projectionDelta=ln(),this.projectionDeltaWithTransform=ln());const v=this.projectionTransform;to(this.projectionDelta,this.layoutCorrected,g,this.latestValues),this.projectionTransform=Zf(this.projectionDelta,this.treeScale),(this.projectionTransform!==v||this.treeScale.x!==p||this.treeScale.y!==h)&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",g)),$r.recalculatedProjection++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(s=!0){if(this.options.scheduleRender&&this.options.scheduleRender(),s){const i=this.getStack();i&&i.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}setAnimationOrigin(s,i=!1){const l=this.snapshot,c=l?l.latestValues:{},u={...this.latestValues},d=ln();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!i;const p=ze(),h=l?l.source:void 0,g=this.layout?this.layout.source:void 0,v=h!==g,b=this.getStack(),P=!b||b.members.length<=1,x=!!(v&&!P&&this.options.crossfade===!0&&!this.path.some(By));this.animationProgress=0;let w;this.mixTargetDelta=T=>{const $=T/1e3;op(d.x,s.x,$),op(d.y,s.y,$),this.setTargetDelta(d),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(ro(p,this.layout.layoutBox,this.relativeParent.layout.layoutBox),Wy(this.relativeTarget,this.relativeTargetOrigin,p,$),w&&xy(this.relativeTarget,w)&&(this.isProjectionDirty=!1),w||(w=ze()),ht(w,this.relativeTarget)),v&&(this.animationValues=u,hy(u,c,this.latestValues,$,x,P)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=$},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(s){this.notifyListeners("animationStart"),this.currentAnimation&&this.currentAnimation.stop(),this.resumingFrom&&this.resumingFrom.currentAnimation&&this.resumingFrom.currentAnimation.stop(),this.pendingAnimation&&(Ft(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=Ee.update(()=>{Na.hasAnimatedSinceResize=!0,this.currentAnimation=Ey(0,ep,{...s,onUpdate:i=>{this.mixTargetDelta(i),s.onUpdate&&s.onUpdate(i)},onComplete:()=>{s.onComplete&&s.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 s=this.getStack();s&&s.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(ep),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const s=this.getLead();let{targetWithTransforms:i,target:l,layout:c,latestValues:u}=s;if(!(!i||!l||!c)){if(this!==s&&this.layout&&c&&cp(this.options.animationType,this.layout.layoutBox,c.layoutBox)){l=this.target||ze();const d=st(this.layout.layoutBox.x);l.x.min=s.target.x.min,l.x.max=l.x.min+d;const p=st(this.layout.layoutBox.y);l.y.min=s.target.y.min,l.y.max=l.y.min+p}ht(i,l),cn(i,u),to(this.projectionDeltaWithTransform,this.layoutCorrected,i,u)}}registerSharedNode(s,i){this.sharedNodes.has(s)||this.sharedNodes.set(s,new wy),this.sharedNodes.get(s).add(i);const c=i.options.initialPromotionConfig;i.promote({transition:c?c.transition:void 0,preserveFollowOpacity:c&&c.shouldPreserveFollowOpacity?c.shouldPreserveFollowOpacity(i):void 0})}isLead(){const s=this.getStack();return s?s.lead===this:!0}getLead(){var s;const{layoutId:i}=this.options;return i?((s=this.getStack())===null||s===void 0?void 0:s.lead)||this:this}getPrevLead(){var s;const{layoutId:i}=this.options;return i?(s=this.getStack())===null||s===void 0?void 0:s.prevLead:void 0}getStack(){const{layoutId:s}=this.options;if(s)return this.root.sharedNodes.get(s)}promote({needsReset:s,transition:i,preserveFollowOpacity:l}={}){const c=this.getStack();c&&c.promote(this,l),s&&(this.projectionDelta=void 0,this.needsReset=!0),i&&this.setOptions({transition:i})}relegate(){const s=this.getStack();return s?s.relegate(this):!1}resetRotation(){const{visualElement:s}=this.options;if(!s)return;let i=!1;const{latestValues:l}=s;if((l.rotate||l.rotateX||l.rotateY||l.rotateZ)&&(i=!0),!i)return;const c={};for(let u=0;u<Jf.length;u++){const d="rotate"+Jf[u];l[d]&&(c[d]=l[d],s.setStaticValue(d,0))}s.render();for(const u in c)s.setStaticValue(u,c[u]);s.scheduleRender()}getProjectionStyles(s){var i,l;if(!this.instance||this.isSVG)return;if(!this.isVisible)return $y;const c={visibility:""},u=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,c.opacity="",c.pointerEvents=Ca(s==null?void 0:s.pointerEvents)||"",c.transform=u?u(this.latestValues,""):"none",c;const d=this.getLead();if(!this.projectionDelta||!this.layout||!d.target){const v={};return this.options.layoutId&&(v.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,v.pointerEvents=Ca(s==null?void 0:s.pointerEvents)||""),this.hasProjected&&!Er(this.latestValues)&&(v.transform=u?u({},""):"none",this.hasProjected=!1),v}const p=d.animationValues||d.latestValues;this.applyTransformsToTarget(),c.transform=Zf(this.projectionDeltaWithTransform,this.treeScale,p),u&&(c.transform=u(p,c.transform));const{x:h,y:g}=this.projectionDelta;c.transformOrigin=`${h.origin*100}% ${g.origin*100}% 0`,d.animationValues?c.opacity=d===this?(l=(i=p.opacity)!==null&&i!==void 0?i:this.latestValues.opacity)!==null&&l!==void 0?l:1:this.preserveOpacity?this.latestValues.opacity:p.opacityExit:c.opacity=d===this?p.opacity!==void 0?p.opacity:"":p.opacityExit!==void 0?p.opacityExit:0;for(const v in va){if(p[v]===void 0)continue;const{correct:b,applyTo:P}=va[v],x=c.transform==="none"?p[v]:b(p[v],d);if(P){const w=P.length;for(let T=0;T<w;T++)c[P[T]]=x}else c[v]=x}return this.options.layoutId&&(c.pointerEvents=d===this?Ca(s==null?void 0:s.pointerEvents)||"":"none"),c}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(s=>{var i;return(i=s.currentAnimation)===null||i===void 0?void 0:i.stop()}),this.root.nodes.forEach(rp),this.root.sharedNodes.clear()}}}function ky(e){e.updateLayout()}function Iy(e){var t;const r=((t=e.resumeFrom)===null||t===void 0?void 0:t.snapshot)||e.snapshot;if(e.isLead()&&e.layout&&r&&e.hasListeners("didUpdate")){const{layoutBox:n,measuredBox:o}=e.layout,{animationType:a}=e.options,s=r.source!==e.layout.source;a==="size"?Dt(d=>{const p=s?r.measuredBox[d]:r.layoutBox[d],h=st(p);p.min=n[d].min,p.max=p.min+h}):cp(a,r.layoutBox,n)&&Dt(d=>{const p=s?r.measuredBox[d]:r.layoutBox[d],h=st(n[d]);p.max=p.min+h,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[d].max=e.relativeTarget[d].min+h)});const i=ln();to(i,n,r.layoutBox);const l=ln();s?to(l,e.applyTransform(o,!0),r.measuredBox):to(l,n,r.layoutBox);const c=!qf(i);let u=!1;if(!e.resumeFrom){const d=e.getClosestProjectingParent();if(d&&!d.resumeFrom){const{snapshot:p,layout:h}=d;if(p&&h){const g=ze();ro(g,r.layoutBox,p.layoutBox);const v=ze();ro(v,n,h.layoutBox),Qf(g,v)||(u=!0),d.options.layoutRoot&&(e.relativeTarget=v,e.relativeTargetOrigin=g,e.relativeParent=d)}}}e.notifyListeners("didUpdate",{layout:n,snapshot:r,delta:l,layoutDelta:i,hasLayoutChanged:c,hasRelativeTargetChanged:u})}else if(e.isLead()){const{onExitComplete:n}=e.options;n&&n()}e.options.transition=void 0}function Ay(e){$r.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 Ny(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function Oy(e){e.clearSnapshot()}function rp(e){e.clearMeasurements()}function jy(e){e.isLayoutDirty=!1}function Ly(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function np(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function _y(e){e.resolveTargetDelta()}function Fy(e){e.calcProjection()}function Vy(e){e.resetRotation()}function zy(e){e.removeLeadSnapshot()}function op(e,t,r){e.translate=Le(t.translate,0,r),e.scale=Le(t.scale,1,r),e.origin=t.origin,e.originPoint=t.originPoint}function ap(e,t,r,n){e.min=Le(t.min,r.min,n),e.max=Le(t.max,r.max,n)}function Wy(e,t,r,n){ap(e.x,t.x,r.x,n),ap(e.y,t.y,r.y,n)}function By(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}const Ky={duration:.45,ease:[.4,0,.1,1]},sp=e=>typeof navigator<"u"&&navigator.userAgent.toLowerCase().includes(e),ip=sp("applewebkit/")&&!sp("chrome/")?Math.round:_e;function lp(e){e.min=ip(e.min),e.max=ip(e.max)}function Ry(e){lp(e.x),lp(e.y)}function cp(e,t,r){return e==="position"||e==="preserve-aspect"&&!Ki(Xf(t),Xf(r),.2)}const Uy=tp({attachResizeListener:(e,t)=>Vt(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),Yi={current:void 0},up=tp({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!Yi.current){const e=new Uy({});e.mount(window),e.setOptions({layoutScroll:!0}),Yi.current=e}return Yi.current},resetTransform:(e,t)=>{e.style.transform=t!==void 0?t:"none"},checkIsScrollRoot:e=>window.getComputedStyle(e).position==="fixed"}),Gy={pan:{Feature:ly},drag:{Feature:iy,ProjectionNode:up,MeasureLayout:Ff}},Hy=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/;function Yy(e){const t=Hy.exec(e);if(!t)return[,];const[,r,n]=t;return[r,n]}const qy=4;function qi(e,t,r=1){xt(r<=qy,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`);const[n,o]=Yy(e);if(!n)return;const a=window.getComputedStyle(t).getPropertyValue(n);if(a){const s=a.trim();return cf(s)?parseFloat(s):s}else return ui(o)?qi(o,t,r+1):o}function Qy(e,{...t},r){const n=e.current;if(!(n instanceof Element))return{target:t,transitionEnd:r};r&&(r={...r}),e.values.forEach(o=>{const a=o.get();if(!ui(a))return;const s=qi(a,n);s&&o.set(s)});for(const o in t){const a=t[o];if(!ui(a))continue;const s=qi(a,n);s&&(t[o]=s,r||(r={}),r[o]===void 0&&(r[o]=a))}return{target:t,transitionEnd:r}}const Xy=new Set(["width","height","top","left","right","bottom","x","y","translateX","translateY"]),dp=e=>Xy.has(e),Zy=e=>Object.keys(e).some(dp),Oa=e=>e===Mr||e===ae,fp=(e,t)=>parseFloat(e.split(", ")[t]),pp=(e,t)=>(r,{transform:n})=>{if(n==="none"||!n)return 0;const o=n.match(/^matrix3d\((.+)\)$/);if(o)return fp(o[1],t);{const a=n.match(/^matrix\((.+)\)$/);return a?fp(a[1],e):0}},Jy=new Set(["x","y","z"]),e5=Un.filter(e=>!Jy.has(e));function t5(e){const t=[];return e5.forEach(r=>{const n=e.getValue(r);n!==void 0&&(t.push([r,n.get()]),n.set(r.startsWith("scale")?1:0))}),t.length&&e.render(),t}const un={width:({x:e},{paddingLeft:t="0",paddingRight:r="0"})=>e.max-e.min-parseFloat(t)-parseFloat(r),height:({y:e},{paddingTop:t="0",paddingBottom:r="0"})=>e.max-e.min-parseFloat(t)-parseFloat(r),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:pp(4,13),y:pp(5,14)};un.translateX=un.x,un.translateY=un.y;const r5=(e,t,r)=>{const n=t.measureViewportBox(),o=t.current,a=getComputedStyle(o),{display:s}=a,i={};s==="none"&&t.setStaticValue("display",e.display||"block"),r.forEach(c=>{i[c]=un[c](n,a)}),t.render();const l=t.measureViewportBox();return r.forEach(c=>{const u=t.getValue(c);u&&u.jump(i[c]),e[c]=un[c](l,a)}),e},n5=(e,t,r={},n={})=>{t={...t},n={...n};const o=Object.keys(t).filter(dp);let a=[],s=!1;const i=[];if(o.forEach(l=>{const c=e.getValue(l);if(!e.hasValue(l))return;let u=r[l],d=eo(u);const p=t[l];let h;if(wa(p)){const g=p.length,v=p[0]===null?1:0;u=p[v],d=eo(u);for(let b=v;b<g&&p[b]!==null;b++)h?xt(eo(p[b])===h,"All keyframes must be of the same type"):(h=eo(p[b]),xt(h===d||Oa(d)&&Oa(h),"Keyframes must be of the same dimension as the current value"))}else h=eo(p);if(d!==h)if(Oa(d)&&Oa(h)){const g=c.get();typeof g=="string"&&c.set(parseFloat(g)),typeof p=="string"?t[l]=parseFloat(p):Array.isArray(p)&&h===ae&&(t[l]=p.map(parseFloat))}else d!=null&&d.transform&&(h!=null&&h.transform)&&(u===0||p===0)?u===0?c.set(h.transform(u)):t[l]=d.transform(p):(s||(a=t5(e),s=!0),i.push(l),n[l]=n[l]!==void 0?n[l]:t[l],c.jump(p))}),i.length){const l=i.indexOf("height")>=0?window.pageYOffset:null,c=r5(t,e,i);return a.length&&a.forEach(([u,d])=>{e.getValue(u).set(d)}),e.render(),ha&&l!==null&&window.scrollTo({top:l}),{target:c,transitionEnd:n}}else return{target:t,transitionEnd:n}};function o5(e,t,r,n){return Zy(t)?n5(e,t,r,n):{target:t,transitionEnd:n}}const a5=(e,t,r,n)=>{const o=Qy(e,t,n);return t=o.target,n=o.transitionEnd,o5(e,t,r,n)},Qi={current:null},hp={current:!1};function s5(){if(hp.current=!0,!!ha)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>Qi.current=e.matches;e.addListener(t),t()}else Qi.current=!1}function i5(e,t,r){const{willChange:n}=t;for(const o in t){const a=t[o],s=r[o];if(Ze(a))e.addValue(o,a),ka(n)&&n.add(o),process.env.NODE_ENV==="development"&&Vi(a.version==="10.16.16",`Attempting to mix Framer Motion versions ${a.version} with 10.16.16 may not work as expected.`);else if(Ze(s))e.addValue(o,sn(a,{owner:e})),ka(n)&&n.remove(o);else if(s!==a)if(e.hasValue(o)){const i=e.getValue(o);!i.hasAnimated&&i.set(a)}else{const i=e.getStaticValue(o);e.addValue(o,sn(i!==void 0?i:a,{owner:e}))}}for(const o in r)t[o]===void 0&&e.removeValue(o);return t}const mp=new WeakMap,gp=Object.keys(Kn),l5=gp.length,vp=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],c5=li.length;class u5{constructor({parent:t,props:r,presenceContext:n,reducedMotionConfig: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.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.scheduleRender=()=>Ee.render(this.render,!1,!0);const{latestValues:i,renderState:l}=a;this.latestValues=i,this.baseTarget={...i},this.initialValues=r.initial?{...i}:{},this.renderState=l,this.parent=t,this.props=r,this.presenceContext=n,this.depth=t?t.depth+1:0,this.reducedMotionConfig=o,this.options=s,this.isControllingVariants=ga(r),this.isVariantNode=qu(r),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);const{willChange:c,...u}=this.scrapeMotionValuesFromProps(r,{});for(const d in u){const p=u[d];i[d]!==void 0&&Ze(p)&&(p.set(i[d],!1),ka(c)&&c.add(d))}}scrapeMotionValuesFromProps(t,r){return{}}mount(t){this.current=t,mp.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((r,n)=>this.bindToMotionValue(n,r)),hp.current||s5(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:Qi.current,process.env.NODE_ENV!=="production"&&Vi(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(){mp.delete(this.current),this.projection&&this.projection.unmount(),Ft(this.notifyUpdate),Ft(this.render),this.valueSubscriptions.forEach(t=>t()),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)this.features[t].unmount();this.current=null}bindToMotionValue(t,r){const n=Pr.has(t),o=r.on("change",s=>{this.latestValues[t]=s,this.props.onUpdate&&Ee.update(this.notifyUpdate,!1,!0),n&&this.projection&&(this.projection.isTransformDirty=!0)}),a=r.on("renderRequest",this.scheduleRender);this.valueSubscriptions.set(t,()=>{o(),a()})}sortNodePosition(t){return!this.current||!this.sortInstanceNodePosition||this.type!==t.type?0:this.sortInstanceNodePosition(this.current,t.current)}loadFeatures({children:t,...r},n,o,a){let s,i;if(process.env.NODE_ENV!=="production"&&o&&n){const l="You have rendered a `motion` component within a `LazyMotion` component. This will break tree shaking. Import and render a `m` component instead.";r.ignoreStrict?Qn(!1,l):xt(!1,l)}for(let l=0;l<l5;l++){const c=gp[l],{isEnabled:u,Feature:d,ProjectionNode:p,MeasureLayout:h}=Kn[c];p&&(s=p),u(r)&&(!this.features[c]&&d&&(this.features[c]=new d(this)),h&&(i=h))}if(!this.projection&&s){this.projection=new s(this.latestValues,this.parent&&this.parent.projection);const{layoutId:l,layout:c,drag:u,dragConstraints:d,layoutScroll:p,layoutRoot:h}=r;this.projection.setOptions({layoutId:l,layout:c,alwaysMeasureLayout:!!u||d&&on(d),visualElement:this,scheduleRender:()=>this.scheduleRender(),animationType:typeof c=="string"?c:"both",initialPromotionConfig:a,layoutScroll:p,layoutRoot:h})}return i}updateFeatures(){for(const t in this.features){const r=this.features[t];r.isMounted?r.update():(r.mount(),r.isMounted=!0)}}triggerBuild(){this.build(this.renderState,this.latestValues,this.options,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):ze()}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,r){this.latestValues[t]=r}makeTargetAnimatable(t,r=!0){return this.makeTargetAnimatableFromInstance(t,this.props,r)}update(t,r){(t.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=t,this.prevPresenceContext=this.presenceContext,this.presenceContext=r;for(let n=0;n<vp.length;n++){const o=vp[n];this.propEventSubscriptions[o]&&(this.propEventSubscriptions[o](),delete this.propEventSubscriptions[o]);const a=t["on"+o];a&&(this.propEventSubscriptions[o]=this.on(o,a))}this.prevMotionValues=i5(this,this.scrapeMotionValuesFromProps(t,this.prevProps),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}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}getVariantContext(t=!1){if(t)return this.parent?this.parent.getVariantContext():void 0;if(!this.isControllingVariants){const n=this.parent?this.parent.getVariantContext()||{}:{};return this.props.initial!==void 0&&(n.initial=this.props.initial),n}const r={};for(let n=0;n<c5;n++){const o=li[n],a=this.props[o];(Bn(a)||a===!1)&&(r[o]=a)}return r}addVariantChild(t){const r=this.getClosestVariantNode();if(r)return r.variantChildren&&r.variantChildren.add(t),()=>r.variantChildren.delete(t)}addValue(t,r){r!==this.values.get(t)&&(this.removeValue(t),this.bindToMotionValue(t,r)),this.values.set(t,r),this.latestValues[t]=r.get()}removeValue(t){this.values.delete(t);const r=this.valueSubscriptions.get(t);r&&(r(),this.valueSubscriptions.delete(t)),delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState)}hasValue(t){return this.values.has(t)}getValue(t,r){if(this.props.values&&this.props.values[t])return this.props.values[t];let n=this.values.get(t);return n===void 0&&r!==void 0&&(n=sn(r,{owner:this}),this.addValue(t,n)),n}readValue(t){var r;return 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)}setBaseTarget(t,r){this.baseTarget[t]=r}getBaseTarget(t){var r;const{initial:n}=this.props,o=typeof n=="string"||typeof n=="object"?(r=gi(this.props,n))===null||r===void 0?void 0:r[t]:void 0;if(n&&o!==void 0)return o;const a=this.getBaseTargetFromProps(this.props,t);return a!==void 0&&!Ze(a)?a:this.initialValues[t]!==void 0&&o===void 0?void 0:this.baseTarget[t]}on(t,r){return this.events[t]||(this.events[t]=new Fi),this.events[t].add(r)}notify(t,...r){this.events[t]&&this.events[t].notify(...r)}}class bp extends u5{sortInstanceNodePosition(t,r){return t.compareDocumentPosition(r)&2?1:-1}getBaseTargetFromProps(t,r){return t.style?t.style[r]:void 0}removeValueFromRenderState(t,{vars:r,style:n}){delete r[t],delete n[t]}makeTargetAnimatableFromInstance({transition:t,transitionEnd:r,...n},{transformValues:o},a){let s=Tb(n,t||{},this);if(o&&(r&&(r=o(r)),n&&(n=o(n)),s&&(s=o(s))),a){Mb(this,n,s);const i=a5(this,n,s,r);r=i.transitionEnd,n=i.target}return{transition:t,transitionEnd:r,...n}}}function d5(e){return window.getComputedStyle(e)}class f5 extends bp{readValueFromInstance(t,r){if(Pr.has(r)){const n=Ni(r);return n&&n.default||0}else{const n=d5(t),o=(td(r)?n.getPropertyValue(r):n[r])||0;return typeof o=="string"?o.trim():o}}measureInstanceViewportBox(t,{transformPagePoint:r}){return Of(t,r)}build(t,r,n,o){di(t,r,n,o.transformTemplate)}scrapeMotionValuesFromProps(t,r){return mi(t,r)}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:t}=this.props;Ze(t)&&(this.childSubscription=t.on("change",r=>{this.current&&(this.current.textContent=`${r}`)}))}renderInstance(t,r,n,o){ud(t,r,n,o)}}class p5 extends bp{constructor(){super(...arguments),this.isSVGTag=!1}getBaseTargetFromProps(t,r){return t[r]}readValueFromInstance(t,r){if(Pr.has(r)){const n=Ni(r);return n&&n.default||0}return r=dd.has(r)?r:si(r),t.getAttribute(r)}measureInstanceViewportBox(){return ze()}scrapeMotionValuesFromProps(t,r){return pd(t,r)}build(t,r,n,o){pi(t,r,n,this.isSVGTag,o.transformTemplate)}renderInstance(t,r,n,o){fd(t,r,n,o)}mount(t){this.isSVGTag=hi(t.tagName),super.mount(t)}}const h5=(e,t)=>ci(e)?new p5(t,{enableHardwareAcceleration:!1}):new f5(t,{enableHardwareAcceleration:!0}),m5={...Wb,...f2,...Gy,...{layout:{ProjectionNode:up,MeasureLayout:Ff}}},yp=wv((e,t)=>Jv(e,t,m5,h5));function xp(){const e=f.useRef(!1);return ai(()=>(e.current=!0,()=>{e.current=!1}),[]),e}function wp(){const e=xp(),[t,r]=f.useState(0),n=f.useCallback(()=>{e.current&&r(t+1)},[t]);return[f.useCallback(()=>Ee.postRender(n),[n]),t]}class g5 extends W.Component{getSnapshotBeforeUpdate(t){const r=this.props.childRef.current;if(r&&t.isPresent&&!this.props.isPresent){const n=this.props.sizeRef.current;n.height=r.offsetHeight||0,n.width=r.offsetWidth||0,n.top=r.offsetTop,n.left=r.offsetLeft}return null}componentDidUpdate(){}render(){return this.props.children}}function v5({children:e,isPresent:t}){const r=f.useId(),n=f.useRef(null),o=f.useRef({width:0,height:0,top:0,left:0});return f.useInsertionEffect(()=>{const{width:a,height:s,top:i,left:l}=o.current;if(t||!n.current||!a||!s)return;n.current.dataset.motionPopId=r;const c=document.createElement("style");return document.head.appendChild(c),c.sheet&&c.sheet.insertRule(`
28
- [data-motion-pop-id="${r}"] {
27
+ Check the top-level render call using <`+_+">.")}return L}}function ba(C,L){{if(!C._store||C._store.validated||C.key!=null)return;C._store.validated=!0;var _=nd(L);if(ga[_])return;ga[_]=!0;var U="";C&&C._owner&&C._owner!==Et.current&&(U=" It was passed a child from "+I(C._owner.type)+"."),Pt(C),y('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',_,U),Pt(null)}}function va(C,L){{if(typeof C!="object")return;if(mt(C))for(var _=0;_<C.length;_++){var U=C[_];pr(U)&&ba(U,L)}else if(pr(C))C._store&&(C._store.validated=!0);else if(C){var oe=b(C);if(typeof oe=="function"&&oe!==C.entries)for(var se=oe.call(C),te;!(te=se.next()).done;)pr(te.value)&&ba(te.value,L)}}}function rd(C){{var L=C.type;if(L==null||typeof L=="string")return;var _;if(typeof L=="function")_=L.propTypes;else if(typeof L=="object"&&(L.$$typeof===l||L.$$typeof===d))_=L.propTypes;else return;if(_){var U=I(L);Kt(_,C.props,"prop",U,C)}else if(L.PropTypes!==void 0&&!fr){fr=!0;var oe=I(L);y("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",oe||"Unknown")}typeof L.getDefaultProps=="function"&&!L.getDefaultProps.isReactClassApproved&&y("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function od(C){{for(var L=Object.keys(C.props),_=0;_<L.length;_++){var U=L[_];if(U!=="children"&&U!=="key"){Pt(C),y("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",U),Pt(null);break}}C.ref!==null&&(Pt(C),y("Invalid attribute `ref` supplied to `React.Fragment`."),Pt(null))}}function ya(C,L,_,U,oe,se){{var te=$(C);if(!te){var ee="";(C===void 0||typeof C=="object"&&C!==null&&Object.keys(C).length===0)&&(ee+=" 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 De=td(oe);De?ee+=De:ee+=ha();var ve;C===null?ve="null":mt(C)?ve="array":C!==void 0&&C.$$typeof===t?(ve="<"+(I(C.type)||"Unknown")+" />",ee=" Did you accidentally export a JSX literal instead of a component?"):ve=typeof C,y("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",ve,ee)}var Ce=xe(C,L,_,oe,se);if(Ce==null)return Ce;if(te){var _e=L.children;if(_e!==void 0)if(U)if(mt(_e)){for(var St=0;St<_e.length;St++)va(_e[St],C);Object.freeze&&Object.freeze(_e)}else y("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else va(_e,C)}return C===r?od(Ce):rd(Ce),Ce}}function ad(C,L,_){return ya(C,L,_,!0)}function id(C,L,_){return ya(C,L,_,!1)}var sd=id,ld=ad;to.Fragment=r,to.jsx=sd,to.jsxs=ld}()),to}process.env.NODE_ENV==="production"?ys.exports=Rb():ys.exports=zb();var F=ys.exports,fd=e=>typeof e=="boolean"?`${e}`:e===0?"0":e,nt=e=>!e||typeof e!="object"||Object.keys(e).length===0,Hb=(e,t)=>JSON.stringify(e)===JSON.stringify(t);function pd(e,t){e.forEach(function(n){Array.isArray(n)?pd(n,t):t.push(n)})}function md(e){let t=[];return pd(e,t),t}var Xb=(...e)=>md(e).filter(Boolean),hd=(e,t)=>{let n={},r=Object.keys(e),o=Object.keys(t);for(let a of r)if(o.includes(a)){let i=e[a],s=t[a];typeof i=="object"&&typeof s=="object"?n[a]=hd(i,s):n[a]=s+" "+i}else n[a]=e[a];for(let a of o)r.includes(a)||(n[a]=t[a]);return n},gd=e=>!e||typeof e!="string"?e:e.replace(/\s+/g," ").trim();function Zb(){for(var e=0,t,n,r="";e<arguments.length;)(t=arguments[e++])&&(n=bd(t))&&(r&&(r+=" "),r+=n);return r}function bd(e){if(typeof e=="string")return e;for(var t,n="",r=0;r<e.length;r++)e[r]&&(t=bd(e[r]))&&(n&&(n+=" "),n+=t);return n}var xs="-";function Yb(e){var t=Kb(e),n=e.conflictingClassGroups,r=e.conflictingClassGroupModifiers,o=r===void 0?{}:r;function a(s){var l=s.split(xs);return l[0]===""&&l.length!==1&&l.shift(),vd(l,t)||Ub(s)}function i(s,l){var u=n[s]||[];return l&&o[s]?[].concat(u,o[s]):u}return{getClassGroupId:a,getConflictingClassGroupIds:i}}function vd(e,t){var i;if(e.length===0)return t.classGroupId;var n=e[0],r=t.nextPart.get(n),o=r?vd(e.slice(1),r):void 0;if(o)return o;if(t.validators.length!==0){var a=e.join(xs);return(i=t.validators.find(function(s){var l=s.validator;return l(a)}))==null?void 0:i.classGroupId}}var yd=/^\[(.+)\]$/;function Ub(e){if(yd.test(e)){var t=yd.exec(e)[1],n=t==null?void 0:t.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}}function Kb(e){var t=e.theme,n=e.prefix,r={nextPart:new Map,validators:[]},o=Qb(Object.entries(e.classGroups),n);return o.forEach(function(a){var i=a[0],s=a[1];Cs(s,r,i,t)}),r}function Cs(e,t,n,r){e.forEach(function(o){if(typeof o=="string"){var a=o===""?t:xd(t,o);a.classGroupId=n;return}if(typeof o=="function"){if(Jb(o)){Cs(o(r),t,n,r);return}t.validators.push({validator:o,classGroupId:n});return}Object.entries(o).forEach(function(i){var s=i[0],l=i[1];Cs(l,xd(t,s),n,r)})})}function xd(e,t){var n=e;return t.split(xs).forEach(function(r){n.nextPart.has(r)||n.nextPart.set(r,{nextPart:new Map,validators:[]}),n=n.nextPart.get(r)}),n}function Jb(e){return e.isThemeGetter}function Qb(e,t){return t?e.map(function(n){var r=n[0],o=n[1],a=o.map(function(i){return typeof i=="string"?t+i:typeof i=="object"?Object.fromEntries(Object.entries(i).map(function(s){var l=s[0],u=s[1];return[t+l,u]})):i});return[r,a]}):e}function qb(e){if(e<1)return{get:function(){},set:function(){}};var t=0,n=new Map,r=new Map;function o(a,i){n.set(a,i),t++,t>e&&(t=0,r=n,n=new Map)}return{get:function(i){var s=n.get(i);if(s!==void 0)return s;if((s=r.get(i))!==void 0)return o(i,s),s},set:function(i,s){n.has(i)?n.set(i,s):o(i,s)}}}var Cd="!";function ev(e){var t=e.separator||":",n=t.length===1,r=t[0],o=t.length;return function(i){for(var s=[],l=0,u=0,c,d=0;d<i.length;d++){var p=i[d];if(l===0){if(p===r&&(n||i.slice(d,d+o)===t)){s.push(i.slice(u,d)),u=d+o;continue}if(p==="/"){c=d;continue}}p==="["?l++:p==="]"&&l--}var m=s.length===0?i:i.substring(u),h=m.startsWith(Cd),g=h?m.substring(1):m,b=c&&c>u?c-u:void 0;return{modifiers:s,hasImportantModifier:h,baseClassName:g,maybePostfixModifierPosition:b}}}function tv(e){if(e.length<=1)return e;var t=[],n=[];return e.forEach(function(r){var o=r[0]==="[";o?(t.push.apply(t,n.sort().concat([r])),n=[]):n.push(r)}),t.push.apply(t,n.sort()),t}function nv(e){return{cache:qb(e.cacheSize),splitModifiers:ev(e),...Yb(e)}}var rv=/\s+/;function ov(e,t){var n=t.splitModifiers,r=t.getClassGroupId,o=t.getConflictingClassGroupIds,a=new Set;return e.trim().split(rv).map(function(i){var s=n(i),l=s.modifiers,u=s.hasImportantModifier,c=s.baseClassName,d=s.maybePostfixModifierPosition,p=r(d?c.substring(0,d):c),m=!!d;if(!p){if(!d)return{isTailwindClass:!1,originalClassName:i};if(p=r(c),!p)return{isTailwindClass:!1,originalClassName:i};m=!1}var h=tv(l).join(":"),g=u?h+Cd:h;return{isTailwindClass:!0,modifierId:g,classGroupId:p,originalClassName:i,hasPostfixModifier:m}}).reverse().filter(function(i){if(!i.isTailwindClass)return!0;var s=i.modifierId,l=i.classGroupId,u=i.hasPostfixModifier,c=s+l;return a.has(c)?!1:(a.add(c),o(l,u).forEach(function(d){return a.add(s+d)}),!0)}).reverse().map(function(i){return i.originalClassName}).join(" ")}function ws(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r,o,a,i=s;function s(u){var c=t[0],d=t.slice(1),p=d.reduce(function(m,h){return h(m)},c());return r=nv(p),o=r.cache.get,a=r.cache.set,i=l,l(u)}function l(u){var c=o(u);if(c)return c;var d=ov(u,r);return a(u,d),d}return function(){return i(Zb.apply(null,arguments))}}function Be(e){var t=function(r){return r[e]||[]};return t.isThemeGetter=!0,t}var wd=/^\[(?:([a-z-]+):)?(.+)\]$/i,av=/^\d+\/\d+$/,iv=new Set(["px","full","screen"]),sv=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,lv=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,uv=/^-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/;function Nt(e){return On(e)||iv.has(e)||av.test(e)||Is(e)}function Is(e){return Fn(e,"length",hv)}function cv(e){return Fn(e,"size",Id)}function dv(e){return Fn(e,"position",Id)}function fv(e){return Fn(e,"url",gv)}function Ca(e){return Fn(e,"number",On)}function On(e){return!Number.isNaN(Number(e))}function pv(e){return e.endsWith("%")&&On(e.slice(0,-1))}function no(e){return Ed(e)||Fn(e,"number",Ed)}function Ie(e){return wd.test(e)}function ro(){return!0}function bn(e){return sv.test(e)}function mv(e){return Fn(e,"",bv)}function Fn(e,t,n){var r=wd.exec(e);return r?r[1]?r[1]===t:n(r[2]):!1}function hv(e){return lv.test(e)}function Id(){return!1}function gv(e){return e.startsWith("url(")}function Ed(e){return Number.isInteger(Number(e))}function bv(e){return uv.test(e)}function Es(){var e=Be("colors"),t=Be("spacing"),n=Be("blur"),r=Be("brightness"),o=Be("borderColor"),a=Be("borderRadius"),i=Be("borderSpacing"),s=Be("borderWidth"),l=Be("contrast"),u=Be("grayscale"),c=Be("hueRotate"),d=Be("invert"),p=Be("gap"),m=Be("gradientColorStops"),h=Be("gradientColorStopPositions"),g=Be("inset"),b=Be("margin"),x=Be("opacity"),y=Be("padding"),w=Be("saturate"),S=Be("scale"),P=Be("sepia"),A=Be("skew"),T=Be("space"),v=Be("translate"),D=function(){return["auto","contain","none"]},$=function(){return["auto","hidden","clip","visible","scroll"]},M=function(){return["auto",Ie,t]},k=function(){return[Ie,t]},I=function(){return["",Nt]},E=function(){return["auto",On,Ie]},O=function(){return["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"]},j=function(){return["solid","dashed","dotted","double","none"]},N=function(){return["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity","plus-lighter"]},W=function(){return["start","end","center","between","around","evenly","stretch"]},K=function(){return["","0",Ie]},H=function(){return["auto","avoid","all","avoid-page","page","left","right","column"]},X=function(){return[On,Ca]},B=function(){return[On,Ie]};return{cacheSize:500,theme:{colors:[ro],spacing:[Nt],blur:["none","",bn,Ie],brightness:X(),borderColor:[e],borderRadius:["none","","full",bn,Ie],borderSpacing:k(),borderWidth:I(),contrast:X(),grayscale:K(),hueRotate:B(),invert:K(),gap:k(),gradientColorStops:[e],gradientColorStopPositions:[pv,Is],inset:M(),margin:M(),opacity:X(),padding:k(),saturate:X(),scale:X(),sepia:K(),skew:B(),space:k(),translate:k()},classGroups:{aspect:[{aspect:["auto","square","video",Ie]}],container:["container"],columns:[{columns:[bn]}],"break-after":[{"break-after":H()}],"break-before":[{"break-before":H()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none"]}],clear:[{clear:["left","right","both","none"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[].concat(O(),[Ie])}],overflow:[{overflow:$()}],"overflow-x":[{"overflow-x":$()}],"overflow-y":[{"overflow-y":$()}],overscroll:[{overscroll:D()}],"overscroll-x":[{"overscroll-x":D()}],"overscroll-y":[{"overscroll-y":D()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[g]}],"inset-x":[{"inset-x":[g]}],"inset-y":[{"inset-y":[g]}],start:[{start:[g]}],end:[{end:[g]}],top:[{top:[g]}],right:[{right:[g]}],bottom:[{bottom:[g]}],left:[{left:[g]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",no]}],basis:[{basis:M()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",Ie]}],grow:[{grow:K()}],shrink:[{shrink:K()}],order:[{order:["first","last","none",no]}],"grid-cols":[{"grid-cols":[ro]}],"col-start-end":[{col:["auto",{span:["full",no]},Ie]}],"col-start":[{"col-start":E()}],"col-end":[{"col-end":E()}],"grid-rows":[{"grid-rows":[ro]}],"row-start-end":[{row:["auto",{span:[no]},Ie]}],"row-start":[{"row-start":E()}],"row-end":[{"row-end":E()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",Ie]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",Ie]}],gap:[{gap:[p]}],"gap-x":[{"gap-x":[p]}],"gap-y":[{"gap-y":[p]}],"justify-content":[{justify:["normal"].concat(W())}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal"].concat(W(),["baseline"])}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[].concat(W(),["baseline"])}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[y]}],px:[{px:[y]}],py:[{py:[y]}],ps:[{ps:[y]}],pe:[{pe:[y]}],pt:[{pt:[y]}],pr:[{pr:[y]}],pb:[{pb:[y]}],pl:[{pl:[y]}],m:[{m:[b]}],mx:[{mx:[b]}],my:[{my:[b]}],ms:[{ms:[b]}],me:[{me:[b]}],mt:[{mt:[b]}],mr:[{mr:[b]}],mb:[{mb:[b]}],ml:[{ml:[b]}],"space-x":[{"space-x":[T]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[T]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit",Ie,t]}],"min-w":[{"min-w":["min","max","fit",Ie,Nt]}],"max-w":[{"max-w":["0","none","full","min","max","fit","prose",{screen:[bn]},bn,Ie]}],h:[{h:[Ie,t,"auto","min","max","fit"]}],"min-h":[{"min-h":["min","max","fit",Ie,Nt]}],"max-h":[{"max-h":[Ie,t,"min","max","fit"]}],"font-size":[{text:["base",bn,Is]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",Ca]}],"font-family":[{font:[ro]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractons"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",Ie]}],"line-clamp":[{"line-clamp":["none",On,Ca]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",Ie,Nt]}],"list-image":[{"list-image":["none",Ie]}],"list-style-type":[{list:["none","disc","decimal",Ie]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[x]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[x]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[].concat(j(),["wavy"])}],"text-decoration-thickness":[{decoration:["auto","from-font",Nt]}],"underline-offset":[{"underline-offset":["auto",Ie,Nt]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],indent:[{indent:k()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",Ie]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",Ie]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[x]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[].concat(O(),[dv])}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",cv]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},fv]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[h]}],"gradient-via-pos":[{via:[h]}],"gradient-to-pos":[{to:[h]}],"gradient-from":[{from:[m]}],"gradient-via":[{via:[m]}],"gradient-to":[{to:[m]}],rounded:[{rounded:[a]}],"rounded-s":[{"rounded-s":[a]}],"rounded-e":[{"rounded-e":[a]}],"rounded-t":[{"rounded-t":[a]}],"rounded-r":[{"rounded-r":[a]}],"rounded-b":[{"rounded-b":[a]}],"rounded-l":[{"rounded-l":[a]}],"rounded-ss":[{"rounded-ss":[a]}],"rounded-se":[{"rounded-se":[a]}],"rounded-ee":[{"rounded-ee":[a]}],"rounded-es":[{"rounded-es":[a]}],"rounded-tl":[{"rounded-tl":[a]}],"rounded-tr":[{"rounded-tr":[a]}],"rounded-br":[{"rounded-br":[a]}],"rounded-bl":[{"rounded-bl":[a]}],"border-w":[{border:[s]}],"border-w-x":[{"border-x":[s]}],"border-w-y":[{"border-y":[s]}],"border-w-s":[{"border-s":[s]}],"border-w-e":[{"border-e":[s]}],"border-w-t":[{"border-t":[s]}],"border-w-r":[{"border-r":[s]}],"border-w-b":[{"border-b":[s]}],"border-w-l":[{"border-l":[s]}],"border-opacity":[{"border-opacity":[x]}],"border-style":[{border:[].concat(j(),["hidden"])}],"divide-x":[{"divide-x":[s]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[s]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[x]}],"divide-style":[{divide:j()}],"border-color":[{border:[o]}],"border-color-x":[{"border-x":[o]}],"border-color-y":[{"border-y":[o]}],"border-color-t":[{"border-t":[o]}],"border-color-r":[{"border-r":[o]}],"border-color-b":[{"border-b":[o]}],"border-color-l":[{"border-l":[o]}],"divide-color":[{divide:[o]}],"outline-style":[{outline:[""].concat(j())}],"outline-offset":[{"outline-offset":[Ie,Nt]}],"outline-w":[{outline:[Nt]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:I()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[x]}],"ring-offset-w":[{"ring-offset":[Nt]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",bn,mv]}],"shadow-color":[{shadow:[ro]}],opacity:[{opacity:[x]}],"mix-blend":[{"mix-blend":N()}],"bg-blend":[{"bg-blend":N()}],filter:[{filter:["","none"]}],blur:[{blur:[n]}],brightness:[{brightness:[r]}],contrast:[{contrast:[l]}],"drop-shadow":[{"drop-shadow":["","none",bn,Ie]}],grayscale:[{grayscale:[u]}],"hue-rotate":[{"hue-rotate":[c]}],invert:[{invert:[d]}],saturate:[{saturate:[w]}],sepia:[{sepia:[P]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[n]}],"backdrop-brightness":[{"backdrop-brightness":[r]}],"backdrop-contrast":[{"backdrop-contrast":[l]}],"backdrop-grayscale":[{"backdrop-grayscale":[u]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[c]}],"backdrop-invert":[{"backdrop-invert":[d]}],"backdrop-opacity":[{"backdrop-opacity":[x]}],"backdrop-saturate":[{"backdrop-saturate":[w]}],"backdrop-sepia":[{"backdrop-sepia":[P]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[i]}],"border-spacing-x":[{"border-spacing-x":[i]}],"border-spacing-y":[{"border-spacing-y":[i]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",Ie]}],duration:[{duration:B()}],ease:[{ease:["linear","in","out","in-out",Ie]}],delay:[{delay:B()}],animate:[{animate:["none","spin","ping","pulse","bounce",Ie]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[S]}],"scale-x":[{"scale-x":[S]}],"scale-y":[{"scale-y":[S]}],rotate:[{rotate:[no,Ie]}],"translate-x":[{"translate-x":[v]}],"translate-y":[{"translate-y":[v]}],"skew-x":[{"skew-x":[A]}],"skew-y":[{"skew-y":[A]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",Ie]}],accent:[{accent:["auto",e]}],appearance:["appearance-none"],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",Ie]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":k()}],"scroll-mx":[{"scroll-mx":k()}],"scroll-my":[{"scroll-my":k()}],"scroll-ms":[{"scroll-ms":k()}],"scroll-me":[{"scroll-me":k()}],"scroll-mt":[{"scroll-mt":k()}],"scroll-mr":[{"scroll-mr":k()}],"scroll-mb":[{"scroll-mb":k()}],"scroll-ml":[{"scroll-ml":k()}],"scroll-p":[{"scroll-p":k()}],"scroll-px":[{"scroll-px":k()}],"scroll-py":[{"scroll-py":k()}],"scroll-ps":[{"scroll-ps":k()}],"scroll-pe":[{"scroll-pe":k()}],"scroll-pt":[{"scroll-pt":k()}],"scroll-pr":[{"scroll-pr":k()}],"scroll-pb":[{"scroll-pb":k()}],"scroll-pl":[{"scroll-pl":k()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","pinch-zoom","manipulation",{pan:["x","left","right","y","up","down"]}]}],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",Ie]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[Nt,Ca]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}}function vv(e,t){for(var n in t)Pd(e,n,t[n]);return e}var yv=Object.prototype.hasOwnProperty,xv=new Set(["string","number","boolean"]);function Pd(e,t,n){if(!yv.call(e,t)||xv.has(typeof n)||n===null){e[t]=n;return}if(Array.isArray(n)&&Array.isArray(e[t])){e[t]=e[t].concat(n);return}if(typeof n=="object"&&typeof e[t]=="object"){if(e[t]===null){e[t]=n;return}for(var r in n)Pd(e[t],r,n[r])}}function Cv(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return typeof e=="function"?ws.apply(void 0,[Es,e].concat(n)):ws.apply(void 0,[function(){return vv(Es(),e)}].concat(n))}var Sd=ws(Es),wv={twMerge:!0,twMergeConfig:{},responsiveVariants:!1},Md=e=>e||void 0,wa=(...e)=>Md(md(e).filter(Boolean).join(" ")),Ps=null,Ia={},Ss=!1,oo=(...e)=>t=>t.twMerge?((!Ps||Ss)&&(Ss=!1,Ps=nt(Ia)?Sd:Cv(Ia)),Md(Ps(wa(e)))):wa(e),Ad=(e,t)=>{for(let n in t)e.hasOwnProperty(n)?e[n]=wa(e[n],t[n]):e[n]=t[n];return e},ye=(e,t)=>{let{extend:n=null,slots:r={},variants:o={},compoundVariants:a=[],compoundSlots:i=[],defaultVariants:s={}}=e,l={...wv,...t},u=n!=null&&n.base?wa(n.base,e==null?void 0:e.base):e==null?void 0:e.base,c=n!=null&&n.variants&&!nt(n.variants)?hd(o,n.variants):o,d=n!=null&&n.defaultVariants&&!nt(n.defaultVariants)?{...n.defaultVariants,...s}:s;!nt(l.twMergeConfig)&&!Hb(l.twMergeConfig,Ia)&&(Ss=!0,Ia=l.twMergeConfig);let p=nt(r)?{}:{base:e==null?void 0:e.base,...r},m=nt(n==null?void 0:n.slots)?p:Ad({...n==null?void 0:n.slots},nt(p)?{base:e==null?void 0:e.base}:p),h=b=>{if(nt(c)&&nt(r)&&nt(n==null?void 0:n.slots))return oo(u,b==null?void 0:b.class,b==null?void 0:b.className)(l);if(a&&!Array.isArray(a))throw new TypeError(`The "compoundVariants" prop must be an array. Received: ${typeof a}`);if(i&&!Array.isArray(i))throw new TypeError(`The "compoundSlots" prop must be an array. Received: ${typeof i}`);let x=(M,k,I=[],E)=>{let O=I;if(typeof k=="string")O=O.concat(gd(k).split(" ").map(j=>`${M}:${j}`));else if(Array.isArray(k))O=O.concat(k.reduce((j,N)=>j.concat(`${M}:${N}`),[]));else if(typeof k=="object"&&typeof E=="string"){for(let j in k)if(k.hasOwnProperty(j)&&j===E){let N=k[j];if(N&&typeof N=="string"){let W=gd(N);O[E]?O[E]=O[E].concat(W.split(" ").map(K=>`${M}:${K}`)):O[E]=W.split(" ").map(K=>`${M}:${K}`)}else Array.isArray(N)&&N.length>0&&(O[E]=N.reduce((W,K)=>W.concat(`${M}:${K}`),[]))}}return O},y=(M,k=c,I=null,E=null)=>{var O;let j=k[M];if(!j||nt(j))return null;let N=(O=E==null?void 0:E[M])!=null?O:b==null?void 0:b[M];if(N===null)return null;let W=fd(N),K=Array.isArray(l.responsiveVariants)&&l.responsiveVariants.length>0||l.responsiveVariants===!0,H=d==null?void 0:d[M],X=[];if(typeof W=="object"&&K)for(let[G,Y]of Object.entries(W)){let R=j[Y];if(G==="initial"){H=Y;continue}Array.isArray(l.responsiveVariants)&&!l.responsiveVariants.includes(G)||(X=x(G,R,X,I))}let B=j[W]||j[fd(H)];return typeof X=="object"&&typeof I=="string"&&X[I]?Ad(X,B):X.length>0?(X.push(B),X):B},w=()=>c?Object.keys(c).map(M=>y(M,c)):null,S=(M,k)=>{if(!c||typeof c!="object")return null;let I=new Array;for(let E in c){let O=y(E,c,M,k),j=M==="base"&&typeof O=="string"?O:O&&O[M];j&&(I[I.length]=j)}return I},P={};for(let M in b)b[M]!==void 0&&(P[M]=b[M]);let A=(M,k)=>{var I;let E=typeof(b==null?void 0:b[M])=="object"?{[M]:(I=b[M])==null?void 0:I.initial}:{};return{...d,...P,...E,...k}},T=(M=[],k)=>{let I=[];for(let{class:E,className:O,...j}of M){let N=!0;for(let[W,K]of Object.entries(j)){let H=A(W,k);if(Array.isArray(K)){if(!K.includes(H[W])){N=!1;break}}else if(H[W]!==K){N=!1;break}}N&&(E&&I.push(E),O&&I.push(O))}return I},v=M=>{let k=T(a,M),I=T(n==null?void 0:n.compoundVariants,M);return Xb(I,k)},D=M=>{let k=v(M);if(!Array.isArray(k))return k;let I={};for(let E of k)if(typeof E=="string"&&(I.base=oo(I.base,E)(l)),typeof E=="object")for(let[O,j]of Object.entries(E))I[O]=oo(I[O],j)(l);return I},$=M=>{if(i.length<1)return null;let k={};for(let{slots:I=[],class:E,className:O,...j}of i){if(!nt(j)){let N=!0;for(let W of Object.keys(j)){let K=A(W,M)[W];if(K===void 0||(Array.isArray(j[W])?!j[W].includes(K):j[W]!==K)){N=!1;break}}if(!N)continue}for(let N of I)k[N]=k[N]||[],k[N].push([E,O])}return k};if(!nt(r)||!nt(n==null?void 0:n.slots)){let M={};if(typeof m=="object"&&!nt(m))for(let k of Object.keys(m))M[k]=I=>{var E,O;return oo(m[k],S(k,I),((E=D(I))!=null?E:[])[k],((O=$(I))!=null?O:[])[k],I==null?void 0:I.class,I==null?void 0:I.className)(l)};return M}return oo(u,w(),v(),b==null?void 0:b.class,b==null?void 0:b.className)(l)},g=()=>{if(!(!c||typeof c!="object"))return Object.keys(c)};return h.variantKeys=g(),h.extend=n,h.base=u,h.slots=m,h.variants=c,h.defaultVariants=d,h.compoundSlots=i,h.compoundVariants=a,h};const Iv=258,Ev=70,Pv=223,Sv=266;function Mv({variant:e="default",className:t,short:n,width:r,height:o}){let a=n?Pv:Iv,i=n?Sv:Ev;const s=a/i;r&&(a=r,i=parseFloat((r/s).toFixed(2))),o&&(i=o,a=parseFloat((o*s).toFixed(2)));const l=ye({base:"",variants:{variant:{default:"fill-secondary-green-500",dark:"fill-primary-green-500",light:"fill-white"}}});return n?F.jsx("svg",{preserveAspectRatio:"none",width:a,height:i,viewBox:"0 0 223 266",xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",className:l({variant:e,className:t}),children:F.jsx("path",{d:"M222.964 194.18V85.6459C222.964 85.2381 222.88 84.8344 222.718 84.458C222.556 84.0816 222.319 83.74 222.02 83.4529C221.721 83.1657 221.366 82.9388 220.975 82.7852C220.585 82.6316 220.167 82.5543 219.746 82.5577H182.608C182.191 82.5577 181.777 82.6378 181.392 82.7933C181.006 82.9488 180.656 83.1767 180.362 83.4638C180.068 83.7509 179.836 84.0916 179.678 84.4661C179.521 84.8406 179.442 85.2416 179.445 85.6459V171.586C177.727 171.586 176.719 171.586 176.364 171.586C164.721 170.029 159.213 167.178 152.914 161.028C146.616 154.878 144.516 146.089 144.025 135.637V104.914C144.03 104.501 143.948 104.091 143.784 103.71C143.62 103.329 143.377 102.984 143.071 102.697L121.966 82.9009L101.434 62.498C101.143 62.1997 100.792 61.9617 100.403 61.7984C100.014 61.6351 99.5947 61.5498 99.1707 61.5478H66.0684C66.7731 54.8644 69.6353 48.5659 74.2486 43.5468C77.1792 40.3682 80.7538 37.8071 84.7504 36.0226C88.7469 34.2381 93.08 33.2684 97.4802 33.1738C98.2977 33.14 99.0706 32.8033 99.639 32.2335C100.207 31.6636 100.528 30.9041 100.534 30.112V2.66184C100.546 2.04062 100.331 1.43533 99.9266 0.952523C99.5226 0.469716 98.9556 0.140347 98.3255 0.0223983H97.7529C97.5176 -0.00746611 97.2792 -0.00746611 97.0439 0.0223983C84.1284 0.266286 71.4425 3.37237 59.9605 9.10208C49.7635 14.1971 41.0132 21.6355 34.4766 30.7653C27.94 39.8951 23.8167 50.4375 22.4681 61.4686H3.163C2.32163 61.4756 1.51715 61.804 0.924744 62.3824C0.332339 62.9608 -3.07314e-05 63.7423 2.13119e-09 64.5568V100.612C2.13119e-09 101.014 0.0817794 101.412 0.240735 101.783C0.39969 102.155 0.632697 102.492 0.926408 102.777C1.22012 103.061 1.56884 103.286 1.95259 103.44C2.33634 103.594 2.74763 103.673 3.163 103.673H21.841V201.517C21.841 201.922 21.9237 202.322 22.0844 202.695C22.245 203.068 22.4804 203.407 22.777 203.692C23.0736 203.976 23.4255 204.201 23.8124 204.354C24.1993 204.506 24.6136 204.583 25.0313 204.579H62.1691C62.5868 204.583 63.0011 204.506 63.388 204.354C63.7749 204.201 64.1268 203.976 64.4234 203.692C64.72 203.407 64.9554 203.068 65.116 202.695C65.2767 202.322 65.3595 201.922 65.3594 201.517V103.673H100.534V132.707C100.534 132.707 100.534 132.918 100.534 133.05C100.31 146.04 103.822 158.834 110.677 170.002C117.395 180.787 127.07 189.558 138.626 195.341C150.258 201.217 163.137 204.406 176.255 204.658H179.5C178.479 211.37 175.291 217.597 170.393 222.448C163.549 229.416 158.013 233.006 147.379 233.006C146.958 233.002 146.54 233.08 146.15 233.233C145.76 233.387 145.405 233.614 145.106 233.901C144.806 234.188 144.569 234.53 144.407 234.906C144.245 235.283 144.162 235.686 144.162 236.094V262.937C144.158 263.345 144.239 263.749 144.4 264.126C144.561 264.502 144.799 264.843 145.099 265.129C145.399 265.415 145.756 265.639 146.148 265.789C146.539 265.938 146.958 266.01 147.379 265.999C160.384 265.772 173.152 262.589 184.653 256.708C196.283 250.973 206.042 242.23 212.848 231.449C219.691 220.275 223.202 207.485 222.991 194.496C222.991 194.496 222.964 194.312 222.964 194.18Z"})}):F.jsxs("svg",{preserveAspectRatio:"none",width:a,height:i,viewBox:"0 0 258 70",xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",className:l({variant:e,className:t}),children:[F.jsx("path",{d:"M44.1576 5.54621e-10H53.8953C54.117 5.54621e-10 54.3296 0.0853594 54.4864 0.2373C54.6431 0.389241 54.7312 0.595316 54.7312 0.810193V52.8634C54.7312 52.9694 54.7095 53.0745 54.6674 53.1724C54.6253 53.2703 54.5637 53.3591 54.486 53.4338C54.4082 53.5085 54.316 53.5675 54.2147 53.6075C54.1133 53.6474 54.0048 53.6675 53.8953 53.6666H44.1576C43.9378 53.6666 43.727 53.582 43.5716 53.4314C43.4162 53.2807 43.3289 53.0764 43.3289 52.8634V0.810193C43.3279 0.704125 43.3487 0.598926 43.3899 0.500669C43.4311 0.402411 43.492 0.31304 43.5691 0.237715C43.6461 0.162389 43.7378 0.102601 43.8388 0.0618008C43.9398 0.0210004 44.0482 -3.94095e-06 44.1576 5.54621e-10Z"}),F.jsx("path",{d:"M68.7089 51.2755C65.8506 49.7718 63.4549 47.4816 61.7891 44.6605C60.1032 41.7448 59.2396 38.4048 59.2947 35.0137C59.2396 31.6226 60.1032 28.2825 61.7891 25.3668C63.45 22.5364 65.8465 20.2384 68.7089 18.7312C71.8146 17.1539 75.2322 16.3335 78.6964 16.3335C82.1606 16.3335 85.5782 17.1539 88.6838 18.7312C91.5312 20.2475 93.9147 22.5442 95.5701 25.3668C97.251 28.2844 98.1121 31.6236 98.0578 35.0137C98.1121 38.4038 97.251 41.743 95.5701 44.6605C93.9093 47.4735 91.5268 49.7622 88.6838 51.2755C85.577 52.8486 82.1599 53.6668 78.6964 53.6668C75.2329 53.6668 71.8157 52.8486 68.7089 51.2755ZM85.1703 42.3177C86.8555 40.4802 87.6982 38.0432 87.6982 35.0068C87.6982 31.9703 86.8555 29.5379 85.1703 27.7096C84.3456 26.806 83.3434 26.093 82.2302 25.6178C81.1169 25.1426 79.9181 24.9161 78.7131 24.9534C77.5026 24.9186 76.2984 25.146 75.179 25.6209C74.0596 26.0957 73.0499 26.8074 72.2157 27.7096C70.5215 29.5287 69.6744 31.9657 69.6744 35.0206C69.6744 38.0754 70.5215 40.5078 72.2157 42.3177C73.0507 43.2189 74.0605 43.9299 75.1797 44.4047C76.2989 44.8795 77.5027 45.1075 78.7131 45.074C79.9179 45.1103 81.1166 44.8834 82.2297 44.4083C83.3428 43.9332 84.3451 43.2206 85.1703 42.3177Z"}),F.jsx("path",{d:"M187.827 5.54621e-10H197.565C197.787 5.54621e-10 197.999 0.0853594 198.156 0.2373C198.313 0.389241 198.401 0.595316 198.401 0.810193V52.8634C198.401 52.9694 198.379 53.0745 198.337 53.1724C198.295 53.2703 198.233 53.3591 198.156 53.4338C198.078 53.5085 197.986 53.5675 197.884 53.6075C197.783 53.6474 197.674 53.6675 197.565 53.6666H187.827C187.718 53.6666 187.611 53.6459 187.51 53.6055C187.41 53.5651 187.318 53.506 187.241 53.4314C187.164 53.3568 187.103 53.2682 187.062 53.1708C187.02 53.0733 186.999 52.9688 186.999 52.8634V0.810193C186.998 0.704125 187.018 0.598926 187.06 0.500669C187.101 0.402411 187.162 0.31304 187.239 0.237715C187.316 0.162389 187.407 0.102601 187.508 0.0618008C187.61 0.0210004 187.718 -3.94095e-06 187.827 5.54621e-10V5.54621e-10Z"}),F.jsx("path",{d:"M138.924 25.2187C137.26 22.3784 134.865 20.0701 132.005 18.5505C129.42 17.1729 126.578 16.3842 123.671 16.2378C123.128 16.1962 122.591 16.1408 122.027 16.1408C121.464 16.1408 120.927 16.1962 120.377 16.2378C117.94 16.3776 115.546 16.9589 113.304 17.955V0.810156C113.306 0.599481 113.227 0.396499 113.085 0.244956C112.944 0.0934118 112.75 0.00544026 112.546 0L103.406 0C103.198 0 102.998 0.0853555 102.851 0.237289C102.704 0.389223 102.621 0.59529 102.621 0.810156V52.861C102.623 53.0746 102.706 53.2789 102.853 53.4294C103 53.5798 103.199 53.6642 103.406 53.6642H112.546C112.752 53.6642 112.95 53.5796 113.096 53.4289C113.242 53.2783 113.324 53.074 113.324 52.861V51.8569C116.078 53.0793 119.049 53.6948 122.047 53.6642C125.51 53.718 128.931 52.8854 132.005 51.2407C134.853 49.7142 137.238 47.4069 138.897 44.5725C140.579 41.6406 141.441 38.285 141.386 34.8783C141.443 31.4859 140.591 28.1433 138.924 25.2187ZM128.523 42.2389C127.695 43.1457 126.691 43.8613 125.576 44.3387C124.461 44.8161 123.261 45.0445 122.054 45.0087C120.843 45.0424 119.638 44.8132 118.518 44.3361C117.398 43.859 116.387 43.1445 115.552 42.2389C114.427 40.9975 113.659 39.4587 113.331 37.7935C112.883 35.8844 112.883 33.8929 113.331 31.9839C113.659 30.3207 114.428 28.7842 115.552 27.5453C116.387 26.6387 117.397 25.9235 118.517 25.4463C119.638 24.9691 120.843 24.7406 122.054 24.7756C123.261 24.7385 124.462 24.9662 125.577 25.4437C126.692 25.9211 127.696 26.6375 128.523 27.5453C130.205 29.3918 131.046 31.8408 131.046 34.8921C131.046 37.9435 130.205 40.3924 128.523 42.2389Z"}),F.jsx("path",{d:"M171.742 17.1428V18.1215C169.01 16.9171 166.064 16.3092 163.092 16.3365C159.615 16.2772 156.179 17.1011 153.087 18.7349C150.224 20.2425 147.828 22.541 146.166 25.3719C144.48 28.2882 143.617 31.6289 143.672 35.0207C143.617 38.4125 144.48 41.7532 146.166 44.6695C147.834 47.4861 150.23 49.7718 153.087 51.2721C156.179 52.9037 159.616 53.7252 163.092 53.6636C166.064 53.693 169.009 53.0875 171.742 51.8855V52.8641C171.742 53.0762 171.824 53.2795 171.97 53.4294C172.116 53.5794 172.313 53.6636 172.52 53.6636H181.66C181.866 53.6636 182.064 53.5794 182.21 53.4294C182.355 53.2795 182.437 53.0762 182.437 52.8641V17.1428C182.437 16.9302 182.356 16.7261 182.21 16.5751C182.064 16.4241 181.866 16.3383 181.66 16.3365H172.52C172.313 16.3383 172.115 16.4241 171.969 16.5751C171.824 16.7261 171.742 16.9302 171.742 17.1428ZM169.549 42.3125C168.724 43.2155 167.722 43.9282 166.608 44.4035C165.495 44.8787 164.296 45.1056 163.092 45.0693C161.881 45.1028 160.677 44.8747 159.558 44.3998C158.439 43.9249 157.429 43.2138 156.594 42.3125C154.891 40.4746 154.039 38.0371 154.039 35C154.039 31.963 154.891 29.5255 156.594 27.6876C157.428 26.7852 158.438 26.0734 159.557 25.5984C160.677 25.1235 161.881 24.896 163.092 24.9308C164.297 24.8936 165.495 25.1201 166.609 25.5954C167.722 26.0707 168.724 26.7839 169.549 27.6876C170.66 28.9209 171.418 30.4446 171.742 32.0916C172.189 34.0033 172.189 35.9967 171.742 37.9085C171.416 39.5549 170.658 41.0781 169.549 42.3125Z"}),F.jsx("path",{d:"M41.0484 51.1316V17.1532C41.0485 16.9392 40.9619 16.7339 40.8076 16.582C40.6533 16.43 40.4437 16.3437 40.2246 16.3419H30.5438C30.3247 16.3437 30.1151 16.43 29.9608 16.582C29.8065 16.7339 29.7199 16.9392 29.7199 17.1532V18.2003C26.8101 16.9534 23.6643 16.3179 20.4866 16.335C16.8207 16.2935 13.2007 17.1342 9.9465 18.7828C6.92093 20.297 4.38759 22.6047 2.6309 25.4467C0.855237 28.3743 -0.0544231 31.7252 0.00296367 35.1271C-0.0590547 38.5392 0.853371 41.9008 2.638 44.8352C4.39099 47.6742 6.92257 49.9777 9.9465 51.4853C13.2111 53.1311 16.8413 53.9648 20.515 53.9123C23.7856 53.8752 27.015 53.196 30.0111 51.9152C30.0135 54.3789 29.0796 56.7559 27.3903 58.5861C25.6076 60.4167 24.116 61.3043 21.3318 61.3043C21.1127 61.3062 20.9031 61.3925 20.7488 61.5444C20.5945 61.6964 20.5079 61.9017 20.5079 62.1157V69.1887C20.5089 69.2968 20.5317 69.4036 20.5751 69.503C20.6185 69.6023 20.6817 69.6923 20.7609 69.7678C20.8402 69.8432 20.9339 69.9026 21.0368 69.9424C21.1397 69.9823 21.2496 70.0019 21.3603 70C24.7569 69.9521 28.0956 69.1331 31.112 67.6077C34.128 66.0809 36.6507 63.7667 38.3992 60.923C40.1863 57.9893 41.1012 54.6276 41.0413 51.2148C41.0413 51.2148 41.0484 51.1663 41.0484 51.1316ZM29.7199 37.8107C29.4003 39.553 28.5772 41.1698 27.3477 42.4706C26.475 43.379 25.4145 44.0961 24.2366 44.5742C23.0587 45.0524 21.7902 45.2808 20.515 45.2443C19.2361 45.2782 17.9641 45.0487 16.782 44.5708C15.5999 44.0929 14.5341 43.3773 13.654 42.4706C11.8594 40.6214 10.9598 38.1736 10.9551 35.1271C10.9503 32.0806 11.85 29.6328 13.654 27.7836C14.5349 26.878 15.6009 26.1631 16.7828 25.6852C17.9647 25.2074 19.2362 24.9773 20.515 25.0099C21.79 24.9747 23.0581 25.2037 24.2358 25.6818C25.4136 26.1599 26.4741 26.8762 27.3477 27.7836C28.5734 29.0842 29.396 30.6977 29.7199 32.4366C30.1081 34.2079 30.1081 36.0394 29.7199 37.8107Z"}),F.jsx("path",{d:"M257.684 51.0999V22.5384C257.684 22.4311 257.662 22.3248 257.621 22.2258C257.579 22.1267 257.519 22.0368 257.442 21.9613C257.366 21.8857 257.275 21.826 257.175 21.7856C257.076 21.7451 256.969 21.7248 256.861 21.7257H247.366C247.26 21.7257 247.154 21.7468 247.055 21.7877C246.957 21.8286 246.867 21.8886 246.792 21.9642C246.717 22.0397 246.658 22.1294 246.617 22.2279C246.577 22.3265 246.557 22.432 246.558 22.5384V45.1542C246.119 45.1542 245.861 45.1542 245.77 45.1542C242.793 44.7444 241.385 43.9943 239.775 42.3759C238.165 40.7575 237.628 38.4445 237.502 35.6939V27.6089C237.504 27.5002 237.483 27.3924 237.441 27.2921C237.399 27.1918 237.337 27.101 237.258 27.0254L231.863 21.816L226.614 16.4468C226.539 16.3683 226.449 16.3057 226.35 16.2627C226.251 16.2198 226.143 16.1973 226.035 16.1968H217.572C217.752 14.438 218.484 12.7805 219.663 11.4597C220.413 10.6232 221.327 9.94923 222.348 9.47962C223.37 9.01002 224.478 8.75484 225.603 8.72994C225.812 8.72104 226.009 8.63245 226.155 8.48249C226.3 8.33253 226.382 8.13267 226.384 7.92422V0.700484C226.386 0.537006 226.331 0.377718 226.228 0.250664C226.125 0.123609 225.98 0.0369334 225.819 0.00589429H225.672C225.612 -0.00196476 225.551 -0.00196476 225.491 0.00589429C222.189 0.0700753 218.946 0.887465 216.011 2.39528C213.404 3.73607 211.166 5.69354 209.495 8.09612C207.824 10.4987 206.77 13.273 206.425 16.1759H201.49C201.275 16.1778 201.069 16.2642 200.918 16.4164C200.766 16.5686 200.681 16.7743 200.681 16.9886V26.4767C200.681 26.5825 200.702 26.6873 200.743 26.7851C200.783 26.8828 200.843 26.9716 200.918 27.0465C200.993 27.1213 201.082 27.1806 201.18 27.2211C201.278 27.2616 201.384 27.2824 201.49 27.2824H206.265V53.0309C206.265 53.1373 206.286 53.2426 206.327 53.3408C206.368 53.439 206.428 53.5282 206.504 53.6031C206.58 53.678 206.67 53.7372 206.769 53.7773C206.868 53.8174 206.974 53.8375 207.081 53.8366H216.575C216.682 53.8375 216.788 53.8174 216.887 53.7773C216.986 53.7372 217.076 53.678 217.152 53.6031C217.227 53.5282 217.288 53.439 217.329 53.3408C217.37 53.2426 217.391 53.1373 217.391 53.0309V27.2824H226.384V34.9229C226.384 34.9229 226.384 34.9785 226.384 35.0132C226.326 38.4315 227.224 41.7984 228.977 44.7375C230.694 47.5755 233.168 49.8836 236.122 51.4056C239.096 52.9517 242.389 53.791 245.742 53.8575H246.572C246.311 55.6236 245.496 57.2623 244.243 58.539C242.494 60.3727 241.079 61.3173 238.36 61.3173C238.252 61.3164 238.145 61.3368 238.046 61.3772C237.946 61.4176 237.855 61.4774 237.779 61.5529C237.702 61.6285 237.641 61.7184 237.6 61.8174C237.559 61.9165 237.537 62.0227 237.537 62.13V69.194C237.536 69.3013 237.557 69.4076 237.598 69.5067C237.639 69.6058 237.7 69.6956 237.777 69.7708C237.854 69.846 237.945 69.9051 238.045 69.9444C238.145 69.9837 238.252 70.0025 238.36 69.9997C241.685 69.94 244.949 69.1025 247.889 67.5548C250.862 66.0456 253.358 63.7446 255.097 60.9075C256.847 57.9672 257.745 54.6012 257.691 51.1833C257.691 51.1833 257.684 51.1347 257.684 51.0999Z"})]})}function Td(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(n=Td(e[t]))&&(r&&(r+=" "),r+=n);else for(t in e)e[t]&&(r&&(r+=" "),r+=t);return r}function Dd(){for(var e,t,n=0,r="";n<arguments.length;)(e=arguments[n++])&&(t=Td(e))&&(r&&(r+=" "),r+=t);return r}const vn=(...e)=>Sd(Dd(e)),Nd=({children:e,className:t,font:n="satoshi",weight:r="regular",...o})=>{const a=ye({variants:{font:{satoshi:"font-satoshi",livvic:"font-livvic"},weight:{light:"font-light",regular:"font-normal",medium:"font-medium",semibold:"font-semibold",bold:"font-bold",black:"font-black"}}});return F.jsx("p",{...o,className:vn(t,a({font:n,weight:r})),children:e})},Av={bra:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzgiIGhlaWdodD0iMzciIHZpZXdCb3g9IjAgMCAzOCAzNyIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGNpcmNsZSBjeD0iMTguNTA5OSIgY3k9IjE4LjUwMzMiIHI9IjE4LjUwMzMiIGZpbGw9IndoaXRlIi8+CjxwYXRoIGQ9Ik0xOC41MSAzNS4xODY1QzI3LjcyMzkgMzUuMTg2NSAzNS4xOTMzIDI3LjcxNzEgMzUuMTkzMyAxOC41MDMyQzM1LjE5MzMgOS4yODkyMSAyNy43MjM5IDEuODE5ODIgMTguNTEgMS44MTk4MkM5LjI5NjA0IDEuODE5ODIgMS44MjY2NiA5LjI4OTIxIDEuODI2NjYgMTguNTAzMkMxLjgyNjY2IDI3LjcxNzEgOS4yOTYwNCAzNS4xODY1IDE4LjUxIDM1LjE4NjVaIiBmaWxsPSIjMEI5RjU5Ii8+CjxwYXRoIGQ9Ik0xOC41MTAxIDguMzQ4MjhMMzIuMjkyIDE4LjUwMzNMMTguNTEwMSAyOC42NTg0TDQuNzI4MjQgMTguNTAzM0wxOC41MTAxIDguMzQ4MjhaIiBmaWxsPSIjRkZEQTQ0Ii8+CjxwYXRoIGQ9Ik0xOC41MDk5IDI0LjMwNjJDMjEuNzE0OCAyNC4zMDYyIDI0LjMxMjggMjEuNzA4MSAyNC4zMTI4IDE4LjUwMzNDMjQuMzEyOCAxNS4yOTg1IDIxLjcxNDggMTIuNzAwNCAxOC41MDk5IDEyLjcwMDRDMTUuMzA1MSAxMi43MDA0IDEyLjcwNyAxNS4yOTg1IDEyLjcwNyAxOC41MDMzQzEyLjcwNyAyMS43MDgxIDE1LjMwNTEgMjQuMzA2MiAxOC41MDk5IDI0LjMwNjJaIiBmaWxsPSIjRjBGMEYwIi8+CjxwYXRoIGQ9Ik0xNS42MDgzIDE4LjEzOTdDMTQuNTk5MiAxOC4xMzk3IDEzLjYyNTQgMTguMjkzMSAxMi43MDg3IDE4LjU3NzlDMTIuNzQ5MyAyMS43NDc4IDE1LjMzMDMgMjQuMzA1MyAxOC41MDk4IDI0LjMwNTNDMjAuNDc1OCAyNC4zMDUzIDIyLjIxMjIgMjMuMzI2NiAyMy4yNjE4IDIxLjgzMDlDMjEuNDY2IDE5LjU4MjggMTguNzAyNyAxOC4xMzk3IDE1LjYwODMgMTguMTM5N1oiIGZpbGw9IiMwMDUyQjQiLz4KPHBhdGggZD0iTTI0LjIwNTEgMTkuNjE0MkMyNC4yNzUgMTkuMjU0MiAyNC4zMTI3IDE4Ljg4MjggMjQuMzEyNyAxOC41MDI1QzI0LjMxMjcgMTUuMjk3NiAyMS43MTQ3IDEyLjY5OTYgMTguNTA5OSAxMi42OTk2QzE2LjExODUgMTIuNjk5NiAxNC4wNjU3IDE0LjE0NjQgMTMuMTc3MyAxNi4yMTIxQzEzLjk2MjYgMTYuMDQ5NCAxNC43NzU3IDE1Ljk2MzcgMTUuNjA4NSAxNS45NjM3QzE4Ljk3ODggMTUuOTYzNyAyMi4wMjc4IDE3LjM2NDcgMjQuMjA1MSAxOS42MTQyWiIgZmlsbD0iIzAwNTJCNCIvPgo8L3N2Zz4K",esp:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzgiIGhlaWdodD0iMzciIHZpZXdCb3g9IjAgMCAzOCAzNyIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGNpcmNsZSBjeD0iMTguNTE2OCIgY3k9IjE4LjUwMzMiIHI9IjE4LjUwMzMiIGZpbGw9IndoaXRlIi8+CjxwYXRoIGQ9Ik0xLjgzMzUgMTguNTAyN0MxLjgzMzUgMjAuNTQzNCAyLjIwMDU5IDIyLjQ5ODIgMi44NzExOSAyNC4zMDU2TDE4LjUxNjggMjUuNzU2M0wzNC4xNjI1IDI0LjMwNTZDMzQuODMzMSAyMi40OTgyIDM1LjIwMDIgMjAuNTQzNCAzNS4yMDAyIDE4LjUwMjdDMzUuMjAwMiAxNi40NjIgMzQuODMzMSAxNC41MDcyIDM0LjE2MjUgMTIuNjk5OEwxOC41MTY4IDExLjI0OTFMMi44NzExOSAxMi42OTk4QzIuMjAwNTkgMTQuNTA3MiAxLjgzMzUgMTYuNDYyIDEuODMzNSAxOC41MDI3WiIgZmlsbD0iI0ZGREE0NCIvPgo8cGF0aCBkPSJNMzQuMTYyOCAxMi43MDAzQzMxLjgwNTUgNi4zNDczNSAyNS42OTA0IDEuODE5ODIgMTguNTE3MSAxLjgxOTgyQzExLjM0MzkgMS44MTk4MiA1LjIyODcgNi4zNDczNSAyLjg3MTQ2IDEyLjcwMDNIMzQuMTYyOFoiIGZpbGw9IiNEODAwMjciLz4KPHBhdGggZD0iTTIuODcxMTkgMjQuMzA1NkM1LjIyODQyIDMwLjY1ODYgMTEuMzQzOSAzNS4xODY1IDE4LjUxNzEgMzUuMTg2NUMyNS42OTA0IDM1LjE4NjUgMzEuODA1MiAzMC42NTg2IDM0LjE2MjUgMjQuMzA1NkgyLjg3MTE5WiIgZmlsbD0iI0Q4MDAyNyIvPgo8L3N2Zz4K",usa:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzciIGhlaWdodD0iMzciIHZpZXdCb3g9IjAgMCAzNyAzNyIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGNpcmNsZSBjeD0iMTguNTAzMyIgY3k9IjE4LjUwMzMiIHI9IjE4LjUwMzMiIGZpbGw9IndoaXRlIi8+CjxwYXRoIGQ9Ik0xOC41MDM0IDM1LjE4NjVDMjcuNzE3NCAzNS4xODY1IDM1LjE4NjcgMjcuNzE3MSAzNS4xODY3IDE4LjUwMzJDMzUuMTg2NyA5LjI4OTIxIDI3LjcxNzQgMS44MTk4MiAxOC41MDM0IDEuODE5ODJDOS4yODk0NSAxLjgxOTgyIDEuODIwMDcgOS4yODkyMSAxLjgyMDA3IDE4LjUwMzJDMS44MjAwNyAyNy43MTcxIDkuMjg5NDUgMzUuMTg2NSAxOC41MDM0IDM1LjE4NjVaIiBmaWxsPSIjRjBGMEYwIi8+CjxwYXRoIGQ9Ik0xNy43Nzc5IDE4LjUwMzdIMzUuMTg2NkMzNS4xODY2IDE2Ljk5NzggMzQuOTg1OCAxNS41MzkxIDM0LjYxMTggMTQuMTUxNUgxNy43Nzc5VjE4LjUwMzdaIiBmaWxsPSIjRDgwMDI3Ii8+CjxwYXRoIGQ9Ik0xNy43Nzc5IDkuNzk5MzRIMzIuNzM3OUMzMS43MTY2IDguMTMyODMgMzAuNDEwOCA2LjY1OTgxIDI4Ljg4ODMgNS40NDcxNEgxNy43Nzc5VjkuNzk5MzRaIiBmaWxsPSIjRDgwMDI3Ii8+CjxwYXRoIGQ9Ik0xOC41MDM0IDM1LjE4NjVDMjIuNDI5OCAzNS4xODY1IDI2LjAzODQgMzMuODI5OCAyOC44ODgyIDMxLjU2MDFIOC4xMTc5OUMxMC45Njc4IDMzLjgyOTggMTQuNTc3IDM1LjE4NjUgMTguNTAzNCAzNS4xODY1WiIgZmlsbD0iI0Q4MDAyNyIvPgo8cGF0aCBkPSJNNC4yNjg1NyAyNy4yMDhIMzIuNzM3OUMzMy41NTc4IDI1Ljg3MDEgMzQuMTkzNiAyNC40MDc3IDM0LjYxMTggMjIuODU1OEgyLjM5NDYzQzIuODEyODIgMjQuNDA3NyAzLjQ0ODY3IDI1Ljg3MDEgNC4yNjg1NyAyNy4yMDhaIiBmaWxsPSIjRDgwMDI3Ii8+CjxwYXRoIGQ9Ik05LjU0ODEgNC40MjUxNkgxMS4wNjg0TDkuNjU0MjYgNS40NTI1NUwxMC4xOTQ0IDcuMTE0OTZMOC43ODAzNCA2LjA4NzU2TDcuMzY2MjMgNy4xMTQ5Nkw3LjgzMjg1IDUuNjc4ODJDNi41ODc3MiA2LjcxNTk5IDUuNDk2NCA3LjkzMTE0IDQuNTk3MDYgOS4yODUwOUg1LjA4NDJMNC4xODQwMiA5LjkzOTA3QzQuMDQzNzcgMTAuMTczIDMuOTA5MjYgMTAuNDEwNyAzLjc4MDM2IDEwLjY1MTlMNC4yMTAyMiAxMS45NzQ5TDMuNDA4MjQgMTEuMzkyMkMzLjIwODg5IDExLjgxNDYgMy4wMjY1NSAxMi4yNDY1IDIuODYyNjUgMTIuNjg3M0wzLjMzNjIzIDE0LjE0NUg1LjA4NDJMMy42NzAwMyAxNS4xNzI0TDQuMjEwMjIgMTYuODM0OEwyLjc5NjExIDE1LjgwNzRMMS45NDkwNCAxNi40MjI5QzEuODY0MjUgMTcuMTA0NCAxLjgyMDA3IDE3Ljc5ODYgMS44MjAwNyAxOC41MDMySDE4LjUwMzRDMTguNTAzNCA5LjI4OTI3IDE4LjUwMzQgOC4yMDMwMiAxOC41MDM0IDEuODE5ODJDMTUuMjA3NyAxLjgxOTgyIDEyLjEzNTQgMi43NzU4NiA5LjU0ODEgNC40MjUxNlpNMTAuMTk0NCAxNi44MzQ4TDguNzgwMzQgMTUuODA3NEw3LjM2NjIzIDE2LjgzNDhMNy45MDY0MiAxNS4xNzI0TDYuNDkyMjUgMTQuMTQ1SDguMjQwMjJMOC43ODAzNCAxMi40ODI2TDkuMzIwNDYgMTQuMTQ1SDExLjA2ODRMOS42NTQyNiAxNS4xNzI0TDEwLjE5NDQgMTYuODM0OFpNOS42NTQyNiAxMC4zMTI1TDEwLjE5NDQgMTEuOTc0OUw4Ljc4MDM0IDEwLjk0NzVMNy4zNjYyMyAxMS45NzQ5TDcuOTA2NDIgMTAuMzEyNUw2LjQ5MjI1IDkuMjg1MDlIOC4yNDAyMkw4Ljc4MDM0IDcuNjIyNjlMOS4zMjA0NiA5LjI4NTA5SDExLjA2ODRMOS42NTQyNiAxMC4zMTI1Wk0xNi4xNzg3IDE2LjgzNDhMMTQuNzY0NiAxNS44MDc0TDEzLjM1MDUgMTYuODM0OEwxMy44OTA3IDE1LjE3MjRMMTIuNDc2NSAxNC4xNDVIMTQuMjI0NUwxNC43NjQ2IDEyLjQ4MjZMMTUuMzA0NyAxNC4xNDVIMTcuMDUyN0wxNS42Mzg1IDE1LjE3MjRMMTYuMTc4NyAxNi44MzQ4Wk0xNS42Mzg1IDEwLjMxMjVMMTYuMTc4NyAxMS45NzQ5TDE0Ljc2NDYgMTAuOTQ3NUwxMy4zNTA1IDExLjk3NDlMMTMuODkwNyAxMC4zMTI1TDEyLjQ3NjUgOS4yODUwOUgxNC4yMjQ1TDE0Ljc2NDYgNy42MjI2OUwxNS4zMDQ3IDkuMjg1MDlIMTcuMDUyN0wxNS42Mzg1IDEwLjMxMjVaTTE1LjYzODUgNS40NTI1NUwxNi4xNzg3IDcuMTE0OTZMMTQuNzY0NiA2LjA4NzU2TDEzLjM1MDUgNy4xMTQ5NkwxMy44OTA3IDUuNDUyNTVMMTIuNDc2NSA0LjQyNTE2SDE0LjIyNDVMMTQuNzY0NiAyLjc2Mjc2TDE1LjMwNDcgNC40MjUxNkgxNy4wNTI3TDE1LjYzODUgNS40NTI1NVoiIGZpbGw9IiMwMDUyQjQiLz4KPC9zdmc+Cg=="},Tv=({shadow:e,country:t,className:n,...r})=>{const o=ye({base:"rounded-full",variants:{shadow:{true:"shadow-[4px_4px_6px_0px_rgba(0,0,0,0.17)]",false:""}}}),a=Av[t];return F.jsx("img",{...r,src:a,alt:`${t} flag`,className:vn(n,o({shadow:e}))})},cD="",rt=({name:e,className:t,...n})=>F.jsx("span",{...n,className:`icon-${e} ${t??""}`});({IcoMoonType:"selection",icons:[{icon:{paths:["M908.5 55.167l-469.333 469.333c-7.719 7.721-12.494 18.386-12.494 30.167s4.774 22.446 12.494 30.167l-0-0c7.721 7.719 18.386 12.494 30.167 12.494s22.446-4.774 30.167-12.494l469.333-469.333c7.719-7.721 12.494-18.386 12.494-30.167s-4.774-22.446-12.494-30.167l0 0c-7.721-7.719-18.386-12.494-30.167-12.494s-22.446 4.774-30.167 12.494l0-0z","M924.583 45.083l-853.333 298.667c-16.774 6.003-28.56 21.76-28.56 40.27 0 17.28 10.272 32.161 25.043 38.871l0.268 0.109 369 164 164 369c6.818 15.039 21.699 25.31 38.98 25.31 18.51 0 34.267-11.786 40.177-28.262l0.093-0.298 298.667-853.333c1.505-4.182 2.375-9.008 2.375-14.038 0-23.567-19.104-42.671-42.671-42.671-5.029 0-9.855 0.87-14.336 2.468l0.298-0.093zM869.167 154.833l-233.833 668.167-127-285.667c-4.38-9.691-11.975-17.287-21.399-21.558l-0.268-0.109-285.667-127z","M1024 768c0 141.385-114.615 256-256 256s-256-114.615-256-256c0-141.385 114.615-256 256-256s256 114.615 256 256z","M611.5 775.167c-11.782 0.001-21.332 9.552-21.333 21.333l-0 0v85.333c0 11.782 9.551 21.333 21.333 21.333v0c11.782 0 21.333-9.551 21.333-21.333v0-64h64c11.782 0 21.333-9.551 21.333-21.333v0c0-11.782-9.551-21.333-21.333-21.333v0z","M924.5 632.833c-11.782 0-21.333 9.551-21.333 21.333v0 64h-64c-11.782 0-21.333 9.551-21.333 21.333v0c0 11.782 9.551 21.333 21.333 21.333v0h85.333c11.782-0.001 21.332-9.552 21.333-21.333l0-0v-85.333c0-11.782-9.551-21.333-21.333-21.333v0z","M734.917 622.417c-24.601 5.569-47.394 17.24-66.25 34-18.85 16.754-33.087 38.047-41.5 61.833-0.762 2.103-1.202 4.53-1.202 7.060 0 9.226 5.856 17.083 14.054 20.059l0.148 0.047c2.103 0.762 4.53 1.202 7.060 1.202 9.226 0 17.083-5.856 20.059-14.054l0.047-0.148c6.008-16.986 16.284-32.114 29.75-44.083 13.469-11.972 29.671-20.354 47.25-24.333 17.571-3.975 35.941-3.423 53.25 1.583 17.307 5.006 33.008 14.337 45.75 27.083 0.134 0.116 0.297 0.253 0.461 0.388l0.039 0.031 66 62c3.81 3.594 8.96 5.802 14.625 5.802 6.121 0 11.641-2.578 15.531-6.708l0.010-0.011c3.57-3.804 5.763-8.938 5.763-14.584 0-6.143-2.596-11.679-6.752-15.572l-0.012-0.011-65.917-62 0.418 0.5c-17.832-17.837-39.85-30.908-64.083-37.917-24.231-7.009-49.9-7.732-74.5-2.167zM610.917 775.167c-5.885 0.166-11.15 2.69-14.908 6.657l-0.009 0.010c-3.594 3.81-5.802 8.96-5.802 14.625 0 6.121 2.578 11.641 6.708 15.531l0.011 0.010 65.5 61.583c0.043 0.043 0.124 0.039 0.166 0.085 17.806 17.771 39.827 30.758 64 37.75 24.233 7.008 49.812 7.737 74.417 2.167 24.605-5.565 47.396-17.241 66.25-34 18.858-16.757 33.167-37.974 41.583-61.75 0.778-2.124 1.228-4.577 1.228-7.135 0-9.235-5.868-17.1-14.080-20.068l-0.149-0.047c-2.124-0.778-4.577-1.228-7.135-1.228-9.235 0-17.1 5.868-20.068 14.080l-0.047 0.149c-6.014 16.988-16.201 32.117-29.667 44.083-13.47 11.973-29.758 20.358-47.333 24.333-17.575 3.979-35.851 3.424-53.167-1.583-17.307-5.006-33.097-14.256-45.833-27-0.165-0.203-0.302-0.366-0.441-0.527l0.023 0.027-66-62c-3.804-3.568-8.936-5.76-14.581-5.76-0.235 0-0.47 0.004-0.703 0.011l0.034-0.001z"],attrs:[{fill:"rgb(0, 0, 0)"},{fill:"rgb(0, 0, 0)"},{fill:"rgb(217, 217, 217)"},{fill:"rgb(0, 0, 0)"},{fill:"rgb(0, 0, 0)"},{fill:"rgb(0, 0, 0)"}],isMulticolor:!0,isMulticolor2:!1,grid:0,tags:["resend"],colorPermutations:{"12172172171":[{f:0},{f:0},{f:1},{f:0},{f:0},{f:0}]}},attrs:[{fill:"rgb(0, 0, 0)"},{fill:"rgb(0, 0, 0)"},{fill:"rgb(217, 217, 217)"},{fill:"rgb(0, 0, 0)"},{fill:"rgb(0, 0, 0)"},{fill:"rgb(0, 0, 0)"}],properties:{order:41,id:21,name:"resend",prevSize:32,code:59669,codes:[59669,59670,59671,59672,59673,59674]},setIdx:0,setId:4,iconIdx:0},{icon:{paths:["M695.177 547.182c48.599-38.234 84.074-90.672 101.482-150.006 17.414-59.336 15.898-122.624-4.332-181.059-20.236-58.435-58.178-109.11-108.546-144.977-50.375-35.867-110.679-55.141-172.514-55.141-61.842 0-122.139 19.273-172.514 55.141s-88.316 86.542-108.547 144.977c-20.233 58.435-21.747 121.723-4.335 181.059 17.411 59.334 52.885 111.77 101.483 150.006-83.277 33.367-155.938 88.703-210.238 160.112-54.3 71.413-88.203 156.219-98.097 245.383-0.715 6.509-0.144 13.098 1.687 19.387 1.829 6.286 4.879 12.155 8.977 17.262 8.274 10.321 20.307 16.934 33.454 18.377 13.147 1.448 26.329-2.389 36.649-10.663s16.929-20.309 18.376-33.455c10.884-96.902 57.090-186.399 129.789-251.386s166.794-100.912 264.305-100.912c97.512 0 191.604 35.926 264.305 100.912 72.696 64.989 118.901 154.483 129.789 251.386 1.348 12.18 7.159 23.433 16.315 31.578 9.156 8.15 21.003 12.617 33.258 12.543h5.452c12.992-1.492 24.87-8.066 33.039-18.276 8.174-10.217 11.976-23.243 10.583-36.251-9.94-89.417-44.024-174.441-98.609-245.963-54.579-71.52-127.592-126.838-211.213-160.027zM511.266 511.984c-39.215 0-77.554-11.629-110.162-33.417s-58.021-52.754-73.030-88.989c-15.007-36.232-18.935-76.102-11.284-114.564s26.536-73.795 54.267-101.525c27.731-27.731 63.062-46.616 101.525-54.267s78.334-3.724 114.564 11.284c36.232 15.007 67.199 40.422 88.991 73.030 21.787 32.608 33.417 70.945 33.417 110.161 0 52.59-20.89 103.022-58.077 140.213-37.183 37.183-87.617 58.072-140.208 58.072z"],attrs:[],isMulticolor:!1,isMulticolor2:!1,colorPermutations:{},tags:["user"],grid:0},attrs:[],properties:{order:37,id:0,name:"user",prevSize:32,code:59658},setIdx:0,setId:4,iconIdx:1},{icon:{paths:["M526.086 521.84c23.866-20.659 43.009-46.207 56.127-74.918 13.118-28.707 19.908-59.901 19.908-91.464 0-59.31-23.562-116.193-65.502-158.13-41.936-41.938-98.819-65.501-158.129-65.501s-116.193 23.561-158.13 65.501c-41.938 41.938-65.501 98.822-65.501 158.13 0 31.564 6.789 62.757 19.909 91.464 13.119 28.71 32.26 54.257 56.126 74.918-62.61 28.351-115.731 74.134-153.010 131.876-37.28 57.747-57.139 125.002-57.204 193.732 0 11.86 4.712 23.24 13.1 31.626s19.764 13.1 31.626 13.1c11.861 0 23.238-4.714 31.626-13.1s13.1-19.764 13.1-31.626c0-71.172 28.273-139.43 78.601-189.756 50.327-50.331 118.586-78.602 189.757-78.602s139.43 28.272 189.756 78.602c50.331 50.327 78.602 118.583 78.602 189.756 0 11.86 4.714 23.24 13.1 31.626s19.764 13.1 31.626 13.1c11.86 0 23.24-4.714 31.626-13.1s13.1-19.764 13.1-31.626c-0.068-68.732-19.926-135.985-57.205-193.732-37.281-57.742-90.397-103.524-153.009-131.876zM378.488 489.638c-26.539 0-52.48-7.866-74.545-22.613-22.067-14.742-39.265-35.702-49.42-60.217-10.155-24.518-12.812-51.497-7.635-77.526s17.957-49.936 36.722-68.701c18.765-18.765 42.674-31.544 68.701-36.722s53.008-2.52 77.528 7.635c24.515 10.155 45.473 27.353 60.215 49.42 14.747 22.067 22.613 48.008 22.613 74.545 0 35.586-14.138 69.715-39.301 94.877s-59.291 39.301-94.877 39.301zM814.122 503.948c28.626-32.235 47.32-72.050 53.841-114.663 6.522-42.611 0.587-86.199-17.085-125.518-17.676-39.318-46.337-72.689-82.533-96.099-36.201-23.407-78.391-35.855-121.498-35.845-11.86 0-23.24 4.712-31.626 13.1s-13.1 19.764-13.1 31.626c0 11.861 4.714 23.238 13.1 31.626s19.764 13.1 31.626 13.1c35.584 0 69.715 14.138 94.877 39.3s39.301 59.292 39.301 94.878c-0.064 23.492-6.294 46.555-18.065 66.886-11.776 20.327-28.679 37.212-49.024 48.957-6.632 3.825-12.171 9.291-16.085 15.864-3.919 6.58-6.078 14.053-6.279 21.705-0.188 7.594 1.561 15.109 5.085 21.839 3.52 6.726 8.694 12.451 15.041 16.624l17.443 11.628 5.815 3.131c53.914 25.571 99.394 66.016 131.092 116.57 31.693 50.554 48.282 109.115 47.813 168.783 0 11.86 4.714 23.24 13.1 31.626s19.764 13.1 31.626 13.1c11.86 0 23.24-4.714 31.626-13.1s13.1-19.764 13.1-31.626c0.366-68.637-16.826-136.222-49.936-196.343-33.115-60.122-81.053-110.779-139.256-147.154z"],attrs:[],isMulticolor:!1,isMulticolor2:!1,colorPermutations:{},tags:["users"],grid:0},attrs:[],properties:{order:38,id:1,name:"users",prevSize:32,code:59666},setIdx:0,setId:4,iconIdx:2},{icon:{paths:["M857.957 264.888h-49.422v-49.422c0-39.324-15.622-77.034-43.427-104.84s-65.52-43.426-104.839-43.426h-494.223c-39.324 0-77.034 15.621-104.84 43.426s-43.426 65.518-43.426 104.84v593.066c0 39.321 15.621 77.034 43.426 104.839s65.518 43.427 104.84 43.427h691.912c39.321 0 77.034-15.622 104.839-43.427s43.427-65.52 43.427-104.839v-395.378c0-39.324-15.622-77.034-43.427-104.84s-65.52-43.426-104.839-43.426zM166.044 166.043h494.223c13.106 0 25.68 5.206 34.946 14.476s14.476 21.839 14.476 34.946v49.422h-543.644c-13.107 0-25.678-5.206-34.946-14.476s-14.476-21.839-14.476-34.946c0-13.107 5.206-25.678 14.476-34.946s21.839-14.476 34.946-14.476zM907.378 660.266h-49.422c-13.106 0-25.68-5.208-34.946-14.476s-14.476-21.839-14.476-34.946c0-13.106 5.208-25.68 14.476-34.946s21.839-14.476 34.946-14.476h49.422v98.844zM907.378 462.578h-49.422c-39.321 0-77.034 15.622-104.839 43.427s-43.427 65.52-43.427 104.839c0 39.321 15.622 77.034 43.427 104.839s65.52 43.427 104.839 43.427h49.422v49.422c0 13.106-5.208 25.68-14.476 34.946s-21.839 14.476-34.946 14.476h-691.912c-13.107 0-25.678-5.208-34.946-14.476s-14.476-21.839-14.476-34.946v-453.202c15.878 5.586 32.591 8.426 49.422 8.402h691.912c13.106 0 25.68 5.206 34.946 14.476s14.476 21.839 14.476 34.946v49.422z"],attrs:[],isMulticolor:!1,isMulticolor2:!1,colorPermutations:{},tags:["wallet"],grid:0},attrs:[],properties:{order:39,id:2,name:"wallet",prevSize:32,code:59667},setIdx:0,setId:4,iconIdx:3},{icon:{paths:["M979.553 176.238c-6.483-6.535-14.195-11.724-22.693-15.262-8.5-3.542-17.616-5.365-26.818-5.365s-18.319 1.823-26.818 5.365c-8.5 3.542-16.213 8.727-22.693 15.262l-519.504 520.201-218.263-218.958c-6.732-6.501-14.678-11.612-23.382-15.044s-18.004-5.113-27.36-4.952c-9.357 0.159-18.592 2.163-27.172 5.897s-16.347 9.112-22.848 15.844c-6.501 6.73-11.612 14.677-15.043 23.382s-5.114 18.004-4.952 27.36c0.161 9.357 2.163 18.592 5.897 27.172s9.112 16.345 15.843 22.848l267.77 267.773c6.482 6.532 14.193 11.722 22.694 15.263 8.496 3.537 17.613 5.365 26.817 5.365s18.319-1.827 26.816-5.365c8.496-3.542 16.209-8.731 22.695-15.263l569.013-569.015c7.078-6.528 12.724-14.456 16.591-23.277s5.858-18.347 5.858-27.977c0-9.63-1.992-19.156-5.858-27.977s-9.511-16.746-16.591-23.277z"],attrs:[],isMulticolor:!1,isMulticolor2:!1,colorPermutations:{},tags:["check"],grid:0},attrs:[],properties:{order:40,id:3,name:"check",prevSize:32,code:59668},setIdx:0,setId:4,iconIdx:4},{icon:{paths:["M441.48 33.984c-101.267 0-181.649 77.289-195.622 175.411-0.576-0.148-1.357-0.3-2.151-0.42l-0.154-0.021h-197.93c-15.529 0-28.116 12.587-28.116 28.116v0c0 15.529 12.587 28.116 28.116 28.116v0h197.93c0.934-0.329 1.661-0.627 2.37-0.951l-0.175 0.073c13.778 98.344 94.31 175.852 195.731 175.852 111.011 0 201.335-91.419 201.335-203.090s-90.322-203.090-201.335-203.090zM441.48 90.222c80.312 0 145.098 65.272 145.098 146.854s-64.786 146.854-145.098 146.854c-80.312 0-144.989-65.272-144.989-146.854s64.676-146.854 144.989-146.854zM738.484 208.958c-15.529 0-28.116 12.587-28.116 28.116v0c0 15.529 12.587 28.116 28.116 28.116v0h296.892c15.529 0 28.116-12.587 28.116-28.116v0c0-15.529-12.587-28.116-28.116-28.116v0zM639.522 583.838c-111.010 0-201.335 91.42-201.335 203.090s90.323 203.090 201.335 203.090c101.43 0 182.067-77.505 195.841-175.852 0.506 0.249 1.192 0.546 1.892 0.813l0.193 0.065h197.93c15.529 0 28.116-12.587 28.116-28.116v0c0-15.529-12.587-28.116-28.116-28.116v0h-197.93c-0.895 0.332-1.583 0.628-2.254 0.952l0.169-0.074c-13.773-98.346-94.413-175.852-195.841-175.852zM639.522 640.076c80.317 0 145.098 65.272 145.098 146.854s-64.783 146.854-145.098 146.854c-80.31 0-145.098-65.273-145.098-146.854s64.788-146.854 145.098-146.854zM45.622 758.808c-15.529 0-28.116 12.587-28.116 28.116v0c0 15.529 12.587 28.116 28.116 28.116v0h296.892c15.529 0 28.116-12.587 28.116-28.116v0c0-15.529-12.587-28.116-28.116-28.116v0z"],width:1081,attrs:[],isMulticolor:!1,isMulticolor2:!1,colorPermutations:{},tags:["filters"],grid:0},attrs:[],properties:{order:36,id:4,name:"filters",prevSize:32,code:59665},setIdx:0,setId:4,iconIdx:5},{icon:{paths:["M221.91 16c-48.472 0-91.817 15.678-120.059 48.704s-39.686 78.531-39.686 132.284v742.129h-11.959c-18.891 0-34.206 15.315-34.206 34.206v0c0 18.891 15.315 34.206 34.206 34.206v0h787.294c0.153 0.078 0.527 0.235 0.904 0.387l0.23 0.082c0.608-0.232 0.983-0.39 1.354-0.554l-0.218 0.087h134.021c18.891 0 34.206-15.315 34.206-34.206v0c0-18.891-15.315-34.206-34.206-34.206v0h-100.951v-155.067c54.54-16.957 93.201-70.819 93.201-133.487v-110.371c0-75.121-54.176-141.17-126.606-141.17s-126.539 66.049-126.539 141.17v110.371c0 62.051 37.857 115.532 91.531 133.085v155.467h-161.681v-742.129c0-53.703-11.226-99.158-39.351-132.217s-71.454-48.771-119.925-48.771zM221.91 84.415h261.562c35.068 0 54.273 8.805 67.812 24.719s23.049 43.854 23.049 87.856v742.129h-185.533v-148.119c0-18.891-15.315-34.206-34.206-34.206v0c-18.891 0-34.206 15.315-34.206 34.206v0 148.119h-189.809v-742.129c0-43.953 9.613-71.84 23.25-87.789s33.010-24.786 68.080-24.786zM251.707 270.748c-18.891 0-34.206 15.315-34.206 34.206v0c0 18.891 15.315 34.206 34.206 34.206v0h207.848c18.891 0 34.206-15.315 34.206-34.206v0c0-18.891-15.315-34.206-34.206-34.206v0zM251.707 453.007c-18.891 0-34.206 15.315-34.206 34.206v0c0 18.891 15.315 34.206 34.206 34.206v0h207.848c18.891 0 34.206-15.315 34.206-34.206v0c0-18.891-15.315-34.206-34.206-34.206v0zM839.438 467.438c30.006 0 58.191 29.277 58.191 72.757v110.371c0 43.236-27.909 72.162-57.724 72.49-0.193-0.054-0.622-0.148-1.053-0.231l-0.217-0.034c-0.010 0-0.023 0-0.033 0s-0.025 0-0.035 0h0.002c-29.634-0.633-57.257-29.219-57.257-72.222v-110.371c0-43.481 28.118-72.757 58.125-72.757z"],attrs:[],isMulticolor:!1,isMulticolor2:!1,colorPermutations:{"13513613712552552551":[],"125525525513463581":[]},tags:["building"],grid:0},attrs:[],properties:{order:32,id:5,name:"building",prevSize:32,code:59661},setIdx:0,setId:4,iconIdx:6},{icon:{paths:["M474.119 16c-80.744 0-133.002 18.798-160.546 57.657s-25.188 83.466-25.188 124.335v2.74h-13.162c-106.295 0-176.908 24.402-217.869 71.889s-45.635 110.102-38.75 170.768l35.477 368.794c0.042 0.341 0.067 0.5 0.092 0.658l-0.025-0.191c5.325 48.463 18.348 100.416 60.797 138.23s108.001 57.124 207.647 57.124h378.814c99.646 0 165.199-19.309 207.647-57.124s55.471-89.767 60.797-138.23c0 0.034 0.025-0.125 0.046-0.284l0.022-0.183 32.737-340.466 0.069-0.134c0-0.039 0-0.087 0-0.134s0-0.093 0-0.141v0.007l2.673-27.928c6.881-60.667 2.208-123.284-38.753-170.769s-111.574-71.889-217.869-71.889h-13.162v-2.74c0-40.869 2.356-85.474-25.188-124.335s-79.802-57.657-160.546-57.657zM474.119 84.415h75.763c70.807 0 94.347 14.202 104.691 28.796s12.626 43.914 12.626 84.783v2.74h-310.402v-2.74c0-40.869 2.283-70.189 12.626-84.783s33.884-28.796 104.691-28.796zM275.224 269.144h473.552c95.931 0 143.050 21.538 166.023 48.17s28.485 66.309 22.582 118.322c-0.009 0.036-0.032 0.243-0.055 0.451l-0.014 0.152-0.802 8.418c-90.418 61.486-191.449 98.993-295.569 117.186v-3.675c0-11.545 0.127-20.64-1.003-30.533-1.127-9.891-4.112-23.496-15.232-34.34s-24.375-13.492-34.271-14.565-19.227-0.936-31.067-0.936h-94.737c-11.84 0-21.171-0.137-31.067 0.935s-23.153 3.721-34.273 14.564c-11.122 10.844-14.105 24.449-15.232 34.34s-1.003 18.988-1.003 30.533v4.743c-103.328-16.824-204.524-52.276-294.967-112.376l-1.402-14.297c-0.034-0.355-0.058-0.562-0.084-0.768l0.017 0.166c-5.903-52.012-0.393-91.688 22.582-118.322s70.092-48.17 166.023-48.17zM928.696 525.763l-26.858 279.869v-0.467c-4.62 42.048-13.6 72.616-38.283 94.603s-71.408 39.819-162.149 39.819h-378.814c-90.739 0-137.466-17.83-162.149-39.819s-33.662-52.555-38.283-94.603v0.467l-26.456-275.126c90.546 52.332 187.8 87.604 288.487 102.42 0.946 18.776 3.822 38.317 17.639 57.322 20.648 28.406 58.343 40.688 110.17 40.688 52.096 0 89.971-12.499 110.505-41.088 13.846-19.276 16.588-38.976 17.438-57.858 100.973-16.032 198.085-52.864 288.755-106.229zM464.631 546.206h94.737c6.436 0 8.729 0.167 12.894 0.267 0.090 3.921 0.267 5.767 0.267 11.691v47.101c0 25.061-2.348 40.084-5.611 44.629s-12.767 12.626-54.918 12.626c-41.943 0-51.583-8.064-54.851-12.56s-5.678-19.275-5.678-44.229v-47.569c0-5.924 0.178-7.771 0.267-11.691 4.165-0.098 6.458-0.267 12.894-0.267z"],attrs:[],isMulticolor:!1,isMulticolor2:!1,colorPermutations:{"13513613712552552551":[],"125525525513463581":[]},tags:["briefcase"],grid:0},attrs:[],properties:{order:33,id:6,name:"briefcase",prevSize:32,code:59662},setIdx:0,setId:4,iconIdx:7},{icon:{paths:["M482.712 22.394l-377.328 166.783c-31.614 13.974-46.767 41.583-46.767 74.318v153.774c0 42.336 32.474 80.455 76.119 80.455h7.738v255.977h-7.738c-43.641 0-76.119 38.118-76.119 80.455v104.807h-7.738c-18.865 0-34.157 15.292-34.157 34.157v0c0 18.865 15.292 34.157 34.157 34.157v0h922.239c18.865 0 34.157-15.292 34.157-34.157v0c0-18.865-15.292-34.157-34.157-34.157v0h-7.738v-104.807c0-42.335-32.478-80.455-76.119-80.455h-7.738v-255.977h7.738c43.644 0 76.119-38.121 76.119-80.455v-153.774c0-32.732-15.149-60.347-46.767-74.318l-377.328-166.783c-21.473-9.489-37.103-9.489-58.574 0zM510.266 84.905c-4.7 2.077 8.17 2.077 3.469 0l377.262 166.783c-2.269-1.003 6.071 10.263 6.071 11.809v153.774c0 8.614-5.338 12.142-7.805 12.142h-754.523c-2.467 0-7.805-3.53-7.805-12.142v-153.774c0-1.543 8.34-12.811 6.071-11.809zM512 174.698c-55.125 0-97.067 48.525-97.067 103.605s41.943 103.672 97.067 103.672c55.125 0 97.067-48.593 97.067-103.672s-41.943-103.605-97.067-103.605zM512 243.013c14.33 0 28.753 13.623 28.753 35.292s-14.423 35.359-28.753 35.359c-14.33 0-28.753-13.69-28.753-35.359s14.423-35.292 28.753-35.292zM210.791 497.723h99.403v255.977h-99.403zM378.507 497.723h99.336v255.977h-99.336zM546.157 497.723h99.336v255.977h-99.336zM713.807 497.723h99.403v255.977h-99.403zM134.738 822.016h754.523c2.47 0 7.805 3.522 7.805 12.142v104.807h-770.134v-104.807c0-8.617 5.335-12.142 7.805-12.142z"],attrs:[],isMulticolor:!1,isMulticolor2:!1,colorPermutations:{"13513613712552552551":[],"125525525513463581":[]},tags:["bank"],grid:0},attrs:[],properties:{order:34,id:7,name:"bank",prevSize:32,code:59663},setIdx:0,setId:4,iconIdx:8},{icon:{paths:["M511.864 16.070c-272.629 0-495.93 223.302-495.93 495.93 0 272.626 223.302 495.93 495.93 495.93 272.631 0 496.066-223.304 496.066-495.93 0-272.629-223.435-495.93-496.066-495.93zM511.864 85.276c234.882 0 426.859 191.845 426.859 426.724s-191.977 426.724-426.859 426.724c-234.88 0-426.724-191.846-426.724-426.724s191.843-426.724 426.724-426.724z","M327.36 460.095c-28.667 0-51.905 23.238-51.905 51.905v0c0 28.667 23.238 51.905 51.905 51.905v0h369.142c28.667 0 51.905-23.238 51.905-51.905v0c0-28.667-23.238-51.905-51.905-51.905v0z","M512 275.593c-28.667 0-51.905 23.238-51.905 51.905v0 369.007c0 28.667 23.238 51.905 51.905 51.905v0c28.667 0 51.905-23.238 51.905-51.905v0-369.007c0-28.667-23.238-51.905-51.905-51.905v0z"],attrs:[],isMulticolor:!1,isMulticolor2:!1,colorPermutations:{"13513613712552552551":[],"125525525513463581":[]},tags:["add-circle"],grid:0},attrs:[],properties:{order:35,id:8,name:"add-circle",prevSize:32,code:59664},setIdx:0,setId:4,iconIdx:9},{icon:{paths:["M512 810.667c8.439 0 16.687-2.5 23.706-7.189 7.014-4.689 12.484-11.354 15.714-19.149s4.075-16.375 2.428-24.653c-1.647-8.277-5.709-15.881-11.678-21.845-5.965-5.969-13.568-10.031-21.845-11.678s-16.858-0.802-24.653 2.428c-7.795 3.23-14.46 8.7-19.149 15.714-4.689 7.019-7.189 15.266-7.189 23.706 0 11.315 4.497 22.17 12.497 30.17s18.854 12.497 30.17 12.497zM725.333 810.667c8.439 0 16.687-2.5 23.706-7.189 7.014-4.689 12.484-11.354 15.714-19.149s4.075-16.375 2.428-24.653c-1.647-8.277-5.709-15.881-11.678-21.845-5.965-5.969-13.568-10.031-21.845-11.678s-16.858-0.802-24.653 2.428c-7.795 3.23-14.46 8.7-19.149 15.714-4.689 7.019-7.189 15.266-7.189 23.706 0 11.315 4.497 22.17 12.497 30.17s18.854 12.497 30.17 12.497zM725.333 640c8.439 0 16.687-2.5 23.706-7.189 7.014-4.689 12.484-11.354 15.714-19.149s4.075-16.375 2.428-24.653c-1.647-8.277-5.709-15.881-11.678-21.845-5.965-5.969-13.568-10.031-21.845-11.678s-16.858-0.802-24.653 2.428c-7.795 3.23-14.46 8.7-19.149 15.714-4.689 7.019-7.189 15.266-7.189 23.706 0 11.315 4.497 22.17 12.497 30.17s18.854 12.497 30.17 12.497zM512 640c8.439 0 16.687-2.5 23.706-7.189 7.014-4.689 12.484-11.354 15.714-19.149s4.075-16.375 2.428-24.653c-1.647-8.277-5.709-15.881-11.678-21.845-5.965-5.969-13.568-10.031-21.845-11.678s-16.858-0.802-24.653 2.428c-7.795 3.23-14.46 8.7-19.149 15.714-4.689 7.019-7.189 15.266-7.189 23.706 0 11.315 4.497 22.17 12.497 30.17s18.854 12.497 30.17 12.497zM810.667 128h-42.667v-42.667c0-11.316-4.497-22.168-12.497-30.17s-18.854-12.497-30.17-12.497c-11.315 0-22.17 4.495-30.17 12.497s-12.497 18.854-12.497 30.17v42.667h-341.333v-42.667c0-11.316-4.495-22.168-12.497-30.17s-18.854-12.497-30.17-12.497c-11.316 0-22.168 4.495-30.17 12.497s-12.497 18.854-12.497 30.17v42.667h-42.667c-33.948 0-66.505 13.486-90.51 37.49s-37.49 56.562-37.49 90.51v597.333c0 33.946 13.486 66.505 37.49 90.509s56.562 37.491 90.51 37.491h597.333c33.946 0 66.505-13.487 90.509-37.491s37.491-56.563 37.491-90.509v-597.333c0-33.948-13.487-66.505-37.491-90.51s-56.563-37.49-90.509-37.49zM853.333 853.333c0 11.315-4.497 22.17-12.497 30.17s-18.854 12.497-30.17 12.497h-597.333c-11.316 0-22.168-4.497-30.17-12.497s-12.497-18.854-12.497-30.17v-384h682.667v384zM853.333 384h-682.667v-128c0-11.316 4.495-22.168 12.497-30.17s18.854-12.497 30.17-12.497h42.667v42.667c0 11.316 4.495 22.168 12.497 30.17s18.854 12.497 30.17 12.497c11.316 0 22.168-4.495 30.17-12.497s12.497-18.854 12.497-30.17v-42.667h341.333v42.667c0 11.316 4.497 22.168 12.497 30.17s18.854 12.497 30.17 12.497c11.315 0 22.17-4.495 30.17-12.497s12.497-18.854 12.497-30.17v-42.667h42.667c11.315 0 22.17 4.495 30.17 12.497s12.497 18.854 12.497 30.17v128zM298.667 640c8.439 0 16.688-2.5 23.704-7.189s12.485-11.354 15.715-19.149c3.229-7.795 4.074-16.375 2.428-24.653s-5.71-15.881-11.677-21.845c-5.967-5.969-13.57-10.031-21.846-11.678s-16.855-0.802-24.652 2.428c-7.796 3.23-14.46 8.7-19.148 15.714-4.688 7.019-7.191 15.266-7.191 23.706 0 11.315 4.495 22.17 12.497 30.17s18.854 12.497 30.17 12.497zM298.667 810.667c8.439 0 16.688-2.5 23.704-7.189s12.485-11.354 15.715-19.149c3.229-7.795 4.074-16.375 2.428-24.653s-5.71-15.881-11.677-21.845c-5.967-5.969-13.57-10.031-21.846-11.678s-16.855-0.802-24.652 2.428c-7.796 3.23-14.46 8.7-19.148 15.714-4.688 7.019-7.191 15.266-7.191 23.706 0 11.315 4.495 22.17 12.497 30.17s18.854 12.497 30.17 12.497z"],attrs:[{}],isMulticolor:!1,isMulticolor2:!1,colorPermutations:{"13513613712552552551":[],"125525525513463581":[{}]},tags:["calendar"],grid:0},attrs:[{}],properties:{order:22,id:9,name:"calendar",prevSize:32,code:59660},setIdx:0,setId:4,iconIdx:10},{icon:{paths:["M92.308 1008.001l-76.307-76.31 419.692-419.691-419.692-419.692 76.307-76.307 419.692 419.692 419.691-419.692 76.31 76.307-419.692 419.692 419.692 419.691-76.31 76.31-419.691-419.692-419.692 419.692z"],attrs:[],isMulticolor:!1,isMulticolor2:!1,colorPermutations:{"13513613712552552551":[],"125525525513463581":[]},tags:["close"],grid:0},attrs:[],properties:{order:20,id:10,name:"close",prevSize:32,code:59659},setIdx:0,setId:4,iconIdx:11},{icon:{paths:["M479.562 16.805l-25.249 2.704c-85.122 9.016-168.126 42.381-241.661 97.025-27.458 20.423-75.563 68.53-96.213 96.124-112.624 150.903-131.877 345.585-50.901 514.566 24.618 51.308 53.156 91.118 96.528 134.446 43.329 43.372 83.138 71.911 134.446 96.528 168.936 80.974 363.753 61.632 514.745-51.083 27.458-20.47 75.698-68.711 96.169-96.169 134.086-179.667 134.086-418.804 0-598.47-20.47-27.413-68.666-75.61-96.033-95.944-71.911-53.472-147.656-84.537-235.214-96.44-19.071-2.616-83.365-4.78-96.62-3.292zM571.537 110.494c115.556 17.447 216.593 82.507 281.336 181.201 13.662 20.875 33.498 61.272 42.020 85.663 15.6 44.769 21.866 83.183 21.866 134.357 0 67.314-11.587 118.17-40.442 177.639-31.786 65.555-79.757 120.244-142.157 161.949-35.573 23.806-92.472 47.612-136.114 57.034-25.62 5.722-55.043 8.998-85.231 8.998-96.674 0-185.496-33.609-255.424-89.779l0.796 0.619c-68.215-54.644-119.387-134.806-139.902-219.072-8.387-34.401-11-57.348-11-97.385 0-67.314 11.587-118.17 40.442-177.639 48.209-97.574 131.699-171.591 233.4-206.28l2.851-0.844c31.786-10.504 57.348-15.69 98.288-19.928 14.519-1.488 70.83 0.676 89.27 3.471zM494.621 288.856c-9.882 2.687-17.931 9.133-22.672 17.667l-0.094 0.187c-4.012 7.484-4.012 7.935-4.508 110.821-0.36 66.771 0.136 105.727 1.352 110.19 4.735 17.674 17.764 27.322 38.638 28.674 21.866 1.397 36.204-4.915 44.365-19.523l4.508-8.025v-214.608l-4.012-7.528c-2.526-4.494-5.734-8.293-9.532-11.395l-0.071-0.056c-11.903-8.52-32.507-11.227-47.972-6.403zM494.621 649.453c-17.764 5.816-25.925 17.223-27.277 38.097-1.397 21.687 4.959 36.025 19.523 44.184 6.988 3.923 10.235 4.508 25.158 4.508 14.067 0 18.395-0.721 24.346-3.876 14.698-7.935 20.739-19.611 20.739-40.306 0-28.99-12.939-42.922-41.344-44.365-8.567-0.452-16.455 0.224-21.146 1.759z"],attrs:[{}],isMulticolor:!1,isMulticolor2:!1,colorPermutations:{"13513613712552552551":[{}],"125525525513463581":[{}]},tags:["alert-circle"],grid:0},attrs:[{}],properties:{order:3,id:11,name:"alert-circle",prevSize:32,code:59648},setIdx:0,setId:4,iconIdx:12},{icon:{paths:["M86.74 248.039c-13.743 7.271-32.022 25.885-39.226 39.959-3.593 6.962-5.699 15.194-5.699 23.918 0 8.777 2.132 17.053 5.906 24.343l-0.14-0.295c8.339 16.68 423.485 431.822 440.161 440.161 7.050 3.626 15.386 5.753 24.216 5.753s17.166-2.127 24.519-5.894l-0.303 0.141c16.68-8.339 431.822-423.485 440.161-440.161 11.741-23.549 5.737-47.899-17.345-70.981-22.684-22.684-48.099-28.753-71.58-17.012-7.472 3.734-71.38 65.711-193.329 187.392l-182.121 181.854-182.121-181.854c-121.949-121.682-185.858-183.656-193.329-187.392-7.274-3.457-15.806-5.475-24.812-5.475-9.058 0-17.641 2.042-25.313 5.692l0.355-0.152z"],attrs:[{}],isMulticolor:!1,isMulticolor2:!1,colorPermutations:{"13513613712552552551":[{}],"125525525513463581":[{}]},tags:["chevron-down"],grid:0},attrs:[{}],properties:{order:4,id:12,name:"chevron-down",prevSize:32,code:59649},setIdx:0,setId:4,iconIdx:13},{icon:{paths:["M696.431 22.299c-16.683 8.519-455.166 447.703-463.259 463.964-3.67 7.465-5.925 16.214-6.192 25.461l-0.002 0.092c0 7.814 2.463 18.021 6.195 25.553 8.798 17.599 446.859 455.657 464.458 464.458 24.848 12.388 50.544 6.053 74.898-18.302 24.426-24.426 30.692-50.050 18.302-74.898-4.434-8.729-63.566-69.902-198.087-204.633l-191.892-192.174 191.892-192.174c134.521-134.733 193.654-195.904 198.087-204.633 12.388-24.848 6.124-50.472-18.302-74.898-23.934-23.934-51.6-30.411-76.097-17.811z"],attrs:[{}],isMulticolor:!1,isMulticolor2:!1,colorPermutations:{"13513613712552552551":[{}],"125525525513463581":[{}]},tags:["chevron-left"],grid:0},attrs:[{}],properties:{order:5,id:13,name:"chevron-left",prevSize:32,code:59650},setIdx:0,setId:4,iconIdx:14},{icon:{paths:["M274.397 21.85c-14.506 7.676-33.802 27.323-41.407 42.182-3.793 7.347-6.016 16.037-6.016 25.248 0 9.265 2.25 18.003 6.233 25.699l-0.148-0.312c4.436 8.732 63.589 69.927 198.164 204.713l191.967 192.248-191.967 192.248c-134.573 134.785-193.727 195.98-198.164 204.713-12.393 24.858-6.126 50.492 18.309 74.927 24.366 24.366 50.068 30.704 74.927 18.309 17.606-8.802 455.833-447.031 464.636-464.636 3.671-7.468 5.928-16.22 6.194-25.472l0.002-0.092c-0.268-9.341-2.525-18.096-6.36-25.936l0.164 0.373c-8.522-17.112-446.96-455.833-464.002-464.284-7.679-3.647-16.687-5.779-26.192-5.779-9.563 0-18.623 2.157-26.72 6.009l0.376-0.161z"],attrs:[{}],isMulticolor:!1,isMulticolor2:!1,colorPermutations:{"13513613712552552551":[{}],"125525525513463581":[{}]},tags:["chevron-right"],grid:0},attrs:[{}],properties:{order:6,id:14,name:"chevron-right",prevSize:32,code:59651},setIdx:0,setId:4,iconIdx:15},{icon:{paths:["M122.87 145.282c-45.789 7.741-83.47 41.162-97.682 86.706l-3.85 12.287v535.715l3.85 12.287c12.591 40.186 43.612 71.207 82.901 83.554l0.897 0.243 12.287 3.85h781.455l12.287-3.85c40.186-12.591 71.207-43.612 83.554-82.901l0.243-0.897 3.85-12.287v-535.715l-3.85-12.287c-12.527-39.881-43.174-70.717-82.042-83.262l-0.897-0.25-13.147-4.136-385.813-0.246c-212.197-0.122-389.54 0.41-394.045 1.187zM893.308 227.933c6.274 1.981 11.613 5.404 15.833 9.892l0.019 0.020c12.122 12.122 12.41 14.212 12.41 87.812v63.606h-819.135v-63.606c0-73.641 0.287-75.688 12.451-87.812 4.087-4.335 9.153-7.7 14.847-9.746l0.265-0.083c6.554-2.006 60.903-2.375 381.308-2.458 329.949-0.122 374.59 0.163 382.004 2.375zM921.568 616.736c0 157.93 0.205 154.324-9.051 166.448-2.499 3.277-7.945 7.986-12.082 10.403l-7.536 4.424h-761.796l-7.536-4.424c-4.601-2.832-8.531-6.217-11.861-10.129l-0.058-0.069c-9.543-12.532-9.216-6.511-9.216-165.793v-146.42h819.135v145.56z"],attrs:[{}],isMulticolor:!1,isMulticolor2:!1,colorPermutations:{"13513613712552552551":[{}],"125525525513463581":[{}]},tags:["credit-card"],grid:0},attrs:[{}],properties:{order:7,id:15,name:"credit-card",prevSize:32,code:59652},setIdx:0,setId:4,iconIdx:16},{icon:{paths:["M124.444 1024c-25.6 0-48-9.603-67.2-28.803s-28.8-41.597-28.8-67.197v-228.801h96v228.801h832v-228.801h96v228.801c0 25.6-9.603 47.997-28.803 67.197s-41.597 28.803-67.197 28.803h-832zM540.444 779.201l-308.8-308.801 68.8-68.8 192 192.002v-593.601h96.003v593.601l192-192.002 68.796 68.8-308.799 308.801z"],width:1081,attrs:[{}],isMulticolor:!1,isMulticolor2:!1,colorPermutations:{"13513613712552552551":[{}],"125525525513463581":[{}]},tags:["download"],grid:0},attrs:[{}],properties:{order:8,id:16,name:"download",prevSize:32,code:59653},setIdx:0,setId:4,iconIdx:17},{icon:{paths:["M794.006 17.661l-151.696 1.040-9.863 5.054c-16.85 8.673-23.837 23.986-22.3 48.666 1.437 22.747 11.943 37.069 31.023 42.371 4.362 1.239 44.353 2.031 101.345 2.031h94.11l-234.158 234.406c-167.702 167.801-235.446 236.884-238.618 243.178-8.721 17.494-4.311 35.583 12.884 52.728 17.147 17.197 35.236 21.607 52.728 12.884 6.293-3.172 75.377-70.917 243.178-238.618l234.406-234.158v94.11c0 56.992 0.793 96.984 2.031 101.345 5.301 19.080 19.624 29.586 42.371 31.023 24.034 1.536 39.794-5.402 48.764-21.459l4.956-8.822 1.337-156.601c0.743-86.13 1.389-159.525 1.487-163.094 0.199-9.367-10.010-30.676-17.197-35.781-11.101-7.88-24.034-12.29-34.839-11.796-5.65 0.247-78.549 0.942-161.954 1.487zM138.857 168.514c-55.307 9.267-100.999 49.804-118.194 104.912l-4.659 14.867v598.654l4.659 14.867c15.235 48.626 52.77 86.159 100.311 101.101l1.085 0.293 14.867 4.659h598.654l14.867-4.659c48.626-15.235 86.159-52.77 101.101-100.311l0.293-1.085 4.659-14.867v-342.936l-4.51-8.424c-8.177-15.363-27.751-23.787-50.3-21.756-21.557 1.983-36.326 13.034-41.281 30.924-1.288 4.558-2.031 65.068-2.031 163.985 0 170.081 0.149 167.504-10.951 182.074-3.023 3.964-9.614 9.664-14.62 12.587l-9.119 5.353h-574.865l-9.119-5.353c-5.567-3.428-10.323-7.523-14.351-12.254l-0.070-0.086c-11.796-15.463-11.15 1.585-11.15-302.349 0-314.194-1.090-292.092 15.016-308.198 15.61-15.61 8.177-15.016 186.040-15.016 98.917 0 159.377-0.743 163.935-2.031 11.026-3.042 20.021-10.196 25.414-19.667l0.108-0.206c4.311-7.73 4.956-11.2 4.906-27.653-0.050-21.459-4.014-31.964-14.916-39.696-13.925-9.911-13.034-9.863-185.048-9.614-88.411 0.098-165.274 0.991-170.726 1.884z"],attrs:[{}],isMulticolor:!1,isMulticolor2:!1,colorPermutations:{"13513613712552552551":[{}],"125525525513463581":[{}]},tags:["external-link"],grid:0},attrs:[{}],properties:{order:9,id:17,name:"external-link",prevSize:32,code:59654},setIdx:0,setId:4,iconIdx:18},{icon:{paths:["M37.011 21.092c-7.44 4.919-15.211 13.392-19.096 20.832-2.893 5.497-2.397 26.205 0.744 32.446 1.488 2.893 43.936 46.623 94.363 97.173l91.676 91.883-22.072 19.881c-55.882 50.302-111.391 120.526-152.394 192.652-19.923 35.091-19.551 40.216 6.572 83.906 22.981 38.439 50.839 77.582 81.963 114.987 17.277 20.832 68.571 72.374 88.204 88.659 77.664 64.52 156.486 101.967 243.863 115.938 29.181 4.671 84.691 4.919 114.905 0.537 64.774-9.256 123.081-30.451 174.918-61.366l-2.146 1.186 14.053-8.391 95.891 95.643c52.74 52.575 98.289 96.801 101.182 98.289 3.431 1.695 9.589 2.645 17.484 2.645 10.871 0 13.061-0.579 19.881-5.084 7.44-4.919 15.211-13.392 19.096-20.832 1.033-1.984 1.901-9.135 1.901-15.872 0-10.788-0.579-13.061-4.877-19.509-6.696-10.003-922.132-924.736-928.745-928.042-3.431-1.695-9.631-2.645-17.484-2.645-10.871 0-13.061 0.579-19.881 5.084zM483.073 140.957c-38.77 3.885-70.679 9.879-81.384 15.335-17.443 8.928-22.651 27.611-14.467 51.748 3.431 9.961 12.565 20.501 19.964 22.94 7.233 2.397 20.584 2.356 31.413-0.083 21.828-4.99 46.894-7.847 72.629-7.847 24.765 0 48.908 2.647 72.168 7.674l-2.239-0.405c112.673 22.94 225.345 110.358 314.128 243.697 27.404 41.126 25.833 34.802 13.681 54.89-18.486 29.629-36.424 54.854-55.698 78.967l1.263-1.635c-15.665 19.427-20.419 28.396-20.419 38.728 0 9.961 3.844 17.897 13.020 26.825 15.789 15.335 32.074 19.179 47.078 10.995 16.285-8.845 62.164-70.431 96.553-129.578 23.188-39.844 23.064-44.267-2.356-87.212-37.302-62.647-79.77-116.755-128.241-164.821l-0.056-0.055c-52.906-52.864-96.015-84.608-154.667-113.789-47.987-23.891-92.875-37.778-142.185-43.978-14.921-1.901-69.067-3.472-80.186-2.397zM363.497 436.278c-7.027 12.235-16.161 40.547-18.6 57.411-2.273 15.748-1.281 38.026 2.439 55.51 13.81 64.070 63.4 113.659 126.385 127.273l1.085 0.197c36.992 7.853 73.986 2.976 109.035-14.467l13.144-6.531 95.767 95.767-18.145 9.093c-55.551 27.859-106.762 40.010-167.562 39.762-34.884-0.124-55.51-2.852-85.146-11.325-108.953-31.041-213.029-116.558-296.355-243.491-23.767-36.207-22.609-30.421-10.209-50.798 36.103-58.15 77.662-108.281 125.123-152.115l0.487-0.445 22.196-20.295 105.481 105.481-5.125 8.969zM482.99 541.677c28.148 28.189 50.839 51.5 50.426 51.872-2.371 0.956-5.22 1.825-8.155 2.456l-0.358 0.065c-32.694 8.019-71.795-10.664-88.618-42.324-7.068-13.309-10.871-31.165-9.424-44.226s2.645-19.013 3.927-19.013c0.579 0 24.097 23.023 52.203 51.17z"],attrs:[{}],isMulticolor:!1,isMulticolor2:!1,colorPermutations:{"13513613712552552551":[{}],"125525525513463581":[{}]},tags:["eye-off"],grid:0},attrs:[{}],properties:{order:10,id:18,name:"eye-off",prevSize:32,code:59655},setIdx:0,setId:4,iconIdx:19},{icon:{paths:["M476.812 145.058c-91.938 8.183-178.844 45.99-262.682 114.237-22.013 17.88-73.24 69.23-93.411 93.576-27.898 33.332-54.401 70.307-78.054 109.206l-2.265 4.009c-25.408 43.004-25.408 48.075 0 91.079 26.595 43.828 53.754 81.602 83.511 117.127l-1.187-1.456c17.103 20.621 67.881 71.644 87.316 87.765 95.252 79.132 196.848 119.231 301.963 119.231 101.186 0 199.262-37.274 291.528-110.8 24.55-19.599 77.168-71.317 97.789-96.194 28.531-34.062 55.678-71.838 79.947-111.56l2.335-4.112c25.408-43.004 25.408-48.075 0-91.079-36.927-62.014-78.968-115.578-126.948-163.159l-0.056-0.055c-52.373-52.333-95.049-83.755-153.109-112.642-47.258-23.526-92.471-37.52-140.752-43.534-19.762-2.456-66.611-3.355-85.924-1.636zM542.401 226.93c113.297 11.048 221.112 79.46 315.996 200.613 12.97 16.572 49.221 69.557 54.46 79.622 2.865 5.524 3.109 4.991-18.289 37.602-76.268 116.162-173.648 200.285-270.457 233.633-36.375 12.521-63.503 17.677-100.654 19.107-41.858 1.595-75.777-3.436-118.575-17.634-99.877-33.061-197.545-116.447-275.448-235.106-21.4-32.57-21.154-32.118-18.289-37.561 5.319-10.106 35.598-54.828 49.058-72.503 112.439-147.544 247.339-220.865 382.198-207.772zM485.731 350.456c-46.153 7.2-90.63 37.358-114.115 77.413-14.495 23.907-23.073 52.8-23.073 83.696 0 68.318 41.943 126.839 101.484 151.218l1.089 0.394c18.045 7.475 38.999 11.817 60.968 11.817 68.256 0 126.725-41.91 151.074-101.401l0.393-1.088c7.497-18.004 11.851-38.921 11.851-60.853 0-21.895-4.34-42.775-12.205-61.827l0.393 1.079c-21.587-53.034-68.85-91.572-125.925-100.454l-0.915-0.116c-7.561-1.328-16.266-2.088-25.149-2.088-9.141 0-18.093 0.805-26.792 2.346l0.92-0.135zM533.4 432.78c30.737 8.794 53.801 34.225 59.016 65.681l0.066 0.48c4.092 26.718-3.846 50.859-23.077 70.131-16.407 16.489-35.024 24.386-57.404 24.386-21.072 0-39.361-7.284-55.114-21.891-54.418-50.572-18.985-141.571 55.114-141.571 5.851 0 15.467 1.268 21.4 2.782z"],attrs:[{}],isMulticolor:!1,isMulticolor2:!1,colorPermutations:{"13513613712552552551":[{}],"125525525513463581":[{}]},tags:["eye"],grid:0},attrs:[{}],properties:{order:11,id:19,name:"eye",prevSize:32,code:59656},setIdx:0,setId:4,iconIdx:20},{icon:{paths:["M481.28 43.648l-23.893 2.56c-80.555 8.533-159.104 40.107-228.693 91.819-25.984 19.328-71.509 64.853-91.051 90.965-106.581 142.805-124.8 327.040-48.171 486.955 23.296 48.555 50.304 86.229 91.349 127.232 41.003 41.045 78.677 68.053 127.232 91.349 159.872 76.629 344.235 58.325 487.125-48.341 25.984-19.371 71.637-65.024 91.008-91.008 126.891-170.027 126.891-396.331 0-566.357-19.371-25.941-64.981-71.552-90.88-90.795-68.053-50.603-139.733-80-222.592-91.264-18.048-2.475-78.891-4.523-91.435-3.115zM568.32 132.309c109.355 16.512 204.971 78.080 266.24 171.477 12.928 19.755 31.701 57.984 39.765 81.067 14.763 42.368 20.693 78.72 20.693 127.147 0 63.701-10.965 111.829-38.272 168.107-30.080 62.037-75.477 113.792-134.528 153.259-33.664 22.528-87.509 45.056-128.811 53.973-24.244 5.414-52.089 8.515-80.658 8.515-91.486 0-175.543-31.805-241.717-84.962l0.754 0.586c-64.555-51.712-112.981-127.573-132.395-207.317-7.936-32.555-10.411-54.272-10.411-92.16 0-63.701 10.965-111.829 38.272-168.107 45.622-92.339 124.633-162.383 220.876-195.211l2.698-0.799c30.080-9.941 54.272-14.848 93.013-18.859 13.739-1.408 67.029 0.64 84.48 3.285zM482.133 257.792c-22.357 3.456-48.768 14.165-70.827 28.715-38.101 25.131-71.424 80-66.261 109.184 2.56 14.72 15.104 25.173 36.309 30.421 9.771 2.389 12.843 2.517 19.499 0.768 11.392-3.029 20.821-12.971 27.563-28.928 6.741-16.085 12.8-25.003 23.509-34.645 26.325-23.68 61.141-28.501 94.208-13.013 14.848 6.955 31.744 24.021 38.997 39.381 6.059 12.843 9.643 32.128 8.021 43.093-4.096 27.221-38.699 56.917-92.288 79.232-31.019 12.885-39.424 24.107-34.944 46.805 5.675 28.8 22.997 43.221 46.421 38.613 24.832-4.907 68.651-26.965 97.451-49.109 49.365-37.973 71.595-80.213 68.949-130.987-2.261-43.136-18.731-79.957-49.749-111.189-21.063-21.482-47.858-37.271-77.909-44.894l-1.152-0.248c-15.317-3.968-51.925-5.675-67.797-3.2zM495.531 685.013c-16.811 5.504-24.533 16.299-25.813 36.053-1.323 20.523 4.693 34.091 18.475 41.813 6.613 3.712 9.685 4.267 23.808 4.267 13.312 0 17.408-0.683 23.040-3.669 13.909-7.509 19.627-18.56 19.627-38.144 0-27.435-12.245-40.619-39.125-41.984-8.107-0.427-15.573 0.213-20.011 1.664z"],attrs:[{}],isMulticolor:!1,isMulticolor2:!1,colorPermutations:{"13513613712552552551":[{}],"125525525513463581":[{}]},tags:["help-circle"],grid:0},attrs:[{}],properties:{order:12,id:20,name:"help-circle",prevSize:32,code:59657},setIdx:0,setId:4,iconIdx:21}],height:1024,metadata:{name:"icomoon"},preferences:{showGlyphs:!0,showQuickUse:!0,showQuickUse2:!0,showSVGs:!0,fontPref:{prefix:"icon-",metadata:{fontFamily:"icomoon"},metrics:{emSize:1024,baseline:6.25,whitespace:50},embed:!1},imagePref:{prefix:"icon-",png:!0,useClassSelector:!0,color:0,bgColor:16777215,classSelector:".icon",name:"icomoon"},historySize:50,showCodes:!0,gridSize:16,showGrid:!1}}).icons.map(e=>e.properties.name).reduce((e,t)=>(e[t]=t,e),{});const Ea={prefix:String(Math.round(Math.random()*1e10)),current:0},$d=f.createContext(Ea),Dv=f.createContext(!1);let Nv=!!(typeof window<"u"&&window.document&&window.document.createElement),Ms=new WeakMap;function $v(e=!1){let t=f.useContext($d),n=f.useRef(null);if(n.current===null&&!e){var r,o;let a=(o=f.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED)===null||o===void 0||(r=o.ReactCurrentOwner)===null||r===void 0?void 0:r.current;if(a){let i=Ms.get(a);i==null?Ms.set(a,{id:t.current,state:a.memoizedState}):a.memoizedState!==i.state&&(t.current=i.id,Ms.delete(a))}n.current=++t.current}return n.current}function kv(e){let t=f.useContext($d);t===Ea&&!Nv&&console.warn("When server rendering, you must wrap your application in an <SSRProvider> to ensure consistent ids are generated between the client and server.");let n=$v(!!e),r=t===Ea&&process.env.NODE_ENV==="test"?"react-aria":`react-aria${t.prefix}`;return e||`${r}-${n}`}function Ov(e){let t=f.useId(),[n]=f.useState(kd()),r=n||process.env.NODE_ENV==="test"?"react-aria":`react-aria${Ea.prefix}`;return e||`${r}-${t}`}const Fv=typeof f.useId=="function"?Ov:kv;function Lv(){return!1}function Vv(){return!0}function jv(e){return()=>{}}function kd(){return typeof f.useSyncExternalStore=="function"?f.useSyncExternalStore(jv,Lv,Vv):f.useContext(Dv)}function Bv(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function Wv(e,t,n){Bv(e,t),t.set(e,n)}function hr(e,t,n){let[r,o]=f.useState(e||t),a=f.useRef(e!==void 0),i=e!==void 0;f.useEffect(()=>{let u=a.current;u!==i&&console.warn(`WARN: A component changed from ${u?"controlled":"uncontrolled"} to ${i?"controlled":"uncontrolled"}.`),a.current=i},[i]);let s=i?e:r,l=f.useCallback((u,...c)=>{let d=(p,...m)=>{n&&(Object.is(s,p)||n(p,...m)),i||(s=p)};typeof u=="function"?(console.warn("We can not support a function callback. See Github Issues for details https://github.com/adobe/react-spectrum/issues/2320"),o((m,...h)=>{let g=u(i?s:m,...h);return d(g,...c),i?m:g})):(i||o(u),d(u,...c))},[i,s,n]);return[s,l]}const Jt=typeof document<"u"?f.useLayoutEffect:()=>{};function Je(e){const t=f.useRef(null);return Jt(()=>{t.current=e},[e]),f.useCallback((...n)=>{const r=t.current;return r(...n)},[])}function _v(e){let[t,n]=f.useState(e),r=f.useRef(null),o=Je(()=>{let i=r.current.next();if(i.done){r.current=null;return}t===i.value?o():n(i.value)});Jt(()=>{r.current&&o()});let a=Je(i=>{r.current=i(t),o()});return[t,a]}let Gv=!!(typeof window<"u"&&window.document&&window.document.createElement),Pa=new Map;function gr(e){let[t,n]=f.useState(e),r=f.useRef(null),o=Fv(t),a=f.useCallback(i=>{r.current=i},[]);return Gv&&Pa.set(o,a),Jt(()=>{let i=o;return()=>{Pa.delete(i)}},[o]),f.useEffect(()=>{let i=r.current;i&&(r.current=null,n(i))}),o}function Rv(e,t){if(e===t)return e;let n=Pa.get(e);if(n)return n(t),t;let r=Pa.get(t);return r?(r(e),e):t}function Od(e=[]){let t=gr(),[n,r]=_v(t),o=f.useCallback(()=>{r(function*(){yield t,yield document.getElementById(t)?t:void 0})},[t,r]);return Jt(o,[t,o,...e]),n}function Ln(...e){return(...t)=>{for(let n of e)typeof n=="function"&&n(...t)}}const Wt=e=>{var t;return(t=e==null?void 0:e.ownerDocument)!==null&&t!==void 0?t:document},ao=e=>e&&"window"in e&&e.window===e?e:Wt(e).defaultView||window;function he(...e){let t={...e[0]};for(let n=1;n<e.length;n++){let r=e[n];for(let o in r){let a=t[o],i=r[o];typeof a=="function"&&typeof i=="function"&&o[0]==="o"&&o[1]==="n"&&o.charCodeAt(2)>=65&&o.charCodeAt(2)<=90?t[o]=Ln(a,i):(o==="className"||o==="UNSAFE_className")&&typeof a=="string"&&typeof i=="string"?t[o]=Dd(a,i):o==="id"&&a&&i?t.id=Rv(a,i):t[o]=i!==void 0?i:a}}return t}const zv=new Set(["id"]),Hv=new Set(["aria-label","aria-labelledby","aria-describedby","aria-details"]),Xv=new Set(["href","target","rel","download","ping","referrerPolicy"]),Zv=/^(data-.*)$/;function br(e,t={}){let{labelable:n,isLink:r,propNames:o}=t,a={};for(const i in e)Object.prototype.hasOwnProperty.call(e,i)&&(zv.has(i)||n&&Hv.has(i)||r&&Xv.has(i)||o!=null&&o.has(i)||Zv.test(i))&&(a[i]=e[i]);return a}function ht(e){if(Yv())e.focus({preventScroll:!0});else{let t=Uv(e);e.focus(),Kv(t)}}let Sa=null;function Yv(){if(Sa==null){Sa=!1;try{var e=document.createElement("div");e.focus({get preventScroll(){return Sa=!0,!0}})}catch{}}return Sa}function Uv(e){for(var t=e.parentNode,n=[],r=document.scrollingElement||document.documentElement;t instanceof HTMLElement&&t!==r;)(t.offsetHeight<t.scrollHeight||t.offsetWidth<t.scrollWidth)&&n.push({element:t,scrollTop:t.scrollTop,scrollLeft:t.scrollLeft}),t=t.parentNode;return r instanceof HTMLElement&&n.push({element:r,scrollTop:r.scrollTop,scrollLeft:r.scrollLeft}),n}function Kv(e){for(let{element:t,scrollTop:n,scrollLeft:r}of e)t.scrollTop=n,t.scrollLeft=r}function Ma(e){var t;return typeof window>"u"||window.navigator==null?!1:((t=window.navigator.userAgentData)===null||t===void 0?void 0:t.brands.some(n=>e.test(n.brand)))||e.test(window.navigator.userAgent)}function As(e){var t;return typeof window<"u"&&window.navigator!=null?e.test(((t=window.navigator.userAgentData)===null||t===void 0?void 0:t.platform)||window.navigator.platform):!1}function yn(){return As(/^Mac/i)}function Jv(){return As(/^iPhone/i)}function Fd(){return As(/^iPad/i)||yn()&&navigator.maxTouchPoints>1}function io(){return Jv()||Fd()}function Qv(){return yn()||io()}function qv(){return Ma(/AppleWebKit/i)&&!e2()}function e2(){return Ma(/Chrome/i)}function Ld(){return Ma(/Android/i)}function t2(){return Ma(/Firefox/i)}const n2=f.createContext({isNative:!0,open:o2});function Vd(){return f.useContext(n2)}function Qt(e,t,n=!0){var r,o;let{metaKey:a,ctrlKey:i,altKey:s,shiftKey:l}=t;t2()&&(!((o=window.event)===null||o===void 0||(r=o.type)===null||r===void 0)&&r.startsWith("key"))&&e.target==="_blank"&&(yn()?a=!0:i=!0);let u=qv()&&yn()&&!Fd()?new KeyboardEvent("keydown",{keyIdentifier:"Enter",metaKey:a,ctrlKey:i,altKey:s,shiftKey:l}):new MouseEvent("click",{metaKey:a,ctrlKey:i,altKey:s,shiftKey:l,bubbles:!0,cancelable:!0});Qt.isOpening=n,ht(e),e.dispatchEvent(u),Qt.isOpening=!1}Qt.isOpening=!1;function r2(e,t){if(e instanceof HTMLAnchorElement)t(e);else if(e.hasAttribute("data-href")){let n=document.createElement("a");n.href=e.getAttribute("data-href"),e.hasAttribute("data-target")&&(n.target=e.getAttribute("data-target")),e.hasAttribute("data-rel")&&(n.rel=e.getAttribute("data-rel")),e.hasAttribute("data-download")&&(n.download=e.getAttribute("data-download")),e.hasAttribute("data-ping")&&(n.ping=e.getAttribute("data-ping")),e.hasAttribute("data-referrer-policy")&&(n.referrerPolicy=e.getAttribute("data-referrer-policy")),e.appendChild(n),t(n),e.removeChild(n)}}function o2(e,t){r2(e,n=>Qt(n,t))}let vr=new Map,Ts=new Set;function jd(){if(typeof window>"u")return;let e=n=>{let r=vr.get(n.target);r||(r=new Set,vr.set(n.target,r),n.target.addEventListener("transitioncancel",t)),r.add(n.propertyName)},t=n=>{let r=vr.get(n.target);if(r&&(r.delete(n.propertyName),r.size===0&&(n.target.removeEventListener("transitioncancel",t),vr.delete(n.target)),vr.size===0)){for(let o of Ts)o();Ts.clear()}};document.body.addEventListener("transitionrun",e),document.body.addEventListener("transitionend",t)}typeof document<"u"&&(document.readyState!=="loading"?jd():document.addEventListener("DOMContentLoaded",jd));function Ds(e){requestAnimationFrame(()=>{vr.size===0?e():Ts.add(e)})}function Ns(){let e=f.useRef(new Map),t=f.useCallback((o,a,i,s)=>{let l=s!=null&&s.once?(...u)=>{e.current.delete(i),i(...u)}:i;e.current.set(i,{type:a,eventTarget:o,fn:l,options:s}),o.addEventListener(a,i,s)},[]),n=f.useCallback((o,a,i,s)=>{var l;let u=((l=e.current.get(i))===null||l===void 0?void 0:l.fn)||i;o.removeEventListener(a,u,s),e.current.delete(i)},[]),r=f.useCallback(()=>{e.current.forEach((o,a)=>{n(o.eventTarget,o.type,a,o.options)})},[n]);return f.useEffect(()=>r,[r]),{addGlobalListener:t,removeGlobalListener:n,removeAllGlobalListeners:r}}function $s(e,t){let{id:n,"aria-label":r,"aria-labelledby":o}=e;return n=gr(n),o&&r?o=[...new Set([n,...o.trim().split(/\s+/)])].join(" "):o&&(o=o.trim().split(/\s+/).join(" ")),!r&&!o&&t&&(r=t),{id:n,"aria-label":r,"aria-labelledby":o}}function ks(e,t){Jt(()=>{if(e&&e.ref&&t)return e.ref.current=t.current,()=>{e.ref.current=null}})}function Bd(e,t){for(Wd(e,t)&&(e=e.parentElement);e&&!Wd(e,t);)e=e.parentElement;return e||document.scrollingElement||document.documentElement}function Wd(e,t){let n=window.getComputedStyle(e),r=/(auto|scroll)/.test(n.overflow+n.overflowX+n.overflowY);return r&&t&&(r=e.scrollHeight!==e.clientHeight||e.scrollWidth!==e.clientWidth),r}let a2=0;const Os=new Map;function i2(e){let[t,n]=f.useState(void 0);return Jt(()=>{if(!e)return;let r=Os.get(e);if(r)n(r.element.id);else{let o=`react-aria-description-${a2++}`;n(o);let a=document.createElement("div");a.id=o,a.style.display="none",a.textContent=e,document.body.appendChild(a),r={refCount:0,element:a},Os.set(e,r)}return r.refCount++,()=>{--r.refCount===0&&(r.element.remove(),Os.delete(e))}},[e]),{"aria-describedby":e?t:void 0}}function s2(e,t,n,r){let o=Je(n),a=n==null;f.useEffect(()=>{if(a)return;let i=e.current;return i.addEventListener(t,o,r),()=>{i.removeEventListener(t,o,r)}},[e,t,r,a,o])}function _d(e,t){let n=Gd(e,t,"left"),r=Gd(e,t,"top"),o=t.offsetWidth,a=t.offsetHeight,i=e.scrollLeft,s=e.scrollTop,{borderTopWidth:l,borderLeftWidth:u}=getComputedStyle(e),c=e.scrollLeft+parseInt(u,10),d=e.scrollTop+parseInt(l,10),p=c+e.clientWidth,m=d+e.clientHeight;n<=i?i=n-parseInt(u,10):n+o>p&&(i+=n+o-p),r<=d?s=r-parseInt(l,10):r+a>m&&(s+=r+a-m),e.scrollLeft=i,e.scrollTop=s}function Gd(e,t,n){const r=n==="left"?"offsetLeft":"offsetTop";let o=0;for(;t.offsetParent&&(o+=t[r],t.offsetParent!==e);){if(t.offsetParent.contains(e)){o-=e[r];break}t=t.offsetParent}return o}function Rd(e,t){if(document.contains(e)){let i=document.scrollingElement||document.documentElement;if(window.getComputedStyle(i).overflow==="hidden"){let l=Bd(e);for(;e&&l&&e!==i&&l!==i;)_d(l,e),e=l,l=Bd(e)}else{var n;let{left:l,top:u}=e.getBoundingClientRect();e==null||(n=e.scrollIntoView)===null||n===void 0||n.call(e,{block:"nearest"});let{left:c,top:d}=e.getBoundingClientRect();if(Math.abs(l-c)>1||Math.abs(u-d)>1){var r,o,a;t==null||(o=t.containingElement)===null||o===void 0||(r=o.scrollIntoView)===null||r===void 0||r.call(o,{block:"center",inline:"center"}),(a=e.scrollIntoView)===null||a===void 0||a.call(e,{block:"nearest"})}}}}function so(e){return e.mozInputSource===0&&e.isTrusted?!0:Ld()&&e.pointerType?e.type==="click"&&e.buttons===1:e.detail===0&&!e.pointerType}function zd(e){return!Ld()&&e.width===0&&e.height===0||e.width===1&&e.height===1&&e.pressure===0&&e.detail===0&&e.pointerType==="mouse"}function Fs(e,t,n){let r=f.useRef(t),o=Je(()=>{n&&n(r.current)});f.useEffect(()=>{var a;let i=e==null||(a=e.current)===null||a===void 0?void 0:a.form;return i==null||i.addEventListener("reset",o),()=>{i==null||i.removeEventListener("reset",o)}},[e,o])}const l2=new Set(["Arab","Syrc","Samr","Mand","Thaa","Mend","Nkoo","Adlm","Rohg","Hebr"]),u2=new Set(["ae","ar","arc","bcc","bqi","ckb","dv","fa","glk","he","ku","mzn","nqo","pnb","ps","sd","ug","ur","yi"]);function c2(e){if(Intl.Locale){let n=new Intl.Locale(e).maximize(),r=typeof n.getTextInfo=="function"?n.getTextInfo():n.textInfo;if(r)return r.direction==="rtl";if(n.script)return l2.has(n.script)}let t=e.split("-")[0];return u2.has(t)}const d2=Symbol.for("react-aria.i18n.locale");function Hd(){let e=typeof window<"u"&&window[d2]||typeof navigator<"u"&&(navigator.language||navigator.userLanguage)||"en-US";try{Intl.DateTimeFormat.supportedLocalesOf([e])}catch{e="en-US"}return{locale:e,direction:c2(e)?"rtl":"ltr"}}let Ls=Hd(),lo=new Set;function Xd(){Ls=Hd();for(let e of lo)e(Ls)}function f2(){let e=kd(),[t,n]=f.useState(Ls);return f.useEffect(()=>(lo.size===0&&window.addEventListener("languagechange",Xd),lo.add(n),()=>{lo.delete(n),lo.size===0&&window.removeEventListener("languagechange",Xd)}),[]),e?{locale:"en-US",direction:"ltr"}:t}const p2=f.createContext(null);function Vs(){let e=f2();return f.useContext(p2)||e}var _t=function(){return _t=Object.assign||function(t){for(var n,r=1,o=arguments.length;r<o;r++){n=arguments[r];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(t[a]=n[a])}return t},_t.apply(this,arguments)};function Zd(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 m2(e,t,n){if(n||arguments.length===2)for(var r=0,o=t.length,a;r<o;r++)(a||!(r in t))&&(a||(a=Array.prototype.slice.call(t,0,r)),a[r]=t[r]);return e.concat(a||Array.prototype.slice.call(t))}typeof SuppressedError=="function"&&SuppressedError;function h2(e,t){return t.get?t.get.call(e):t.value}function Yd(e,t,n){if(!t.has(e))throw new TypeError("attempted to "+n+" private field on non-instance");return t.get(e)}function g2(e,t){var n=Yd(e,t,"get");return h2(e,n)}function b2(e,t,n){if(t.set)t.set.call(e,n);else{if(!t.writable)throw new TypeError("attempted to set read only private field");t.value=n}}function Ud(e,t,n){var r=Yd(e,t,"set");return b2(e,r,n),n}let yr="default",js="",Aa=new WeakMap;function Kd(e){if(io()){if(yr==="default"){const t=Wt(e);js=t.documentElement.style.webkitUserSelect,t.documentElement.style.webkitUserSelect="none"}yr="disabled"}else(e instanceof HTMLElement||e instanceof SVGElement)&&(Aa.set(e,e.style.userSelect),e.style.userSelect="none")}function Ta(e){if(io()){if(yr!=="disabled")return;yr="restoring",setTimeout(()=>{Ds(()=>{if(yr==="restoring"){const t=Wt(e);t.documentElement.style.webkitUserSelect==="none"&&(t.documentElement.style.webkitUserSelect=js||""),js="",yr="default"}})},300)}else if((e instanceof HTMLElement||e instanceof SVGElement)&&e&&Aa.has(e)){let t=Aa.get(e);e.style.userSelect==="none"&&(e.style.userSelect=t),e.getAttribute("style")===""&&e.removeAttribute("style"),Aa.delete(e)}}const Jd=f.createContext({register:()=>{}});Jd.displayName="PressResponderContext";function v2(e){let t=f.useContext(Jd);if(t){let{register:n,...r}=t;e=he(r,e),n()}return ks(t,e.ref),e}var Da=new WeakMap;class Na{continuePropagation(){Ud(this,Da,!1)}get shouldStopPropagation(){return g2(this,Da)}constructor(t,n,r){Wv(this,Da,{writable:!0,value:void 0}),Ud(this,Da,!0),this.type=t,this.pointerType=n,this.target=r.currentTarget,this.shiftKey=r.shiftKey,this.metaKey=r.metaKey,this.ctrlKey=r.ctrlKey,this.altKey=r.altKey}}const Qd=Symbol("linkClicked");function Vn(e){let{onPress:t,onPressChange:n,onPressStart:r,onPressEnd:o,onPressUp:a,isDisabled:i,isPressed:s,preventFocusOnPress:l,shouldCancelOnPointerExit:u,allowTextSelectionOnPress:c,ref:d,...p}=v2(e),[m,h]=f.useState(!1),g=f.useRef({isPressed:!1,ignoreEmulatedMouseEvents:!1,ignoreClickAfterPress:!1,didFirePressStart:!1,isTriggeringEvent:!1,activePointerId:null,target:null,isOverTarget:!1,pointerType:null}),{addGlobalListener:b,removeAllGlobalListeners:x}=Ns(),y=Je((v,D)=>{let $=g.current;if(i||$.didFirePressStart)return!1;let M=!0;if($.isTriggeringEvent=!0,r){let k=new Na("pressstart",D,v);r(k),M=k.shouldStopPropagation}return n&&n(!0),$.isTriggeringEvent=!1,$.didFirePressStart=!0,h(!0),M}),w=Je((v,D,$=!0)=>{let M=g.current;if(!M.didFirePressStart)return!1;M.ignoreClickAfterPress=!0,M.didFirePressStart=!1,M.isTriggeringEvent=!0;let k=!0;if(o){let I=new Na("pressend",D,v);o(I),k=I.shouldStopPropagation}if(n&&n(!1),h(!1),t&&$&&!i){let I=new Na("press",D,v);t(I),k&&(k=I.shouldStopPropagation)}return M.isTriggeringEvent=!1,k}),S=Je((v,D)=>{let $=g.current;if(i)return!1;if(a){$.isTriggeringEvent=!0;let M=new Na("pressup",D,v);return a(M),$.isTriggeringEvent=!1,M.shouldStopPropagation}return!0}),P=Je(v=>{let D=g.current;D.isPressed&&D.target&&(D.isOverTarget&&D.pointerType!=null&&w(qt(D.target,v),D.pointerType,!1),D.isPressed=!1,D.isOverTarget=!1,D.activePointerId=null,D.pointerType=null,x(),c||Ta(D.target))}),A=Je(v=>{u&&P(v)}),T=f.useMemo(()=>{let v=g.current,D={onKeyDown(M){if(Ws(M.nativeEvent,M.currentTarget)&&M.currentTarget.contains(M.target)){var k;ef(M.target,M.key)&&M.preventDefault();let I=!0;!v.isPressed&&!M.repeat&&(v.target=M.currentTarget,v.isPressed=!0,I=y(M,"keyboard"),b(Wt(M.currentTarget),"keyup",$,!1)),I&&M.stopPropagation(),M.metaKey&&yn()&&((k=v.metaKeyEvents)===null||k===void 0||k.set(M.key,M.nativeEvent))}else M.key==="Meta"&&(v.metaKeyEvents=new Map)},onKeyUp(M){Ws(M.nativeEvent,M.currentTarget)&&!M.repeat&&M.currentTarget.contains(M.target)&&v.target&&S(qt(v.target,M),"keyboard")},onClick(M){if(!(M&&!M.currentTarget.contains(M.target))&&M&&M.button===0&&!v.isTriggeringEvent&&!Qt.isOpening){let k=!0;if(i&&M.preventDefault(),!v.ignoreClickAfterPress&&!v.ignoreEmulatedMouseEvents&&!v.isPressed&&(v.pointerType==="virtual"||so(M.nativeEvent))){!i&&!l&&ht(M.currentTarget);let I=y(M,"virtual"),E=S(M,"virtual"),O=w(M,"virtual");k=I&&E&&O}v.ignoreEmulatedMouseEvents=!1,v.ignoreClickAfterPress=!1,k&&M.stopPropagation()}}},$=M=>{var k;if(v.isPressed&&v.target&&Ws(M,v.target)){var I;ef(M.target,M.key)&&M.preventDefault();let O=M.target,j=w(qt(v.target,M),"keyboard",v.target.contains(O));x(),j&&M.stopPropagation(),M.key!=="Enter"&&Bs(v.target)&&v.target.contains(O)&&!M[Qd]&&(M[Qd]=!0,Qt(v.target,M,!1)),v.isPressed=!1,(I=v.metaKeyEvents)===null||I===void 0||I.delete(M.key)}else if(M.key==="Meta"&&(!((k=v.metaKeyEvents)===null||k===void 0)&&k.size)){var E;let O=v.metaKeyEvents;v.metaKeyEvents=void 0;for(let j of O.values())(E=v.target)===null||E===void 0||E.dispatchEvent(new KeyboardEvent("keyup",j))}};if(typeof PointerEvent<"u"){D.onPointerDown=E=>{if(E.button!==0||!E.currentTarget.contains(E.target))return;if(zd(E.nativeEvent)){v.pointerType="virtual";return}_s(E.currentTarget)&&E.preventDefault(),v.pointerType=E.pointerType;let O=!0;v.isPressed||(v.isPressed=!0,v.isOverTarget=!0,v.activePointerId=E.pointerId,v.target=E.currentTarget,!i&&!l&&ht(E.currentTarget),c||Kd(v.target),O=y(E,v.pointerType),b(Wt(E.currentTarget),"pointermove",M,!1),b(Wt(E.currentTarget),"pointerup",k,!1),b(Wt(E.currentTarget),"pointercancel",I,!1)),O&&E.stopPropagation()},D.onMouseDown=E=>{E.currentTarget.contains(E.target)&&E.button===0&&(_s(E.currentTarget)&&E.preventDefault(),E.stopPropagation())},D.onPointerUp=E=>{!E.currentTarget.contains(E.target)||v.pointerType==="virtual"||E.button===0&&xr(E,E.currentTarget)&&S(E,v.pointerType||E.pointerType)};let M=E=>{E.pointerId===v.activePointerId&&(v.target&&xr(E,v.target)?!v.isOverTarget&&v.pointerType!=null&&(v.isOverTarget=!0,y(qt(v.target,E),v.pointerType)):v.target&&v.isOverTarget&&v.pointerType!=null&&(v.isOverTarget=!1,w(qt(v.target,E),v.pointerType,!1),A(E)))},k=E=>{E.pointerId===v.activePointerId&&v.isPressed&&E.button===0&&v.target&&(xr(E,v.target)&&v.pointerType!=null?w(qt(v.target,E),v.pointerType):v.isOverTarget&&v.pointerType!=null&&w(qt(v.target,E),v.pointerType,!1),v.isPressed=!1,v.isOverTarget=!1,v.activePointerId=null,v.pointerType=null,x(),c||Ta(v.target))},I=E=>{P(E)};D.onDragStart=E=>{E.currentTarget.contains(E.target)&&P(E)}}else{D.onMouseDown=I=>{if(I.button!==0||!I.currentTarget.contains(I.target))return;if(_s(I.currentTarget)&&I.preventDefault(),v.ignoreEmulatedMouseEvents){I.stopPropagation();return}v.isPressed=!0,v.isOverTarget=!0,v.target=I.currentTarget,v.pointerType=so(I.nativeEvent)?"virtual":"mouse",!i&&!l&&ht(I.currentTarget),y(I,v.pointerType)&&I.stopPropagation(),b(Wt(I.currentTarget),"mouseup",M,!1)},D.onMouseEnter=I=>{if(!I.currentTarget.contains(I.target))return;let E=!0;v.isPressed&&!v.ignoreEmulatedMouseEvents&&v.pointerType!=null&&(v.isOverTarget=!0,E=y(I,v.pointerType)),E&&I.stopPropagation()},D.onMouseLeave=I=>{if(!I.currentTarget.contains(I.target))return;let E=!0;v.isPressed&&!v.ignoreEmulatedMouseEvents&&v.pointerType!=null&&(v.isOverTarget=!1,E=w(I,v.pointerType,!1),A(I)),E&&I.stopPropagation()},D.onMouseUp=I=>{I.currentTarget.contains(I.target)&&!v.ignoreEmulatedMouseEvents&&I.button===0&&S(I,v.pointerType||"mouse")};let M=I=>{if(I.button===0){if(v.isPressed=!1,x(),v.ignoreEmulatedMouseEvents){v.ignoreEmulatedMouseEvents=!1;return}v.target&&xr(I,v.target)&&v.pointerType!=null?w(qt(v.target,I),v.pointerType):v.target&&v.isOverTarget&&v.pointerType!=null&&w(qt(v.target,I),v.pointerType,!1),v.isOverTarget=!1}};D.onTouchStart=I=>{if(!I.currentTarget.contains(I.target))return;let E=y2(I.nativeEvent);if(!E)return;v.activePointerId=E.identifier,v.ignoreEmulatedMouseEvents=!0,v.isOverTarget=!0,v.isPressed=!0,v.target=I.currentTarget,v.pointerType="touch",!i&&!l&&ht(I.currentTarget),c||Kd(v.target),y(I,v.pointerType)&&I.stopPropagation(),b(ao(I.currentTarget),"scroll",k,!0)},D.onTouchMove=I=>{if(!I.currentTarget.contains(I.target))return;if(!v.isPressed){I.stopPropagation();return}let E=qd(I.nativeEvent,v.activePointerId),O=!0;E&&xr(E,I.currentTarget)?!v.isOverTarget&&v.pointerType!=null&&(v.isOverTarget=!0,O=y(I,v.pointerType)):v.isOverTarget&&v.pointerType!=null&&(v.isOverTarget=!1,O=w(I,v.pointerType,!1),A(I)),O&&I.stopPropagation()},D.onTouchEnd=I=>{if(!I.currentTarget.contains(I.target))return;if(!v.isPressed){I.stopPropagation();return}let E=qd(I.nativeEvent,v.activePointerId),O=!0;E&&xr(E,I.currentTarget)&&v.pointerType!=null?(S(I,v.pointerType),O=w(I,v.pointerType)):v.isOverTarget&&v.pointerType!=null&&(O=w(I,v.pointerType,!1)),O&&I.stopPropagation(),v.isPressed=!1,v.activePointerId=null,v.isOverTarget=!1,v.ignoreEmulatedMouseEvents=!0,v.target&&!c&&Ta(v.target),x()},D.onTouchCancel=I=>{I.currentTarget.contains(I.target)&&(I.stopPropagation(),v.isPressed&&P(I))};let k=I=>{v.isPressed&&I.target.contains(v.target)&&P({currentTarget:v.target,shiftKey:!1,ctrlKey:!1,metaKey:!1,altKey:!1})};D.onDragStart=I=>{I.currentTarget.contains(I.target)&&P(I)}}return D},[b,i,l,x,c,P,A,w,y,S]);return f.useEffect(()=>()=>{var v;c||Ta((v=g.current.target)!==null&&v!==void 0?v:void 0)},[c]),{isPressed:s||m,pressProps:he(p,T)}}function Bs(e){return e.tagName==="A"&&e.hasAttribute("href")}function Ws(e,t){const{key:n,code:r}=e,o=t,a=o.getAttribute("role");return(n==="Enter"||n===" "||n==="Spacebar"||r==="Space")&&!(o instanceof ao(o).HTMLInputElement&&!tf(o,n)||o instanceof ao(o).HTMLTextAreaElement||o.isContentEditable)&&!((a==="link"||!a&&Bs(o))&&n!=="Enter")}function y2(e){const{targetTouches:t}=e;return t.length>0?t[0]:null}function qd(e,t){const n=e.changedTouches;for(let r=0;r<n.length;r++){const o=n[r];if(o.identifier===t)return o}return null}function qt(e,t){return{currentTarget:e,shiftKey:t.shiftKey,ctrlKey:t.ctrlKey,metaKey:t.metaKey,altKey:t.altKey}}function x2(e){let t=0,n=0;return e.width!==void 0?t=e.width/2:e.radiusX!==void 0&&(t=e.radiusX),e.height!==void 0?n=e.height/2:e.radiusY!==void 0&&(n=e.radiusY),{top:e.clientY-n,right:e.clientX+t,bottom:e.clientY+n,left:e.clientX-t}}function C2(e,t){return!(e.left>t.right||t.left>e.right||e.top>t.bottom||t.top>e.bottom)}function xr(e,t){let n=t.getBoundingClientRect(),r=x2(e);return C2(n,r)}function _s(e){return!(e instanceof HTMLElement)||!e.hasAttribute("draggable")}function ef(e,t){return e instanceof HTMLInputElement?!tf(e,t):e instanceof HTMLButtonElement?e.type!=="submit"&&e.type!=="reset":!Bs(e)}const w2=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function tf(e,t){return e.type==="checkbox"||e.type==="radio"?t===" ":w2.has(e.type)}class I2{isDefaultPrevented(){return this.nativeEvent.defaultPrevented}preventDefault(){this.defaultPrevented=!0,this.nativeEvent.preventDefault()}stopPropagation(){this.nativeEvent.stopPropagation(),this.isPropagationStopped=()=>!0}isPropagationStopped(){return!1}persist(){}constructor(t,n){this.nativeEvent=n,this.target=n.target,this.currentTarget=n.currentTarget,this.relatedTarget=n.relatedTarget,this.bubbles=n.bubbles,this.cancelable=n.cancelable,this.defaultPrevented=n.defaultPrevented,this.eventPhase=n.eventPhase,this.isTrusted=n.isTrusted,this.timeStamp=n.timeStamp,this.type=t}}function nf(e){let t=f.useRef({isFocused:!1,observer:null});Jt(()=>{const r=t.current;return()=>{r.observer&&(r.observer.disconnect(),r.observer=null)}},[]);let n=Je(r=>{e==null||e(r)});return f.useCallback(r=>{if(r.target instanceof HTMLButtonElement||r.target instanceof HTMLInputElement||r.target instanceof HTMLTextAreaElement||r.target instanceof HTMLSelectElement){t.current.isFocused=!0;let o=r.target,a=i=>{t.current.isFocused=!1,o.disabled&&n(new I2("blur",i)),t.current.observer&&(t.current.observer.disconnect(),t.current.observer=null)};o.addEventListener("focusout",a,{once:!0}),t.current.observer=new MutationObserver(()=>{if(t.current.isFocused&&o.disabled){var i;(i=t.current.observer)===null||i===void 0||i.disconnect();let s=o===document.activeElement?null:document.activeElement;o.dispatchEvent(new FocusEvent("blur",{relatedTarget:s})),o.dispatchEvent(new FocusEvent("focusout",{bubbles:!0,relatedTarget:s}))}}),t.current.observer.observe(o,{attributes:!0,attributeFilter:["disabled"]})}},[n])}function rf(e){let{isDisabled:t,onFocus:n,onBlur:r,onFocusChange:o}=e;const a=f.useCallback(l=>{if(l.target===l.currentTarget)return r&&r(l),o&&o(!1),!0},[r,o]),i=nf(a),s=f.useCallback(l=>{l.target===l.currentTarget&&document.activeElement===l.target&&(n&&n(l),o&&o(!0),i(l))},[o,n,i]);return{focusProps:{onFocus:!t&&(n||o||r)?s:void 0,onBlur:!t&&(r||o)?a:void 0}}}let jn=null,Gs=new Set,of=!1,Bn=!1,Rs=!1;const E2={Tab:!0,Escape:!0};function $a(e,t){for(let n of Gs)n(e,t)}function P2(e){return!(e.metaKey||!yn()&&e.altKey||e.ctrlKey||e.key==="Control"||e.key==="Shift"||e.key==="Meta")}function af(e){Bn=!0,P2(e)&&(jn="keyboard",$a("keyboard",e))}function Cr(e){jn="pointer",(e.type==="mousedown"||e.type==="pointerdown")&&(Bn=!0,$a("pointer",e))}function S2(e){so(e)&&(Bn=!0,jn="virtual")}function M2(e){e.target===window||e.target===document||(!Bn&&!Rs&&(jn="virtual",$a("virtual",e)),Bn=!1,Rs=!1)}function A2(){Bn=!1,Rs=!0}function zs(){if(typeof window>"u"||of)return;let e=HTMLElement.prototype.focus;HTMLElement.prototype.focus=function(){Bn=!0,e.apply(this,arguments)},document.addEventListener("keydown",af,!0),document.addEventListener("keyup",af,!0),document.addEventListener("click",S2,!0),window.addEventListener("focus",M2,!0),window.addEventListener("blur",A2,!1),typeof PointerEvent<"u"?(document.addEventListener("pointerdown",Cr,!0),document.addEventListener("pointermove",Cr,!0),document.addEventListener("pointerup",Cr,!0)):(document.addEventListener("mousedown",Cr,!0),document.addEventListener("mousemove",Cr,!0),document.addEventListener("mouseup",Cr,!0)),of=!0}typeof document<"u"&&(document.readyState!=="loading"?zs():document.addEventListener("DOMContentLoaded",zs));function sf(){return jn!=="pointer"}function Hs(){return jn}function T2(e){jn=e,$a(e,null)}const D2=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function N2(e,t,n){var r;return e=e||(n==null?void 0:n.target)instanceof HTMLInputElement&&!D2.has(n==null||(r=n.target)===null||r===void 0?void 0:r.type)||(n==null?void 0:n.target)instanceof HTMLTextAreaElement||(n==null?void 0:n.target)instanceof HTMLElement&&(n==null?void 0:n.target.isContentEditable),!(e&&t==="keyboard"&&n instanceof KeyboardEvent&&!E2[n.key])}function $2(e,t,n){zs(),f.useEffect(()=>{let r=(o,a)=>{N2(!!(n!=null&&n.isTextInput),o,a)&&e(sf())};return Gs.add(r),()=>{Gs.delete(r)}},t)}function ka(e){let{isDisabled:t,onBlurWithin:n,onFocusWithin:r,onFocusWithinChange:o}=e,a=f.useRef({isFocusWithin:!1}),i=f.useCallback(u=>{a.current.isFocusWithin&&!u.currentTarget.contains(u.relatedTarget)&&(a.current.isFocusWithin=!1,n&&n(u),o&&o(!1))},[n,o,a]),s=nf(i),l=f.useCallback(u=>{!a.current.isFocusWithin&&document.activeElement===u.target&&(r&&r(u),o&&o(!0),a.current.isFocusWithin=!0,s(u))},[r,o,s]);return t?{focusWithinProps:{onFocus:void 0,onBlur:void 0}}:{focusWithinProps:{onFocus:l,onBlur:i}}}let Oa=!1,Xs=0;function Zs(){Oa=!0,setTimeout(()=>{Oa=!1},50)}function lf(e){e.pointerType==="touch"&&Zs()}function k2(){if(!(typeof document>"u"))return typeof PointerEvent<"u"?document.addEventListener("pointerup",lf):document.addEventListener("touchend",Zs),Xs++,()=>{Xs--,!(Xs>0)&&(typeof PointerEvent<"u"?document.removeEventListener("pointerup",lf):document.removeEventListener("touchend",Zs))}}function Wn(e){let{onHoverStart:t,onHoverChange:n,onHoverEnd:r,isDisabled:o}=e,[a,i]=f.useState(!1),s=f.useRef({isHovered:!1,ignoreEmulatedMouseEvents:!1,pointerType:"",target:null}).current;f.useEffect(k2,[]);let{hoverProps:l,triggerHoverEnd:u}=f.useMemo(()=>{let c=(m,h)=>{if(s.pointerType=h,o||h==="touch"||s.isHovered||!m.currentTarget.contains(m.target))return;s.isHovered=!0;let g=m.currentTarget;s.target=g,t&&t({type:"hoverstart",target:g,pointerType:h}),n&&n(!0),i(!0)},d=(m,h)=>{if(s.pointerType="",s.target=null,h==="touch"||!s.isHovered)return;s.isHovered=!1;let g=m.currentTarget;r&&r({type:"hoverend",target:g,pointerType:h}),n&&n(!1),i(!1)},p={};return typeof PointerEvent<"u"?(p.onPointerEnter=m=>{Oa&&m.pointerType==="mouse"||c(m,m.pointerType)},p.onPointerLeave=m=>{!o&&m.currentTarget.contains(m.target)&&d(m,m.pointerType)}):(p.onTouchStart=()=>{s.ignoreEmulatedMouseEvents=!0},p.onMouseEnter=m=>{!s.ignoreEmulatedMouseEvents&&!Oa&&c(m,"mouse"),s.ignoreEmulatedMouseEvents=!1},p.onMouseLeave=m=>{!o&&m.currentTarget.contains(m.target)&&d(m,"mouse")}),{hoverProps:p,triggerHoverEnd:d}},[t,n,r,o,s]);return f.useEffect(()=>{o&&u({currentTarget:s.target},s.pointerType)},[o]),{hoverProps:l,isHovered:a}}function uf(e){if(!e)return;let t=!0;return n=>{let r={...n,preventDefault(){n.preventDefault()},isDefaultPrevented(){return n.isDefaultPrevented()},stopPropagation(){console.error("stopPropagation is now the default behavior for events in React Spectrum. You can use continuePropagation() to revert this behavior.")},continuePropagation(){t=!1}};e(r),t&&n.stopPropagation()}}function O2(e){return{keyboardProps:e.isDisabled?{}:{onKeyDown:uf(e.onKeyDown),onKeyUp:uf(e.onKeyUp)}}}const F2=500;function L2(e){let{isDisabled:t,onLongPressStart:n,onLongPressEnd:r,onLongPress:o,threshold:a=F2,accessibilityDescription:i}=e;const s=f.useRef();let{addGlobalListener:l,removeGlobalListener:u}=Ns(),{pressProps:c}=Vn({isDisabled:t,onPressStart(p){if(p.continuePropagation(),(p.pointerType==="mouse"||p.pointerType==="touch")&&(n&&n({...p,type:"longpressstart"}),s.current=setTimeout(()=>{p.target.dispatchEvent(new PointerEvent("pointercancel",{bubbles:!0})),o&&o({...p,type:"longpress"}),s.current=void 0},a),p.pointerType==="touch")){let m=h=>{h.preventDefault()};l(p.target,"contextmenu",m,{once:!0}),l(window,"pointerup",()=>{setTimeout(()=>{u(p.target,"contextmenu",m)},30)},{once:!0})}},onPressEnd(p){s.current&&clearTimeout(s.current),r&&(p.pointerType==="mouse"||p.pointerType==="touch")&&r({...p,type:"longpressend"})}}),d=i2(o&&!t?i:void 0);return{longPressProps:he(c,d)}}function Fa(e){const t=Wt(e);if(Hs()==="virtual"){let n=t.activeElement;Ds(()=>{t.activeElement===n&&e.isConnected&&ht(e)})}else ht(e)}function V2(e){const t=ao(e);if(!(e instanceof t.HTMLElement)&&!(e instanceof t.SVGElement))return!1;let{display:n,visibility:r}=e.style,o=n!=="none"&&r!=="hidden"&&r!=="collapse";if(o){const{getComputedStyle:a}=e.ownerDocument.defaultView;let{display:i,visibility:s}=a(e);o=i!=="none"&&s!=="hidden"&&s!=="collapse"}return o}function j2(e,t){return!e.hasAttribute("hidden")&&(e.nodeName==="DETAILS"&&t&&t.nodeName!=="SUMMARY"?e.hasAttribute("open"):!0)}function cf(e,t){return e.nodeName!=="#comment"&&V2(e)&&j2(e,t)&&(!e.parentElement||cf(e.parentElement,e))}const Ys=["input:not([disabled]):not([type=hidden])","select:not([disabled])","textarea:not([disabled])","button:not([disabled])","a[href]","area[href]","summary","iframe","object","embed","audio[controls]","video[controls]","[contenteditable]"],B2=Ys.join(":not([hidden]),")+",[tabindex]:not([disabled]):not([hidden])";Ys.push('[tabindex]:not([tabindex="-1"]):not([disabled])');const W2=Ys.join(':not([hidden]):not([tabindex="-1"]),');function df(e,t){return!e||!t?!1:t.some(n=>n.contains(e))}function Us(e,t,n){let r=t!=null&&t.tabbable?W2:B2,o=Wt(e).createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode(a){var i;return!(t==null||(i=t.from)===null||i===void 0)&&i.contains(a)?NodeFilter.FILTER_REJECT:a.matches(r)&&cf(a)&&(!n||df(a,n))&&(!(t!=null&&t.accept)||t.accept(a))?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});return t!=null&&t.from&&(o.currentNode=t.from),o}class Ks{get size(){return this.fastMap.size}getTreeNode(t){return this.fastMap.get(t)}addTreeNode(t,n,r){let o=this.fastMap.get(n??null);if(!o)return;let a=new ff({scopeRef:t});o.addChild(a),a.parent=o,this.fastMap.set(t,a),r&&(a.nodeToRestore=r)}addNode(t){this.fastMap.set(t.scopeRef,t)}removeTreeNode(t){if(t===null)return;let n=this.fastMap.get(t);if(!n)return;let r=n.parent;for(let a of this.traverse())a!==n&&n.nodeToRestore&&a.nodeToRestore&&n.scopeRef&&n.scopeRef.current&&df(a.nodeToRestore,n.scopeRef.current)&&(a.nodeToRestore=n.nodeToRestore);let o=n.children;r&&(r.removeChild(n),o.size>0&&o.forEach(a=>r&&r.addChild(a))),this.fastMap.delete(n.scopeRef)}*traverse(t=this.root){if(t.scopeRef!=null&&(yield t),t.children.size>0)for(let n of t.children)yield*this.traverse(n)}clone(){var t;let n=new Ks;var r;for(let o of this.traverse())n.addTreeNode(o.scopeRef,(r=(t=o.parent)===null||t===void 0?void 0:t.scopeRef)!==null&&r!==void 0?r:null,o.nodeToRestore);return n}constructor(){this.fastMap=new Map,this.root=new ff({scopeRef:null}),this.fastMap.set(null,this.root)}}class ff{addChild(t){this.children.add(t),t.parent=this}removeChild(t){this.children.delete(t),t.parent=void 0}constructor(t){this.children=new Set,this.contain=!1,this.scopeRef=t.scopeRef}}new Ks;function Gt(e={}){let{autoFocus:t=!1,isTextInput:n,within:r}=e,o=f.useRef({isFocused:!1,isFocusVisible:t||sf()}),[a,i]=f.useState(!1),[s,l]=f.useState(()=>o.current.isFocused&&o.current.isFocusVisible),u=f.useCallback(()=>l(o.current.isFocused&&o.current.isFocusVisible),[]),c=f.useCallback(m=>{o.current.isFocused=m,i(m),u()},[u]);$2(m=>{o.current.isFocusVisible=m,u()},[],{isTextInput:n});let{focusProps:d}=rf({isDisabled:r,onFocusChange:c}),{focusWithinProps:p}=ka({isDisabled:!r,onFocusWithinChange:c});return{isFocused:a,isFocusVisible:s,focusProps:r?p:d}}let _2=f.createContext(null);function G2(e){let t=f.useContext(_2)||{};ks(t,e);let{ref:n,...r}=t;return r}function La(e,t){let{focusProps:n}=rf(e),{keyboardProps:r}=O2(e),o=he(n,r),a=G2(t),i=e.isDisabled?{}:a,s=f.useRef(e.autoFocus);return f.useEffect(()=>{s.current&&t.current&&Fa(t.current),s.current=!1},[t]),{focusableProps:he({...o,tabIndex:e.excludeFromTabOrder&&!e.isDisabled?-1:void 0},i)}}function R2(e,t){let n=t==null?void 0:t.isDisabled,[r,o]=f.useState(!1);return Jt(()=>{if(e!=null&&e.current&&!n){let a=()=>{if(e.current){let s=Us(e.current,{tabbable:!0});o(!!s.nextNode())}};a();let i=new MutationObserver(a);return i.observe(e.current,{subtree:!0,childList:!0,attributes:!0,attributeFilter:["tabIndex","disabled"]}),()=>{i.disconnect()}}}),n?!1:r}const pf={border:0,clip:"rect(0 0 0 0)",clipPath:"inset(50%)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",width:"1px",whiteSpace:"nowrap"};function z2(e={}){let{style:t,isFocusable:n}=e,[r,o]=f.useState(!1),{focusWithinProps:a}=ka({isDisabled:!n,onFocusWithinChange:s=>o(s)}),i=f.useMemo(()=>r?t:t?{...pf,...t}:pf,[r]);return{visuallyHiddenProps:{...a,style:i}}}function Js(e){let{children:t,elementType:n="div",isFocusable:r,style:o,...a}=e,{visuallyHiddenProps:i}=z2(e);return f.createElement(n,he(a,i),t)}function $t(e){return f.forwardRef(e)}var uo=(e,t,n=!0)=>{if(!t)return[e,{}];const r=t.reduce((o,a)=>a in e?{...o,[a]:e[a]}:o,{});return n?[Object.keys(e).filter(a=>!t.includes(a)).reduce((a,i)=>({...a,[i]:e[i]}),{}),r]:[e,r]},H2=["0","xs","sm","md","lg","xl","2xl","3xl","4xl","5xl","6xl","7xl","8xl","9xl","1","2","3","3.5","4","5","6","7","8","9","10","11","12","13","14","15","16","17","18","20","24","28","32","36","40","44","48","52","56","60","64","72","80","96"],Qs=H2.map(e=>`unit-${e}`),Va=["small","medium","large"],gt=(e,t)=>{var n,r,o;return ye(e,{...t,twMerge:(n=t==null?void 0:t.twMerge)!=null?n:!0,twMergeConfig:{...t==null?void 0:t.twMergeConfig,theme:{...(r=t==null?void 0:t.twMergeConfig)==null?void 0:r.theme,opacity:["disabled"],spacing:["divider","unit",...Qs],borderWidth:Va,borderRadius:Va},classGroups:{...(o=t==null?void 0:t.twMergeConfig)==null?void 0:o.classGroups,shadow:[{shadow:Va}],"font-size":[{text:["tiny",...Va]}],"bg-image":["bg-stripe-gradient"],"min-w":[{"min-w":["unit",...Qs]}],"min-h":[{"min-h":["unit",...Qs]}]}}})},co=["outline-none","data-[focus-visible=true]:z-10","data-[focus-visible=true]:outline-2","data-[focus-visible=true]:outline-focus","data-[focus-visible=true]:outline-offset-2"],ja=["outline-none","group-data-[focus-visible=true]:z-10","group-data-[focus-visible=true]:ring-2","group-data-[focus-visible=true]:ring-focus","group-data-[focus-visible=true]:ring-offset-2","group-data-[focus-visible=true]:ring-offset-background"],X2=["outline-none","ring-2","ring-focus","ring-offset-2","ring-offset-background"],qs=["absolute","top-1/2","left-1/2","-translate-x-1/2","-translate-y-1/2"],wr={default:["[&+.border-medium.border-default]:ms-[calc(theme(borderWidth.medium)*-1)]"],primary:["[&+.border-medium.border-primary]:ms-[calc(theme(borderWidth.medium)*-1)]"],secondary:["[&+.border-medium.border-secondary]:ms-[calc(theme(borderWidth.medium)*-1)]"],success:["[&+.border-medium.border-success]:ms-[calc(theme(borderWidth.medium)*-1)]"],warning:["[&+.border-medium.border-warning]:ms-[calc(theme(borderWidth.medium)*-1)]"],danger:["[&+.border-medium.border-danger]:ms-[calc(theme(borderWidth.medium)*-1)]"]},Z2={default:"bg-default text-default-foreground",primary:"bg-primary text-primary-foreground",secondary:"bg-secondary text-secondary-foreground",success:"bg-success text-success-foreground",warning:"bg-warning text-warning-foreground",danger:"bg-danger text-danger-foreground",foreground:"bg-foreground text-background"},Y2={default:"shadow-lg shadow-default/50 bg-default text-default-foreground",primary:"shadow-lg shadow-primary/40 bg-primary text-primary-foreground",secondary:"shadow-lg shadow-secondary/40 bg-secondary text-secondary-foreground",success:"shadow-lg shadow-success/40 bg-success text-success-foreground",warning:"shadow-lg shadow-warning/40 bg-warning text-warning-foreground",danger:"shadow-lg shadow-danger/40 bg-danger text-danger-foreground",foreground:"shadow-lg shadow-foreground/40 bg-foreground text-background"},U2={default:"bg-transparent border-default text-foreground",primary:"bg-transparent border-primary text-primary",secondary:"bg-transparent border-secondary text-secondary",success:"bg-transparent border-success text-success",warning:"bg-transparent border-warning text-warning",danger:"bg-transparent border-danger text-danger",foreground:"bg-transparent border-foreground text-foreground"},K2={default:"bg-default/40 text-default-foreground",primary:"bg-primary/20 text-primary",secondary:"bg-secondary/20 text-secondary",success:"bg-success/20 text-success-600 dark:text-success",warning:"bg-warning/20 text-warning-600 dark:text-warning",danger:"bg-danger/20 text-danger dark:text-danger-500",foreground:"bg-foreground/10 text-foreground"},J2={default:"border-default bg-default-100 text-default-foreground",primary:"border-default bg-default-100 text-primary",secondary:"border-default bg-default-100 text-secondary",success:"border-default bg-default-100 text-success",warning:"border-default bg-default-100 text-warning",danger:"border-default bg-default-100 text-danger",foreground:"border-default bg-default-100 text-foreground"},Q2={default:"bg-transparent text-default-foreground",primary:"bg-transparent text-primary",secondary:"bg-transparent text-secondary",success:"bg-transparent text-success",warning:"bg-transparent text-warning",danger:"bg-transparent text-danger",foreground:"bg-transparent text-foreground"},q2={default:"border-default text-default-foreground hover:!bg-default",primary:"border-primary text-primary hover:!text-primary-foreground hover:!bg-primary",secondary:"border-secondary text-secondary hover:text-secondary-foreground hover:!bg-secondary",success:"border-success text-success hover:!text-success-foreground hover:!bg-success",warning:"border-warning text-warning hover:!text-warning-foreground hover:!bg-warning",danger:"border-danger text-danger hover:!text-danger-foreground hover:!bg-danger",foreground:"border-foreground text-foreground hover:!bg-foreground"},J={solid:Z2,shadow:Y2,bordered:U2,flat:K2,faded:J2,light:Q2,ghost:q2},mf=gt({slots:{base:"relative inline-flex flex-col gap-2 items-center justify-center",wrapper:"relative flex",circle1:["absolute","w-full","h-full","rounded-full","animate-spinner-ease-spin","border-2","border-solid","border-t-transparent","border-l-transparent","border-r-transparent"],circle2:["absolute","w-full","h-full","rounded-full","opacity-75","animate-spinner-linear-spin","border-2","border-dotted","border-t-transparent","border-l-transparent","border-r-transparent"],label:"text-foreground dark:text-foreground-dark font-regular"},variants:{size:{sm:{wrapper:"w-5 h-5",circle1:"border-2",circle2:"border-2",label:"text-small"},md:{wrapper:"w-8 h-8",circle1:"border-3",circle2:"border-3",label:"text-medium"},lg:{wrapper:"w-10 h-10",circle1:"border-3",circle2:"border-3",label:"text-large"}},color:{current:{circle1:"border-b-current",circle2:"border-b-current"},white:{circle1:"border-b-white",circle2:"border-b-white"},default:{circle1:"border-b-default",circle2:"border-b-default"},primary:{circle1:"border-b-primary",circle2:"border-b-primary"},secondary:{circle1:"border-b-secondary",circle2:"border-b-secondary"},success:{circle1:"border-b-success",circle2:"border-b-success"},warning:{circle1:"border-b-warning",circle2:"border-b-warning"},danger:{circle1:"border-b-danger",circle2:"border-b-danger"}},labelColor:{foreground:{label:"text-foreground"},primary:{label:"text-primary"},secondary:{label:"text-secondary"},success:{label:"text-success"},warning:{label:"text-warning"},danger:{label:"text-danger"}}},defaultVariants:{size:"md",color:"primary",labelColor:"foreground"}}),hf=gt({slots:{base:"inline-flex",tabList:["flex","p-1","h-fit","gap-2","items-center","flex-nowrap","overflow-x-scroll","scrollbar-hide","bg-default-100"],tab:["z-0","w-full","px-3","py-1","flex","group","relative","justify-center","items-center","outline-none","cursor-pointer","transition-opacity","tap-highlight-transparent","data-[disabled=true]:cursor-not-allowed","data-[disabled=true]:opacity-30","data-[hover-unselected=true]:opacity-disabled",...co],tabContent:["relative","z-10","text-inherit","whitespace-nowrap","transition-colors","text-default-500","group-data-[selected=true]:text-foreground"],cursor:["absolute","z-0","bg-white"],panel:["py-3","px-1","outline-none",...co]},variants:{variant:{solid:{cursor:"inset-0"},light:{tabList:"bg-transparent dark:bg-transparent",cursor:"inset-0"},underlined:{tabList:"bg-transparent dark:bg-transparent",cursor:"h-[2px] w-[80%] bottom-0 shadow-[0_1px_0px_0_rgba(0,0,0,0.05)]"},bordered:{tabList:"bg-transparent dark:bg-transparent border-medium border-default-200 shadow-sm",cursor:"inset-0"}},color:{default:{},primary:{},secondary:{},success:{},warning:{},danger:{}},size:{sm:{tabList:"rounded-medium",tab:"h-7 text-tiny rounded-small",cursor:"rounded-small"},md:{tabList:"rounded-medium",tab:"h-8 text-small rounded-small",cursor:"rounded-small"},lg:{tabList:"rounded-large",tab:"h-9 text-medium rounded-medium",cursor:"rounded-medium"}},radius:{none:{tabList:"rounded-none",tab:"rounded-none",cursor:"rounded-none"},sm:{tabList:"rounded-medium",tab:"rounded-small",cursor:"rounded-small"},md:{tabList:"rounded-medium",tab:"rounded-small",cursor:"rounded-small"},lg:{tabList:"rounded-large",tab:"rounded-medium",cursor:"rounded-medium"},full:{tabList:"rounded-full",tab:"rounded-full",cursor:"rounded-full"}},fullWidth:{true:{base:"w-full",tabList:"w-full"}},isDisabled:{true:{tabList:"opacity-disabled pointer-events-none"}},disableAnimation:{true:{tab:"transition-none",tabContent:"transition-none"}}},defaultVariants:{color:"default",variant:"solid",size:"md",fullWidth:!1,isDisabled:!1,disableAnimation:!1},compoundVariants:[{variant:["solid","bordered","light"],color:"default",class:{cursor:["bg-background","dark:bg-default","shadow-small"],tabContent:"group-data-[selected=true]:text-default-foreground"}},{variant:["solid","bordered","light"],color:"primary",class:{cursor:J.solid.primary,tabContent:"group-data-[selected=true]:text-primary-foreground"}},{variant:["solid","bordered","light"],color:"secondary",class:{cursor:J.solid.secondary,tabContent:"group-data-[selected=true]:text-secondary-foreground"}},{variant:["solid","bordered","light"],color:"success",class:{cursor:J.solid.success,tabContent:"group-data-[selected=true]:text-success-foreground"}},{variant:["solid","bordered","light"],color:"warning",class:{cursor:J.solid.warning,tabContent:"group-data-[selected=true]:text-warning-foreground"}},{variant:["solid","bordered","light"],color:"danger",class:{cursor:J.solid.danger,tabContent:"group-data-[selected=true]:text-danger-foreground"}},{variant:"underlined",color:"default",class:{cursor:"bg-foreground",tabContent:"group-data-[selected=true]:text-foreground"}},{variant:"underlined",color:"primary",class:{cursor:"bg-primary",tabContent:"group-data-[selected=true]:text-primary"}},{variant:"underlined",color:"secondary",class:{cursor:"bg-secondary",tabContent:"group-data-[selected=true]:text-secondary"}},{variant:"underlined",color:"success",class:{cursor:"bg-success",tabContent:"group-data-[selected=true]:text-success"}},{variant:"underlined",color:"warning",class:{cursor:"bg-warning",tabContent:"group-data-[selected=true]:text-warning"}},{variant:"underlined",color:"danger",class:{cursor:"bg-danger",tabContent:"group-data-[selected=true]:text-danger"}},{disableAnimation:!0,variant:"underlined",class:{tab:["after:content-['']","after:absolute","after:bottom-0","after:h-[2px]","after:w-[80%]","after:opacity-0","after:shadow-[0_1px_0px_0_rgba(0,0,0,0.05)]","data-[selected=true]:after:opacity-100"]}},{disableAnimation:!0,color:"default",variant:["solid","bordered","light"],class:{tab:"data-[selected=true]:bg-default data-[selected=true]:text-default-foreground"}},{disableAnimation:!0,color:"primary",variant:["solid","bordered","light"],class:{tab:"data-[selected=true]:bg-primary data-[selected=true]:text-primary-foreground"}},{disableAnimation:!0,color:"secondary",variant:["solid","bordered","light"],class:{tab:"data-[selected=true]:bg-secondary data-[selected=true]:text-secondary-foreground"}},{disableAnimation:!0,color:"success",variant:["solid","bordered","light"],class:{tab:"data-[selected=true]:bg-success data-[selected=true]:text-success-foreground"}},{disableAnimation:!0,color:"warning",variant:["solid","bordered","light"],class:{tab:"data-[selected=true]:bg-warning data-[selected=true]:text-warning-foreground"}},{disableAnimation:!0,color:"danger",variant:["solid","bordered","light"],class:{tab:"data-[selected=true]:bg-danger data-[selected=true]:text-danger-foreground"}},{disableAnimation:!0,color:"default",variant:"underlined",class:{tab:"data-[selected=true]:after:bg-foreground"}},{disableAnimation:!0,color:"primary",variant:"underlined",class:{tab:"data-[selected=true]:after:bg-primary"}},{disableAnimation:!0,color:"secondary",variant:"underlined",class:{tab:"data-[selected=true]:after:bg-secondary"}},{disableAnimation:!0,color:"success",variant:"underlined",class:{tab:"data-[selected=true]:after:bg-success"}},{disableAnimation:!0,color:"warning",variant:"underlined",class:{tab:"data-[selected=true]:after:bg-warning"}},{disableAnimation:!0,color:"danger",variant:"underlined",class:{tab:"data-[selected=true]:after:bg-danger"}}],compoundSlots:[{variant:"underlined",slots:["tab","tabList","cursor"],class:["rounded-none"]}]}),gf=gt({slots:{base:"group relative max-w-fit inline-flex items-center justify-start cursor-pointer touch-none tap-highlight-transparent",wrapper:["px-1","relative","inline-flex","items-center","justify-start","flex-shrink-0","overflow-hidden","bg-default-200","rounded-full",...ja],thumb:["z-10","flex","items-center","justify-center","bg-white","shadow-small","rounded-full","origin-right"],startContent:"z-0 absolute left-1.5 text-current",endContent:"z-0 absolute right-1.5 text-default-600",thumbIcon:"text-black",label:"relative text-foreground select-none"},variants:{color:{default:{wrapper:["group-data-[selected=true]:bg-default-400","group-data-[selected=true]:text-default-foreground"]},primary:{wrapper:["group-data-[selected=true]:bg-primary","group-data-[selected=true]:text-primary-foreground"]},secondary:{wrapper:["group-data-[selected=true]:bg-secondary","group-data-[selected=true]:text-secondary-foreground"]},success:{wrapper:["group-data-[selected=true]:bg-success","group-data-[selected=true]:text-success-foreground"]},warning:{wrapper:["group-data-[selected=true]:bg-warning","group-data-[selected=true]:text-warning-foreground"]},danger:{wrapper:["group-data-[selected=true]:bg-danger","data-[selected=true]:text-danger-foreground"]}},size:{sm:{wrapper:"w-10 h-6 mr-2",thumb:["w-4 h-4 text-tiny","group-data-[selected=true]:ml-4"],endContent:"text-tiny",startContent:"text-tiny",label:"text-small"},md:{wrapper:"w-12 h-7 mr-2",thumb:["w-5 h-5 text-small","group-data-[selected=true]:ml-5"],endContent:"text-small",startContent:"text-small",label:"text-medium"},lg:{wrapper:"w-14 h-8 mr-2",thumb:["w-6 h-6 text-medium","group-data-[selected=true]:ml-6"],endContent:"text-medium",startContent:"text-medium",label:"text-large"}},isDisabled:{true:{base:"opacity-disabled pointer-events-none"}},disableAnimation:{true:{wrapper:"transition-none",thumb:"transition-none"},false:{wrapper:"transition-background",thumb:"transition-all",startContent:["opacity-0","scale-50","transition-transform-opacity","group-data-[selected=true]:scale-100","group-data-[selected=true]:opacity-100"],endContent:["opacity-100","transition-transform-opacity","group-data-[selected=true]:translate-x-3","group-data-[selected=true]:opacity-0"]}}},defaultVariants:{color:"primary",size:"md",isDisabled:!1,disableAnimation:!1},compoundVariants:[{disableAnimation:!1,size:"sm",class:{thumb:["group-data-[pressed=true]:w-5","group-data-[selected]:group-data-[pressed]:ml-3"]}},{disableAnimation:!1,size:"md",class:{thumb:["group-data-[pressed=true]:w-6","group-data-[selected]:group-data-[pressed]:ml-4"]}},{disableAnimation:!1,size:"lg",class:{thumb:["group-data-[pressed=true]:w-7","group-data-[selected]:group-data-[pressed]:ml-5"]}}]}),ey=gt({slots:{base:"group relative max-w-fit inline-flex items-center justify-start cursor-pointer tap-highlight-transparent p-2 -m-2",wrapper:["relative","inline-flex","items-center","justify-center","flex-shrink-0","overflow-hidden","border-solid","border-medium","box-border","border-default","rounded-full","group-data-[hover-unselected=true]:bg-default-100",...ja],labelWrapper:"flex flex-col ml-1",control:["z-10","w-2","h-2","opacity-0","scale-0","origin-center","rounded-full","group-data-[selected=true]:opacity-100","group-data-[selected=true]:scale-100"],label:"relative text-foreground select-none",description:"relative text-foreground-400"},variants:{color:{default:{control:"bg-default-500 text-default-foreground",wrapper:"group-data-[selected=true]:border-default-500"},primary:{control:"bg-primary text-primary-foreground",wrapper:"group-data-[selected=true]:border-primary"},secondary:{control:"bg-secondary text-secondary-foreground",wrapper:"group-data-[selected=true]:border-secondary"},success:{control:"bg-success text-success-foreground",wrapper:"group-data-[selected=true]:border-success"},warning:{control:"bg-warning text-warning-foreground",wrapper:"group-data-[selected=true]:border-warning"},danger:{control:"bg-danger text-danger-foreground",wrapper:"group-data-[selected=true]:border-danger"}},size:{sm:{wrapper:"w-4 h-4",control:"w-1.5 h-1.5",labelWrapper:"ml-1",label:"text-small",description:"text-tiny"},md:{wrapper:"w-5 h-5",control:"w-2 h-2",labelWrapper:"ml-2",label:"text-medium",description:"text-small"},lg:{wrapper:"w-6 h-6",control:"w-2.5 h-2.5",labelWrapper:"ml-2",label:"text-large",description:"text-medium"}},isDisabled:{true:{base:"opacity-disabled pointer-events-none"}},isInvalid:{true:{control:"bg-danger text-danger-foreground",wrapper:"border-danger group-data-[selected=true]:border-danger",label:"text-danger",description:"text-danger-300"}},disableAnimation:{true:{},false:{wrapper:["group-data-[pressed=true]:scale-95","transition-transform-colors","motion-reduce:transition-none"],control:"transition-transform-opacity motion-reduce:transition-none",label:"transition-colors motion-reduce:transition-none",description:"transition-colors motion-reduce:transition-none"}}},defaultVariants:{color:"primary",size:"md",isDisabled:!1,isInvalid:!1,disableAnimation:!1}}),ty=gt({slots:{base:"relative flex flex-col gap-2",label:"relative text-foreground-500",wrapper:"flex flex-col flex-wrap gap-2 data-[orientation=horizontal]:flex-row",description:"text-tiny text-foreground-400",errorMessage:"text-tiny text-danger"},variants:{isRequired:{true:{label:"after:content-['*'] after:text-danger after:ml-0.5"}},isInvalid:{true:{description:"text-danger"}},disableAnimation:{true:{},false:{description:"transition-colors !duration-150 motion-reduce:transition-none"}}},defaultVariants:{isInvalid:!1,isRequired:!1,disableAnimation:!1}}),bf=gt({slots:{base:"group flex flex-col",label:["absolute","z-10","pointer-events-none","origin-top-left","subpixel-antialiased","block","text-small","text-foreground-500"],mainWrapper:"h-full",inputWrapper:"relative w-full inline-flex tap-highlight-transparent flex-row items-center shadow-sm px-3 gap-3",innerWrapper:"inline-flex w-full items-center h-full box-border",input:["w-full font-normal bg-transparent !outline-none placeholder:text-foreground-500 focus-visible:outline-none","data-[has-start-content=true]:ps-1.5","data-[has-end-content=true]:pe-1.5"],clearButton:["p-2","-m-2","z-10","hidden","absolute","right-3","appearance-none","outline-none","select-none","opacity-0","hover:!opacity-100","cursor-pointer","active:!opacity-70","rounded-full",...co],helperWrapper:"hidden group-data-[has-helper=true]:flex p-1 relative flex-col gap-1.5",description:"text-tiny text-foreground-400",errorMessage:"text-tiny text-danger"},variants:{variant:{flat:{inputWrapper:["bg-default-100","data-[hover=true]:bg-default-200","group-data-[focus=true]:bg-default-100"]},faded:{inputWrapper:["bg-default-100","border-medium","border-default-200","data-[hover=true]:border-default-400"],value:"group-data-[has-value=true]:text-default-foreground"},bordered:{inputWrapper:["border-medium","border-default-200","data-[hover=true]:border-default-400","group-data-[focus=true]:border-default-foreground"]},underlined:{inputWrapper:["!px-1","!pb-0","!gap-0","relative","box-border","border-b-medium","shadow-[0_1px_0px_0_rgba(0,0,0,0.05)]","border-default-200","!rounded-none","hover:border-default-300","after:content-['']","after:w-0","after:origin-center","after:bg-default-foreground","after:absolute","after:left-1/2","after:-translate-x-1/2","after:-bottom-[2px]","after:h-[2px]","group-data-[focus=true]:after:w-full"],innerWrapper:"pb-1",label:"group-data-[filled-within=true]:text-foreground"}},color:{default:{},primary:{},secondary:{},success:{},warning:{},danger:{}},size:{sm:{label:"text-tiny",inputWrapper:"h-unit-8 min-h-unit-8 px-2 rounded-small",input:"text-small",clearButton:"text-medium"},md:{inputWrapper:"h-unit-10 min-h-unit-10 rounded-medium",input:"text-small",clearButton:"text-large"},lg:{inputWrapper:"h-unit-12 min-h-unit-12 rounded-large",input:"text-medium",clearButton:"text-large"}},radius:{none:{inputWrapper:"rounded-none"},sm:{inputWrapper:"rounded-small"},md:{inputWrapper:"rounded-medium"},lg:{inputWrapper:"rounded-large"},full:{inputWrapper:"rounded-full"}},labelPlacement:{outside:{mainWrapper:"flex flex-col"},"outside-left":{base:"flex-row items-center flex-nowrap data-[has-helper=true]:items-start",inputWrapper:"flex-1",mainWrapper:"flex flex-col",label:"relative text-foreground pr-2"},inside:{label:"text-tiny cursor-text",inputWrapper:"flex-col items-start justify-center gap-0",innerWrapper:"group-data-[has-label=true]:items-end"}},fullWidth:{true:{base:"w-full"}},isClearable:{true:{input:"peer pr-6",clearButton:"peer-data-[filled=true]:opacity-70 peer-data-[filled=true]:block"}},isDisabled:{true:{base:"opacity-disabled pointer-events-none",inputWrapper:"pointer-events-none",label:"pointer-events-none"}},isInvalid:{true:{label:"!text-danger",input:"!placeholder:text-danger !text-danger"}},isRequired:{true:{label:"after:content-['*'] after:text-danger after:ml-0.5"}},isMultiline:{true:{label:"relative",inputWrapper:"!h-auto",innerWrapper:"items-start group-data-[has-label=true]:items-start",input:"resize-none data-[hide-scroll=true]:scrollbar-hide"}},disableAnimation:{true:{input:"transition-none",inputWrapper:"transition-none",label:"transition-none"},false:{inputWrapper:"transition-background motion-reduce:transition-none !duration-150",label:["will-change-auto","!duration-200","!ease-out","motion-reduce:transition-none","transition-[transform,color,left,opacity]"],clearButton:["transition-opacity","motion-reduce:transition-none"]}}},defaultVariants:{variant:"flat",color:"default",size:"md",fullWidth:!0,labelPlacement:"inside",isDisabled:!1,isMultiline:!1,disableAnimation:!1},compoundVariants:[{variant:"flat",color:"default",class:{input:"group-data-[has-value=true]:text-default-foreground"}},{variant:"flat",color:"primary",class:{inputWrapper:["bg-primary-50","data-[hover=true]:bg-primary-100","text-primary","group-data-[focus=true]:bg-primary-50","placeholder:text-primary"],input:"placeholder:text-primary",label:"text-primary"}},{variant:"flat",color:"secondary",class:{inputWrapper:["bg-secondary-50","text-secondary","data-[hover=true]:bg-secondary-100","group-data-[focus=true]:bg-secondary-50","placeholder:text-secondary"],input:"placeholder:text-secondary",label:"text-secondary"}},{variant:"flat",color:"success",class:{inputWrapper:["bg-success-50","text-success-600","dark:text-success","placeholder:text-success-600","dark:placeholder:text-success","data-[hover=true]:bg-success-100","group-data-[focus=true]:bg-success-50"],input:"placeholder:text-success-600 dark:placeholder:text-success",label:"text-success-600 dark:text-success"}},{variant:"flat",color:"warning",class:{inputWrapper:["bg-warning-50","text-warning-600","dark:text-warning","placeholder:text-warning-600","dark:placeholder:text-warning","data-[hover=true]:bg-warning-100","group-data-[focus=true]:bg-warning-50"],input:"placeholder:text-warning-600 dark:placeholder:text-warning",label:"text-warning-600 dark:text-warning"}},{variant:"flat",color:"danger",class:{inputWrapper:["bg-danger-50","text-danger","dark:text-danger-500","placeholder:text-danger","dark:placeholder:text-danger-500","data-[hover=true]:bg-danger-100","group-data-[focus=true]:bg-danger-50"],input:"placeholder:text-danger dark:placeholder:text-danger-500",label:"text-danger dark:text-danger-500"}},{variant:"faded",color:"primary",class:{label:"text-primary",inputWrapper:"data-[hover=true]:border-primary focus-within:border-primary"}},{variant:"faded",color:"secondary",class:{label:"text-secondary",inputWrapper:"data-[hover=true]:border-secondary focus-within:border-secondary"}},{variant:"faded",color:"success",class:{label:"text-success",inputWrapper:"data-[hover=true]:border-success focus-within:border-success"}},{variant:"faded",color:"warning",class:{label:"text-warning",inputWrapper:"data-[hover=true]:border-warning focus-within:border-warning"}},{variant:"faded",color:"danger",class:{label:"text-danger",inputWrapper:"data-[hover=true]:border-danger focus-within:border-danger"}},{variant:"underlined",color:"default",class:{input:"group-data-[has-value=true]:text-foreground"}},{variant:"underlined",color:"primary",class:{inputWrapper:"after:bg-primary",label:"text-primary"}},{variant:"underlined",color:"secondary",class:{inputWrapper:"after:bg-secondary",label:"text-secondary"}},{variant:"underlined",color:"success",class:{inputWrapper:"after:bg-success",label:"text-success"}},{variant:"underlined",color:"warning",class:{inputWrapper:"after:bg-warning",label:"text-warning"}},{variant:"underlined",color:"danger",class:{inputWrapper:"after:bg-danger",label:"text-danger"}},{variant:"bordered",color:"primary",class:{inputWrapper:"group-data-[focus=true]:border-primary",label:"text-primary"}},{variant:"bordered",color:"secondary",class:{inputWrapper:"group-data-[focus=true]:border-secondary",label:"text-secondary"}},{variant:"bordered",color:"success",class:{inputWrapper:"group-data-[focus=true]:border-success",label:"text-success"}},{variant:"bordered",color:"warning",class:{inputWrapper:"group-data-[focus=true]:border-warning",label:"text-warning"}},{variant:"bordered",color:"danger",class:{inputWrapper:"group-data-[focus=true]:border-danger",label:"text-danger"}},{labelPlacement:"inside",color:"default",class:{label:"group-data-[filled-within=true]:text-default-600"}},{labelPlacement:"outside",color:"default",class:{label:"group-data-[filled-within=true]:text-foreground"}},{radius:"full",size:["sm"],class:{inputWrapper:"px-3"}},{radius:"full",size:"md",class:{inputWrapper:"px-4"}},{radius:"full",size:"lg",class:{inputWrapper:"px-5"}},{disableAnimation:!1,variant:["faded","bordered"],class:{inputWrapper:"transition-colors motion-reduce:transition-none"}},{disableAnimation:!1,variant:"underlined",class:{inputWrapper:"after:transition-width motion-reduce:after:transition-none"}},{variant:["flat","faded"],class:{inputWrapper:[...ja]}},{isInvalid:!0,variant:"flat",class:{inputWrapper:["bg-danger-50","data-[hover=true]:bg-danger-100","group-data-[focus=true]:bg-danger-50"]}},{isInvalid:!0,variant:"bordered",class:{inputWrapper:"!border-danger group-data-[focus=true]:border-danger"}},{isInvalid:!0,variant:"underlined",class:{inputWrapper:"after:bg-danger"}},{labelPlacement:"inside",size:"sm",class:{inputWrapper:"h-12 py-1.5 px-3"}},{labelPlacement:"inside",size:"md",class:{inputWrapper:"h-14 py-2"}},{labelPlacement:"inside",size:"lg",class:{label:"text-small",inputWrapper:"h-16 py-2.5 gap-0"}},{labelPlacement:"inside",size:"sm",variant:["bordered","faded"],class:{inputWrapper:"py-1"}},{labelPlacement:["inside","outside"],class:{label:["group-data-[filled-within=true]:pointer-events-auto"]}},{labelPlacement:["outside","outside-left"],class:{input:"h-full"}},{labelPlacement:"outside",isMultiline:!1,class:{base:"group relative justify-end",label:["pb-0","z-20","top-1/2","-translate-y-1/2","group-data-[filled-within=true]:left-0"]}},{labelPlacement:["inside"],class:{label:["group-data-[filled-within=true]:scale-85"]}},{labelPlacement:["inside"],variant:"flat",class:{innerWrapper:"pb-0.5"}},{variant:"underlined",size:"sm",class:{innerWrapper:"pb-1"}},{variant:"underlined",size:["md","lg"],class:{innerWrapper:"pb-1.5"}},{labelPlacement:"inside",size:["sm","md"],class:{label:"text-small"}},{labelPlacement:"inside",isMultiline:!1,size:"sm",class:{label:["group-data-[filled-within=true]:-translate-y-[calc(50%_+_theme(fontSize.tiny)/2_-_8px)]"]}},{labelPlacement:"inside",isMultiline:!1,size:"md",class:{label:["group-data-[filled-within=true]:-translate-y-[calc(50%_+_theme(fontSize.small)/2_-_6px)]"]}},{labelPlacement:"inside",isMultiline:!1,size:"lg",class:{label:["text-medium","group-data-[filled-within=true]:-translate-y-[calc(50%_+_theme(fontSize.small)/2_-_8px)]"]}},{labelPlacement:"inside",variant:["faded","bordered"],isMultiline:!1,size:"sm",class:{label:["group-data-[filled-within=true]:-translate-y-[calc(50%_+_theme(fontSize.tiny)/2_-_8px_-_theme(borderWidth.medium))]"]}},{labelPlacement:"inside",variant:["faded","bordered"],isMultiline:!1,size:"md",class:{label:["group-data-[filled-within=true]:-translate-y-[calc(50%_+_theme(fontSize.small)/2_-_6px_-_theme(borderWidth.medium))]"]}},{labelPlacement:"inside",variant:["faded","bordered"],isMultiline:!1,size:"lg",class:{label:["text-medium","group-data-[filled-within=true]:-translate-y-[calc(50%_+_theme(fontSize.small)/2_-_8px_-_theme(borderWidth.medium))]"]}},{labelPlacement:"inside",variant:"underlined",isMultiline:!1,size:"sm",class:{label:["group-data-[filled-within=true]:-translate-y-[calc(50%_+_theme(fontSize.tiny)/2_-_5px)]"]}},{labelPlacement:"inside",variant:"underlined",isMultiline:!1,size:"md",class:{label:["group-data-[filled-within=true]:-translate-y-[calc(50%_+_theme(fontSize.small)/2_-_3.5px)]"]}},{labelPlacement:"inside",variant:"underlined",size:"lg",isMultiline:!1,class:{label:["text-medium","group-data-[filled-within=true]:-translate-y-[calc(50%_+_theme(fontSize.small)/2_-_4px)]"]}},{labelPlacement:"outside",size:"sm",isMultiline:!1,class:{label:["left-2","text-tiny","group-data-[filled-within=true]:-translate-y-[calc(100%_+_theme(fontSize.tiny)/2_+_16px)]"],base:"data-[has-label=true]:mt-[calc(theme(fontSize.small)_+_8px)]"}},{labelPlacement:"outside",size:"md",isMultiline:!1,class:{label:["left-3","text-small","group-data-[filled-within=true]:-translate-y-[calc(100%_+_theme(fontSize.small)/2_+_20px)]"],base:"data-[has-label=true]:mt-[calc(theme(fontSize.small)_+_10px)]"}},{labelPlacement:"outside",size:"lg",isMultiline:!1,class:{label:["left-3","text-medium","group-data-[filled-within=true]:-translate-y-[calc(100%_+_theme(fontSize.small)/2_+_24px)]"],base:"data-[has-label=true]:mt-[calc(theme(fontSize.small)_+_12px)]"}},{labelPlacement:"outside-left",size:"sm",class:{label:"group-data-[has-helper=true]:pt-2"}},{labelPlacement:"outside-left",size:"md",class:{label:"group-data-[has-helper=true]:pt-3"}},{labelPlacement:"outside-left",size:"lg",class:{label:"group-data-[has-helper=true]:pt-4"}},{labelPlacement:["outside","outside-left"],isMultiline:!0,class:{inputWrapper:"py-2"}},{labelPlacement:"outside",isMultiline:!0,class:{label:"pb-1.5"}},{labelPlacement:"inside",isMultiline:!0,class:{label:"pb-0.5",input:"pt-0"}},{isMultiline:!0,disableAnimation:!1,class:{input:"transition-height !duration-100 motion-reduce:transition-none"}},{labelPlacement:["inside","outside"],class:{label:["pe-2","max-w-full","text-ellipsis","overflow-hidden"]}},{isMultiline:!0,radius:"full",class:{inputWrapper:"data-[has-multiple-rows=true]:rounded-large"}}]}),ny=gt({slots:{base:"group relative max-w-fit inline-flex items-center justify-start cursor-pointer tap-highlight-transparent p-2 -m-2",wrapper:["relative","inline-flex","items-center","justify-center","flex-shrink-0","overflow-hidden","before:content-['']","before:absolute","before:inset-0","before:border-solid","before:border-2","before:box-border","before:border-default","after:content-['']","after:absolute","after:inset-0","after:scale-50","after:opacity-0","after:origin-center","group-data-[selected=true]:after:scale-100","group-data-[selected=true]:after:opacity-100","group-data-[hover=true]:before:bg-default-100",...ja],icon:"z-10 w-4 h-3 opacity-0 group-data-[selected=true]:opacity-100",label:"relative text-foreground select-none"},variants:{color:{default:{wrapper:"after:bg-default after:text-default-foreground text-default-foreground"},primary:{wrapper:"after:bg-primary after:text-primary-foreground text-primary-foreground"},secondary:{wrapper:"after:bg-secondary after:text-secondary-foreground text-secondary-foreground"},success:{wrapper:"after:bg-success after:text-success-foreground text-success-foreground"},warning:{wrapper:"after:bg-warning after:text-warning-foreground text-warning-foreground"},danger:{wrapper:"after:bg-danger after:text-danger-foreground text-danger-foreground"}},size:{sm:{wrapper:["w-4 h-4 mr-2","rounded-[calc(theme(borderRadius.medium)*0.5)]","before:rounded-[calc(theme(borderRadius.medium)*0.5)]","after:rounded-[calc(theme(borderRadius.medium)*0.5)]"],label:"text-small",icon:"w-3 h-2"},md:{wrapper:["w-5 h-5 mr-2","rounded-[calc(theme(borderRadius.medium)*0.6)]","before:rounded-[calc(theme(borderRadius.medium)*0.6)]","after:rounded-[calc(theme(borderRadius.medium)*0.6)]"],label:"text-medium",icon:"w-4 h-3"},lg:{wrapper:["w-6 h-6 mr-2","rounded-[calc(theme(borderRadius.medium)*0.7)]","before:rounded-[calc(theme(borderRadius.medium)*0.7)]","after:rounded-[calc(theme(borderRadius.medium)*0.7)]"],label:"text-large",icon:"w-5 h-4"}},radius:{none:{wrapper:"rounded-none before:rounded-none after:rounded-none"},sm:{wrapper:["rounded-[calc(theme(borderRadius.medium)*0.5)]","before:rounded-[calc(theme(borderRadius.medium)*0.5)]","after:rounded-[calc(theme(borderRadius.medium)*0.5)]"]},md:{wrapper:["rounded-[calc(theme(borderRadius.medium)*0.6)]","before:rounded-[calc(theme(borderRadius.medium)*0.6)]","after:rounded-[calc(theme(borderRadius.medium)*0.6)]"]},lg:{wrapper:["rounded-[calc(theme(borderRadius.medium)*0.7)]","before:rounded-[calc(theme(borderRadius.medium)*0.7)]","after:rounded-[calc(theme(borderRadius.medium)*0.7)]"]},full:{wrapper:"rounded-full before:rounded-full after:rounded-full"}},lineThrough:{true:{label:["inline-flex","items-center","justify-center","before:content-['']","before:absolute","before:bg-foreground","before:w-0","before:h-0.5","group-data-[selected=true]:opacity-60","group-data-[selected=true]:before:w-full"]}},isDisabled:{true:{base:"opacity-disabled pointer-events-none"}},isInvalid:{true:{wrapper:"before:border-danger",label:"text-danger"}},disableAnimation:{true:{wrapper:"transition-none",icon:"transition-none",label:"transition-none"},false:{wrapper:["before:transition-colors","group-data-[pressed=true]:scale-95","transition-transform","after:transition-transform-opacity","after:!ease-linear","after:!duration-200","motion-reduce:transition-none"],icon:"transition-opacity motion-reduce:transition-none",label:"transition-colors-opacity before:transition-width motion-reduce:transition-none"}}},defaultVariants:{color:"primary",size:"md",isDisabled:!1,lineThrough:!1,disableAnimation:!1}});gt({slots:{base:"relative flex flex-col gap-2",label:"relative text-medium text-foreground-500",wrapper:"flex flex-col flex-wrap gap-2 data-[orientation=horizontal]:flex-row",description:"text-small text-foreground-400",errorMessage:"text-small text-danger"},variants:{isRequired:{true:{label:"after:content-['*'] after:text-danger after:ml-0.5"}},isInvalid:{true:{description:"text-danger"}},disableAnimation:{true:{},false:{description:"transition-colors !duration-150 motion-reduce:transition-none"}}},defaultVariants:{isInvalid:!1,isRequired:!1,disableAnimation:!1}});var vf=gt({slots:{base:["relative","max-w-fit","inline-flex","items-center","justify-between","box-border","whitespace-nowrap"],content:"flex-1 text-inherit font-normal",dot:["w-2","h-2","ml-1","rounded-full"],avatar:"flex-shrink-0",closeButton:["z-10","appearance-none","outline-none","select-none","transition-opacity","opacity-70","hover:opacity-100","cursor-pointer","active:opacity-disabled","tap-highlight-transparent"]},variants:{variant:{solid:{},bordered:{base:"border-medium bg-transparent"},light:{base:"bg-transparent"},flat:{},faded:{base:"border-medium"},shadow:{},dot:{base:"border-medium border-default text-foreground bg-transparent"}},color:{default:{dot:"bg-default-400"},primary:{dot:"bg-primary"},secondary:{dot:"bg-secondary"},success:{dot:"bg-success"},warning:{dot:"bg-warning"},danger:{dot:"bg-danger"}},size:{sm:{base:"px-1 h-6 text-tiny",content:"px-1",closeButton:"text-medium",avatar:"w-4 h-4"},md:{base:"px-1 h-7 text-small",content:"px-2",closeButton:"text-large",avatar:"w-5 h-5"},lg:{base:"px-2 h-8 text-medium",content:"px-2",closeButton:"text-xl",avatar:"w-6 h-6"}},radius:{none:{base:"rounded-none"},sm:{base:"rounded-small"},md:{base:"rounded-medium"},lg:{base:"rounded-large"},full:{base:"rounded-full"}},isOneChar:{true:{},false:{}},isCloseable:{true:{},false:{}},hasStartContent:{true:{}},hasEndContent:{true:{}},isDisabled:{true:{base:"opacity-disabled pointer-events-none"}},isCloseButtonFocusVisible:{true:{closeButton:[...X2,"ring-1","rounded-full"]}}},defaultVariants:{variant:"solid",color:"default",size:"md",radius:"full",isDisabled:!1},compoundVariants:[{variant:"solid",color:"default",class:{base:J.solid.default}},{variant:"solid",color:"primary",class:{base:J.solid.primary}},{variant:"solid",color:"secondary",class:{base:J.solid.secondary}},{variant:"solid",color:"success",class:{base:J.solid.success}},{variant:"solid",color:"warning",class:{base:J.solid.warning}},{variant:"solid",color:"danger",class:{base:J.solid.danger}},{variant:"shadow",color:"default",class:{base:J.shadow.default}},{variant:"shadow",color:"primary",class:{base:J.shadow.primary}},{variant:"shadow",color:"secondary",class:{base:J.shadow.secondary}},{variant:"shadow",color:"success",class:{base:J.shadow.success}},{variant:"shadow",color:"warning",class:{base:J.shadow.warning}},{variant:"shadow",color:"danger",class:{base:J.shadow.danger}},{variant:"bordered",color:"default",class:{base:J.bordered.default}},{variant:"bordered",color:"primary",class:{base:J.bordered.primary}},{variant:"bordered",color:"secondary",class:{base:J.bordered.secondary}},{variant:"bordered",color:"success",class:{base:J.bordered.success}},{variant:"bordered",color:"warning",class:{base:J.bordered.warning}},{variant:"bordered",color:"danger",class:{base:J.bordered.danger}},{variant:"flat",color:"default",class:{base:J.flat.default}},{variant:"flat",color:"primary",class:{base:J.flat.primary}},{variant:"flat",color:"secondary",class:{base:J.flat.secondary}},{variant:"flat",color:"success",class:{base:J.flat.success}},{variant:"flat",color:"warning",class:{base:J.flat.warning}},{variant:"flat",color:"danger",class:{base:J.flat.danger}},{variant:"faded",color:"default",class:{base:J.faded.default}},{variant:"faded",color:"primary",class:{base:J.faded.primary}},{variant:"faded",color:"secondary",class:{base:J.faded.secondary}},{variant:"faded",color:"success",class:{base:J.faded.success}},{variant:"faded",color:"warning",class:{base:J.faded.warning}},{variant:"faded",color:"danger",class:{base:J.faded.danger}},{variant:"light",color:"default",class:{base:J.light.default}},{variant:"light",color:"primary",class:{base:J.light.primary}},{variant:"light",color:"secondary",class:{base:J.light.secondary}},{variant:"light",color:"success",class:{base:J.light.success}},{variant:"light",color:"warning",class:{base:J.light.warning}},{variant:"light",color:"danger",class:{base:J.light.danger}},{isOneChar:!0,size:"sm",class:{base:"w-5 h-5 min-w-unit-5 min-h-5"}},{isOneChar:!0,size:"md",class:{base:"w-6 h-6 min-w-unit-6 min-h-6"}},{isOneChar:!0,size:"lg",class:{base:"w-7 h-7 min-w-unit-7 min-h-7"}},{isOneChar:!0,isCloseable:!1,class:{base:"px-0 justify-center",content:"px-0 flex-none"}},{isOneChar:!0,isCloseable:!0,class:{base:"w-auto"}},{hasStartContent:!0,size:"sm",class:{content:"pl-0.5"}},{hasStartContent:!0,size:["md","lg"],class:{content:"pl-1"}},{hasEndContent:!0,size:"sm",class:{content:"pr-0.5"}},{hasEndContent:!0,size:["md","lg"],class:{content:"pr-1"}}]}),ry=gt({slots:{base:["flex","relative","justify-center","items-center","box-border","overflow-hidden","align-middle","text-white","z-0",...co],img:["flex","object-cover","w-full","h-full","transition-opacity","!duration-500","opacity-0","data-[loaded=true]:opacity-100"],fallback:[...qs,"flex","items-center","justify-center"],name:[...qs,"font-normal","text-center","text-inherit"],icon:[...qs,"flex","items-center","justify-center","text-inherit","w-full","h-full"]},variants:{size:{sm:{base:"w-8 h-8 text-tiny"},md:{base:"w-10 h-10 text-tiny"},lg:{base:"w-14 h-14 text-small"}},color:{default:{base:J.solid.default},primary:{base:J.solid.primary},secondary:{base:J.solid.secondary},success:{base:J.solid.success},warning:{base:J.solid.warning},danger:{base:J.solid.danger}},radius:{none:{base:"rounded-none"},sm:{base:"rounded-small"},md:{base:"rounded-medium"},lg:{base:"rounded-large"},full:{base:"rounded-full"}},isBordered:{true:{base:"ring-2 ring-offset-2 ring-offset-background dark:ring-offset-background-dark"}},isDisabled:{true:{base:"opacity-disabled"}},isInGroup:{true:{base:["-ms-2 data-[hover=true]:-translate-x-3 transition-transform","data-[focus-visible=true]:-translate-x-3"]}},isInGridGroup:{true:{base:"m-0 data-[hover=true]:translate-x-0"}}},defaultVariants:{size:"md",color:"default",radius:"full"},compoundVariants:[{color:"default",isBordered:!0,class:{base:"ring-default"}},{color:"primary",isBordered:!0,class:{base:"ring-primary"}},{color:"secondary",isBordered:!0,class:{base:"ring-secondary"}},{color:"success",isBordered:!0,class:{base:"ring-success"}},{color:"warning",isBordered:!0,class:{base:"ring-warning"}},{color:"danger",isBordered:!0,class:{base:"ring-danger"}}]});gt({base:"flex items-center justify-center h-auto w-max-content",variants:{isGrid:{true:"inline-grid grid-cols-4 gap-3"}}});var oy=gt({base:["z-0","group","relative","inline-flex","items-center","justify-center","box-border","appearance-none","outline-none","select-none","whitespace-nowrap","min-w-max","font-normal","subpixel-antialiased","overflow-hidden","tap-highlight-transparent",...co],variants:{variant:{solid:"",bordered:"border-medium bg-transparent",light:"bg-transparent",flat:"",faded:"border-medium",shadow:"",ghost:"border-medium bg-transparent"},size:{sm:"px-unit-3 min-w-unit-16 h-unit-8 text-tiny gap-unit-2 rounded-small",md:"px-unit-4 min-w-unit-20 h-unit-10 text-small gap-unit-2 rounded-medium",lg:"px-unit-6 min-w-unit-24 h-unit-12 text-medium gap-unit-3 rounded-large"},color:{default:"",primary:"",secondary:"",success:"",warning:"",danger:""},radius:{none:"rounded-none",sm:"rounded-small",md:"rounded-medium",lg:"rounded-large",full:"rounded-full"},fullWidth:{true:"w-full"},isDisabled:{true:"opacity-disabled pointer-events-none"},isInGroup:{true:"[&:not(:first-child):not(:last-child)]:rounded-none"},isIconOnly:{true:"px-unit-0 !gap-unit-0",false:"[&>svg]:max-w-[theme(spacing.unit-8)]"},disableAnimation:{true:"!transition-none",false:"data-[pressed=true]:scale-[0.97] transition-transform-colors-opacity motion-reduce:transition-none"}},defaultVariants:{size:"md",variant:"solid",color:"default",fullWidth:!1,isDisabled:!1,isInGroup:!1,disableAnimation:!1},compoundVariants:[{variant:"solid",color:"default",class:J.solid.default},{variant:"solid",color:"primary",class:J.solid.primary},{variant:"solid",color:"secondary",class:J.solid.secondary},{variant:"solid",color:"success",class:J.solid.success},{variant:"solid",color:"warning",class:J.solid.warning},{variant:"solid",color:"danger",class:J.solid.danger},{variant:"shadow",color:"default",class:J.shadow.default},{variant:"shadow",color:"primary",class:J.shadow.primary},{variant:"shadow",color:"secondary",class:J.shadow.secondary},{variant:"shadow",color:"success",class:J.shadow.success},{variant:"shadow",color:"warning",class:J.shadow.warning},{variant:"shadow",color:"danger",class:J.shadow.danger},{variant:"bordered",color:"default",class:J.bordered.default},{variant:"bordered",color:"primary",class:J.bordered.primary},{variant:"bordered",color:"secondary",class:J.bordered.secondary},{variant:"bordered",color:"success",class:J.bordered.success},{variant:"bordered",color:"warning",class:J.bordered.warning},{variant:"bordered",color:"danger",class:J.bordered.danger},{variant:"flat",color:"default",class:J.flat.default},{variant:"flat",color:"primary",class:J.flat.primary},{variant:"flat",color:"secondary",class:J.flat.secondary},{variant:"flat",color:"success",class:J.flat.success},{variant:"flat",color:"warning",class:J.flat.warning},{variant:"flat",color:"danger",class:J.flat.danger},{variant:"faded",color:"default",class:J.faded.default},{variant:"faded",color:"primary",class:J.faded.primary},{variant:"faded",color:"secondary",class:J.faded.secondary},{variant:"faded",color:"success",class:J.faded.success},{variant:"faded",color:"warning",class:J.faded.warning},{variant:"faded",color:"danger",class:J.faded.danger},{variant:"light",color:"default",class:[J.light.default,"data-[hover=true]:bg-default/40"]},{variant:"light",color:"primary",class:[J.light.primary,"data-[hover=true]:bg-primary/20"]},{variant:"light",color:"secondary",class:[J.light.secondary,"data-[hover=true]:bg-secondary/20"]},{variant:"light",color:"success",class:[J.light.success,"data-[hover=true]:bg-success/20"]},{variant:"light",color:"warning",class:[J.light.warning,"data-[hover=true]:bg-warning/20"]},{variant:"light",color:"danger",class:[J.light.danger,"data-[hover=true]:bg-danger/20"]},{variant:"ghost",color:"default",class:J.ghost.default},{variant:"ghost",color:"primary",class:J.ghost.primary},{variant:"ghost",color:"secondary",class:J.ghost.secondary},{variant:"ghost",color:"success",class:J.ghost.success},{variant:"ghost",color:"warning",class:J.ghost.warning},{variant:"ghost",color:"danger",class:J.ghost.danger},{isInGroup:!0,class:"rounded-none first:rounded-s-medium last:rounded-e-medium"},{isInGroup:!0,size:"sm",class:"rounded-none first:rounded-s-small last:rounded-e-small"},{isInGroup:!0,size:"md",class:"rounded-none first:rounded-s-medium last:rounded-e-medium"},{isInGroup:!0,size:"lg",class:"rounded-none first:rounded-s-large last:rounded-e-large"},{isInGroup:!0,isRounded:!0,class:"rounded-none first:rounded-s-full last:rounded-e-full"},{isInGroup:!0,radius:"none",class:"rounded-none first:rounded-s-none last:rounded-e-none"},{isInGroup:!0,radius:"sm",class:"rounded-none first:rounded-s-small last:rounded-e-small"},{isInGroup:!0,radius:"md",class:"rounded-none first:rounded-s-medium last:rounded-e-medium"},{isInGroup:!0,radius:"lg",class:"rounded-none first:rounded-s-large last:rounded-e-large"},{isInGroup:!0,radius:"full",class:"rounded-none first:rounded-s-full last:rounded-e-full"},{isInGroup:!0,variant:["ghost","bordered"],color:"default",className:wr.default},{isInGroup:!0,variant:["ghost","bordered"],color:"primary",className:wr.primary},{isInGroup:!0,variant:["ghost","bordered"],color:"secondary",className:wr.secondary},{isInGroup:!0,variant:["ghost","bordered"],color:"success",className:wr.success},{isInGroup:!0,variant:["ghost","bordered"],color:"warning",className:wr.warning},{isInGroup:!0,variant:["ghost","bordered"],color:"danger",className:wr.danger},{isIconOnly:!0,size:"sm",class:"min-w-unit-8 w-unit-8 h-unit-8"},{isIconOnly:!0,size:"md",class:"min-w-unit-10 w-unit-10 h-unit-10"},{isIconOnly:!0,size:"lg",class:"min-w-unit-12 w-unit-12 h-unit-12"},{variant:["solid","faded","flat","bordered","shadow"],class:"data-[hover=true]:opacity-hover"}]});gt({base:"inline-flex items-center justify-center h-auto",variants:{fullWidth:{true:"w-full"}},defaultVariants:{fullWidth:!1}});var ay=e=>(e==null?void 0:e.length)<=4?e:e==null?void 0:e.slice(0,3),el=(...e)=>{let t=" ";for(const n of e)if(typeof n=="string"&&n.length>0){t=n;break}return t};function yf(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(n=yf(e[t]))&&(r&&(r+=" "),r+=n);else for(t in e)e[t]&&(r&&(r+=" "),r+=t);return r}function we(...e){for(var t=0,n,r,o="";t<e.length;)(n=e[t++])&&(r=yf(n))&&(o&&(o+=" "),o+=r);return o}var xf={};function Ba(e,t,...n){var r;const a=`[Next UI]${t?` [${t}]`:" "}: ${e}`;if(!(typeof console>"u")&&!xf[a]&&(xf[a]=!0,((r=process==null?void 0:process.env)==null?void 0:r.NODE_ENV)!=="production"))return console.warn(a,n)}function iy(e){return`${e}-${Math.floor(Math.random()*1e6)}`}var Cf=process.env.NODE_ENV!=="production";process.env.NODE_ENV;var re=e=>e?"true":void 0;function Wa(e={}){const{strict:t=!0,errorMessage:n="useContext: `context` is undefined. Seems you forgot to wrap component within the Provider",name:r}=e,o=V.createContext(void 0);o.displayName=r;function a(){var i;const s=V.useContext(o);if(!s&&t){const l=new Error(n);throw l.name="ContextError",(i=Error.captureStackTrace)==null||i.call(Error,l,a),l}return s}return[o.Provider,a,o]}function sy(e){return{UNSAFE_getDOMNode(){return e.current}}}function ly(e,t=e){return{...sy(e),focus(){t.current&&t.current.focus()}}}function bt(e){const t=f.useRef(null);return f.useImperativeHandle(e,()=>t.current),t}function wf(e,t){const n=f.useRef(null);return f.useImperativeHandle(e,()=>ly(n,t)),n}var uy=new Set(["id","type","style","title","role","tabIndex","htmlFor","width","height","abbr","accept","acceptCharset","accessKey","action","allowFullScreen","allowTransparency","alt","async","autoComplete","autoFocus","autoPlay","cellPadding","cellSpacing","challenge","charset","checked","cite","class","className","cols","colSpan","command","content","contentEditable","contextMenu","controls","coords","crossOrigin","data","dateTime","default","defer","dir","disabled","download","draggable","dropzone","encType","for","form","formAction","formEncType","formMethod","formNoValidate","formTarget","frameBorder","headers","hidden","high","href","hrefLang","httpEquiv","icon","inputMode","isMap","itemId","itemProp","itemRef","itemScope","itemType","kind","label","lang","list","loop","manifest","max","maxLength","media","mediaGroup","method","min","minLength","multiple","muted","name","noValidate","open","optimum","pattern","ping","placeholder","poster","preload","radioGroup","referrerPolicy","readOnly","rel","required","rows","rowSpan","sandbox","scope","scoped","scrolling","seamless","selected","shape","size","sizes","slot","sortable","span","spellCheck","src","srcDoc","srcSet","start","step","target","translate","typeMustMatch","useMap","value","wmode","wrap"]),cy=new Set(["onCopy","onCut","onPaste","onLoad","onError","onWheel","onScroll","onCompositionEnd","onCompositionStart","onCompositionUpdate","onKeyDown","onKeyPress","onKeyUp","onFocus","onBlur","onChange","onInput","onSubmit","onClick","onContextMenu","onDoubleClick","onDrag","onDragEnd","onDragEnter","onDragExit","onDragLeave","onDragOver","onDragStart","onDrop","onMouseDown","onMouseEnter","onMouseLeave","onMouseMove","onMouseOut","onMouseOver","onMouseUp","onPointerDown","onPointerEnter","onPointerLeave","onPointerUp","onSelect","onTouchCancel","onTouchEnd","onTouchMove","onTouchStart","onAnimationStart","onAnimationEnd","onAnimationIteration","onTransitionEnd"]),dy=/^(data-.*)$/,fy=/^(aria-.*)$/,tl=/^(on[A-Z].*)$/;function fo(e,t={}){let{labelable:n=!0,enabled:r=!0,propNames:o,omitPropNames:a,omitEventNames:i}=t,s={};if(!r)return e;for(const l in e)a!=null&&a.has(l)||i!=null&&i.has(l)&&tl.test(l)||tl.test(l)&&!cy.has(l)||(Object.prototype.hasOwnProperty.call(e,l)&&(uy.has(l)||n&&fy.test(l)||o!=null&&o.has(l)||dy.test(l))||tl.test(l))&&(s[l]=e[l]);return s}function nl(e){return Qv()?e.altKey:e.ctrlKey}function Ir(e){return yn()?e.metaKey:e.ctrlKey}const py=1e3;function my(e){let{keyboardDelegate:t,selectionManager:n,onTypeSelect:r}=e,o=f.useRef({search:"",timeout:null}).current,a=i=>{let s=hy(i.key);if(!s||i.ctrlKey||i.metaKey||!i.currentTarget.contains(i.target))return;s===" "&&o.search.trim().length>0&&(i.preventDefault(),"continuePropagation"in i||i.stopPropagation()),o.search+=s;let l=t.getKeyForSearch(o.search,n.focusedKey);l==null&&(l=t.getKeyForSearch(o.search)),l!=null&&(n.setFocusedKey(l),r&&r(l)),clearTimeout(o.timeout),o.timeout=setTimeout(()=>{o.search=""},py)};return{typeSelectProps:{onKeyDownCapture:t.getKeyForSearch?a:null}}}function hy(e){return e.length===1||!/^[A-Z]/i.test(e)?e:""}function gy(e){let{selectionManager:t,keyboardDelegate:n,ref:r,autoFocus:o=!1,shouldFocusWrap:a=!1,disallowEmptySelection:i=!1,disallowSelectAll:s=!1,selectOnFocus:l=t.selectionBehavior==="replace",disallowTypeAhead:u=!1,shouldUseVirtualFocus:c,allowsTabNavigation:d=!1,isVirtualized:p,scrollRef:m=r,linkBehavior:h="action"}=e,{direction:g}=Vs(),b=Vd(),x=$=>{if($.altKey&&$.key==="Tab"&&$.preventDefault(),!r.current.contains($.target))return;const M=(H,X)=>{if(H!=null){if(t.isLink(H)&&h==="selection"&&l&&!nl($)){mr.flushSync(()=>{t.setFocusedKey(H,X)});let B=m.current.querySelector(`[data-key="${CSS.escape(H.toString())}"]`);b.open(B,$);return}if(t.setFocusedKey(H,X),t.isLink(H)&&h==="override")return;$.shiftKey&&t.selectionMode==="multiple"?t.extendSelection(H):l&&!nl($)&&t.replaceSelection(H)}};switch($.key){case"ArrowDown":if(n.getKeyBelow){var k,I;$.preventDefault();let H=t.focusedKey!=null?n.getKeyBelow(t.focusedKey):(k=n.getFirstKey)===null||k===void 0?void 0:k.call(n);H==null&&a&&(H=(I=n.getFirstKey)===null||I===void 0?void 0:I.call(n,t.focusedKey)),M(H)}break;case"ArrowUp":if(n.getKeyAbove){var E,O;$.preventDefault();let H=t.focusedKey!=null?n.getKeyAbove(t.focusedKey):(E=n.getLastKey)===null||E===void 0?void 0:E.call(n);H==null&&a&&(H=(O=n.getLastKey)===null||O===void 0?void 0:O.call(n,t.focusedKey)),M(H)}break;case"ArrowLeft":if(n.getKeyLeftOf){var j,N;$.preventDefault();let H=n.getKeyLeftOf(t.focusedKey);H==null&&a&&(H=g==="rtl"?(j=n.getFirstKey)===null||j===void 0?void 0:j.call(n,t.focusedKey):(N=n.getLastKey)===null||N===void 0?void 0:N.call(n,t.focusedKey)),M(H,g==="rtl"?"first":"last")}break;case"ArrowRight":if(n.getKeyRightOf){var W,K;$.preventDefault();let H=n.getKeyRightOf(t.focusedKey);H==null&&a&&(H=g==="rtl"?(W=n.getLastKey)===null||W===void 0?void 0:W.call(n,t.focusedKey):(K=n.getFirstKey)===null||K===void 0?void 0:K.call(n,t.focusedKey)),M(H,g==="rtl"?"last":"first")}break;case"Home":if(n.getFirstKey){$.preventDefault();let H=n.getFirstKey(t.focusedKey,Ir($));t.setFocusedKey(H),Ir($)&&$.shiftKey&&t.selectionMode==="multiple"?t.extendSelection(H):l&&t.replaceSelection(H)}break;case"End":if(n.getLastKey){$.preventDefault();let H=n.getLastKey(t.focusedKey,Ir($));t.setFocusedKey(H),Ir($)&&$.shiftKey&&t.selectionMode==="multiple"?t.extendSelection(H):l&&t.replaceSelection(H)}break;case"PageDown":if(n.getKeyPageBelow){$.preventDefault();let H=n.getKeyPageBelow(t.focusedKey);M(H)}break;case"PageUp":if(n.getKeyPageAbove){$.preventDefault();let H=n.getKeyPageAbove(t.focusedKey);M(H)}break;case"a":Ir($)&&t.selectionMode==="multiple"&&s!==!0&&($.preventDefault(),t.selectAll());break;case"Escape":$.preventDefault(),i||t.clearSelection();break;case"Tab":if(!d){if($.shiftKey)r.current.focus();else{let H=Us(r.current,{tabbable:!0}),X,B;do B=H.lastChild(),B&&(X=B);while(B);X&&!X.contains(document.activeElement)&&ht(X)}break}}},y=f.useRef({top:0,left:0});s2(m,"scroll",p?null:()=>{y.current={top:m.current.scrollTop,left:m.current.scrollLeft}});let w=$=>{if(t.isFocused){$.currentTarget.contains($.target)||t.setFocused(!1);return}if($.currentTarget.contains($.target)){if(t.setFocused(!0),t.focusedKey==null){let I=O=>{O!=null&&(t.setFocusedKey(O),l&&t.replaceSelection(O))},E=$.relatedTarget;var M,k;E&&$.currentTarget.compareDocumentPosition(E)&Node.DOCUMENT_POSITION_FOLLOWING?I((M=t.lastSelectedKey)!==null&&M!==void 0?M:n.getLastKey()):I((k=t.firstSelectedKey)!==null&&k!==void 0?k:n.getFirstKey())}else p||(m.current.scrollTop=y.current.top,m.current.scrollLeft=y.current.left);if(!p&&t.focusedKey!=null){let I=m.current.querySelector(`[data-key="${CSS.escape(t.focusedKey.toString())}"]`);I&&(I.contains(document.activeElement)||ht(I),Hs()==="keyboard"&&Rd(I,{containingElement:r.current}))}}},S=$=>{$.currentTarget.contains($.relatedTarget)||t.setFocused(!1)};const P=f.useRef(o);f.useEffect(()=>{if(P.current){let $=null;o==="first"&&($=n.getFirstKey()),o==="last"&&($=n.getLastKey());let M=t.selectedKeys;if(M.size){for(let k of M)if(t.canSelectItem(k)){$=k;break}}t.setFocused(!0),t.setFocusedKey($),$==null&&!c&&Fa(r.current)}},[]);let A=f.useRef(t.focusedKey);f.useEffect(()=>{let $=Hs();if(t.isFocused&&t.focusedKey!=null&&(m!=null&&m.current)){let M=m.current.querySelector(`[data-key="${CSS.escape(t.focusedKey.toString())}"]`);M&&($==="keyboard"||P.current)&&(p||_d(m.current,M),Rd(M,{containingElement:r.current}))}t.isFocused&&t.focusedKey==null&&A.current!=null&&Fa(r.current),A.current=t.focusedKey,P.current=!1},[p,m,t.focusedKey,t.isFocused,r]);let T={onKeyDown:x,onFocus:w,onBlur:S,onMouseDown($){m.current===$.target&&$.preventDefault()}},{typeSelectProps:v}=my({keyboardDelegate:n,selectionManager:t});u||(T=he(v,T));let D;return c||(D=t.focusedKey==null?0:-1),{collectionProps:{...T,tabIndex:D}}}function by(e){let{selectionManager:t,key:n,ref:r,shouldSelectOnPressUp:o,shouldUseVirtualFocus:a,focus:i,isDisabled:s,onAction:l,allowsDifferentPressOrigin:u,linkBehavior:c="action"}=e,d=Vd(),p=N=>{if(N.pointerType==="keyboard"&&nl(N))t.toggleSelection(n);else{if(t.selectionMode==="none")return;if(t.isLink(n)){if(c==="selection"){d.open(r.current,N),t.setSelectedKeys(t.selectedKeys);return}else if(c==="override"||c==="none")return}t.selectionMode==="single"?t.isSelected(n)&&!t.disallowEmptySelection?t.toggleSelection(n):t.replaceSelection(n):N&&N.shiftKey?t.extendSelection(n):t.selectionBehavior==="toggle"||N&&(Ir(N)||N.pointerType==="touch"||N.pointerType==="virtual")?t.toggleSelection(n):t.replaceSelection(n)}};f.useEffect(()=>{n===t.focusedKey&&t.isFocused&&!a&&(i?i():document.activeElement!==r.current&&Fa(r.current))},[r,n,t.focusedKey,t.childFocusStrategy,t.isFocused,a]),s=s||t.isDisabled(n);let m={};!a&&!s?m={tabIndex:n===t.focusedKey?0:-1,onFocus(N){N.target===r.current&&t.setFocusedKey(n)}}:s&&(m.onMouseDown=N=>{N.preventDefault()});let h=t.isLink(n)&&c==="override",g=t.isLink(n)&&c!=="selection"&&c!=="none",b=!s&&t.canSelectItem(n)&&!h,x=(l||g)&&!s,y=x&&(t.selectionBehavior==="replace"?!b:!b||t.isEmpty),w=x&&b&&t.selectionBehavior==="replace",S=y||w,P=f.useRef(null),A=S&&b,T=f.useRef(!1),v=f.useRef(!1),D=N=>{l&&l(),g&&d.open(r.current,N)},$={};o?($.onPressStart=N=>{P.current=N.pointerType,T.current=A,N.pointerType==="keyboard"&&(!S||Ef())&&p(N)},u?($.onPressUp=y?null:N=>{N.pointerType!=="keyboard"&&b&&p(N)},$.onPress=y?D:null):$.onPress=N=>{if(y||w&&N.pointerType!=="mouse"){if(N.pointerType==="keyboard"&&!If())return;D(N)}else N.pointerType!=="keyboard"&&b&&p(N)}):($.onPressStart=N=>{P.current=N.pointerType,T.current=A,v.current=y,b&&(N.pointerType==="mouse"&&!y||N.pointerType==="keyboard"&&(!x||Ef()))&&p(N)},$.onPress=N=>{(N.pointerType==="touch"||N.pointerType==="pen"||N.pointerType==="virtual"||N.pointerType==="keyboard"&&S&&If()||N.pointerType==="mouse"&&v.current)&&(S?D(N):b&&p(N))}),m["data-key"]=n,$.preventFocusOnPress=a;let{pressProps:M,isPressed:k}=Vn($),I=w?N=>{P.current==="mouse"&&(N.stopPropagation(),N.preventDefault(),D(N))}:void 0,{longPressProps:E}=L2({isDisabled:!A,onLongPress(N){N.pointerType==="touch"&&(p(N),t.setSelectionBehavior("toggle"))}}),O=N=>{P.current==="touch"&&T.current&&N.preventDefault()},j=t.isLink(n)?N=>{Qt.isOpening||N.preventDefault()}:void 0;return{itemProps:he(m,b||y?M:{},A?E:{},{onDoubleClick:I,onDragStartCapture:O,onClick:j}),isPressed:k,isSelected:t.isSelected(n),isFocused:t.isFocused&&t.focusedKey===n,isDisabled:s,allowsSelection:b,hasAction:S}}function If(){let e=window.event;return(e==null?void 0:e.key)==="Enter"}function Ef(){let e=window.event;return(e==null?void 0:e.key)===" "||(e==null?void 0:e.code)==="Space"}var Pf=f.createContext(null);Pf.displayName="PressResponderContext";var vy=Object.defineProperty,yy=(e,t,n)=>t in e?vy(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,_n=(e,t,n)=>(yy(e,typeof t!="symbol"?t+"":t,n),n),Sf=(e,t,n)=>{if(!t.has(e))throw TypeError("Cannot "+n)},xy=(e,t,n)=>(Sf(e,t,"read from private field"),n?n.call(e):t.get(e)),Cy=(e,t,n)=>{if(t.has(e))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(e):t.set(e,n)},wy=(e,t,n,r)=>(Sf(e,t,"write to private field"),r?r.call(e,n):t.set(e,n),n),_a,Ga=class{constructor(e,t,n){_n(this,"type"),_n(this,"pointerType"),_n(this,"target"),_n(this,"shiftKey"),_n(this,"ctrlKey"),_n(this,"metaKey"),_n(this,"altKey"),Cy(this,_a,!0),this.type=e,this.pointerType=t,this.target=n.currentTarget,this.shiftKey=n.shiftKey,this.metaKey=n.metaKey,this.ctrlKey=n.ctrlKey,this.altKey=n.altKey}continuePropagation(){wy(this,_a,!1)}get shouldStopPropagation(){return xy(this,_a)}};_a=new WeakMap;var Gn=e=>{var t;return(t=e==null?void 0:e.ownerDocument)!=null?t:document},rl=e=>{var t,n;return(n=(t=e==null?void 0:e.ownerDocument)==null?void 0:t.defaultView)!=null?n:window},Er="default",ol="",Ra=new WeakMap;function Mf(e){if(io()){if(Er==="default"){const t=Gn(e);ol=t.documentElement.style.webkitUserSelect,t.documentElement.style.webkitUserSelect="none"}Er="disabled"}else(e instanceof HTMLElement||e instanceof SVGElement)&&(Ra.set(e,e.style.userSelect),e.style.userSelect="none")}function za(e){if(io()){if(Er!=="disabled")return;Er="restoring",setTimeout(()=>{Ds(()=>{if(Er==="restoring"){const t=Gn(e);t.documentElement.style.webkitUserSelect==="none"&&(t.documentElement.style.webkitUserSelect=ol||""),ol="",Er="default"}})},300)}else if((e instanceof HTMLElement||e instanceof SVGElement)&&e&&Ra.has(e)){let t=Ra.get(e);e.style.userSelect==="none"&&t&&(e.style.userSelect=t),e.getAttribute("style")===""&&e.removeAttribute("style"),Ra.delete(e)}}function Iy(e){let t=f.useContext(Pf);if(t){let{register:n,...r}=t;e=he(r,e),n()}return ks(t,e.ref),e}var Af=Symbol("linkClicked");function po(e){let{onPress:t,onPressChange:n,onPressStart:r,onPressEnd:o,onPressUp:a,isDisabled:i,isPressed:s,preventFocusOnPress:l,shouldCancelOnPointerExit:u,allowTextSelectionOnPress:c,ref:d,...p}=Iy(e),[m,h]=f.useState(!1),g=f.useRef({isPressed:!1,ignoreEmulatedMouseEvents:!1,ignoreClickAfterPress:!1,didFirePressStart:!1,isTriggeringEvent:!1,activePointerId:null,target:null,isOverTarget:!1,pointerType:null}),{addGlobalListener:b,removeAllGlobalListeners:x}=Ns(),y=Je((v,D)=>{let $=g.current;if(i||$.didFirePressStart)return;let M=!0;if($.isTriggeringEvent=!0,r){let k=new Ga("pressstart",D,v);r(k),M=k.shouldStopPropagation}return n&&n(!0),$.isTriggeringEvent=!1,$.didFirePressStart=!0,h(!0),M}),w=Je((v,D,$=!0)=>{let M=g.current;if(!M.didFirePressStart)return;M.ignoreClickAfterPress=!0,M.didFirePressStart=!1,M.isTriggeringEvent=!0;let k=!0;if(o){let I=new Ga("pressend",D,v);o(I),k=I.shouldStopPropagation}if(n&&n(!1),h(!1),t&&$&&!i){let I=new Ga("press",D,v);t(I),k&&(k=I.shouldStopPropagation)}return M.isTriggeringEvent=!1,k}),S=Je((v,D)=>{let $=g.current;if(!i){if(a){$.isTriggeringEvent=!0;let M=new Ga("pressup",D,v);return a(M),$.isTriggeringEvent=!1,M.shouldStopPropagation}return!0}}),P=Je(v=>{let D=g.current;D.isPressed&&(D.isOverTarget&&D.target&&w(en(D.target,v),D.pointerType,!1),D.isPressed=!1,D.isOverTarget=!1,D.activePointerId=null,D.pointerType=null,x(),!c&&D.target&&za(D.target))}),A=Je(v=>{u&&P(v)}),T=f.useMemo(()=>{let v=g.current,D={onKeyDown(M){var k;if(il(M.nativeEvent,M.currentTarget)&&M.currentTarget.contains(M.target)){Df(M.target,M.key)&&M.preventDefault();let I=!0;!v.isPressed&&!M.repeat&&(v.target=M.currentTarget,v.isPressed=!0,I=y(M,"keyboard"),b(Gn(M.currentTarget),"keyup",$,!1)),I&&M.stopPropagation(),M.metaKey&&yn()&&((k=v.metaKeyEvents)==null||k.set(M.key,M.nativeEvent))}else M.key==="Meta"&&(v.metaKeyEvents=new Map)},onKeyUp(M){v.target&&il(M.nativeEvent,M.currentTarget)&&!M.repeat&&M.currentTarget.contains(M.target)&&S(en(v.target,M),"keyboard")},onClick(M){if(!(M&&!M.currentTarget.contains(M.target))&&M&&M.button===0&&!v.isTriggeringEvent&&!Qt.isOpening){let k=!0;if(i&&M.preventDefault(),!v.ignoreClickAfterPress&&!v.ignoreEmulatedMouseEvents&&!v.isPressed&&(v.pointerType==="virtual"||so(M.nativeEvent))){!i&&!l&&ht(M.currentTarget);let I=y(M,"virtual"),E=S(M,"virtual"),O=w(M,"virtual");k=I&&E&&O}v.ignoreEmulatedMouseEvents=!1,v.ignoreClickAfterPress=!1,k&&M.stopPropagation()}}},$=M=>{var k,I;if(v.isPressed&&v.target&&il(M,v.target)){Df(M.target,M.key)&&M.preventDefault();let E=M.target,O=w(en(v.target,M),"keyboard",v.target.contains(E));x(),O&&M.stopPropagation(),M.key!=="Enter"&&al(v.target)&&v.target.contains(E)&&!M[Af]&&(M[Af]=!0,Qt(v.target,M,!1)),v.isPressed=!1,(k=v.metaKeyEvents)==null||k.delete(M.key)}else if(M.key==="Meta"&&((I=v.metaKeyEvents)!=null&&I.size)){let E=v.metaKeyEvents;v.metaKeyEvents=null;for(let O of E.values())v.target&&v.target.dispatchEvent(new KeyboardEvent("keyup",O))}};if(typeof PointerEvent<"u"){D.onPointerDown=E=>{if(E.button!==0||!E.currentTarget.contains(E.target))return;if(zd(E.nativeEvent)){v.pointerType="virtual";return}sl(E.currentTarget)&&E.preventDefault(),v.pointerType=E.pointerType;let O=!0;v.isPressed||(v.isPressed=!0,v.isOverTarget=!0,v.activePointerId=E.pointerId,v.target=E.currentTarget,!i&&!l&&ht(E.currentTarget),c||Mf(v.target),O=y(E,v.pointerType),b(Gn(E.currentTarget),"pointermove",M,!1),b(Gn(E.currentTarget),"pointerup",k,!1),b(Gn(E.currentTarget),"pointercancel",I,!1)),O&&E.stopPropagation()},D.onMouseDown=E=>{E.currentTarget.contains(E.target)&&E.button===0&&(sl(E.currentTarget)&&E.preventDefault(),E.stopPropagation())},D.onPointerUp=E=>{!E.currentTarget.contains(E.target)||v.pointerType==="virtual"||E.button===0&&Pr(E,E.currentTarget)&&S(E,v.pointerType||E.pointerType)};let M=E=>{E.pointerId!==v.activePointerId||!v.target||(Pr(E,v.target)?v.isOverTarget||(v.isOverTarget=!0,y(en(v.target,E),v.pointerType)):v.isOverTarget&&(v.isOverTarget=!1,w(en(v.target,E),v.pointerType,!1),A(E)))},k=E=>{E.pointerId===v.activePointerId&&v.isPressed&&E.button===0&&v.target&&((Pr(E,v.target)||v.isOverTarget)&&w(en(v.target,E),v.pointerType),v.isPressed=!1,v.isOverTarget=!1,v.activePointerId=null,v.pointerType=null,x(),c||za(v.target))},I=E=>{P(E)};D.onDragStart=E=>{E.currentTarget.contains(E.target)&&P(E)}}else{D.onMouseDown=I=>{if(I.button!==0||!I.currentTarget.contains(I.target))return;if(sl(I.currentTarget)&&I.preventDefault(),v.ignoreEmulatedMouseEvents){I.stopPropagation();return}v.isPressed=!0,v.isOverTarget=!0,v.target=I.currentTarget,v.pointerType=so(I.nativeEvent)?"virtual":"mouse",!i&&!l&&ht(I.currentTarget),y(I,v.pointerType)&&I.stopPropagation(),b(Gn(I.currentTarget),"mouseup",M,!1)},D.onMouseEnter=I=>{if(!I.currentTarget.contains(I.target))return;let E=!0;v.isPressed&&!v.ignoreEmulatedMouseEvents&&(v.isOverTarget=!0,E=y(I,v.pointerType)),E&&I.stopPropagation()},D.onMouseLeave=I=>{if(!I.currentTarget.contains(I.target))return;let E=!0;v.isPressed&&!v.ignoreEmulatedMouseEvents&&(v.isOverTarget=!1,E=w(I,v.pointerType,!1),A(I)),E&&I.stopPropagation()},D.onMouseUp=I=>{I.currentTarget.contains(I.target)&&!v.ignoreEmulatedMouseEvents&&I.button===0&&S(I,v.pointerType||"mouse")};let M=I=>{if(I.button===0){if(v.isPressed=!1,x(),v.ignoreEmulatedMouseEvents){v.ignoreEmulatedMouseEvents=!1;return}v.target&&(Pr(I,v.target)?w(en(v.target,I),v.pointerType):v.isOverTarget&&w(en(v.target,I),v.pointerType,!1),v.isOverTarget=!1)}};D.onTouchStart=I=>{if(!I.currentTarget.contains(I.target))return;let E=Ey(I.nativeEvent);if(!E)return;v.activePointerId=E.identifier,v.ignoreEmulatedMouseEvents=!0,v.isOverTarget=!0,v.isPressed=!0,v.target=I.currentTarget,v.pointerType="touch",!i&&!l&&ht(I.currentTarget),c||Mf(v.target),y(I,v.pointerType)&&I.stopPropagation(),b(rl(I.currentTarget),"scroll",k,!0)},D.onTouchMove=I=>{if(!I.currentTarget.contains(I.target))return;if(!v.isPressed){I.stopPropagation();return}let E=Tf(I.nativeEvent,v.activePointerId),O=!0;E&&Pr(E,I.currentTarget)?v.isOverTarget||(v.isOverTarget=!0,O=y(I,v.pointerType)):v.isOverTarget&&(v.isOverTarget=!1,O=w(I,v.pointerType,!1),A(I)),O&&I.stopPropagation()},D.onTouchEnd=I=>{if(!I.currentTarget.contains(I.target))return;if(!v.isPressed){I.stopPropagation();return}let E=Tf(I.nativeEvent,v.activePointerId),O=!0;E&&Pr(E,I.currentTarget)?(S(I,v.pointerType),O=w(I,v.pointerType)):v.isOverTarget&&(O=w(I,v.pointerType,!1)),O&&I.stopPropagation(),v.isPressed=!1,v.activePointerId=null,v.isOverTarget=!1,v.ignoreEmulatedMouseEvents=!0,!c&&v.target&&za(v.target),x()},D.onTouchCancel=I=>{I.currentTarget.contains(I.target)&&(I.stopPropagation(),v.isPressed&&P(I))};let k=I=>{v.isPressed&&I.target.contains(v.target)&&P({currentTarget:v.target,shiftKey:!1,ctrlKey:!1,metaKey:!1,altKey:!1})};D.onDragStart=I=>{I.currentTarget.contains(I.target)&&P(I)}}return D},[b,i,l,x,c,P,A,w,y,S]);return f.useEffect(()=>()=>{!c&&g.current.target&&za(g.current.target)},[c]),{isPressed:s||m,pressProps:he(p,T)}}function al(e){return e.tagName==="A"&&e.hasAttribute("href")}function il(e,t){const{key:n,code:r}=e,o=t,a=o.getAttribute("role");return(n==="Enter"||n===" "||n==="Spacebar"||r==="Space")&&!(o instanceof rl(o).HTMLInputElement&&!Nf(o,n)||o instanceof rl(o).HTMLTextAreaElement||o.isContentEditable)&&!((a==="link"||!a&&al(o))&&n!=="Enter")}function Ey(e){const{targetTouches:t}=e;return t.length>0?t[0]:null}function Tf(e,t){const n=e.changedTouches;for(let r=0;r<n.length;r++){const o=n[r];if(o.identifier===t)return o}return null}function en(e,t){return{currentTarget:e,shiftKey:t.shiftKey,ctrlKey:t.ctrlKey,metaKey:t.metaKey,altKey:t.altKey}}function Py(e){let t=e.width?e.width/2:e.radiusX||0,n=e.height?e.height/2:e.radiusY||0;return{top:e.clientY-n,right:e.clientX+t,bottom:e.clientY+n,left:e.clientX-t}}function Sy(e,t){return!(e.left>t.right||t.left>e.right||e.top>t.bottom||t.top>e.bottom)}function Pr(e,t){let n=t.getBoundingClientRect(),r=Py(e);return Sy(n,r)}function sl(e){return!(e instanceof HTMLElement)||!e.hasAttribute("draggable")}function Df(e,t){return e instanceof HTMLInputElement?!Nf(e,t):e instanceof HTMLButtonElement?e.type!=="submit"&&e.type!=="reset":!al(e)}var My=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function Nf(e,t){return e.type==="checkbox"||e.type==="radio"?t===" ":My.has(e.type)}var Ay=e=>F.jsx("svg",{"aria-hidden":"true",focusable:"false",height:"1em",role:"presentation",viewBox:"0 0 24 24",width:"1em",...e,children:F.jsx("path",{d:"M12 2a10 10 0 1010 10A10.016 10.016 0 0012 2zm3.36 12.3a.754.754 0 010 1.06.748.748 0 01-1.06 0l-2.3-2.3-2.3 2.3a.748.748 0 01-1.06 0 .754.754 0 010-1.06l2.3-2.3-2.3-2.3A.75.75 0 019.7 8.64l2.3 2.3 2.3-2.3a.75.75 0 011.06 1.06l-2.3 2.3z",fill:"currentColor"})});const $f=f.createContext({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"}),Ha=f.createContext({}),Xa=f.createContext(null),Za=typeof document<"u",ll=Za?f.useLayoutEffect:f.useEffect,kf=f.createContext({strict:!1}),ul=e=>e.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),Of="data-"+ul("framerAppearId");function Ty(e,t,n,r){const{visualElement:o}=f.useContext(Ha),a=f.useContext(kf),i=f.useContext(Xa),s=f.useContext($f).reducedMotion,l=f.useRef();r=r||a.renderer,!l.current&&r&&(l.current=r(e,{visualState:t,parent:o,props:n,presenceContext:i,blockInitialAnimation:i?i.initial===!1:!1,reducedMotionConfig:s}));const u=l.current;f.useInsertionEffect(()=>{u&&u.update(n,i)});const c=f.useRef(!!(n[Of]&&!window.HandoffComplete));return ll(()=>{u&&(u.render(),c.current&&u.animationState&&u.animationState.animateChanges())}),f.useEffect(()=>{u&&(u.updateFeatures(),!c.current&&u.animationState&&u.animationState.animateChanges(),c.current&&(c.current=!1,window.HandoffComplete=!0))}),u}function Sr(e){return typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}function Dy(e,t,n){return f.useCallback(r=>{r&&e.mount&&e.mount(r),t&&(r?t.mount(r):t.unmount()),n&&(typeof n=="function"?n(r):Sr(n)&&(n.current=r))},[t])}function mo(e){return typeof e=="string"||Array.isArray(e)}function Ya(e){return typeof e=="object"&&typeof e.start=="function"}const cl=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],dl=["initial",...cl];function Ua(e){return Ya(e.animate)||dl.some(t=>mo(e[t]))}function Ff(e){return!!(Ua(e)||e.variants)}function Ny(e,t){if(Ua(e)){const{initial:n,animate:r}=e;return{initial:n===!1||mo(n)?n:void 0,animate:mo(r)?r:void 0}}return e.inherit!==!1?t:{}}function $y(e){const{initial:t,animate:n}=Ny(e,f.useContext(Ha));return f.useMemo(()=>({initial:t,animate:n}),[Lf(t),Lf(n)])}function Lf(e){return Array.isArray(e)?e.join(" "):e}const Vf={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 Vf)ho[e]={isEnabled:t=>Vf[e].some(n=>!!t[n])};function ky(e){for(const t in e)ho[t]={...ho[t],...e[t]}}const go=f.createContext({}),jf=f.createContext({}),Oy=Symbol.for("motionComponentSymbol");function Fy({preloadedFeatures:e,createVisualElement:t,useRender:n,useVisualState:r,Component:o}){e&&ky(e);function a(s,l){let u;const c={...f.useContext($f),...s,layoutId:Ly(s)},{isStatic:d}=c,p=$y(s),m=r(s,d);if(!d&&Za){p.visualElement=Ty(o,m,c,t);const h=f.useContext(jf),g=f.useContext(kf).strict;p.visualElement&&(u=p.visualElement.loadFeatures(c,g,e,h))}return V.createElement(Ha.Provider,{value:p},u&&p.visualElement?V.createElement(u,{visualElement:p.visualElement,...c}):null,n(o,s,Dy(m,p.visualElement,l),m,d,p.visualElement))}const i=f.forwardRef(a);return i[Oy]=o,i}function Ly({layoutId:e}){const t=f.useContext(go).id;return t&&e!==void 0?t+"-"+e:e}function Vy(e){function t(r,o={}){return Fy(e(r,o))}if(typeof Proxy>"u")return t;const n=new Map;return new Proxy(t,{get:(r,o)=>(n.has(o)||n.set(o,t(o)),n.get(o))})}const jy=["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 fl(e){return typeof e!="string"||e.includes("-")?!1:!!(jy.indexOf(e)>-1||/[A-Z]/.test(e))}const Ka={};function By(e){Object.assign(Ka,e)}const bo=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],Rn=new Set(bo);function Bf(e,{layout:t,layoutId:n}){return Rn.has(e)||e.startsWith("origin")||(t||n!==void 0)&&(!!Ka[e]||e==="opacity")}const ut=e=>!!(e&&e.getVelocity),Wy={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},_y=bo.length;function Gy(e,{enableHardwareAcceleration:t=!0,allowTransformNone:n=!0},r,o){let a="";for(let i=0;i<_y;i++){const s=bo[i];if(e[s]!==void 0){const l=Wy[s]||s;a+=`${l}(${e[s]}) `}}return t&&!e.z&&(a+="translateZ(0)"),a=a.trim(),o?a=o(e,r?"":a):n&&r&&(a="none"),a}const Wf=e=>t=>typeof t=="string"&&t.startsWith(e),_f=Wf("--"),pl=Wf("var(--"),Ry=/var\s*\(\s*--[\w-]+(\s*,\s*(?:(?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)+)?\s*\)/g,zy=(e,t)=>t&&typeof e=="number"?t.transform(e):e,xn=(e,t,n)=>Math.min(Math.max(n,e),t),zn={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},vo={...zn,transform:e=>xn(0,1,e)},Ja={...zn,default:1},yo=e=>Math.round(e*1e5)/1e5,Qa=/(-)?([\d]*\.?[\d])+/g,Gf=/(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))/gi,Hy=/^(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))$/i;function xo(e){return typeof e=="string"}const Co=e=>({test:t=>xo(t)&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),Cn=Co("deg"),Rt=Co("%"),fe=Co("px"),Xy=Co("vh"),Zy=Co("vw"),Rf={...Rt,parse:e=>Rt.parse(e)/100,transform:e=>Rt.transform(e*100)},zf={...zn,transform:Math.round},Hf={borderWidth:fe,borderTopWidth:fe,borderRightWidth:fe,borderBottomWidth:fe,borderLeftWidth:fe,borderRadius:fe,radius:fe,borderTopLeftRadius:fe,borderTopRightRadius:fe,borderBottomRightRadius:fe,borderBottomLeftRadius:fe,width:fe,maxWidth:fe,height:fe,maxHeight:fe,size:fe,top:fe,right:fe,bottom:fe,left:fe,padding:fe,paddingTop:fe,paddingRight:fe,paddingBottom:fe,paddingLeft:fe,margin:fe,marginTop:fe,marginRight:fe,marginBottom:fe,marginLeft:fe,rotate:Cn,rotateX:Cn,rotateY:Cn,rotateZ:Cn,scale:Ja,scaleX:Ja,scaleY:Ja,scaleZ:Ja,skew:Cn,skewX:Cn,skewY:Cn,distance:fe,translateX:fe,translateY:fe,translateZ:fe,x:fe,y:fe,z:fe,perspective:fe,transformPerspective:fe,opacity:vo,originX:Rf,originY:Rf,originZ:fe,zIndex:zf,fillOpacity:vo,strokeOpacity:vo,numOctaves:zf};function ml(e,t,n,r){const{style:o,vars:a,transform:i,transformOrigin:s}=e;let l=!1,u=!1,c=!0;for(const d in t){const p=t[d];if(_f(d)){a[d]=p;continue}const m=Hf[d],h=zy(p,m);if(Rn.has(d)){if(l=!0,i[d]=h,!c)continue;p!==(m.default||0)&&(c=!1)}else d.startsWith("origin")?(u=!0,s[d]=h):o[d]=h}if(t.transform||(l||r?o.transform=Gy(e.transform,n,c,r):o.transform&&(o.transform="none")),u){const{originX:d="50%",originY:p="50%",originZ:m=0}=s;o.transformOrigin=`${d} ${p} ${m}`}}const hl=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function Xf(e,t,n){for(const r in t)!ut(t[r])&&!Bf(r,n)&&(e[r]=t[r])}function Yy({transformTemplate:e},t,n){return f.useMemo(()=>{const r=hl();return ml(r,t,{enableHardwareAcceleration:!n},e),Object.assign({},r.vars,r.style)},[t])}function Uy(e,t,n){const r=e.style||{},o={};return Xf(o,r,e),Object.assign(o,Yy(e,t,n)),e.transformValues?e.transformValues(o):o}function Ky(e,t,n){const r={},o=Uy(e,t,n);return e.drag&&e.dragListener!==!1&&(r.draggable=!1,o.userSelect=o.WebkitUserSelect=o.WebkitTouchCallout="none",o.touchAction=e.drag===!0?"none":`pan-${e.drag==="x"?"y":"x"}`),e.tabIndex===void 0&&(e.onTap||e.onTapStart||e.whileTap)&&(r.tabIndex=0),r.style=o,r}const Jy=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","transformValues","custom","inherit","onLayoutAnimationStart","onLayoutAnimationComplete","onLayoutMeasure","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","ignoreStrict","viewport"]);function qa(e){return e.startsWith("while")||e.startsWith("drag")&&e!=="draggable"||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||Jy.has(e)}let Zf=e=>!qa(e);function Qy(e){e&&(Zf=t=>t.startsWith("on")?!qa(t):e(t))}try{Qy(require("@emotion/is-prop-valid").default)}catch{}function qy(e,t,n){const r={};for(const o in e)o==="values"&&typeof e.values=="object"||(Zf(o)||n===!0&&qa(o)||!t&&!qa(o)||e.draggable&&o.startsWith("onDrag"))&&(r[o]=e[o]);return r}function Yf(e,t,n){return typeof e=="string"?e:fe.transform(t+n*e)}function e5(e,t,n){const r=Yf(t,e.x,e.width),o=Yf(n,e.y,e.height);return`${r} ${o}`}const t5={offset:"stroke-dashoffset",array:"stroke-dasharray"},n5={offset:"strokeDashoffset",array:"strokeDasharray"};function r5(e,t,n=1,r=0,o=!0){e.pathLength=1;const a=o?t5:n5;e[a.offset]=fe.transform(-r);const i=fe.transform(t),s=fe.transform(n);e[a.array]=`${i} ${s}`}function gl(e,{attrX:t,attrY:n,attrScale:r,originX:o,originY:a,pathLength:i,pathSpacing:s=1,pathOffset:l=0,...u},c,d,p){if(ml(e,u,c,p),d){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};const{attrs:m,style:h,dimensions:g}=e;m.transform&&(g&&(h.transform=m.transform),delete m.transform),g&&(o!==void 0||a!==void 0||h.transform)&&(h.transformOrigin=e5(g,o!==void 0?o:.5,a!==void 0?a:.5)),t!==void 0&&(m.x=t),n!==void 0&&(m.y=n),r!==void 0&&(m.scale=r),i!==void 0&&r5(m,i,s,l,!1)}const Uf=()=>({...hl(),attrs:{}}),bl=e=>typeof e=="string"&&e.toLowerCase()==="svg";function o5(e,t,n,r){const o=f.useMemo(()=>{const a=Uf();return gl(a,t,{enableHardwareAcceleration:!1},bl(r),e.transformTemplate),{...a.attrs,style:{...a.style}}},[t]);if(e.style){const a={};Xf(a,e.style,e),o.style={...a,...o.style}}return o}function a5(e=!1){return(n,r,o,{latestValues:a},i)=>{const l=(fl(n)?o5:Ky)(r,a,i,n),c={...qy(r,typeof n=="string",e),...l,ref:o},{children:d}=r,p=f.useMemo(()=>ut(d)?d.get():d,[d]);return f.createElement(n,{...c,children:p})}}function Kf(e,{style:t,vars:n},r,o){Object.assign(e.style,t,o&&o.getProjectionStyles(r));for(const a in n)e.style.setProperty(a,n[a])}const Jf=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 Qf(e,t,n,r){Kf(e,t,void 0,r);for(const o in t.attrs)e.setAttribute(Jf.has(o)?o:ul(o),t.attrs[o])}function vl(e,t){const{style:n}=e,r={};for(const o in n)(ut(n[o])||t.style&&ut(t.style[o])||Bf(o,e))&&(r[o]=n[o]);return r}function qf(e,t){const n=vl(e,t);for(const r in e)if(ut(e[r])||ut(t[r])){const o=bo.indexOf(r)!==-1?"attr"+r.charAt(0).toUpperCase()+r.substring(1):r;n[o]=e[r]}return n}function yl(e,t,n,r={},o={}){return typeof t=="function"&&(t=t(n!==void 0?n:e.custom,r,o)),typeof t=="string"&&(t=e.variants&&e.variants[t]),typeof t=="function"&&(t=t(n!==void 0?n:e.custom,r,o)),t}function ep(e){const t=f.useRef(null);return t.current===null&&(t.current=e()),t.current}const ei=e=>Array.isArray(e),i5=e=>!!(e&&typeof e=="object"&&e.mix&&e.toValue),s5=e=>ei(e)?e[e.length-1]||0:e;function ti(e){const t=ut(e)?e.get():e;return i5(t)?t.toValue():t}function l5({scrapeMotionValuesFromProps:e,createRenderState:t,onMount:n},r,o,a){const i={latestValues:u5(r,o,a,e),renderState:t()};return n&&(i.mount=s=>n(r,s,i)),i}const tp=e=>(t,n)=>{const r=f.useContext(Ha),o=f.useContext(Xa),a=()=>l5(e,t,r,o);return n?a():ep(a)};function u5(e,t,n,r){const o={},a=r(e,{});for(const p in a)o[p]=ti(a[p]);let{initial:i,animate:s}=e;const l=Ua(e),u=Ff(e);t&&u&&!l&&e.inherit!==!1&&(i===void 0&&(i=t.initial),s===void 0&&(s=t.animate));let c=n?n.initial===!1:!1;c=c||i===!1;const d=c?s:i;return d&&typeof d!="boolean"&&!Ya(d)&&(Array.isArray(d)?d:[d]).forEach(m=>{const h=yl(e,m);if(!h)return;const{transitionEnd:g,transition:b,...x}=h;for(const y in x){let w=x[y];if(Array.isArray(w)){const S=c?w.length-1:0;w=w[S]}w!==null&&(o[y]=w)}for(const y in g)o[y]=g[y]}),o}const ze=e=>e;class np{constructor(){this.order=[],this.scheduled=new Set}add(t){if(!this.scheduled.has(t))return this.scheduled.add(t),this.order.push(t),!0}remove(t){const n=this.order.indexOf(t);n!==-1&&(this.order.splice(n,1),this.scheduled.delete(t))}clear(){this.order.length=0,this.scheduled.clear()}}function c5(e){let t=new np,n=new np,r=0,o=!1,a=!1;const i=new WeakSet,s={schedule:(l,u=!1,c=!1)=>{const d=c&&o,p=d?t:n;return u&&i.add(l),p.add(l)&&d&&o&&(r=t.order.length),l},cancel:l=>{n.remove(l),i.delete(l)},process:l=>{if(o){a=!0;return}if(o=!0,[t,n]=[n,t],n.clear(),r=t.order.length,r)for(let u=0;u<r;u++){const c=t.order[u];c(l),i.has(c)&&(s.schedule(c),e())}o=!1,a&&(a=!1,s.process(l))}};return s}const ni=["prepare","read","update","preRender","render","postRender"],d5=40;function f5(e,t){let n=!1,r=!0;const o={delta:0,timestamp:0,isProcessing:!1},a=ni.reduce((d,p)=>(d[p]=c5(()=>n=!0),d),{}),i=d=>a[d].process(o),s=()=>{const d=performance.now();n=!1,o.delta=r?1e3/60:Math.max(Math.min(d-o.timestamp,d5),1),o.timestamp=d,o.isProcessing=!0,ni.forEach(i),o.isProcessing=!1,n&&t&&(r=!1,e(s))},l=()=>{n=!0,r=!0,o.isProcessing||e(s)};return{schedule:ni.reduce((d,p)=>{const m=a[p];return d[p]=(h,g=!1,b=!1)=>(n||l(),m.schedule(h,g,b)),d},{}),cancel:d=>ni.forEach(p=>a[p].cancel(d)),state:o,steps:a}}const{schedule:Oe,cancel:tn,state:qe,steps:xl}=f5(typeof requestAnimationFrame<"u"?requestAnimationFrame:ze,!0),p5={useVisualState:tp({scrapeMotionValuesFromProps:qf,createRenderState:Uf,onMount:(e,t,{renderState:n,latestValues:r})=>{Oe.read(()=>{try{n.dimensions=typeof t.getBBox=="function"?t.getBBox():t.getBoundingClientRect()}catch{n.dimensions={x:0,y:0,width:0,height:0}}}),Oe.render(()=>{gl(n,r,{enableHardwareAcceleration:!1},bl(t.tagName),e.transformTemplate),Qf(t,n)})}})},m5={useVisualState:tp({scrapeMotionValuesFromProps:vl,createRenderState:hl})};function h5(e,{forwardMotionProps:t=!1},n,r){return{...fl(e)?p5:m5,preloadedFeatures:n,useRender:a5(t),createVisualElement:r,Component:e}}function nn(e,t,n,r={passive:!0}){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n)}const rp=e=>e.pointerType==="mouse"?typeof e.button!="number"||e.button<=0:e.isPrimary!==!1;function ri(e,t="page"){return{point:{x:e[t+"X"],y:e[t+"Y"]}}}const g5=e=>t=>rp(t)&&e(t,ri(t));function rn(e,t,n,r){return nn(e,t,g5(n),r)}const b5=(e,t)=>n=>t(e(n)),wn=(...e)=>e.reduce(b5);function op(e){let t=null;return()=>{const n=()=>{t=null};return t===null?(t=e,n):!1}}const ap=op("dragHorizontal"),ip=op("dragVertical");function sp(e){let t=!1;if(e==="y")t=ip();else if(e==="x")t=ap();else{const n=ap(),r=ip();n&&r?t=()=>{n(),r()}:(n&&n(),r&&r())}return t}function lp(){const e=sp(!0);return e?(e(),!1):!0}class In{constructor(t){this.isMounted=!1,this.node=t}update(){}}function up(e,t){const n="pointer"+(t?"enter":"leave"),r="onHover"+(t?"Start":"End"),o=(a,i)=>{if(a.type==="touch"||lp())return;const s=e.getProps();e.animationState&&s.whileHover&&e.animationState.setActive("whileHover",t),s[r]&&Oe.update(()=>s[r](a,i))};return rn(e.current,n,o,{passive:!e.getProps()[r]})}class v5 extends In{mount(){this.unmount=wn(up(this.node,!0),up(this.node,!1))}unmount(){}}class y5 extends In{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=wn(nn(this.node.current,"focus",()=>this.onFocus()),nn(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}const cp=(e,t)=>t?e===t?!0:cp(e,t.parentElement):!1;function Cl(e,t){if(!t)return;const n=new PointerEvent("pointer"+e);t(n,ri(n))}class x5 extends In{constructor(){super(...arguments),this.removeStartListeners=ze,this.removeEndListeners=ze,this.removeAccessibleListeners=ze,this.startPointerPress=(t,n)=>{if(this.removeEndListeners(),this.isPressing)return;const r=this.node.getProps(),a=rn(window,"pointerup",(s,l)=>{if(!this.checkPressEnd())return;const{onTap:u,onTapCancel:c}=this.node.getProps();Oe.update(()=>{cp(this.node.current,s.target)?u&&u(s,l):c&&c(s,l)})},{passive:!(r.onTap||r.onPointerUp)}),i=rn(window,"pointercancel",(s,l)=>this.cancelPress(s,l),{passive:!(r.onTapCancel||r.onPointerCancel)});this.removeEndListeners=wn(a,i),this.startPress(t,n)},this.startAccessiblePress=()=>{const t=a=>{if(a.key!=="Enter"||this.isPressing)return;const i=s=>{s.key!=="Enter"||!this.checkPressEnd()||Cl("up",(l,u)=>{const{onTap:c}=this.node.getProps();c&&Oe.update(()=>c(l,u))})};this.removeEndListeners(),this.removeEndListeners=nn(this.node.current,"keyup",i),Cl("down",(s,l)=>{this.startPress(s,l)})},n=nn(this.node.current,"keydown",t),r=()=>{this.isPressing&&Cl("cancel",(a,i)=>this.cancelPress(a,i))},o=nn(this.node.current,"blur",r);this.removeAccessibleListeners=wn(n,o)}}startPress(t,n){this.isPressing=!0;const{onTapStart:r,whileTap:o}=this.node.getProps();o&&this.node.animationState&&this.node.animationState.setActive("whileTap",!0),r&&Oe.update(()=>r(t,n))}checkPressEnd(){return this.removeEndListeners(),this.isPressing=!1,this.node.getProps().whileTap&&this.node.animationState&&this.node.animationState.setActive("whileTap",!1),!lp()}cancelPress(t,n){if(!this.checkPressEnd())return;const{onTapCancel:r}=this.node.getProps();r&&Oe.update(()=>r(t,n))}mount(){const t=this.node.getProps(),n=rn(this.node.current,"pointerdown",this.startPointerPress,{passive:!(t.onTapStart||t.onPointerStart)}),r=nn(this.node.current,"focus",this.startAccessiblePress);this.removeStartListeners=wn(n,r)}unmount(){this.removeStartListeners(),this.removeEndListeners(),this.removeAccessibleListeners()}}const wl=new WeakMap,Il=new WeakMap,C5=e=>{const t=wl.get(e.target);t&&t(e)},w5=e=>{e.forEach(C5)};function I5({root:e,...t}){const n=e||document;Il.has(n)||Il.set(n,{});const r=Il.get(n),o=JSON.stringify(t);return r[o]||(r[o]=new IntersectionObserver(w5,{root:e,...t})),r[o]}function E5(e,t,n){const r=I5(t);return wl.set(e,n),r.observe(e),()=>{wl.delete(e),r.unobserve(e)}}const P5={some:0,all:1};class S5 extends In{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:a}=t,i={root:n?n.current:void 0,rootMargin:r,threshold:typeof o=="number"?o:P5[o]},s=l=>{const{isIntersecting:u}=l;if(this.isInView===u||(this.isInView=u,a&&!u&&this.hasEnteredView))return;u&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",u);const{onViewportEnter:c,onViewportLeave:d}=this.node.getProps(),p=u?c:d;p&&p(l)};return E5(this.node.current,i,s)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:t,prevProps:n}=this.node;["amount","margin","root"].some(M5(t,n))&&this.startObserver()}unmount(){}}function M5({viewport:e={}},{viewport:t={}}={}){return n=>e[n]!==t[n]}const A5={inView:{Feature:S5},tap:{Feature:x5},focus:{Feature:y5},hover:{Feature:v5}};function dp(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 T5(e){const t={};return e.values.forEach((n,r)=>t[r]=n.get()),t}function D5(e){const t={};return e.values.forEach((n,r)=>t[r]=n.getVelocity()),t}function oi(e,t,n){const r=e.getProps();return yl(r,t,n!==void 0?n:r.custom,T5(e),D5(e))}let wo=ze,kt=ze;process.env.NODE_ENV!=="production"&&(wo=(e,t)=>{!e&&typeof console<"u"&&console.warn(t)},kt=(e,t)=>{if(!e)throw new Error(t)});const En=e=>e*1e3,on=e=>e/1e3,N5={current:!1},fp=e=>Array.isArray(e)&&typeof e[0]=="number";function pp(e){return!!(!e||typeof e=="string"&&mp[e]||fp(e)||Array.isArray(e)&&e.every(pp))}const Io=([e,t,n,r])=>`cubic-bezier(${e}, ${t}, ${n}, ${r})`,mp={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:Io([0,.65,.55,1]),circOut:Io([.55,0,1,.45]),backIn:Io([.31,.01,.66,-.59]),backOut:Io([.33,1.53,.69,.99])};function hp(e){if(e)return fp(e)?Io(e):Array.isArray(e)?e.map(hp):mp[e]}function $5(e,t,n,{delay:r=0,duration:o,repeat:a=0,repeatType:i="loop",ease:s,times:l}={}){const u={[t]:n};l&&(u.offset=l);const c=hp(s);return Array.isArray(c)&&(u.easing=c),e.animate(u,{delay:r,duration:o,easing:Array.isArray(c)?"linear":c,fill:"both",iterations:a+1,direction:i==="reverse"?"alternate":"normal"})}function k5(e,{repeat:t,repeatType:n="loop"}){const r=t&&n!=="loop"&&t%2===1?0:e.length-1;return e[r]}const gp=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e,O5=1e-7,F5=12;function L5(e,t,n,r,o){let a,i,s=0;do i=t+(n-t)/2,a=gp(i,r,o)-e,a>0?n=i:t=i;while(Math.abs(a)>O5&&++s<F5);return i}function Eo(e,t,n,r){if(e===t&&n===r)return ze;const o=a=>L5(a,0,1,e,n);return a=>a===0||a===1?a:gp(o(a),t,r)}const V5=Eo(.42,0,1,1),j5=Eo(0,0,.58,1),bp=Eo(.42,0,.58,1),B5=e=>Array.isArray(e)&&typeof e[0]!="number",vp=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,yp=e=>t=>1-e(1-t),El=e=>1-Math.sin(Math.acos(e)),xp=yp(El),W5=vp(El),Cp=Eo(.33,1.53,.69,.99),Pl=yp(Cp),_5=vp(Pl),wp={linear:ze,easeIn:V5,easeInOut:bp,easeOut:j5,circIn:El,circInOut:W5,circOut:xp,backIn:Pl,backInOut:_5,backOut:Cp,anticipate:e=>(e*=2)<1?.5*Pl(e):.5*(2-Math.pow(2,-10*(e-1)))},Ip=e=>{if(Array.isArray(e)){kt(e.length===4,"Cubic bezier arrays must contain four numerical values.");const[t,n,r,o]=e;return Eo(t,n,r,o)}else if(typeof e=="string")return kt(wp[e]!==void 0,`Invalid easing type '${e}'`),wp[e];return e},Sl=(e,t)=>n=>!!(xo(n)&&Hy.test(n)&&n.startsWith(e)||t&&Object.prototype.hasOwnProperty.call(n,t)),Ep=(e,t,n)=>r=>{if(!xo(r))return r;const[o,a,i,s]=r.match(Qa);return{[e]:parseFloat(o),[t]:parseFloat(a),[n]:parseFloat(i),alpha:s!==void 0?parseFloat(s):1}},G5=e=>xn(0,255,e),Ml={...zn,transform:e=>Math.round(G5(e))},Hn={test:Sl("rgb","red"),parse:Ep("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:r=1})=>"rgba("+Ml.transform(e)+", "+Ml.transform(t)+", "+Ml.transform(n)+", "+yo(vo.transform(r))+")"};function R5(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 Al={test:Sl("#"),parse:R5,transform:Hn.transform},Mr={test:Sl("hsl","hue"),parse:Ep("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>"hsla("+Math.round(e)+", "+Rt.transform(yo(t))+", "+Rt.transform(yo(n))+", "+yo(vo.transform(r))+")"},ot={test:e=>Hn.test(e)||Al.test(e)||Mr.test(e),parse:e=>Hn.test(e)?Hn.parse(e):Mr.test(e)?Mr.parse(e):Al.parse(e),transform:e=>xo(e)?e:e.hasOwnProperty("red")?Hn.transform(e):Mr.transform(e)},Re=(e,t,n)=>-n*e+n*t+e;function Tl(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 z5({hue:e,saturation:t,lightness:n,alpha:r}){e/=360,t/=100,n/=100;let o=0,a=0,i=0;if(!t)o=a=i=n;else{const s=n<.5?n*(1+t):n+t-n*t,l=2*n-s;o=Tl(l,s,e+1/3),a=Tl(l,s,e),i=Tl(l,s,e-1/3)}return{red:Math.round(o*255),green:Math.round(a*255),blue:Math.round(i*255),alpha:r}}const Dl=(e,t,n)=>{const r=e*e;return Math.sqrt(Math.max(0,n*(t*t-r)+r))},H5=[Al,Hn,Mr],X5=e=>H5.find(t=>t.test(e));function Pp(e){const t=X5(e);kt(!!t,`'${e}' is not an animatable color. Use the equivalent color code instead.`);let n=t.parse(e);return t===Mr&&(n=z5(n)),n}const Sp=(e,t)=>{const n=Pp(e),r=Pp(t),o={...n};return a=>(o.red=Dl(n.red,r.red,a),o.green=Dl(n.green,r.green,a),o.blue=Dl(n.blue,r.blue,a),o.alpha=Re(n.alpha,r.alpha,a),Hn.transform(o))};function Z5(e){var t,n;return isNaN(e)&&xo(e)&&(((t=e.match(Qa))===null||t===void 0?void 0:t.length)||0)+(((n=e.match(Gf))===null||n===void 0?void 0:n.length)||0)>0}const Mp={regex:Ry,countKey:"Vars",token:"${v}",parse:ze},Ap={regex:Gf,countKey:"Colors",token:"${c}",parse:ot.parse},Tp={regex:Qa,countKey:"Numbers",token:"${n}",parse:zn.parse};function Nl(e,{regex:t,countKey:n,token:r,parse:o}){const a=e.tokenised.match(t);a&&(e["num"+n]=a.length,e.tokenised=e.tokenised.replace(t,r),e.values.push(...a.map(o)))}function ai(e){const t=e.toString(),n={value:t,tokenised:t,values:[],numVars:0,numColors:0,numNumbers:0};return n.value.includes("var(--")&&Nl(n,Mp),Nl(n,Ap),Nl(n,Tp),n}function Dp(e){return ai(e).values}function Np(e){const{values:t,numColors:n,numVars:r,tokenised:o}=ai(e),a=t.length;return i=>{let s=o;for(let l=0;l<a;l++)l<r?s=s.replace(Mp.token,i[l]):l<r+n?s=s.replace(Ap.token,ot.transform(i[l])):s=s.replace(Tp.token,yo(i[l]));return s}}const Y5=e=>typeof e=="number"?0:e;function U5(e){const t=Dp(e);return Np(e)(t.map(Y5))}const Pn={test:Z5,parse:Dp,createTransformer:Np,getAnimatableNone:U5},$p=(e,t)=>n=>`${n>0?t:e}`;function kp(e,t){return typeof e=="number"?n=>Re(e,t,n):ot.test(e)?Sp(e,t):e.startsWith("var(")?$p(e,t):Fp(e,t)}const Op=(e,t)=>{const n=[...e],r=n.length,o=e.map((a,i)=>kp(a,t[i]));return a=>{for(let i=0;i<r;i++)n[i]=o[i](a);return n}},K5=(e,t)=>{const n={...e,...t},r={};for(const o in n)e[o]!==void 0&&t[o]!==void 0&&(r[o]=kp(e[o],t[o]));return o=>{for(const a in r)n[a]=r[a](o);return n}},Fp=(e,t)=>{const n=Pn.createTransformer(t),r=ai(e),o=ai(t);return r.numVars===o.numVars&&r.numColors===o.numColors&&r.numNumbers>=o.numNumbers?wn(Op(r.values,o.values),n):(wo(!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.`),$p(e,t))},Po=(e,t,n)=>{const r=t-e;return r===0?1:(n-e)/r},Lp=(e,t)=>n=>Re(e,t,n);function J5(e){return typeof e=="number"?Lp:typeof e=="string"?ot.test(e)?Sp:Fp:Array.isArray(e)?Op:typeof e=="object"?K5:Lp}function Q5(e,t,n){const r=[],o=n||J5(e[0]),a=e.length-1;for(let i=0;i<a;i++){let s=o(e[i],e[i+1]);if(t){const l=Array.isArray(t)?t[i]||ze:t;s=wn(l,s)}r.push(s)}return r}function Vp(e,t,{clamp:n=!0,ease:r,mixer:o}={}){const a=e.length;if(kt(a===t.length,"Both input and output ranges must be the same length"),a===1)return()=>t[0];e[0]>e[a-1]&&(e=[...e].reverse(),t=[...t].reverse());const i=Q5(t,r,o),s=i.length,l=u=>{let c=0;if(s>1)for(;c<e.length-2&&!(u<e[c+1]);c++);const d=Po(e[c],e[c+1],u);return i[c](d)};return n?u=>l(xn(e[0],e[a-1],u)):l}function q5(e,t){const n=e[e.length-1];for(let r=1;r<=t;r++){const o=Po(0,t,r);e.push(Re(n,1,o))}}function e4(e){const t=[0];return q5(t,e.length-1),t}function t4(e,t){return e.map(n=>n*t)}function n4(e,t){return e.map(()=>t||bp).splice(0,e.length-1)}function ii({duration:e=300,keyframes:t,times:n,ease:r="easeInOut"}){const o=B5(r)?r.map(Ip):Ip(r),a={done:!1,value:t[0]},i=t4(n&&n.length===t.length?n:e4(t),e),s=Vp(i,t,{ease:Array.isArray(o)?o:n4(t,o)});return{calculatedDuration:e,next:l=>(a.value=s(l),a.done=l>=e,a)}}function jp(e,t){return t?e*(1e3/t):0}const r4=5;function Bp(e,t,n){const r=Math.max(t-r4,0);return jp(n-e(r),t-r)}const $l=.001,o4=.01,Wp=10,a4=.05,i4=1;function s4({duration:e=800,bounce:t=.25,velocity:n=0,mass:r=1}){let o,a;wo(e<=En(Wp),"Spring duration must be 10 seconds or less");let i=1-t;i=xn(a4,i4,i),e=xn(o4,Wp,on(e)),i<1?(o=u=>{const c=u*i,d=c*e,p=c-n,m=kl(u,i),h=Math.exp(-d);return $l-p/m*h},a=u=>{const d=u*i*e,p=d*n+n,m=Math.pow(i,2)*Math.pow(u,2)*e,h=Math.exp(-d),g=kl(Math.pow(u,2),i);return(-o(u)+$l>0?-1:1)*((p-m)*h)/g}):(o=u=>{const c=Math.exp(-u*e),d=(u-n)*e+1;return-$l+c*d},a=u=>{const c=Math.exp(-u*e),d=(n-u)*(e*e);return c*d});const s=5/e,l=u4(o,a,s);if(e=En(e),isNaN(l))return{stiffness:100,damping:10,duration:e};{const u=Math.pow(l,2)*r;return{stiffness:u,damping:i*2*Math.sqrt(r*u),duration:e}}}const l4=12;function u4(e,t,n){let r=n;for(let o=1;o<l4;o++)r=r-e(r)/t(r);return r}function kl(e,t){return e*Math.sqrt(1-t*t)}const c4=["duration","bounce"],d4=["stiffness","damping","mass"];function _p(e,t){return t.some(n=>e[n]!==void 0)}function f4(e){let t={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...e};if(!_p(e,d4)&&_p(e,c4)){const n=s4(e);t={...t,...n,velocity:0,mass:1},t.isResolvedFromDuration=!0}return t}function Gp({keyframes:e,restDelta:t,restSpeed:n,...r}){const o=e[0],a=e[e.length-1],i={done:!1,value:o},{stiffness:s,damping:l,mass:u,velocity:c,duration:d,isResolvedFromDuration:p}=f4(r),m=c?-on(c):0,h=l/(2*Math.sqrt(s*u)),g=a-o,b=on(Math.sqrt(s/u)),x=Math.abs(g)<5;n||(n=x?.01:2),t||(t=x?.005:.5);let y;if(h<1){const w=kl(b,h);y=S=>{const P=Math.exp(-h*b*S);return a-P*((m+h*b*g)/w*Math.sin(w*S)+g*Math.cos(w*S))}}else if(h===1)y=w=>a-Math.exp(-b*w)*(g+(m+b*g)*w);else{const w=b*Math.sqrt(h*h-1);y=S=>{const P=Math.exp(-h*b*S),A=Math.min(w*S,300);return a-P*((m+h*b*g)*Math.sinh(A)+w*g*Math.cosh(A))/w}}return{calculatedDuration:p&&d||null,next:w=>{const S=y(w);if(p)i.done=w>=d;else{let P=m;w!==0&&(h<1?P=Bp(y,w,S):P=0);const A=Math.abs(P)<=n,T=Math.abs(a-S)<=t;i.done=A&&T}return i.value=i.done?a:S,i}}}function Rp({keyframes:e,velocity:t=0,power:n=.8,timeConstant:r=325,bounceDamping:o=10,bounceStiffness:a=500,modifyTarget:i,min:s,max:l,restDelta:u=.5,restSpeed:c}){const d=e[0],p={done:!1,value:d},m=v=>s!==void 0&&v<s||l!==void 0&&v>l,h=v=>s===void 0?l:l===void 0||Math.abs(s-v)<Math.abs(l-v)?s:l;let g=n*t;const b=d+g,x=i===void 0?b:i(b);x!==b&&(g=x-d);const y=v=>-g*Math.exp(-v/r),w=v=>x+y(v),S=v=>{const D=y(v),$=w(v);p.done=Math.abs(D)<=u,p.value=p.done?x:$};let P,A;const T=v=>{m(p.value)&&(P=v,A=Gp({keyframes:[p.value,h(p.value)],velocity:Bp(w,v,p.value),damping:o,stiffness:a,restDelta:u,restSpeed:c}))};return T(0),{calculatedDuration:null,next:v=>{let D=!1;return!A&&P===void 0&&(D=!0,S(v),T(v)),P!==void 0&&v>P?A.next(v-P):(!D&&S(v),p)}}}const p4=e=>{const t=({timestamp:n})=>e(n);return{start:()=>Oe.update(t,!0),stop:()=>tn(t),now:()=>qe.isProcessing?qe.timestamp:performance.now()}},zp=2e4;function Hp(e){let t=0;const n=50;let r=e.next(t);for(;!r.done&&t<zp;)t+=n,r=e.next(t);return t>=zp?1/0:t}const m4={decay:Rp,inertia:Rp,tween:ii,keyframes:ii,spring:Gp};function si({autoplay:e=!0,delay:t=0,driver:n=p4,keyframes:r,type:o="keyframes",repeat:a=0,repeatDelay:i=0,repeatType:s="loop",onPlay:l,onStop:u,onComplete:c,onUpdate:d,...p}){let m=1,h=!1,g,b;const x=()=>{b=new Promise(X=>{g=X})};x();let y;const w=m4[o]||ii;let S;w!==ii&&typeof r[0]!="number"&&(S=Vp([0,100],r,{clamp:!1}),r=[0,100]);const P=w({...p,keyframes:r});let A;s==="mirror"&&(A=w({...p,keyframes:[...r].reverse(),velocity:-(p.velocity||0)}));let T="idle",v=null,D=null,$=null;P.calculatedDuration===null&&a&&(P.calculatedDuration=Hp(P));const{calculatedDuration:M}=P;let k=1/0,I=1/0;M!==null&&(k=M+i,I=k*(a+1)-i);let E=0;const O=X=>{if(D===null)return;m>0&&(D=Math.min(D,X)),m<0&&(D=Math.min(X-I/m,D)),v!==null?E=v:E=Math.round(X-D)*m;const B=E-t*(m>=0?1:-1),G=m>=0?B<0:B>I;E=Math.max(B,0),T==="finished"&&v===null&&(E=I);let Y=E,R=P;if(a){const le=E/k;let pe=Math.floor(le),be=le%1;!be&&le>=1&&(be=1),be===1&&pe--,pe=Math.min(pe,a+1);const Q=!!(pe%2);Q&&(s==="reverse"?(be=1-be,i&&(be-=i/k)):s==="mirror"&&(R=A));let Pe=xn(0,1,be);E>I&&(Pe=s==="reverse"&&Q?1:0),Y=Pe*k}const Z=G?{done:!1,value:r[0]}:R.next(Y);S&&(Z.value=S(Z.value));let{done:q}=Z;!G&&M!==null&&(q=m>=0?E>=I:E<=0);const ae=v===null&&(T==="finished"||T==="running"&&q);return d&&d(Z.value),ae&&W(),Z},j=()=>{y&&y.stop(),y=void 0},N=()=>{T="idle",j(),g(),x(),D=$=null},W=()=>{T="finished",c&&c(),j(),g()},K=()=>{if(h)return;y||(y=n(O));const X=y.now();l&&l(),v!==null?D=X-v:(!D||T==="finished")&&(D=X),T==="finished"&&x(),$=D,v=null,T="running",y.start()};e&&K();const H={then(X,B){return b.then(X,B)},get time(){return on(E)},set time(X){X=En(X),E=X,v!==null||!y||m===0?v=X:D=y.now()-X/m},get duration(){const X=P.calculatedDuration===null?Hp(P):P.calculatedDuration;return on(X)},get speed(){return m},set speed(X){X===m||!y||(m=X,H.time=on(E))},get state(){return T},play:K,pause:()=>{T="paused",v=E},stop:()=>{h=!0,T!=="idle"&&(T="idle",u&&u(),N())},cancel:()=>{$!==null&&O($),N()},complete:()=>{T="finished"},sample:X=>(D=0,O(X))};return H}function h4(e){let t;return()=>(t===void 0&&(t=e()),t)}const g4=h4(()=>Object.hasOwnProperty.call(Element.prototype,"animate")),b4=new Set(["opacity","clipPath","filter","transform","backgroundColor"]),li=10,v4=2e4,y4=(e,t)=>t.type==="spring"||e==="backgroundColor"||!pp(t.ease);function x4(e,t,{onUpdate:n,onComplete:r,...o}){if(!(g4()&&b4.has(t)&&!o.repeatDelay&&o.repeatType!=="mirror"&&o.damping!==0&&o.type!=="inertia"))return!1;let i=!1,s,l;const u=()=>{l=new Promise(y=>{s=y})};u();let{keyframes:c,duration:d=300,ease:p,times:m}=o;if(y4(t,o)){const y=si({...o,repeat:0,delay:0});let w={done:!1,value:c[0]};const S=[];let P=0;for(;!w.done&&P<v4;)w=y.sample(P),S.push(w.value),P+=li;m=void 0,c=S,d=P-li,p="linear"}const h=$5(e.owner.current,t,c,{...o,duration:d,ease:p,times:m}),g=()=>h.cancel(),b=()=>{Oe.update(g),s(),u()};return h.onfinish=()=>{e.set(k5(c,o)),r&&r(),b()},{then(y,w){return l.then(y,w)},attachTimeline(y){return h.timeline=y,h.onfinish=null,ze},get time(){return on(h.currentTime||0)},set time(y){h.currentTime=En(y)},get speed(){return h.playbackRate},set speed(y){h.playbackRate=y},get duration(){return on(d)},play:()=>{i||(h.play(),tn(g))},pause:()=>h.pause(),stop:()=>{if(i=!0,h.playState==="idle")return;const{currentTime:y}=h;if(y){const w=si({...o,autoplay:!1});e.setWithVelocity(w.sample(y-li).value,w.sample(y).value,li)}b()},complete:()=>h.finish(),cancel:b}}function C4({keyframes:e,delay:t,onUpdate:n,onComplete:r}){const o=()=>(n&&n(e[e.length-1]),r&&r(),{time:0,speed:1,duration:0,play:ze,pause:ze,stop:ze,then:a=>(a(),Promise.resolve()),cancel:ze,complete:ze});return t?si({keyframes:[0,1],duration:0,delay:t,onComplete:o}):o()}const w4={type:"spring",stiffness:500,damping:25,restSpeed:10},I4=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),E4={type:"keyframes",duration:.8},P4={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},S4=(e,{keyframes:t})=>t.length>2?E4:Rn.has(e)?e.startsWith("scale")?I4(t[1]):w4:P4,Ol=(e,t)=>e==="zIndex"?!1:!!(typeof t=="number"||Array.isArray(t)||typeof t=="string"&&(Pn.test(t)||t==="0")&&!t.startsWith("url(")),M4=new Set(["brightness","contrast","saturate","opacity"]);function A4(e){const[t,n]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;const[r]=n.match(Qa)||[];if(!r)return e;const o=n.replace(r,"");let a=M4.has(t)?1:0;return r!==n&&(a*=100),t+"("+a+o+")"}const T4=/([a-z-]*)\(.*?\)/g,Fl={...Pn,getAnimatableNone:e=>{const t=e.match(T4);return t?t.map(A4).join(" "):e}},D4={...Hf,color:ot,backgroundColor:ot,outlineColor:ot,fill:ot,stroke:ot,borderColor:ot,borderTopColor:ot,borderRightColor:ot,borderBottomColor:ot,borderLeftColor:ot,filter:Fl,WebkitFilter:Fl},Ll=e=>D4[e];function Xp(e,t){let n=Ll(e);return n!==Fl&&(n=Pn),n.getAnimatableNone?n.getAnimatableNone(t):void 0}const Zp=e=>/^0[^.\s]+$/.test(e);function N4(e){if(typeof e=="number")return e===0;if(e!==null)return e==="none"||e==="0"||Zp(e)}function $4(e,t,n,r){const o=Ol(t,n);let a;Array.isArray(n)?a=[...n]:a=[null,n];const i=r.from!==void 0?r.from:e.get();let s;const l=[];for(let u=0;u<a.length;u++)a[u]===null&&(a[u]=u===0?i:a[u-1]),N4(a[u])&&l.push(u),typeof a[u]=="string"&&a[u]!=="none"&&a[u]!=="0"&&(s=a[u]);if(o&&l.length&&s)for(let u=0;u<l.length;u++){const c=l[u];a[c]=Xp(t,s)}return a}function k4({when:e,delay:t,delayChildren:n,staggerChildren:r,staggerDirection:o,repeat:a,repeatType:i,repeatDelay:s,from:l,elapsed:u,...c}){return!!Object.keys(c).length}function Vl(e,t){return e[t]||e.default||e}const jl=(e,t,n,r={})=>o=>{const a=Vl(r,e)||{},i=a.delay||r.delay||0;let{elapsed:s=0}=r;s=s-En(i);const l=$4(t,e,n,a),u=l[0],c=l[l.length-1],d=Ol(e,u),p=Ol(e,c);wo(d===p,`You are trying to animate ${e} from "${u}" to "${c}". ${u} is not an animatable value - to enable this animation set ${u} to a value animatable to ${c} via the \`style\` property.`);let m={keyframes:l,velocity:t.getVelocity(),ease:"easeOut",...a,delay:-s,onUpdate:h=>{t.set(h),a.onUpdate&&a.onUpdate(h)},onComplete:()=>{o(),a.onComplete&&a.onComplete()}};if(k4(a)||(m={...m,...S4(e,m)}),m.duration&&(m.duration=En(m.duration)),m.repeatDelay&&(m.repeatDelay=En(m.repeatDelay)),!d||!p||N5.current||a.type===!1)return C4(m);if(!r.isHandoff&&t.owner&&t.owner.current instanceof HTMLElement&&!t.owner.getProps().onUpdate){const h=x4(t,e,m);if(h)return h}return si(m)};function ui(e){return!!(ut(e)&&e.add)}const Yp=e=>/^\-?\d*\.?\d+$/.test(e);function Bl(e,t){e.indexOf(t)===-1&&e.push(t)}function Wl(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}class _l{constructor(){this.subscriptions=[]}add(t){return Bl(this.subscriptions,t),()=>Wl(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 a=0;a<o;a++){const i=this.subscriptions[a];i&&i(t,n,r)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const Up=new Set;function Gl(e,t,n){e||Up.has(t)||(console.warn(t),n&&console.warn(n),Up.add(t))}const O4=e=>!isNaN(parseFloat(e));class F4{constructor(t,n={}){this.version="10.16.16",this.timeDelta=0,this.lastUpdated=0,this.canTrackVelocity=!1,this.events={},this.updateAndNotify=(r,o=!0)=>{this.prev=this.current,this.current=r;const{delta:a,timestamp:i}=qe;this.lastUpdated!==i&&(this.timeDelta=a,this.lastUpdated=i,Oe.postRender(this.scheduleVelocityCheck)),this.prev!==this.current&&this.events.change&&this.events.change.notify(this.current),this.events.velocityChange&&this.events.velocityChange.notify(this.getVelocity()),o&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.scheduleVelocityCheck=()=>Oe.postRender(this.velocityCheck),this.velocityCheck=({timestamp:r})=>{r!==this.lastUpdated&&(this.prev=this.current,this.events.velocityChange&&this.events.velocityChange.notify(this.getVelocity()))},this.hasAnimated=!1,this.prev=this.current=t,this.canTrackVelocity=O4(this.current),this.owner=n.owner}onChange(t){return process.env.NODE_ENV!=="production"&&Gl(!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 _l);const r=this.events[t].add(n);return t==="change"?()=>{r(),Oe.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=t,this.timeDelta=r}jump(t){this.updateAndNotify(t),this.prev=t,this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return this.current}getPrevious(){return this.prev}getVelocity(){return this.canTrackVelocity?jp(parseFloat(this.current)-parseFloat(this.prev),this.timeDelta):0}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 Ar(e,t){return new F4(e,t)}const Kp=e=>t=>t.test(e),Jp=[zn,fe,Rt,Cn,Zy,Xy,{test:e=>e==="auto",parse:e=>e}],So=e=>Jp.find(Kp(e)),L4=[...Jp,ot,Pn],V4=e=>L4.find(Kp(e));function j4(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,Ar(n))}function B4(e,t){const n=oi(e,t);let{transitionEnd:r={},transition:o={},...a}=n?e.makeTargetAnimatable(n,!1):{};a={...a,...r};for(const i in a){const s=s5(a[i]);j4(e,i,s)}}function W4(e,t,n){var r,o;const a=Object.keys(t).filter(s=>!e.hasValue(s)),i=a.length;if(i)for(let s=0;s<i;s++){const l=a[s],u=t[l];let c=null;Array.isArray(u)&&(c=u[0]),c===null&&(c=(o=(r=n[l])!==null&&r!==void 0?r:e.readValue(l))!==null&&o!==void 0?o:t[l]),c!=null&&(typeof c=="string"&&(Yp(c)||Zp(c))?c=parseFloat(c):!V4(c)&&Pn.test(u)&&(c=Xp(l,u)),e.addValue(l,Ar(c,{owner:e})),n[l]===void 0&&(n[l]=c),c!==null&&e.setBaseTarget(l,c))}}function _4(e,t){return t?(t[e]||t.default||t).from:void 0}function G4(e,t,n){const r={};for(const o in e){const a=_4(o,t);if(a!==void 0)r[o]=a;else{const i=n.getValue(o);i&&(r[o]=i.get())}}return r}function R4({protectedKeys:e,needsAnimating:t},n){const r=e.hasOwnProperty(n)&&t[n]!==!0;return t[n]=!1,r}function z4(e,t){const n=e.get();if(Array.isArray(t)){for(let r=0;r<t.length;r++)if(t[r]!==n)return!0}else return n!==t}function Qp(e,t,{delay:n=0,transitionOverride:r,type:o}={}){let{transition:a=e.getDefaultTransition(),transitionEnd:i,...s}=e.makeTargetAnimatable(t);const l=e.getValue("willChange");r&&(a=r);const u=[],c=o&&e.animationState&&e.animationState.getState()[o];for(const d in s){const p=e.getValue(d),m=s[d];if(!p||m===void 0||c&&R4(c,d))continue;const h={delay:n,elapsed:0,...Vl(a||{},d)};if(window.HandoffAppearAnimations){const x=e.getProps()[Of];if(x){const y=window.HandoffAppearAnimations(x,d,p,Oe);y!==null&&(h.elapsed=y,h.isHandoff=!0)}}let g=!h.isHandoff&&!z4(p,m);if(h.type==="spring"&&(p.getVelocity()||h.velocity)&&(g=!1),p.animation&&(g=!1),g)continue;p.start(jl(d,p,m,e.shouldReduceMotion&&Rn.has(d)?{type:!1}:h));const b=p.animation;ui(l)&&(l.add(d),b.then(()=>l.remove(d))),u.push(b)}return i&&Promise.all(u).then(()=>{i&&B4(e,i)}),u}function Rl(e,t,n={}){const r=oi(e,t,n.custom);let{transition:o=e.getDefaultTransition()||{}}=r||{};n.transitionOverride&&(o=n.transitionOverride);const a=r?()=>Promise.all(Qp(e,r,n)):()=>Promise.resolve(),i=e.variantChildren&&e.variantChildren.size?(l=0)=>{const{delayChildren:u=0,staggerChildren:c,staggerDirection:d}=o;return H4(e,t,u+l,c,d,n)}:()=>Promise.resolve(),{when:s}=o;if(s){const[l,u]=s==="beforeChildren"?[a,i]:[i,a];return l().then(()=>u())}else return Promise.all([a(),i(n.delay)])}function H4(e,t,n=0,r=0,o=1,a){const i=[],s=(e.variantChildren.size-1)*r,l=o===1?(u=0)=>u*r:(u=0)=>s-u*r;return Array.from(e.variantChildren).sort(X4).forEach((u,c)=>{u.notify("AnimationStart",t),i.push(Rl(u,t,{...a,delay:n+l(c)}).then(()=>u.notify("AnimationComplete",t)))}),Promise.all(i)}function X4(e,t){return e.sortNodePosition(t)}function Z4(e,t,n={}){e.notify("AnimationStart",t);let r;if(Array.isArray(t)){const o=t.map(a=>Rl(e,a,n));r=Promise.all(o)}else if(typeof t=="string")r=Rl(e,t,n);else{const o=typeof t=="function"?oi(e,t,n.custom):t;r=Promise.all(Qp(e,o,n))}return r.then(()=>e.notify("AnimationComplete",t))}const Y4=[...cl].reverse(),U4=cl.length;function K4(e){return t=>Promise.all(t.map(({animation:n,options:r})=>Z4(e,n,r)))}function J4(e){let t=K4(e);const n=q4();let r=!0;const o=(l,u)=>{const c=oi(e,u);if(c){const{transition:d,transitionEnd:p,...m}=c;l={...l,...m,...p}}return l};function a(l){t=l(e)}function i(l,u){const c=e.getProps(),d=e.getVariantContext(!0)||{},p=[],m=new Set;let h={},g=1/0;for(let x=0;x<U4;x++){const y=Y4[x],w=n[y],S=c[y]!==void 0?c[y]:d[y],P=mo(S),A=y===u?w.isActive:null;A===!1&&(g=x);let T=S===d[y]&&S!==c[y]&&P;if(T&&r&&e.manuallyAnimateOnMount&&(T=!1),w.protectedKeys={...h},!w.isActive&&A===null||!S&&!w.prevProp||Ya(S)||typeof S=="boolean")continue;const v=Q4(w.prevProp,S);let D=v||y===u&&w.isActive&&!T&&P||x>g&&P;const $=Array.isArray(S)?S:[S];let M=$.reduce(o,{});A===!1&&(M={});const{prevResolvedValues:k={}}=w,I={...k,...M},E=O=>{D=!0,m.delete(O),w.needsAnimating[O]=!0};for(const O in I){const j=M[O],N=k[O];h.hasOwnProperty(O)||(j!==N?ei(j)&&ei(N)?!dp(j,N)||v?E(O):w.protectedKeys[O]=!0:j!==void 0?E(O):m.add(O):j!==void 0&&m.has(O)?E(O):w.protectedKeys[O]=!0)}w.prevProp=S,w.prevResolvedValues=M,w.isActive&&(h={...h,...M}),r&&e.blockInitialAnimation&&(D=!1),D&&!T&&p.push(...$.map(O=>({animation:O,options:{type:y,...l}})))}if(m.size){const x={};m.forEach(y=>{const w=e.getBaseTarget(y);w!==void 0&&(x[y]=w)}),p.push({animation:x})}let b=!!p.length;return r&&(c.initial===!1||c.initial===c.animate)&&!e.manuallyAnimateOnMount&&(b=!1),r=!1,b?t(p):Promise.resolve()}function s(l,u,c){var d;if(n[l].isActive===u)return Promise.resolve();(d=e.variantChildren)===null||d===void 0||d.forEach(m=>{var h;return(h=m.animationState)===null||h===void 0?void 0:h.setActive(l,u)}),n[l].isActive=u;const p=i(c,l);for(const m in n)n[m].protectedKeys={};return p}return{animateChanges:i,setActive:s,setAnimateFunction:a,getState:()=>n}}function Q4(e,t){return typeof t=="string"?t!==e:Array.isArray(t)?!dp(t,e):!1}function Xn(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function q4(){return{animate:Xn(!0),whileInView:Xn(),whileHover:Xn(),whileTap:Xn(),whileDrag:Xn(),whileFocus:Xn(),exit:Xn()}}class e3 extends In{constructor(t){super(t),t.animationState||(t.animationState=J4(t))}updateAnimationControlsSubscription(){const{animate:t}=this.node.getProps();this.unmount(),Ya(t)&&(this.unmount=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:t}=this.node.getProps(),{animate:n}=this.node.prevProps||{};t!==n&&this.updateAnimationControlsSubscription()}unmount(){}}let t3=0;class n3 extends In{constructor(){super(...arguments),this.id=t3++}update(){if(!this.node.presenceContext)return;const{isPresent:t,onExitComplete:n,custom:r}=this.node.presenceContext,{isPresent:o}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===o)return;const a=this.node.animationState.setActive("exit",!t,{custom:r??this.node.getProps().custom});n&&!t&&a.then(()=>n(this.id))}mount(){const{register:t}=this.node.presenceContext||{};t&&(this.unmount=t(this.id))}unmount(){}}const r3={animation:{Feature:e3},exit:{Feature:n3}},qp=(e,t)=>Math.abs(e-t);function o3(e,t){const n=qp(e.x,t.x),r=qp(e.y,t.y);return Math.sqrt(n**2+r**2)}class e0{constructor(t,n,{transformPagePoint:r,contextWindow:o}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const c=Hl(this.lastMoveEventInfo,this.history),d=this.startEvent!==null,p=o3(c.offset,{x:0,y:0})>=3;if(!d&&!p)return;const{point:m}=c,{timestamp:h}=qe;this.history.push({...m,timestamp:h});const{onStart:g,onMove:b}=this.handlers;d||(g&&g(this.lastMoveEvent,c),this.startEvent=this.lastMoveEvent),b&&b(this.lastMoveEvent,c)},this.handlePointerMove=(c,d)=>{this.lastMoveEvent=c,this.lastMoveEventInfo=zl(d,this.transformPagePoint),Oe.update(this.updatePoint,!0)},this.handlePointerUp=(c,d)=>{if(this.end(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const{onEnd:p,onSessionEnd:m}=this.handlers,h=Hl(c.type==="pointercancel"?this.lastMoveEventInfo:zl(d,this.transformPagePoint),this.history);this.startEvent&&p&&p(c,h),m&&m(c,h)},!rp(t))return;this.handlers=n,this.transformPagePoint=r,this.contextWindow=o||window;const a=ri(t),i=zl(a,this.transformPagePoint),{point:s}=i,{timestamp:l}=qe;this.history=[{...s,timestamp:l}];const{onSessionStart:u}=n;u&&u(t,Hl(i,this.history)),this.removeListeners=wn(rn(this.contextWindow,"pointermove",this.handlePointerMove),rn(this.contextWindow,"pointerup",this.handlePointerUp),rn(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),tn(this.updatePoint)}}function zl(e,t){return t?{point:t(e.point)}:e}function t0(e,t){return{x:e.x-t.x,y:e.y-t.y}}function Hl({point:e},t){return{point:e,delta:t0(e,n0(t)),offset:t0(e,a3(t)),velocity:i3(t,.1)}}function a3(e){return e[0]}function n0(e){return e[e.length-1]}function i3(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,r=null;const o=n0(e);for(;n>=0&&(r=e[n],!(o.timestamp-r.timestamp>En(t)));)n--;if(!r)return{x:0,y:0};const a=on(o.timestamp-r.timestamp);if(a===0)return{x:0,y:0};const i={x:(o.x-r.x)/a,y:(o.y-r.y)/a};return i.x===1/0&&(i.x=0),i.y===1/0&&(i.y=0),i}function vt(e){return e.max-e.min}function Xl(e,t=0,n=.01){return Math.abs(e-t)<=n}function r0(e,t,n,r=.5){e.origin=r,e.originPoint=Re(t.min,t.max,e.origin),e.scale=vt(n)/vt(t),(Xl(e.scale,1,1e-4)||isNaN(e.scale))&&(e.scale=1),e.translate=Re(n.min,n.max,e.origin)-e.originPoint,(Xl(e.translate)||isNaN(e.translate))&&(e.translate=0)}function Mo(e,t,n,r){r0(e.x,t.x,n.x,r?r.originX:void 0),r0(e.y,t.y,n.y,r?r.originY:void 0)}function o0(e,t,n){e.min=n.min+t.min,e.max=e.min+vt(t)}function s3(e,t,n){o0(e.x,t.x,n.x),o0(e.y,t.y,n.y)}function a0(e,t,n){e.min=t.min-n.min,e.max=e.min+vt(t)}function Ao(e,t,n){a0(e.x,t.x,n.x),a0(e.y,t.y,n.y)}function l3(e,{min:t,max:n},r){return t!==void 0&&e<t?e=r?Re(t,e,r.min):Math.max(e,t):n!==void 0&&e>n&&(e=r?Re(n,e,r.max):Math.min(e,n)),e}function i0(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 u3(e,{top:t,left:n,bottom:r,right:o}){return{x:i0(e.x,n,o),y:i0(e.y,t,r)}}function s0(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 c3(e,t){return{x:s0(e.x,t.x),y:s0(e.y,t.y)}}function d3(e,t){let n=.5;const r=vt(e),o=vt(t);return o>r?n=Po(t.min,t.max-r,e.min):r>o&&(n=Po(e.min,e.max-o,t.min)),xn(0,1,n)}function f3(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 Zl=.35;function p3(e=Zl){return e===!1?e=0:e===!0&&(e=Zl),{x:l0(e,"left","right"),y:l0(e,"top","bottom")}}function l0(e,t,n){return{min:u0(e,t),max:u0(e,n)}}function u0(e,t){return typeof e=="number"?e:e[t]||0}const c0=()=>({translate:0,scale:1,origin:0,originPoint:0}),Tr=()=>({x:c0(),y:c0()}),d0=()=>({min:0,max:0}),Ye=()=>({x:d0(),y:d0()});function zt(e){return[e("x"),e("y")]}function f0({top:e,left:t,right:n,bottom:r}){return{x:{min:t,max:n},y:{min:e,max:r}}}function m3({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function h3(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 Yl(e){return e===void 0||e===1}function Ul({scale:e,scaleX:t,scaleY:n}){return!Yl(e)||!Yl(t)||!Yl(n)}function Zn(e){return Ul(e)||p0(e)||e.z||e.rotate||e.rotateX||e.rotateY}function p0(e){return m0(e.x)||m0(e.y)}function m0(e){return e&&e!=="0%"}function ci(e,t,n){const r=e-n,o=t*r;return n+o}function h0(e,t,n,r,o){return o!==void 0&&(e=ci(e,o,r)),ci(e,n,r)+t}function Kl(e,t=0,n=1,r,o){e.min=h0(e.min,t,n,r,o),e.max=h0(e.max,t,n,r,o)}function g0(e,{x:t,y:n}){Kl(e.x,t.translate,t.scale,t.originPoint),Kl(e.y,n.translate,n.scale,n.originPoint)}function g3(e,t,n,r=!1){const o=n.length;if(!o)return;t.x=t.y=1;let a,i;for(let s=0;s<o;s++){a=n[s],i=a.projectionDelta;const l=a.instance;l&&l.style&&l.style.display==="contents"||(r&&a.options.layoutScroll&&a.scroll&&a!==a.root&&Dr(e,{x:-a.scroll.offset.x,y:-a.scroll.offset.y}),i&&(t.x*=i.x.scale,t.y*=i.y.scale,g0(e,i)),r&&Zn(a.latestValues)&&Dr(e,a.latestValues))}t.x=b0(t.x),t.y=b0(t.y)}function b0(e){return Number.isInteger(e)||e>1.0000000000001||e<.999999999999?e:1}function Sn(e,t){e.min=e.min+t,e.max=e.max+t}function v0(e,t,[n,r,o]){const a=t[o]!==void 0?t[o]:.5,i=Re(e.min,e.max,a);Kl(e,t[n],t[r],i,t.scale)}const b3=["x","scaleX","originX"],v3=["y","scaleY","originY"];function Dr(e,t){v0(e.x,t,b3),v0(e.y,t,v3)}function y0(e,t){return f0(h3(e.getBoundingClientRect(),t))}function y3(e,t,n){const r=y0(e,n),{scroll:o}=t;return o&&(Sn(r.x,o.offset.x),Sn(r.y,o.offset.y)),r}const x0=({current:e})=>e?e.ownerDocument.defaultView:null,x3=new WeakMap;class C3{constructor(t){this.openGlobalLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=Ye(),this.visualElement=t}start(t,{snapToCursor:n=!1}={}){const{presenceContext:r}=this.visualElement;if(r&&r.isPresent===!1)return;const o=l=>{this.stopAnimation(),n&&this.snapToCursor(ri(l,"page").point)},a=(l,u)=>{const{drag:c,dragPropagation:d,onDragStart:p}=this.getProps();if(c&&!d&&(this.openGlobalLock&&this.openGlobalLock(),this.openGlobalLock=sp(c),!this.openGlobalLock))return;this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),zt(h=>{let g=this.getAxisMotionValue(h).get()||0;if(Rt.test(g)){const{projection:b}=this.visualElement;if(b&&b.layout){const x=b.layout.layoutBox[h];x&&(g=vt(x)*(parseFloat(g)/100))}}this.originPoint[h]=g}),p&&Oe.update(()=>p(l,u),!1,!0);const{animationState:m}=this.visualElement;m&&m.setActive("whileDrag",!0)},i=(l,u)=>{const{dragPropagation:c,dragDirectionLock:d,onDirectionLock:p,onDrag:m}=this.getProps();if(!c&&!this.openGlobalLock)return;const{offset:h}=u;if(d&&this.currentDirection===null){this.currentDirection=w3(h),this.currentDirection!==null&&p&&p(this.currentDirection);return}this.updateAxis("x",u.point,h),this.updateAxis("y",u.point,h),this.visualElement.render(),m&&m(l,u)},s=(l,u)=>this.stop(l,u);this.panSession=new e0(t,{onSessionStart:o,onStart:a,onMove:i,onSessionEnd:s},{transformPagePoint:this.visualElement.getTransformPagePoint(),contextWindow:x0(this.visualElement)})}stop(t,n){const r=this.isDragging;if(this.cancel(),!r)return;const{velocity:o}=n;this.startAnimation(o);const{onDragEnd:a}=this.getProps();a&&Oe.update(()=>a(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.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),n&&n.setActive("whileDrag",!1)}updateAxis(t,n,r){const{drag:o}=this.getProps();if(!r||!di(t,o,this.currentDirection))return;const a=this.getAxisMotionValue(t);let i=this.originPoint[t]+r[t];this.constraints&&this.constraints[t]&&(i=l3(i,this.constraints[t],this.elastic[t])),a.set(i)}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,a=this.constraints;n&&Sr(n)?this.constraints||(this.constraints=this.resolveRefConstraints()):n&&o?this.constraints=u3(o.layoutBox,n):this.constraints=!1,this.elastic=p3(r),a!==this.constraints&&o&&this.constraints&&!this.hasMutatedConstraints&&zt(i=>{this.getAxisMotionValue(i)&&(this.constraints[i]=f3(o.layoutBox[i],this.constraints[i]))})}resolveRefConstraints(){const{dragConstraints:t,onMeasureDragConstraints:n}=this.getProps();if(!t||!Sr(t))return!1;const r=t.current;kt(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 a=y3(r,o.root,this.visualElement.getTransformPagePoint());let i=c3(o.layout.layoutBox,a);if(n){const s=n(m3(i));this.hasMutatedConstraints=!!s,s&&(i=f0(s))}return i}startAnimation(t){const{drag:n,dragMomentum:r,dragElastic:o,dragTransition:a,dragSnapToOrigin:i,onDragTransitionEnd:s}=this.getProps(),l=this.constraints||{},u=zt(c=>{if(!di(c,n,this.currentDirection))return;let d=l&&l[c]||{};i&&(d={min:0,max:0});const p=o?200:1e6,m=o?40:1e7,h={type:"inertia",velocity:r?t[c]:0,bounceStiffness:p,bounceDamping:m,timeConstant:750,restDelta:1,restSpeed:10,...a,...d};return this.startAxisValueAnimation(c,h)});return Promise.all(u).then(s)}startAxisValueAnimation(t,n){const r=this.getAxisMotionValue(t);return r.start(jl(t,r,0,n))}stopAnimation(){zt(t=>this.getAxisMotionValue(t).stop())}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){zt(n=>{const{drag:r}=this.getProps();if(!di(n,r,this.currentDirection))return;const{projection:o}=this.visualElement,a=this.getAxisMotionValue(n);if(o&&o.layout){const{min:i,max:s}=o.layout.layoutBox[n];a.set(t[n]-Re(i,s,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:t,dragConstraints:n}=this.getProps(),{projection:r}=this.visualElement;if(!Sr(n)||!r||!this.constraints)return;this.stopAnimation();const o={x:0,y:0};zt(i=>{const s=this.getAxisMotionValue(i);if(s){const l=s.get();o[i]=d3({min:l,max:l},this.constraints[i])}});const{transformTemplate:a}=this.visualElement.getProps();this.visualElement.current.style.transform=a?a({},""):"none",r.root&&r.root.updateScroll(),r.updateLayout(),this.resolveConstraints(),zt(i=>{if(!di(i,t,null))return;const s=this.getAxisMotionValue(i),{min:l,max:u}=this.constraints[i];s.set(Re(l,u,o[i]))})}addListeners(){if(!this.visualElement.current)return;x3.set(this.visualElement,this);const t=this.visualElement.current,n=rn(t,"pointerdown",l=>{const{drag:u,dragListener:c=!0}=this.getProps();u&&c&&this.start(l)}),r=()=>{const{dragConstraints:l}=this.getProps();Sr(l)&&(this.constraints=this.resolveRefConstraints())},{projection:o}=this.visualElement,a=o.addEventListener("measure",r);o&&!o.layout&&(o.root&&o.root.updateScroll(),o.updateLayout()),r();const i=nn(window,"resize",()=>this.scalePositionWithinConstraints()),s=o.addEventListener("didUpdate",({delta:l,hasLayoutChanged:u})=>{this.isDragging&&u&&(zt(c=>{const d=this.getAxisMotionValue(c);d&&(this.originPoint[c]+=l[c].translate,d.set(d.get()+l[c].translate))}),this.visualElement.render())});return()=>{i(),n(),a(),s&&s()}}getProps(){const t=this.visualElement.getProps(),{drag:n=!1,dragDirectionLock:r=!1,dragPropagation:o=!1,dragConstraints:a=!1,dragElastic:i=Zl,dragMomentum:s=!0}=t;return{...t,drag:n,dragDirectionLock:r,dragPropagation:o,dragConstraints:a,dragElastic:i,dragMomentum:s}}}function di(e,t,n){return(t===!0||t===e)&&(n===null||n===e)}function w3(e,t=10){let n=null;return Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x"),n}class I3 extends In{constructor(t){super(t),this.removeGroupControls=ze,this.removeListeners=ze,this.controls=new C3(t)}mount(){const{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||ze}unmount(){this.removeGroupControls(),this.removeListeners()}}const C0=e=>(t,n)=>{e&&Oe.update(()=>e(t,n))};class E3 extends In{constructor(){super(...arguments),this.removePointerDownListener=ze}onPointerDown(t){this.session=new e0(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:x0(this.node)})}createPanHandlers(){const{onPanSessionStart:t,onPanStart:n,onPan:r,onPanEnd:o}=this.node.getProps();return{onSessionStart:C0(t),onStart:C0(n),onMove:r,onEnd:(a,i)=>{delete this.session,o&&Oe.update(()=>o(a,i))}}}mount(){this.removePointerDownListener=rn(this.node.current,"pointerdown",t=>this.onPointerDown(t))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}function P3(){const e=f.useContext(Xa);if(e===null)return[!0,null];const{isPresent:t,onExitComplete:n,register:r}=e,o=f.useId();return f.useEffect(()=>r(o),[]),!t&&n?[!1,()=>n&&n(o)]:[!0]}const fi={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function w0(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const To={correct:(e,t)=>{if(!t.target)return e;if(typeof e=="string")if(fe.test(e))e=parseFloat(e);else return e;const n=w0(e,t.target.x),r=w0(e,t.target.y);return`${n}% ${r}%`}},S3={correct:(e,{treeScale:t,projectionDelta:n})=>{const r=e,o=Pn.parse(e);if(o.length>5)return r;const a=Pn.createTransformer(e),i=typeof o[0]!="number"?1:0,s=n.x.scale*t.x,l=n.y.scale*t.y;o[0+i]/=s,o[1+i]/=l;const u=Re(s,l,.5);return typeof o[2+i]=="number"&&(o[2+i]/=u),typeof o[3+i]=="number"&&(o[3+i]/=u),a(o)}};class M3 extends f.Component{componentDidMount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:r,layoutId:o}=this.props,{projection:a}=t;By(A3),a&&(n.group&&n.group.add(a),r&&r.register&&o&&r.register(a),a.root.didUpdate(),a.addEventListener("animationComplete",()=>{this.safeToRemove()}),a.setOptions({...a.options,onExitComplete:()=>this.safeToRemove()})),fi.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){const{layoutDependency:n,visualElement:r,drag:o,isPresent:a}=this.props,i=r.projection;return i&&(i.isPresent=a,o||t.layoutDependency!==n||n===void 0?i.willUpdate():this.safeToRemove(),t.isPresent!==a&&(a?i.promote():i.relegate()||Oe.postRender(()=>{const s=i.getStack();(!s||!s.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),queueMicrotask(()=>{!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 I0(e){const[t,n]=P3(),r=f.useContext(go);return f.createElement(M3,{...e,layoutGroup:r,switchLayoutGroup:f.useContext(jf),isPresent:t,safeToRemove:n})}const A3={borderRadius:{...To,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:To,borderTopRightRadius:To,borderBottomLeftRadius:To,borderBottomRightRadius:To,boxShadow:S3},E0=["TopLeft","TopRight","BottomLeft","BottomRight"],T3=E0.length,P0=e=>typeof e=="string"?parseFloat(e):e,S0=e=>typeof e=="number"||fe.test(e);function D3(e,t,n,r,o,a){o?(e.opacity=Re(0,n.opacity!==void 0?n.opacity:1,N3(r)),e.opacityExit=Re(t.opacity!==void 0?t.opacity:1,0,$3(r))):a&&(e.opacity=Re(t.opacity!==void 0?t.opacity:1,n.opacity!==void 0?n.opacity:1,r));for(let i=0;i<T3;i++){const s=`border${E0[i]}Radius`;let l=M0(t,s),u=M0(n,s);if(l===void 0&&u===void 0)continue;l||(l=0),u||(u=0),l===0||u===0||S0(l)===S0(u)?(e[s]=Math.max(Re(P0(l),P0(u),r),0),(Rt.test(u)||Rt.test(l))&&(e[s]+="%")):e[s]=u}(t.rotate||n.rotate)&&(e.rotate=Re(t.rotate||0,n.rotate||0,r))}function M0(e,t){return e[t]!==void 0?e[t]:e.borderRadius}const N3=A0(0,.5,xp),$3=A0(.5,.95,ze);function A0(e,t,n){return r=>r<e?0:r>t?1:n(Po(e,t,r))}function T0(e,t){e.min=t.min,e.max=t.max}function Mt(e,t){T0(e.x,t.x),T0(e.y,t.y)}function D0(e,t,n,r,o){return e-=t,e=ci(e,1/n,r),o!==void 0&&(e=ci(e,1/o,r)),e}function k3(e,t=0,n=1,r=.5,o,a=e,i=e){if(Rt.test(t)&&(t=parseFloat(t),t=Re(i.min,i.max,t/100)-i.min),typeof t!="number")return;let s=Re(a.min,a.max,r);e===a&&(s-=t),e.min=D0(e.min,t,n,s,o),e.max=D0(e.max,t,n,s,o)}function N0(e,t,[n,r,o],a,i){k3(e,t[n],t[r],t[o],t.scale,a,i)}const O3=["x","scaleX","originX"],F3=["y","scaleY","originY"];function $0(e,t,n,r){N0(e.x,t,O3,n?n.x:void 0,r?r.x:void 0),N0(e.y,t,F3,n?n.y:void 0,r?r.y:void 0)}function k0(e){return e.translate===0&&e.scale===1}function O0(e){return k0(e.x)&&k0(e.y)}function L3(e,t){return e.x.min===t.x.min&&e.x.max===t.x.max&&e.y.min===t.y.min&&e.y.max===t.y.max}function F0(e,t){return Math.round(e.x.min)===Math.round(t.x.min)&&Math.round(e.x.max)===Math.round(t.x.max)&&Math.round(e.y.min)===Math.round(t.y.min)&&Math.round(e.y.max)===Math.round(t.y.max)}function L0(e){return vt(e.x)/vt(e.y)}class V3{constructor(){this.members=[]}add(t){Bl(this.members,t),t.scheduleRender()}remove(t){if(Wl(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 a=this.members[o];if(a.isPresent!==!1){r=a;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 V0(e,t,n){let r="";const o=e.x.translate/t.x,a=e.y.translate/t.y;if((o||a)&&(r=`translate3d(${o}px, ${a}px, 0) `),(t.x!==1||t.y!==1)&&(r+=`scale(${1/t.x}, ${1/t.y}) `),n){const{rotate:l,rotateX:u,rotateY:c}=n;l&&(r+=`rotate(${l}deg) `),u&&(r+=`rotateX(${u}deg) `),c&&(r+=`rotateY(${c}deg) `)}const i=e.x.scale*t.x,s=e.y.scale*t.y;return(i!==1||s!==1)&&(r+=`scale(${i}, ${s})`),r||"none"}const j3=(e,t)=>e.depth-t.depth;class B3{constructor(){this.children=[],this.isDirty=!1}add(t){Bl(this.children,t),this.isDirty=!0}remove(t){Wl(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(j3),this.isDirty=!1,this.children.forEach(t)}}function W3(e,t){const n=performance.now(),r=({timestamp:o})=>{const a=o-n;a>=t&&(tn(r),e(a-t))};return Oe.read(r,!0),()=>tn(r)}function _3(e){window.MotionDebug&&window.MotionDebug.record(e)}function G3(e){return e instanceof SVGElement&&e.tagName!=="svg"}function R3(e,t,n){const r=ut(e)?e:Ar(e);return r.start(jl("",r,t,n)),r.animation}const j0=["","X","Y","Z"],z3={visibility:"hidden"},B0=1e3;let H3=0;const Yn={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0};function W0({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:r,resetTransform:o}){return class{constructor(i={},s=t==null?void 0:t()){this.id=H3++,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.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,Yn.totalNodes=Yn.resolvedTargetDeltas=Yn.recalculatedProjection=0,this.nodes.forEach(Y3),this.nodes.forEach(q3),this.nodes.forEach(e6),this.nodes.forEach(U3),_3(Yn)},this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=i,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 B3)}addEventListener(i,s){return this.eventHandlers.has(i)||this.eventHandlers.set(i,new _l),this.eventHandlers.get(i).add(s)}notifyListeners(i,...s){const l=this.eventHandlers.get(i);l&&l.notify(...s)}hasListeners(i){return this.eventHandlers.has(i)}mount(i,s=this.root.hasTreeAnimated){if(this.instance)return;this.isSVG=G3(i),this.instance=i;const{layoutId:l,layout:u,visualElement:c}=this.options;if(c&&!c.current&&c.mount(i),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),s&&(u||l)&&(this.isLayoutDirty=!0),e){let d;const p=()=>this.root.updateBlockedByResize=!1;e(i,()=>{this.root.updateBlockedByResize=!0,d&&d(),d=W3(p,250),fi.hasAnimatedSinceResize&&(fi.hasAnimatedSinceResize=!1,this.nodes.forEach(G0))})}l&&this.root.registerSharedNode(l,this),this.options.animate!==!1&&c&&(l||u)&&this.addEventListener("didUpdate",({delta:d,hasLayoutChanged:p,hasRelativeTargetChanged:m,layout:h})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const g=this.options.transition||c.getDefaultTransition()||a6,{onLayoutAnimationStart:b,onLayoutAnimationComplete:x}=c.getProps(),y=!this.targetLayout||!F0(this.targetLayout,h)||m,w=!p&&m;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(d,w);const S={...Vl(g,"layout"),onPlay:b,onComplete:x};(c.shouldReduceMotion||this.options.layoutRoot)&&(S.delay=0,S.type=!1),this.startAnimation(S)}else p||G0(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=h})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const i=this.getStack();i&&i.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,tn(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(t6),this.animationId++)}getTransformTemplate(){const{visualElement:i}=this.options;return i&&i.getProps().transformTemplate}willUpdate(i=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let c=0;c<this.path.length;c++){const d=this.path[c];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 u=this.getTransformTemplate();this.prevTransformTemplateValue=u?u(this.latestValues,""):void 0,this.updateSnapshot(),i&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(_0);return}this.isUpdating||this.nodes.forEach(J3),this.isUpdating=!1,this.nodes.forEach(Q3),this.nodes.forEach(X3),this.nodes.forEach(Z3),this.clearAllSnapshots();const s=performance.now();qe.delta=xn(0,1e3/60,s-qe.timestamp),qe.timestamp=s,qe.isProcessing=!0,xl.update.process(qe),xl.preRender.process(qe),xl.render.process(qe),qe.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,queueMicrotask(()=>this.update()))}clearAllSnapshots(){this.nodes.forEach(K3),this.sharedNodes.forEach(n6)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,Oe.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){Oe.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 i=this.layout;this.layout=this.measure(!1),this.layoutCorrected=Ye(),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,i?i.layoutBox:void 0)}updateScroll(i="measure"){let s=!!(this.options.layoutScroll&&this.instance);this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===i&&(s=!1),s&&(this.scroll={animationId:this.root.animationId,phase:i,isRoot:r(this.instance),offset:n(this.instance)})}resetTransform(){if(!o)return;const i=this.isLayoutDirty||this.shouldResetTransform,s=this.projectionDelta&&!O0(this.projectionDelta),l=this.getTransformTemplate(),u=l?l(this.latestValues,""):void 0,c=u!==this.prevTransformTemplateValue;i&&(s||Zn(this.latestValues)||c)&&(o(this.instance,u),this.shouldResetTransform=!1,this.scheduleRender())}measure(i=!0){const s=this.measurePageBox();let l=this.removeElementScroll(s);return i&&(l=this.removeTransform(l)),i6(l),{animationId:this.root.animationId,measuredBox:s,layoutBox:l,latestValues:{},source:this.id}}measurePageBox(){const{visualElement:i}=this.options;if(!i)return Ye();const s=i.measureViewportBox(),{scroll:l}=this.root;return l&&(Sn(s.x,l.offset.x),Sn(s.y,l.offset.y)),s}removeElementScroll(i){const s=Ye();Mt(s,i);for(let l=0;l<this.path.length;l++){const u=this.path[l],{scroll:c,options:d}=u;if(u!==this.root&&c&&d.layoutScroll){if(c.isRoot){Mt(s,i);const{scroll:p}=this.root;p&&(Sn(s.x,-p.offset.x),Sn(s.y,-p.offset.y))}Sn(s.x,c.offset.x),Sn(s.y,c.offset.y)}}return s}applyTransform(i,s=!1){const l=Ye();Mt(l,i);for(let u=0;u<this.path.length;u++){const c=this.path[u];!s&&c.options.layoutScroll&&c.scroll&&c!==c.root&&Dr(l,{x:-c.scroll.offset.x,y:-c.scroll.offset.y}),Zn(c.latestValues)&&Dr(l,c.latestValues)}return Zn(this.latestValues)&&Dr(l,this.latestValues),l}removeTransform(i){const s=Ye();Mt(s,i);for(let l=0;l<this.path.length;l++){const u=this.path[l];if(!u.instance||!Zn(u.latestValues))continue;Ul(u.latestValues)&&u.updateSnapshot();const c=Ye(),d=u.measurePageBox();Mt(c,d),$0(s,u.latestValues,u.snapshot?u.snapshot.layoutBox:void 0,c)}return Zn(this.latestValues)&&$0(s,this.latestValues),s}setTargetDelta(i){this.targetDelta=i,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(i){this.options={...this.options,...i,crossfade:i.crossfade!==void 0?i.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!==qe.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(i=!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 u=!!this.resumingFrom||this!==l;if(!(i||u&&this.isSharedProjectionDirty||this.isProjectionDirty||!((s=this.parent)===null||s===void 0)&&s.isProjectionDirty||this.attemptToResolveRelativeTarget))return;const{layout:d,layoutId:p}=this.options;if(!(!this.layout||!(d||p))){if(this.resolvedRelativeTargetAt=qe.timestamp,!this.targetDelta&&!this.relativeTarget){const m=this.getClosestProjectingParent();m&&m.layout&&this.animationProgress!==1?(this.relativeParent=m,this.forceRelativeParentToResolveTarget(),this.relativeTarget=Ye(),this.relativeTargetOrigin=Ye(),Ao(this.relativeTargetOrigin,this.layout.layoutBox,m.layout.layoutBox),Mt(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(!(!this.relativeTarget&&!this.targetDelta)){if(this.target||(this.target=Ye(),this.targetWithTransforms=Ye()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),s3(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):Mt(this.target,this.layout.layoutBox),g0(this.target,this.targetDelta)):Mt(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget){this.attemptToResolveRelativeTarget=!1;const m=this.getClosestProjectingParent();m&&!!m.resumingFrom==!!this.resumingFrom&&!m.options.layoutScroll&&m.target&&this.animationProgress!==1?(this.relativeParent=m,this.forceRelativeParentToResolveTarget(),this.relativeTarget=Ye(),this.relativeTargetOrigin=Ye(),Ao(this.relativeTargetOrigin,this.target,m.target),Mt(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}Yn.resolvedTargetDeltas++}}}getClosestProjectingParent(){if(!(!this.parent||Ul(this.parent.latestValues)||p0(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 i;const s=this.getLead(),l=!!this.resumingFrom||this!==s;let u=!0;if((this.isProjectionDirty||!((i=this.parent)===null||i===void 0)&&i.isProjectionDirty)&&(u=!1),l&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(u=!1),this.resolvedRelativeTargetAt===qe.timestamp&&(u=!1),u)return;const{layout:c,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||!(c||d))return;Mt(this.layoutCorrected,this.layout.layoutBox);const p=this.treeScale.x,m=this.treeScale.y;g3(this.layoutCorrected,this.treeScale,this.path,l),s.layout&&!s.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(s.target=s.layout.layoutBox);const{target:h}=s;if(!h){this.projectionTransform&&(this.projectionDelta=Tr(),this.projectionTransform="none",this.scheduleRender());return}this.projectionDelta||(this.projectionDelta=Tr(),this.projectionDeltaWithTransform=Tr());const g=this.projectionTransform;Mo(this.projectionDelta,this.layoutCorrected,h,this.latestValues),this.projectionTransform=V0(this.projectionDelta,this.treeScale),(this.projectionTransform!==g||this.treeScale.x!==p||this.treeScale.y!==m)&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",h)),Yn.recalculatedProjection++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(i=!0){if(this.options.scheduleRender&&this.options.scheduleRender(),i){const s=this.getStack();s&&s.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}setAnimationOrigin(i,s=!1){const l=this.snapshot,u=l?l.latestValues:{},c={...this.latestValues},d=Tr();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!s;const p=Ye(),m=l?l.source:void 0,h=this.layout?this.layout.source:void 0,g=m!==h,b=this.getStack(),x=!b||b.members.length<=1,y=!!(g&&!x&&this.options.crossfade===!0&&!this.path.some(o6));this.animationProgress=0;let w;this.mixTargetDelta=S=>{const P=S/1e3;R0(d.x,i.x,P),R0(d.y,i.y,P),this.setTargetDelta(d),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(Ao(p,this.layout.layoutBox,this.relativeParent.layout.layoutBox),r6(this.relativeTarget,this.relativeTargetOrigin,p,P),w&&L3(this.relativeTarget,w)&&(this.isProjectionDirty=!1),w||(w=Ye()),Mt(w,this.relativeTarget)),g&&(this.animationValues=c,D3(c,u,this.latestValues,P,y,x)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=P},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(i){this.notifyListeners("animationStart"),this.currentAnimation&&this.currentAnimation.stop(),this.resumingFrom&&this.resumingFrom.currentAnimation&&this.resumingFrom.currentAnimation.stop(),this.pendingAnimation&&(tn(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=Oe.update(()=>{fi.hasAnimatedSinceResize=!0,this.currentAnimation=R3(0,B0,{...i,onUpdate:s=>{this.mixTargetDelta(s),i.onUpdate&&i.onUpdate(s)},onComplete:()=>{i.onComplete&&i.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 i=this.getStack();i&&i.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(B0),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const i=this.getLead();let{targetWithTransforms:s,target:l,layout:u,latestValues:c}=i;if(!(!s||!l||!u)){if(this!==i&&this.layout&&u&&Y0(this.options.animationType,this.layout.layoutBox,u.layoutBox)){l=this.target||Ye();const d=vt(this.layout.layoutBox.x);l.x.min=i.target.x.min,l.x.max=l.x.min+d;const p=vt(this.layout.layoutBox.y);l.y.min=i.target.y.min,l.y.max=l.y.min+p}Mt(s,l),Dr(s,c),Mo(this.projectionDeltaWithTransform,this.layoutCorrected,s,c)}}registerSharedNode(i,s){this.sharedNodes.has(i)||this.sharedNodes.set(i,new V3),this.sharedNodes.get(i).add(s);const u=s.options.initialPromotionConfig;s.promote({transition:u?u.transition:void 0,preserveFollowOpacity:u&&u.shouldPreserveFollowOpacity?u.shouldPreserveFollowOpacity(s):void 0})}isLead(){const i=this.getStack();return i?i.lead===this:!0}getLead(){var i;const{layoutId:s}=this.options;return s?((i=this.getStack())===null||i===void 0?void 0:i.lead)||this:this}getPrevLead(){var i;const{layoutId:s}=this.options;return s?(i=this.getStack())===null||i===void 0?void 0:i.prevLead:void 0}getStack(){const{layoutId:i}=this.options;if(i)return this.root.sharedNodes.get(i)}promote({needsReset:i,transition:s,preserveFollowOpacity:l}={}){const u=this.getStack();u&&u.promote(this,l),i&&(this.projectionDelta=void 0,this.needsReset=!0),s&&this.setOptions({transition:s})}relegate(){const i=this.getStack();return i?i.relegate(this):!1}resetRotation(){const{visualElement:i}=this.options;if(!i)return;let s=!1;const{latestValues:l}=i;if((l.rotate||l.rotateX||l.rotateY||l.rotateZ)&&(s=!0),!s)return;const u={};for(let c=0;c<j0.length;c++){const d="rotate"+j0[c];l[d]&&(u[d]=l[d],i.setStaticValue(d,0))}i.render();for(const c in u)i.setStaticValue(c,u[c]);i.scheduleRender()}getProjectionStyles(i){var s,l;if(!this.instance||this.isSVG)return;if(!this.isVisible)return z3;const u={visibility:""},c=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,u.opacity="",u.pointerEvents=ti(i==null?void 0:i.pointerEvents)||"",u.transform=c?c(this.latestValues,""):"none",u;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=ti(i==null?void 0:i.pointerEvents)||""),this.hasProjected&&!Zn(this.latestValues)&&(g.transform=c?c({},""):"none",this.hasProjected=!1),g}const p=d.animationValues||d.latestValues;this.applyTransformsToTarget(),u.transform=V0(this.projectionDeltaWithTransform,this.treeScale,p),c&&(u.transform=c(p,u.transform));const{x:m,y:h}=this.projectionDelta;u.transformOrigin=`${m.origin*100}% ${h.origin*100}% 0`,d.animationValues?u.opacity=d===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:u.opacity=d===this?p.opacity!==void 0?p.opacity:"":p.opacityExit!==void 0?p.opacityExit:0;for(const g in Ka){if(p[g]===void 0)continue;const{correct:b,applyTo:x}=Ka[g],y=u.transform==="none"?p[g]:b(p[g],d);if(x){const w=x.length;for(let S=0;S<w;S++)u[x[S]]=y}else u[g]=y}return this.options.layoutId&&(u.pointerEvents=d===this?ti(i==null?void 0:i.pointerEvents)||"":"none"),u}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(i=>{var s;return(s=i.currentAnimation)===null||s===void 0?void 0:s.stop()}),this.root.nodes.forEach(_0),this.root.sharedNodes.clear()}}}function X3(e){e.updateLayout()}function Z3(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:a}=e.options,i=n.source!==e.layout.source;a==="size"?zt(d=>{const p=i?n.measuredBox[d]:n.layoutBox[d],m=vt(p);p.min=r[d].min,p.max=p.min+m}):Y0(a,n.layoutBox,r)&&zt(d=>{const p=i?n.measuredBox[d]:n.layoutBox[d],m=vt(r[d]);p.max=p.min+m,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[d].max=e.relativeTarget[d].min+m)});const s=Tr();Mo(s,r,n.layoutBox);const l=Tr();i?Mo(l,e.applyTransform(o,!0),n.measuredBox):Mo(l,r,n.layoutBox);const u=!O0(s);let c=!1;if(!e.resumeFrom){const d=e.getClosestProjectingParent();if(d&&!d.resumeFrom){const{snapshot:p,layout:m}=d;if(p&&m){const h=Ye();Ao(h,n.layoutBox,p.layoutBox);const g=Ye();Ao(g,r,m.layoutBox),F0(h,g)||(c=!0),d.options.layoutRoot&&(e.relativeTarget=g,e.relativeTargetOrigin=h,e.relativeParent=d)}}}e.notifyListeners("didUpdate",{layout:r,snapshot:n,delta:l,layoutDelta:s,hasLayoutChanged:u,hasRelativeTargetChanged:c})}else if(e.isLead()){const{onExitComplete:r}=e.options;r&&r()}e.options.transition=void 0}function Y3(e){Yn.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 U3(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function K3(e){e.clearSnapshot()}function _0(e){e.clearMeasurements()}function J3(e){e.isLayoutDirty=!1}function Q3(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function G0(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function q3(e){e.resolveTargetDelta()}function e6(e){e.calcProjection()}function t6(e){e.resetRotation()}function n6(e){e.removeLeadSnapshot()}function R0(e,t,n){e.translate=Re(t.translate,0,n),e.scale=Re(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function z0(e,t,n,r){e.min=Re(t.min,n.min,r),e.max=Re(t.max,n.max,r)}function r6(e,t,n,r){z0(e.x,t.x,n.x,r),z0(e.y,t.y,n.y,r)}function o6(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}const a6={duration:.45,ease:[.4,0,.1,1]},H0=e=>typeof navigator<"u"&&navigator.userAgent.toLowerCase().includes(e),X0=H0("applewebkit/")&&!H0("chrome/")?Math.round:ze;function Z0(e){e.min=X0(e.min),e.max=X0(e.max)}function i6(e){Z0(e.x),Z0(e.y)}function Y0(e,t,n){return e==="position"||e==="preserve-aspect"&&!Xl(L0(t),L0(n),.2)}const s6=W0({attachResizeListener:(e,t)=>nn(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),Jl={current:void 0},U0=W0({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!Jl.current){const e=new s6({});e.mount(window),e.setOptions({layoutScroll:!0}),Jl.current=e}return Jl.current},resetTransform:(e,t)=>{e.style.transform=t!==void 0?t:"none"},checkIsScrollRoot:e=>window.getComputedStyle(e).position==="fixed"}),l6={pan:{Feature:E3},drag:{Feature:I3,ProjectionNode:U0,MeasureLayout:I0}},u6=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/;function c6(e){const t=u6.exec(e);if(!t)return[,];const[,n,r]=t;return[n,r]}const d6=4;function Ql(e,t,n=1){kt(n<=d6,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`);const[r,o]=c6(e);if(!r)return;const a=window.getComputedStyle(t).getPropertyValue(r);if(a){const i=a.trim();return Yp(i)?parseFloat(i):i}else return pl(o)?Ql(o,t,n+1):o}function f6(e,{...t},n){const r=e.current;if(!(r instanceof Element))return{target:t,transitionEnd:n};n&&(n={...n}),e.values.forEach(o=>{const a=o.get();if(!pl(a))return;const i=Ql(a,r);i&&o.set(i)});for(const o in t){const a=t[o];if(!pl(a))continue;const i=Ql(a,r);i&&(t[o]=i,n||(n={}),n[o]===void 0&&(n[o]=a))}return{target:t,transitionEnd:n}}const p6=new Set(["width","height","top","left","right","bottom","x","y","translateX","translateY"]),K0=e=>p6.has(e),m6=e=>Object.keys(e).some(K0),pi=e=>e===zn||e===fe,J0=(e,t)=>parseFloat(e.split(", ")[t]),Q0=(e,t)=>(n,{transform:r})=>{if(r==="none"||!r)return 0;const o=r.match(/^matrix3d\((.+)\)$/);if(o)return J0(o[1],t);{const a=r.match(/^matrix\((.+)\)$/);return a?J0(a[1],e):0}},h6=new Set(["x","y","z"]),g6=bo.filter(e=>!h6.has(e));function b6(e){const t=[];return g6.forEach(n=>{const r=e.getValue(n);r!==void 0&&(t.push([n,r.get()]),r.set(n.startsWith("scale")?1:0))}),t.length&&e.render(),t}const Nr={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:Q0(4,13),y:Q0(5,14)};Nr.translateX=Nr.x,Nr.translateY=Nr.y;const v6=(e,t,n)=>{const r=t.measureViewportBox(),o=t.current,a=getComputedStyle(o),{display:i}=a,s={};i==="none"&&t.setStaticValue("display",e.display||"block"),n.forEach(u=>{s[u]=Nr[u](r,a)}),t.render();const l=t.measureViewportBox();return n.forEach(u=>{const c=t.getValue(u);c&&c.jump(s[u]),e[u]=Nr[u](l,a)}),e},y6=(e,t,n={},r={})=>{t={...t},r={...r};const o=Object.keys(t).filter(K0);let a=[],i=!1;const s=[];if(o.forEach(l=>{const u=e.getValue(l);if(!e.hasValue(l))return;let c=n[l],d=So(c);const p=t[l];let m;if(ei(p)){const h=p.length,g=p[0]===null?1:0;c=p[g],d=So(c);for(let b=g;b<h&&p[b]!==null;b++)m?kt(So(p[b])===m,"All keyframes must be of the same type"):(m=So(p[b]),kt(m===d||pi(d)&&pi(m),"Keyframes must be of the same dimension as the current value"))}else m=So(p);if(d!==m)if(pi(d)&&pi(m)){const h=u.get();typeof h=="string"&&u.set(parseFloat(h)),typeof p=="string"?t[l]=parseFloat(p):Array.isArray(p)&&m===fe&&(t[l]=p.map(parseFloat))}else d!=null&&d.transform&&(m!=null&&m.transform)&&(c===0||p===0)?c===0?u.set(m.transform(c)):t[l]=d.transform(p):(i||(a=b6(e),i=!0),s.push(l),r[l]=r[l]!==void 0?r[l]:t[l],u.jump(p))}),s.length){const l=s.indexOf("height")>=0?window.pageYOffset:null,u=v6(t,e,s);return a.length&&a.forEach(([c,d])=>{e.getValue(c).set(d)}),e.render(),Za&&l!==null&&window.scrollTo({top:l}),{target:u,transitionEnd:r}}else return{target:t,transitionEnd:r}};function x6(e,t,n,r){return m6(t)?y6(e,t,n,r):{target:t,transitionEnd:r}}const C6=(e,t,n,r)=>{const o=f6(e,t,r);return t=o.target,r=o.transitionEnd,x6(e,t,n,r)},ql={current:null},q0={current:!1};function w6(){if(q0.current=!0,!!Za)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>ql.current=e.matches;e.addListener(t),t()}else ql.current=!1}function I6(e,t,n){const{willChange:r}=t;for(const o in t){const a=t[o],i=n[o];if(ut(a))e.addValue(o,a),ui(r)&&r.add(o),process.env.NODE_ENV==="development"&&Gl(a.version==="10.16.16",`Attempting to mix Framer Motion versions ${a.version} with 10.16.16 may not work as expected.`);else if(ut(i))e.addValue(o,Ar(a,{owner:e})),ui(r)&&r.remove(o);else if(i!==a)if(e.hasValue(o)){const s=e.getValue(o);!s.hasAnimated&&s.set(a)}else{const s=e.getStaticValue(o);e.addValue(o,Ar(s!==void 0?s:a,{owner:e}))}}for(const o in n)t[o]===void 0&&e.removeValue(o);return t}const e1=new WeakMap,t1=Object.keys(ho),E6=t1.length,n1=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],P6=dl.length;class S6{constructor({parent:t,props:n,presenceContext:r,reducedMotionConfig:o,visualState:a},i={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,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.scheduleRender=()=>Oe.render(this.render,!1,!0);const{latestValues:s,renderState:l}=a;this.latestValues=s,this.baseTarget={...s},this.initialValues=n.initial?{...s}:{},this.renderState=l,this.parent=t,this.props=n,this.presenceContext=r,this.depth=t?t.depth+1:0,this.reducedMotionConfig=o,this.options=i,this.isControllingVariants=Ua(n),this.isVariantNode=Ff(n),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);const{willChange:u,...c}=this.scrapeMotionValuesFromProps(n,{});for(const d in c){const p=c[d];s[d]!==void 0&&ut(p)&&(p.set(s[d],!1),ui(u)&&u.add(d))}}scrapeMotionValuesFromProps(t,n){return{}}mount(t){this.current=t,e1.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)),q0.current||w6(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:ql.current,process.env.NODE_ENV!=="production"&&Gl(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(){e1.delete(this.current),this.projection&&this.projection.unmount(),tn(this.notifyUpdate),tn(this.render),this.valueSubscriptions.forEach(t=>t()),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)this.features[t].unmount();this.current=null}bindToMotionValue(t,n){const r=Rn.has(t),o=n.on("change",i=>{this.latestValues[t]=i,this.props.onUpdate&&Oe.update(this.notifyUpdate,!1,!0),r&&this.projection&&(this.projection.isTransformDirty=!0)}),a=n.on("renderRequest",this.scheduleRender);this.valueSubscriptions.set(t,()=>{o(),a()})}sortNodePosition(t){return!this.current||!this.sortInstanceNodePosition||this.type!==t.type?0:this.sortInstanceNodePosition(this.current,t.current)}loadFeatures({children:t,...n},r,o,a){let i,s;if(process.env.NODE_ENV!=="production"&&o&&r){const l="You have rendered a `motion` component within a `LazyMotion` component. This will break tree shaking. Import and render a `m` component instead.";n.ignoreStrict?wo(!1,l):kt(!1,l)}for(let l=0;l<E6;l++){const u=t1[l],{isEnabled:c,Feature:d,ProjectionNode:p,MeasureLayout:m}=ho[u];p&&(i=p),c(n)&&(!this.features[u]&&d&&(this.features[u]=new d(this)),m&&(s=m))}if(!this.projection&&i){this.projection=new i(this.latestValues,this.parent&&this.parent.projection);const{layoutId:l,layout:u,drag:c,dragConstraints:d,layoutScroll:p,layoutRoot:m}=n;this.projection.setOptions({layoutId:l,layout:u,alwaysMeasureLayout:!!c||d&&Sr(d),visualElement:this,scheduleRender:()=>this.scheduleRender(),animationType:typeof u=="string"?u:"both",initialPromotionConfig:a,layoutScroll:p,layoutRoot:m})}return s}updateFeatures(){for(const t in this.features){const n=this.features[t];n.isMounted?n.update():(n.mount(),n.isMounted=!0)}}triggerBuild(){this.build(this.renderState,this.latestValues,this.options,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):Ye()}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,n){this.latestValues[t]=n}makeTargetAnimatable(t,n=!0){return this.makeTargetAnimatableFromInstance(t,this.props,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<n1.length;r++){const o=n1[r];this.propEventSubscriptions[o]&&(this.propEventSubscriptions[o](),delete this.propEventSubscriptions[o]);const a=t["on"+o];a&&(this.propEventSubscriptions[o]=this.on(o,a))}this.prevMotionValues=I6(this,this.scrapeMotionValuesFromProps(t,this.prevProps),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}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}getVariantContext(t=!1){if(t)return this.parent?this.parent.getVariantContext():void 0;if(!this.isControllingVariants){const r=this.parent?this.parent.getVariantContext()||{}:{};return this.props.initial!==void 0&&(r.initial=this.props.initial),r}const n={};for(let r=0;r<P6;r++){const o=dl[r],a=this.props[o];(mo(a)||a===!1)&&(n[o]=a)}return n}addVariantChild(t){const n=this.getClosestVariantNode();if(n)return n.variantChildren&&n.variantChildren.add(t),()=>n.variantChildren.delete(t)}addValue(t,n){n!==this.values.get(t)&&(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=Ar(n,{owner:this}),this.addValue(t,r)),r}readValue(t){var n;return this.latestValues[t]!==void 0||!this.current?this.latestValues[t]:(n=this.getBaseTargetFromProps(this.props,t))!==null&&n!==void 0?n:this.readValueFromInstance(this.current,t,this.options)}setBaseTarget(t,n){this.baseTarget[t]=n}getBaseTarget(t){var n;const{initial:r}=this.props,o=typeof r=="string"||typeof r=="object"?(n=yl(this.props,r))===null||n===void 0?void 0:n[t]:void 0;if(r&&o!==void 0)return o;const a=this.getBaseTargetFromProps(this.props,t);return a!==void 0&&!ut(a)?a:this.initialValues[t]!==void 0&&o===void 0?void 0:this.baseTarget[t]}on(t,n){return this.events[t]||(this.events[t]=new _l),this.events[t].add(n)}notify(t,...n){this.events[t]&&this.events[t].notify(...n)}}class r1 extends S6{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]}makeTargetAnimatableFromInstance({transition:t,transitionEnd:n,...r},{transformValues:o},a){let i=G4(r,t||{},this);if(o&&(n&&(n=o(n)),r&&(r=o(r)),i&&(i=o(i))),a){W4(this,r,i);const s=C6(this,r,i,n);n=s.transitionEnd,r=s.target}return{transition:t,transitionEnd:n,...r}}}function M6(e){return window.getComputedStyle(e)}class A6 extends r1{readValueFromInstance(t,n){if(Rn.has(n)){const r=Ll(n);return r&&r.default||0}else{const r=M6(t),o=(_f(n)?r.getPropertyValue(n):r[n])||0;return typeof o=="string"?o.trim():o}}measureInstanceViewportBox(t,{transformPagePoint:n}){return y0(t,n)}build(t,n,r,o){ml(t,n,r,o.transformTemplate)}scrapeMotionValuesFromProps(t,n){return vl(t,n)}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:t}=this.props;ut(t)&&(this.childSubscription=t.on("change",n=>{this.current&&(this.current.textContent=`${n}`)}))}renderInstance(t,n,r,o){Kf(t,n,r,o)}}class T6 extends r1{constructor(){super(...arguments),this.isSVGTag=!1}getBaseTargetFromProps(t,n){return t[n]}readValueFromInstance(t,n){if(Rn.has(n)){const r=Ll(n);return r&&r.default||0}return n=Jf.has(n)?n:ul(n),t.getAttribute(n)}measureInstanceViewportBox(){return Ye()}scrapeMotionValuesFromProps(t,n){return qf(t,n)}build(t,n,r,o){gl(t,n,r,this.isSVGTag,o.transformTemplate)}renderInstance(t,n,r,o){Qf(t,n,r,o)}mount(t){this.isSVGTag=bl(t.tagName),super.mount(t)}}const D6=(e,t)=>fl(e)?new T6(t,{enableHardwareAcceleration:!1}):new A6(t,{enableHardwareAcceleration:!0}),N6={...r3,...A5,...l6,...{layout:{ProjectionNode:U0,MeasureLayout:I0}}},o1=Vy((e,t)=>h5(e,t,N6,D6));function a1(){const e=f.useRef(!1);return ll(()=>(e.current=!0,()=>{e.current=!1}),[]),e}function i1(){const e=a1(),[t,n]=f.useState(0),r=f.useCallback(()=>{e.current&&n(t+1)},[t]);return[f.useCallback(()=>Oe.postRender(r),[r]),t]}class $6 extends V.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 k6({children:e,isPresent:t}){const n=f.useId(),r=f.useRef(null),o=f.useRef({width:0,height:0,top:0,left:0});return f.useInsertionEffect(()=>{const{width:a,height:i,top:s,left:l}=o.current;if(t||!r.current||!a||!i)return;r.current.dataset.motionPopId=n;const u=document.createElement("style");return document.head.appendChild(u),u.sheet&&u.sheet.insertRule(`
28
+ [data-motion-pop-id="${n}"] {
29
29
  position: absolute !important;
30
30
  width: ${a}px !important;
31
- height: ${s}px !important;
32
- top: ${i}px !important;
31
+ height: ${i}px !important;
32
+ top: ${s}px !important;
33
33
  left: ${l}px !important;
34
34
  }
35
- `),()=>{document.head.removeChild(c)}},[t]),W.createElement(g5,{isPresent:t,childRef:n,sizeRef:o},W.cloneElement(e,{ref:n}))}const Xi=({children:e,initial:t,isPresent:r,onExitComplete:n,custom:o,presenceAffectsLayout:a,mode:s})=>{const i=hd(b5),l=f.useId(),c=f.useMemo(()=>({id:l,initial:t,isPresent:r,custom:o,onExitComplete:u=>{i.set(u,!0);for(const d of i.values())if(!d)return;n&&n()},register:u=>(i.set(u,!1),()=>i.delete(u))}),a?void 0:[r]);return f.useMemo(()=>{i.forEach((u,d)=>i.set(d,!1))},[r]),W.useEffect(()=>{!r&&!i.size&&n&&n()},[r]),s==="popLayout"&&(e=W.createElement(v5,{isPresent:r},e)),W.createElement(pa.Provider,{value:c},e)};function b5(){return new Map}function y5(e){return f.useEffect(()=>()=>e(),[])}const Dr=e=>e.key||"";function x5(e,t){e.forEach(r=>{const n=Dr(r);t.set(n,r)})}function w5(e){const t=[];return f.Children.forEach(e,r=>{f.isValidElement(r)&&t.push(r)}),t}const C5=({children:e,custom:t,initial:r=!0,onExitComplete:n,exitBeforeEnter:o,presenceAffectsLayout:a=!0,mode:s="sync"})=>{xt(!o,"Replace exitBeforeEnter with mode='wait'");const i=f.useContext(Rn).forceRender||wp()[0],l=xp(),c=w5(e);let u=c;const d=f.useRef(new Map).current,p=f.useRef(u),h=f.useRef(new Map).current,g=f.useRef(!0);if(ai(()=>{g.current=!1,x5(c,h),p.current=u}),y5(()=>{g.current=!0,h.clear(),d.clear()}),g.current)return W.createElement(W.Fragment,null,u.map(x=>W.createElement(Xi,{key:Dr(x),isPresent:!0,initial:r?void 0:!1,presenceAffectsLayout:a,mode:s},x)));u=[...u];const v=p.current.map(Dr),b=c.map(Dr),P=v.length;for(let x=0;x<P;x++){const w=v[x];b.indexOf(w)===-1&&!d.has(w)&&d.set(w,void 0)}return s==="wait"&&d.size&&(u=[]),d.forEach((x,w)=>{if(b.indexOf(w)!==-1)return;const T=h.get(w);if(!T)return;const $=v.indexOf(w);let E=x;if(!E){const A=()=>{d.delete(w);const m=Array.from(h.keys()).filter(k=>!b.includes(k));if(m.forEach(k=>h.delete(k)),p.current=c.filter(k=>{const I=Dr(k);return I===w||m.includes(I)}),!d.size){if(l.current===!1)return;i(),n&&n()}};E=W.createElement(Xi,{key:Dr(T),isPresent:!1,onExitComplete:A,custom:t,presenceAffectsLayout:a,mode:s},T),d.set(w,E)}u.splice($,0,E)}),u=u.map(x=>{const w=x.key;return d.has(w)?x:W.createElement(Xi,{key:Dr(x),isPresent:!0,presenceAffectsLayout:a,mode:s},x)}),process.env.NODE_ENV!=="production"&&s==="wait"&&u.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.`),W.createElement(W.Fragment,null,d.size?u:u.map(x=>f.cloneElement(x)))},P5=f.createContext(null),M5=e=>!e.isLayoutDirty&&e.willUpdate(!1);function Cp(){const e=new Set,t=new WeakMap,r=()=>e.forEach(M5);return{add:n=>{e.add(n),t.set(n,n.addEventListener("willUpdate",r))},remove:n=>{e.delete(n);const o=t.get(n);o&&(o(),t.delete(n)),r()},dirty:r}}const Pp=e=>e===!0,S5=e=>Pp(e===!0)||e==="id",T5=({children:e,id:t,inherit:r=!0})=>{const n=f.useContext(Rn),o=f.useContext(P5),[a,s]=wp(),i=f.useRef(null),l=n.id||o;i.current===null&&(S5(r)&&l&&(t=t?l+"-"+t:l),i.current={id:t,group:Pp(r)&&n.group||Cp()});const c=f.useMemo(()=>({...i.current,forceRender:a}),[s]);return W.createElement(Rn.Provider,{value:c},e)};function Mp(e){return null}Mp.getCollectionNode=function*(t,r){let{childItems:n,title:o,children:a}=t,s=t.title||t.children,i=t.textValue||(typeof s=="string"?s:"")||t["aria-label"]||"";!i&&!(r!=null&&r.suppressTextValueWarning)&&console.warn("<Item> with non-plain text contents is unsupported by type to select for accessibility. Please add a `textValue` prop."),yield{type:"item",props:t,rendered:s,textValue:i,"aria-label":t["aria-label"],hasChildNodes:E5(t),*childNodes(){if(n)for(let l of n)yield{type:"item",value:l};else if(o){let l=[];f.Children.forEach(a,c=>{l.push({type:"item",element:c})}),yield*l}}}};function E5(e){return e.hasChildItems!=null?e.hasChildItems:!!(e.childItems||e.title&&f.Children.count(e.children)>0)}let $5=Mp;class D5{build(t,r){return this.context=r,Sp(()=>this.iterateCollection(t))}*iterateCollection(t){let{children:r,items:n}=t;if(typeof r=="function"){if(!n)throw new Error("props.children was a function but props.items is missing");for(let o of t.items)yield*this.getFullNode({value:o},{renderer:r})}else{let o=[];f.Children.forEach(r,s=>{o.push(s)});let a=0;for(let s of o){let i=this.getFullNode({element:s,index:a},{});for(let l of i)a++,yield l}}}getKey(t,r,n,o){if(t.key!=null)return t.key;if(r.type==="cell"&&r.key!=null)return`${o}${r.key}`;let a=r.value;if(a!=null){var s;let i=(s=a.key)!==null&&s!==void 0?s:a.id;if(i==null)throw new Error("No key found for item");return i}return o?`${o}.${r.index}`:`$.${r.index}`}getChildState(t,r){return{renderer:r.renderer||t.renderer}}*getFullNode(t,r,n,o){let a=t.element;if(!a&&t.value&&r&&r.renderer){let l=this.cache.get(t.value);if(l&&(!l.shouldInvalidate||!l.shouldInvalidate(this.context))){l.index=t.index,l.parentKey=o?o.key:null,yield l;return}a=r.renderer(t.value)}if(f.isValidElement(a)){let l=a.type;if(typeof l!="function"&&typeof l.getCollectionNode!="function"){let p=typeof a.type=="function"?a.type.name:a.type;throw new Error(`Unknown element <${p}> in collection.`)}let c=l.getCollectionNode(a.props,this.context),u=t.index,d=c.next();for(;!d.done&&d.value;){let p=d.value;t.index=u;let h=p.key;h||(h=p.element?null:this.getKey(a,t,r,n));let v=[...this.getFullNode({...p,key:h,index:u,wrapper:k5(t.wrapper,p.wrapper)},this.getChildState(r,p),n?`${n}${a.key}`:a.key,o)];for(let b of v){if(b.value=p.value||t.value,b.value&&this.cache.set(b.value,b),t.type&&b.type!==t.type)throw new Error(`Unsupported type <${Zi(b.type)}> in <${Zi(o.type)}>. Only <${Zi(t.type)}> is supported.`);u++,yield b}d=c.next(v)}return}if(t.key==null)return;let s=this,i={type:t.type,props:t.props,key:t.key,parentKey:o?o.key:null,value:t.value,level:o?o.level+1:0,index:t.index,rendered:t.rendered,textValue:t.textValue,"aria-label":t["aria-label"],wrapper:t.wrapper,shouldInvalidate:t.shouldInvalidate,hasChildNodes:t.hasChildNodes,childNodes:Sp(function*(){if(!t.hasChildNodes)return;let l=0;for(let c of t.childNodes()){c.key!=null&&(c.key=`${i.key}${c.key}`),c.index=l;let u=s.getFullNode(c,s.getChildState(r,c),i.key,i);for(let d of u)l++,yield d}})};yield i}constructor(){this.cache=new WeakMap}}function Sp(e){let t=[],r=null;return{*[Symbol.iterator](){for(let n of t)yield n;r||(r=e());for(let n of r)t.push(n),yield n}}}function k5(e,t){if(e&&t)return r=>e(t(r));if(e)return e;if(t)return t}function Zi(e){return e[0].toUpperCase()+e.slice(1)}function I5(e,t,r){let n=f.useMemo(()=>new D5,[]),{children:o,items:a,collection:s}=e;return f.useMemo(()=>{if(s)return s;let l=n.build({children:o,items:a},r);return t(l)},[n,o,a,s,r,t])}function A5(e,t){return typeof t.getChildren=="function"?t.getChildren(e.key):e.childNodes}function N5(e){return O5(e,0)}function O5(e,t){if(t<0)return;let r=0;for(let n of e){if(r===t)return n;r++}}function Ji(e,t,r){if(t.parentKey===r.parentKey)return t.index-r.index;let n=[...Tp(e,t),t],o=[...Tp(e,r),r],a=n.slice(0,o.length).findIndex((s,i)=>s!==o[i]);return a!==-1?(t=n[a],r=o[a],t.index-r.index):n.findIndex(s=>s===r)>=0?1:(o.findIndex(s=>s===t)>=0,-1)}function Tp(e,t){let r=[];for(;(t==null?void 0:t.parentKey)!=null;)t=e.getItem(t.parentKey),r.unshift(t);return r}class wt extends Set{constructor(t,r,n){super(t),t instanceof wt?(this.anchorKey=r||t.anchorKey,this.currentKey=n||t.currentKey):(this.anchorKey=r,this.currentKey=n)}}function j5(e,t){if(e.size!==t.size)return!1;for(let r of e)if(!t.has(r))return!1;return!0}function L5(e){let{selectionMode:t="none",disallowEmptySelection:r,allowDuplicateSelectionEvents:n,selectionBehavior:o="toggle",disabledBehavior:a="all"}=e,s=f.useRef(!1),[,i]=f.useState(!1),l=f.useRef(null),c=f.useRef(null),[,u]=f.useState(null),d=f.useMemo(()=>Ep(e.selectedKeys),[e.selectedKeys]),p=f.useMemo(()=>Ep(e.defaultSelectedKeys,new wt),[e.defaultSelectedKeys]),[h,g]=Hr(d,p,e.onSelectionChange),v=f.useMemo(()=>e.disabledKeys?new Set(e.disabledKeys):new Set,[e.disabledKeys]),[b,P]=f.useState(o);o==="replace"&&b==="toggle"&&typeof h=="object"&&h.size===0&&P("replace");let x=f.useRef(o);return f.useEffect(()=>{o!==x.current&&(P(o),x.current=o)},[o]),{selectionMode:t,disallowEmptySelection:r,selectionBehavior:b,setSelectionBehavior:P,get isFocused(){return s.current},setFocused(w){s.current=w,i(w)},get focusedKey(){return l.current},get childFocusStrategy(){return c.current},setFocusedKey(w,T="first"){l.current=w,c.current=T,u(w)},selectedKeys:h,setSelectedKeys(w){(n||!j5(w,h))&&g(w)},disabledKeys:v,disabledBehavior:a}}function Ep(e,t){return e?e==="all"?"all":new wt(e):t}class _5{get selectionMode(){return this.state.selectionMode}get disallowEmptySelection(){return this.state.disallowEmptySelection}get selectionBehavior(){return this.state.selectionBehavior}setSelectionBehavior(t){this.state.setSelectionBehavior(t)}get isFocused(){return this.state.isFocused}setFocused(t){this.state.setFocused(t)}get focusedKey(){return this.state.focusedKey}get childFocusStrategy(){return this.state.childFocusStrategy}setFocusedKey(t,r){(t==null||this.collection.getItem(t))&&this.state.setFocusedKey(t,r)}get selectedKeys(){return this.state.selectedKeys==="all"?new Set(this.getSelectAllKeys()):this.state.selectedKeys}get rawSelection(){return this.state.selectedKeys}isSelected(t){return this.state.selectionMode==="none"?!1:(t=this.getKey(t),this.state.selectedKeys==="all"?this.canSelectItem(t):this.state.selectedKeys.has(t))}get isEmpty(){return this.state.selectedKeys!=="all"&&this.state.selectedKeys.size===0}get isSelectAll(){if(this.isEmpty)return!1;if(this.state.selectedKeys==="all")return!0;if(this._isSelectAll!=null)return this._isSelectAll;let t=this.getSelectAllKeys(),r=this.state.selectedKeys;return this._isSelectAll=t.every(n=>r.has(n)),this._isSelectAll}get firstSelectedKey(){let t=null;for(let r of this.state.selectedKeys){let n=this.collection.getItem(r);(!t||n&&Ji(this.collection,n,t)<0)&&(t=n)}return t==null?void 0:t.key}get lastSelectedKey(){let t=null;for(let r of this.state.selectedKeys){let n=this.collection.getItem(r);(!t||n&&Ji(this.collection,n,t)>0)&&(t=n)}return t==null?void 0:t.key}get disabledKeys(){return this.state.disabledKeys}get disabledBehavior(){return this.state.disabledBehavior}extendSelection(t){if(this.selectionMode==="none")return;if(this.selectionMode==="single"){this.replaceSelection(t);return}t=this.getKey(t);let r;if(this.state.selectedKeys==="all")r=new wt([t],t,t);else{let n=this.state.selectedKeys,o=n.anchorKey||t;r=new wt(n,o,t);for(let a of this.getKeyRange(o,n.currentKey||t))r.delete(a);for(let a of this.getKeyRange(t,o))this.canSelectItem(a)&&r.add(a)}this.state.setSelectedKeys(r)}getKeyRange(t,r){let n=this.collection.getItem(t),o=this.collection.getItem(r);return n&&o?Ji(this.collection,n,o)<=0?this.getKeyRangeInternal(t,r):this.getKeyRangeInternal(r,t):[]}getKeyRangeInternal(t,r){let n=[],o=t;for(;o;){let a=this.collection.getItem(o);if((a&&a.type==="item"||a.type==="cell"&&this.allowsCellSelection)&&n.push(o),o===r)return n;o=this.collection.getKeyAfter(o)}return[]}getKey(t){let r=this.collection.getItem(t);if(!r||r.type==="cell"&&this.allowsCellSelection)return t;for(;r.type!=="item"&&r.parentKey!=null;)r=this.collection.getItem(r.parentKey);return!r||r.type!=="item"?null:r.key}toggleSelection(t){if(this.selectionMode==="none")return;if(this.selectionMode==="single"&&!this.isSelected(t)){this.replaceSelection(t);return}if(t=this.getKey(t),t==null)return;let r=new wt(this.state.selectedKeys==="all"?this.getSelectAllKeys():this.state.selectedKeys);r.has(t)?r.delete(t):this.canSelectItem(t)&&(r.add(t),r.anchorKey=t,r.currentKey=t),!(this.disallowEmptySelection&&r.size===0)&&this.state.setSelectedKeys(r)}replaceSelection(t){if(this.selectionMode==="none"||(t=this.getKey(t),t==null))return;let r=this.canSelectItem(t)?new wt([t],t,t):new wt;this.state.setSelectedKeys(r)}setSelectedKeys(t){if(this.selectionMode==="none")return;let r=new wt;for(let n of t)if(n=this.getKey(n),n!=null&&(r.add(n),this.selectionMode==="single"))break;this.state.setSelectedKeys(r)}getSelectAllKeys(){let t=[],r=n=>{for(;n;){if(this.canSelectItem(n)){let o=this.collection.getItem(n);o.type==="item"&&t.push(n),o.hasChildNodes&&(this.allowsCellSelection||o.type!=="item")&&r(N5(A5(o,this.collection)).key)}n=this.collection.getKeyAfter(n)}};return r(this.collection.getFirstKey()),t}selectAll(){!this.isSelectAll&&this.selectionMode==="multiple"&&this.state.setSelectedKeys("all")}clearSelection(){!this.disallowEmptySelection&&(this.state.selectedKeys==="all"||this.state.selectedKeys.size>0)&&this.state.setSelectedKeys(new wt)}toggleSelectAll(){this.isSelectAll?this.clearSelection():this.selectAll()}select(t,r){this.selectionMode!=="none"&&(this.selectionMode==="single"?this.isSelected(t)&&!this.disallowEmptySelection?this.toggleSelection(t):this.replaceSelection(t):this.selectionBehavior==="toggle"||r&&(r.pointerType==="touch"||r.pointerType==="virtual")?this.toggleSelection(t):this.replaceSelection(t))}isSelectionEqual(t){if(t===this.state.selectedKeys)return!0;let r=this.selectedKeys;if(t.size!==r.size)return!1;for(let n of t)if(!r.has(n))return!1;for(let n of r)if(!t.has(n))return!1;return!0}canSelectItem(t){if(this.state.selectionMode==="none"||this.state.disabledKeys.has(t))return!1;let r=this.collection.getItem(t);return!(!r||r.type==="cell"&&!this.allowsCellSelection)}isDisabled(t){return this.state.disabledKeys.has(t)&&this.state.disabledBehavior==="all"}isLink(t){var r,n;return!!(!((n=this.collection.getItem(t))===null||n===void 0||(r=n.props)===null||r===void 0)&&r.href)}constructor(t,r,n){this.collection=t,this.state=r;var o;this.allowsCellSelection=(o=n==null?void 0:n.allowsCellSelection)!==null&&o!==void 0?o:!1,this._isSelectAll=null}}var F5=()=>L.jsxs("svg",{"aria-hidden":"true",fill:"none",height:"80%",role:"presentation",viewBox:"0 0 24 24",width:"80%",children:[L.jsx("path",{d:"M12 2C9.38 2 7.25 4.13 7.25 6.75C7.25 9.32 9.26 11.4 11.88 11.49C11.96 11.48 12.04 11.48 12.1 11.49C12.12 11.49 12.13 11.49 12.15 11.49C12.16 11.49 12.16 11.49 12.17 11.49C14.73 11.4 16.74 9.32 16.75 6.75C16.75 4.13 14.62 2 12 2Z",fill:"currentColor"}),L.jsx("path",{d:"M17.0809 14.1489C14.2909 12.2889 9.74094 12.2889 6.93094 14.1489C5.66094 14.9989 4.96094 16.1489 4.96094 17.3789C4.96094 18.6089 5.66094 19.7489 6.92094 20.5889C8.32094 21.5289 10.1609 21.9989 12.0009 21.9989C13.8409 21.9989 15.6809 21.5289 17.0809 20.5889C18.3409 19.7389 19.0409 18.5989 19.0409 17.3589C19.0309 16.1289 18.3409 14.9889 17.0809 14.1489Z",fill:"currentColor"})]}),[eP,V5]=ia({name:"AvatarGroupContext",strict:!1}),z5=globalThis!=null&&globalThis.document?f.useLayoutEffect:f.useEffect;function W5(e={}){const{loading:t,src:r,srcSet:n,onLoad:o,onError:a,crossOrigin:s,sizes:i,ignoreFallback:l}=e,[c,u]=f.useState("pending");f.useEffect(()=>{u(r?"loading":"pending")},[r]);const d=f.useRef(),p=f.useCallback(()=>{if(!r)return;h();const g=new Image;g.src=r,s&&(g.crossOrigin=s),n&&(g.srcset=n),i&&(g.sizes=i),t&&(g.loading=t),g.onload=v=>{h(),u("loaded"),o==null||o(v)},g.onerror=v=>{h(),u("failed"),a==null||a(v)},d.current=g},[r,s,n,i,o,a,t]),h=()=>{d.current&&(d.current.onload=null,d.current.onerror=null,d.current=null)};return z5(()=>{if(!l)return c==="loading"&&p(),()=>{h()}},[c,p,l]),l?"loaded":c}function B5(e={}){var t,r,n,o,a;const s=V5(),i=!!s,{as:l,ref:c,src:u,name:d,icon:p,classNames:h,fallback:g,alt:v=d||"avatar",imgRef:b,color:P=(t=s==null?void 0:s.color)!=null?t:"default",radius:x=(r=s==null?void 0:s.radius)!=null?r:"full",size:w=(n=s==null?void 0:s.size)!=null?n:"md",isBordered:T=(o=s==null?void 0:s.isBordered)!=null?o:!1,isDisabled:$=(a=s==null?void 0:s.isDisabled)!=null?a:!1,isFocusable:E=!1,getInitials:A=Kg,ignoreFallback:m=!1,showFallback:k=!1,ImgComponent:I="img",imgProps:S,className:N,onError:C,...M}=e,O=l||"span",_=at(c),D=at(b),{isFocusVisible:z,isFocused:X,focusProps:G}=Et(),{isHovered:U,hoverProps:F}=xr({isDisabled:$}),q=W5({src:u,onError:C,ignoreFallback:m})==="loaded",K=(!u||!q)&&k,Q=f.useMemo(()=>{var ge;return Wg({color:P,radius:x,size:w,isBordered:T,isDisabled:$,isInGroup:i,isInGridGroup:(ge=s==null?void 0:s.isGrid)!=null?ge:!1})},[P,x,w,T,$,i,s==null?void 0:s.isGrid]),ne=ve(h==null?void 0:h.base,N),le=f.useMemo(()=>E||l==="button",[E,l]),ce=f.useCallback((ge={})=>({ref:_,tabIndex:le?0:-1,"data-hover":ee(U),"data-focus":ee(X),"data-focus-visible":ee(z),className:Q.base({class:ve(ne,ge==null?void 0:ge.className)}),...de(M,F,le?G:{})}),[le,Q,ne,G,M]),ue=f.useCallback((ge={})=>({ref:D,src:u,"data-loaded":ee(q),className:Q.img({class:h==null?void 0:h.img}),...de(S,ge)}),[Q,q,S,u,D]);return{Component:O,ImgComponent:I,src:u,alt:v,icon:p,name:d,imgRef:D,slots:Q,classNames:h,fallback:g,isImgLoaded:q,showFallback:K,ignoreFallback:m,getInitials:A,getAvatarProps:ce,getImageProps:ue}}var $p=yt((e,t)=>{const{Component:r,ImgComponent:n,src:o,icon:a=L.jsx(F5,{}),alt:s,classNames:i,slots:l,name:c,showFallback:u,fallback:d,getInitials:p,getAvatarProps:h,getImageProps:g}=B5({...e,ref:t}),v=f.useMemo(()=>!u&&o?null:d?L.jsx("div",{"aria-label":s,className:l.fallback({class:i==null?void 0:i.fallback}),role:"img",children:d}):c?L.jsx("span",{"aria-label":s,className:l.name({class:i==null?void 0:i.name}),role:"img",children:p(c)}):L.jsx("span",{"aria-label":s,className:l.icon({class:i==null?void 0:i.icon}),role:"img",children:a}),[u,o,d,c,i]);return L.jsxs(r,{...h(),children:[o&&L.jsx(n,{...g(),alt:s}),v]})});$p.displayName="NextUI.Avatar";var K5=$p,[tP,R5]=ia({name:"ButtonGroupContext",strict:!1});function U5(e,t){let{elementType:r="button",isDisabled:n,onPress:o,onPressStart:a,onPressEnd:s,onPressChange:i,preventFocusOnPress:l,allowFocusWhenDisabled:c,onClick:u,href:d,target:p,rel:h,type:g="button",allowTextSelectionOnPress:v}=e,b;r==="button"?b={type:g,disabled:n}:b={role:"button",tabIndex:n?void 0:0,href:r==="a"&&n?void 0:d,target:r==="a"?p:void 0,type:r==="input"?g:void 0,disabled:r==="input"?n:void 0,"aria-disabled":!n||r==="input"?void 0:n,rel:r==="a"?h:void 0};let{pressProps:P,isPressed:x}=Wn({onPressStart:a,onPressEnd:s,onPressChange:i,onPress:o,isDisabled:n,preventFocusOnPress:l,allowTextSelectionOnPress:v,ref:t}),{focusableProps:w}=na(e,t);c&&(w.tabIndex=n?-1:w.tabIndex);let T=de(w,P,qr(e,{labelable:!0}));return{isPressed:x,buttonProps:de(b,T,{"aria-haspopup":e["aria-haspopup"],"aria-expanded":e["aria-expanded"],"aria-controls":e["aria-controls"],"aria-pressed":e["aria-pressed"],onClick:$=>{u==null||u($)}})}}var G5=(e,t,r)=>Math.min(Math.max(e,t),r),Dp=e=>{const{ripples:t=[],motionProps:r,color:n="currentColor",style:o,onClear:a}=e;return L.jsx(L.Fragment,{children:t.map(s=>{const i=G5(.01*s.size,.2,s.size>100?.75:.5);return L.jsx(C5,{mode:"popLayout",children:L.jsx(yp.span,{animate:{transform:"scale(2)",opacity:0},className:"nextui-ripple",exit:{opacity:0},initial:{transform:"scale(0)",opacity:.35},style:{position:"absolute",backgroundColor:n,borderRadius:"100%",transformOrigin:"center",pointerEvents:"none",zIndex:10,top:s.y,left:s.x,width:`${s.size}px`,height:`${s.size}px`,...o},transition:{duration:i},onAnimationComplete:()=>{a(s.key)},...r})},s.key)})})};Dp.displayName="NextUI.Ripple";var H5=Dp;function Y5(e={}){const[t,r]=f.useState([]),n=f.useCallback(a=>{const s=a.currentTarget,i=Math.max(s.clientWidth,s.clientHeight),l=s.getBoundingClientRect();r(c=>[...c,{key:Rg(c.length.toString()),size:i,x:a.clientX-l.x-i/2,y:a.clientY-l.y-i/2}])},[]),o=f.useCallback(a=>{r(s=>s.filter(i=>i.key!==a))},[]);return{ripples:t,onClick:n,onClear:o,...e}}function q5(e){var t,r,n,o,a,s,i,l;const c=R5(),u=!!c,{ref:d,as:p,children:h,startContent:g,endContent:v,autoFocus:b,className:P,spinner:x,fullWidth:w=(t=c==null?void 0:c.fullWidth)!=null?t:!1,size:T=(r=c==null?void 0:c.size)!=null?r:"md",color:$=(n=c==null?void 0:c.color)!=null?n:"default",variant:E=(o=c==null?void 0:c.variant)!=null?o:"solid",disableAnimation:A=(a=c==null?void 0:c.disableAnimation)!=null?a:!1,radius:m=c==null?void 0:c.radius,disableRipple:k=(s=c==null?void 0:c.disableRipple)!=null?s:!1,isDisabled:I=(i=c==null?void 0:c.isDisabled)!=null?i:!1,isIconOnly:S=(l=c==null?void 0:c.isIconOnly)!=null?l:!1,isLoading:N=!1,spinnerPlacement:C="start",onPress:M,onClick:O,..._}=e,D=p||"button",z=typeof D=="string",X=at(d),{isFocusVisible:G,isFocused:U,focusProps:F}=Et({autoFocus:b}),B=I||N,q=f.useMemo(()=>Bg({size:T,color:$,variant:E,radius:m,fullWidth:w,isDisabled:B,isInGroup:u,disableAnimation:A,isIconOnly:S,className:P}),[T,$,E,m,w,B,u,S,A,P]),{onClick:K,onClear:Q,ripples:ne}=Y5(),le=f.useCallback(Ie=>{k||B||A||X.current&&K(Ie)},[k,B,A,X,K]),{buttonProps:ce,isPressed:ue}=U5({elementType:p,isDisabled:B,onPress:M,onClick:gr(O,le),..._},X),{isHovered:ge,hoverProps:Se}=xr({isDisabled:B}),Te=f.useCallback((Ie={})=>({"data-disabled":ee(B),"data-focus":ee(U),"data-pressed":ee(ue),"data-focus-visible":ee(G),"data-hover":ee(ge),"data-loading":ee(N),...de(ce,F,Se,zn(_,{enabled:z}),zn(Ie))}),[N,B,U,ue,z,G,ge,ce,F,Se,_]),se=Ie=>f.isValidElement(Ie)?f.cloneElement(Ie,{"aria-hidden":!0,focusable:!1,tabIndex:-1}):null,te=se(g),je=se(v),Fe=f.useMemo(()=>({sm:"sm",md:"sm",lg:"md"})[T],[T]),Ve=f.useCallback(()=>({ripples:ne,onClear:Q}),[ne,Q]);return{Component:D,children:h,domRef:X,spinner:x,styles:q,startContent:te,endContent:je,isLoading:N,spinnerPlacement:C,spinnerSize:Fe,disableRipple:k,getButtonProps:Te,getRippleProps:Ve,isIconOnly:S}}function Q5(e){const[t,r]=Fn(e,$u.variantKeys),{children:n,className:o,classNames:a,label:s,...i}=t,l=f.useMemo(()=>$u({...r}),[...Object.values(r)]),c=ve(a==null?void 0:a.base,o),u=s||n,d=f.useMemo(()=>u&&typeof u=="string"?u:i["aria-label"]?"":"Loading",[n,u,i["aria-label"]]),p=f.useCallback(()=>({"aria-label":d,className:l.base({class:c}),...i}),[d,l,c,i]);return{label:u,slots:l,classNames:a,getSpinnerProps:p}}var kp=yt((e,t)=>{const{slots:r,classNames:n,label:o,getSpinnerProps:a}=Q5({...e});return L.jsxs("div",{ref:t,...a(),children:[L.jsxs("div",{className:r.wrapper({class:n==null?void 0:n.wrapper}),children:[L.jsx("i",{className:r.circle1({class:n==null?void 0:n.circle1})}),L.jsx("i",{className:r.circle2({class:n==null?void 0:n.circle2})})]}),o&&L.jsx("span",{className:r.label(),children:o})]})});kp.displayName="NextUI.Spinner";var X5=kp,Ip=yt((e,t)=>{const{Component:r,domRef:n,children:o,styles:a,spinnerSize:s,spinner:i=L.jsx(X5,{color:"current",size:s}),spinnerPlacement:l,startContent:c,endContent:u,isLoading:d,disableRipple:p,getButtonProps:h,getRippleProps:g,isIconOnly:v}=q5({...e,ref:t});return L.jsxs(r,{ref:n,className:a,...h(),children:[c,d&&l==="start"&&i,d&&v?null:o,d&&l==="end"&&i,u,!p&&L.jsx(H5,{...g()})]})});Ip.displayName="NextUI.Button";var Z5=Ip;function J5(e){const[t,r]=Fn(e,Au.variantKeys),{ref:n,as:o,children:a,avatar:s,startContent:i,endContent:l,onClose:c,classNames:u,className:d,...p}=t,h=o||"div",g=at(n),v=ve(u==null?void 0:u.base,d),b=!!c,P=e.variant==="dot",{focusProps:x,isFocusVisible:w}=Et(),T=f.useMemo(()=>typeof a=="string"&&(a==null?void 0:a.length)===1,[a]),$=f.useMemo(()=>!!s||!!i,[s,i]),E=f.useMemo(()=>!!l||b,[l,b]),A=f.useMemo(()=>Au({...r,hasStartContent:$,hasEndContent:E,isOneChar:T,isCloseable:b,isCloseButtonFocusVisible:w}),[...Object.values(r),w,$,E,T,b]),{pressProps:m}=Wn({isDisabled:!!(e!=null&&e.isDisabled),onPress:c}),k=()=>({ref:g,className:A.base({class:v}),...p}),I=()=>({role:"button",tabIndex:0,className:A.closeButton({class:u==null?void 0:u.closeButton}),...de(m,x)}),S=C=>f.isValidElement(C)?f.cloneElement(C,{className:A.avatar({class:u==null?void 0:u.avatar})}):null,N=C=>f.isValidElement(C)?f.cloneElement(C,{className:ve("max-h-[80%]",C.props.className)}):null;return{Component:h,children:a,slots:A,classNames:u,isDot:P,isCloseable:b,startContent:S(s)||N(i),endContent:N(l),getCloseButtonProps:I,getChipProps:k}}var Ap=yt((e,t)=>{const{Component:r,children:n,slots:o,classNames:a,isDot:s,isCloseable:i,startContent:l,endContent:c,getCloseButtonProps:u,getChipProps:d}=J5({...e,ref:t}),p=f.useMemo(()=>s&&!l?L.jsx("span",{className:o.dot({class:a==null?void 0:a.dot})}):l,[o,l,s]),h=f.useMemo(()=>i?L.jsx("span",{...u(),children:c||L.jsx(fv,{})}):c,[c,i,u]);return L.jsxs(r,{...d(),children:[p,L.jsx("span",{className:o.content({class:a==null?void 0:a.content}),children:n}),h]})});Ap.displayName="NextUI.Chip";var Np=Ap;function el(e,t,r){let{validationBehavior:n,focus:o}=e;Ot(()=>{if(n==="native"&&(r!=null&&r.current)){let l=t.realtimeValidation.isInvalid?t.realtimeValidation.validationErrors.join(" ")||"Invalid value.":"";r.current.setCustomValidity(l),r.current.hasAttribute("title")||(r.current.title=""),t.realtimeValidation.isInvalid||t.updateValidation(t4(r.current))}});let a=Be(()=>{t.resetValidation()}),s=Be(l=>{var c;t.displayValidation.isInvalid||t.commitValidation();let u=r==null||(c=r.current)===null||c===void 0?void 0:c.form;if(!l.defaultPrevented&&r&&u&&r4(u)===r.current){var d;o?o():(d=r.current)===null||d===void 0||d.focus(),pg("keyboard")}l.preventDefault()}),i=Be(()=>{t.commitValidation()});f.useEffect(()=>{let l=r==null?void 0:r.current;if(!l)return;let c=l.form;return l.addEventListener("invalid",s),l.addEventListener("change",i),c==null||c.addEventListener("reset",a),()=>{l.removeEventListener("invalid",s),l.removeEventListener("change",i),c==null||c.removeEventListener("reset",a)}},[r,s,i,a,n])}function e4(e){let t=e.validity;return{badInput:t.badInput,customError:t.customError,patternMismatch:t.patternMismatch,rangeOverflow:t.rangeOverflow,rangeUnderflow:t.rangeUnderflow,stepMismatch:t.stepMismatch,tooLong:t.tooLong,tooShort:t.tooShort,typeMismatch:t.typeMismatch,valueMissing:t.valueMissing,valid:t.valid}}function t4(e){return{isInvalid:!e.validity.valid,validationDetails:e4(e),validationErrors:e.validationMessage?[e.validationMessage]:[]}}function r4(e){for(let t=0;t<e.elements.length;t++){let r=e.elements[t];if(!r.validity.valid)return r}return null}const Op={badInput:!1,customError:!1,patternMismatch:!1,rangeOverflow:!1,rangeUnderflow:!1,stepMismatch:!1,tooLong:!1,tooShort:!1,typeMismatch:!1,valueMissing:!1,valid:!0},jp={...Op,customError:!0,valid:!1},dn={isInvalid:!1,validationDetails:Op,validationErrors:[]},n4=f.createContext({}),tl="__formValidationState"+Date.now();function ja(e){if(e[tl]){let{realtimeValidation:t,displayValidation:r,updateValidation:n,resetValidation:o,commitValidation:a}=e[tl];return{realtimeValidation:t,displayValidation:r,updateValidation:n,resetValidation:o,commitValidation:a}}return o4(e)}function o4(e){let{isInvalid:t,validationState:r,name:n,value:o,builtinValidation:a,validate:s,validationBehavior:i="aria"}=e;r&&(t||(t=r==="invalid"));let l=t?{isInvalid:!0,validationErrors:[],validationDetails:jp}:null,c=f.useMemo(()=>Lp(a4(s,o)),[s,o]);a!=null&&a.validationDetails.valid&&(a=null);let u=f.useContext(n4),d=f.useMemo(()=>n?Array.isArray(n)?n.flatMap(I=>rl(u[I])):rl(u[n]):[],[u,n]),[p,h]=f.useState(u),[g,v]=f.useState(!1);u!==p&&(h(u),v(!1));let b=f.useMemo(()=>Lp(g?[]:d),[g,d]),P=f.useRef(dn),[x,w]=f.useState(dn),T=f.useRef(dn),$=()=>{if(!E)return;A(!1);let I=c||a||P.current;nl(I,T.current)||(T.current=I,w(I))},[E,A]=f.useState(!1);return f.useEffect($),{realtimeValidation:l||b||c||a||dn,displayValidation:i==="native"?l||b||x:l||b||c||a||x,updateValidation(I){i==="aria"&&!nl(x,I)?w(I):P.current=I},resetValidation(){let I=dn;nl(I,T.current)||(T.current=I,w(I)),i==="native"&&A(!1),v(!0)},commitValidation(){i==="native"&&A(!0),v(!0)}}}function rl(e){return e?Array.isArray(e)?e:[e]:[]}function a4(e,t){if(typeof e=="function"){let r=e(t);if(r&&typeof r!="boolean")return rl(r)}return[]}function Lp(e){return e.length?{isInvalid:!0,validationErrors:e,validationDetails:jp}:null}function nl(e,t){return e===t?!0:e&&t&&e.isInvalid===t.isInvalid&&e.validationErrors.length===t.validationErrors.length&&e.validationErrors.every((r,n)=>r===t.validationErrors[n])&&Object.entries(e.validationDetails).every(([r,n])=>t.validationDetails[r]===n)}function _p(e,t,r){let{isDisabled:n=!1,isReadOnly:o=!1,value:a,name:s,children:i,"aria-label":l,"aria-labelledby":c,validationState:u="valid",isInvalid:d}=e,p=E=>{E.stopPropagation(),t.setSelected(E.target.checked)},h=i!=null,g=l!=null||c!=null;!h&&!g&&console.warn("If you do not provide children, you must specify an aria-label for accessibility");let{pressProps:v,isPressed:b}=vr({isDisabled:n}),{pressProps:P,isPressed:x}=vr({isDisabled:n||o,onPress(){t.toggle()}}),{focusableProps:w}=na(e,r),T=de(v,w),$=qr(e,{labelable:!0});return As(r,t.isSelected,t.setSelected),{labelProps:de(P,{onClick:E=>E.preventDefault()}),inputProps:de($,{"aria-invalid":d||u==="invalid"||void 0,"aria-errormessage":e["aria-errormessage"],"aria-controls":e["aria-controls"],"aria-readonly":o||void 0,onChange:p,disabled:n,...a==null?{}:{value:a},name:s,type:"checkbox",...T}),isSelected:t.isSelected,isPressed:b||x,isDisabled:n,isReadOnly:o,isInvalid:d||u==="invalid"}}function s4(e){let{id:t,label:r,"aria-labelledby":n,"aria-label":o,labelElementType:a="label"}=e;t=Yr(t);let s=Yr(),i={};r?(n=n?`${s} ${n}`:s,i={id:s,htmlFor:a==="label"?t:void 0}):!n&&!o&&console.warn("If you do not provide a visible label, you must specify an aria-label or aria-labelledby attribute for accessibility");let l=Ds({id:t,"aria-label":o,"aria-labelledby":n});return{labelProps:i,fieldProps:l}}function Fp(e){let{description:t,errorMessage:r,isInvalid:n,validationState:o}=e,{labelProps:a,fieldProps:s}=s4(e),i=qc([!!t,!!r,n,o]),l=qc([!!t,!!r,n,o]);return s=de(s,{"aria-describedby":[i,l,e["aria-describedby"]].filter(Boolean).join(" ")||void 0}),{labelProps:a,fieldProps:s,descriptionProps:{id:i},errorMessageProps:{id:l}}}function ol(e={}){let{isReadOnly:t}=e,[r,n]=Hr(e.isSelected,e.defaultSelected||!1,e.onChange);function o(s){t||n(s)}function a(){t||n(!r)}return{isSelected:r,setSelected:o,toggle:a}}function Vp(e,t,r){let n=ja({...e,value:t.isSelected}),{isInvalid:o,validationErrors:a,validationDetails:s}=n.displayValidation,{labelProps:i,inputProps:l,isSelected:c,isPressed:u,isDisabled:d,isReadOnly:p}=_p({...e,isInvalid:o},t,r);el(e,n,r);let{isIndeterminate:h,isRequired:g,validationBehavior:v="aria"}=e;return f.useEffect(()=>{r.current&&(r.current.indeterminate=!!h)}),{labelProps:i,inputProps:{...l,checked:c,"aria-required":g&&v==="aria"||void 0,required:g&&v==="native"},isSelected:c,isPressed:u,isDisabled:d,isReadOnly:p,isInvalid:o,validationErrors:a,validationDetails:s}}const i4=new WeakMap;function l4(e,t,r){const n=ol({isReadOnly:e.isReadOnly||t.isReadOnly,isSelected:t.isSelected(e.value),onChange(b){b?t.addValue(e.value):t.removeValue(e.value),e.onChange&&e.onChange(b)}});let{name:o,descriptionId:a,errorMessageId:s,validationBehavior:i}=i4.get(t);var l;i=(l=e.validationBehavior)!==null&&l!==void 0?l:i;let{realtimeValidation:c}=ja({...e,value:n.isSelected,name:void 0,validationBehavior:"aria"}),u=f.useRef(dn),d=()=>{t.setInvalid(e.value,c.isInvalid?c:u.current)};f.useEffect(d);let p=t.realtimeValidation.isInvalid?t.realtimeValidation:c,h=i==="native"?t.displayValidation:p;var g;let v=Vp({...e,isReadOnly:e.isReadOnly||t.isReadOnly,isDisabled:e.isDisabled||t.isDisabled,name:e.name||o,isRequired:(g=e.isRequired)!==null&&g!==void 0?g:t.isRequired,validationBehavior:i,[tl]:{realtimeValidation:p,displayValidation:h,resetValidation:t.resetValidation,commitValidation:t.commitValidation,updateValidation(b){u.current=b,d()}}},n,r);return{...v,inputProps:{...v.inputProps,"aria-describedby":[e["aria-describedby"],t.isInvalid?s:null,a].filter(Boolean).join(" ")||void 0}}}var[rP,c4]=ia({name:"CheckboxGroupContext",strict:!1});function u4(e){const{isSelected:t,disableAnimation:r,...n}=e;return L.jsx("svg",{"aria-hidden":"true",role:"presentation",viewBox:"0 0 17 18",...n,children:L.jsx("polyline",{fill:"none",points:"1 9 7 14 15 4",stroke:"currentColor",strokeDasharray:22,strokeDashoffset:t?44:66,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,style:!r&&t?{transition:"stroke-dashoffset 250ms linear 0.2s"}:{}})})}function d4(e){const{isSelected:t,disableAnimation:r,...n}=e;return L.jsx("svg",{stroke:"currentColor",strokeWidth:3,viewBox:"0 0 24 24",...n,children:L.jsx("line",{x1:"21",x2:"3",y1:"12",y2:"12"})})}function f4(e){const{isIndeterminate:t,...r}=e,n=t?d4:u4;return L.jsx(n,{...r})}function p4(e={}){var t,r,n,o,a,s;const i=c4(),l=!!i,{as:c,ref:u,value:d="",children:p,icon:h,name:g,isRequired:v=!1,isReadOnly:b=!1,autoFocus:P=!1,isSelected:x,validationState:w,size:T=(t=i==null?void 0:i.size)!=null?t:"md",color:$=(r=i==null?void 0:i.color)!=null?r:"primary",radius:E=i==null?void 0:i.radius,lineThrough:A=(n=i==null?void 0:i.lineThrough)!=null?n:!1,isDisabled:m=(o=i==null?void 0:i.isDisabled)!=null?o:!1,disableAnimation:k=(a=i==null?void 0:i.disableAnimation)!=null?a:!1,isInvalid:I=w?w==="invalid":(s=i==null?void 0:i.isInvalid)!=null?s:!1,isIndeterminate:S=!1,defaultSelected:N,classNames:C,onChange:M,className:O,onValueChange:_,...D}=e;i&&ju&&(x&&sa("The Checkbox.Group is being used, `isSelected` will be ignored. Use the `value` of the Checkbox.Group instead.","Checkbox"),N&&sa("The Checkbox.Group is being used, `defaultSelected` will be ignored. Use the `defaultValue` of the Checkbox.Group instead.","Checkbox"));const z=c||"label",X=f.useRef(null),G=Lu(u,X),U=f.useId(),F=f.useMemo(()=>({name:g,value:d,children:p,autoFocus:P,defaultSelected:N,isIndeterminate:S,isRequired:v,isInvalid:I,isSelected:x,isDisabled:m,isReadOnly:b,"aria-label":Xs(D["aria-label"],p),"aria-labelledby":D["aria-labelledby"]||U,onChange:_}),[d,g,U,p,P,I,S,m,b,x,N,D["aria-label"],D["aria-labelledby"],_]),{inputProps:B,isSelected:q,isDisabled:K,isReadOnly:Q,isPressed:ne}=l?l4({...F,isInvalid:I},i.groupState,X):Vp(F,ol(F),X),le=K||Q,[ce,ue]=f.useState(!1),{pressProps:ge}=Wn({isDisabled:le,onPressStart(Xe){Xe.pointerType!=="keyboard"&&ue(!0)},onPressEnd(Xe){Xe.pointerType!=="keyboard"&&ue(!1)}}),Se=le?!1:ce||ne;v&&(B.required=!0);const{hoverProps:Te,isHovered:se}=xr({isDisabled:B.disabled}),{focusProps:te,isFocused:je,isFocusVisible:Fe}=Et({autoFocus:B.autoFocus}),Ve=f.useMemo(()=>zg({color:$,size:T,radius:E,isInvalid:I,lineThrough:A,isDisabled:K,disableAnimation:k}),[$,T,E,I,A,K,k]),Ie=ve(C==null?void 0:C.base,O),Nt=f.useCallback(()=>({ref:G,className:Ve.base({class:Ie}),"data-disabled":ee(K),"data-selected":ee(q||S),"data-invalid":ee(I),"data-hover":ee(se),"data-focus":ee(je),"data-pressed":ee(Se),"data-readonly":ee(B.readOnly),"data-focus-visible":ee(Fe),"data-indeterminate":ee(S),...de(Te,ge,D)}),[Ve,Ie,K,q,S,I,se,je,Se,B.readOnly,Fe,Te,ge,D]),vt=f.useCallback((Xe={})=>({...Xe,"aria-hidden":!0,className:ve(Ve.wrapper({class:ve(C==null?void 0:C.wrapper,Xe==null?void 0:Xe.className)}))}),[Ve,C==null?void 0:C.wrapper]),rt=f.useCallback(()=>({ref:X,...de(B,te),onChange:gr(B.onChange,M)}),[B,te,M]),Wr=f.useCallback(()=>({id:U,className:Ve.label({class:C==null?void 0:C.label})}),[Ve,C==null?void 0:C.label,K,q,I]),Qe=f.useCallback(()=>({isSelected:q,isIndeterminate:!!S,disableAnimation:!!k,className:Ve.icon({class:C==null?void 0:C.icon})}),[Ve,C==null?void 0:C.icon,q,S,k]);return{Component:z,icon:h,children:p,isSelected:q,isDisabled:K,isInvalid:I,isFocused:je,isHovered:se,isFocusVisible:Fe,getBaseProps:Nt,getWrapperProps:vt,getInputProps:rt,getLabelProps:Wr,getIconProps:Qe}}var zp=yt((e,t)=>{const{Component:r,children:n,icon:o=L.jsx(f4,{}),getBaseProps:a,getWrapperProps:s,getInputProps:i,getIconProps:l,getLabelProps:c}=p4({...e,ref:t}),u=typeof o=="function"?o(l()):f.cloneElement(o,l());return L.jsxs(r,{...a(),children:[L.jsx(Ys,{children:L.jsx("input",{...i()})}),L.jsx("span",{...s(),children:u}),n&&L.jsx("span",{...c(),children:n})]})});zp.displayName="NextUI.Checkbox";var h4=zp;const Wp=e=>typeof e=="object"&&e!=null&&e.nodeType===1,Bp=(e,t)=>(!t||e!=="hidden")&&e!=="visible"&&e!=="clip",al=(e,t)=>{if(e.clientHeight<e.scrollHeight||e.clientWidth<e.scrollWidth){const r=getComputedStyle(e,null);return Bp(r.overflowY,t)||Bp(r.overflowX,t)||(n=>{const o=(a=>{if(!a.ownerDocument||!a.ownerDocument.defaultView)return null;try{return a.ownerDocument.defaultView.frameElement}catch{return null}})(n);return!!o&&(o.clientHeight<n.scrollHeight||o.clientWidth<n.scrollWidth)})(e)}return!1},La=(e,t,r,n,o,a,s,i)=>a<e&&s>t||a>e&&s<t?0:a<=e&&i<=r||s>=t&&i>=r?a-e-n:s>t&&i<r||a<e&&i>r?s-t+o:0,m4=e=>{const t=e.parentElement;return t??(e.getRootNode().host||null)},Kp=(e,t)=>{var r,n,o,a;if(typeof document>"u")return[];const{scrollMode:s,block:i,inline:l,boundary:c,skipOverflowHiddenElements:u}=t,d=typeof c=="function"?c:_=>_!==c;if(!Wp(e))throw new TypeError("Invalid target");const p=document.scrollingElement||document.documentElement,h=[];let g=e;for(;Wp(g)&&d(g);){if(g=m4(g),g===p){h.push(g);break}g!=null&&g===document.body&&al(g)&&!al(document.documentElement)||g!=null&&al(g,u)&&h.push(g)}const v=(n=(r=window.visualViewport)==null?void 0:r.width)!=null?n:innerWidth,b=(a=(o=window.visualViewport)==null?void 0:o.height)!=null?a:innerHeight,{scrollX:P,scrollY:x}=window,{height:w,width:T,top:$,right:E,bottom:A,left:m}=e.getBoundingClientRect(),{top:k,right:I,bottom:S,left:N}=(_=>{const D=window.getComputedStyle(_);return{top:parseFloat(D.scrollMarginTop)||0,right:parseFloat(D.scrollMarginRight)||0,bottom:parseFloat(D.scrollMarginBottom)||0,left:parseFloat(D.scrollMarginLeft)||0}})(e);let C=i==="start"||i==="nearest"?$-k:i==="end"?A+S:$+w/2-k+S,M=l==="center"?m+T/2-N+I:l==="end"?E+I:m-N;const O=[];for(let _=0;_<h.length;_++){const D=h[_],{height:z,width:X,top:G,right:U,bottom:F,left:B}=D.getBoundingClientRect();if(s==="if-needed"&&$>=0&&m>=0&&A<=b&&E<=v&&$>=G&&A<=F&&m>=B&&E<=U)return O;const q=getComputedStyle(D),K=parseInt(q.borderLeftWidth,10),Q=parseInt(q.borderTopWidth,10),ne=parseInt(q.borderRightWidth,10),le=parseInt(q.borderBottomWidth,10);let ce=0,ue=0;const ge="offsetWidth"in D?D.offsetWidth-D.clientWidth-K-ne:0,Se="offsetHeight"in D?D.offsetHeight-D.clientHeight-Q-le:0,Te="offsetWidth"in D?D.offsetWidth===0?0:X/D.offsetWidth:0,se="offsetHeight"in D?D.offsetHeight===0?0:z/D.offsetHeight:0;if(p===D)ce=i==="start"?C:i==="end"?C-b:i==="nearest"?La(x,x+b,b,Q,le,x+C,x+C+w,w):C-b/2,ue=l==="start"?M:l==="center"?M-v/2:l==="end"?M-v:La(P,P+v,v,K,ne,P+M,P+M+T,T),ce=Math.max(0,ce+x),ue=Math.max(0,ue+P);else{ce=i==="start"?C-G-Q:i==="end"?C-F+le+Se:i==="nearest"?La(G,F,z,Q,le+Se,C,C+w,w):C-(G+z/2)+Se/2,ue=l==="start"?M-B-K:l==="center"?M-(B+X/2)+ge/2:l==="end"?M-U+ne+ge:La(B,U,X,K,ne+ge,M,M+T,T);const{scrollLeft:te,scrollTop:je}=D;ce=se===0?0:Math.max(0,Math.min(je+ce/se,D.scrollHeight-z/se+Se)),ue=Te===0?0:Math.max(0,Math.min(te+ue/Te,D.scrollWidth-X/Te+ge)),C+=je-ce,M+=te-ue}O.push({el:D,top:ce,left:ue})}return O},g4=e=>e===!1?{block:"end",inline:"nearest"}:(t=>t===Object(t)&&Object.keys(t).length!==0)(e)?e:{block:"start",inline:"nearest"};function v4(e,t){if(!e.isConnected||!(n=>{let o=n;for(;o&&o.parentNode;){if(o.parentNode===document)return!0;o=o.parentNode instanceof ShadowRoot?o.parentNode.host:o.parentNode}return!1})(e))return;if((n=>typeof n=="object"&&typeof n.behavior=="function")(t))return t.behavior(Kp(e,t));const r=typeof t=="boolean"||t==null?void 0:t.behavior;for(const{el:n,top:o,left:a}of Kp(e,g4(t)))n.scroll({top:o,left:a,behavior:r})}let b4=Math.round(Math.random()*1e10),y4=0;function x4(e){let t=f.useMemo(()=>e.name||`radio-group-${b4}-${++y4}`,[e.name]);var r;let[n,o]=Hr(e.value,(r=e.defaultValue)!==null&&r!==void 0?r:null,e.onChange),[a,s]=f.useState(null),i=ja({...e,value:n}),l=u=>{!e.isReadOnly&&!e.isDisabled&&(o(u),i.commitValidation())},c=i.displayValidation.isInvalid;return{...i,name:t,selectedValue:n,setSelectedValue:l,lastFocusedValue:a,setLastFocusedValue:s,isDisabled:e.isDisabled||!1,isReadOnly:e.isReadOnly||!1,isRequired:e.isRequired||!1,validationState:e.validationState||(c?"invalid":null),isInvalid:c}}const Rp=new WeakMap;function w4(e,t,r){let{value:n,children:o,"aria-label":a,"aria-labelledby":s}=e;const i=e.isDisabled||t.isDisabled;let l=o!=null,c=a!=null||s!=null;!l&&!c&&console.warn("If you do not provide children, you must specify an aria-label for accessibility");let u=t.selectedValue===n,d=m=>{m.stopPropagation(),t.setSelectedValue(n)},{pressProps:p,isPressed:h}=vr({isDisabled:i}),{pressProps:g,isPressed:v}=vr({isDisabled:i,onPress(){t.setSelectedValue(n)}}),{focusableProps:b}=na(de(e,{onFocus:()=>t.setLastFocusedValue(n)}),r),P=de(p,b),x=qr(e,{labelable:!0}),w=-1;t.selectedValue!=null?t.selectedValue===n&&(w=0):(t.lastFocusedValue===n||t.lastFocusedValue==null)&&(w=0),i&&(w=void 0);let{name:T,descriptionId:$,errorMessageId:E,validationBehavior:A}=Rp.get(t);return As(r,t.selectedValue,t.setSelectedValue),el({validationBehavior:A},t,r),{labelProps:de(g,{onClick:m=>m.preventDefault()}),inputProps:de(x,{...P,type:"radio",name:T,tabIndex:w,disabled:i,required:t.isRequired&&A==="native",checked:u,value:n,onChange:d,"aria-describedby":[e["aria-describedby"],t.isInvalid?E:null,$].filter(Boolean).join(" ")||void 0}),isDisabled:i,isSelected:u,isPressed:h||v}}function C4(e,t){let{name:r,isReadOnly:n,isRequired:o,isDisabled:a,orientation:s="vertical",validationBehavior:i="aria"}=e,{direction:l}=Os(),{isInvalid:c,validationErrors:u,validationDetails:d}=t.displayValidation,{labelProps:p,fieldProps:h,descriptionProps:g,errorMessageProps:v}=Fp({...e,labelElementType:"span",isInvalid:t.isInvalid,errorMessage:e.errorMessage||u}),b=qr(e,{labelable:!0}),{focusWithinProps:P}=ea({onBlurWithin(T){var $;($=e.onBlur)===null||$===void 0||$.call(e,T),t.selectedValue||t.setLastFocusedValue(null)},onFocusWithin:e.onFocus,onFocusWithinChange:e.onFocusChange}),x=T=>{let $;switch(T.key){case"ArrowRight":l==="rtl"&&s!=="vertical"?$="prev":$="next";break;case"ArrowLeft":l==="rtl"&&s!=="vertical"?$="next":$="prev";break;case"ArrowDown":$="next";break;case"ArrowUp":$="prev";break;default:return}T.preventDefault();let E=Gs(T.currentTarget,{from:T.target}),A;$==="next"?(A=E.nextNode(),A||(E.currentNode=T.currentTarget,A=E.firstChild())):(A=E.previousNode(),A||(E.currentNode=T.currentTarget,A=E.lastChild())),A&&(A.focus(),t.setSelectedValue(A.value))},w=Yr(r);return Rp.set(t,{name:w,descriptionId:g.id,errorMessageId:v.id,validationBehavior:i}),{radioGroupProps:de(b,{role:"radiogroup",onKeyDown:x,"aria-invalid":t.isInvalid||void 0,"aria-errormessage":e["aria-errormessage"],"aria-readonly":n||void 0,"aria-required":o||void 0,"aria-disabled":a||void 0,"aria-orientation":s,...h,...P}),labelProps:p,descriptionProps:g,errorMessageProps:v,isInvalid:c,validationErrors:u,validationDetails:d}}function P4(e){const{as:t,ref:r,classNames:n,children:o,label:a,value:s,name:i,size:l="md",color:c="primary",isDisabled:u=!1,disableAnimation:d=!1,orientation:p="vertical",isRequired:h=!1,validationState:g,isInvalid:v=g==="invalid",isReadOnly:b,errorMessage:P,description:x,className:w,onChange:T,onValueChange:$,...E}=e,A=t||"div",m=at(r),k=f.useMemo(()=>({...E,value:s,name:i,"aria-label":Xs(E["aria-label"],a),isRequired:h,isReadOnly:b,isInvalid:v,orientation:p,onChange:$}),[E,s,i,a,h,b,v,p,$]),I=x4(k),{labelProps:S,radioGroupProps:N,errorMessageProps:C,descriptionProps:M}=C4(k,I),O=f.useMemo(()=>({size:l,color:c,groupState:I,isRequired:h,isInvalid:v,isDisabled:u,disableAnimation:d,onChange:T}),[l,c,h,u,v,T,d,I.name,I==null?void 0:I.isDisabled,I==null?void 0:I.isReadOnly,I==null?void 0:I.isRequired,I==null?void 0:I.selectedValue,I==null?void 0:I.lastFocusedValue]),_=f.useMemo(()=>Vg({isRequired:h,isInvalid:v,disableAnimation:d}),[v,h,d]),D=ve(n==null?void 0:n.base,w),z=f.useCallback(()=>({ref:m,className:_.base({class:D}),...de(N,E)}),[m,_,D,N,E]),X=f.useCallback(()=>({className:_.label({class:n==null?void 0:n.label}),...S}),[_,n==null?void 0:n.label,S,n==null?void 0:n.label]),G=f.useCallback(()=>({className:_.wrapper({class:n==null?void 0:n.wrapper}),role:"presentation","data-orientation":p}),[_,n==null?void 0:n.wrapper,p,_.wrapper]),U=f.useCallback((B={})=>({...B,...M,className:_.description({class:ve(n==null?void 0:n.description,B==null?void 0:B.className)})}),[_,n==null?void 0:n.description,M,_.description]),F=f.useCallback((B={})=>({...B,...C,className:_.errorMessage({class:ve(n==null?void 0:n.errorMessage,B==null?void 0:B.className)})}),[_,n==null?void 0:n.errorMessage,C]);return{Component:A,children:o,label:a,context:O,errorMessage:P,description:x,getGroupProps:z,getLabelProps:X,getWrapperProps:G,getDescriptionProps:U,getErrorMessageProps:F}}var[M4,S4]=ia({name:"RadioGroupContext",strict:!1}),Up=yt((e,t)=>{const{Component:r,children:n,label:o,context:a,description:s,errorMessage:i,getGroupProps:l,getLabelProps:c,getWrapperProps:u,getDescriptionProps:d,getErrorMessageProps:p}=P4({...e,ref:t});return L.jsxs(r,{...l(),children:[o&&L.jsx("span",{...c(),children:o}),L.jsx("div",{...u(),children:L.jsx(M4,{value:a,children:n})}),i?L.jsx("div",{...p(),children:i}):s?L.jsx("div",{...d(),children:s}):null]})});Up.displayName="NextUI.RadioGroup";var T4=Up;function E4(e){var t,r,n,o;const a=S4(),{as:s,ref:i,classNames:l,id:c,value:u,children:d,description:p,size:h=(t=a==null?void 0:a.size)!=null?t:"md",color:g=(r=a==null?void 0:a.color)!=null?r:"primary",isDisabled:v=(n=a==null?void 0:a.isDisabled)!=null?n:!1,disableAnimation:b=(o=a==null?void 0:a.disableAnimation)!=null?o:!1,onChange:P=a==null?void 0:a.onChange,autoFocus:x=!1,className:w,...T}=e;a&&ju&&("checked"in T&&sa('Remove props "checked" if in the Radio.Group.',"Radio"),u===void 0&&sa('Props "value" must be defined if in the Radio.Group.',"Radio"));const $=s||"label",E=at(i),A=f.useRef(null),m=f.useId(),k=f.useMemo(()=>{var se;return(se=a.isRequired)!=null?se:!1},[a.isRequired]),I=a.isInvalid,S=f.useMemo(()=>{const se=T["aria-label"]||typeof d=="string"?d:void 0,te=T["aria-describedby"]||typeof p=="string"?p:void 0;return{id:c,isRequired:k,isDisabled:v,"aria-label":se,"aria-labelledby":T["aria-labelledby"]||m,"aria-describedby":te}},[m,c,v,k]),{inputProps:N,isDisabled:C,isSelected:M,isPressed:O}=w4({value:u,children:d,...a,...S},a.groupState,A),{focusProps:_,isFocused:D,isFocusVisible:z}=Et({autoFocus:x}),X=C||N.readOnly,[G,U]=f.useState(!1),{pressProps:F}=Wn({isDisabled:X,onPressStart(se){se.pointerType!=="keyboard"&&U(!0)},onPressEnd(se){se.pointerType!=="keyboard"&&U(!1)}}),{hoverProps:B,isHovered:q}=xr({isDisabled:X}),K=X?!1:G||O,Q=f.useMemo(()=>Fg({color:g,size:h,isInvalid:I,isDisabled:C,disableAnimation:b}),[g,h,C,I,b]),ne=ve(l==null?void 0:l.base,w),le=f.useCallback((se={})=>({...se,ref:E,className:Q.base({class:ne}),"data-disabled":ee(C),"data-focus":ee(D),"data-focus-visible":ee(z),"data-selected":ee(M),"data-invalid":ee(I),"data-hover":ee(q),"data-pressed":ee(K),"data-hover-unselected":ee(q&&!M),"data-readonly":ee(N.readOnly),"aria-required":ee(k),...de(B,F,T)}),[Q,ne,E,C,D,z,M,I,q,K,N.readOnly,k,T]),ce=f.useCallback((se={})=>({...se,"aria-hidden":!0,className:ve(Q.wrapper({class:ve(l==null?void 0:l.wrapper,se.className)}))}),[Q,l==null?void 0:l.wrapper]),ue=f.useCallback((se={})=>({...se,ref:A,required:k,...de(N,_),onChange:gr(N.onChange,P)}),[N,_,k,P]),ge=f.useCallback((se={})=>({...se,id:m,className:Q.label({class:l==null?void 0:l.label})}),[Q,l==null?void 0:l.label,C,M,I]),Se=f.useCallback((se={})=>({...se,className:Q.labelWrapper({class:l==null?void 0:l.labelWrapper})}),[Q,l==null?void 0:l.labelWrapper]),Te=f.useCallback((se={})=>({...se,className:Q.control({class:l==null?void 0:l.control})}),[Q,l==null?void 0:l.control]);return{Component:$,children:d,slots:Q,classNames:l,description:p,isSelected:M,isDisabled:C,isInvalid:I,isFocusVisible:z,getBaseProps:le,getWrapperProps:ce,getInputProps:ue,getLabelProps:ge,getLabelWrapperProps:Se,getControlProps:Te}}var Gp=yt((e,t)=>{const{Component:r,children:n,slots:o,classNames:a,description:s,getBaseProps:i,getWrapperProps:l,getInputProps:c,getLabelProps:u,getLabelWrapperProps:d,getControlProps:p}=E4({...e,ref:t});return L.jsxs(r,{...i(),children:[L.jsx(Ys,{children:L.jsx("input",{...c()})}),L.jsx("span",{...l(),children:L.jsx("span",{...p()})}),L.jsxs("div",{...d(),children:[n&&L.jsx("span",{...u(),children:n}),s&&L.jsx("span",{className:o.description({class:a==null?void 0:a.description}),children:s})]})]})});Gp.displayName="NextUI.Radio";var $4=Gp;function D4(e,t,r){let{labelProps:n,inputProps:o,isSelected:a,isPressed:s,isDisabled:i,isReadOnly:l}=_p(e,t,r);return{labelProps:n,inputProps:{...o,role:"switch",checked:a},isSelected:a,isPressed:s,isDisabled:i,isReadOnly:l}}function k4(e={}){const[t,r]=Fn(e,ku.variantKeys),{ref:n,as:o,name:a,value:s="",isReadOnly:i=!1,autoFocus:l=!1,startContent:c,endContent:u,defaultSelected:d,isSelected:p,children:h,thumbIcon:g,className:v,classNames:b,onChange:P,onValueChange:x,...w}=t,T=o||"label",$=f.useRef(null),E=Lu(n,$),A=f.useId(),m=f.useMemo(()=>{const te=w["aria-label"]||typeof h=="string"?h:void 0;return{name:a,value:s,children:h,autoFocus:l,defaultSelected:d,isSelected:p,isDisabled:!!e.isDisabled,isReadOnly:i,"aria-label":te,"aria-labelledby":w["aria-labelledby"]||A,onChange:x}},[s,a,A,h,l,i,p,d,e.isDisabled,w["aria-label"],w["aria-labelledby"],x]),k=ol(m),{inputProps:I,isPressed:S,isReadOnly:N}=D4(m,k,$),{focusProps:C,isFocused:M,isFocusVisible:O}=Et({autoFocus:I.autoFocus}),{hoverProps:_,isHovered:D}=xr({isDisabled:I.disabled}),z=m.isDisabled||N,[X,G]=f.useState(!1),{pressProps:U}=Wn({isDisabled:z,onPressStart(te){te.pointerType!=="keyboard"&&G(!0)},onPressEnd(te){te.pointerType!=="keyboard"&&G(!1)}}),F=z?!1:X||S,B=I.checked,q=I.disabled,K=f.useMemo(()=>ku({...r}),[...Object.values(r)]),Q=ve(b==null?void 0:b.base,v),ne=te=>({...de(_,U,w,te),ref:E,className:K.base({class:ve(Q,te==null?void 0:te.className)}),"data-disabled":ee(q),"data-selected":ee(B),"data-readonly":ee(N),"data-focus":ee(M),"data-focus-visible":ee(O),"data-hover":ee(D),"data-pressed":ee(F)}),le=f.useCallback((te={})=>({...te,"aria-hidden":!0,className:ve(K.wrapper({class:ve(b==null?void 0:b.wrapper,te==null?void 0:te.className)}))}),[K,b==null?void 0:b.wrapper]),ce=(te={})=>({...de(I,C,te),ref:$,id:I.id,onChange:gr(P,I.onChange)}),ue=f.useCallback((te={})=>({...te,className:K.thumb({class:ve(b==null?void 0:b.thumb,te==null?void 0:te.className)})}),[K,b==null?void 0:b.thumb]),ge=f.useCallback((te={})=>({...te,id:A,className:K.label({class:ve(b==null?void 0:b.label,te==null?void 0:te.className)})}),[K,b==null?void 0:b.label,q,B]),Se=f.useCallback((te={includeStateProps:!1})=>de({width:"1em",height:"1em",className:K.thumbIcon({class:ve(b==null?void 0:b.thumbIcon)})},te.includeStateProps?{isSelected:B}:{}),[K,b==null?void 0:b.thumbIcon,B]),Te=f.useCallback((te={})=>({width:"1em",height:"1em",...te,className:K.startContent({class:ve(b==null?void 0:b.startContent,te==null?void 0:te.className)})}),[K,b==null?void 0:b.startContent,B]),se=f.useCallback((te={})=>({width:"1em",height:"1em",...te,className:K.endContent({class:ve(b==null?void 0:b.endContent,te==null?void 0:te.className)})}),[K,b==null?void 0:b.endContent,B]);return{Component:T,slots:K,classNames:b,domRef:E,children:h,thumbIcon:g,startContent:c,endContent:u,isHovered:D,isSelected:B,isPressed:F,isFocused:M,isFocusVisible:O,isDisabled:q,getBaseProps:ne,getWrapperProps:le,getInputProps:ce,getLabelProps:ge,getThumbProps:ue,getThumbIconProps:Se,getStartContentProps:Te,getEndContentProps:se}}var Hp=yt((e,t)=>{const{Component:r,children:n,startContent:o,endContent:a,thumbIcon:s,getBaseProps:i,getInputProps:l,getWrapperProps:c,getThumbProps:u,getThumbIconProps:d,getLabelProps:p,getStartContentProps:h,getEndContentProps:g}=k4({...e,ref:t}),v=typeof s=="function"?s(d({includeStateProps:!0})):s&&f.cloneElement(s,d()),b=o&&f.cloneElement(o,h()),P=a&&f.cloneElement(a,g());return L.jsxs(r,{...i(),children:[L.jsx(Ys,{children:L.jsx("input",{...l()})}),L.jsxs("span",{...c(),children:[o&&b,L.jsx("span",{...u(),children:s&&v}),a&&P]}),n&&L.jsx("span",{...p(),children:n})]})});Hp.displayName="NextUI.Switch";var I4=Hp;function A4(e={}){const{rerender:t=!1,delay:r=0}=e,n=f.useRef(!1),[o,a]=f.useState(!1);return f.useEffect(()=>{n.current=!0;let s=null;return t&&(r>0?s=setTimeout(()=>{a(!0)},r):a(!0)),()=>{n.current=!1,t&&a(!1),s&&clearTimeout(s)}},[t]),[f.useCallback(()=>n.current,[]),o]}function N4(e,t){let{inputElementType:r="input",isDisabled:n=!1,isRequired:o=!1,isReadOnly:a=!1,type:s="text",validationBehavior:i="aria"}=e,[l,c]=Hr(e.value,e.defaultValue||"",e.onChange),{focusableProps:u}=na(e,t),d=ja({...e,value:l}),{isInvalid:p,validationErrors:h,validationDetails:g}=d.displayValidation,{labelProps:v,fieldProps:b,descriptionProps:P,errorMessageProps:x}=Fp({...e,isInvalid:p,errorMessage:e.errorMessage||h}),w=qr(e,{labelable:!0});const T={type:s,pattern:e.pattern};return As(t,l,c),el(e,d,t),f.useEffect(()=>{if(t.current instanceof On(t.current).HTMLTextAreaElement){let $=t.current;Object.defineProperty($,"defaultValue",{get:()=>$.value,set:()=>{},configurable:!0})}},[t]),{labelProps:v,inputProps:de(w,r==="input"&&T,{disabled:n,readOnly:a,required:o&&i==="native","aria-required":o&&i==="aria"||void 0,"aria-invalid":p||void 0,"aria-errormessage":e["aria-errormessage"],"aria-activedescendant":e["aria-activedescendant"],"aria-autocomplete":e["aria-autocomplete"],"aria-haspopup":e["aria-haspopup"],value:l,onChange:$=>c($.target.value),autoComplete:e.autoComplete,autoCapitalize:e.autoCapitalize,maxLength:e.maxLength,minLength:e.minLength,name:e.name,placeholder:e.placeholder,inputMode:e.inputMode,onCopy:e.onCopy,onCut:e.onCut,onPaste:e.onPaste,onCompositionEnd:e.onCompositionEnd,onCompositionStart:e.onCompositionStart,onCompositionUpdate:e.onCompositionUpdate,onSelect:e.onSelect,onBeforeInput:e.onBeforeInput,onInput:e.onInput,...u,...b}),descriptionProps:P,errorMessageProps:x,isInvalid:p,validationErrors:h,validationDetails:g}}function O4(e){const[t,r]=Fn(e,Iu.variantKeys),{ref:n,as:o,label:a,baseRef:s,wrapperRef:i,description:l,errorMessage:c,className:u,classNames:d,autoFocus:p,startContent:h,endContent:g,onClear:v,onChange:b,validationState:P,innerWrapperRef:x,onValueChange:w=()=>{},...T}=t,$=f.useCallback(he=>{w(he??"")},[w]),[E,A]=Hr(t.value,t.defaultValue,$),[m,k]=f.useState(!1),I=o||"div",S=!!E,N=S||m,C=ve(d==null?void 0:d.base,u,S?"is-filled":""),M=e.isMultiline,O=at(n),_=at(s),D=at(i),z=at(x),X=f.useCallback(()=>{A(""),O.current&&(O.current.value="",O.current.focus()),v==null||v()},[O,A,v]),{labelProps:G,inputProps:U,descriptionProps:F,errorMessageProps:B}=N4({...e,"aria-label":Xs(e==null?void 0:e["aria-label"],e==null?void 0:e.label,e==null?void 0:e.placeholder),inputElementType:M?"textarea":"input",onChange:A},O),{isFocusVisible:q,isFocused:K,focusProps:Q}=Et({autoFocus:p,isTextInput:!0}),{isHovered:ne,hoverProps:le}=xr({isDisabled:!!(e!=null&&e.isDisabled)}),{focusProps:ce,isFocusVisible:ue}=Et(),{focusWithinProps:ge}=ea({onFocusWithinChange:k}),{pressProps:Se}=vr({isDisabled:!!(e!=null&&e.isDisabled),onPress:X}),Te=P==="invalid"||e.isInvalid,se=f.useMemo(()=>{var he;return(!e.labelPlacement||e.labelPlacement==="inside")&&!a?"outside":(he=e.labelPlacement)!=null?he:"inside"},[e.labelPlacement,a]),te=!!v||e.isClearable,je=!!a||!!l||!!c,Fe=!!t.placeholder,Ve=!!a,Ie=!!l||!!c,Nt=se==="outside"||se==="outside-left",vt=se==="inside",rt=O.current?(!O.current.value||O.current.value===""||!E||E==="")&&Fe:!1,Wr=se==="outside-left",Qe=!!h,Xe=Nt?se==="outside-left"||Fe||se==="outside"&&Qe:!1,Br=se==="outside"&&!Fe&&!Qe,Ce=f.useMemo(()=>Iu({...r,isInvalid:Te,isClearable:te}),[...Object.values(r),Te,te,Qe]),$o=f.useCallback((he={})=>({ref:_,className:Ce.base({class:C}),"data-slot":"base","data-filled":ee(S||Fe||Qe||rt),"data-filled-within":ee(N||Fe||Qe||rt),"data-focus-within":ee(m),"data-focus-visible":ee(q),"data-readonly":ee(e.isReadOnly),"data-focus":ee(K),"data-hover":ee(ne),"data-required":ee(e.isRequired),"data-invalid":ee(Te),"data-disabled":ee(e.isDisabled),"data-has-elements":ee(je),"data-has-helper":ee(Ie),"data-has-label":ee(Ve),"data-has-value":ee(!rt),...ge,...he}),[Ce,C,S,K,ne,Te,Ie,Ve,je,rt,Qe,m,q,N,Fe,ge,e.isReadOnly,e.isRequired,e.isDisabled]),Kr=f.useCallback((he={})=>({"data-slot":"label",className:Ce.label({class:d==null?void 0:d.label}),...G,...he}),[Ce,G,d==null?void 0:d.label]),Rr=f.useCallback((he={})=>({ref:O,"data-slot":"input","data-filled":ee(S),"data-filled-within":ee(N),"data-has-start-content":ee(Qe),"data-has-end-content":ee(!!g),className:Ce.input({class:ve(d==null?void 0:d.input,E?"is-filled":"")}),...de(Q,U,zn(T,{enabled:!0,labelable:!0,omitEventNames:new Set(Object.keys(U))}),he),required:e.isRequired,"aria-readonly":ee(e.isReadOnly),"aria-required":ee(e.isRequired),onChange:gr(U.onChange,b)}),[Ce,E,Q,U,T,S,N,Qe,g,d==null?void 0:d.input,e.isReadOnly,e.isRequired,b]),Qt=f.useCallback((he={})=>({ref:D,"data-slot":"input-wrapper","data-hover":ee(ne),"data-focus-visible":ee(q),"data-focus":ee(K),className:Ce.inputWrapper({class:ve(d==null?void 0:d.inputWrapper,E?"is-filled":"")}),...de(he,le),onClick:dt=>{O.current&&dt.currentTarget===dt.target&&O.current.focus()},style:{cursor:"text",...he.style}}),[Ce,ne,q,K,E,d==null?void 0:d.inputWrapper]),Do=f.useCallback((he={})=>({...he,ref:z,"data-slot":"inner-wrapper",onClick:dt=>{O.current&&dt.currentTarget===dt.target&&O.current.focus()},className:Ce.innerWrapper({class:ve(d==null?void 0:d.innerWrapper,he==null?void 0:he.className)})}),[Ce,d==null?void 0:d.innerWrapper]),ko=f.useCallback((he={})=>({...he,"data-slot":"main-wrapper",className:Ce.mainWrapper({class:ve(d==null?void 0:d.mainWrapper,he==null?void 0:he.className)})}),[Ce,d==null?void 0:d.mainWrapper]),Io=f.useCallback((he={})=>({...he,"data-slot":"helper-wrapper",className:Ce.helperWrapper({class:ve(d==null?void 0:d.helperWrapper,he==null?void 0:he.className)})}),[Ce,d==null?void 0:d.helperWrapper]),Ao=f.useCallback((he={})=>({...he,...F,"data-slot":"description",className:Ce.description({class:ve(d==null?void 0:d.description,he==null?void 0:he.className)})}),[Ce,d==null?void 0:d.description]),No=f.useCallback((he={})=>({...he,...B,"data-slot":"error-message",className:Ce.errorMessage({class:ve(d==null?void 0:d.errorMessage,he==null?void 0:he.className)})}),[Ce,B,d==null?void 0:d.errorMessage]),Oo=f.useCallback((he={})=>({...he,role:"button",tabIndex:0,"data-slot":"clear-button","data-focus-visible":ee(ue),className:Ce.clearButton({class:ve(d==null?void 0:d.clearButton,he==null?void 0:he.className)}),...de(Se,ce)}),[Ce,ue,Se,ce,d==null?void 0:d.clearButton]);return{Component:I,classNames:d,domRef:O,label:a,description:l,startContent:h,endContent:g,labelPlacement:se,isClearable:te,isInvalid:Te,hasHelper:Ie,hasStartContent:Qe,isLabelOutside:Xe,isOutsideLeft:Wr,isLabelOutsideAsPlaceholder:Br,shouldLabelBeOutside:Nt,shouldLabelBeInside:vt,hasPlaceholder:Fe,errorMessage:c,getBaseProps:$o,getLabelProps:Kr,getInputProps:Rr,getMainWrapperProps:ko,getInputWrapperProps:Qt,getInnerWrapperProps:Do,getHelperWrapperProps:Io,getDescriptionProps:Ao,getErrorMessageProps:No,getClearButtonProps:Oo}}var _a="right-scroll-bar-position",Fa="width-before-scroll-bar",j4="with-scroll-bars-hidden",L4="--removed-body-scroll-bar-size";function _4(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}function F4(e,t){var r=f.useState(function(){return{value:e,callback:t,facade:{get current(){return r.value},set current(n){var o=r.value;o!==n&&(r.value=n,r.callback(n,o))}}}})[0];return r.callback=t,r.facade}function V4(e,t){return F4(t||null,function(r){return e.forEach(function(n){return _4(n,r)})})}function z4(e){return e}function W4(e,t){t===void 0&&(t=z4);var r=[],n=!1,o={read:function(){if(n)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return r.length?r[r.length-1]:e},useMedium:function(a){var s=t(a,n);return r.push(s),function(){r=r.filter(function(i){return i!==s})}},assignSyncMedium:function(a){for(n=!0;r.length;){var s=r;r=[],s.forEach(a)}r={push:function(i){return a(i)},filter:function(){return r}}},assignMedium:function(a){n=!0;var s=[];if(r.length){var i=r;r=[],i.forEach(a),s=r}var l=function(){var u=s;s=[],u.forEach(a)},c=function(){return Promise.resolve().then(l)};c(),r={push:function(u){s.push(u),c()},filter:function(u){return s=s.filter(u),r}}}};return o}function B4(e){e===void 0&&(e={});var t=W4(null);return t.options=Tt({async:!0,ssr:!1},e),t}var Yp=function(e){var t=e.sideCar,r=lu(e,["sideCar"]);if(!t)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var n=t.read();if(!n)throw new Error("Sidecar medium not found");return W.createElement(n,Tt({},r))};Yp.isSideCarExport=!0;function K4(e,t){return e.useMedium(t),Yp}var qp,R4=function(){if(qp)return qp;if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function U4(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=R4();return t&&e.setAttribute("nonce",t),e}function G4(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function H4(e){var t=document.head||document.getElementsByTagName("head")[0];t.appendChild(e)}var Y4=function(){var e=0,t=null;return{add:function(r){e==0&&(t=U4())&&(G4(t,r),H4(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},q4=function(){var e=Y4();return function(t,r){W.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&r])}},Qp=function(){var e=q4(),t=function(r){var n=r.styles,o=r.dynamic;return e(n,o),null};return t},Q4={left:0,top:0,right:0,gap:0},sl=function(e){return parseInt(e||"",10)||0},X4=function(e){var t=window.getComputedStyle(document.body),r=t[e==="padding"?"paddingLeft":"marginLeft"],n=t[e==="padding"?"paddingTop":"marginTop"],o=t[e==="padding"?"paddingRight":"marginRight"];return[sl(r),sl(n),sl(o)]},Z4=function(e){if(e===void 0&&(e="margin"),typeof window>"u")return Q4;var t=X4(e),r=document.documentElement.clientWidth,n=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,n-r+t[2]-t[0])}},J4=Qp(),e3=function(e,t,r,n){var o=e.left,a=e.top,s=e.right,i=e.gap;return r===void 0&&(r="margin"),`
36
- .`.concat(j4,` {
37
- overflow: hidden `).concat(n,`;
38
- padding-right: `).concat(i,"px ").concat(n,`;
35
+ `),()=>{document.head.removeChild(u)}},[t]),V.createElement($6,{isPresent:t,childRef:r,sizeRef:o},V.cloneElement(e,{ref:r}))}const eu=({children:e,initial:t,isPresent:n,onExitComplete:r,custom:o,presenceAffectsLayout:a,mode:i})=>{const s=ep(O6),l=f.useId(),u=f.useMemo(()=>({id:l,initial:t,isPresent:n,custom:o,onExitComplete:c=>{s.set(c,!0);for(const d of s.values())if(!d)return;r&&r()},register:c=>(s.set(c,!1),()=>s.delete(c))}),a?void 0:[n]);return f.useMemo(()=>{s.forEach((c,d)=>s.set(d,!1))},[n]),V.useEffect(()=>{!n&&!s.size&&r&&r()},[n]),i==="popLayout"&&(e=V.createElement(k6,{isPresent:n},e)),V.createElement(Xa.Provider,{value:u},e)};function O6(){return new Map}function F6(e){return f.useEffect(()=>()=>e(),[])}const Un=e=>e.key||"";function L6(e,t){e.forEach(n=>{const r=Un(n);t.set(r,n)})}function V6(e){const t=[];return f.Children.forEach(e,n=>{f.isValidElement(n)&&t.push(n)}),t}const j6=({children:e,custom:t,initial:n=!0,onExitComplete:r,exitBeforeEnter:o,presenceAffectsLayout:a=!0,mode:i="sync"})=>{kt(!o,"Replace exitBeforeEnter with mode='wait'");const s=f.useContext(go).forceRender||i1()[0],l=a1(),u=V6(e);let c=u;const d=f.useRef(new Map).current,p=f.useRef(c),m=f.useRef(new Map).current,h=f.useRef(!0);if(ll(()=>{h.current=!1,L6(u,m),p.current=c}),F6(()=>{h.current=!0,m.clear(),d.clear()}),h.current)return V.createElement(V.Fragment,null,c.map(y=>V.createElement(eu,{key:Un(y),isPresent:!0,initial:n?void 0:!1,presenceAffectsLayout:a,mode:i},y)));c=[...c];const g=p.current.map(Un),b=u.map(Un),x=g.length;for(let y=0;y<x;y++){const w=g[y];b.indexOf(w)===-1&&!d.has(w)&&d.set(w,void 0)}return i==="wait"&&d.size&&(c=[]),d.forEach((y,w)=>{if(b.indexOf(w)!==-1)return;const S=m.get(w);if(!S)return;const P=g.indexOf(w);let A=y;if(!A){const T=()=>{d.delete(w);const v=Array.from(m.keys()).filter(D=>!b.includes(D));if(v.forEach(D=>m.delete(D)),p.current=u.filter(D=>{const $=Un(D);return $===w||v.includes($)}),!d.size){if(l.current===!1)return;s(),r&&r()}};A=V.createElement(eu,{key:Un(S),isPresent:!1,onExitComplete:T,custom:t,presenceAffectsLayout:a,mode:i},S),d.set(w,A)}c.splice(P,0,A)}),c=c.map(y=>{const w=y.key;return d.has(w)?y:V.createElement(eu,{key:Un(y),isPresent:!0,presenceAffectsLayout:a,mode:i},y)}),process.env.NODE_ENV!=="production"&&i==="wait"&&c.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.`),V.createElement(V.Fragment,null,d.size?c:c.map(y=>f.cloneElement(y)))},B6=f.createContext(null),W6=e=>!e.isLayoutDirty&&e.willUpdate(!1);function s1(){const e=new Set,t=new WeakMap,n=()=>e.forEach(W6);return{add:r=>{e.add(r),t.set(r,r.addEventListener("willUpdate",n))},remove:r=>{e.delete(r);const o=t.get(r);o&&(o(),t.delete(r)),n()},dirty:n}}const l1=e=>e===!0,_6=e=>l1(e===!0)||e==="id",G6=({children:e,id:t,inherit:n=!0})=>{const r=f.useContext(go),o=f.useContext(B6),[a,i]=i1(),s=f.useRef(null),l=r.id||o;s.current===null&&(_6(n)&&l&&(t=t?l+"-"+t:l),s.current={id:t,group:l1(n)&&r.group||s1()});const u=f.useMemo(()=>({...s.current,forceRender:a}),[i]);return V.createElement(go.Provider,{value:u},e)};function u1(e){return null}u1.getCollectionNode=function*(t,n){let{childItems:r,title:o,children:a}=t,i=t.title||t.children,s=t.textValue||(typeof i=="string"?i:"")||t["aria-label"]||"";!s&&!(n!=null&&n.suppressTextValueWarning)&&console.warn("<Item> with non-plain text contents is unsupported by type to select for accessibility. Please add a `textValue` prop."),yield{type:"item",props:t,rendered:i,textValue:s,"aria-label":t["aria-label"],hasChildNodes:R6(t),*childNodes(){if(r)for(let l of r)yield{type:"item",value:l};else if(o){let l=[];f.Children.forEach(a,u=>{l.push({type:"item",element:u})}),yield*l}}}};function R6(e){return e.hasChildItems!=null?e.hasChildItems:!!(e.childItems||e.title&&f.Children.count(e.children)>0)}let z6=u1;class H6{build(t,n){return this.context=n,c1(()=>this.iterateCollection(t))}*iterateCollection(t){let{children:n,items:r}=t;if(typeof n=="function"){if(!r)throw new Error("props.children was a function but props.items is missing");for(let o of t.items)yield*this.getFullNode({value:o},{renderer:n})}else{let o=[];f.Children.forEach(n,i=>{o.push(i)});let a=0;for(let i of o){let s=this.getFullNode({element:i,index:a},{});for(let l of s)a++,yield l}}}getKey(t,n,r,o){if(t.key!=null)return t.key;if(n.type==="cell"&&n.key!=null)return`${o}${n.key}`;let a=n.value;if(a!=null){var i;let s=(i=a.key)!==null&&i!==void 0?i:a.id;if(s==null)throw new Error("No key found for item");return s}return o?`${o}.${n.index}`:`$.${n.index}`}getChildState(t,n){return{renderer:n.renderer||t.renderer}}*getFullNode(t,n,r,o){let a=t.element;if(!a&&t.value&&n&&n.renderer){let l=this.cache.get(t.value);if(l&&(!l.shouldInvalidate||!l.shouldInvalidate(this.context))){l.index=t.index,l.parentKey=o?o.key:null,yield l;return}a=n.renderer(t.value)}if(f.isValidElement(a)){let l=a.type;if(typeof l!="function"&&typeof l.getCollectionNode!="function"){let p=typeof a.type=="function"?a.type.name:a.type;throw new Error(`Unknown element <${p}> in collection.`)}let u=l.getCollectionNode(a.props,this.context),c=t.index,d=u.next();for(;!d.done&&d.value;){let p=d.value;t.index=c;let m=p.key;m||(m=p.element?null:this.getKey(a,t,n,r));let g=[...this.getFullNode({...p,key:m,index:c,wrapper:X6(t.wrapper,p.wrapper)},this.getChildState(n,p),r?`${r}${a.key}`:a.key,o)];for(let b of g){if(b.value=p.value||t.value,b.value&&this.cache.set(b.value,b),t.type&&b.type!==t.type)throw new Error(`Unsupported type <${tu(b.type)}> in <${tu(o.type)}>. Only <${tu(t.type)}> is supported.`);c++,yield b}d=u.next(g)}return}if(t.key==null)return;let i=this,s={type:t.type,props:t.props,key:t.key,parentKey:o?o.key:null,value:t.value,level:o?o.level+1:0,index:t.index,rendered:t.rendered,textValue:t.textValue,"aria-label":t["aria-label"],wrapper:t.wrapper,shouldInvalidate:t.shouldInvalidate,hasChildNodes:t.hasChildNodes,childNodes:c1(function*(){if(!t.hasChildNodes)return;let l=0;for(let u of t.childNodes()){u.key!=null&&(u.key=`${s.key}${u.key}`),u.index=l;let c=i.getFullNode(u,i.getChildState(n,u),s.key,s);for(let d of c)l++,yield d}})};yield s}constructor(){this.cache=new WeakMap}}function c1(e){let t=[],n=null;return{*[Symbol.iterator](){for(let r of t)yield r;n||(n=e());for(let r of n)t.push(r),yield r}}}function X6(e,t){if(e&&t)return n=>e(t(n));if(e)return e;if(t)return t}function tu(e){return e[0].toUpperCase()+e.slice(1)}function Z6(e,t,n){let r=f.useMemo(()=>new H6,[]),{children:o,items:a,collection:i}=e;return f.useMemo(()=>{if(i)return i;let l=r.build({children:o,items:a},n);return t(l)},[r,o,a,i,n,t])}function Y6(e,t){return typeof t.getChildren=="function"?t.getChildren(e.key):e.childNodes}function U6(e){return K6(e,0)}function K6(e,t){if(t<0)return;let n=0;for(let r of e){if(n===t)return r;n++}}function nu(e,t,n){if(t.parentKey===n.parentKey)return t.index-n.index;let r=[...d1(e,t),t],o=[...d1(e,n),n],a=r.slice(0,o.length).findIndex((i,s)=>i!==o[s]);return a!==-1?(t=r[a],n=o[a],t.index-n.index):r.findIndex(i=>i===n)>=0?1:(o.findIndex(i=>i===t)>=0,-1)}function d1(e,t){let n=[];for(;(t==null?void 0:t.parentKey)!=null;)t=e.getItem(t.parentKey),n.unshift(t);return n}class Ot extends Set{constructor(t,n,r){super(t),t instanceof Ot?(this.anchorKey=n||t.anchorKey,this.currentKey=r||t.currentKey):(this.anchorKey=n,this.currentKey=r)}}function J6(e,t){if(e.size!==t.size)return!1;for(let n of e)if(!t.has(n))return!1;return!0}function Q6(e){let{selectionMode:t="none",disallowEmptySelection:n,allowDuplicateSelectionEvents:r,selectionBehavior:o="toggle",disabledBehavior:a="all"}=e,i=f.useRef(!1),[,s]=f.useState(!1),l=f.useRef(null),u=f.useRef(null),[,c]=f.useState(null),d=f.useMemo(()=>f1(e.selectedKeys),[e.selectedKeys]),p=f.useMemo(()=>f1(e.defaultSelectedKeys,new Ot),[e.defaultSelectedKeys]),[m,h]=hr(d,p,e.onSelectionChange),g=f.useMemo(()=>e.disabledKeys?new Set(e.disabledKeys):new Set,[e.disabledKeys]),[b,x]=f.useState(o);o==="replace"&&b==="toggle"&&typeof m=="object"&&m.size===0&&x("replace");let y=f.useRef(o);return f.useEffect(()=>{o!==y.current&&(x(o),y.current=o)},[o]),{selectionMode:t,disallowEmptySelection:n,selectionBehavior:b,setSelectionBehavior:x,get isFocused(){return i.current},setFocused(w){i.current=w,s(w)},get focusedKey(){return l.current},get childFocusStrategy(){return u.current},setFocusedKey(w,S="first"){l.current=w,u.current=S,c(w)},selectedKeys:m,setSelectedKeys(w){(r||!J6(w,m))&&h(w)},disabledKeys:g,disabledBehavior:a}}function f1(e,t){return e?e==="all"?"all":new Ot(e):t}class q6{get selectionMode(){return this.state.selectionMode}get disallowEmptySelection(){return this.state.disallowEmptySelection}get selectionBehavior(){return this.state.selectionBehavior}setSelectionBehavior(t){this.state.setSelectionBehavior(t)}get isFocused(){return this.state.isFocused}setFocused(t){this.state.setFocused(t)}get focusedKey(){return this.state.focusedKey}get childFocusStrategy(){return this.state.childFocusStrategy}setFocusedKey(t,n){(t==null||this.collection.getItem(t))&&this.state.setFocusedKey(t,n)}get selectedKeys(){return this.state.selectedKeys==="all"?new Set(this.getSelectAllKeys()):this.state.selectedKeys}get rawSelection(){return this.state.selectedKeys}isSelected(t){return this.state.selectionMode==="none"?!1:(t=this.getKey(t),this.state.selectedKeys==="all"?this.canSelectItem(t):this.state.selectedKeys.has(t))}get isEmpty(){return this.state.selectedKeys!=="all"&&this.state.selectedKeys.size===0}get isSelectAll(){if(this.isEmpty)return!1;if(this.state.selectedKeys==="all")return!0;if(this._isSelectAll!=null)return this._isSelectAll;let t=this.getSelectAllKeys(),n=this.state.selectedKeys;return this._isSelectAll=t.every(r=>n.has(r)),this._isSelectAll}get firstSelectedKey(){let t=null;for(let n of this.state.selectedKeys){let r=this.collection.getItem(n);(!t||r&&nu(this.collection,r,t)<0)&&(t=r)}return t==null?void 0:t.key}get lastSelectedKey(){let t=null;for(let n of this.state.selectedKeys){let r=this.collection.getItem(n);(!t||r&&nu(this.collection,r,t)>0)&&(t=r)}return t==null?void 0:t.key}get disabledKeys(){return this.state.disabledKeys}get disabledBehavior(){return this.state.disabledBehavior}extendSelection(t){if(this.selectionMode==="none")return;if(this.selectionMode==="single"){this.replaceSelection(t);return}t=this.getKey(t);let n;if(this.state.selectedKeys==="all")n=new Ot([t],t,t);else{let r=this.state.selectedKeys,o=r.anchorKey||t;n=new Ot(r,o,t);for(let a of this.getKeyRange(o,r.currentKey||t))n.delete(a);for(let a of this.getKeyRange(t,o))this.canSelectItem(a)&&n.add(a)}this.state.setSelectedKeys(n)}getKeyRange(t,n){let r=this.collection.getItem(t),o=this.collection.getItem(n);return r&&o?nu(this.collection,r,o)<=0?this.getKeyRangeInternal(t,n):this.getKeyRangeInternal(n,t):[]}getKeyRangeInternal(t,n){let r=[],o=t;for(;o;){let a=this.collection.getItem(o);if((a&&a.type==="item"||a.type==="cell"&&this.allowsCellSelection)&&r.push(o),o===n)return r;o=this.collection.getKeyAfter(o)}return[]}getKey(t){let n=this.collection.getItem(t);if(!n||n.type==="cell"&&this.allowsCellSelection)return t;for(;n.type!=="item"&&n.parentKey!=null;)n=this.collection.getItem(n.parentKey);return!n||n.type!=="item"?null:n.key}toggleSelection(t){if(this.selectionMode==="none")return;if(this.selectionMode==="single"&&!this.isSelected(t)){this.replaceSelection(t);return}if(t=this.getKey(t),t==null)return;let n=new Ot(this.state.selectedKeys==="all"?this.getSelectAllKeys():this.state.selectedKeys);n.has(t)?n.delete(t):this.canSelectItem(t)&&(n.add(t),n.anchorKey=t,n.currentKey=t),!(this.disallowEmptySelection&&n.size===0)&&this.state.setSelectedKeys(n)}replaceSelection(t){if(this.selectionMode==="none"||(t=this.getKey(t),t==null))return;let n=this.canSelectItem(t)?new Ot([t],t,t):new Ot;this.state.setSelectedKeys(n)}setSelectedKeys(t){if(this.selectionMode==="none")return;let n=new Ot;for(let r of t)if(r=this.getKey(r),r!=null&&(n.add(r),this.selectionMode==="single"))break;this.state.setSelectedKeys(n)}getSelectAllKeys(){let t=[],n=r=>{for(;r;){if(this.canSelectItem(r)){let o=this.collection.getItem(r);o.type==="item"&&t.push(r),o.hasChildNodes&&(this.allowsCellSelection||o.type!=="item")&&n(U6(Y6(o,this.collection)).key)}r=this.collection.getKeyAfter(r)}};return n(this.collection.getFirstKey()),t}selectAll(){!this.isSelectAll&&this.selectionMode==="multiple"&&this.state.setSelectedKeys("all")}clearSelection(){!this.disallowEmptySelection&&(this.state.selectedKeys==="all"||this.state.selectedKeys.size>0)&&this.state.setSelectedKeys(new Ot)}toggleSelectAll(){this.isSelectAll?this.clearSelection():this.selectAll()}select(t,n){this.selectionMode!=="none"&&(this.selectionMode==="single"?this.isSelected(t)&&!this.disallowEmptySelection?this.toggleSelection(t):this.replaceSelection(t):this.selectionBehavior==="toggle"||n&&(n.pointerType==="touch"||n.pointerType==="virtual")?this.toggleSelection(t):this.replaceSelection(t))}isSelectionEqual(t){if(t===this.state.selectedKeys)return!0;let n=this.selectedKeys;if(t.size!==n.size)return!1;for(let r of t)if(!n.has(r))return!1;for(let r of n)if(!t.has(r))return!1;return!0}canSelectItem(t){if(this.state.selectionMode==="none"||this.state.disabledKeys.has(t))return!1;let n=this.collection.getItem(t);return!(!n||n.type==="cell"&&!this.allowsCellSelection)}isDisabled(t){return this.state.disabledKeys.has(t)&&this.state.disabledBehavior==="all"}isLink(t){var n,r;return!!(!((r=this.collection.getItem(t))===null||r===void 0||(n=r.props)===null||n===void 0)&&n.href)}constructor(t,n,r){this.collection=t,this.state=n;var o;this.allowsCellSelection=(o=r==null?void 0:r.allowsCellSelection)!==null&&o!==void 0?o:!1,this._isSelectAll=null}}var e9=()=>F.jsxs("svg",{"aria-hidden":"true",fill:"none",height:"80%",role:"presentation",viewBox:"0 0 24 24",width:"80%",children:[F.jsx("path",{d:"M12 2C9.38 2 7.25 4.13 7.25 6.75C7.25 9.32 9.26 11.4 11.88 11.49C11.96 11.48 12.04 11.48 12.1 11.49C12.12 11.49 12.13 11.49 12.15 11.49C12.16 11.49 12.16 11.49 12.17 11.49C14.73 11.4 16.74 9.32 16.75 6.75C16.75 4.13 14.62 2 12 2Z",fill:"currentColor"}),F.jsx("path",{d:"M17.0809 14.1489C14.2909 12.2889 9.74094 12.2889 6.93094 14.1489C5.66094 14.9989 4.96094 16.1489 4.96094 17.3789C4.96094 18.6089 5.66094 19.7489 6.92094 20.5889C8.32094 21.5289 10.1609 21.9989 12.0009 21.9989C13.8409 21.9989 15.6809 21.5289 17.0809 20.5889C18.3409 19.7389 19.0409 18.5989 19.0409 17.3589C19.0309 16.1289 18.3409 14.9889 17.0809 14.1489Z",fill:"currentColor"})]}),[wD,t9]=Wa({name:"AvatarGroupContext",strict:!1}),n9=globalThis!=null&&globalThis.document?f.useLayoutEffect:f.useEffect;function r9(e={}){const{loading:t,src:n,srcSet:r,onLoad:o,onError:a,crossOrigin:i,sizes:s,ignoreFallback:l}=e,[u,c]=f.useState("pending");f.useEffect(()=>{c(n?"loading":"pending")},[n]);const d=f.useRef(),p=f.useCallback(()=>{if(!n)return;m();const h=new Image;h.src=n,i&&(h.crossOrigin=i),r&&(h.srcset=r),s&&(h.sizes=s),t&&(h.loading=t),h.onload=g=>{m(),c("loaded"),o==null||o(g)},h.onerror=g=>{m(),c("failed"),a==null||a(g)},d.current=h},[n,i,r,s,o,a,t]),m=()=>{d.current&&(d.current.onload=null,d.current.onerror=null,d.current=null)};return n9(()=>{if(!l)return u==="loading"&&p(),()=>{m()}},[u,p,l]),l?"loaded":u}function o9(e={}){var t,n,r,o,a;const i=t9(),s=!!i,{as:l,ref:u,src:c,name:d,icon:p,classNames:m,fallback:h,alt:g=d||"avatar",imgRef:b,color:x=(t=i==null?void 0:i.color)!=null?t:"default",radius:y=(n=i==null?void 0:i.radius)!=null?n:"full",size:w=(r=i==null?void 0:i.size)!=null?r:"md",isBordered:S=(o=i==null?void 0:i.isBordered)!=null?o:!1,isDisabled:P=(a=i==null?void 0:i.isDisabled)!=null?a:!1,isFocusable:A=!1,getInitials:T=ay,ignoreFallback:v=!1,showFallback:D=!1,ImgComponent:$="img",imgProps:M,className:k,onError:I,...E}=e,O=l||"span",j=bt(u),N=bt(b),{isFocusVisible:W,isFocused:K,focusProps:H}=Gt(),{isHovered:X,hoverProps:B}=Wn({isDisabled:P}),Y=r9({src:c,onError:I,ignoreFallback:v})==="loaded",R=(!c||!Y)&&D,Z=f.useMemo(()=>{var be;return ry({color:x,radius:y,size:w,isBordered:S,isDisabled:P,isInGroup:s,isInGridGroup:(be=i==null?void 0:i.isGrid)!=null?be:!1})},[x,y,w,S,P,s,i==null?void 0:i.isGrid]),q=we(m==null?void 0:m.base,k),ae=f.useMemo(()=>A||l==="button",[A,l]),le=f.useCallback((be={})=>({ref:j,tabIndex:ae?0:-1,"data-hover":re(X),"data-focus":re(K),"data-focus-visible":re(W),className:Z.base({class:we(q,be==null?void 0:be.className)}),...he(E,B,ae?H:{})}),[ae,Z,q,H,E]),pe=f.useCallback((be={})=>({ref:N,src:c,"data-loaded":re(Y),className:Z.img({class:m==null?void 0:m.img}),...he(M,be)}),[Z,Y,M,c,N]);return{Component:O,ImgComponent:$,src:c,alt:g,icon:p,name:d,imgRef:N,slots:Z,classNames:m,fallback:h,isImgLoaded:Y,showFallback:R,ignoreFallback:v,getInitials:T,getAvatarProps:le,getImageProps:pe}}var p1=$t((e,t)=>{const{Component:n,ImgComponent:r,src:o,icon:a=F.jsx(e9,{}),alt:i,classNames:s,slots:l,name:u,showFallback:c,fallback:d,getInitials:p,getAvatarProps:m,getImageProps:h}=o9({...e,ref:t}),g=f.useMemo(()=>!c&&o?null:d?F.jsx("div",{"aria-label":i,className:l.fallback({class:s==null?void 0:s.fallback}),role:"img",children:d}):u?F.jsx("span",{"aria-label":i,className:l.name({class:s==null?void 0:s.name}),role:"img",children:p(u)}):F.jsx("span",{"aria-label":i,className:l.icon({class:s==null?void 0:s.icon}),role:"img",children:a}),[c,o,d,u,s]);return F.jsxs(n,{...m(),children:[o&&F.jsx(r,{...h(),alt:i}),g]})});p1.displayName="NextUI.Avatar";var a9=p1,[ID,i9]=Wa({name:"ButtonGroupContext",strict:!1});function s9(e,t){let{elementType:n="button",isDisabled:r,onPress:o,onPressStart:a,onPressEnd:i,onPressChange:s,preventFocusOnPress:l,allowFocusWhenDisabled:u,onClick:c,href:d,target:p,rel:m,type:h="button",allowTextSelectionOnPress:g}=e,b;n==="button"?b={type:h,disabled:r}:b={role:"button",tabIndex:r?void 0:0,href:n==="a"&&r?void 0:d,target:n==="a"?p:void 0,type:n==="input"?h:void 0,disabled:n==="input"?r:void 0,"aria-disabled":!r||n==="input"?void 0:r,rel:n==="a"?m:void 0};let{pressProps:x,isPressed:y}=po({onPressStart:a,onPressEnd:i,onPressChange:s,onPress:o,isDisabled:r,preventFocusOnPress:l,allowTextSelectionOnPress:g,ref:t}),{focusableProps:w}=La(e,t);u&&(w.tabIndex=r?-1:w.tabIndex);let S=he(w,x,br(e,{labelable:!0}));return{isPressed:y,buttonProps:he(b,S,{"aria-haspopup":e["aria-haspopup"],"aria-expanded":e["aria-expanded"],"aria-controls":e["aria-controls"],"aria-pressed":e["aria-pressed"],onClick:P=>{c==null||c(P)}})}}var l9=(e,t,n)=>Math.min(Math.max(e,t),n),m1=e=>{const{ripples:t=[],motionProps:n,color:r="currentColor",style:o,onClear:a}=e;return F.jsx(F.Fragment,{children:t.map(i=>{const s=l9(.01*i.size,.2,i.size>100?.75:.5);return F.jsx(j6,{mode:"popLayout",children:F.jsx(o1.span,{animate:{transform:"scale(2)",opacity:0},className:"nextui-ripple",exit:{opacity:0},initial:{transform:"scale(0)",opacity:.35},style:{position:"absolute",backgroundColor:r,borderRadius:"100%",transformOrigin:"center",pointerEvents:"none",zIndex:10,top:i.y,left:i.x,width:`${i.size}px`,height:`${i.size}px`,...o},transition:{duration:s},onAnimationComplete:()=>{a(i.key)},...n})},i.key)})})};m1.displayName="NextUI.Ripple";var u9=m1;function c9(e={}){const[t,n]=f.useState([]),r=f.useCallback(a=>{const i=a.currentTarget,s=Math.max(i.clientWidth,i.clientHeight),l=i.getBoundingClientRect();n(u=>[...u,{key:iy(u.length.toString()),size:s,x:a.clientX-l.x-s/2,y:a.clientY-l.y-s/2}])},[]),o=f.useCallback(a=>{n(i=>i.filter(s=>s.key!==a))},[]);return{ripples:t,onClick:r,onClear:o,...e}}function d9(e){var t,n,r,o,a,i,s,l;const u=i9(),c=!!u,{ref:d,as:p,children:m,startContent:h,endContent:g,autoFocus:b,className:x,spinner:y,fullWidth:w=(t=u==null?void 0:u.fullWidth)!=null?t:!1,size:S=(n=u==null?void 0:u.size)!=null?n:"md",color:P=(r=u==null?void 0:u.color)!=null?r:"default",variant:A=(o=u==null?void 0:u.variant)!=null?o:"solid",disableAnimation:T=(a=u==null?void 0:u.disableAnimation)!=null?a:!1,radius:v=u==null?void 0:u.radius,disableRipple:D=(i=u==null?void 0:u.disableRipple)!=null?i:!1,isDisabled:$=(s=u==null?void 0:u.isDisabled)!=null?s:!1,isIconOnly:M=(l=u==null?void 0:u.isIconOnly)!=null?l:!1,isLoading:k=!1,spinnerPlacement:I="start",onPress:E,onClick:O,...j}=e,N=p||"button",W=typeof N=="string",K=bt(d),{isFocusVisible:H,isFocused:X,focusProps:B}=Gt({autoFocus:b}),G=$||k,Y=f.useMemo(()=>oy({size:S,color:P,variant:A,radius:v,fullWidth:w,isDisabled:G,isInGroup:c,disableAnimation:T,isIconOnly:M,className:x}),[S,P,A,v,w,G,c,M,T,x]),{onClick:R,onClear:Z,ripples:q}=c9(),ae=f.useCallback(je=>{D||G||T||K.current&&R(je)},[D,G,T,K,R]),{buttonProps:le,isPressed:pe}=s9({elementType:p,isDisabled:G,onPress:E,onClick:Ln(O,ae),...j},K),{isHovered:be,hoverProps:Q}=Wn({isDisabled:G}),Pe=f.useCallback((je={})=>({"data-disabled":re(G),"data-focus":re(X),"data-pressed":re(pe),"data-focus-visible":re(H),"data-hover":re(be),"data-loading":re(k),...he(le,B,Q,fo(j,{enabled:W}),fo(je))}),[k,G,X,pe,W,H,be,le,B,Q,j]),ie=je=>f.isValidElement(je)?f.cloneElement(je,{"aria-hidden":!0,focusable:!1,tabIndex:-1}):null,ne=ie(h),Ge=ie(g),Xe=f.useMemo(()=>({sm:"sm",md:"sm",lg:"md"})[S],[S]),Ze=f.useCallback(()=>({ripples:q,onClear:Z}),[q,Z]);return{Component:N,children:m,domRef:K,spinner:y,styles:Y,startContent:ne,endContent:Ge,isLoading:k,spinnerPlacement:I,spinnerSize:Xe,disableRipple:D,getButtonProps:Pe,getRippleProps:Ze,isIconOnly:M}}function f9(e){const[t,n]=uo(e,mf.variantKeys),{children:r,className:o,classNames:a,label:i,...s}=t,l=f.useMemo(()=>mf({...n}),[...Object.values(n)]),u=we(a==null?void 0:a.base,o),c=i||r,d=f.useMemo(()=>c&&typeof c=="string"?c:s["aria-label"]?"":"Loading",[r,c,s["aria-label"]]),p=f.useCallback(()=>({"aria-label":d,className:l.base({class:u}),...s}),[d,l,u,s]);return{label:c,slots:l,classNames:a,getSpinnerProps:p}}var h1=$t((e,t)=>{const{slots:n,classNames:r,label:o,getSpinnerProps:a}=f9({...e});return F.jsxs("div",{ref:t,...a(),children:[F.jsxs("div",{className:n.wrapper({class:r==null?void 0:r.wrapper}),children:[F.jsx("i",{className:n.circle1({class:r==null?void 0:r.circle1})}),F.jsx("i",{className:n.circle2({class:r==null?void 0:r.circle2})})]}),o&&F.jsx("span",{className:n.label(),children:o})]})});h1.displayName="NextUI.Spinner";var p9=h1,g1=$t((e,t)=>{const{Component:n,domRef:r,children:o,styles:a,spinnerSize:i,spinner:s=F.jsx(p9,{color:"current",size:i}),spinnerPlacement:l,startContent:u,endContent:c,isLoading:d,disableRipple:p,getButtonProps:m,getRippleProps:h,isIconOnly:g}=d9({...e,ref:t});return F.jsxs(n,{ref:r,className:a,...m(),children:[u,d&&l==="start"&&s,d&&g?null:o,d&&l==="end"&&s,c,!p&&F.jsx(u9,{...h()})]})});g1.displayName="NextUI.Button";var m9=g1;function h9(e){const[t,n]=uo(e,vf.variantKeys),{ref:r,as:o,children:a,avatar:i,startContent:s,endContent:l,onClose:u,classNames:c,className:d,...p}=t,m=o||"div",h=bt(r),g=we(c==null?void 0:c.base,d),b=!!u,x=e.variant==="dot",{focusProps:y,isFocusVisible:w}=Gt(),S=f.useMemo(()=>typeof a=="string"&&(a==null?void 0:a.length)===1,[a]),P=f.useMemo(()=>!!i||!!s,[i,s]),A=f.useMemo(()=>!!l||b,[l,b]),T=f.useMemo(()=>vf({...n,hasStartContent:P,hasEndContent:A,isOneChar:S,isCloseable:b,isCloseButtonFocusVisible:w}),[...Object.values(n),w,P,A,S,b]),{pressProps:v}=po({isDisabled:!!(e!=null&&e.isDisabled),onPress:u}),D=()=>({ref:h,className:T.base({class:g}),...p}),$=()=>({role:"button",tabIndex:0,className:T.closeButton({class:c==null?void 0:c.closeButton}),...he(v,y)}),M=I=>f.isValidElement(I)?f.cloneElement(I,{className:T.avatar({class:c==null?void 0:c.avatar})}):null,k=I=>f.isValidElement(I)?f.cloneElement(I,{className:we("max-h-[80%]",I.props.className)}):null;return{Component:m,children:a,slots:T,classNames:c,isDot:x,isCloseable:b,startContent:M(i)||k(s),endContent:k(l),getCloseButtonProps:$,getChipProps:D}}var b1=$t((e,t)=>{const{Component:n,children:r,slots:o,classNames:a,isDot:i,isCloseable:s,startContent:l,endContent:u,getCloseButtonProps:c,getChipProps:d}=h9({...e,ref:t}),p=f.useMemo(()=>i&&!l?F.jsx("span",{className:o.dot({class:a==null?void 0:a.dot})}):l,[o,l,i]),m=f.useMemo(()=>s?F.jsx("span",{...c(),children:u||F.jsx(Ay,{})}):u,[u,s,c]);return F.jsxs(n,{...d(),children:[p,F.jsx("span",{className:o.content({class:a==null?void 0:a.content}),children:r}),m]})});b1.displayName="NextUI.Chip";var v1=b1;function ru(e,t,n){let{validationBehavior:r,focus:o}=e;Jt(()=>{if(r==="native"&&(n!=null&&n.current)){let l=t.realtimeValidation.isInvalid?t.realtimeValidation.validationErrors.join(" ")||"Invalid value.":"";n.current.setCustomValidity(l),n.current.hasAttribute("title")||(n.current.title=""),t.realtimeValidation.isInvalid||t.updateValidation(b9(n.current))}});let a=Je(()=>{t.resetValidation()}),i=Je(l=>{var u;t.displayValidation.isInvalid||t.commitValidation();let c=n==null||(u=n.current)===null||u===void 0?void 0:u.form;if(!l.defaultPrevented&&n&&c&&v9(c)===n.current){var d;o?o():(d=n.current)===null||d===void 0||d.focus(),T2("keyboard")}l.preventDefault()}),s=Je(()=>{t.commitValidation()});f.useEffect(()=>{let l=n==null?void 0:n.current;if(!l)return;let u=l.form;return l.addEventListener("invalid",i),l.addEventListener("change",s),u==null||u.addEventListener("reset",a),()=>{l.removeEventListener("invalid",i),l.removeEventListener("change",s),u==null||u.removeEventListener("reset",a)}},[n,i,s,a,r])}function g9(e){let t=e.validity;return{badInput:t.badInput,customError:t.customError,patternMismatch:t.patternMismatch,rangeOverflow:t.rangeOverflow,rangeUnderflow:t.rangeUnderflow,stepMismatch:t.stepMismatch,tooLong:t.tooLong,tooShort:t.tooShort,typeMismatch:t.typeMismatch,valueMissing:t.valueMissing,valid:t.valid}}function b9(e){return{isInvalid:!e.validity.valid,validationDetails:g9(e),validationErrors:e.validationMessage?[e.validationMessage]:[]}}function v9(e){for(let t=0;t<e.elements.length;t++){let n=e.elements[t];if(!n.validity.valid)return n}return null}const y1={badInput:!1,customError:!1,patternMismatch:!1,rangeOverflow:!1,rangeUnderflow:!1,stepMismatch:!1,tooLong:!1,tooShort:!1,typeMismatch:!1,valueMissing:!1,valid:!0},x1={...y1,customError:!0,valid:!1},$r={isInvalid:!1,validationDetails:y1,validationErrors:[]},y9=f.createContext({}),ou="__formValidationState"+Date.now();function mi(e){if(e[ou]){let{realtimeValidation:t,displayValidation:n,updateValidation:r,resetValidation:o,commitValidation:a}=e[ou];return{realtimeValidation:t,displayValidation:n,updateValidation:r,resetValidation:o,commitValidation:a}}return x9(e)}function x9(e){let{isInvalid:t,validationState:n,name:r,value:o,builtinValidation:a,validate:i,validationBehavior:s="aria"}=e;n&&(t||(t=n==="invalid"));let l=t?{isInvalid:!0,validationErrors:[],validationDetails:x1}:null,u=f.useMemo(()=>C1(C9(i,o)),[i,o]);a!=null&&a.validationDetails.valid&&(a=null);let c=f.useContext(y9),d=f.useMemo(()=>r?Array.isArray(r)?r.flatMap($=>au(c[$])):au(c[r]):[],[c,r]),[p,m]=f.useState(c),[h,g]=f.useState(!1);c!==p&&(m(c),g(!1));let b=f.useMemo(()=>C1(h?[]:d),[h,d]),x=f.useRef($r),[y,w]=f.useState($r),S=f.useRef($r),P=()=>{if(!A)return;T(!1);let $=u||a||x.current;iu($,S.current)||(S.current=$,w($))},[A,T]=f.useState(!1);return f.useEffect(P),{realtimeValidation:l||b||u||a||$r,displayValidation:s==="native"?l||b||y:l||b||u||a||y,updateValidation($){s==="aria"&&!iu(y,$)?w($):x.current=$},resetValidation(){let $=$r;iu($,S.current)||(S.current=$,w($)),s==="native"&&T(!1),g(!0)},commitValidation(){s==="native"&&T(!0),g(!0)}}}function au(e){return e?Array.isArray(e)?e:[e]:[]}function C9(e,t){if(typeof e=="function"){let n=e(t);if(n&&typeof n!="boolean")return au(n)}return[]}function C1(e){return e.length?{isInvalid:!0,validationErrors:e,validationDetails:x1}:null}function iu(e,t){return e===t?!0:e&&t&&e.isInvalid===t.isInvalid&&e.validationErrors.length===t.validationErrors.length&&e.validationErrors.every((n,r)=>n===t.validationErrors[r])&&Object.entries(e.validationDetails).every(([n,r])=>t.validationDetails[n]===r)}function w1(e,t,n){let{isDisabled:r=!1,isReadOnly:o=!1,value:a,name:i,children:s,"aria-label":l,"aria-labelledby":u,validationState:c="valid",isInvalid:d}=e,p=A=>{A.stopPropagation(),t.setSelected(A.target.checked)},m=s!=null,h=l!=null||u!=null;!m&&!h&&console.warn("If you do not provide children, you must specify an aria-label for accessibility");let{pressProps:g,isPressed:b}=Vn({isDisabled:r}),{pressProps:x,isPressed:y}=Vn({isDisabled:r||o,onPress(){t.toggle()}}),{focusableProps:w}=La(e,n),S=he(g,w),P=br(e,{labelable:!0});return Fs(n,t.isSelected,t.setSelected),{labelProps:he(x,{onClick:A=>A.preventDefault()}),inputProps:he(P,{"aria-invalid":d||c==="invalid"||void 0,"aria-errormessage":e["aria-errormessage"],"aria-controls":e["aria-controls"],"aria-readonly":o||void 0,onChange:p,disabled:r,...a==null?{}:{value:a},name:i,type:"checkbox",...S}),isSelected:t.isSelected,isPressed:b||y,isDisabled:r,isReadOnly:o,isInvalid:d||c==="invalid"}}function w9(e){let{id:t,label:n,"aria-labelledby":r,"aria-label":o,labelElementType:a="label"}=e;t=gr(t);let i=gr(),s={};n?(r=r?`${i} ${r}`:i,s={id:i,htmlFor:a==="label"?t:void 0}):!r&&!o&&console.warn("If you do not provide a visible label, you must specify an aria-label or aria-labelledby attribute for accessibility");let l=$s({id:t,"aria-label":o,"aria-labelledby":r});return{labelProps:s,fieldProps:l}}function I1(e){let{description:t,errorMessage:n,isInvalid:r,validationState:o}=e,{labelProps:a,fieldProps:i}=w9(e),s=Od([!!t,!!n,r,o]),l=Od([!!t,!!n,r,o]);return i=he(i,{"aria-describedby":[s,l,e["aria-describedby"]].filter(Boolean).join(" ")||void 0}),{labelProps:a,fieldProps:i,descriptionProps:{id:s},errorMessageProps:{id:l}}}function su(e={}){let{isReadOnly:t}=e,[n,r]=hr(e.isSelected,e.defaultSelected||!1,e.onChange);function o(i){t||r(i)}function a(){t||r(!n)}return{isSelected:n,setSelected:o,toggle:a}}function E1(e,t,n){let r=mi({...e,value:t.isSelected}),{isInvalid:o,validationErrors:a,validationDetails:i}=r.displayValidation,{labelProps:s,inputProps:l,isSelected:u,isPressed:c,isDisabled:d,isReadOnly:p}=w1({...e,isInvalid:o},t,n);ru(e,r,n);let{isIndeterminate:m,isRequired:h,validationBehavior:g="aria"}=e;return f.useEffect(()=>{n.current&&(n.current.indeterminate=!!m)}),{labelProps:s,inputProps:{...l,checked:u,"aria-required":h&&g==="aria"||void 0,required:h&&g==="native"},isSelected:u,isPressed:c,isDisabled:d,isReadOnly:p,isInvalid:o,validationErrors:a,validationDetails:i}}const I9=new WeakMap;function E9(e,t,n){const r=su({isReadOnly:e.isReadOnly||t.isReadOnly,isSelected:t.isSelected(e.value),onChange(b){b?t.addValue(e.value):t.removeValue(e.value),e.onChange&&e.onChange(b)}});let{name:o,descriptionId:a,errorMessageId:i,validationBehavior:s}=I9.get(t);var l;s=(l=e.validationBehavior)!==null&&l!==void 0?l:s;let{realtimeValidation:u}=mi({...e,value:r.isSelected,name:void 0,validationBehavior:"aria"}),c=f.useRef($r),d=()=>{t.setInvalid(e.value,u.isInvalid?u:c.current)};f.useEffect(d);let p=t.realtimeValidation.isInvalid?t.realtimeValidation:u,m=s==="native"?t.displayValidation:p;var h;let g=E1({...e,isReadOnly:e.isReadOnly||t.isReadOnly,isDisabled:e.isDisabled||t.isDisabled,name:e.name||o,isRequired:(h=e.isRequired)!==null&&h!==void 0?h:t.isRequired,validationBehavior:s,[ou]:{realtimeValidation:p,displayValidation:m,resetValidation:t.resetValidation,commitValidation:t.commitValidation,updateValidation(b){c.current=b,d()}}},r,n);return{...g,inputProps:{...g.inputProps,"aria-describedby":[e["aria-describedby"],t.isInvalid?i:null,a].filter(Boolean).join(" ")||void 0}}}var[ED,P9]=Wa({name:"CheckboxGroupContext",strict:!1});function S9(e){const{isSelected:t,disableAnimation:n,...r}=e;return F.jsx("svg",{"aria-hidden":"true",role:"presentation",viewBox:"0 0 17 18",...r,children:F.jsx("polyline",{fill:"none",points:"1 9 7 14 15 4",stroke:"currentColor",strokeDasharray:22,strokeDashoffset:t?44:66,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,style:!n&&t?{transition:"stroke-dashoffset 250ms linear 0.2s"}:{}})})}function M9(e){const{isSelected:t,disableAnimation:n,...r}=e;return F.jsx("svg",{stroke:"currentColor",strokeWidth:3,viewBox:"0 0 24 24",...r,children:F.jsx("line",{x1:"21",x2:"3",y1:"12",y2:"12"})})}function A9(e){const{isIndeterminate:t,...n}=e,r=t?M9:S9;return F.jsx(r,{...n})}function T9(e={}){var t,n,r,o,a,i;const s=P9(),l=!!s,{as:u,ref:c,value:d="",children:p,icon:m,name:h,isRequired:g=!1,isReadOnly:b=!1,autoFocus:x=!1,isSelected:y,validationState:w,size:S=(t=s==null?void 0:s.size)!=null?t:"md",color:P=(n=s==null?void 0:s.color)!=null?n:"primary",radius:A=s==null?void 0:s.radius,lineThrough:T=(r=s==null?void 0:s.lineThrough)!=null?r:!1,isDisabled:v=(o=s==null?void 0:s.isDisabled)!=null?o:!1,disableAnimation:D=(a=s==null?void 0:s.disableAnimation)!=null?a:!1,isInvalid:$=w?w==="invalid":(i=s==null?void 0:s.isInvalid)!=null?i:!1,isIndeterminate:M=!1,defaultSelected:k,classNames:I,onChange:E,className:O,onValueChange:j,...N}=e;s&&Cf&&(y&&Ba("The Checkbox.Group is being used, `isSelected` will be ignored. Use the `value` of the Checkbox.Group instead.","Checkbox"),k&&Ba("The Checkbox.Group is being used, `defaultSelected` will be ignored. Use the `defaultValue` of the Checkbox.Group instead.","Checkbox"));const W=u||"label",K=f.useRef(null),H=wf(c,K),X=f.useId(),B=f.useMemo(()=>({name:h,value:d,children:p,autoFocus:x,defaultSelected:k,isIndeterminate:M,isRequired:g,isInvalid:$,isSelected:y,isDisabled:v,isReadOnly:b,"aria-label":el(N["aria-label"],p),"aria-labelledby":N["aria-labelledby"]||X,onChange:j}),[d,h,X,p,x,$,M,v,b,y,k,N["aria-label"],N["aria-labelledby"],j]),{inputProps:G,isSelected:Y,isDisabled:R,isReadOnly:Z,isPressed:q}=l?E9({...B,isInvalid:$},s.groupState,K):E1(B,su(B),K),ae=R||Z,[le,pe]=f.useState(!1),{pressProps:be}=po({isDisabled:ae,onPressStart(lt){lt.pointerType!=="keyboard"&&pe(!0)},onPressEnd(lt){lt.pointerType!=="keyboard"&&pe(!1)}}),Q=ae?!1:le||q;g&&(G.required=!0);const{hoverProps:Pe,isHovered:ie}=Wn({isDisabled:G.disabled}),{focusProps:ne,isFocused:Ge,isFocusVisible:Xe}=Gt({autoFocus:G.autoFocus}),Ze=f.useMemo(()=>ny({color:P,size:S,radius:A,isInvalid:$,lineThrough:T,isDisabled:R,disableAnimation:D}),[P,S,A,$,T,R,D]),je=we(I==null?void 0:I.base,O),Kt=f.useCallback(()=>({ref:H,className:Ze.base({class:je}),"data-disabled":re(R),"data-selected":re(Y||M),"data-invalid":re($),"data-hover":re(ie),"data-focus":re(Ge),"data-pressed":re(Q),"data-readonly":re(G.readOnly),"data-focus-visible":re(Xe),"data-indeterminate":re(M),...he(Pe,be,N)}),[Ze,je,R,Y,M,$,ie,Ge,Q,G.readOnly,Xe,Pe,be,N]),Dt=f.useCallback((lt={})=>({...lt,"aria-hidden":!0,className:we(Ze.wrapper({class:we(I==null?void 0:I.wrapper,lt==null?void 0:lt.className)}))}),[Ze,I==null?void 0:I.wrapper]),mt=f.useCallback(()=>({ref:K,...he(G,ne),onChange:Ln(G.onChange,E)}),[G,ne,E]),lr=f.useCallback(()=>({id:X,className:Ze.label({class:I==null?void 0:I.label})}),[Ze,I==null?void 0:I.label,R,Y,$]),st=f.useCallback(()=>({isSelected:Y,isIndeterminate:!!M,disableAnimation:!!D,className:Ze.icon({class:I==null?void 0:I.icon})}),[Ze,I==null?void 0:I.icon,Y,M,D]);return{Component:W,icon:m,children:p,isSelected:Y,isDisabled:R,isInvalid:$,isFocused:Ge,isHovered:ie,isFocusVisible:Xe,getBaseProps:Kt,getWrapperProps:Dt,getInputProps:mt,getLabelProps:lr,getIconProps:st}}var P1=$t((e,t)=>{const{Component:n,children:r,icon:o=F.jsx(A9,{}),getBaseProps:a,getWrapperProps:i,getInputProps:s,getIconProps:l,getLabelProps:u}=T9({...e,ref:t}),c=typeof o=="function"?o(l()):f.cloneElement(o,l());return F.jsxs(n,{...a(),children:[F.jsx(Js,{children:F.jsx("input",{...s()})}),F.jsx("span",{...i(),children:c}),r&&F.jsx("span",{...u(),children:r})]})});P1.displayName="NextUI.Checkbox";var D9=P1;const S1=e=>typeof e=="object"&&e!=null&&e.nodeType===1,M1=(e,t)=>(!t||e!=="hidden")&&e!=="visible"&&e!=="clip",lu=(e,t)=>{if(e.clientHeight<e.scrollHeight||e.clientWidth<e.scrollWidth){const n=getComputedStyle(e,null);return M1(n.overflowY,t)||M1(n.overflowX,t)||(r=>{const o=(a=>{if(!a.ownerDocument||!a.ownerDocument.defaultView)return null;try{return a.ownerDocument.defaultView.frameElement}catch{return null}})(r);return!!o&&(o.clientHeight<r.scrollHeight||o.clientWidth<r.scrollWidth)})(e)}return!1},hi=(e,t,n,r,o,a,i,s)=>a<e&&i>t||a>e&&i<t?0:a<=e&&s<=n||i>=t&&s>=n?a-e-r:i>t&&s<n||a<e&&s>n?i-t+o:0,N9=e=>{const t=e.parentElement;return t??(e.getRootNode().host||null)},A1=(e,t)=>{var n,r,o,a;if(typeof document>"u")return[];const{scrollMode:i,block:s,inline:l,boundary:u,skipOverflowHiddenElements:c}=t,d=typeof u=="function"?u:j=>j!==u;if(!S1(e))throw new TypeError("Invalid target");const p=document.scrollingElement||document.documentElement,m=[];let h=e;for(;S1(h)&&d(h);){if(h=N9(h),h===p){m.push(h);break}h!=null&&h===document.body&&lu(h)&&!lu(document.documentElement)||h!=null&&lu(h,c)&&m.push(h)}const g=(r=(n=window.visualViewport)==null?void 0:n.width)!=null?r:innerWidth,b=(a=(o=window.visualViewport)==null?void 0:o.height)!=null?a:innerHeight,{scrollX:x,scrollY:y}=window,{height:w,width:S,top:P,right:A,bottom:T,left:v}=e.getBoundingClientRect(),{top:D,right:$,bottom:M,left:k}=(j=>{const N=window.getComputedStyle(j);return{top:parseFloat(N.scrollMarginTop)||0,right:parseFloat(N.scrollMarginRight)||0,bottom:parseFloat(N.scrollMarginBottom)||0,left:parseFloat(N.scrollMarginLeft)||0}})(e);let I=s==="start"||s==="nearest"?P-D:s==="end"?T+M:P+w/2-D+M,E=l==="center"?v+S/2-k+$:l==="end"?A+$:v-k;const O=[];for(let j=0;j<m.length;j++){const N=m[j],{height:W,width:K,top:H,right:X,bottom:B,left:G}=N.getBoundingClientRect();if(i==="if-needed"&&P>=0&&v>=0&&T<=b&&A<=g&&P>=H&&T<=B&&v>=G&&A<=X)return O;const Y=getComputedStyle(N),R=parseInt(Y.borderLeftWidth,10),Z=parseInt(Y.borderTopWidth,10),q=parseInt(Y.borderRightWidth,10),ae=parseInt(Y.borderBottomWidth,10);let le=0,pe=0;const be="offsetWidth"in N?N.offsetWidth-N.clientWidth-R-q:0,Q="offsetHeight"in N?N.offsetHeight-N.clientHeight-Z-ae:0,Pe="offsetWidth"in N?N.offsetWidth===0?0:K/N.offsetWidth:0,ie="offsetHeight"in N?N.offsetHeight===0?0:W/N.offsetHeight:0;if(p===N)le=s==="start"?I:s==="end"?I-b:s==="nearest"?hi(y,y+b,b,Z,ae,y+I,y+I+w,w):I-b/2,pe=l==="start"?E:l==="center"?E-g/2:l==="end"?E-g:hi(x,x+g,g,R,q,x+E,x+E+S,S),le=Math.max(0,le+y),pe=Math.max(0,pe+x);else{le=s==="start"?I-H-Z:s==="end"?I-B+ae+Q:s==="nearest"?hi(H,B,W,Z,ae+Q,I,I+w,w):I-(H+W/2)+Q/2,pe=l==="start"?E-G-R:l==="center"?E-(G+K/2)+be/2:l==="end"?E-X+q+be:hi(G,X,K,R,q+be,E,E+S,S);const{scrollLeft:ne,scrollTop:Ge}=N;le=ie===0?0:Math.max(0,Math.min(Ge+le/ie,N.scrollHeight-W/ie+Q)),pe=Pe===0?0:Math.max(0,Math.min(ne+pe/Pe,N.scrollWidth-K/Pe+be)),I+=Ge-le,E+=ne-pe}O.push({el:N,top:le,left:pe})}return O},$9=e=>e===!1?{block:"end",inline:"nearest"}:(t=>t===Object(t)&&Object.keys(t).length!==0)(e)?e:{block:"start",inline:"nearest"};function k9(e,t){if(!e.isConnected||!(r=>{let o=r;for(;o&&o.parentNode;){if(o.parentNode===document)return!0;o=o.parentNode instanceof ShadowRoot?o.parentNode.host:o.parentNode}return!1})(e))return;if((r=>typeof r=="object"&&typeof r.behavior=="function")(t))return t.behavior(A1(e,t));const n=typeof t=="boolean"||t==null?void 0:t.behavior;for(const{el:r,top:o,left:a}of A1(e,$9(t)))r.scroll({top:o,left:a,behavior:n})}let O9=Math.round(Math.random()*1e10),F9=0;function L9(e){let t=f.useMemo(()=>e.name||`radio-group-${O9}-${++F9}`,[e.name]);var n;let[r,o]=hr(e.value,(n=e.defaultValue)!==null&&n!==void 0?n:null,e.onChange),[a,i]=f.useState(null),s=mi({...e,value:r}),l=c=>{!e.isReadOnly&&!e.isDisabled&&(o(c),s.commitValidation())},u=s.displayValidation.isInvalid;return{...s,name:t,selectedValue:r,setSelectedValue:l,lastFocusedValue:a,setLastFocusedValue:i,isDisabled:e.isDisabled||!1,isReadOnly:e.isReadOnly||!1,isRequired:e.isRequired||!1,validationState:e.validationState||(u?"invalid":null),isInvalid:u}}const T1=new WeakMap;function V9(e,t,n){let{value:r,children:o,"aria-label":a,"aria-labelledby":i}=e;const s=e.isDisabled||t.isDisabled;let l=o!=null,u=a!=null||i!=null;!l&&!u&&console.warn("If you do not provide children, you must specify an aria-label for accessibility");let c=t.selectedValue===r,d=v=>{v.stopPropagation(),t.setSelectedValue(r)},{pressProps:p,isPressed:m}=Vn({isDisabled:s}),{pressProps:h,isPressed:g}=Vn({isDisabled:s,onPress(){t.setSelectedValue(r)}}),{focusableProps:b}=La(he(e,{onFocus:()=>t.setLastFocusedValue(r)}),n),x=he(p,b),y=br(e,{labelable:!0}),w=-1;t.selectedValue!=null?t.selectedValue===r&&(w=0):(t.lastFocusedValue===r||t.lastFocusedValue==null)&&(w=0),s&&(w=void 0);let{name:S,descriptionId:P,errorMessageId:A,validationBehavior:T}=T1.get(t);return Fs(n,t.selectedValue,t.setSelectedValue),ru({validationBehavior:T},t,n),{labelProps:he(h,{onClick:v=>v.preventDefault()}),inputProps:he(y,{...x,type:"radio",name:S,tabIndex:w,disabled:s,required:t.isRequired&&T==="native",checked:c,value:r,onChange:d,"aria-describedby":[e["aria-describedby"],t.isInvalid?A:null,P].filter(Boolean).join(" ")||void 0}),isDisabled:s,isSelected:c,isPressed:m||g}}function j9(e,t){let{name:n,isReadOnly:r,isRequired:o,isDisabled:a,orientation:i="vertical",validationBehavior:s="aria"}=e,{direction:l}=Vs(),{isInvalid:u,validationErrors:c,validationDetails:d}=t.displayValidation,{labelProps:p,fieldProps:m,descriptionProps:h,errorMessageProps:g}=I1({...e,labelElementType:"span",isInvalid:t.isInvalid,errorMessage:e.errorMessage||c}),b=br(e,{labelable:!0}),{focusWithinProps:x}=ka({onBlurWithin(S){var P;(P=e.onBlur)===null||P===void 0||P.call(e,S),t.selectedValue||t.setLastFocusedValue(null)},onFocusWithin:e.onFocus,onFocusWithinChange:e.onFocusChange}),y=S=>{let P;switch(S.key){case"ArrowRight":l==="rtl"&&i!=="vertical"?P="prev":P="next";break;case"ArrowLeft":l==="rtl"&&i!=="vertical"?P="next":P="prev";break;case"ArrowDown":P="next";break;case"ArrowUp":P="prev";break;default:return}S.preventDefault();let A=Us(S.currentTarget,{from:S.target}),T;P==="next"?(T=A.nextNode(),T||(A.currentNode=S.currentTarget,T=A.firstChild())):(T=A.previousNode(),T||(A.currentNode=S.currentTarget,T=A.lastChild())),T&&(T.focus(),t.setSelectedValue(T.value))},w=gr(n);return T1.set(t,{name:w,descriptionId:h.id,errorMessageId:g.id,validationBehavior:s}),{radioGroupProps:he(b,{role:"radiogroup",onKeyDown:y,"aria-invalid":t.isInvalid||void 0,"aria-errormessage":e["aria-errormessage"],"aria-readonly":r||void 0,"aria-required":o||void 0,"aria-disabled":a||void 0,"aria-orientation":i,...m,...x}),labelProps:p,descriptionProps:h,errorMessageProps:g,isInvalid:u,validationErrors:c,validationDetails:d}}function B9(e){const{as:t,ref:n,classNames:r,children:o,label:a,value:i,name:s,size:l="md",color:u="primary",isDisabled:c=!1,disableAnimation:d=!1,orientation:p="vertical",isRequired:m=!1,validationState:h,isInvalid:g=h==="invalid",isReadOnly:b,errorMessage:x,description:y,className:w,onChange:S,onValueChange:P,...A}=e,T=t||"div",v=bt(n),D=f.useMemo(()=>({...A,value:i,name:s,"aria-label":el(A["aria-label"],a),isRequired:m,isReadOnly:b,isInvalid:g,orientation:p,onChange:P}),[A,i,s,a,m,b,g,p,P]),$=L9(D),{labelProps:M,radioGroupProps:k,errorMessageProps:I,descriptionProps:E}=j9(D,$),O=f.useMemo(()=>({size:l,color:u,groupState:$,isRequired:m,isInvalid:g,isDisabled:c,disableAnimation:d,onChange:S}),[l,u,m,c,g,S,d,$.name,$==null?void 0:$.isDisabled,$==null?void 0:$.isReadOnly,$==null?void 0:$.isRequired,$==null?void 0:$.selectedValue,$==null?void 0:$.lastFocusedValue]),j=f.useMemo(()=>ty({isRequired:m,isInvalid:g,disableAnimation:d}),[g,m,d]),N=we(r==null?void 0:r.base,w),W=f.useCallback(()=>({ref:v,className:j.base({class:N}),...he(k,A)}),[v,j,N,k,A]),K=f.useCallback(()=>({className:j.label({class:r==null?void 0:r.label}),...M}),[j,r==null?void 0:r.label,M,r==null?void 0:r.label]),H=f.useCallback(()=>({className:j.wrapper({class:r==null?void 0:r.wrapper}),role:"presentation","data-orientation":p}),[j,r==null?void 0:r.wrapper,p,j.wrapper]),X=f.useCallback((G={})=>({...G,...E,className:j.description({class:we(r==null?void 0:r.description,G==null?void 0:G.className)})}),[j,r==null?void 0:r.description,E,j.description]),B=f.useCallback((G={})=>({...G,...I,className:j.errorMessage({class:we(r==null?void 0:r.errorMessage,G==null?void 0:G.className)})}),[j,r==null?void 0:r.errorMessage,I]);return{Component:T,children:o,label:a,context:O,errorMessage:x,description:y,getGroupProps:W,getLabelProps:K,getWrapperProps:H,getDescriptionProps:X,getErrorMessageProps:B}}var[W9,_9]=Wa({name:"RadioGroupContext",strict:!1}),D1=$t((e,t)=>{const{Component:n,children:r,label:o,context:a,description:i,errorMessage:s,getGroupProps:l,getLabelProps:u,getWrapperProps:c,getDescriptionProps:d,getErrorMessageProps:p}=B9({...e,ref:t});return F.jsxs(n,{...l(),children:[o&&F.jsx("span",{...u(),children:o}),F.jsx("div",{...c(),children:F.jsx(W9,{value:a,children:r})}),s?F.jsx("div",{...p(),children:s}):i?F.jsx("div",{...d(),children:i}):null]})});D1.displayName="NextUI.RadioGroup";var G9=D1;function R9(e){var t,n,r,o;const a=_9(),{as:i,ref:s,classNames:l,id:u,value:c,children:d,description:p,size:m=(t=a==null?void 0:a.size)!=null?t:"md",color:h=(n=a==null?void 0:a.color)!=null?n:"primary",isDisabled:g=(r=a==null?void 0:a.isDisabled)!=null?r:!1,disableAnimation:b=(o=a==null?void 0:a.disableAnimation)!=null?o:!1,onChange:x=a==null?void 0:a.onChange,autoFocus:y=!1,className:w,...S}=e;a&&Cf&&("checked"in S&&Ba('Remove props "checked" if in the Radio.Group.',"Radio"),c===void 0&&Ba('Props "value" must be defined if in the Radio.Group.',"Radio"));const P=i||"label",A=bt(s),T=f.useRef(null),v=f.useId(),D=f.useMemo(()=>{var ie;return(ie=a.isRequired)!=null?ie:!1},[a.isRequired]),$=a.isInvalid,M=f.useMemo(()=>{const ie=S["aria-label"]||typeof d=="string"?d:void 0,ne=S["aria-describedby"]||typeof p=="string"?p:void 0;return{id:u,isRequired:D,isDisabled:g,"aria-label":ie,"aria-labelledby":S["aria-labelledby"]||v,"aria-describedby":ne}},[v,u,g,D]),{inputProps:k,isDisabled:I,isSelected:E,isPressed:O}=V9({value:c,children:d,...a,...M},a.groupState,T),{focusProps:j,isFocused:N,isFocusVisible:W}=Gt({autoFocus:y}),K=I||k.readOnly,[H,X]=f.useState(!1),{pressProps:B}=po({isDisabled:K,onPressStart(ie){ie.pointerType!=="keyboard"&&X(!0)},onPressEnd(ie){ie.pointerType!=="keyboard"&&X(!1)}}),{hoverProps:G,isHovered:Y}=Wn({isDisabled:K}),R=K?!1:H||O,Z=f.useMemo(()=>ey({color:h,size:m,isInvalid:$,isDisabled:I,disableAnimation:b}),[h,m,I,$,b]),q=we(l==null?void 0:l.base,w),ae=f.useCallback((ie={})=>({...ie,ref:A,className:Z.base({class:q}),"data-disabled":re(I),"data-focus":re(N),"data-focus-visible":re(W),"data-selected":re(E),"data-invalid":re($),"data-hover":re(Y),"data-pressed":re(R),"data-hover-unselected":re(Y&&!E),"data-readonly":re(k.readOnly),"aria-required":re(D),...he(G,B,S)}),[Z,q,A,I,N,W,E,$,Y,R,k.readOnly,D,S]),le=f.useCallback((ie={})=>({...ie,"aria-hidden":!0,className:we(Z.wrapper({class:we(l==null?void 0:l.wrapper,ie.className)}))}),[Z,l==null?void 0:l.wrapper]),pe=f.useCallback((ie={})=>({...ie,ref:T,required:D,...he(k,j),onChange:Ln(k.onChange,x)}),[k,j,D,x]),be=f.useCallback((ie={})=>({...ie,id:v,className:Z.label({class:l==null?void 0:l.label})}),[Z,l==null?void 0:l.label,I,E,$]),Q=f.useCallback((ie={})=>({...ie,className:Z.labelWrapper({class:l==null?void 0:l.labelWrapper})}),[Z,l==null?void 0:l.labelWrapper]),Pe=f.useCallback((ie={})=>({...ie,className:Z.control({class:l==null?void 0:l.control})}),[Z,l==null?void 0:l.control]);return{Component:P,children:d,slots:Z,classNames:l,description:p,isSelected:E,isDisabled:I,isInvalid:$,isFocusVisible:W,getBaseProps:ae,getWrapperProps:le,getInputProps:pe,getLabelProps:be,getLabelWrapperProps:Q,getControlProps:Pe}}var N1=$t((e,t)=>{const{Component:n,children:r,slots:o,classNames:a,description:i,getBaseProps:s,getWrapperProps:l,getInputProps:u,getLabelProps:c,getLabelWrapperProps:d,getControlProps:p}=R9({...e,ref:t});return F.jsxs(n,{...s(),children:[F.jsx(Js,{children:F.jsx("input",{...u()})}),F.jsx("span",{...l(),children:F.jsx("span",{...p()})}),F.jsxs("div",{...d(),children:[r&&F.jsx("span",{...c(),children:r}),i&&F.jsx("span",{className:o.description({class:a==null?void 0:a.description}),children:i})]})]})});N1.displayName="NextUI.Radio";var z9=N1;function H9(e,t,n){let{labelProps:r,inputProps:o,isSelected:a,isPressed:i,isDisabled:s,isReadOnly:l}=w1(e,t,n);return{labelProps:r,inputProps:{...o,role:"switch",checked:a},isSelected:a,isPressed:i,isDisabled:s,isReadOnly:l}}function X9(e={}){const[t,n]=uo(e,gf.variantKeys),{ref:r,as:o,name:a,value:i="",isReadOnly:s=!1,autoFocus:l=!1,startContent:u,endContent:c,defaultSelected:d,isSelected:p,children:m,thumbIcon:h,className:g,classNames:b,onChange:x,onValueChange:y,...w}=t,S=o||"label",P=f.useRef(null),A=wf(r,P),T=f.useId(),v=f.useMemo(()=>{const ne=w["aria-label"]||typeof m=="string"?m:void 0;return{name:a,value:i,children:m,autoFocus:l,defaultSelected:d,isSelected:p,isDisabled:!!e.isDisabled,isReadOnly:s,"aria-label":ne,"aria-labelledby":w["aria-labelledby"]||T,onChange:y}},[i,a,T,m,l,s,p,d,e.isDisabled,w["aria-label"],w["aria-labelledby"],y]),D=su(v),{inputProps:$,isPressed:M,isReadOnly:k}=H9(v,D,P),{focusProps:I,isFocused:E,isFocusVisible:O}=Gt({autoFocus:$.autoFocus}),{hoverProps:j,isHovered:N}=Wn({isDisabled:$.disabled}),W=v.isDisabled||k,[K,H]=f.useState(!1),{pressProps:X}=po({isDisabled:W,onPressStart(ne){ne.pointerType!=="keyboard"&&H(!0)},onPressEnd(ne){ne.pointerType!=="keyboard"&&H(!1)}}),B=W?!1:K||M,G=$.checked,Y=$.disabled,R=f.useMemo(()=>gf({...n}),[...Object.values(n)]),Z=we(b==null?void 0:b.base,g),q=ne=>({...he(j,X,w,ne),ref:A,className:R.base({class:we(Z,ne==null?void 0:ne.className)}),"data-disabled":re(Y),"data-selected":re(G),"data-readonly":re(k),"data-focus":re(E),"data-focus-visible":re(O),"data-hover":re(N),"data-pressed":re(B)}),ae=f.useCallback((ne={})=>({...ne,"aria-hidden":!0,className:we(R.wrapper({class:we(b==null?void 0:b.wrapper,ne==null?void 0:ne.className)}))}),[R,b==null?void 0:b.wrapper]),le=(ne={})=>({...he($,I,ne),ref:P,id:$.id,onChange:Ln(x,$.onChange)}),pe=f.useCallback((ne={})=>({...ne,className:R.thumb({class:we(b==null?void 0:b.thumb,ne==null?void 0:ne.className)})}),[R,b==null?void 0:b.thumb]),be=f.useCallback((ne={})=>({...ne,id:T,className:R.label({class:we(b==null?void 0:b.label,ne==null?void 0:ne.className)})}),[R,b==null?void 0:b.label,Y,G]),Q=f.useCallback((ne={includeStateProps:!1})=>he({width:"1em",height:"1em",className:R.thumbIcon({class:we(b==null?void 0:b.thumbIcon)})},ne.includeStateProps?{isSelected:G}:{}),[R,b==null?void 0:b.thumbIcon,G]),Pe=f.useCallback((ne={})=>({width:"1em",height:"1em",...ne,className:R.startContent({class:we(b==null?void 0:b.startContent,ne==null?void 0:ne.className)})}),[R,b==null?void 0:b.startContent,G]),ie=f.useCallback((ne={})=>({width:"1em",height:"1em",...ne,className:R.endContent({class:we(b==null?void 0:b.endContent,ne==null?void 0:ne.className)})}),[R,b==null?void 0:b.endContent,G]);return{Component:S,slots:R,classNames:b,domRef:A,children:m,thumbIcon:h,startContent:u,endContent:c,isHovered:N,isSelected:G,isPressed:B,isFocused:E,isFocusVisible:O,isDisabled:Y,getBaseProps:q,getWrapperProps:ae,getInputProps:le,getLabelProps:be,getThumbProps:pe,getThumbIconProps:Q,getStartContentProps:Pe,getEndContentProps:ie}}var $1=$t((e,t)=>{const{Component:n,children:r,startContent:o,endContent:a,thumbIcon:i,getBaseProps:s,getInputProps:l,getWrapperProps:u,getThumbProps:c,getThumbIconProps:d,getLabelProps:p,getStartContentProps:m,getEndContentProps:h}=X9({...e,ref:t}),g=typeof i=="function"?i(d({includeStateProps:!0})):i&&f.cloneElement(i,d()),b=o&&f.cloneElement(o,m()),x=a&&f.cloneElement(a,h());return F.jsxs(n,{...s(),children:[F.jsx(Js,{children:F.jsx("input",{...l()})}),F.jsxs("span",{...u(),children:[o&&b,F.jsx("span",{...c(),children:i&&g}),a&&x]}),r&&F.jsx("span",{...p(),children:r})]})});$1.displayName="NextUI.Switch";var Z9=$1;function Y9(e={}){const{rerender:t=!1,delay:n=0}=e,r=f.useRef(!1),[o,a]=f.useState(!1);return f.useEffect(()=>{r.current=!0;let i=null;return t&&(n>0?i=setTimeout(()=>{a(!0)},n):a(!0)),()=>{r.current=!1,t&&a(!1),i&&clearTimeout(i)}},[t]),[f.useCallback(()=>r.current,[]),o]}function U9(e,t){let{inputElementType:n="input",isDisabled:r=!1,isRequired:o=!1,isReadOnly:a=!1,type:i="text",validationBehavior:s="aria"}=e,[l,u]=hr(e.value,e.defaultValue||"",e.onChange),{focusableProps:c}=La(e,t),d=mi({...e,value:l}),{isInvalid:p,validationErrors:m,validationDetails:h}=d.displayValidation,{labelProps:g,fieldProps:b,descriptionProps:x,errorMessageProps:y}=I1({...e,isInvalid:p,errorMessage:e.errorMessage||m}),w=br(e,{labelable:!0});const S={type:i,pattern:e.pattern};return Fs(t,l,u),ru(e,d,t),f.useEffect(()=>{if(t.current instanceof ao(t.current).HTMLTextAreaElement){let P=t.current;Object.defineProperty(P,"defaultValue",{get:()=>P.value,set:()=>{},configurable:!0})}},[t]),{labelProps:g,inputProps:he(w,n==="input"&&S,{disabled:r,readOnly:a,required:o&&s==="native","aria-required":o&&s==="aria"||void 0,"aria-invalid":p||void 0,"aria-errormessage":e["aria-errormessage"],"aria-activedescendant":e["aria-activedescendant"],"aria-autocomplete":e["aria-autocomplete"],"aria-haspopup":e["aria-haspopup"],value:l,onChange:P=>u(P.target.value),autoComplete:e.autoComplete,autoCapitalize:e.autoCapitalize,maxLength:e.maxLength,minLength:e.minLength,name:e.name,placeholder:e.placeholder,inputMode:e.inputMode,onCopy:e.onCopy,onCut:e.onCut,onPaste:e.onPaste,onCompositionEnd:e.onCompositionEnd,onCompositionStart:e.onCompositionStart,onCompositionUpdate:e.onCompositionUpdate,onSelect:e.onSelect,onBeforeInput:e.onBeforeInput,onInput:e.onInput,...c,...b}),descriptionProps:x,errorMessageProps:y,isInvalid:p,validationErrors:m,validationDetails:h}}function K9(e){const[t,n]=uo(e,bf.variantKeys),{ref:r,as:o,label:a,baseRef:i,wrapperRef:s,description:l,errorMessage:u,className:c,classNames:d,autoFocus:p,startContent:m,endContent:h,onClear:g,onChange:b,validationState:x,innerWrapperRef:y,onValueChange:w=()=>{},...S}=t,P=f.useCallback(xe=>{w(xe??"")},[w]),[A,T]=hr(t.value,t.defaultValue,P),[v,D]=f.useState(!1),$=o||"div",M=!!A,k=M||v,I=we(d==null?void 0:d.base,c,M?"is-filled":""),E=e.isMultiline,O=bt(r),j=bt(i),N=bt(s),W=bt(y),K=f.useCallback(()=>{T(""),O.current&&(O.current.value="",O.current.focus()),g==null||g()},[O,T,g]),{labelProps:H,inputProps:X,descriptionProps:B,errorMessageProps:G}=U9({...e,"aria-label":el(e==null?void 0:e["aria-label"],e==null?void 0:e.label,e==null?void 0:e.placeholder),inputElementType:E?"textarea":"input",onChange:T},O),{isFocusVisible:Y,isFocused:R,focusProps:Z}=Gt({autoFocus:p,isTextInput:!0}),{isHovered:q,hoverProps:ae}=Wn({isDisabled:!!(e!=null&&e.isDisabled)}),{focusProps:le,isFocusVisible:pe}=Gt(),{focusWithinProps:be}=ka({onFocusWithinChange:D}),{pressProps:Q}=Vn({isDisabled:!!(e!=null&&e.isDisabled),onPress:K}),Pe=x==="invalid"||e.isInvalid,ie=f.useMemo(()=>{var xe;return(!e.labelPlacement||e.labelPlacement==="inside")&&!a?"outside":(xe=e.labelPlacement)!=null?xe:"inside"},[e.labelPlacement,a]),ne=!!g||e.isClearable,Ge=!!a||!!l||!!u,Xe=!!t.placeholder,Ze=!!a,je=!!l||!!u,Kt=ie==="outside"||ie==="outside-left",Dt=ie==="inside",mt=O.current?(!O.current.value||O.current.value===""||!A||A==="")&&Xe:!1,lr=ie==="outside-left",st=!!m,lt=Kt?ie==="outside-left"||Xe||ie==="outside"&&st:!1,ur=ie==="outside"&&!Xe&&!st,Me=f.useMemo(()=>bf({...n,isInvalid:Pe,isClearable:ne}),[...Object.values(n),Pe,ne,st]),sa=f.useCallback((xe={})=>({ref:j,className:Me.base({class:I}),"data-slot":"base","data-filled":re(M||Xe||st||mt),"data-filled-within":re(k||Xe||st||mt),"data-focus-within":re(v),"data-focus-visible":re(Y),"data-readonly":re(e.isReadOnly),"data-focus":re(R),"data-hover":re(q),"data-required":re(e.isRequired),"data-invalid":re(Pe),"data-disabled":re(e.isDisabled),"data-has-elements":re(Ge),"data-has-helper":re(je),"data-has-label":re(Ze),"data-has-value":re(!mt),...be,...xe}),[Me,I,M,R,q,Pe,je,Ze,Ge,mt,st,v,Y,k,Xe,be,e.isReadOnly,e.isRequired,e.isDisabled]),cr=f.useCallback((xe={})=>({"data-slot":"label",className:Me.label({class:d==null?void 0:d.label}),...H,...xe}),[Me,H,d==null?void 0:d.label]),dr=f.useCallback((xe={})=>({ref:O,"data-slot":"input","data-filled":re(M),"data-filled-within":re(k),"data-has-start-content":re(st),"data-has-end-content":re(!!h),className:Me.input({class:we(d==null?void 0:d.input,A?"is-filled":"")}),...he(Z,X,fo(S,{enabled:!0,labelable:!0,omitEventNames:new Set(Object.keys(X))}),xe),required:e.isRequired,"aria-readonly":re(e.isReadOnly),"aria-required":re(e.isRequired),onChange:Ln(X.onChange,b)}),[Me,A,Z,X,S,M,k,st,h,d==null?void 0:d.input,e.isReadOnly,e.isRequired,b]),gn=f.useCallback((xe={})=>({ref:N,"data-slot":"input-wrapper","data-hover":re(q),"data-focus-visible":re(Y),"data-focus":re(R),className:Me.inputWrapper({class:we(d==null?void 0:d.inputWrapper,A?"is-filled":"")}),...he(xe,ae),onClick:Et=>{O.current&&Et.currentTarget===Et.target&&O.current.focus()},style:{cursor:"text",...xe.style}}),[Me,q,Y,R,A,d==null?void 0:d.inputWrapper]),la=f.useCallback((xe={})=>({...xe,ref:W,"data-slot":"inner-wrapper",onClick:Et=>{O.current&&Et.currentTarget===Et.target&&O.current.focus()},className:Me.innerWrapper({class:we(d==null?void 0:d.innerWrapper,xe==null?void 0:xe.className)})}),[Me,d==null?void 0:d.innerWrapper]),ua=f.useCallback((xe={})=>({...xe,"data-slot":"main-wrapper",className:Me.mainWrapper({class:we(d==null?void 0:d.mainWrapper,xe==null?void 0:xe.className)})}),[Me,d==null?void 0:d.mainWrapper]),ca=f.useCallback((xe={})=>({...xe,"data-slot":"helper-wrapper",className:Me.helperWrapper({class:we(d==null?void 0:d.helperWrapper,xe==null?void 0:xe.className)})}),[Me,d==null?void 0:d.helperWrapper]),da=f.useCallback((xe={})=>({...xe,...B,"data-slot":"description",className:Me.description({class:we(d==null?void 0:d.description,xe==null?void 0:xe.className)})}),[Me,d==null?void 0:d.description]),fa=f.useCallback((xe={})=>({...xe,...G,"data-slot":"error-message",className:Me.errorMessage({class:we(d==null?void 0:d.errorMessage,xe==null?void 0:xe.className)})}),[Me,G,d==null?void 0:d.errorMessage]),pa=f.useCallback((xe={})=>({...xe,role:"button",tabIndex:0,"data-slot":"clear-button","data-focus-visible":re(pe),className:Me.clearButton({class:we(d==null?void 0:d.clearButton,xe==null?void 0:xe.className)}),...he(Q,le)}),[Me,pe,Q,le,d==null?void 0:d.clearButton]);return{Component:$,classNames:d,domRef:O,label:a,description:l,startContent:m,endContent:h,labelPlacement:ie,isClearable:ne,isInvalid:Pe,hasHelper:je,hasStartContent:st,isLabelOutside:lt,isOutsideLeft:lr,isLabelOutsideAsPlaceholder:ur,shouldLabelBeOutside:Kt,shouldLabelBeInside:Dt,hasPlaceholder:Xe,errorMessage:u,getBaseProps:sa,getLabelProps:cr,getInputProps:dr,getMainWrapperProps:ua,getInputWrapperProps:gn,getInnerWrapperProps:la,getHelperWrapperProps:ca,getDescriptionProps:da,getErrorMessageProps:fa,getClearButtonProps:pa}}var uu=f.useLayoutEffect,gi="right-scroll-bar-position",bi="width-before-scroll-bar",J9="with-scroll-bars-hidden",Q9="--removed-body-scroll-bar-size";function q9(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}function e7(e,t){var n=f.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}function t7(e,t){return e7(t||null,function(n){return e.forEach(function(r){return q9(r,n)})})}function n7(e){return e}function r7(e,t){t===void 0&&(t=n7);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(a){var i=t(a,r);return n.push(i),function(){n=n.filter(function(s){return s!==i})}},assignSyncMedium:function(a){for(r=!0;n.length;){var i=n;n=[],i.forEach(a)}n={push:function(s){return a(s)},filter:function(){return n}}},assignMedium:function(a){r=!0;var i=[];if(n.length){var s=n;n=[],s.forEach(a),i=n}var l=function(){var c=i;i=[],c.forEach(a)},u=function(){return Promise.resolve().then(l)};u(),n={push:function(c){i.push(c),u()},filter:function(c){return i=i.filter(c),n}}}};return o}function o7(e){e===void 0&&(e={});var t=r7(null);return t.options=_t({async:!0,ssr:!1},e),t}var k1=function(e){var t=e.sideCar,n=Zd(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 V.createElement(r,_t({},n))};k1.isSideCarExport=!0;function a7(e,t){return e.useMedium(t),k1}var O1,i7=function(){if(O1)return O1;if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function s7(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=i7();return t&&e.setAttribute("nonce",t),e}function l7(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function u7(e){var t=document.head||document.getElementsByTagName("head")[0];t.appendChild(e)}var c7=function(){var e=0,t=null;return{add:function(n){e==0&&(t=s7())&&(l7(t,n),u7(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},d7=function(){var e=c7();return function(t,n){V.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},F1=function(){var e=d7(),t=function(n){var r=n.styles,o=n.dynamic;return e(r,o),null};return t},f7={left:0,top:0,right:0,gap:0},cu=function(e){return parseInt(e||"",10)||0},p7=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[cu(n),cu(r),cu(o)]},m7=function(e){if(e===void 0&&(e="margin"),typeof window>"u")return f7;var t=p7(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])}},h7=F1(),g7=function(e,t,n,r){var o=e.left,a=e.top,i=e.right,s=e.gap;return n===void 0&&(n="margin"),`
36
+ .`.concat(J9,` {
37
+ overflow: hidden `).concat(r,`;
38
+ padding-right: `).concat(s,"px ").concat(r,`;
39
39
  }
40
40
  body {
41
- overflow: hidden `).concat(n,`;
41
+ overflow: hidden `).concat(r,`;
42
42
  overscroll-behavior: contain;
43
- `).concat([t&&"position: relative ".concat(n,";"),r==="margin"&&`
43
+ `).concat([t&&"position: relative ".concat(r,";"),n==="margin"&&`
44
44
  padding-left: `.concat(o,`px;
45
45
  padding-top: `).concat(a,`px;
46
- padding-right: `).concat(s,`px;
46
+ padding-right: `).concat(i,`px;
47
47
  margin-left:0;
48
48
  margin-top:0;
49
- margin-right: `).concat(i,"px ").concat(n,`;
50
- `),r==="padding"&&"padding-right: ".concat(i,"px ").concat(n,";")].filter(Boolean).join(""),`
49
+ margin-right: `).concat(s,"px ").concat(r,`;
50
+ `),n==="padding"&&"padding-right: ".concat(s,"px ").concat(r,";")].filter(Boolean).join(""),`
51
51
  }
52
52
 
53
- .`).concat(_a,` {
54
- right: `).concat(i,"px ").concat(n,`;
53
+ .`).concat(gi,` {
54
+ right: `).concat(s,"px ").concat(r,`;
55
55
  }
56
56
 
57
- .`).concat(Fa,` {
58
- margin-right: `).concat(i,"px ").concat(n,`;
57
+ .`).concat(bi,` {
58
+ margin-right: `).concat(s,"px ").concat(r,`;
59
59
  }
60
60
 
61
- .`).concat(_a," .").concat(_a,` {
62
- right: 0 `).concat(n,`;
61
+ .`).concat(gi," .").concat(gi,` {
62
+ right: 0 `).concat(r,`;
63
63
  }
64
64
 
65
- .`).concat(Fa," .").concat(Fa,` {
66
- margin-right: 0 `).concat(n,`;
65
+ .`).concat(bi," .").concat(bi,` {
66
+ margin-right: 0 `).concat(r,`;
67
67
  }
68
68
 
69
69
  body {
70
- `).concat(L4,": ").concat(i,`px;
70
+ `).concat(Q9,": ").concat(s,`px;
71
71
  }
72
- `)},t3=function(e){var t=e.noRelative,r=e.noImportant,n=e.gapMode,o=n===void 0?"margin":n,a=W.useMemo(function(){return Z4(o)},[o]);return W.createElement(J4,{styles:e3(a,!t,o,r?"":"!important")})};const Xp=new WeakMap;function Va(e,t,r){return typeof t=="string"&&(t=t.replace(/\s+/g,"")),`${Xp.get(e)}-${r}-${t}`}function r3(e,t,r){var n;let{key:o,isDisabled:a,shouldSelectOnPressUp:s}=e,{selectionManager:i,selectedKey:l}=t,c=o===l,u=a||t.isDisabled||t.disabledKeys.has(o),{itemProps:d,isPressed:p}=tv({selectionManager:i,key:o,ref:r,isDisabled:u,shouldSelectOnPressUp:s,linkBehavior:"selection"}),h=Va(t,o,"tab"),g=Va(t,o,"tabpanel"),{tabIndex:v}=d,b=t.collection.getItem(o),P=qr(b==null?void 0:b.props,{isLink:!!(!(b==null||(n=b.props)===null||n===void 0)&&n.href),labelable:!0});return delete P.id,{tabProps:de(P,d,{id:h,"aria-selected":c,"aria-disabled":u||void 0,"aria-controls":c?g:void 0,tabIndex:u?void 0:v,role:"tab"}),isSelected:c,isDisabled:u,isPressed:p}}function n3(e,t,r){let n=Eg(r)?void 0:0;var o;const a=Va(t,(o=e.id)!==null&&o!==void 0?o:t==null?void 0:t.selectedKey,"tabpanel"),s=Ds({...e,id:a,"aria-labelledby":Va(t,t==null?void 0:t.selectedKey,"tab")});return{tabPanelProps:de(s,{tabIndex:n,role:"tabpanel","aria-describedby":e["aria-describedby"],"aria-details":e["aria-details"]})}}class o3{getKeyLeftOf(t){return this.flipDirection?this.getNextKey(t):this.getPreviousKey(t)}getKeyRightOf(t){return this.flipDirection?this.getPreviousKey(t):this.getNextKey(t)}getKeyAbove(t){return this.getPreviousKey(t)}getKeyBelow(t){return this.getNextKey(t)}getFirstKey(){let t=this.collection.getFirstKey();return t!=null&&this.disabledKeys.has(t)&&(t=this.getNextKey(t)),t}getLastKey(){let t=this.collection.getLastKey();return t!=null&&this.disabledKeys.has(t)&&(t=this.getPreviousKey(t)),t}getNextKey(t){do t=this.collection.getKeyAfter(t),t==null&&(t=this.collection.getFirstKey());while(this.disabledKeys.has(t));return t}getPreviousKey(t){do t=this.collection.getKeyBefore(t),t==null&&(t=this.collection.getLastKey());while(this.disabledKeys.has(t));return t}constructor(t,r,n,o=new Set){this.collection=t,this.flipDirection=r==="rtl"&&n==="horizontal",this.disabledKeys=o}}function a3(e,t,r){let{orientation:n="horizontal",keyboardActivation:o="automatic"}=e,{collection:a,selectionManager:s,disabledKeys:i}=t,{direction:l}=Os(),c=f.useMemo(()=>new o3(a,l,n,i),[a,i,n,l]),{collectionProps:u}=ev({ref:r,selectionManager:s,keyboardDelegate:c,selectOnFocus:o==="automatic",disallowEmptySelection:!0,scrollRef:r,linkBehavior:"selection"}),d=Yr();Xp.set(t,d);let p=Ds({...e,id:d});return{tabListProps:{...de(u,p),role:"tablist","aria-orientation":n,tabIndex:void 0}}}var Zp=yt((e,t)=>{var r,n,o;const{as:a,state:s,className:i,slots:l,classNames:c,...u}=e,d=a||"div",p=at(t),{tabPanelProps:h}=n3(e,s,p),{focusProps:g,isFocused:v,isFocusVisible:b}=Et(),P=s.selectedItem,x=(r=P==null?void 0:P.props)==null?void 0:r.children,w=ve(c==null?void 0:c.panel,i,(n=P==null?void 0:P.props)==null?void 0:n.className);return x?L.jsx(d,{ref:p,"data-focus":v,"data-focus-visible":b,...de(h,g,u),className:(o=l.panel)==null?void 0:o.call(l,{class:w}),"data-slot":"panel",children:x}):null});Zp.displayName="NextUI.TabPanel";var s3=Zp,Jp=yt((e,t)=>{var r;const{className:n,as:o,item:a,state:s,classNames:i,isDisabled:l,listRef:c,slots:u,motionProps:d,disableAnimation:p,disableCursorAnimation:h,shouldSelectOnPressUp:g,onClick:v,...b}=e,{key:P}=a,x=at(t),w=o||(e.href?"a":"button"),T=typeof w=="string",{tabProps:$,isSelected:E,isDisabled:A,isPressed:m}=r3({key:P,isDisabled:l,shouldSelectOnPressUp:g},s,x),k=l||A,{focusProps:I,isFocused:S,isFocusVisible:N}=Et(),{hoverProps:C,isHovered:M}=xr({isDisabled:k}),O=ve(i==null?void 0:i.tab,n),[,_]=A4({rerender:!0}),D=()=>{gr(v,$.onClick),!(!(x!=null&&x.current)||!(c!=null&&c.current))&&v4(x.current,{scrollMode:"if-needed",behavior:"smooth",block:"end",inline:"end",boundary:c==null?void 0:c.current})};return L.jsxs(w,{ref:x,"data-disabled":ee(A),"data-focus":ee(S),"data-focus-visible":ee(N),"data-hover":ee(M),"data-hover-unselected":ee((M||m)&&!E),"data-pressed":ee(m),"data-selected":ee(E),"data-slot":"tab",...de($,k?{}:{...I,...C},zn(b,{enabled:T,omitPropNames:new Set(["title"])})),className:(r=u.tab)==null?void 0:r.call(u,{class:O}),title:b==null?void 0:b.titleValue,type:w==="button"?"button":void 0,onClick:D,children:[E&&!p&&!h&&_?L.jsx(yp.span,{className:u.cursor({class:i==null?void 0:i.cursor}),"data-slot":"cursor",layoutDependency:!1,layoutId:"cursor",transition:{type:"spring",bounce:.15,duration:.5},...d}):null,L.jsx("div",{className:u.tabContent({class:i==null?void 0:i.tabContent}),"data-slot":"tabContent",children:a.rendered})]})});Jp.displayName="NextUI.Tab";var i3=Jp;class e0{*[Symbol.iterator](){yield*this.iterable}get size(){return this.keyMap.size}getKeys(){return this.keyMap.keys()}getKeyBefore(t){let r=this.keyMap.get(t);return r?r.prevKey:null}getKeyAfter(t){let r=this.keyMap.get(t);return r?r.nextKey:null}getFirstKey(){return this.firstKey}getLastKey(){return this.lastKey}getItem(t){return this.keyMap.get(t)}at(t){const r=[...this.getKeys()];return this.getItem(r[t])}getChildren(t){let r=this.keyMap.get(t);return(r==null?void 0:r.childNodes)||[]}constructor(t){this.keyMap=new Map,this.iterable=t;let r=a=>{if(this.keyMap.set(a.key,a),a.childNodes&&a.type==="section")for(let s of a.childNodes)r(s)};for(let a of t)r(a);let n,o=0;for(let[a,s]of this.keyMap)n?(n.nextKey=a,s.prevKey=n.key):(this.firstKey=a,s.prevKey=void 0),s.type==="item"&&(s.index=o++),n=s,n.nextKey=void 0;this.lastKey=n==null?void 0:n.key}}function l3(e){let{filter:t}=e,r=L5(e),n=f.useMemo(()=>e.disabledKeys?new Set(e.disabledKeys):new Set,[e.disabledKeys]),o=f.useCallback(c=>t?new e0(t(c)):new e0(c),[t]),a=f.useMemo(()=>({suppressTextValueWarning:e.suppressTextValueWarning}),[e.suppressTextValueWarning]),s=I5(e,o,a),i=f.useMemo(()=>new _5(s,r),[s,r]);const l=f.useRef(null);return f.useEffect(()=>{if(r.focusedKey!=null&&!s.getItem(r.focusedKey)){const c=l.current.getItem(r.focusedKey),u=[...l.current.getKeys()].map(v=>{const b=l.current.getItem(v);return b.type==="item"?b:null}).filter(v=>v!==null),d=[...s.getKeys()].map(v=>{const b=s.getItem(v);return b.type==="item"?b:null}).filter(v=>v!==null),p=u.length-d.length;let h=Math.min(p>1?Math.max(c.index-p+1,0):c.index,d.length-1),g;for(;h>=0;){if(!i.isDisabled(d[h].key)){g=d[h];break}h<d.length-1?h++:(h>c.index&&(h=c.index),h--)}r.setFocusedKey(g?g.key:null)}l.current=s},[s,i,r,r.focusedKey]),{collection:s,disabledKeys:n,selectionManager:i}}function c3(e){var t;let[r,n]=Hr(e.selectedKey,(t=e.defaultSelectedKey)!==null&&t!==void 0?t:null,e.onSelectionChange),o=f.useMemo(()=>r!=null?[r]:[],[r]),{collection:a,disabledKeys:s,selectionManager:i}=l3({...e,selectionMode:"single",disallowEmptySelection:!0,allowDuplicateSelectionEvents:!0,selectedKeys:o,onSelectionChange:c=>{var u;let d=(u=c.values().next().value)!==null&&u!==void 0?u:null;d===r&&e.onSelectionChange&&e.onSelectionChange(d),n(d)}}),l=r!=null?a.getItem(r):null;return{collection:a,disabledKeys:s,selectionManager:i,selectedKey:r,setSelectedKey:n,selectedItem:l}}function u3(e){var t;let r=c3({...e,suppressTextValueWarning:!0,defaultSelectedKey:(t=e.defaultSelectedKey)!==null&&t!==void 0?t:t0(e.collection,e.disabledKeys?new Set(e.disabledKeys):new Set)}),{selectionManager:n,collection:o,selectedKey:a}=r,s=f.useRef(a);return f.useEffect(()=>{let i=a;(n.isEmpty||!o.getItem(i))&&(i=t0(o,r.disabledKeys),i!=null&&n.setSelectedKeys([i])),(i!=null&&n.focusedKey==null||!n.isFocused&&i!==s.current)&&n.setFocusedKey(i),s.current=i}),{...r,isDisabled:e.isDisabled||!1}}function t0(e,t){let r=null;if(e){for(r=e.getFirstKey();t.has(r)&&r!==e.getLastKey();)r=e.getKeyAfter(r);t.has(r)&&r===e.getLastKey()&&(r=e.getFirstKey())}return r}function d3(e){const[t,r]=Fn(e,Du.variantKeys),{ref:n,as:o,className:a,classNames:s,children:i,disableCursorAnimation:l,shouldSelectOnPressUp:c=!0,motionProps:u,...d}=t,p=o||"div",h=typeof p=="string",g=at(n),v=u3({children:i,...d}),{tabListProps:b}=a3(d,v,g),P=f.useMemo(()=>Du({...r,className:a}),[...Object.values(r),a]),x=ve(s==null?void 0:s.base,a),w=f.useMemo(()=>({state:v,slots:P,classNames:s,motionProps:u,listRef:g,shouldSelectOnPressUp:c,disableCursorAnimation:l,isDisabled:e==null?void 0:e.isDisabled,disableAnimation:e==null?void 0:e.disableAnimation}),[v,P,g,u,l,c,e==null?void 0:e.disableAnimation,e==null?void 0:e.isDisabled,s]),T=f.useCallback(E=>({"data-slot":"base",className:P.base({class:ve(x,E==null?void 0:E.className)}),...de(zn(d,{enabled:h}),E)}),[x,d,P]),$=f.useCallback(E=>({ref:g,"data-slot":"tabList",className:P.tabList({class:ve(s==null?void 0:s.tabList,E==null?void 0:E.className)}),...de(b,E)}),[g,b,s,P]);return{Component:p,domRef:g,state:v,values:w,getBaseProps:T,getTabListProps:$}}function r0(e,t){var r;const{Component:n,values:o,state:a,getBaseProps:s,getTabListProps:i}=d3({...e,ref:t}),l=f.useId(),c=!e.disableAnimation&&!e.disableCursorAnimation,u={state:a,listRef:o.listRef,slots:o.slots,classNames:o.classNames,isDisabled:o.isDisabled,motionProps:o.motionProps,disableAnimation:o.disableAnimation,shouldSelectOnPressUp:o.shouldSelectOnPressUp,disableCursorAnimation:o.disableCursorAnimation},d=[...a.collection].map(p=>L.jsx(i3,{item:p,...u,...p.props},p.key));return L.jsxs(L.Fragment,{children:[L.jsx("div",{...s(),children:L.jsx(n,{...i(),children:c?L.jsx(T5,{id:l,children:d}):d})}),L.jsx(s3,{classNames:o.classNames,slots:o.slots,state:o.state},(r=a.selectedItem)==null?void 0:r.key)]})}var f3=yt(r0);r0.displayName="NextUI.Tabs";var p3=$5,h3=p3;const m3=({icons:e,className:t})=>{const r=ye({base:"bg-primary-grey-700",variants:{withIcon:{false:"h-6 w-11 px-[2px] group-data-[selected=true]:bg-secondary-green-500",true:"h-[52px] w-[88px] bg-secondary-green-500 group-data-[selected=true]:bg-primary-green-500"}}}),n=ye({variants:{withIcon:{false:"h-5 w-5 group-data-[selected=true]:ml-5",true:"h-11 w-11 group-data-[selected=true]:ml-9"}}});return L.jsx(I4,{classNames:{wrapper:r({withIcon:!!e,className:t}),thumb:n({withIcon:!!e})},thumbIcon:({isSelected:o,className:a})=>e&&(o?L.jsx(Ge,{name:e.selectedIcon,className:Zt(a,"text-lg")}):L.jsx(Ge,{name:e.unselectedIcon,className:Zt(a,"text-lg")}))})},g3=e=>L.jsx(h4,{classNames:{wrapper:"w-4 h-4 rounded-sm before:rounded-sm before:border before:border-primary-grey-700 after:rounded-sm after:bg-secondary-green-500",icon:"w-[11px] h-2.5 [&>*]:stroke-[4px]"},...e}),n0=({size:e="md",className:t,border:r=!1,image:n,label:o,...a})=>{const s=ye({base:"bg-white font-satoshi font-bold capitalize text-white",variants:{size:{lg:"h-28 w-28 text-[48px]",md:"h-[72px] w-[72px] text-[32px]",sm:"h-12 w-12 text-[24px]",xs:"h-6 w-6 text-[12px]"},border:{true:"border-primary-grey-600"},isText:{true:"bg-complementary-violet-500 "}},compoundVariants:[{border:!0,size:"lg",class:"border-[4px]"},{border:!0,size:"md",class:"border-[3px]"},{border:!0,size:"sm",class:"border-2"},{border:!0,size:"xs",class:"border"}]}),i=ye({base:"text-primary-grey-600",variants:{size:{xs:"text-[12px]",sm:"text-[24px]",md:"text-[32px]",lg:"text-[48px]"}}});return L.jsx(K5,{fallback:!o&&L.jsx(Ge,{name:"user",className:i({size:e})}),showFallback:!!o,src:n,name:o,className:s({size:e,border:r,isText:!!(o&&!n),className:t}),...a})},v3=({options:e,labelPosition:t="right",orientation:r="vertical"})=>L.jsx(T4,{orientation:r,children:e.map(n=>L.jsxs("div",{className:"flex items-center gap-2",children:[t==="left"&&L.jsx("label",{"data-testid":"label-position-left",children:n.label}),L.jsx($4,{value:n.value,id:n.id,classNames:{wrapper:"border border-primary-grey-700 group-data-[selected=true]:border-secondary-green-500 group-data-[selected=true]:bg-secondary-green-500",control:"bg-white"}}),t==="right"&&n.label&&L.jsx("label",{"data-testid":"label-position-right",children:n.label})]},n.value))}),il=({children:e,size:t,variant:r="primary",disabled:n,full:o=!1,iconLeft:a,iconRight:s,className:i,isLoadingComplete:l,isLoading:c,...u})=>{const[d,p]=f.useState("w-0"),h=f.useRef(null);f.useEffect(()=>{if(c){let b=2;p("w-1/4"),h.current=setInterval(()=>{p(`w-${b}/4`),b<3?b++:h.current&&clearInterval(h.current)},1e3)}else h.current&&clearInterval(h.current),p("w-0")},[c]);const g=ye({base:`absolute left-0 top-0 h-full rounded-full bg-transparent duration-1000 ease-in-out ${d}`,variants:{isLoadingComplete:{true:"w-full duration-500",false:""},loadingVariant:{primaryDark:"bg-white",primaryLight:"bg-primary-green-500 ",primary:"bg-primary-green-500 ",negative:"bg-complementary-red-700",secondaryNegative:"bg-complementary-red-50",secondary:"bg-secondary-green-50",tertiary:"",tertiaryDark:"",tertiaryLight:"",direction:"",directionCircle:"",icon:""}}}),v=ye({base:"relative !overflow-hidden rounded-full border-transparent px-10 py-4 font-bold text-white !ring-0 !ring-transparent hover:text-white focus:outline focus:outline-2 focus:-outline-offset-4 focus-visible:outline focus-visible:outline-2 focus-visible:-outline-offset-4 focus-visible:outline-white",variants:{size:{small:"h-9",medium:"h-12",large:"h-14"},variant:{primaryDark:"bg-white text-primary-green-500 hover:bg-secondary-green-500 focus:bg-secondary-green-500 focus:text-white focus:outline-primary-green-500",primaryLight:"bg-primary-green-500 hover:bg-white hover:text-secondary-green-500 focus:bg-white focus:text-secondary-green-500 focus:outline-secondary-green-500",primary:"bg-primary-green-500 hover:bg-secondary-green-500 focus:bg-secondary-green-500 focus:outline-white",negative:"bg-complementary-red-700 hover:border-transparent hover:bg-complementary-red-500 focus:bg-complementary-red-500 focus:outline-white",secondaryNegative:"border border-complementary-red-700 !bg-white font-medium text-complementary-red-700 hover:border-2 hover:border-complementary-red-500 hover:text-complementary-red-500 focus:border-[3px] focus:border-complementary-red-500 focus:text-complementary-red-500",secondary:"border border-primary-green-500 !bg-transparent font-medium text-primary-green-500 hover:border-2 hover:border-secondary-green-500 hover:text-secondary-green-500 focus:border-[3px] focus:border-secondary-green-500 focus:text-secondary-green-500",tertiary:"!bg-transparent px-4 font-medium text-primary-green-500 hover:text-secondary-green-500 focus:font-bold focus:text-secondary-green-500 focus:outline-none",tertiaryDark:"!bg-transparent px-4 font-medium text-secondary-green-500 focus:font-bold focus:text-secondary-green-500 focus:outline-none",tertiaryLight:"!bg-transparent px-4 font-medium text-primary-green-500 focus:font-bold focus:text-primary-green-500 focus:outline-none",direction:"h-10 bg-primary-green-500 p-2.5 font-medium hover:bg-secondary-green-500 focus:border-none focus:bg-secondary-green-500 focus:outline-none",directionCircle:"font:medium !min-w-unit-10 bg-primary-green-500 !px-0 hover:bg-secondary-green-500 focus:border-none focus:bg-secondary-green-500 focus:outline-none",icon:"!min-w-unit-10 bg-transparent !px-0 text-primary-green-500 hover:text-secondary-green-500"},full:{true:"w-full",false:""},disabled:{true:"",false:""},isLoading:{true:"",false:""},hasIcon:{true:"!px-6"}},compoundVariants:[{disabled:!0,isLoading:!1,class:"pointer-events-none border-transparent bg-primary-grey-500 font-medium text-primary-grey-700"},{variant:"primaryDark",isLoading:!0,class:"!bg-secondary-green-500 !text-primary-green-500 focus:bg-secondary-green-500 focus:outline-secondary-green-500"},{variant:"primaryLight",isLoading:!0,class:"!bg-white text-secondary-green-500 focus:outline-white"},{variant:"primary",isLoading:!0,class:"!bg-secondary-green-500 focus:outline-secondary-green-500"},{variant:"negative",isLoading:!0,class:"!bg-complementary-red-500 focus:outline-complementary-red-500"},{variant:"secondaryNegative",isLoading:!0,class:"!border !border-complementary-red-700 !bg-white text-complementary-red-700 focus:outline-none"},{variant:"secondary",isLoading:!0,class:"!border !border-secondary-green-500 !bg-white text-secondary-green-500 focus:outline-none"},{variant:"tertiary",isLoading:!0,class:"!font-medium"},{variant:"tertiaryDark",isLoading:!0,class:"!font-medium"},{variant:"tertiaryLight",isLoading:!0,class:"!font-medium"},{variant:"secondaryNegative",disabled:!0,class:"border border-primary-grey-700 bg-transparent"},{variant:"secondary",disabled:!0,class:"border border-primary-grey-700 bg-transparent"},{variant:"tertiary",disabled:!0,class:"bg-transparent underline"},{variant:"icon",disabled:!0,class:"bg-transparent"},{variant:"directionCircle",hasIcon:!0,class:"!min-w-unit-10 !px-0"}]});return f.useEffect(()=>()=>{h.current&&clearInterval(h.current)},[h]),L.jsx(Z5,{disabled:c||n,className:Zt(i,v({size:t,variant:r,disabled:n,full:o,isLoading:c,hasIcon:!!(a||s)})),...u,children:L.jsxs("div",{children:[L.jsx("div",{className:Zt(g({isLoadingComplete:l,loadingVariant:r}))}),L.jsxs("div",{className:"relative flex items-center gap-3 text-center",children:[a&&(typeof a=="string"?L.jsx(Ge,{"data-testid":"button-component-icon-left",name:a}):a),e&&L.jsx("span",{className:r.includes("tertiary")?"underline":"",children:e}),s&&(typeof s=="string"?L.jsx(Ge,{"data-testid":"button-component-icon-right",name:s}):s)]})]})})},b3=({children:e,className:t,avatar:r,size:n="sm",disabled:o=!1,iconLeft:a,iconRight:s})=>{const i=ye({base:"flex h-6 cursor-pointer items-center justify-center gap-2 border border-primary-green-500 bg-white px-2 pt-[1px] font-satoshi text-[10px] font-medium leading-[15px] text-primary-green-500 hover:border-secondary-green-500 hover:text-secondary-green-500 active:border-[2px] active:px-[7px]",variants:{size:{sm:"",lg:"h-[54px] gap-3 px-4 text-base active:px-[15px]"},hasAvatar:{true:"!border-0 bg-primary-grey-600 pl-6"},disabled:{true:"cursor-default !border-1 !border-primary-grey-500 bg-primary-grey-500 !text-primary-grey-800"}},compoundVariants:[{size:"sm",hasAvatar:!0,class:"pl-6 active:pl-[24px] active:pr-[8px]"},{size:"lg",hasAvatar:!0,class:"pl-14 active:pl-[56px] active:pr-[16px]"},{size:"sm",disabled:!0,class:"active:px-[8px]"},{size:"lg",disabled:!0,class:"active:px-[16px]"}]}),l=ye({base:"absolute left-0 top-0",variants:{size:{sm:"",lg:"h-[54px] w-[54px]"}}}),c=ye({base:"text-xs",variants:{size:{sm:"",lg:"text-lg"}}});return L.jsxs(Np,{size:n,className:Zt(i({hasAvatar:!!r,size:n,disabled:o,className:t})),startContent:a&&(typeof a=="string"?L.jsx(Ge,{className:c({size:n}),name:a}):a),endContent:s&&(typeof s=="string"?L.jsx(Ge,{className:c({size:n}),name:s}):s),children:[r&&L.jsx(n0,{className:l({size:n}),border:!1,size:"xs",image:r}),e]})},y3=({tabs:e,tabClass:t,size:r="md",onSelectionChange:n,...o})=>{const a=ye({base:"bg-primary-grey-500 p-[1px]",variants:{size:{sm:"h-8",md:"h-9",lg:"h-12"}}}),s=ye({base:"h-full font-medium text-primary-grey-800 data-[selected=true]:!font-bold data-[selected=true]:!text-primary-green-500 data-[hover='true']:opacity-100",variants:{size:{sm:"px-[40px]",md:"px-[80px]",lg:"px-[75px]"},tabClass:{}}}),i=ye({base:"!text-white shadow-none"}),l=ye({base:"!font-inherit flex items-center gap-2 font-satoshi !text-inherit",variants:{size:{sm:"text-[14px]",md:"text-[14px]",lg:"text-[20px]"}}});return L.jsx(f3,{onClick:c=>{const u=c.target,d=u.parentElement.getAttribute("data-selected");let p=u.getAttribute("data-key");p||(p=u.parentElement.getAttribute("data-key")),!d&&p&&n(p)},classNames:{tabList:a({size:r}),tab:s({size:r,className:t}),cursor:i(),tabContent:l({size:r})},radius:"full",size:r,...o,children:e.map(({key:c,title:u,component:d,icon:p})=>L.jsx(h3,{title:L.jsxs(L.Fragment,{children:[p&&(typeof p=="string"?L.jsx(Ge,{className:"text-[16px]",name:p}):p)," ",u]}),children:d},c))})},o0=({message:e,actions:t,inlineActions:r=!0})=>{const n=ye({base:"flex gap-3 rounded-lg bg-primary-black-400 p-4",variants:{inlineActions:{true:"flex flex-row",false:"flex flex-col items-end justify-end"},toastType:{alert:"rounded-2xl bg-primary-grey-600",snackbar:"bg-primary-black-400",banner:"rounded-2xl bg-complementary-red-500"}}});return L.jsxs("div",{className:n({inlineActions:r}),children:[L.jsx("div",{className:"flex flex-1 items-center gap-4",children:L.jsx("p",{className:"font-satoshi text-sm",children:e})}),L.jsx("div",{children:t&&L.jsx("div",{className:"flex",children:t.map(({label:o,onClick:a})=>L.jsx(il,{onClick:a,variant:"tertiaryDark",children:o},o))})})]})};function a0(e){var t,r,n="";if(typeof e=="string"||typeof e=="number")n+=e;else if(typeof e=="object")if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(r=a0(e[t]))&&(n&&(n+=" "),n+=r)}else for(r in e)e[r]&&(n&&(n+=" "),n+=r);return n}function ir(){for(var e,t,r=0,n="",o=arguments.length;r<o;r++)(e=arguments[r])&&(t=a0(e))&&(n&&(n+=" "),n+=t);return n}const oo=e=>typeof e=="number"&&!isNaN(e),kr=e=>typeof e=="string",it=e=>typeof e=="function",za=e=>kr(e)||it(e)?e:null,ll=e=>f.isValidElement(e)||kr(e)||it(e)||oo(e);function x3(e,t,r){r===void 0&&(r=300);const{scrollHeight:n,style:o}=e;requestAnimationFrame(()=>{o.minHeight="initial",o.height=n+"px",o.transition=`all ${r}ms`,requestAnimationFrame(()=>{o.height="0",o.padding="0",o.margin="0",setTimeout(t,r)})})}function ao(e){let{enter:t,exit:r,appendPosition:n=!1,collapse:o=!0,collapseDuration:a=300}=e;return function(s){let{children:i,position:l,preventExitTransition:c,done:u,nodeRef:d,isIn:p,playToast:h}=s;const g=n?`${t}--${l}`:t,v=n?`${r}--${l}`:r,b=f.useRef(0);return f.useLayoutEffect(()=>{const P=d.current,x=g.split(" "),w=T=>{T.target===d.current&&(h(),P.removeEventListener("animationend",w),P.removeEventListener("animationcancel",w),b.current===0&&T.type!=="animationcancel"&&P.classList.remove(...x))};P.classList.add(...x),P.addEventListener("animationend",w),P.addEventListener("animationcancel",w)},[]),f.useEffect(()=>{const P=d.current,x=()=>{P.removeEventListener("animationend",x),o?x3(P,u,a):u()};p||(c?x():(b.current=1,P.className+=` ${v}`,P.addEventListener("animationend",x)))},[p]),f.createElement(f.Fragment,null,i)}}function s0(e,t){return e!=null?{content:e.content,containerId:e.props.containerId,id:e.props.toastId,theme:e.props.theme,type:e.props.type,data:e.props.data||{},isLoading:e.props.isLoading,icon:e.props.icon,status:t}:{}}const Ye=new Map;let so=[];const cl=new Set,w3=e=>cl.forEach(t=>t(e)),i0=()=>Ye.size>0;function l0(e,t){var r;if(t)return!((r=Ye.get(t))==null||!r.isToastActive(e));let n=!1;return Ye.forEach(o=>{o.isToastActive(e)&&(n=!0)}),n}function c0(e,t){ll(e)&&(i0()||so.push({content:e,options:t}),Ye.forEach(r=>{r.buildToast(e,t)}))}function u0(e,t){Ye.forEach(r=>{t!=null&&t!=null&&t.containerId?(t==null?void 0:t.containerId)===r.id&&r.toggle(e,t==null?void 0:t.id):r.toggle(e,t==null?void 0:t.id)})}function C3(e){const{subscribe:t,getSnapshot:r,setProps:n}=f.useRef(function(a){const s=a.containerId||1;return{subscribe(i){const l=function(u,d,p){let h=1,g=0,v=[],b=[],P=[],x=d;const w=new Map,T=new Set,$=()=>{P=Array.from(w.values()),T.forEach(m=>m())},E=m=>{b=m==null?[]:b.filter(k=>k!==m),$()},A=m=>{const{toastId:k,onOpen:I,updateId:S,children:N}=m.props,C=S==null;m.staleId&&w.delete(m.staleId),w.set(k,m),b=[...b,m.props.toastId].filter(M=>M!==m.staleId),$(),p(s0(m,C?"added":"updated")),C&&it(I)&&I(f.isValidElement(N)&&N.props)};return{id:u,props:x,observe:m=>(T.add(m),()=>T.delete(m)),toggle:(m,k)=>{w.forEach(I=>{k!=null&&k!==I.props.toastId||it(I.toggle)&&I.toggle(m)})},removeToast:E,toasts:w,clearQueue:()=>{g-=v.length,v=[]},buildToast:(m,k)=>{if((F=>{let{containerId:B,toastId:q,updateId:K}=F;const Q=B?B!==u:u!==1,ne=w.has(q)&&K==null;return Q||ne})(k))return;const{toastId:I,updateId:S,data:N,staleId:C,delay:M}=k,O=()=>{E(I)},_=S==null;_&&g++;const D={...x,style:x.toastStyle,key:h++,...Object.fromEntries(Object.entries(k).filter(F=>{let[B,q]=F;return q!=null})),toastId:I,updateId:S,data:N,closeToast:O,isIn:!1,className:za(k.className||x.toastClassName),bodyClassName:za(k.bodyClassName||x.bodyClassName),progressClassName:za(k.progressClassName||x.progressClassName),autoClose:!k.isLoading&&(z=k.autoClose,X=x.autoClose,z===!1||oo(z)&&z>0?z:X),deleteToast(){const F=w.get(I),{onClose:B,children:q}=F.props;it(B)&&B(f.isValidElement(q)&&q.props),p(s0(F,"removed")),w.delete(I),g--,g<0&&(g=0),v.length>0?A(v.shift()):$()}};var z,X;D.closeButton=x.closeButton,k.closeButton===!1||ll(k.closeButton)?D.closeButton=k.closeButton:k.closeButton===!0&&(D.closeButton=!ll(x.closeButton)||x.closeButton);let G=m;f.isValidElement(m)&&!kr(m.type)?G=f.cloneElement(m,{closeToast:O,toastProps:D,data:N}):it(m)&&(G=m({closeToast:O,toastProps:D,data:N}));const U={content:G,props:D,staleId:C};x.limit&&x.limit>0&&g>x.limit&&_?v.push(U):oo(M)?setTimeout(()=>{A(U)},M):A(U)},setProps(m){x=m},setToggle:(m,k)=>{w.get(m).toggle=k},isToastActive:m=>b.some(k=>k===m),getSnapshot:()=>x.newestOnTop?P.reverse():P}}(s,a,w3);Ye.set(s,l);const c=l.observe(i);return so.forEach(u=>c0(u.content,u.options)),so=[],()=>{c(),Ye.delete(s)}},setProps(i){var l;(l=Ye.get(s))==null||l.setProps(i)},getSnapshot(){var i;return(i=Ye.get(s))==null?void 0:i.getSnapshot()}}}(e)).current;n(e);const o=f.useSyncExternalStore(t,r,r);return{getToastToRender:function(a){if(!o)return[];const s=new Map;return o.forEach(i=>{const{position:l}=i.props;s.has(l)||s.set(l,[]),s.get(l).push(i)}),Array.from(s,i=>a(i[0],i[1]))},isToastActive:l0,count:o==null?void 0:o.length}}function P3(e){const[t,r]=f.useState(!1),[n,o]=f.useState(!1),a=f.useRef(null),s=f.useRef({start:0,delta:0,removalDistance:0,canCloseOnClick:!0,canDrag:!1,didMove:!1}).current,{autoClose:i,pauseOnHover:l,closeToast:c,onClick:u,closeOnClick:d}=e;var p,h;function g(){r(!0)}function v(){r(!1)}function b(w){const T=a.current;s.canDrag&&T&&(s.didMove=!0,t&&v(),s.delta=e.draggableDirection==="x"?w.clientX-s.start:w.clientY-s.start,s.start!==w.clientX&&(s.canCloseOnClick=!1),T.style.transform=`translate3d(${e.draggableDirection==="x"?`${s.delta}px, var(--y)`:`0, calc(${s.delta}px + var(--y))`},0)`,T.style.opacity=""+(1-Math.abs(s.delta/s.removalDistance)))}function P(){document.removeEventListener("pointermove",b),document.removeEventListener("pointerup",P);const w=a.current;if(s.canDrag&&s.didMove&&w){if(s.canDrag=!1,Math.abs(s.delta)>s.removalDistance)return o(!0),e.closeToast(),void e.collapseAll();w.style.transition="transform 0.2s, opacity 0.2s",w.style.removeProperty("transform"),w.style.removeProperty("opacity")}}(h=Ye.get((p={id:e.toastId,containerId:e.containerId,fn:r}).containerId||1))==null||h.setToggle(p.id,p.fn),f.useEffect(()=>{if(e.pauseOnFocusLoss)return document.hasFocus()||v(),window.addEventListener("focus",g),window.addEventListener("blur",v),()=>{window.removeEventListener("focus",g),window.removeEventListener("blur",v)}},[e.pauseOnFocusLoss]);const x={onPointerDown:function(w){if(e.draggable===!0||e.draggable===w.pointerType){s.didMove=!1,document.addEventListener("pointermove",b),document.addEventListener("pointerup",P);const T=a.current;s.canCloseOnClick=!0,s.canDrag=!0,T.style.transition="none",e.draggableDirection==="x"?(s.start=w.clientX,s.removalDistance=T.offsetWidth*(e.draggablePercent/100)):(s.start=w.clientY,s.removalDistance=T.offsetHeight*(e.draggablePercent===80?1.5*e.draggablePercent:e.draggablePercent)/100)}},onPointerUp:function(w){const{top:T,bottom:$,left:E,right:A}=a.current.getBoundingClientRect();w.nativeEvent.type!=="touchend"&&e.pauseOnHover&&w.clientX>=E&&w.clientX<=A&&w.clientY>=T&&w.clientY<=$?v():g()}};return i&&l&&(x.onMouseEnter=v,e.stacked||(x.onMouseLeave=g)),d&&(x.onClick=w=>{u&&u(w),s.canCloseOnClick&&c()}),{playToast:g,pauseToast:v,isRunning:t,preventExitTransition:n,toastRef:a,eventHandlers:x}}function M3(e){let{delay:t,isRunning:r,closeToast:n,type:o="default",hide:a,className:s,style:i,controlledProgress:l,progress:c,rtl:u,isIn:d,theme:p}=e;const h=a||l&&c===0,g={...i,animationDuration:`${t}ms`,animationPlayState:r?"running":"paused"};l&&(g.transform=`scaleX(${c})`);const v=ir("Toastify__progress-bar",l?"Toastify__progress-bar--controlled":"Toastify__progress-bar--animated",`Toastify__progress-bar-theme--${p}`,`Toastify__progress-bar--${o}`,{"Toastify__progress-bar--rtl":u}),b=it(s)?s({rtl:u,type:o,defaultClassName:v}):ir(v,s),P={[l&&c>=1?"onTransitionEnd":"onAnimationEnd"]:l&&c<1?null:()=>{d&&n()}};return f.createElement("div",{className:"Toastify__progress-bar--wrp","data-hidden":h},f.createElement("div",{className:`Toastify__progress-bar--bg Toastify__progress-bar-theme--${p} Toastify__progress-bar--${o}`}),f.createElement("div",{role:"progressbar","aria-hidden":h?"true":"false","aria-label":"notification timer",className:b,style:g,...P}))}let S3=1;const d0=()=>""+S3++;function T3(e){return e&&(kr(e.toastId)||oo(e.toastId))?e.toastId:d0()}function io(e,t){return c0(e,t),t.toastId}function Wa(e,t){return{...t,type:t&&t.type||e,toastId:T3(t)}}function Ba(e){return(t,r)=>io(t,Wa(e,r))}function $e(e,t){return io(e,Wa("default",t))}$e.loading=(e,t)=>io(e,Wa("default",{isLoading:!0,autoClose:!1,closeOnClick:!1,closeButton:!1,draggable:!1,...t})),$e.promise=function(e,t,r){let n,{pending:o,error:a,success:s}=t;o&&(n=kr(o)?$e.loading(o,r):$e.loading(o.render,{...r,...o}));const i={isLoading:null,autoClose:null,closeOnClick:null,closeButton:null,draggable:null},l=(u,d,p)=>{if(d==null)return void $e.dismiss(n);const h={type:u,...i,...r,data:p},g=kr(d)?{render:d}:d;return n?$e.update(n,{...h,...g}):$e(g.render,{...h,...g}),p},c=it(e)?e():e;return c.then(u=>l("success",s,u)).catch(u=>l("error",a,u)),c},$e.success=Ba("success"),$e.info=Ba("info"),$e.error=Ba("error"),$e.warning=Ba("warning"),$e.warn=$e.warning,$e.dark=(e,t)=>io(e,Wa("default",{theme:"dark",...t})),$e.dismiss=function(e){(function(t){var r;if(i0()){if(t==null||kr(r=t)||oo(r))Ye.forEach(n=>{n.removeToast(t)});else if(t&&("containerId"in t||"id"in t)){const n=Ye.get(t.containerId);n?n.removeToast(t.id):Ye.forEach(o=>{o.removeToast(t.id)})}}else so=so.filter(n=>t!=null&&n.options.toastId!==t)})(e)},$e.clearWaitingQueue=function(e){e===void 0&&(e={}),Ye.forEach(t=>{!t.props.limit||e.containerId&&t.id!==e.containerId||t.clearQueue()})},$e.isActive=l0,$e.update=function(e,t){t===void 0&&(t={});const r=((n,o)=>{var a;let{containerId:s}=o;return(a=Ye.get(s||1))==null?void 0:a.toasts.get(n)})(e,t);if(r){const{props:n,content:o}=r,a={delay:100,...n,...t,toastId:t.toastId||e,updateId:d0()};a.toastId!==e&&(a.staleId=e);const s=a.render||o;delete a.render,io(s,a)}},$e.done=e=>{$e.update(e,{progress:1})},$e.onChange=function(e){return cl.add(e),()=>{cl.delete(e)}},$e.play=e=>u0(!0,e),$e.pause=e=>u0(!1,e);const E3=typeof window<"u"?f.useLayoutEffect:f.useEffect,Ka=e=>{let{theme:t,type:r,isLoading:n,...o}=e;return f.createElement("svg",{viewBox:"0 0 24 24",width:"100%",height:"100%",fill:t==="colored"?"currentColor":`var(--toastify-icon-color-${r})`,...o})},ul={info:function(e){return f.createElement(Ka,{...e},f.createElement("path",{d:"M12 0a12 12 0 1012 12A12.013 12.013 0 0012 0zm.25 5a1.5 1.5 0 11-1.5 1.5 1.5 1.5 0 011.5-1.5zm2.25 13.5h-4a1 1 0 010-2h.75a.25.25 0 00.25-.25v-4.5a.25.25 0 00-.25-.25h-.75a1 1 0 010-2h1a2 2 0 012 2v4.75a.25.25 0 00.25.25h.75a1 1 0 110 2z"}))},warning:function(e){return f.createElement(Ka,{...e},f.createElement("path",{d:"M23.32 17.191L15.438 2.184C14.728.833 13.416 0 11.996 0c-1.42 0-2.733.833-3.443 2.184L.533 17.448a4.744 4.744 0 000 4.368C1.243 23.167 2.555 24 3.975 24h16.05C22.22 24 24 22.044 24 19.632c0-.904-.251-1.746-.68-2.44zm-9.622 1.46c0 1.033-.724 1.823-1.698 1.823s-1.698-.79-1.698-1.822v-.043c0-1.028.724-1.822 1.698-1.822s1.698.79 1.698 1.822v.043zm.039-12.285l-.84 8.06c-.057.581-.408.943-.897.943-.49 0-.84-.367-.896-.942l-.84-8.065c-.057-.624.25-1.095.779-1.095h1.91c.528.005.84.476.784 1.1z"}))},success:function(e){return f.createElement(Ka,{...e},f.createElement("path",{d:"M12 0a12 12 0 1012 12A12.014 12.014 0 0012 0zm6.927 8.2l-6.845 9.289a1.011 1.011 0 01-1.43.188l-4.888-3.908a1 1 0 111.25-1.562l4.076 3.261 6.227-8.451a1 1 0 111.61 1.183z"}))},error:function(e){return f.createElement(Ka,{...e},f.createElement("path",{d:"M11.983 0a12.206 12.206 0 00-8.51 3.653A11.8 11.8 0 000 12.207 11.779 11.779 0 0011.8 24h.214A12.111 12.111 0 0024 11.791 11.766 11.766 0 0011.983 0zM10.5 16.542a1.476 1.476 0 011.449-1.53h.027a1.527 1.527 0 011.523 1.47 1.475 1.475 0 01-1.449 1.53h-.027a1.529 1.529 0 01-1.523-1.47zM11 12.5v-6a1 1 0 012 0v6a1 1 0 11-2 0z"}))},spinner:function(){return f.createElement("div",{className:"Toastify__spinner"})}},$3=e=>{const{isRunning:t,preventExitTransition:r,toastRef:n,eventHandlers:o,playToast:a}=P3(e),{closeButton:s,children:i,autoClose:l,onClick:c,type:u,hideProgressBar:d,closeToast:p,transition:h,position:g,className:v,style:b,bodyClassName:P,bodyStyle:x,progressClassName:w,progressStyle:T,updateId:$,role:E,progress:A,rtl:m,toastId:k,deleteToast:I,isIn:S,isLoading:N,closeOnClick:C,theme:M}=e,O=ir("Toastify__toast",`Toastify__toast-theme--${M}`,`Toastify__toast--${u}`,{"Toastify__toast--rtl":m},{"Toastify__toast--close-on-click":C}),_=it(v)?v({rtl:m,position:g,type:u,defaultClassName:O}):ir(O,v),D=function(U){let{theme:F,type:B,isLoading:q,icon:K}=U,Q=null;const ne={theme:F,type:B};return K===!1||(it(K)?Q=K({...ne,isLoading:q}):f.isValidElement(K)?Q=f.cloneElement(K,ne):q?Q=ul.spinner():(le=>le in ul)(B)&&(Q=ul[B](ne))),Q}(e),z=!!A||!l,X={closeToast:p,type:u,theme:M};let G=null;return s===!1||(G=it(s)?s(X):f.isValidElement(s)?f.cloneElement(s,X):function(U){let{closeToast:F,theme:B,ariaLabel:q="close"}=U;return f.createElement("button",{className:`Toastify__close-button Toastify__close-button--${B}`,type:"button",onClick:K=>{K.stopPropagation(),F(K)},"aria-label":q},f.createElement("svg",{"aria-hidden":"true",viewBox:"0 0 14 16"},f.createElement("path",{fillRule:"evenodd",d:"M7.71 8.23l3.75 3.75-1.48 1.48-3.75-3.75-3.75 3.75L1 11.98l3.75-3.75L1 4.48 2.48 3l3.75 3.75L9.98 3l1.48 1.48-3.75 3.75z"})))}(X)),f.createElement(h,{isIn:S,done:I,position:g,preventExitTransition:r,nodeRef:n,playToast:a},f.createElement("div",{id:k,onClick:c,"data-in":S,className:_,...o,style:b,ref:n},f.createElement("div",{...S&&{role:E},className:it(P)?P({type:u}):ir("Toastify__toast-body",P),style:x},D!=null&&f.createElement("div",{className:ir("Toastify__toast-icon",{"Toastify--animate-icon Toastify__zoom-enter":!N})},D),f.createElement("div",null,i)),G,f.createElement(M3,{...$&&!z?{key:`pb-${$}`}:{},rtl:m,theme:M,delay:l,isRunning:t,isIn:S,closeToast:p,hide:d,type:u,style:T,className:w,controlledProgress:z,progress:A||0})))},Ra=function(e,t){return t===void 0&&(t=!1),{enter:`Toastify--animate Toastify__${e}-enter`,exit:`Toastify--animate Toastify__${e}-exit`,appendPosition:t}},D3=ao(Ra("bounce",!0));ao(Ra("slide",!0)),ao(Ra("zoom")),ao(Ra("flip"));const k3={position:"top-right",transition:D3,autoClose:5e3,closeButton:!0,pauseOnHover:!0,pauseOnFocusLoss:!0,draggable:"touch",draggablePercent:80,draggableDirection:"x",role:"alert",theme:"light"};function I3(e){let t={...k3,...e};const r=e.stacked,[n,o]=f.useState(!0),a=f.useRef(null),{getToastToRender:s,isToastActive:i,count:l}=C3(t),{className:c,style:u,rtl:d,containerId:p}=t;function h(v){const b=ir("Toastify__toast-container",`Toastify__toast-container--${v}`,{"Toastify__toast-container--rtl":d});return it(c)?c({position:v,rtl:d,defaultClassName:b}):ir(b,za(c))}function g(){r&&(o(!0),$e.play())}return E3(()=>{if(r){var v;const b=a.current.querySelectorAll('[data-in="true"]'),P=12,x=(v=t.position)==null?void 0:v.includes("top");let w=0,T=0;Array.from(b).reverse().forEach(($,E)=>{const A=$;A.classList.add("Toastify__toast--stacked"),E>0&&(A.dataset.collapsed=`${n}`),A.dataset.pos||(A.dataset.pos=x?"top":"bot");const m=w*(n?.2:1)+(n?0:P*E);A.style.setProperty("--y",`${x?m:-1*m}px`),A.style.setProperty("--g",`${P}`),A.style.setProperty("--s",""+(1-(n?T:0))),w+=A.offsetHeight,T+=.025})}},[n,l,r]),f.createElement("div",{ref:a,className:"Toastify",id:p,onMouseEnter:()=>{r&&(o(!1),$e.pause())},onMouseLeave:g},s((v,b)=>{const P=b.length?{...u}:{...u,pointerEvents:"none"};return f.createElement("div",{className:h(v),style:P,key:`container-${v}`},b.map(x=>{let{content:w,props:T}=x;return f.createElement($3,{...T,stacked:r,collapseAll:g,isIn:i(T.toastId,T.containerId),style:T.style,key:`toast-${T.key}`},w)}))}))}const nP="",A3=()=>({snackbar:(t,r)=>{$e(L.jsx(o0,{message:t,actions:r==null?void 0:r.actions,inlineActions:r==null?void 0:r.inlineActions}))}});function fe(){return fe=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},fe.apply(this,arguments)}function De(e,t,{checkForDefaultPrevented:r=!0}={}){return function(o){if(e==null||e(o),r===!1||!o.defaultPrevented)return t==null?void 0:t(o)}}function N3(e,t){typeof e=="function"?e(t):e!=null&&(e.current=t)}function f0(...e){return t=>e.forEach(r=>N3(r,t))}function Je(...e){return f.useCallback(f0(...e),e)}function Ir(e,t=[]){let r=[];function n(a,s){const i=f.createContext(s),l=r.length;r=[...r,s];function c(d){const{scope:p,children:h,...g}=d,v=(p==null?void 0:p[e][l])||i,b=f.useMemo(()=>g,Object.values(g));return f.createElement(v.Provider,{value:b},h)}function u(d,p){const h=(p==null?void 0:p[e][l])||i,g=f.useContext(h);if(g)return g;if(s!==void 0)return s;throw new Error(`\`${d}\` must be used within \`${a}\``)}return c.displayName=a+"Provider",[c,u]}const o=()=>{const a=r.map(s=>f.createContext(s));return function(i){const l=(i==null?void 0:i[e])||a;return f.useMemo(()=>({[`__scope${e}`]:{...i,[e]:l}}),[i,l])}};return o.scopeName=e,[n,O3(o,...t)]}function O3(...e){const t=e[0];if(e.length===1)return t;const r=()=>{const n=e.map(o=>({useScope:o(),scopeName:o.scopeName}));return function(a){const s=n.reduce((i,{useScope:l,scopeName:c})=>{const d=l(a)[`__scope${c}`];return{...i,...d}},{});return f.useMemo(()=>({[`__scope${t.scopeName}`]:s}),[s])}};return r.scopeName=t.scopeName,r}const fn=f.forwardRef((e,t)=>{const{children:r,...n}=e,o=f.Children.toArray(r),a=o.find(j3);if(a){const s=a.props.children,i=o.map(l=>l===a?f.Children.count(s)>1?f.Children.only(null):f.isValidElement(s)?s.props.children:null:l);return f.createElement(dl,fe({},n,{ref:t}),f.isValidElement(s)?f.cloneElement(s,void 0,i):null)}return f.createElement(dl,fe({},n,{ref:t}),r)});fn.displayName="Slot";const dl=f.forwardRef((e,t)=>{const{children:r,...n}=e;return f.isValidElement(r)?f.cloneElement(r,{...L3(n,r.props),ref:t?f0(t,r.ref):r.ref}):f.Children.count(r)>1?f.Children.only(null):null});dl.displayName="SlotClone";const p0=({children:e})=>f.createElement(f.Fragment,null,e);function j3(e){return f.isValidElement(e)&&e.type===p0}function L3(e,t){const r={...t};for(const n in t){const o=e[n],a=t[n];/^on[A-Z]/.test(n)?o&&a?r[n]=(...i)=>{a(...i),o(...i)}:o&&(r[n]=o):n==="style"?r[n]={...o,...a}:n==="className"&&(r[n]=[o,a].filter(Boolean).join(" "))}return{...e,...r}}const Ne=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"].reduce((e,t)=>{const r=f.forwardRef((n,o)=>{const{asChild:a,...s}=n,i=a?fn:t;return f.useEffect(()=>{window[Symbol.for("radix-ui")]=!0},[]),f.createElement(i,fe({},s,{ref:o}))});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function _3(e,t){e&&$n.flushSync(()=>e.dispatchEvent(t))}function Bt(e){const t=f.useRef(e);return f.useEffect(()=>{t.current=e}),f.useMemo(()=>(...r)=>{var n;return(n=t.current)===null||n===void 0?void 0:n.call(t,...r)},[])}function F3(e,t=globalThis==null?void 0:globalThis.document){const r=Bt(e);f.useEffect(()=>{const n=o=>{o.key==="Escape"&&r(o)};return t.addEventListener("keydown",n),()=>t.removeEventListener("keydown",n)},[r,t])}const fl="dismissableLayer.update",V3="dismissableLayer.pointerDownOutside",z3="dismissableLayer.focusOutside";let h0;const W3=f.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),pl=f.forwardRef((e,t)=>{var r;const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:o,onPointerDownOutside:a,onFocusOutside:s,onInteractOutside:i,onDismiss:l,...c}=e,u=f.useContext(W3),[d,p]=f.useState(null),h=(r=d==null?void 0:d.ownerDocument)!==null&&r!==void 0?r:globalThis==null?void 0:globalThis.document,[,g]=f.useState({}),v=Je(t,m=>p(m)),b=Array.from(u.layers),[P]=[...u.layersWithOutsidePointerEventsDisabled].slice(-1),x=b.indexOf(P),w=d?b.indexOf(d):-1,T=u.layersWithOutsidePointerEventsDisabled.size>0,$=w>=x,E=B3(m=>{const k=m.target,I=[...u.branches].some(S=>S.contains(k));!$||I||(a==null||a(m),i==null||i(m),m.defaultPrevented||l==null||l())},h),A=K3(m=>{const k=m.target;[...u.branches].some(S=>S.contains(k))||(s==null||s(m),i==null||i(m),m.defaultPrevented||l==null||l())},h);return F3(m=>{w===u.layers.size-1&&(o==null||o(m),!m.defaultPrevented&&l&&(m.preventDefault(),l()))},h),f.useEffect(()=>{if(d)return n&&(u.layersWithOutsidePointerEventsDisabled.size===0&&(h0=h.body.style.pointerEvents,h.body.style.pointerEvents="none"),u.layersWithOutsidePointerEventsDisabled.add(d)),u.layers.add(d),m0(),()=>{n&&u.layersWithOutsidePointerEventsDisabled.size===1&&(h.body.style.pointerEvents=h0)}},[d,h,n,u]),f.useEffect(()=>()=>{d&&(u.layers.delete(d),u.layersWithOutsidePointerEventsDisabled.delete(d),m0())},[d,u]),f.useEffect(()=>{const m=()=>g({});return document.addEventListener(fl,m),()=>document.removeEventListener(fl,m)},[]),f.createElement(Ne.div,fe({},c,{ref:v,style:{pointerEvents:T?$?"auto":"none":void 0,...e.style},onFocusCapture:De(e.onFocusCapture,A.onFocusCapture),onBlurCapture:De(e.onBlurCapture,A.onBlurCapture),onPointerDownCapture:De(e.onPointerDownCapture,E.onPointerDownCapture)}))});function B3(e,t=globalThis==null?void 0:globalThis.document){const r=Bt(e),n=f.useRef(!1),o=f.useRef(()=>{});return f.useEffect(()=>{const a=i=>{if(i.target&&!n.current){let c=function(){g0(V3,r,l,{discrete:!0})};const l={originalEvent:i};i.pointerType==="touch"?(t.removeEventListener("click",o.current),o.current=c,t.addEventListener("click",o.current,{once:!0})):c()}else t.removeEventListener("click",o.current);n.current=!1},s=window.setTimeout(()=>{t.addEventListener("pointerdown",a)},0);return()=>{window.clearTimeout(s),t.removeEventListener("pointerdown",a),t.removeEventListener("click",o.current)}},[t,r]),{onPointerDownCapture:()=>n.current=!0}}function K3(e,t=globalThis==null?void 0:globalThis.document){const r=Bt(e),n=f.useRef(!1);return f.useEffect(()=>{const o=a=>{a.target&&!n.current&&g0(z3,r,{originalEvent:a},{discrete:!1})};return t.addEventListener("focusin",o),()=>t.removeEventListener("focusin",o)},[t,r]),{onFocusCapture:()=>n.current=!0,onBlurCapture:()=>n.current=!1}}function m0(){const e=new CustomEvent(fl);document.dispatchEvent(e)}function g0(e,t,r,{discrete:n}){const o=r.originalEvent.target,a=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:r});t&&o.addEventListener(e,t,{once:!0}),n?_3(o,a):o.dispatchEvent(a)}const pn=globalThis!=null&&globalThis.document?f.useLayoutEffect:()=>{},R3=W["useId".toString()]||(()=>{});let U3=0;function Ar(e){const[t,r]=W.useState(R3());return pn(()=>{e||r(n=>n??String(U3++))},[e]),e||(t?`radix-${t}`:"")}const G3=["top","right","bottom","left"],lr=Math.min,lt=Math.max,Ua=Math.round,Ga=Math.floor,cr=e=>({x:e,y:e}),H3={left:"right",right:"left",bottom:"top",top:"bottom"},Y3={start:"end",end:"start"};function hl(e,t,r){return lt(e,lr(t,r))}function Kt(e,t){return typeof e=="function"?e(t):e}function Rt(e){return e.split("-")[0]}function hn(e){return e.split("-")[1]}function ml(e){return e==="x"?"y":"x"}function gl(e){return e==="y"?"height":"width"}function mn(e){return["top","bottom"].includes(Rt(e))?"y":"x"}function vl(e){return ml(mn(e))}function q3(e,t,r){r===void 0&&(r=!1);const n=hn(e),o=vl(e),a=gl(o);let s=o==="x"?n===(r?"end":"start")?"right":"left":n==="start"?"bottom":"top";return t.reference[a]>t.floating[a]&&(s=Ha(s)),[s,Ha(s)]}function Q3(e){const t=Ha(e);return[bl(e),t,bl(t)]}function bl(e){return e.replace(/start|end/g,t=>Y3[t])}function X3(e,t,r){const n=["left","right"],o=["right","left"],a=["top","bottom"],s=["bottom","top"];switch(e){case"top":case"bottom":return r?t?o:n:t?n:o;case"left":case"right":return t?a:s;default:return[]}}function Z3(e,t,r,n){const o=hn(e);let a=X3(Rt(e),r==="start",n);return o&&(a=a.map(s=>s+"-"+o),t&&(a=a.concat(a.map(bl)))),a}function Ha(e){return e.replace(/left|right|bottom|top/g,t=>H3[t])}function J3(e){return{top:0,right:0,bottom:0,left:0,...e}}function v0(e){return typeof e!="number"?J3(e):{top:e,right:e,bottom:e,left:e}}function Ya(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}function b0(e,t,r){let{reference:n,floating:o}=e;const a=mn(t),s=vl(t),i=gl(s),l=Rt(t),c=a==="y",u=n.x+n.width/2-o.width/2,d=n.y+n.height/2-o.height/2,p=n[i]/2-o[i]/2;let h;switch(l){case"top":h={x:u,y:n.y-o.height};break;case"bottom":h={x:u,y:n.y+n.height};break;case"right":h={x:n.x+n.width,y:d};break;case"left":h={x:n.x-o.width,y:d};break;default:h={x:n.x,y:n.y}}switch(hn(t)){case"start":h[s]-=p*(r&&c?-1:1);break;case"end":h[s]+=p*(r&&c?-1:1);break}return h}const e6=async(e,t,r)=>{const{placement:n="bottom",strategy:o="absolute",middleware:a=[],platform:s}=r,i=a.filter(Boolean),l=await(s.isRTL==null?void 0:s.isRTL(t));let c=await s.getElementRects({reference:e,floating:t,strategy:o}),{x:u,y:d}=b0(c,n,l),p=n,h={},g=0;for(let v=0;v<i.length;v++){const{name:b,fn:P}=i[v],{x,y:w,data:T,reset:$}=await P({x:u,y:d,initialPlacement:n,placement:p,strategy:o,middlewareData:h,rects:c,platform:s,elements:{reference:e,floating:t}});if(u=x??u,d=w??d,h={...h,[b]:{...h[b],...T}},$&&g<=50){g++,typeof $=="object"&&($.placement&&(p=$.placement),$.rects&&(c=$.rects===!0?await s.getElementRects({reference:e,floating:t,strategy:o}):$.rects),{x:u,y:d}=b0(c,p,l)),v=-1;continue}}return{x:u,y:d,placement:p,strategy:o,middlewareData:h}};async function lo(e,t){var r;t===void 0&&(t={});const{x:n,y:o,platform:a,rects:s,elements:i,strategy:l}=e,{boundary:c="clippingAncestors",rootBoundary:u="viewport",elementContext:d="floating",altBoundary:p=!1,padding:h=0}=Kt(t,e),g=v0(h),b=i[p?d==="floating"?"reference":"floating":d],P=Ya(await a.getClippingRect({element:(r=await(a.isElement==null?void 0:a.isElement(b)))==null||r?b:b.contextElement||await(a.getDocumentElement==null?void 0:a.getDocumentElement(i.floating)),boundary:c,rootBoundary:u,strategy:l})),x=d==="floating"?{...s.floating,x:n,y:o}:s.reference,w=await(a.getOffsetParent==null?void 0:a.getOffsetParent(i.floating)),T=await(a.isElement==null?void 0:a.isElement(w))?await(a.getScale==null?void 0:a.getScale(w))||{x:1,y:1}:{x:1,y:1},$=Ya(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({rect:x,offsetParent:w,strategy:l}):x);return{top:(P.top-$.top+g.top)/T.y,bottom:($.bottom-P.bottom+g.bottom)/T.y,left:(P.left-$.left+g.left)/T.x,right:($.right-P.right+g.right)/T.x}}const y0=e=>({name:"arrow",options:e,async fn(t){const{x:r,y:n,placement:o,rects:a,platform:s,elements:i,middlewareData:l}=t,{element:c,padding:u=0}=Kt(e,t)||{};if(c==null)return{};const d=v0(u),p={x:r,y:n},h=vl(o),g=gl(h),v=await s.getDimensions(c),b=h==="y",P=b?"top":"left",x=b?"bottom":"right",w=b?"clientHeight":"clientWidth",T=a.reference[g]+a.reference[h]-p[h]-a.floating[g],$=p[h]-a.reference[h],E=await(s.getOffsetParent==null?void 0:s.getOffsetParent(c));let A=E?E[w]:0;(!A||!await(s.isElement==null?void 0:s.isElement(E)))&&(A=i.floating[w]||a.floating[g]);const m=T/2-$/2,k=A/2-v[g]/2-1,I=lr(d[P],k),S=lr(d[x],k),N=I,C=A-v[g]-S,M=A/2-v[g]/2+m,O=hl(N,M,C),_=!l.arrow&&hn(o)!=null&&M!=O&&a.reference[g]/2-(M<N?I:S)-v[g]/2<0,D=_?M<N?M-N:M-C:0;return{[h]:p[h]+D,data:{[h]:O,centerOffset:M-O-D,..._&&{alignmentOffset:D}},reset:_}}}),t6=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var r,n;const{placement:o,middlewareData:a,rects:s,initialPlacement:i,platform:l,elements:c}=t,{mainAxis:u=!0,crossAxis:d=!0,fallbackPlacements:p,fallbackStrategy:h="bestFit",fallbackAxisSideDirection:g="none",flipAlignment:v=!0,...b}=Kt(e,t);if((r=a.arrow)!=null&&r.alignmentOffset)return{};const P=Rt(o),x=Rt(i)===i,w=await(l.isRTL==null?void 0:l.isRTL(c.floating)),T=p||(x||!v?[Ha(i)]:Q3(i));!p&&g!=="none"&&T.push(...Z3(i,v,g,w));const $=[i,...T],E=await lo(t,b),A=[];let m=((n=a.flip)==null?void 0:n.overflows)||[];if(u&&A.push(E[P]),d){const N=q3(o,s,w);A.push(E[N[0]],E[N[1]])}if(m=[...m,{placement:o,overflows:A}],!A.every(N=>N<=0)){var k,I;const N=(((k=a.flip)==null?void 0:k.index)||0)+1,C=$[N];if(C)return{data:{index:N,overflows:m},reset:{placement:C}};let M=(I=m.filter(O=>O.overflows[0]<=0).sort((O,_)=>O.overflows[1]-_.overflows[1])[0])==null?void 0:I.placement;if(!M)switch(h){case"bestFit":{var S;const O=(S=m.map(_=>[_.placement,_.overflows.filter(D=>D>0).reduce((D,z)=>D+z,0)]).sort((_,D)=>_[1]-D[1])[0])==null?void 0:S[0];O&&(M=O);break}case"initialPlacement":M=i;break}if(o!==M)return{reset:{placement:M}}}return{}}}};function x0(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function w0(e){return G3.some(t=>e[t]>=0)}const r6=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:r}=t,{strategy:n="referenceHidden",...o}=Kt(e,t);switch(n){case"referenceHidden":{const a=await lo(t,{...o,elementContext:"reference"}),s=x0(a,r.reference);return{data:{referenceHiddenOffsets:s,referenceHidden:w0(s)}}}case"escaped":{const a=await lo(t,{...o,altBoundary:!0}),s=x0(a,r.floating);return{data:{escapedOffsets:s,escaped:w0(s)}}}default:return{}}}}};async function n6(e,t){const{placement:r,platform:n,elements:o}=e,a=await(n.isRTL==null?void 0:n.isRTL(o.floating)),s=Rt(r),i=hn(r),l=mn(r)==="y",c=["left","top"].includes(s)?-1:1,u=a&&l?-1:1,d=Kt(t,e);let{mainAxis:p,crossAxis:h,alignmentAxis:g}=typeof d=="number"?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...d};return i&&typeof g=="number"&&(h=i==="end"?g*-1:g),l?{x:h*u,y:p*c}:{x:p*c,y:h*u}}const o6=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){const{x:r,y:n}=t,o=await n6(t,e);return{x:r+o.x,y:n+o.y,data:o}}}},a6=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:r,y:n,placement:o}=t,{mainAxis:a=!0,crossAxis:s=!1,limiter:i={fn:b=>{let{x:P,y:x}=b;return{x:P,y:x}}},...l}=Kt(e,t),c={x:r,y:n},u=await lo(t,l),d=mn(Rt(o)),p=ml(d);let h=c[p],g=c[d];if(a){const b=p==="y"?"top":"left",P=p==="y"?"bottom":"right",x=h+u[b],w=h-u[P];h=hl(x,h,w)}if(s){const b=d==="y"?"top":"left",P=d==="y"?"bottom":"right",x=g+u[b],w=g-u[P];g=hl(x,g,w)}const v=i.fn({...t,[p]:h,[d]:g});return{...v,data:{x:v.x-r,y:v.y-n}}}}},s6=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:r,y:n,placement:o,rects:a,middlewareData:s}=t,{offset:i=0,mainAxis:l=!0,crossAxis:c=!0}=Kt(e,t),u={x:r,y:n},d=mn(o),p=ml(d);let h=u[p],g=u[d];const v=Kt(i,t),b=typeof v=="number"?{mainAxis:v,crossAxis:0}:{mainAxis:0,crossAxis:0,...v};if(l){const w=p==="y"?"height":"width",T=a.reference[p]-a.floating[w]+b.mainAxis,$=a.reference[p]+a.reference[w]-b.mainAxis;h<T?h=T:h>$&&(h=$)}if(c){var P,x;const w=p==="y"?"width":"height",T=["top","left"].includes(Rt(o)),$=a.reference[d]-a.floating[w]+(T&&((P=s.offset)==null?void 0:P[d])||0)+(T?0:b.crossAxis),E=a.reference[d]+a.reference[w]+(T?0:((x=s.offset)==null?void 0:x[d])||0)-(T?b.crossAxis:0);g<$?g=$:g>E&&(g=E)}return{[p]:h,[d]:g}}}},i6=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){const{placement:r,rects:n,platform:o,elements:a}=t,{apply:s=()=>{},...i}=Kt(e,t),l=await lo(t,i),c=Rt(r),u=hn(r),d=mn(r)==="y",{width:p,height:h}=n.floating;let g,v;c==="top"||c==="bottom"?(g=c,v=u===(await(o.isRTL==null?void 0:o.isRTL(a.floating))?"start":"end")?"left":"right"):(v=c,g=u==="end"?"top":"bottom");const b=h-l[g],P=p-l[v],x=!t.middlewareData.shift;let w=b,T=P;if(d){const E=p-l.left-l.right;T=u||x?lr(P,E):E}else{const E=h-l.top-l.bottom;w=u||x?lr(b,E):E}if(x&&!u){const E=lt(l.left,0),A=lt(l.right,0),m=lt(l.top,0),k=lt(l.bottom,0);d?T=p-2*(E!==0||A!==0?E+A:lt(l.left,l.right)):w=h-2*(m!==0||k!==0?m+k:lt(l.top,l.bottom))}await s({...t,availableWidth:T,availableHeight:w});const $=await o.getDimensions(a.floating);return p!==$.width||h!==$.height?{reset:{rects:!0}}:{}}}};function ur(e){return C0(e)?(e.nodeName||"").toLowerCase():"#document"}function ct(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function Ut(e){var t;return(t=(C0(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function C0(e){return e instanceof Node||e instanceof ct(e).Node}function Gt(e){return e instanceof Element||e instanceof ct(e).Element}function kt(e){return e instanceof HTMLElement||e instanceof ct(e).HTMLElement}function P0(e){return typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof ct(e).ShadowRoot}function co(e){const{overflow:t,overflowX:r,overflowY:n,display:o}=mt(e);return/auto|scroll|overlay|hidden|clip/.test(t+n+r)&&!["inline","contents"].includes(o)}function l6(e){return["table","td","th"].includes(ur(e))}function yl(e){const t=xl(),r=mt(e);return r.transform!=="none"||r.perspective!=="none"||(r.containerType?r.containerType!=="normal":!1)||!t&&(r.backdropFilter?r.backdropFilter!=="none":!1)||!t&&(r.filter?r.filter!=="none":!1)||["transform","perspective","filter"].some(n=>(r.willChange||"").includes(n))||["paint","layout","strict","content"].some(n=>(r.contain||"").includes(n))}function c6(e){let t=gn(e);for(;kt(t)&&!qa(t);){if(yl(t))return t;t=gn(t)}return null}function xl(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function qa(e){return["html","body","#document"].includes(ur(e))}function mt(e){return ct(e).getComputedStyle(e)}function Qa(e){return Gt(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function gn(e){if(ur(e)==="html")return e;const t=e.assignedSlot||e.parentNode||P0(e)&&e.host||Ut(e);return P0(t)?t.host:t}function M0(e){const t=gn(e);return qa(t)?e.ownerDocument?e.ownerDocument.body:e.body:kt(t)&&co(t)?t:M0(t)}function uo(e,t,r){var n;t===void 0&&(t=[]),r===void 0&&(r=!0);const o=M0(e),a=o===((n=e.ownerDocument)==null?void 0:n.body),s=ct(o);return a?t.concat(s,s.visualViewport||[],co(o)?o:[],s.frameElement&&r?uo(s.frameElement):[]):t.concat(o,uo(o,[],r))}function S0(e){const t=mt(e);let r=parseFloat(t.width)||0,n=parseFloat(t.height)||0;const o=kt(e),a=o?e.offsetWidth:r,s=o?e.offsetHeight:n,i=Ua(r)!==a||Ua(n)!==s;return i&&(r=a,n=s),{width:r,height:n,$:i}}function wl(e){return Gt(e)?e:e.contextElement}function vn(e){const t=wl(e);if(!kt(t))return cr(1);const r=t.getBoundingClientRect(),{width:n,height:o,$:a}=S0(t);let s=(a?Ua(r.width):r.width)/n,i=(a?Ua(r.height):r.height)/o;return(!s||!Number.isFinite(s))&&(s=1),(!i||!Number.isFinite(i))&&(i=1),{x:s,y:i}}const u6=cr(0);function T0(e){const t=ct(e);return!xl()||!t.visualViewport?u6:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function d6(e,t,r){return t===void 0&&(t=!1),!r||t&&r!==ct(e)?!1:t}function Nr(e,t,r,n){t===void 0&&(t=!1),r===void 0&&(r=!1);const o=e.getBoundingClientRect(),a=wl(e);let s=cr(1);t&&(n?Gt(n)&&(s=vn(n)):s=vn(e));const i=d6(a,r,n)?T0(a):cr(0);let l=(o.left+i.x)/s.x,c=(o.top+i.y)/s.y,u=o.width/s.x,d=o.height/s.y;if(a){const p=ct(a),h=n&&Gt(n)?ct(n):n;let g=p.frameElement;for(;g&&n&&h!==p;){const v=vn(g),b=g.getBoundingClientRect(),P=mt(g),x=b.left+(g.clientLeft+parseFloat(P.paddingLeft))*v.x,w=b.top+(g.clientTop+parseFloat(P.paddingTop))*v.y;l*=v.x,c*=v.y,u*=v.x,d*=v.y,l+=x,c+=w,g=ct(g).frameElement}}return Ya({width:u,height:d,x:l,y:c})}function f6(e){let{rect:t,offsetParent:r,strategy:n}=e;const o=kt(r),a=Ut(r);if(r===a)return t;let s={scrollLeft:0,scrollTop:0},i=cr(1);const l=cr(0);if((o||!o&&n!=="fixed")&&((ur(r)!=="body"||co(a))&&(s=Qa(r)),kt(r))){const c=Nr(r);i=vn(r),l.x=c.x+r.clientLeft,l.y=c.y+r.clientTop}return{width:t.width*i.x,height:t.height*i.y,x:t.x*i.x-s.scrollLeft*i.x+l.x,y:t.y*i.y-s.scrollTop*i.y+l.y}}function p6(e){return Array.from(e.getClientRects())}function E0(e){return Nr(Ut(e)).left+Qa(e).scrollLeft}function h6(e){const t=Ut(e),r=Qa(e),n=e.ownerDocument.body,o=lt(t.scrollWidth,t.clientWidth,n.scrollWidth,n.clientWidth),a=lt(t.scrollHeight,t.clientHeight,n.scrollHeight,n.clientHeight);let s=-r.scrollLeft+E0(e);const i=-r.scrollTop;return mt(n).direction==="rtl"&&(s+=lt(t.clientWidth,n.clientWidth)-o),{width:o,height:a,x:s,y:i}}function m6(e,t){const r=ct(e),n=Ut(e),o=r.visualViewport;let a=n.clientWidth,s=n.clientHeight,i=0,l=0;if(o){a=o.width,s=o.height;const c=xl();(!c||c&&t==="fixed")&&(i=o.offsetLeft,l=o.offsetTop)}return{width:a,height:s,x:i,y:l}}function g6(e,t){const r=Nr(e,!0,t==="fixed"),n=r.top+e.clientTop,o=r.left+e.clientLeft,a=kt(e)?vn(e):cr(1),s=e.clientWidth*a.x,i=e.clientHeight*a.y,l=o*a.x,c=n*a.y;return{width:s,height:i,x:l,y:c}}function $0(e,t,r){let n;if(t==="viewport")n=m6(e,r);else if(t==="document")n=h6(Ut(e));else if(Gt(t))n=g6(t,r);else{const o=T0(e);n={...t,x:t.x-o.x,y:t.y-o.y}}return Ya(n)}function D0(e,t){const r=gn(e);return r===t||!Gt(r)||qa(r)?!1:mt(r).position==="fixed"||D0(r,t)}function v6(e,t){const r=t.get(e);if(r)return r;let n=uo(e,[],!1).filter(i=>Gt(i)&&ur(i)!=="body"),o=null;const a=mt(e).position==="fixed";let s=a?gn(e):e;for(;Gt(s)&&!qa(s);){const i=mt(s),l=yl(s);!l&&i.position==="fixed"&&(o=null),(a?!l&&!o:!l&&i.position==="static"&&!!o&&["absolute","fixed"].includes(o.position)||co(s)&&!l&&D0(e,s))?n=n.filter(u=>u!==s):o=i,s=gn(s)}return t.set(e,n),n}function b6(e){let{element:t,boundary:r,rootBoundary:n,strategy:o}=e;const s=[...r==="clippingAncestors"?v6(t,this._c):[].concat(r),n],i=s[0],l=s.reduce((c,u)=>{const d=$0(t,u,o);return c.top=lt(d.top,c.top),c.right=lr(d.right,c.right),c.bottom=lr(d.bottom,c.bottom),c.left=lt(d.left,c.left),c},$0(t,i,o));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}}function y6(e){return S0(e)}function x6(e,t,r){const n=kt(t),o=Ut(t),a=r==="fixed",s=Nr(e,!0,a,t);let i={scrollLeft:0,scrollTop:0};const l=cr(0);if(n||!n&&!a)if((ur(t)!=="body"||co(o))&&(i=Qa(t)),n){const c=Nr(t,!0,a,t);l.x=c.x+t.clientLeft,l.y=c.y+t.clientTop}else o&&(l.x=E0(o));return{x:s.left+i.scrollLeft-l.x,y:s.top+i.scrollTop-l.y,width:s.width,height:s.height}}function k0(e,t){return!kt(e)||mt(e).position==="fixed"?null:t?t(e):e.offsetParent}function I0(e,t){const r=ct(e);if(!kt(e))return r;let n=k0(e,t);for(;n&&l6(n)&&mt(n).position==="static";)n=k0(n,t);return n&&(ur(n)==="html"||ur(n)==="body"&&mt(n).position==="static"&&!yl(n))?r:n||c6(e)||r}const w6=async function(e){let{reference:t,floating:r,strategy:n}=e;const o=this.getOffsetParent||I0,a=this.getDimensions;return{reference:x6(t,await o(r),n),floating:{x:0,y:0,...await a(r)}}};function C6(e){return mt(e).direction==="rtl"}const P6={convertOffsetParentRelativeRectToViewportRelativeRect:f6,getDocumentElement:Ut,getClippingRect:b6,getOffsetParent:I0,getElementRects:w6,getClientRects:p6,getDimensions:y6,getScale:vn,isElement:Gt,isRTL:C6};function M6(e,t){let r=null,n;const o=Ut(e);function a(){clearTimeout(n),r&&r.disconnect(),r=null}function s(i,l){i===void 0&&(i=!1),l===void 0&&(l=1),a();const{left:c,top:u,width:d,height:p}=e.getBoundingClientRect();if(i||t(),!d||!p)return;const h=Ga(u),g=Ga(o.clientWidth-(c+d)),v=Ga(o.clientHeight-(u+p)),b=Ga(c),x={rootMargin:-h+"px "+-g+"px "+-v+"px "+-b+"px",threshold:lt(0,lr(1,l))||1};let w=!0;function T($){const E=$[0].intersectionRatio;if(E!==l){if(!w)return s();E?s(!1,E):n=setTimeout(()=>{s(!1,1e-7)},100)}w=!1}try{r=new IntersectionObserver(T,{...x,root:o.ownerDocument})}catch{r=new IntersectionObserver(T,x)}r.observe(e)}return s(!0),a}function S6(e,t,r,n){n===void 0&&(n={});const{ancestorScroll:o=!0,ancestorResize:a=!0,elementResize:s=typeof ResizeObserver=="function",layoutShift:i=typeof IntersectionObserver=="function",animationFrame:l=!1}=n,c=wl(e),u=o||a?[...c?uo(c):[],...uo(t)]:[];u.forEach(P=>{o&&P.addEventListener("scroll",r,{passive:!0}),a&&P.addEventListener("resize",r)});const d=c&&i?M6(c,r):null;let p=-1,h=null;s&&(h=new ResizeObserver(P=>{let[x]=P;x&&x.target===c&&h&&(h.unobserve(t),cancelAnimationFrame(p),p=requestAnimationFrame(()=>{h&&h.observe(t)})),r()}),c&&!l&&h.observe(c),h.observe(t));let g,v=l?Nr(e):null;l&&b();function b(){const P=Nr(e);v&&(P.x!==v.x||P.y!==v.y||P.width!==v.width||P.height!==v.height)&&r(),v=P,g=requestAnimationFrame(b)}return r(),()=>{u.forEach(P=>{o&&P.removeEventListener("scroll",r),a&&P.removeEventListener("resize",r)}),d&&d(),h&&h.disconnect(),h=null,l&&cancelAnimationFrame(g)}}const T6=(e,t,r)=>{const n=new Map,o={platform:P6,...r},a={...o.platform,_c:n};return e6(e,t,{...o,platform:a})},E6=e=>{function t(r){return{}.hasOwnProperty.call(r,"current")}return{name:"arrow",options:e,fn(r){const{element:n,padding:o}=typeof e=="function"?e(r):e;return n&&t(n)?n.current!=null?y0({element:n.current,padding:o}).fn(r):{}:n?y0({element:n,padding:o}).fn(r):{}}}};var Xa=typeof document<"u"?f.useLayoutEffect:f.useEffect;function Za(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(typeof e=="function"&&e.toString()===t.toString())return!0;let r,n,o;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(r=e.length,r!=t.length)return!1;for(n=r;n--!==0;)if(!Za(e[n],t[n]))return!1;return!0}if(o=Object.keys(e),r=o.length,r!==Object.keys(t).length)return!1;for(n=r;n--!==0;)if(!{}.hasOwnProperty.call(t,o[n]))return!1;for(n=r;n--!==0;){const a=o[n];if(!(a==="_owner"&&e.$$typeof)&&!Za(e[a],t[a]))return!1}return!0}return e!==e&&t!==t}function A0(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function N0(e,t){const r=A0(e);return Math.round(t*r)/r}function O0(e){const t=W.useRef(e);return Xa(()=>{t.current=e}),t}function $6(e){e===void 0&&(e={});const{placement:t="bottom",strategy:r="absolute",middleware:n=[],platform:o,elements:{reference:a,floating:s}={},transform:i=!0,whileElementsMounted:l,open:c}=e,[u,d]=W.useState({x:0,y:0,strategy:r,placement:t,middlewareData:{},isPositioned:!1}),[p,h]=W.useState(n);Za(p,n)||h(n);const[g,v]=W.useState(null),[b,P]=W.useState(null),x=W.useCallback(_=>{_!=E.current&&(E.current=_,v(_))},[v]),w=W.useCallback(_=>{_!==A.current&&(A.current=_,P(_))},[P]),T=a||g,$=s||b,E=W.useRef(null),A=W.useRef(null),m=W.useRef(u),k=O0(l),I=O0(o),S=W.useCallback(()=>{if(!E.current||!A.current)return;const _={placement:t,strategy:r,middleware:p};I.current&&(_.platform=I.current),T6(E.current,A.current,_).then(D=>{const z={...D,isPositioned:!0};N.current&&!Za(m.current,z)&&(m.current=z,Th.flushSync(()=>{d(z)}))})},[p,t,r,I]);Xa(()=>{c===!1&&m.current.isPositioned&&(m.current.isPositioned=!1,d(_=>({..._,isPositioned:!1})))},[c]);const N=W.useRef(!1);Xa(()=>(N.current=!0,()=>{N.current=!1}),[]),Xa(()=>{if(T&&(E.current=T),$&&(A.current=$),T&&$){if(k.current)return k.current(T,$,S);S()}},[T,$,S,k]);const C=W.useMemo(()=>({reference:E,floating:A,setReference:x,setFloating:w}),[x,w]),M=W.useMemo(()=>({reference:T,floating:$}),[T,$]),O=W.useMemo(()=>{const _={position:r,left:0,top:0};if(!M.floating)return _;const D=N0(M.floating,u.x),z=N0(M.floating,u.y);return i?{..._,transform:"translate("+D+"px, "+z+"px)",...A0(M.floating)>=1.5&&{willChange:"transform"}}:{position:r,left:D,top:z}},[r,i,M.floating,u.x,u.y]);return W.useMemo(()=>({...u,update:S,refs:C,elements:M,floatingStyles:O}),[u,S,C,M,O])}const D6=f.forwardRef((e,t)=>{const{children:r,width:n=10,height:o=5,...a}=e;return f.createElement(Ne.svg,fe({},a,{ref:t,width:n,height:o,viewBox:"0 0 30 10",preserveAspectRatio:"none"}),e.asChild?r:f.createElement("polygon",{points:"0,0 30,0 15,10"}))});function k6(e){const[t,r]=f.useState(void 0);return pn(()=>{if(e){r({width:e.offsetWidth,height:e.offsetHeight});const n=new ResizeObserver(o=>{if(!Array.isArray(o)||!o.length)return;const a=o[0];let s,i;if("borderBoxSize"in a){const l=a.borderBoxSize,c=Array.isArray(l)?l[0]:l;s=c.inlineSize,i=c.blockSize}else s=e.offsetWidth,i=e.offsetHeight;r({width:s,height:i})});return n.observe(e,{box:"border-box"}),()=>n.unobserve(e)}else r(void 0)},[e]),t}const j0="Popper",[L0,Ja]=Ir(j0),[I6,_0]=L0(j0),A6=e=>{const{__scopePopper:t,children:r}=e,[n,o]=f.useState(null);return f.createElement(I6,{scope:t,anchor:n,onAnchorChange:o},r)},N6="PopperAnchor",O6=f.forwardRef((e,t)=>{const{__scopePopper:r,virtualRef:n,...o}=e,a=_0(N6,r),s=f.useRef(null),i=Je(t,s);return f.useEffect(()=>{a.onAnchorChange((n==null?void 0:n.current)||s.current)}),n?null:f.createElement(Ne.div,fe({},o,{ref:i}))}),F0="PopperContent",[j6,L6]=L0(F0),_6=f.forwardRef((e,t)=>{var r,n,o,a,s,i,l,c;const{__scopePopper:u,side:d="bottom",sideOffset:p=0,align:h="center",alignOffset:g=0,arrowPadding:v=0,avoidCollisions:b=!0,collisionBoundary:P=[],collisionPadding:x=0,sticky:w="partial",hideWhenDetached:T=!1,updatePositionStrategy:$="optimized",onPlaced:E,...A}=e,m=_0(F0,u),[k,I]=f.useState(null),S=Je(t,te=>I(te)),[N,C]=f.useState(null),M=k6(N),O=(r=M==null?void 0:M.width)!==null&&r!==void 0?r:0,_=(n=M==null?void 0:M.height)!==null&&n!==void 0?n:0,D=d+(h!=="center"?"-"+h:""),z=typeof x=="number"?x:{top:0,right:0,bottom:0,left:0,...x},X=Array.isArray(P)?P:[P],G=X.length>0,U={padding:z,boundary:X.filter(W6),altBoundary:G},{refs:F,floatingStyles:B,placement:q,isPositioned:K,middlewareData:Q}=$6({strategy:"fixed",placement:D,whileElementsMounted:(...te)=>S6(...te,{animationFrame:$==="always"}),elements:{reference:m.anchor},middleware:[o6({mainAxis:p+_,alignmentAxis:g}),b&&a6({mainAxis:!0,crossAxis:!1,limiter:w==="partial"?s6():void 0,...U}),b&&t6({...U}),i6({...U,apply:({elements:te,rects:je,availableWidth:Fe,availableHeight:Ve})=>{const{width:Ie,height:Nt}=je.reference,vt=te.floating.style;vt.setProperty("--radix-popper-available-width",`${Fe}px`),vt.setProperty("--radix-popper-available-height",`${Ve}px`),vt.setProperty("--radix-popper-anchor-width",`${Ie}px`),vt.setProperty("--radix-popper-anchor-height",`${Nt}px`)}}),N&&E6({element:N,padding:v}),B6({arrowWidth:O,arrowHeight:_}),T&&r6({strategy:"referenceHidden",...U})]}),[ne,le]=V0(q),ce=Bt(E);pn(()=>{K&&(ce==null||ce())},[K,ce]);const ue=(o=Q.arrow)===null||o===void 0?void 0:o.x,ge=(a=Q.arrow)===null||a===void 0?void 0:a.y,Se=((s=Q.arrow)===null||s===void 0?void 0:s.centerOffset)!==0,[Te,se]=f.useState();return pn(()=>{k&&se(window.getComputedStyle(k).zIndex)},[k]),f.createElement("div",{ref:F.setFloating,"data-radix-popper-content-wrapper":"",style:{...B,transform:K?B.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:Te,"--radix-popper-transform-origin":[(i=Q.transformOrigin)===null||i===void 0?void 0:i.x,(l=Q.transformOrigin)===null||l===void 0?void 0:l.y].join(" ")},dir:e.dir},f.createElement(j6,{scope:u,placedSide:ne,onArrowChange:C,arrowX:ue,arrowY:ge,shouldHideArrow:Se},f.createElement(Ne.div,fe({"data-side":ne,"data-align":le},A,{ref:S,style:{...A.style,animation:K?void 0:"none",opacity:(c=Q.hide)!==null&&c!==void 0&&c.referenceHidden?0:void 0}}))))}),F6="PopperArrow",V6={top:"bottom",right:"left",bottom:"top",left:"right"},z6=f.forwardRef(function(t,r){const{__scopePopper:n,...o}=t,a=L6(F6,n),s=V6[a.placedSide];return f.createElement("span",{ref:a.onArrowChange,style:{position:"absolute",left:a.arrowX,top:a.arrowY,[s]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[a.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[a.placedSide],visibility:a.shouldHideArrow?"hidden":void 0}},f.createElement(D6,fe({},o,{ref:r,style:{...o.style,display:"block"}})))});function W6(e){return e!==null}const B6=e=>({name:"transformOrigin",options:e,fn(t){var r,n,o,a,s;const{placement:i,rects:l,middlewareData:c}=t,d=((r=c.arrow)===null||r===void 0?void 0:r.centerOffset)!==0,p=d?0:e.arrowWidth,h=d?0:e.arrowHeight,[g,v]=V0(i),b={start:"0%",center:"50%",end:"100%"}[v],P=((n=(o=c.arrow)===null||o===void 0?void 0:o.x)!==null&&n!==void 0?n:0)+p/2,x=((a=(s=c.arrow)===null||s===void 0?void 0:s.y)!==null&&a!==void 0?a:0)+h/2;let w="",T="";return g==="bottom"?(w=d?b:`${P}px`,T=`${-h}px`):g==="top"?(w=d?b:`${P}px`,T=`${l.floating.height+h}px`):g==="right"?(w=`${-h}px`,T=d?b:`${x}px`):g==="left"&&(w=`${l.floating.width+h}px`,T=d?b:`${x}px`),{data:{x:w,y:T}}}});function V0(e){const[t,r="center"]=e.split("-");return[t,r]}const z0=A6,W0=O6,B0=_6,K6=z6,Cl=f.forwardRef((e,t)=>{var r;const{container:n=globalThis==null||(r=globalThis.document)===null||r===void 0?void 0:r.body,...o}=e;return n?$n.createPortal(f.createElement(Ne.div,fe({},o,{ref:t})),n):null});function R6(e,t){return f.useReducer((r,n)=>{const o=t[r][n];return o??r},e)}const Ht=e=>{const{present:t,children:r}=e,n=U6(t),o=typeof r=="function"?r({present:n.isPresent}):f.Children.only(r),a=Je(n.ref,o.ref);return typeof r=="function"||n.isPresent?f.cloneElement(o,{ref:a}):null};Ht.displayName="Presence";function U6(e){const[t,r]=f.useState(),n=f.useRef({}),o=f.useRef(e),a=f.useRef("none"),s=e?"mounted":"unmounted",[i,l]=R6(s,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return f.useEffect(()=>{const c=es(n.current);a.current=i==="mounted"?c:"none"},[i]),pn(()=>{const c=n.current,u=o.current;if(u!==e){const p=a.current,h=es(c);e?l("MOUNT"):h==="none"||(c==null?void 0:c.display)==="none"?l("UNMOUNT"):l(u&&p!==h?"ANIMATION_OUT":"UNMOUNT"),o.current=e}},[e,l]),pn(()=>{if(t){const c=d=>{const h=es(n.current).includes(d.animationName);d.target===t&&h&&$n.flushSync(()=>l("ANIMATION_END"))},u=d=>{d.target===t&&(a.current=es(n.current))};return t.addEventListener("animationstart",u),t.addEventListener("animationcancel",c),t.addEventListener("animationend",c),()=>{t.removeEventListener("animationstart",u),t.removeEventListener("animationcancel",c),t.removeEventListener("animationend",c)}}else l("ANIMATION_END")},[t,l]),{isPresent:["mounted","unmountSuspended"].includes(i),ref:f.useCallback(c=>{c&&(n.current=getComputedStyle(c)),r(c)},[])}}function es(e){return(e==null?void 0:e.animationName)||"none"}function fo({prop:e,defaultProp:t,onChange:r=()=>{}}){const[n,o]=G6({defaultProp:t,onChange:r}),a=e!==void 0,s=a?e:n,i=Bt(r),l=f.useCallback(c=>{if(a){const d=typeof c=="function"?c(e):c;d!==e&&i(d)}else o(c)},[a,e,o,i]);return[s,l]}function G6({defaultProp:e,onChange:t}){const r=f.useState(e),[n]=r,o=f.useRef(n),a=Bt(t);return f.useEffect(()=>{o.current!==n&&(a(n),o.current=n)},[n,o,a]),r}const H6=f.forwardRef((e,t)=>f.createElement(Ne.span,fe({},e,{ref:t,style:{position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal",...e.style}}))),[ts,iP]=Ir("Tooltip",[Ja]),rs=Ja(),Y6="TooltipProvider",q6=700,Pl="tooltip.open",[Q6,Ml]=ts(Y6),X6=e=>{const{__scopeTooltip:t,delayDuration:r=q6,skipDelayDuration:n=300,disableHoverableContent:o=!1,children:a}=e,[s,i]=f.useState(!0),l=f.useRef(!1),c=f.useRef(0);return f.useEffect(()=>{const u=c.current;return()=>window.clearTimeout(u)},[]),f.createElement(Q6,{scope:t,isOpenDelayed:s,delayDuration:r,onOpen:f.useCallback(()=>{window.clearTimeout(c.current),i(!1)},[]),onClose:f.useCallback(()=>{window.clearTimeout(c.current),c.current=window.setTimeout(()=>i(!0),n)},[n]),isPointerInTransitRef:l,onPointerInTransitChange:f.useCallback(u=>{l.current=u},[]),disableHoverableContent:o},a)},Sl="Tooltip",[Z6,po]=ts(Sl),J6=e=>{const{__scopeTooltip:t,children:r,open:n,defaultOpen:o=!1,onOpenChange:a,disableHoverableContent:s,delayDuration:i}=e,l=Ml(Sl,e.__scopeTooltip),c=rs(t),[u,d]=f.useState(null),p=Ar(),h=f.useRef(0),g=s??l.disableHoverableContent,v=i??l.delayDuration,b=f.useRef(!1),[P=!1,x]=fo({prop:n,defaultProp:o,onChange:A=>{A?(l.onOpen(),document.dispatchEvent(new CustomEvent(Pl))):l.onClose(),a==null||a(A)}}),w=f.useMemo(()=>P?b.current?"delayed-open":"instant-open":"closed",[P]),T=f.useCallback(()=>{window.clearTimeout(h.current),b.current=!1,x(!0)},[x]),$=f.useCallback(()=>{window.clearTimeout(h.current),x(!1)},[x]),E=f.useCallback(()=>{window.clearTimeout(h.current),h.current=window.setTimeout(()=>{b.current=!0,x(!0)},v)},[v,x]);return f.useEffect(()=>()=>window.clearTimeout(h.current),[]),f.createElement(z0,c,f.createElement(Z6,{scope:t,contentId:p,open:P,stateAttribute:w,trigger:u,onTriggerChange:d,onTriggerEnter:f.useCallback(()=>{l.isOpenDelayed?E():T()},[l.isOpenDelayed,E,T]),onTriggerLeave:f.useCallback(()=>{g?$():window.clearTimeout(h.current)},[$,g]),onOpen:T,onClose:$,disableHoverableContent:g},r))},K0="TooltipTrigger",e7=f.forwardRef((e,t)=>{const{__scopeTooltip:r,...n}=e,o=po(K0,r),a=Ml(K0,r),s=rs(r),i=f.useRef(null),l=Je(t,i,o.onTriggerChange),c=f.useRef(!1),u=f.useRef(!1),d=f.useCallback(()=>c.current=!1,[]);return f.useEffect(()=>()=>document.removeEventListener("pointerup",d),[d]),f.createElement(W0,fe({asChild:!0},s),f.createElement(Ne.button,fe({"aria-describedby":o.open?o.contentId:void 0,"data-state":o.stateAttribute},n,{ref:l,onPointerMove:De(e.onPointerMove,p=>{p.pointerType!=="touch"&&!u.current&&!a.isPointerInTransitRef.current&&(o.onTriggerEnter(),u.current=!0)}),onPointerLeave:De(e.onPointerLeave,()=>{o.onTriggerLeave(),u.current=!1}),onPointerDown:De(e.onPointerDown,()=>{c.current=!0,document.addEventListener("pointerup",d,{once:!0})}),onFocus:De(e.onFocus,()=>{c.current||o.onOpen()}),onBlur:De(e.onBlur,o.onClose),onClick:De(e.onClick,o.onClose)})))}),R0="TooltipPortal",[t7,r7]=ts(R0,{forceMount:void 0}),n7=e=>{const{__scopeTooltip:t,forceMount:r,children:n,container:o}=e,a=po(R0,t);return f.createElement(t7,{scope:t,forceMount:r},f.createElement(Ht,{present:r||a.open},f.createElement(Cl,{asChild:!0,container:o},n)))},ho="TooltipContent",o7=f.forwardRef((e,t)=>{const r=r7(ho,e.__scopeTooltip),{forceMount:n=r.forceMount,side:o="top",...a}=e,s=po(ho,e.__scopeTooltip);return f.createElement(Ht,{present:n||s.open},s.disableHoverableContent?f.createElement(U0,fe({side:o},a,{ref:t})):f.createElement(a7,fe({side:o},a,{ref:t})))}),a7=f.forwardRef((e,t)=>{const r=po(ho,e.__scopeTooltip),n=Ml(ho,e.__scopeTooltip),o=f.useRef(null),a=Je(t,o),[s,i]=f.useState(null),{trigger:l,onClose:c}=r,u=o.current,{onPointerInTransitChange:d}=n,p=f.useCallback(()=>{i(null),d(!1)},[d]),h=f.useCallback((g,v)=>{const b=g.currentTarget,P={x:g.clientX,y:g.clientY},x=u7(P,b.getBoundingClientRect()),w=d7(P,x),T=f7(v.getBoundingClientRect()),$=h7([...w,...T]);i($),d(!0)},[d]);return f.useEffect(()=>()=>p(),[p]),f.useEffect(()=>{if(l&&u){const g=b=>h(b,u),v=b=>h(b,l);return l.addEventListener("pointerleave",g),u.addEventListener("pointerleave",v),()=>{l.removeEventListener("pointerleave",g),u.removeEventListener("pointerleave",v)}}},[l,u,h,p]),f.useEffect(()=>{if(s){const g=v=>{const b=v.target,P={x:v.clientX,y:v.clientY},x=(l==null?void 0:l.contains(b))||(u==null?void 0:u.contains(b)),w=!p7(P,s);x?p():w&&(p(),c())};return document.addEventListener("pointermove",g),()=>document.removeEventListener("pointermove",g)}},[l,u,s,c,p]),f.createElement(U0,fe({},e,{ref:a}))}),[s7,i7]=ts(Sl,{isInside:!1}),U0=f.forwardRef((e,t)=>{const{__scopeTooltip:r,children:n,"aria-label":o,onEscapeKeyDown:a,onPointerDownOutside:s,...i}=e,l=po(ho,r),c=rs(r),{onClose:u}=l;return f.useEffect(()=>(document.addEventListener(Pl,u),()=>document.removeEventListener(Pl,u)),[u]),f.useEffect(()=>{if(l.trigger){const d=p=>{const h=p.target;h!=null&&h.contains(l.trigger)&&u()};return window.addEventListener("scroll",d,{capture:!0}),()=>window.removeEventListener("scroll",d,{capture:!0})}},[l.trigger,u]),f.createElement(pl,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:a,onPointerDownOutside:s,onFocusOutside:d=>d.preventDefault(),onDismiss:u},f.createElement(B0,fe({"data-state":l.stateAttribute},c,i,{ref:t,style:{...i.style,"--radix-tooltip-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-tooltip-content-available-width":"var(--radix-popper-available-width)","--radix-tooltip-content-available-height":"var(--radix-popper-available-height)","--radix-tooltip-trigger-width":"var(--radix-popper-anchor-width)","--radix-tooltip-trigger-height":"var(--radix-popper-anchor-height)"}}),f.createElement(p0,null,n),f.createElement(s7,{scope:r,isInside:!0},f.createElement(H6,{id:l.contentId,role:"tooltip"},o||n))))}),l7="TooltipArrow",c7=f.forwardRef((e,t)=>{const{__scopeTooltip:r,...n}=e,o=rs(r);return i7(l7,r).isInside?null:f.createElement(K6,fe({},o,n,{ref:t}))});function u7(e,t){const r=Math.abs(t.top-e.y),n=Math.abs(t.bottom-e.y),o=Math.abs(t.right-e.x),a=Math.abs(t.left-e.x);switch(Math.min(r,n,o,a)){case a:return"left";case o:return"right";case r:return"top";case n:return"bottom";default:throw new Error("unreachable")}}function d7(e,t,r=5){const n=[];switch(t){case"top":n.push({x:e.x-r,y:e.y+r},{x:e.x+r,y:e.y+r});break;case"bottom":n.push({x:e.x-r,y:e.y-r},{x:e.x+r,y:e.y-r});break;case"left":n.push({x:e.x+r,y:e.y-r},{x:e.x+r,y:e.y+r});break;case"right":n.push({x:e.x-r,y:e.y-r},{x:e.x-r,y:e.y+r});break}return n}function f7(e){const{top:t,right:r,bottom:n,left:o}=e;return[{x:o,y:t},{x:r,y:t},{x:r,y:n},{x:o,y:n}]}function p7(e,t){const{x:r,y:n}=e;let o=!1;for(let a=0,s=t.length-1;a<t.length;s=a++){const i=t[a].x,l=t[a].y,c=t[s].x,u=t[s].y;l>n!=u>n&&r<(c-i)*(n-l)/(u-l)+i&&(o=!o)}return o}function h7(e){const t=e.slice();return t.sort((r,n)=>r.x<n.x?-1:r.x>n.x?1:r.y<n.y?-1:r.y>n.y?1:0),m7(t)}function m7(e){if(e.length<=1)return e.slice();const t=[];for(let n=0;n<e.length;n++){const o=e[n];for(;t.length>=2;){const a=t[t.length-1],s=t[t.length-2];if((a.x-s.x)*(o.y-s.y)>=(a.y-s.y)*(o.x-s.x))t.pop();else break}t.push(o)}t.pop();const r=[];for(let n=e.length-1;n>=0;n--){const o=e[n];for(;r.length>=2;){const a=r[r.length-1],s=r[r.length-2];if((a.x-s.x)*(o.y-s.y)>=(a.y-s.y)*(o.x-s.x))r.pop();else break}r.push(o)}return r.pop(),t.length===1&&r.length===1&&t[0].x===r[0].x&&t[0].y===r[0].y?t:t.concat(r)}const g7=X6,v7=J6,b7=e7,y7=n7,x7=o7,w7=c7,C7=({children:e,showArrow:t=!1,startOpen:r=!1,content:n,hasCloseButton:o=!1,action:a,size:s="sm"})=>{const[i,l]=f.useState(r),c=ye({base:"rounded-lg bg-primary-black-400 px-4 pb-[13px] pt-[12px] font-satoshi text-sm font-medium text-white",variants:{size:{sm:"max-w-[215px]",lg:"max-w-[342px]"}}}),u=()=>{l(!1)},d=()=>{a&&a.onClick(),u()};return L.jsx(g7,{children:L.jsxs(v7,{delayDuration:0,defaultOpen:i,open:i,onOpenChange:p=>l(p),children:[L.jsx(b7,{asChild:!0,children:e}),L.jsx(y7,{children:L.jsxs(x7,{className:c({size:s}),sideOffset:5,children:[L.jsxs("div",{children:[L.jsxs("div",{className:"flex gap-4",children:[n,o&&L.jsx(Ge,{onClick:u,name:"close",className:"mt-1 cursor-pointer text-xs text-white"})]}),a&&L.jsx(il,{className:"-mb-1 mt-1 !h-6 !px-0",variant:"tertiaryDark",onClick:d,children:a.label})]}),t&&L.jsx(w7,{className:"TooltipArrow"})]})})]})})};function P7(e){const t=e+"CollectionProvider",[r,n]=Ir(t),[o,a]=r(t,{collectionRef:{current:null},itemMap:new Map}),s=h=>{const{scope:g,children:v}=h,b=f.useRef(null),P=f.useRef(new Map).current;return f.createElement(o,{scope:g,itemMap:P,collectionRef:b},v)},i=e+"CollectionSlot",l=f.forwardRef((h,g)=>{const{scope:v,children:b}=h,P=a(i,v),x=Je(g,P.collectionRef);return f.createElement(fn,{ref:x},b)}),c=e+"CollectionItemSlot",u="data-radix-collection-item",d=f.forwardRef((h,g)=>{const{scope:v,children:b,...P}=h,x=f.useRef(null),w=Je(g,x),T=a(c,v);return f.useEffect(()=>(T.itemMap.set(x,{ref:x,...P}),()=>void T.itemMap.delete(x))),f.createElement(fn,{[u]:"",ref:w},b)});function p(h){const g=a(e+"CollectionConsumer",h);return f.useCallback(()=>{const b=g.collectionRef.current;if(!b)return[];const P=Array.from(b.querySelectorAll(`[${u}]`));return Array.from(g.itemMap.values()).sort((T,$)=>P.indexOf(T.ref.current)-P.indexOf($.ref.current))},[g.collectionRef,g.itemMap])}return[{Provider:s,Slot:l,ItemSlot:d},p,n]}const M7=f.createContext(void 0);function G0(e){const t=f.useContext(M7);return e||t||"ltr"}const Tl="rovingFocusGroup.onEntryFocus",S7={bubbles:!1,cancelable:!0},El="RovingFocusGroup",[$l,H0,T7]=P7(El),[E7,Y0]=Ir(El,[T7]),[$7,D7]=E7(El),k7=f.forwardRef((e,t)=>f.createElement($l.Provider,{scope:e.__scopeRovingFocusGroup},f.createElement($l.Slot,{scope:e.__scopeRovingFocusGroup},f.createElement(I7,fe({},e,{ref:t}))))),I7=f.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:r,orientation:n,loop:o=!1,dir:a,currentTabStopId:s,defaultCurrentTabStopId:i,onCurrentTabStopIdChange:l,onEntryFocus:c,...u}=e,d=f.useRef(null),p=Je(t,d),h=G0(a),[g=null,v]=fo({prop:s,defaultProp:i,onChange:l}),[b,P]=f.useState(!1),x=Bt(c),w=H0(r),T=f.useRef(!1),[$,E]=f.useState(0);return f.useEffect(()=>{const A=d.current;if(A)return A.addEventListener(Tl,x),()=>A.removeEventListener(Tl,x)},[x]),f.createElement($7,{scope:r,orientation:n,dir:h,loop:o,currentTabStopId:g,onItemFocus:f.useCallback(A=>v(A),[v]),onItemShiftTab:f.useCallback(()=>P(!0),[]),onFocusableItemAdd:f.useCallback(()=>E(A=>A+1),[]),onFocusableItemRemove:f.useCallback(()=>E(A=>A-1),[])},f.createElement(Ne.div,fe({tabIndex:b||$===0?-1:0,"data-orientation":n},u,{ref:p,style:{outline:"none",...e.style},onMouseDown:De(e.onMouseDown,()=>{T.current=!0}),onFocus:De(e.onFocus,A=>{const m=!T.current;if(A.target===A.currentTarget&&m&&!b){const k=new CustomEvent(Tl,S7);if(A.currentTarget.dispatchEvent(k),!k.defaultPrevented){const I=w().filter(O=>O.focusable),S=I.find(O=>O.active),N=I.find(O=>O.id===g),M=[S,N,...I].filter(Boolean).map(O=>O.ref.current);q0(M)}}T.current=!1}),onBlur:De(e.onBlur,()=>P(!1))})))}),A7="RovingFocusGroupItem",N7=f.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:r,focusable:n=!0,active:o=!1,tabStopId:a,...s}=e,i=Ar(),l=a||i,c=D7(A7,r),u=c.currentTabStopId===l,d=H0(r),{onFocusableItemAdd:p,onFocusableItemRemove:h}=c;return f.useEffect(()=>{if(n)return p(),()=>h()},[n,p,h]),f.createElement($l.ItemSlot,{scope:r,id:l,focusable:n,active:o},f.createElement(Ne.span,fe({tabIndex:u?0:-1,"data-orientation":c.orientation},s,{ref:t,onMouseDown:De(e.onMouseDown,g=>{n?c.onItemFocus(l):g.preventDefault()}),onFocus:De(e.onFocus,()=>c.onItemFocus(l)),onKeyDown:De(e.onKeyDown,g=>{if(g.key==="Tab"&&g.shiftKey){c.onItemShiftTab();return}if(g.target!==g.currentTarget)return;const v=L7(g,c.orientation,c.dir);if(v!==void 0){g.preventDefault();let P=d().filter(x=>x.focusable).map(x=>x.ref.current);if(v==="last")P.reverse();else if(v==="prev"||v==="next"){v==="prev"&&P.reverse();const x=P.indexOf(g.currentTarget);P=c.loop?_7(P,x+1):P.slice(x+1)}setTimeout(()=>q0(P))}})})))}),O7={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function j7(e,t){return t!=="rtl"?e:e==="ArrowLeft"?"ArrowRight":e==="ArrowRight"?"ArrowLeft":e}function L7(e,t,r){const n=j7(e.key,r);if(!(t==="vertical"&&["ArrowLeft","ArrowRight"].includes(n))&&!(t==="horizontal"&&["ArrowUp","ArrowDown"].includes(n)))return O7[n]}function q0(e){const t=document.activeElement;for(const r of e)if(r===t||(r.focus(),document.activeElement!==t))return}function _7(e,t){return e.map((r,n)=>e[(t+n)%e.length])}const F7=k7,V7=N7,Q0="Tabs",[z7,lP]=Ir(Q0,[Y0]),X0=Y0(),[W7,Dl]=z7(Q0),B7=f.forwardRef((e,t)=>{const{__scopeTabs:r,value:n,onValueChange:o,defaultValue:a,orientation:s="horizontal",dir:i,activationMode:l="automatic",...c}=e,u=G0(i),[d,p]=fo({prop:n,onChange:o,defaultProp:a});return f.createElement(W7,{scope:r,baseId:Ar(),value:d,onValueChange:p,orientation:s,dir:u,activationMode:l},f.createElement(Ne.div,fe({dir:u,"data-orientation":s},c,{ref:t})))}),K7="TabsList",R7=f.forwardRef((e,t)=>{const{__scopeTabs:r,loop:n=!0,...o}=e,a=Dl(K7,r),s=X0(r);return f.createElement(F7,fe({asChild:!0},s,{orientation:a.orientation,dir:a.dir,loop:n}),f.createElement(Ne.div,fe({role:"tablist","aria-orientation":a.orientation},o,{ref:t})))}),U7="TabsTrigger",G7=f.forwardRef((e,t)=>{const{__scopeTabs:r,value:n,disabled:o=!1,...a}=e,s=Dl(U7,r),i=X0(r),l=Z0(s.baseId,n),c=J0(s.baseId,n),u=n===s.value;return f.createElement(V7,fe({asChild:!0},i,{focusable:!o,active:u}),f.createElement(Ne.button,fe({type:"button",role:"tab","aria-selected":u,"aria-controls":c,"data-state":u?"active":"inactive","data-disabled":o?"":void 0,disabled:o,id:l},a,{ref:t,onMouseDown:De(e.onMouseDown,d=>{!o&&d.button===0&&d.ctrlKey===!1?s.onValueChange(n):d.preventDefault()}),onKeyDown:De(e.onKeyDown,d=>{[" ","Enter"].includes(d.key)&&s.onValueChange(n)}),onFocus:De(e.onFocus,()=>{const d=s.activationMode!=="manual";!u&&!o&&d&&s.onValueChange(n)})})))}),H7="TabsContent",Y7=f.forwardRef((e,t)=>{const{__scopeTabs:r,value:n,forceMount:o,children:a,...s}=e,i=Dl(H7,r),l=Z0(i.baseId,n),c=J0(i.baseId,n),u=n===i.value,d=f.useRef(u);return f.useEffect(()=>{const p=requestAnimationFrame(()=>d.current=!1);return()=>cancelAnimationFrame(p)},[]),f.createElement(Ht,{present:o||u},({present:p})=>f.createElement(Ne.div,fe({"data-state":u?"active":"inactive","data-orientation":i.orientation,role:"tabpanel","aria-labelledby":l,hidden:!p,id:c,tabIndex:0},s,{ref:t,style:{...e.style,animationDuration:d.current?"0s":void 0}}),p&&a))});function Z0(e,t){return`${e}-trigger-${t}`}function J0(e,t){return`${e}-content-${t}`}const q7=B7,Q7=R7,X7=G7,Z7=Y7,J7=({tabs:e,defaultValue:t,variant:r="button",className:n,...o})=>{const a=ye({base:"",variants:{variant:{underline:"",button:""}}}),s=ye({base:"flex flex-row",variants:{variant:{underline:"",button:""}}}),i=ye({base:"flex h-[82px] w-[197px] items-center justify-center gap-2 text-lg font-medium text-primary-grey-700 hover:text-primary-grey-800 data-[state=active]:font-bold data-[state=active]:text-secondary-green-500",variants:{variant:{underline:"border-b border-primary-grey-600 border-t-transparent hover:border-b-4 hover:border-t-3 hover:border-b-primary-grey-700 hover:font-bold data-[state=active]:border-b-4 data-[state=active]:border-t-3 data-[state=active]:border-b-secondary-green-500 data-[state=active]:text-secondary-green-500",button:"relative z-0 -mr-[1px] rounded-none border border-primary-grey-600 first:rounded-l-xl last:rounded-r-xl hover:z-10 hover:border-2 hover:border-primary-grey-800 data-[state=active]:z-20 data-[state=active]:border-2 data-[state=active]:border-secondary-green-500"}}});return L.jsxs(q7,{defaultValue:t??e[0].key,className:a({variant:r,className:n}),...o,children:[L.jsx(Q7,{className:s({variant:r}),children:e.map(({icon:l,key:c,title:u})=>L.jsxs(X7,{value:c,className:i({variant:r}),children:[l&&(typeof l=="string"?L.jsx(Ge,{className:"-mt-[1px]",name:l}):l),u]},c))}),e.map(({content:l,key:c})=>L.jsx(Z7,{value:c,className:"w-full",children:l},c))]})},kl=f.forwardRef(({disabled:e,isDatePicker:t,isInvalid:r,isValid:n,className:o,icon:a,message:s,iconAction:i,...l},c)=>{const u=ye({base:"[&_input]:data-[filled-within=true]:!bg-transparent [&_label]:data-[filled-within=true]:!left-[15px] [&_label]:data-[filled-within=true]:!top-[20px] [&_label]:data-[filled-within=true]:!ml-[1px] [&_label]:data-[filled-within=true]:!text-xs [&_label]:data-[filled-within=true]:!text-primary-grey-800",variants:{isInvalid:{true:"[&_label]:data-[filled-within=true]:!text-complementary-red-500"},isValid:{true:"[&_label]:data-[filled-within=true]:!text-secondary-green-500"},disabled:{true:"[&_label]:data-[filled-within=true]:!text-primary-grey-700"}}}),d=ye({base:"left-[16px] top-6 font-satoshi text-xs text-primary-grey-800",variants:{isInvalid:{true:"text-complementary-red-500"},isValid:{true:"text-secondary-green-500"},disabled:{true:"text-primary-grey-700"}}}),p=ye({base:"text-left font-satoshi text-base",variants:{disabled:{true:"!text-primary-grey-700"},isDatePicker:{true:"!cursor-pointer"}}}),h=ye({base:"h-12 rounded-lg border border-primary-grey-700 !bg-white px-[15px] text-black !ring-0 !ring-offset-0",variants:{isInvalid:{true:"border-complementary-red-500"},isValid:{true:"border-secondary-green-500"},disabled:{true:"!border-primary-grey-500 !bg-primary-grey-500"},isDatePicker:{true:"!cursor-pointer"}}}),g=ye({base:"mt-[5px] pl-3 font-satoshi",variants:{isInvalid:{true:"text-complementary-red-500"},isValid:{true:"text-secondary-green-500"}}}),v=ye({base:"text-primary-grey-800",variants:{iconAction:{true:"cursor-pointer"}}}),{Component:b,label:P,domRef:x,startContent:w,shouldLabelBeOutside:T,shouldLabelBeInside:$,getBaseProps:E,getLabelProps:A,getInputProps:m,getInnerWrapperProps:k,getInputWrapperProps:I,getDescriptionProps:S}=O4({...l,disabled:e,labelPlacement:"outside",ref:c,classNames:{input:p({disabled:e,isDatePicker:t}),inputWrapper:h({isInvalid:r,isValid:n,disabled:e,isDatePicker:t}),base:u({isInvalid:r,isValid:n,disabled:e,className:o}),label:d({isInvalid:r,isValid:n,disabled:e}),description:g({isInvalid:r,isValid:n})}}),N=L.jsx("label",{...A(),children:P}),C=f.useMemo(()=>w||a?L.jsxs("div",{...k(),children:[w,L.jsx("input",{...m()}),a&&(typeof a=="string"?L.jsx(Ge,{onClick:i,name:a,className:v({iconAction:!!i})}):a)]}):L.jsx("input",{...m()}),[w,i,v,a,m,k]);return L.jsxs(b,{...E(),children:[T?N:null,L.jsxs("div",{...I(),role:"button",onClick:()=>{var M;(M=x.current)==null||M.focus()},children:[$?N:null,C]}),s&&L.jsx("div",{...S(),children:s})]})}),e8=f.forwardRef((e,t)=>{const[r,n]=f.useState(!1),o=()=>{n(a=>!a)};return L.jsx(kl,{ref:t,icon:r?"eye":"eye-off",type:r?"text":"password",iconAction:o,...e})});let Il=0;function e1(){f.useEffect(()=>{var e,t;const r=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",(e=r[0])!==null&&e!==void 0?e:t1()),document.body.insertAdjacentElement("beforeend",(t=r[1])!==null&&t!==void 0?t:t1()),Il++,()=>{Il===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(n=>n.remove()),Il--}},[])}function t1(){const e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.cssText="outline: none; opacity: 0; position: fixed; pointer-events: none",e}const Al="focusScope.autoFocusOnMount",Nl="focusScope.autoFocusOnUnmount",r1={bubbles:!1,cancelable:!0},n1=f.forwardRef((e,t)=>{const{loop:r=!1,trapped:n=!1,onMountAutoFocus:o,onUnmountAutoFocus:a,...s}=e,[i,l]=f.useState(null),c=Bt(o),u=Bt(a),d=f.useRef(null),p=Je(t,v=>l(v)),h=f.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;f.useEffect(()=>{if(n){let v=function(w){if(h.paused||!i)return;const T=w.target;i.contains(T)?d.current=T:dr(d.current,{select:!0})},b=function(w){if(h.paused||!i)return;const T=w.relatedTarget;T!==null&&(i.contains(T)||dr(d.current,{select:!0}))},P=function(w){if(document.activeElement===document.body)for(const $ of w)$.removedNodes.length>0&&dr(i)};document.addEventListener("focusin",v),document.addEventListener("focusout",b);const x=new MutationObserver(P);return i&&x.observe(i,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",v),document.removeEventListener("focusout",b),x.disconnect()}}},[n,i,h.paused]),f.useEffect(()=>{if(i){s1.add(h);const v=document.activeElement;if(!i.contains(v)){const P=new CustomEvent(Al,r1);i.addEventListener(Al,c),i.dispatchEvent(P),P.defaultPrevented||(t8(s8(o1(i)),{select:!0}),document.activeElement===v&&dr(i))}return()=>{i.removeEventListener(Al,c),setTimeout(()=>{const P=new CustomEvent(Nl,r1);i.addEventListener(Nl,u),i.dispatchEvent(P),P.defaultPrevented||dr(v??document.body,{select:!0}),i.removeEventListener(Nl,u),s1.remove(h)},0)}}},[i,c,u,h]);const g=f.useCallback(v=>{if(!r&&!n||h.paused)return;const b=v.key==="Tab"&&!v.altKey&&!v.ctrlKey&&!v.metaKey,P=document.activeElement;if(b&&P){const x=v.currentTarget,[w,T]=r8(x);w&&T?!v.shiftKey&&P===T?(v.preventDefault(),r&&dr(w,{select:!0})):v.shiftKey&&P===w&&(v.preventDefault(),r&&dr(T,{select:!0})):P===x&&v.preventDefault()}},[r,n,h.paused]);return f.createElement(Ne.div,fe({tabIndex:-1},s,{ref:p,onKeyDown:g}))});function t8(e,{select:t=!1}={}){const r=document.activeElement;for(const n of e)if(dr(n,{select:t}),document.activeElement!==r)return}function r8(e){const t=o1(e),r=a1(t,e),n=a1(t.reverse(),e);return[r,n]}function o1(e){const t=[],r=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:n=>{const o=n.tagName==="INPUT"&&n.type==="hidden";return n.disabled||n.hidden||o?NodeFilter.FILTER_SKIP:n.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;r.nextNode();)t.push(r.currentNode);return t}function a1(e,t){for(const r of e)if(!n8(r,{upTo:t}))return r}function n8(e,{upTo:t}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(t!==void 0&&e===t)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}function o8(e){return e instanceof HTMLInputElement&&"select"in e}function dr(e,{select:t=!1}={}){if(e&&e.focus){const r=document.activeElement;e.focus({preventScroll:!0}),e!==r&&o8(e)&&t&&e.select()}}const s1=a8();function a8(){let e=[];return{add(t){const r=e[0];t!==r&&(r==null||r.pause()),e=i1(e,t),e.unshift(t)},remove(t){var r;e=i1(e,t),(r=e[0])===null||r===void 0||r.resume()}}}function i1(e,t){const r=[...e],n=r.indexOf(t);return n!==-1&&r.splice(n,1),r}function s8(e){return e.filter(t=>t.tagName!=="A")}var i8=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},bn=new WeakMap,ns=new WeakMap,os={},Ol=0,l1=function(e){return e&&(e.host||l1(e.parentNode))},l8=function(e,t){return t.map(function(r){if(e.contains(r))return r;var n=l1(r);return n&&e.contains(n)?n:(console.error("aria-hidden",r,"in not contained inside",e,". Doing nothing"),null)}).filter(function(r){return!!r})},c8=function(e,t,r,n){var o=l8(t,Array.isArray(e)?e:[e]);os[r]||(os[r]=new WeakMap);var a=os[r],s=[],i=new Set,l=new Set(o),c=function(d){!d||i.has(d)||(i.add(d),c(d.parentNode))};o.forEach(c);var u=function(d){!d||l.has(d)||Array.prototype.forEach.call(d.children,function(p){if(i.has(p))u(p);else{var h=p.getAttribute(n),g=h!==null&&h!=="false",v=(bn.get(p)||0)+1,b=(a.get(p)||0)+1;bn.set(p,v),a.set(p,b),s.push(p),v===1&&g&&ns.set(p,!0),b===1&&p.setAttribute(r,"true"),g||p.setAttribute(n,"true")}})};return u(t),i.clear(),Ol++,function(){s.forEach(function(d){var p=bn.get(d)-1,h=a.get(d)-1;bn.set(d,p),a.set(d,h),p||(ns.has(d)||d.removeAttribute(n),ns.delete(d)),h||d.removeAttribute(r)}),Ol--,Ol||(bn=new WeakMap,bn=new WeakMap,ns=new WeakMap,os={})}},c1=function(e,t,r){r===void 0&&(r="data-aria-hidden");var n=Array.from(Array.isArray(e)?e:[e]),o=t||i8(e);return o?(n.push.apply(n,Array.from(o.querySelectorAll("[aria-live]"))),c8(n,o,r,"aria-hidden")):function(){return null}},u1=B4(),jl=function(){},as=W.forwardRef(function(e,t){var r=W.useRef(null),n=W.useState({onScrollCapture:jl,onWheelCapture:jl,onTouchMoveCapture:jl}),o=n[0],a=n[1],s=e.forwardProps,i=e.children,l=e.className,c=e.removeScrollBar,u=e.enabled,d=e.shards,p=e.sideCar,h=e.noIsolation,g=e.inert,v=e.allowPinchZoom,b=e.as,P=b===void 0?"div":b,x=lu(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as"]),w=p,T=V4([r,t]),$=Tt(Tt({},x),o);return W.createElement(W.Fragment,null,u&&W.createElement(w,{sideCar:u1,removeScrollBar:c,shards:d,noIsolation:h,inert:g,setCallbacks:a,allowPinchZoom:!!v,lockRef:r}),s?W.cloneElement(W.Children.only(i),Tt(Tt({},$),{ref:T})):W.createElement(P,Tt({},$,{className:l,ref:T}),i))});as.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},as.classNames={fullWidth:Fa,zeroRight:_a};var Ll=!1;if(typeof window<"u")try{var ss=Object.defineProperty({},"passive",{get:function(){return Ll=!0,!0}});window.addEventListener("test",ss,ss),window.removeEventListener("test",ss,ss)}catch{Ll=!1}var yn=Ll?{passive:!1}:!1,u8=function(e){return e.tagName==="TEXTAREA"},d1=function(e,t){var r=window.getComputedStyle(e);return r[t]!=="hidden"&&!(r.overflowY===r.overflowX&&!u8(e)&&r[t]==="visible")},d8=function(e){return d1(e,"overflowY")},f8=function(e){return d1(e,"overflowX")},f1=function(e,t){var r=t;do{typeof ShadowRoot<"u"&&r instanceof ShadowRoot&&(r=r.host);var n=p1(e,r);if(n){var o=h1(e,r),a=o[1],s=o[2];if(a>s)return!0}r=r.parentNode}while(r&&r!==document.body);return!1},p8=function(e){var t=e.scrollTop,r=e.scrollHeight,n=e.clientHeight;return[t,r,n]},h8=function(e){var t=e.scrollLeft,r=e.scrollWidth,n=e.clientWidth;return[t,r,n]},p1=function(e,t){return e==="v"?d8(t):f8(t)},h1=function(e,t){return e==="v"?p8(t):h8(t)},m8=function(e,t){return e==="h"&&t==="rtl"?-1:1},g8=function(e,t,r,n,o){var a=m8(e,window.getComputedStyle(t).direction),s=a*n,i=r.target,l=t.contains(i),c=!1,u=s>0,d=0,p=0;do{var h=h1(e,i),g=h[0],v=h[1],b=h[2],P=v-b-a*g;(g||P)&&p1(e,i)&&(d+=P,p+=g),i=i.parentNode}while(!l&&i!==document.body||l&&(t.contains(i)||t===i));return(u&&(o&&d===0||!o&&s>d)||!u&&(o&&p===0||!o&&-s>p))&&(c=!0),c},is=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},m1=function(e){return[e.deltaX,e.deltaY]},g1=function(e){return e&&"current"in e?e.current:e},v8=function(e,t){return e[0]===t[0]&&e[1]===t[1]},b8=function(e){return`
72
+ `)},b7=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,o=r===void 0?"margin":r,a=V.useMemo(function(){return m7(o)},[o]);return V.createElement(h7,{styles:g7(a,!t,o,n?"":"!important")})};const L1=new WeakMap;function yi(e,t,n){return typeof t=="string"&&(t=t.replace(/\s+/g,"")),`${L1.get(e)}-${n}-${t}`}function v7(e,t,n){var r;let{key:o,isDisabled:a,shouldSelectOnPressUp:i}=e,{selectionManager:s,selectedKey:l}=t,u=o===l,c=a||t.isDisabled||t.disabledKeys.has(o),{itemProps:d,isPressed:p}=by({selectionManager:s,key:o,ref:n,isDisabled:c,shouldSelectOnPressUp:i,linkBehavior:"selection"}),m=yi(t,o,"tab"),h=yi(t,o,"tabpanel"),{tabIndex:g}=d,b=t.collection.getItem(o),x=br(b==null?void 0:b.props,{isLink:!!(!(b==null||(r=b.props)===null||r===void 0)&&r.href),labelable:!0});return delete x.id,{tabProps:he(x,d,{id:m,"aria-selected":u,"aria-disabled":c||void 0,"aria-controls":u?h:void 0,tabIndex:c?void 0:g,role:"tab"}),isSelected:u,isDisabled:c,isPressed:p}}function y7(e,t,n){let r=R2(n)?void 0:0;var o;const a=yi(t,(o=e.id)!==null&&o!==void 0?o:t==null?void 0:t.selectedKey,"tabpanel"),i=$s({...e,id:a,"aria-labelledby":yi(t,t==null?void 0:t.selectedKey,"tab")});return{tabPanelProps:he(i,{tabIndex:r,role:"tabpanel","aria-describedby":e["aria-describedby"],"aria-details":e["aria-details"]})}}class x7{getKeyLeftOf(t){return this.flipDirection?this.getNextKey(t):this.getPreviousKey(t)}getKeyRightOf(t){return this.flipDirection?this.getPreviousKey(t):this.getNextKey(t)}getKeyAbove(t){return this.getPreviousKey(t)}getKeyBelow(t){return this.getNextKey(t)}getFirstKey(){let t=this.collection.getFirstKey();return t!=null&&this.disabledKeys.has(t)&&(t=this.getNextKey(t)),t}getLastKey(){let t=this.collection.getLastKey();return t!=null&&this.disabledKeys.has(t)&&(t=this.getPreviousKey(t)),t}getNextKey(t){do t=this.collection.getKeyAfter(t),t==null&&(t=this.collection.getFirstKey());while(this.disabledKeys.has(t));return t}getPreviousKey(t){do t=this.collection.getKeyBefore(t),t==null&&(t=this.collection.getLastKey());while(this.disabledKeys.has(t));return t}constructor(t,n,r,o=new Set){this.collection=t,this.flipDirection=n==="rtl"&&r==="horizontal",this.disabledKeys=o}}function C7(e,t,n){let{orientation:r="horizontal",keyboardActivation:o="automatic"}=e,{collection:a,selectionManager:i,disabledKeys:s}=t,{direction:l}=Vs(),u=f.useMemo(()=>new x7(a,l,r,s),[a,s,r,l]),{collectionProps:c}=gy({ref:n,selectionManager:i,keyboardDelegate:u,selectOnFocus:o==="automatic",disallowEmptySelection:!0,scrollRef:n,linkBehavior:"selection"}),d=gr();L1.set(t,d);let p=$s({...e,id:d});return{tabListProps:{...he(c,p),role:"tablist","aria-orientation":r,tabIndex:void 0}}}var V1=$t((e,t)=>{var n,r,o;const{as:a,state:i,className:s,slots:l,classNames:u,...c}=e,d=a||"div",p=bt(t),{tabPanelProps:m}=y7(e,i,p),{focusProps:h,isFocused:g,isFocusVisible:b}=Gt(),x=i.selectedItem,y=(n=x==null?void 0:x.props)==null?void 0:n.children,w=we(u==null?void 0:u.panel,s,(r=x==null?void 0:x.props)==null?void 0:r.className);return y?F.jsx(d,{ref:p,"data-focus":g,"data-focus-visible":b,...he(m,h,c),className:(o=l.panel)==null?void 0:o.call(l,{class:w}),"data-slot":"panel",children:y}):null});V1.displayName="NextUI.TabPanel";var w7=V1,j1=$t((e,t)=>{var n;const{className:r,as:o,item:a,state:i,classNames:s,isDisabled:l,listRef:u,slots:c,motionProps:d,disableAnimation:p,disableCursorAnimation:m,shouldSelectOnPressUp:h,onClick:g,...b}=e,{key:x}=a,y=bt(t),w=o||(e.href?"a":"button"),S=typeof w=="string",{tabProps:P,isSelected:A,isDisabled:T,isPressed:v}=v7({key:x,isDisabled:l,shouldSelectOnPressUp:h},i,y),D=l||T,{focusProps:$,isFocused:M,isFocusVisible:k}=Gt(),{hoverProps:I,isHovered:E}=Wn({isDisabled:D}),O=we(s==null?void 0:s.tab,r),[,j]=Y9({rerender:!0}),N=()=>{Ln(g,P.onClick),!(!(y!=null&&y.current)||!(u!=null&&u.current))&&k9(y.current,{scrollMode:"if-needed",behavior:"smooth",block:"end",inline:"end",boundary:u==null?void 0:u.current})};return F.jsxs(w,{ref:y,"data-disabled":re(T),"data-focus":re(M),"data-focus-visible":re(k),"data-hover":re(E),"data-hover-unselected":re((E||v)&&!A),"data-pressed":re(v),"data-selected":re(A),"data-slot":"tab",...he(P,D?{}:{...$,...I},fo(b,{enabled:S,omitPropNames:new Set(["title"])})),className:(n=c.tab)==null?void 0:n.call(c,{class:O}),title:b==null?void 0:b.titleValue,type:w==="button"?"button":void 0,onClick:N,children:[A&&!p&&!m&&j?F.jsx(o1.span,{className:c.cursor({class:s==null?void 0:s.cursor}),"data-slot":"cursor",layoutDependency:!1,layoutId:"cursor",transition:{type:"spring",bounce:.15,duration:.5},...d}):null,F.jsx("div",{className:c.tabContent({class:s==null?void 0:s.tabContent}),"data-slot":"tabContent",children:a.rendered})]})});j1.displayName="NextUI.Tab";var I7=j1;class B1{*[Symbol.iterator](){yield*this.iterable}get size(){return this.keyMap.size}getKeys(){return this.keyMap.keys()}getKeyBefore(t){let n=this.keyMap.get(t);return n?n.prevKey:null}getKeyAfter(t){let n=this.keyMap.get(t);return n?n.nextKey:null}getFirstKey(){return this.firstKey}getLastKey(){return this.lastKey}getItem(t){return this.keyMap.get(t)}at(t){const n=[...this.getKeys()];return this.getItem(n[t])}getChildren(t){let n=this.keyMap.get(t);return(n==null?void 0:n.childNodes)||[]}constructor(t){this.keyMap=new Map,this.iterable=t;let n=a=>{if(this.keyMap.set(a.key,a),a.childNodes&&a.type==="section")for(let i of a.childNodes)n(i)};for(let a of t)n(a);let r,o=0;for(let[a,i]of this.keyMap)r?(r.nextKey=a,i.prevKey=r.key):(this.firstKey=a,i.prevKey=void 0),i.type==="item"&&(i.index=o++),r=i,r.nextKey=void 0;this.lastKey=r==null?void 0:r.key}}function E7(e){let{filter:t}=e,n=Q6(e),r=f.useMemo(()=>e.disabledKeys?new Set(e.disabledKeys):new Set,[e.disabledKeys]),o=f.useCallback(u=>t?new B1(t(u)):new B1(u),[t]),a=f.useMemo(()=>({suppressTextValueWarning:e.suppressTextValueWarning}),[e.suppressTextValueWarning]),i=Z6(e,o,a),s=f.useMemo(()=>new q6(i,n),[i,n]);const l=f.useRef(null);return f.useEffect(()=>{if(n.focusedKey!=null&&!i.getItem(n.focusedKey)){const u=l.current.getItem(n.focusedKey),c=[...l.current.getKeys()].map(g=>{const b=l.current.getItem(g);return b.type==="item"?b:null}).filter(g=>g!==null),d=[...i.getKeys()].map(g=>{const b=i.getItem(g);return b.type==="item"?b:null}).filter(g=>g!==null),p=c.length-d.length;let m=Math.min(p>1?Math.max(u.index-p+1,0):u.index,d.length-1),h;for(;m>=0;){if(!s.isDisabled(d[m].key)){h=d[m];break}m<d.length-1?m++:(m>u.index&&(m=u.index),m--)}n.setFocusedKey(h?h.key:null)}l.current=i},[i,s,n,n.focusedKey]),{collection:i,disabledKeys:r,selectionManager:s}}function P7(e){var t;let[n,r]=hr(e.selectedKey,(t=e.defaultSelectedKey)!==null&&t!==void 0?t:null,e.onSelectionChange),o=f.useMemo(()=>n!=null?[n]:[],[n]),{collection:a,disabledKeys:i,selectionManager:s}=E7({...e,selectionMode:"single",disallowEmptySelection:!0,allowDuplicateSelectionEvents:!0,selectedKeys:o,onSelectionChange:u=>{var c;let d=(c=u.values().next().value)!==null&&c!==void 0?c:null;d===n&&e.onSelectionChange&&e.onSelectionChange(d),r(d)}}),l=n!=null?a.getItem(n):null;return{collection:a,disabledKeys:i,selectionManager:s,selectedKey:n,setSelectedKey:r,selectedItem:l}}function S7(e){var t;let n=P7({...e,suppressTextValueWarning:!0,defaultSelectedKey:(t=e.defaultSelectedKey)!==null&&t!==void 0?t:W1(e.collection,e.disabledKeys?new Set(e.disabledKeys):new Set)}),{selectionManager:r,collection:o,selectedKey:a}=n,i=f.useRef(a);return f.useEffect(()=>{let s=a;(r.isEmpty||!o.getItem(s))&&(s=W1(o,n.disabledKeys),s!=null&&r.setSelectedKeys([s])),(s!=null&&r.focusedKey==null||!r.isFocused&&s!==i.current)&&r.setFocusedKey(s),i.current=s}),{...n,isDisabled:e.isDisabled||!1}}function W1(e,t){let n=null;if(e){for(n=e.getFirstKey();t.has(n)&&n!==e.getLastKey();)n=e.getKeyAfter(n);t.has(n)&&n===e.getLastKey()&&(n=e.getFirstKey())}return n}function M7(e){const[t,n]=uo(e,hf.variantKeys),{ref:r,as:o,className:a,classNames:i,children:s,disableCursorAnimation:l,shouldSelectOnPressUp:u=!0,motionProps:c,...d}=t,p=o||"div",m=typeof p=="string",h=bt(r),g=S7({children:s,...d}),{tabListProps:b}=C7(d,g,h),x=f.useMemo(()=>hf({...n,className:a}),[...Object.values(n),a]),y=we(i==null?void 0:i.base,a),w=f.useMemo(()=>({state:g,slots:x,classNames:i,motionProps:c,listRef:h,shouldSelectOnPressUp:u,disableCursorAnimation:l,isDisabled:e==null?void 0:e.isDisabled,disableAnimation:e==null?void 0:e.disableAnimation}),[g,x,h,c,l,u,e==null?void 0:e.disableAnimation,e==null?void 0:e.isDisabled,i]),S=f.useCallback(A=>({"data-slot":"base",className:x.base({class:we(y,A==null?void 0:A.className)}),...he(fo(d,{enabled:m}),A)}),[y,d,x]),P=f.useCallback(A=>({ref:h,"data-slot":"tabList",className:x.tabList({class:we(i==null?void 0:i.tabList,A==null?void 0:A.className)}),...he(b,A)}),[h,b,i,x]);return{Component:p,domRef:h,state:g,values:w,getBaseProps:S,getTabListProps:P}}function _1(e,t){var n;const{Component:r,values:o,state:a,getBaseProps:i,getTabListProps:s}=M7({...e,ref:t}),l=f.useId(),u=!e.disableAnimation&&!e.disableCursorAnimation,c={state:a,listRef:o.listRef,slots:o.slots,classNames:o.classNames,isDisabled:o.isDisabled,motionProps:o.motionProps,disableAnimation:o.disableAnimation,shouldSelectOnPressUp:o.shouldSelectOnPressUp,disableCursorAnimation:o.disableCursorAnimation},d=[...a.collection].map(p=>F.jsx(I7,{item:p,...c,...p.props},p.key));return F.jsxs(F.Fragment,{children:[F.jsx("div",{...i(),children:F.jsx(r,{...s(),children:u?F.jsx(G6,{id:l,children:d}):d})}),F.jsx(w7,{classNames:o.classNames,slots:o.slots,state:o.state},(n=a.selectedItem)==null?void 0:n.key)]})}var A7=$t(_1);_1.displayName="NextUI.Tabs";var T7=z6,D7=T7;const N7=({icons:e,className:t})=>{const n=ye({base:"bg-primary-grey-700",variants:{withIcon:{false:"h-6 w-11 px-[2px] group-data-[selected=true]:bg-secondary-green-500",true:"h-[52px] w-[88px] bg-secondary-green-500 group-data-[selected=true]:bg-primary-green-500"}}}),r=ye({variants:{withIcon:{false:"h-5 w-5 group-data-[selected=true]:ml-5",true:"h-11 w-11 group-data-[selected=true]:ml-9"}}});return F.jsx(Z9,{classNames:{wrapper:n({withIcon:!!e,className:t}),thumb:r({withIcon:!!e})},thumbIcon:({isSelected:o,className:a})=>e&&(o?F.jsx(rt,{name:e.selectedIcon,className:vn(a,"text-lg")}):F.jsx(rt,{name:e.unselectedIcon,className:vn(a,"text-lg")}))})},$7=e=>F.jsx(D9,{classNames:{wrapper:"w-4 h-4 rounded-sm before:rounded-sm before:border before:border-primary-grey-700 after:rounded-sm after:bg-secondary-green-500",icon:"w-[11px] h-2.5 [&>*]:stroke-[4px]"},...e}),G1=({size:e="md",className:t,border:n=!1,image:r,label:o,...a})=>{const i=ye({base:"bg-white font-satoshi font-bold capitalize text-white",variants:{size:{lg:"h-28 w-28 text-[48px]",md:"h-[72px] w-[72px] text-[32px]",sm:"h-12 w-12 text-[24px]",xs:"h-6 w-6 text-[12px]"},border:{true:"border-primary-grey-600"},isText:{true:"bg-complementary-violet-500 "}},compoundVariants:[{border:!0,size:"lg",class:"border-[4px]"},{border:!0,size:"md",class:"border-[3px]"},{border:!0,size:"sm",class:"border-2"},{border:!0,size:"xs",class:"border"}]}),s=ye({base:"text-primary-grey-600",variants:{size:{xs:"text-[12px]",sm:"text-[24px]",md:"text-[32px]",lg:"text-[48px]"}}});return F.jsx(a9,{fallback:!o&&F.jsx(rt,{name:"user",className:s({size:e})}),showFallback:!!o,src:r,name:o,className:i({size:e,border:n,isText:!!(o&&!r),className:t}),...a})},k7=({options:e,labelPosition:t="right",orientation:n="vertical",onChange:r})=>F.jsx(G9,{orientation:n,children:e.map(o=>F.jsxs("div",{className:"flex items-center gap-2",children:[t==="left"&&F.jsx("label",{"data-testid":"label-position-left",children:o.label}),F.jsx(z9,{onChange:r,value:o.value,id:o.id,classNames:{wrapper:"border border-primary-grey-700 group-data-[selected=true]:border-secondary-green-500 group-data-[selected=true]:bg-secondary-green-500",control:"bg-white"}}),t==="right"&&o.label&&F.jsx("label",{"data-testid":"label-position-right",children:o.label})]},o.value))}),du=({children:e,size:t,variant:n="primary",disabled:r,full:o=!1,iconLeft:a,iconRight:i,className:s,isLoadingComplete:l,isLoading:u,...c})=>{const[d,p]=f.useState("w-0"),m=f.useRef(null);f.useEffect(()=>{if(u){let b=2;p("w-1/4"),m.current=setInterval(()=>{p(`w-${b}/4`),b<3?b++:m.current&&clearInterval(m.current)},1e3)}else m.current&&clearInterval(m.current),p("w-0")},[u]);const h=ye({base:`absolute left-0 top-0 h-full rounded-full bg-transparent duration-1000 ease-in-out ${d}`,variants:{isLoadingComplete:{true:"w-full duration-500",false:""},loadingVariant:{primaryDark:"bg-white",primaryLight:"bg-primary-green-500 ",primary:"bg-primary-green-500 ",negative:"bg-complementary-red-700",secondaryNegative:"bg-complementary-red-50",secondary:"bg-secondary-green-50",tertiary:"",tertiaryDark:"",tertiaryLight:"",direction:"",directionCircle:"",icon:""}}}),g=ye({base:"relative !overflow-hidden rounded-full border-transparent px-10 py-4 font-bold text-white !ring-0 !ring-transparent hover:text-white focus:outline focus:outline-2 focus:-outline-offset-4 focus-visible:outline focus-visible:outline-2 focus-visible:-outline-offset-4 focus-visible:outline-white",variants:{size:{small:"h-9",medium:"h-12",large:"h-14"},variant:{primaryDark:"bg-white text-primary-green-500 hover:bg-secondary-green-500 focus:bg-secondary-green-500 focus:text-white focus:outline-primary-green-500",primaryLight:"bg-primary-green-500 hover:bg-white hover:text-secondary-green-500 focus:bg-white focus:text-secondary-green-500 focus:outline-secondary-green-500",primary:"bg-primary-green-500 hover:bg-secondary-green-500 focus:bg-secondary-green-500 focus:outline-white",negative:"bg-complementary-red-700 hover:border-transparent hover:bg-complementary-red-500 focus:bg-complementary-red-500 focus:outline-white",secondaryNegative:"border border-complementary-red-700 !bg-white font-medium text-complementary-red-700 hover:border-2 hover:border-complementary-red-500 hover:text-complementary-red-500 focus:border-[3px] focus:border-complementary-red-500 focus:text-complementary-red-500",secondary:"border border-primary-green-500 !bg-transparent font-medium text-primary-green-500 hover:border-2 hover:border-secondary-green-500 hover:text-secondary-green-500 focus:border-[3px] focus:border-secondary-green-500 focus:text-secondary-green-500",tertiary:"!bg-transparent px-4 font-medium text-primary-green-500 hover:text-secondary-green-500 focus:font-bold focus:text-secondary-green-500 focus:outline-none",tertiaryDark:"!bg-transparent px-4 font-medium text-secondary-green-500 focus:font-bold focus:text-secondary-green-500 focus:outline-none",tertiaryLight:"!bg-transparent px-4 font-medium text-primary-green-500 focus:font-bold focus:text-primary-green-500 focus:outline-none",direction:"h-10 bg-primary-green-500 p-2.5 font-medium hover:bg-secondary-green-500 focus:border-none focus:bg-secondary-green-500 focus:outline-none",directionCircle:"font:medium !min-w-unit-10 bg-primary-green-500 !px-0 hover:bg-secondary-green-500 focus:border-none focus:bg-secondary-green-500 focus:outline-none",icon:"!min-w-unit-10 bg-transparent !px-0 text-primary-green-500 hover:text-secondary-green-500"},full:{true:"w-full",false:""},disabled:{true:"",false:""},isLoading:{true:"",false:""},hasIcon:{true:"!px-6"}},compoundVariants:[{disabled:!0,isLoading:!1,class:"pointer-events-none border-transparent bg-primary-grey-500 font-medium text-primary-grey-700"},{variant:"primaryDark",isLoading:!0,class:"!bg-secondary-green-500 !text-primary-green-500 focus:bg-secondary-green-500 focus:outline-secondary-green-500"},{variant:"primaryLight",isLoading:!0,class:"!bg-white text-secondary-green-500 focus:outline-white"},{variant:"primary",isLoading:!0,class:"!bg-secondary-green-500 focus:outline-secondary-green-500"},{variant:"negative",isLoading:!0,class:"!bg-complementary-red-500 focus:outline-complementary-red-500"},{variant:"secondaryNegative",isLoading:!0,class:"!border !border-complementary-red-700 !bg-white text-complementary-red-700 focus:outline-none"},{variant:"secondary",isLoading:!0,class:"!border !border-secondary-green-500 !bg-white text-secondary-green-500 focus:outline-none"},{variant:"tertiary",isLoading:!0,class:"!font-medium"},{variant:"tertiaryDark",isLoading:!0,class:"!font-medium"},{variant:"tertiaryLight",isLoading:!0,class:"!font-medium"},{variant:"secondaryNegative",disabled:!0,class:"border border-primary-grey-700 bg-transparent"},{variant:"secondary",disabled:!0,class:"border border-primary-grey-700 bg-transparent"},{variant:"tertiary",disabled:!0,class:"bg-transparent underline"},{variant:"icon",disabled:!0,class:"bg-transparent"},{variant:"directionCircle",hasIcon:!0,class:"!min-w-unit-10 !px-0"}]});return f.useEffect(()=>()=>{m.current&&clearInterval(m.current)},[m]),F.jsx(m9,{disabled:u||r,className:vn(s,g({size:t,variant:n,disabled:r,full:o,isLoading:u,hasIcon:!!(a||i)})),...c,children:F.jsxs("div",{children:[F.jsx("div",{className:vn(h({isLoadingComplete:l,loadingVariant:n}))}),F.jsxs("div",{className:"relative flex items-center gap-3 text-center",children:[a&&(typeof a=="string"?F.jsx(rt,{"data-testid":"button-component-icon-left",name:a}):a),e&&F.jsx("span",{className:n.includes("tertiary")?"underline":"",children:e}),i&&(typeof i=="string"?F.jsx(rt,{"data-testid":"button-component-icon-right",name:i}):i)]})]})})},O7=({children:e,className:t,avatar:n,size:r="sm",disabled:o=!1,iconLeft:a,iconRight:i})=>{const s=ye({base:"flex h-6 cursor-pointer items-center justify-center gap-2 border border-primary-green-500 bg-white px-2 pt-[1px] font-satoshi text-[10px] font-medium leading-[15px] text-primary-green-500 hover:border-secondary-green-500 hover:text-secondary-green-500 active:border-[2px] active:px-[7px]",variants:{size:{sm:"",lg:"h-[54px] gap-3 px-4 text-base active:px-[15px]"},hasAvatar:{true:"!border-0 bg-primary-grey-600 pl-6"},disabled:{true:"cursor-default !border-1 !border-primary-grey-500 bg-primary-grey-500 !text-primary-grey-800"}},compoundVariants:[{size:"sm",hasAvatar:!0,class:"pl-6 active:pl-[24px] active:pr-[8px]"},{size:"lg",hasAvatar:!0,class:"pl-14 active:pl-[56px] active:pr-[16px]"},{size:"sm",disabled:!0,class:"active:px-[8px]"},{size:"lg",disabled:!0,class:"active:px-[16px]"}]}),l=ye({base:"absolute left-0 top-0",variants:{size:{sm:"",lg:"h-[54px] w-[54px]"}}}),u=ye({base:"text-xs",variants:{size:{sm:"",lg:"text-lg"}}});return F.jsxs(v1,{size:r,className:vn(s({hasAvatar:!!n,size:r,disabled:o,className:t})),startContent:a&&(typeof a=="string"?F.jsx(rt,{className:u({size:r}),name:a}):a),endContent:i&&(typeof i=="string"?F.jsx(rt,{className:u({size:r}),name:i}):i),children:[n&&F.jsx(G1,{className:l({size:r}),border:!1,size:"xs",image:n}),e]})},F7=({tabs:e,tabClass:t,size:n="md",onSelectionChange:r,...o})=>{const a=ye({base:"bg-primary-grey-500 p-[1px]",variants:{size:{sm:"h-8",md:"h-9",lg:"h-12"}}}),i=ye({base:"h-full font-medium text-primary-grey-800 data-[selected=true]:!font-bold data-[selected=true]:!text-primary-green-500 data-[hover='true']:opacity-100",variants:{size:{sm:"px-[40px]",md:"px-[80px]",lg:"px-[75px]"},tabClass:{}}}),s=ye({base:"!text-white shadow-none"}),l=ye({base:"!font-inherit flex items-center gap-2 font-satoshi !text-inherit",variants:{size:{sm:"text-[14px]",md:"text-[14px]",lg:"text-[20px]"}}});return F.jsx(A7,{onClick:u=>{const c=u.target,d=c.parentElement.getAttribute("data-selected");let p=c.getAttribute("data-key");p||(p=c.parentElement.getAttribute("data-key")),!d&&p&&r(p)},classNames:{tabList:a({size:n}),tab:i({size:n,className:t}),cursor:s(),tabContent:l({size:n})},radius:"full",size:n,...o,children:e.map(({key:u,title:c,component:d,icon:p})=>F.jsx(D7,{title:F.jsxs(F.Fragment,{children:[p&&(typeof p=="string"?F.jsx(rt,{className:"text-[16px]",name:p}):p)," ",c]}),children:d},u))})},R1=({message:e,actions:t,inlineActions:n=!0})=>{const r=ye({base:"flex gap-3 rounded-lg bg-primary-black-400 p-4",variants:{inlineActions:{true:"flex flex-row",false:"flex flex-col items-end justify-end"},toastType:{alert:"rounded-2xl bg-primary-grey-600",snackbar:"bg-primary-black-400",banner:"rounded-2xl bg-complementary-red-500"}}});return F.jsxs("div",{className:r({inlineActions:n}),children:[F.jsx("div",{className:"flex flex-1 items-center gap-4",children:F.jsx("p",{className:"font-satoshi text-sm",children:e})}),F.jsx("div",{children:t&&F.jsx("div",{className:"flex",children:t.map(({label:o,onClick:a})=>F.jsx(du,{onClick:a,variant:"tertiaryDark",children:o},o))})})]})};function z1(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(n=z1(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function Mn(){for(var e,t,n=0,r="",o=arguments.length;n<o;n++)(e=arguments[n])&&(t=z1(e))&&(r&&(r+=" "),r+=t);return r}const Do=e=>typeof e=="number"&&!isNaN(e),Kn=e=>typeof e=="string",yt=e=>typeof e=="function",xi=e=>Kn(e)||yt(e)?e:null,fu=e=>f.isValidElement(e)||Kn(e)||yt(e)||Do(e);function L7(e,t,n){n===void 0&&(n=300);const{scrollHeight:r,style:o}=e;requestAnimationFrame(()=>{o.minHeight="initial",o.height=r+"px",o.transition=`all ${n}ms`,requestAnimationFrame(()=>{o.height="0",o.padding="0",o.margin="0",setTimeout(t,n)})})}function No(e){let{enter:t,exit:n,appendPosition:r=!1,collapse:o=!0,collapseDuration:a=300}=e;return function(i){let{children:s,position:l,preventExitTransition:u,done:c,nodeRef:d,isIn:p,playToast:m}=i;const h=r?`${t}--${l}`:t,g=r?`${n}--${l}`:n,b=f.useRef(0);return f.useLayoutEffect(()=>{const x=d.current,y=h.split(" "),w=S=>{S.target===d.current&&(m(),x.removeEventListener("animationend",w),x.removeEventListener("animationcancel",w),b.current===0&&S.type!=="animationcancel"&&x.classList.remove(...y))};x.classList.add(...y),x.addEventListener("animationend",w),x.addEventListener("animationcancel",w)},[]),f.useEffect(()=>{const x=d.current,y=()=>{x.removeEventListener("animationend",y),o?L7(x,c,a):c()};p||(u?y():(b.current=1,x.className+=` ${g}`,x.addEventListener("animationend",y)))},[p]),f.createElement(f.Fragment,null,s)}}function H1(e,t){return e!=null?{content:e.content,containerId:e.props.containerId,id:e.props.toastId,theme:e.props.theme,type:e.props.type,data:e.props.data||{},isLoading:e.props.isLoading,icon:e.props.icon,status:t}:{}}const at=new Map;let $o=[];const pu=new Set,V7=e=>pu.forEach(t=>t(e)),X1=()=>at.size>0;function Z1(e,t){var n;if(t)return!((n=at.get(t))==null||!n.isToastActive(e));let r=!1;return at.forEach(o=>{o.isToastActive(e)&&(r=!0)}),r}function Y1(e,t){fu(e)&&(X1()||$o.push({content:e,options:t}),at.forEach(n=>{n.buildToast(e,t)}))}function U1(e,t){at.forEach(n=>{t!=null&&t!=null&&t.containerId?(t==null?void 0:t.containerId)===n.id&&n.toggle(e,t==null?void 0:t.id):n.toggle(e,t==null?void 0:t.id)})}function j7(e){const{subscribe:t,getSnapshot:n,setProps:r}=f.useRef(function(a){const i=a.containerId||1;return{subscribe(s){const l=function(c,d,p){let m=1,h=0,g=[],b=[],x=[],y=d;const w=new Map,S=new Set,P=()=>{x=Array.from(w.values()),S.forEach(v=>v())},A=v=>{b=v==null?[]:b.filter(D=>D!==v),P()},T=v=>{const{toastId:D,onOpen:$,updateId:M,children:k}=v.props,I=M==null;v.staleId&&w.delete(v.staleId),w.set(D,v),b=[...b,v.props.toastId].filter(E=>E!==v.staleId),P(),p(H1(v,I?"added":"updated")),I&&yt($)&&$(f.isValidElement(k)&&k.props)};return{id:c,props:y,observe:v=>(S.add(v),()=>S.delete(v)),toggle:(v,D)=>{w.forEach($=>{D!=null&&D!==$.props.toastId||yt($.toggle)&&$.toggle(v)})},removeToast:A,toasts:w,clearQueue:()=>{h-=g.length,g=[]},buildToast:(v,D)=>{if((B=>{let{containerId:G,toastId:Y,updateId:R}=B;const Z=G?G!==c:c!==1,q=w.has(Y)&&R==null;return Z||q})(D))return;const{toastId:$,updateId:M,data:k,staleId:I,delay:E}=D,O=()=>{A($)},j=M==null;j&&h++;const N={...y,style:y.toastStyle,key:m++,...Object.fromEntries(Object.entries(D).filter(B=>{let[G,Y]=B;return Y!=null})),toastId:$,updateId:M,data:k,closeToast:O,isIn:!1,className:xi(D.className||y.toastClassName),bodyClassName:xi(D.bodyClassName||y.bodyClassName),progressClassName:xi(D.progressClassName||y.progressClassName),autoClose:!D.isLoading&&(W=D.autoClose,K=y.autoClose,W===!1||Do(W)&&W>0?W:K),deleteToast(){const B=w.get($),{onClose:G,children:Y}=B.props;yt(G)&&G(f.isValidElement(Y)&&Y.props),p(H1(B,"removed")),w.delete($),h--,h<0&&(h=0),g.length>0?T(g.shift()):P()}};var W,K;N.closeButton=y.closeButton,D.closeButton===!1||fu(D.closeButton)?N.closeButton=D.closeButton:D.closeButton===!0&&(N.closeButton=!fu(y.closeButton)||y.closeButton);let H=v;f.isValidElement(v)&&!Kn(v.type)?H=f.cloneElement(v,{closeToast:O,toastProps:N,data:k}):yt(v)&&(H=v({closeToast:O,toastProps:N,data:k}));const X={content:H,props:N,staleId:I};y.limit&&y.limit>0&&h>y.limit&&j?g.push(X):Do(E)?setTimeout(()=>{T(X)},E):T(X)},setProps(v){y=v},setToggle:(v,D)=>{w.get(v).toggle=D},isToastActive:v=>b.some(D=>D===v),getSnapshot:()=>y.newestOnTop?x.reverse():x}}(i,a,V7);at.set(i,l);const u=l.observe(s);return $o.forEach(c=>Y1(c.content,c.options)),$o=[],()=>{u(),at.delete(i)}},setProps(s){var l;(l=at.get(i))==null||l.setProps(s)},getSnapshot(){var s;return(s=at.get(i))==null?void 0:s.getSnapshot()}}}(e)).current;r(e);const o=f.useSyncExternalStore(t,n,n);return{getToastToRender:function(a){if(!o)return[];const i=new Map;return o.forEach(s=>{const{position:l}=s.props;i.has(l)||i.set(l,[]),i.get(l).push(s)}),Array.from(i,s=>a(s[0],s[1]))},isToastActive:Z1,count:o==null?void 0:o.length}}function B7(e){const[t,n]=f.useState(!1),[r,o]=f.useState(!1),a=f.useRef(null),i=f.useRef({start:0,delta:0,removalDistance:0,canCloseOnClick:!0,canDrag:!1,didMove:!1}).current,{autoClose:s,pauseOnHover:l,closeToast:u,onClick:c,closeOnClick:d}=e;var p,m;function h(){n(!0)}function g(){n(!1)}function b(w){const S=a.current;i.canDrag&&S&&(i.didMove=!0,t&&g(),i.delta=e.draggableDirection==="x"?w.clientX-i.start:w.clientY-i.start,i.start!==w.clientX&&(i.canCloseOnClick=!1),S.style.transform=`translate3d(${e.draggableDirection==="x"?`${i.delta}px, var(--y)`:`0, calc(${i.delta}px + var(--y))`},0)`,S.style.opacity=""+(1-Math.abs(i.delta/i.removalDistance)))}function x(){document.removeEventListener("pointermove",b),document.removeEventListener("pointerup",x);const w=a.current;if(i.canDrag&&i.didMove&&w){if(i.canDrag=!1,Math.abs(i.delta)>i.removalDistance)return o(!0),e.closeToast(),void e.collapseAll();w.style.transition="transform 0.2s, opacity 0.2s",w.style.removeProperty("transform"),w.style.removeProperty("opacity")}}(m=at.get((p={id:e.toastId,containerId:e.containerId,fn:n}).containerId||1))==null||m.setToggle(p.id,p.fn),f.useEffect(()=>{if(e.pauseOnFocusLoss)return document.hasFocus()||g(),window.addEventListener("focus",h),window.addEventListener("blur",g),()=>{window.removeEventListener("focus",h),window.removeEventListener("blur",g)}},[e.pauseOnFocusLoss]);const y={onPointerDown:function(w){if(e.draggable===!0||e.draggable===w.pointerType){i.didMove=!1,document.addEventListener("pointermove",b),document.addEventListener("pointerup",x);const S=a.current;i.canCloseOnClick=!0,i.canDrag=!0,S.style.transition="none",e.draggableDirection==="x"?(i.start=w.clientX,i.removalDistance=S.offsetWidth*(e.draggablePercent/100)):(i.start=w.clientY,i.removalDistance=S.offsetHeight*(e.draggablePercent===80?1.5*e.draggablePercent:e.draggablePercent)/100)}},onPointerUp:function(w){const{top:S,bottom:P,left:A,right:T}=a.current.getBoundingClientRect();w.nativeEvent.type!=="touchend"&&e.pauseOnHover&&w.clientX>=A&&w.clientX<=T&&w.clientY>=S&&w.clientY<=P?g():h()}};return s&&l&&(y.onMouseEnter=g,e.stacked||(y.onMouseLeave=h)),d&&(y.onClick=w=>{c&&c(w),i.canCloseOnClick&&u()}),{playToast:h,pauseToast:g,isRunning:t,preventExitTransition:r,toastRef:a,eventHandlers:y}}function W7(e){let{delay:t,isRunning:n,closeToast:r,type:o="default",hide:a,className:i,style:s,controlledProgress:l,progress:u,rtl:c,isIn:d,theme:p}=e;const m=a||l&&u===0,h={...s,animationDuration:`${t}ms`,animationPlayState:n?"running":"paused"};l&&(h.transform=`scaleX(${u})`);const g=Mn("Toastify__progress-bar",l?"Toastify__progress-bar--controlled":"Toastify__progress-bar--animated",`Toastify__progress-bar-theme--${p}`,`Toastify__progress-bar--${o}`,{"Toastify__progress-bar--rtl":c}),b=yt(i)?i({rtl:c,type:o,defaultClassName:g}):Mn(g,i),x={[l&&u>=1?"onTransitionEnd":"onAnimationEnd"]:l&&u<1?null:()=>{d&&r()}};return f.createElement("div",{className:"Toastify__progress-bar--wrp","data-hidden":m},f.createElement("div",{className:`Toastify__progress-bar--bg Toastify__progress-bar-theme--${p} Toastify__progress-bar--${o}`}),f.createElement("div",{role:"progressbar","aria-hidden":m?"true":"false","aria-label":"notification timer",className:b,style:h,...x}))}let _7=1;const K1=()=>""+_7++;function G7(e){return e&&(Kn(e.toastId)||Do(e.toastId))?e.toastId:K1()}function ko(e,t){return Y1(e,t),t.toastId}function Ci(e,t){return{...t,type:t&&t.type||e,toastId:G7(t)}}function wi(e){return(t,n)=>ko(t,Ci(e,n))}function Fe(e,t){return ko(e,Ci("default",t))}Fe.loading=(e,t)=>ko(e,Ci("default",{isLoading:!0,autoClose:!1,closeOnClick:!1,closeButton:!1,draggable:!1,...t})),Fe.promise=function(e,t,n){let r,{pending:o,error:a,success:i}=t;o&&(r=Kn(o)?Fe.loading(o,n):Fe.loading(o.render,{...n,...o}));const s={isLoading:null,autoClose:null,closeOnClick:null,closeButton:null,draggable:null},l=(c,d,p)=>{if(d==null)return void Fe.dismiss(r);const m={type:c,...s,...n,data:p},h=Kn(d)?{render:d}:d;return r?Fe.update(r,{...m,...h}):Fe(h.render,{...m,...h}),p},u=yt(e)?e():e;return u.then(c=>l("success",i,c)).catch(c=>l("error",a,c)),u},Fe.success=wi("success"),Fe.info=wi("info"),Fe.error=wi("error"),Fe.warning=wi("warning"),Fe.warn=Fe.warning,Fe.dark=(e,t)=>ko(e,Ci("default",{theme:"dark",...t})),Fe.dismiss=function(e){(function(t){var n;if(X1()){if(t==null||Kn(n=t)||Do(n))at.forEach(r=>{r.removeToast(t)});else if(t&&("containerId"in t||"id"in t)){const r=at.get(t.containerId);r?r.removeToast(t.id):at.forEach(o=>{o.removeToast(t.id)})}}else $o=$o.filter(r=>t!=null&&r.options.toastId!==t)})(e)},Fe.clearWaitingQueue=function(e){e===void 0&&(e={}),at.forEach(t=>{!t.props.limit||e.containerId&&t.id!==e.containerId||t.clearQueue()})},Fe.isActive=Z1,Fe.update=function(e,t){t===void 0&&(t={});const n=((r,o)=>{var a;let{containerId:i}=o;return(a=at.get(i||1))==null?void 0:a.toasts.get(r)})(e,t);if(n){const{props:r,content:o}=n,a={delay:100,...r,...t,toastId:t.toastId||e,updateId:K1()};a.toastId!==e&&(a.staleId=e);const i=a.render||o;delete a.render,ko(i,a)}},Fe.done=e=>{Fe.update(e,{progress:1})},Fe.onChange=function(e){return pu.add(e),()=>{pu.delete(e)}},Fe.play=e=>U1(!0,e),Fe.pause=e=>U1(!1,e);const R7=typeof window<"u"?f.useLayoutEffect:f.useEffect,Ii=e=>{let{theme:t,type:n,isLoading:r,...o}=e;return f.createElement("svg",{viewBox:"0 0 24 24",width:"100%",height:"100%",fill:t==="colored"?"currentColor":`var(--toastify-icon-color-${n})`,...o})},mu={info:function(e){return f.createElement(Ii,{...e},f.createElement("path",{d:"M12 0a12 12 0 1012 12A12.013 12.013 0 0012 0zm.25 5a1.5 1.5 0 11-1.5 1.5 1.5 1.5 0 011.5-1.5zm2.25 13.5h-4a1 1 0 010-2h.75a.25.25 0 00.25-.25v-4.5a.25.25 0 00-.25-.25h-.75a1 1 0 010-2h1a2 2 0 012 2v4.75a.25.25 0 00.25.25h.75a1 1 0 110 2z"}))},warning:function(e){return f.createElement(Ii,{...e},f.createElement("path",{d:"M23.32 17.191L15.438 2.184C14.728.833 13.416 0 11.996 0c-1.42 0-2.733.833-3.443 2.184L.533 17.448a4.744 4.744 0 000 4.368C1.243 23.167 2.555 24 3.975 24h16.05C22.22 24 24 22.044 24 19.632c0-.904-.251-1.746-.68-2.44zm-9.622 1.46c0 1.033-.724 1.823-1.698 1.823s-1.698-.79-1.698-1.822v-.043c0-1.028.724-1.822 1.698-1.822s1.698.79 1.698 1.822v.043zm.039-12.285l-.84 8.06c-.057.581-.408.943-.897.943-.49 0-.84-.367-.896-.942l-.84-8.065c-.057-.624.25-1.095.779-1.095h1.91c.528.005.84.476.784 1.1z"}))},success:function(e){return f.createElement(Ii,{...e},f.createElement("path",{d:"M12 0a12 12 0 1012 12A12.014 12.014 0 0012 0zm6.927 8.2l-6.845 9.289a1.011 1.011 0 01-1.43.188l-4.888-3.908a1 1 0 111.25-1.562l4.076 3.261 6.227-8.451a1 1 0 111.61 1.183z"}))},error:function(e){return f.createElement(Ii,{...e},f.createElement("path",{d:"M11.983 0a12.206 12.206 0 00-8.51 3.653A11.8 11.8 0 000 12.207 11.779 11.779 0 0011.8 24h.214A12.111 12.111 0 0024 11.791 11.766 11.766 0 0011.983 0zM10.5 16.542a1.476 1.476 0 011.449-1.53h.027a1.527 1.527 0 011.523 1.47 1.475 1.475 0 01-1.449 1.53h-.027a1.529 1.529 0 01-1.523-1.47zM11 12.5v-6a1 1 0 012 0v6a1 1 0 11-2 0z"}))},spinner:function(){return f.createElement("div",{className:"Toastify__spinner"})}},z7=e=>{const{isRunning:t,preventExitTransition:n,toastRef:r,eventHandlers:o,playToast:a}=B7(e),{closeButton:i,children:s,autoClose:l,onClick:u,type:c,hideProgressBar:d,closeToast:p,transition:m,position:h,className:g,style:b,bodyClassName:x,bodyStyle:y,progressClassName:w,progressStyle:S,updateId:P,role:A,progress:T,rtl:v,toastId:D,deleteToast:$,isIn:M,isLoading:k,closeOnClick:I,theme:E}=e,O=Mn("Toastify__toast",`Toastify__toast-theme--${E}`,`Toastify__toast--${c}`,{"Toastify__toast--rtl":v},{"Toastify__toast--close-on-click":I}),j=yt(g)?g({rtl:v,position:h,type:c,defaultClassName:O}):Mn(O,g),N=function(X){let{theme:B,type:G,isLoading:Y,icon:R}=X,Z=null;const q={theme:B,type:G};return R===!1||(yt(R)?Z=R({...q,isLoading:Y}):f.isValidElement(R)?Z=f.cloneElement(R,q):Y?Z=mu.spinner():(ae=>ae in mu)(G)&&(Z=mu[G](q))),Z}(e),W=!!T||!l,K={closeToast:p,type:c,theme:E};let H=null;return i===!1||(H=yt(i)?i(K):f.isValidElement(i)?f.cloneElement(i,K):function(X){let{closeToast:B,theme:G,ariaLabel:Y="close"}=X;return f.createElement("button",{className:`Toastify__close-button Toastify__close-button--${G}`,type:"button",onClick:R=>{R.stopPropagation(),B(R)},"aria-label":Y},f.createElement("svg",{"aria-hidden":"true",viewBox:"0 0 14 16"},f.createElement("path",{fillRule:"evenodd",d:"M7.71 8.23l3.75 3.75-1.48 1.48-3.75-3.75-3.75 3.75L1 11.98l3.75-3.75L1 4.48 2.48 3l3.75 3.75L9.98 3l1.48 1.48-3.75 3.75z"})))}(K)),f.createElement(m,{isIn:M,done:$,position:h,preventExitTransition:n,nodeRef:r,playToast:a},f.createElement("div",{id:D,onClick:u,"data-in":M,className:j,...o,style:b,ref:r},f.createElement("div",{...M&&{role:A},className:yt(x)?x({type:c}):Mn("Toastify__toast-body",x),style:y},N!=null&&f.createElement("div",{className:Mn("Toastify__toast-icon",{"Toastify--animate-icon Toastify__zoom-enter":!k})},N),f.createElement("div",null,s)),H,f.createElement(W7,{...P&&!W?{key:`pb-${P}`}:{},rtl:v,theme:E,delay:l,isRunning:t,isIn:M,closeToast:p,hide:d,type:c,style:S,className:w,controlledProgress:W,progress:T||0})))},Ei=function(e,t){return t===void 0&&(t=!1),{enter:`Toastify--animate Toastify__${e}-enter`,exit:`Toastify--animate Toastify__${e}-exit`,appendPosition:t}},H7=No(Ei("bounce",!0));No(Ei("slide",!0)),No(Ei("zoom")),No(Ei("flip"));const X7={position:"top-right",transition:H7,autoClose:5e3,closeButton:!0,pauseOnHover:!0,pauseOnFocusLoss:!0,draggable:"touch",draggablePercent:80,draggableDirection:"x",role:"alert",theme:"light"};function Z7(e){let t={...X7,...e};const n=e.stacked,[r,o]=f.useState(!0),a=f.useRef(null),{getToastToRender:i,isToastActive:s,count:l}=j7(t),{className:u,style:c,rtl:d,containerId:p}=t;function m(g){const b=Mn("Toastify__toast-container",`Toastify__toast-container--${g}`,{"Toastify__toast-container--rtl":d});return yt(u)?u({position:g,rtl:d,defaultClassName:b}):Mn(b,xi(u))}function h(){n&&(o(!0),Fe.play())}return R7(()=>{if(n){var g;const b=a.current.querySelectorAll('[data-in="true"]'),x=12,y=(g=t.position)==null?void 0:g.includes("top");let w=0,S=0;Array.from(b).reverse().forEach((P,A)=>{const T=P;T.classList.add("Toastify__toast--stacked"),A>0&&(T.dataset.collapsed=`${r}`),T.dataset.pos||(T.dataset.pos=y?"top":"bot");const v=w*(r?.2:1)+(r?0:x*A);T.style.setProperty("--y",`${y?v:-1*v}px`),T.style.setProperty("--g",`${x}`),T.style.setProperty("--s",""+(1-(r?S:0))),w+=T.offsetHeight,S+=.025})}},[r,l,n]),f.createElement("div",{ref:a,className:"Toastify",id:p,onMouseEnter:()=>{n&&(o(!1),Fe.pause())},onMouseLeave:h},i((g,b)=>{const x=b.length?{...c}:{...c,pointerEvents:"none"};return f.createElement("div",{className:m(g),style:x,key:`container-${g}`},b.map(y=>{let{content:w,props:S}=y;return f.createElement(z7,{...S,stacked:n,collapseAll:h,isIn:s(S.toastId,S.containerId),style:S.style,key:`toast-${S.key}`},w)}))}))}const PD="",Y7=()=>({snackbar:(t,n)=>{Fe(F.jsx(R1,{message:t,actions:n==null?void 0:n.actions,inlineActions:n==null?void 0:n.inlineActions}))}});function ge(){return ge=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},ge.apply(this,arguments)}function Le(e,t,{checkForDefaultPrevented:n=!0}={}){return function(o){if(e==null||e(o),n===!1||!o.defaultPrevented)return t==null?void 0:t(o)}}function U7(e,t){typeof e=="function"?e(t):e!=null&&(e.current=t)}function J1(...e){return t=>e.forEach(n=>U7(n,t))}function ct(...e){return f.useCallback(J1(...e),e)}function Jn(e,t=[]){let n=[];function r(a,i){const s=f.createContext(i),l=n.length;n=[...n,i];function u(d){const{scope:p,children:m,...h}=d,g=(p==null?void 0:p[e][l])||s,b=f.useMemo(()=>h,Object.values(h));return f.createElement(g.Provider,{value:b},m)}function c(d,p){const m=(p==null?void 0:p[e][l])||s,h=f.useContext(m);if(h)return h;if(i!==void 0)return i;throw new Error(`\`${d}\` must be used within \`${a}\``)}return u.displayName=a+"Provider",[u,c]}const o=()=>{const a=n.map(i=>f.createContext(i));return function(s){const l=(s==null?void 0:s[e])||a;return f.useMemo(()=>({[`__scope${e}`]:{...s,[e]:l}}),[s,l])}};return o.scopeName=e,[r,K7(o,...t)]}function K7(...e){const t=e[0];if(e.length===1)return t;const n=()=>{const r=e.map(o=>({useScope:o(),scopeName:o.scopeName}));return function(a){const i=r.reduce((s,{useScope:l,scopeName:u})=>{const d=l(a)[`__scope${u}`];return{...s,...d}},{});return f.useMemo(()=>({[`__scope${t.scopeName}`]:i}),[i])}};return n.scopeName=t.scopeName,n}const kr=f.forwardRef((e,t)=>{const{children:n,...r}=e,o=f.Children.toArray(n),a=o.find(J7);if(a){const i=a.props.children,s=o.map(l=>l===a?f.Children.count(i)>1?f.Children.only(null):f.isValidElement(i)?i.props.children:null:l);return f.createElement(hu,ge({},r,{ref:t}),f.isValidElement(i)?f.cloneElement(i,void 0,s):null)}return f.createElement(hu,ge({},r,{ref:t}),n)});kr.displayName="Slot";const hu=f.forwardRef((e,t)=>{const{children:n,...r}=e;return f.isValidElement(n)?f.cloneElement(n,{...Q7(r,n.props),ref:t?J1(t,n.ref):n.ref}):f.Children.count(n)>1?f.Children.only(null):null});hu.displayName="SlotClone";const Q1=({children:e})=>f.createElement(f.Fragment,null,e);function J7(e){return f.isValidElement(e)&&e.type===Q1}function Q7(e,t){const n={...t};for(const r in t){const o=e[r],a=t[r];/^on[A-Z]/.test(r)?o&&a?n[r]=(...s)=>{a(...s),o(...s)}:o&&(n[r]=o):r==="style"?n[r]={...o,...a}:r==="className"&&(n[r]=[o,a].filter(Boolean).join(" "))}return{...e,...n}}const We=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"].reduce((e,t)=>{const n=f.forwardRef((r,o)=>{const{asChild:a,...i}=r,s=a?kr:t;return f.useEffect(()=>{window[Symbol.for("radix-ui")]=!0},[]),f.createElement(s,ge({},i,{ref:o}))});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{});function q7(e,t){e&&mr.flushSync(()=>e.dispatchEvent(t))}function an(e){const t=f.useRef(e);return f.useEffect(()=>{t.current=e}),f.useMemo(()=>(...n)=>{var r;return(r=t.current)===null||r===void 0?void 0:r.call(t,...n)},[])}function ex(e,t=globalThis==null?void 0:globalThis.document){const n=an(e);f.useEffect(()=>{const r=o=>{o.key==="Escape"&&n(o)};return t.addEventListener("keydown",r),()=>t.removeEventListener("keydown",r)},[n,t])}const gu="dismissableLayer.update",tx="dismissableLayer.pointerDownOutside",nx="dismissableLayer.focusOutside";let q1;const rx=f.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),bu=f.forwardRef((e,t)=>{var n;const{disableOutsidePointerEvents:r=!1,onEscapeKeyDown:o,onPointerDownOutside:a,onFocusOutside:i,onInteractOutside:s,onDismiss:l,...u}=e,c=f.useContext(rx),[d,p]=f.useState(null),m=(n=d==null?void 0:d.ownerDocument)!==null&&n!==void 0?n:globalThis==null?void 0:globalThis.document,[,h]=f.useState({}),g=ct(t,v=>p(v)),b=Array.from(c.layers),[x]=[...c.layersWithOutsidePointerEventsDisabled].slice(-1),y=b.indexOf(x),w=d?b.indexOf(d):-1,S=c.layersWithOutsidePointerEventsDisabled.size>0,P=w>=y,A=ox(v=>{const D=v.target,$=[...c.branches].some(M=>M.contains(D));!P||$||(a==null||a(v),s==null||s(v),v.defaultPrevented||l==null||l())},m),T=ax(v=>{const D=v.target;[...c.branches].some(M=>M.contains(D))||(i==null||i(v),s==null||s(v),v.defaultPrevented||l==null||l())},m);return ex(v=>{w===c.layers.size-1&&(o==null||o(v),!v.defaultPrevented&&l&&(v.preventDefault(),l()))},m),f.useEffect(()=>{if(d)return r&&(c.layersWithOutsidePointerEventsDisabled.size===0&&(q1=m.body.style.pointerEvents,m.body.style.pointerEvents="none"),c.layersWithOutsidePointerEventsDisabled.add(d)),c.layers.add(d),em(),()=>{r&&c.layersWithOutsidePointerEventsDisabled.size===1&&(m.body.style.pointerEvents=q1)}},[d,m,r,c]),f.useEffect(()=>()=>{d&&(c.layers.delete(d),c.layersWithOutsidePointerEventsDisabled.delete(d),em())},[d,c]),f.useEffect(()=>{const v=()=>h({});return document.addEventListener(gu,v),()=>document.removeEventListener(gu,v)},[]),f.createElement(We.div,ge({},u,{ref:g,style:{pointerEvents:S?P?"auto":"none":void 0,...e.style},onFocusCapture:Le(e.onFocusCapture,T.onFocusCapture),onBlurCapture:Le(e.onBlurCapture,T.onBlurCapture),onPointerDownCapture:Le(e.onPointerDownCapture,A.onPointerDownCapture)}))});function ox(e,t=globalThis==null?void 0:globalThis.document){const n=an(e),r=f.useRef(!1),o=f.useRef(()=>{});return f.useEffect(()=>{const a=s=>{if(s.target&&!r.current){let u=function(){tm(tx,n,l,{discrete:!0})};const l={originalEvent:s};s.pointerType==="touch"?(t.removeEventListener("click",o.current),o.current=u,t.addEventListener("click",o.current,{once:!0})):u()}else t.removeEventListener("click",o.current);r.current=!1},i=window.setTimeout(()=>{t.addEventListener("pointerdown",a)},0);return()=>{window.clearTimeout(i),t.removeEventListener("pointerdown",a),t.removeEventListener("click",o.current)}},[t,n]),{onPointerDownCapture:()=>r.current=!0}}function ax(e,t=globalThis==null?void 0:globalThis.document){const n=an(e),r=f.useRef(!1);return f.useEffect(()=>{const o=a=>{a.target&&!r.current&&tm(nx,n,{originalEvent:a},{discrete:!1})};return t.addEventListener("focusin",o),()=>t.removeEventListener("focusin",o)},[t,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}function em(){const e=new CustomEvent(gu);document.dispatchEvent(e)}function tm(e,t,n,{discrete:r}){const o=n.originalEvent.target,a=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&o.addEventListener(e,t,{once:!0}),r?q7(o,a):o.dispatchEvent(a)}const Or=globalThis!=null&&globalThis.document?f.useLayoutEffect:()=>{},ix=V["useId".toString()]||(()=>{});let sx=0;function Qn(e){const[t,n]=V.useState(ix());return Or(()=>{e||n(r=>r??String(sx++))},[e]),e||(t?`radix-${t}`:"")}const lx=["top","right","bottom","left"],An=Math.min,xt=Math.max,Pi=Math.round,Si=Math.floor,Tn=e=>({x:e,y:e}),ux={left:"right",right:"left",bottom:"top",top:"bottom"},cx={start:"end",end:"start"};function vu(e,t,n){return xt(e,An(t,n))}function sn(e,t){return typeof e=="function"?e(t):e}function ln(e){return e.split("-")[0]}function Fr(e){return e.split("-")[1]}function yu(e){return e==="x"?"y":"x"}function xu(e){return e==="y"?"height":"width"}function Lr(e){return["top","bottom"].includes(ln(e))?"y":"x"}function Cu(e){return yu(Lr(e))}function dx(e,t,n){n===void 0&&(n=!1);const r=Fr(e),o=Cu(e),a=xu(o);let i=o==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[a]>t.floating[a]&&(i=Mi(i)),[i,Mi(i)]}function fx(e){const t=Mi(e);return[wu(e),t,wu(t)]}function wu(e){return e.replace(/start|end/g,t=>cx[t])}function px(e,t,n){const r=["left","right"],o=["right","left"],a=["top","bottom"],i=["bottom","top"];switch(e){case"top":case"bottom":return n?t?o:r:t?r:o;case"left":case"right":return t?a:i;default:return[]}}function mx(e,t,n,r){const o=Fr(e);let a=px(ln(e),n==="start",r);return o&&(a=a.map(i=>i+"-"+o),t&&(a=a.concat(a.map(wu)))),a}function Mi(e){return e.replace(/left|right|bottom|top/g,t=>ux[t])}function hx(e){return{top:0,right:0,bottom:0,left:0,...e}}function nm(e){return typeof e!="number"?hx(e):{top:e,right:e,bottom:e,left:e}}function Ai(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}function rm(e,t,n){let{reference:r,floating:o}=e;const a=Lr(t),i=Cu(t),s=xu(i),l=ln(t),u=a==="y",c=r.x+r.width/2-o.width/2,d=r.y+r.height/2-o.height/2,p=r[s]/2-o[s]/2;let m;switch(l){case"top":m={x:c,y:r.y-o.height};break;case"bottom":m={x:c,y:r.y+r.height};break;case"right":m={x:r.x+r.width,y:d};break;case"left":m={x:r.x-o.width,y:d};break;default:m={x:r.x,y:r.y}}switch(Fr(t)){case"start":m[i]-=p*(n&&u?-1:1);break;case"end":m[i]+=p*(n&&u?-1:1);break}return m}const gx=async(e,t,n)=>{const{placement:r="bottom",strategy:o="absolute",middleware:a=[],platform:i}=n,s=a.filter(Boolean),l=await(i.isRTL==null?void 0:i.isRTL(t));let u=await i.getElementRects({reference:e,floating:t,strategy:o}),{x:c,y:d}=rm(u,r,l),p=r,m={},h=0;for(let g=0;g<s.length;g++){const{name:b,fn:x}=s[g],{x:y,y:w,data:S,reset:P}=await x({x:c,y:d,initialPlacement:r,placement:p,strategy:o,middlewareData:m,rects:u,platform:i,elements:{reference:e,floating:t}});if(c=y??c,d=w??d,m={...m,[b]:{...m[b],...S}},P&&h<=50){h++,typeof P=="object"&&(P.placement&&(p=P.placement),P.rects&&(u=P.rects===!0?await i.getElementRects({reference:e,floating:t,strategy:o}):P.rects),{x:c,y:d}=rm(u,p,l)),g=-1;continue}}return{x:c,y:d,placement:p,strategy:o,middlewareData:m}};async function Oo(e,t){var n;t===void 0&&(t={});const{x:r,y:o,platform:a,rects:i,elements:s,strategy:l}=e,{boundary:u="clippingAncestors",rootBoundary:c="viewport",elementContext:d="floating",altBoundary:p=!1,padding:m=0}=sn(t,e),h=nm(m),b=s[p?d==="floating"?"reference":"floating":d],x=Ai(await a.getClippingRect({element:(n=await(a.isElement==null?void 0:a.isElement(b)))==null||n?b:b.contextElement||await(a.getDocumentElement==null?void 0:a.getDocumentElement(s.floating)),boundary:u,rootBoundary:c,strategy:l})),y=d==="floating"?{...i.floating,x:r,y:o}:i.reference,w=await(a.getOffsetParent==null?void 0:a.getOffsetParent(s.floating)),S=await(a.isElement==null?void 0:a.isElement(w))?await(a.getScale==null?void 0:a.getScale(w))||{x:1,y:1}:{x:1,y:1},P=Ai(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({rect:y,offsetParent:w,strategy:l}):y);return{top:(x.top-P.top+h.top)/S.y,bottom:(P.bottom-x.bottom+h.bottom)/S.y,left:(x.left-P.left+h.left)/S.x,right:(P.right-x.right+h.right)/S.x}}const om=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:r,placement:o,rects:a,platform:i,elements:s,middlewareData:l}=t,{element:u,padding:c=0}=sn(e,t)||{};if(u==null)return{};const d=nm(c),p={x:n,y:r},m=Cu(o),h=xu(m),g=await i.getDimensions(u),b=m==="y",x=b?"top":"left",y=b?"bottom":"right",w=b?"clientHeight":"clientWidth",S=a.reference[h]+a.reference[m]-p[m]-a.floating[h],P=p[m]-a.reference[m],A=await(i.getOffsetParent==null?void 0:i.getOffsetParent(u));let T=A?A[w]:0;(!T||!await(i.isElement==null?void 0:i.isElement(A)))&&(T=s.floating[w]||a.floating[h]);const v=S/2-P/2,D=T/2-g[h]/2-1,$=An(d[x],D),M=An(d[y],D),k=$,I=T-g[h]-M,E=T/2-g[h]/2+v,O=vu(k,E,I),j=!l.arrow&&Fr(o)!=null&&E!=O&&a.reference[h]/2-(E<k?$:M)-g[h]/2<0,N=j?E<k?E-k:E-I:0;return{[m]:p[m]+N,data:{[m]:O,centerOffset:E-O-N,...j&&{alignmentOffset:N}},reset:j}}}),bx=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n,r;const{placement:o,middlewareData:a,rects:i,initialPlacement:s,platform:l,elements:u}=t,{mainAxis:c=!0,crossAxis:d=!0,fallbackPlacements:p,fallbackStrategy:m="bestFit",fallbackAxisSideDirection:h="none",flipAlignment:g=!0,...b}=sn(e,t);if((n=a.arrow)!=null&&n.alignmentOffset)return{};const x=ln(o),y=ln(s)===s,w=await(l.isRTL==null?void 0:l.isRTL(u.floating)),S=p||(y||!g?[Mi(s)]:fx(s));!p&&h!=="none"&&S.push(...mx(s,g,h,w));const P=[s,...S],A=await Oo(t,b),T=[];let v=((r=a.flip)==null?void 0:r.overflows)||[];if(c&&T.push(A[x]),d){const k=dx(o,i,w);T.push(A[k[0]],A[k[1]])}if(v=[...v,{placement:o,overflows:T}],!T.every(k=>k<=0)){var D,$;const k=(((D=a.flip)==null?void 0:D.index)||0)+1,I=P[k];if(I)return{data:{index:k,overflows:v},reset:{placement:I}};let E=($=v.filter(O=>O.overflows[0]<=0).sort((O,j)=>O.overflows[1]-j.overflows[1])[0])==null?void 0:$.placement;if(!E)switch(m){case"bestFit":{var M;const O=(M=v.map(j=>[j.placement,j.overflows.filter(N=>N>0).reduce((N,W)=>N+W,0)]).sort((j,N)=>j[1]-N[1])[0])==null?void 0:M[0];O&&(E=O);break}case"initialPlacement":E=s;break}if(o!==E)return{reset:{placement:E}}}return{}}}};function am(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function im(e){return lx.some(t=>e[t]>=0)}const vx=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n}=t,{strategy:r="referenceHidden",...o}=sn(e,t);switch(r){case"referenceHidden":{const a=await Oo(t,{...o,elementContext:"reference"}),i=am(a,n.reference);return{data:{referenceHiddenOffsets:i,referenceHidden:im(i)}}}case"escaped":{const a=await Oo(t,{...o,altBoundary:!0}),i=am(a,n.floating);return{data:{escapedOffsets:i,escaped:im(i)}}}default:return{}}}}};async function yx(e,t){const{placement:n,platform:r,elements:o}=e,a=await(r.isRTL==null?void 0:r.isRTL(o.floating)),i=ln(n),s=Fr(n),l=Lr(n)==="y",u=["left","top"].includes(i)?-1:1,c=a&&l?-1:1,d=sn(t,e);let{mainAxis:p,crossAxis:m,alignmentAxis:h}=typeof d=="number"?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...d};return s&&typeof h=="number"&&(m=s==="end"?h*-1:h),l?{x:m*c,y:p*u}:{x:p*u,y:m*c}}const xx=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){const{x:n,y:r}=t,o=await yx(t,e);return{x:n+o.x,y:r+o.y,data:o}}}},Cx=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:o}=t,{mainAxis:a=!0,crossAxis:i=!1,limiter:s={fn:b=>{let{x,y}=b;return{x,y}}},...l}=sn(e,t),u={x:n,y:r},c=await Oo(t,l),d=Lr(ln(o)),p=yu(d);let m=u[p],h=u[d];if(a){const b=p==="y"?"top":"left",x=p==="y"?"bottom":"right",y=m+c[b],w=m-c[x];m=vu(y,m,w)}if(i){const b=d==="y"?"top":"left",x=d==="y"?"bottom":"right",y=h+c[b],w=h-c[x];h=vu(y,h,w)}const g=s.fn({...t,[p]:m,[d]:h});return{...g,data:{x:g.x-n,y:g.y-r}}}}},wx=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:n,y:r,placement:o,rects:a,middlewareData:i}=t,{offset:s=0,mainAxis:l=!0,crossAxis:u=!0}=sn(e,t),c={x:n,y:r},d=Lr(o),p=yu(d);let m=c[p],h=c[d];const g=sn(s,t),b=typeof g=="number"?{mainAxis:g,crossAxis:0}:{mainAxis:0,crossAxis:0,...g};if(l){const w=p==="y"?"height":"width",S=a.reference[p]-a.floating[w]+b.mainAxis,P=a.reference[p]+a.reference[w]-b.mainAxis;m<S?m=S:m>P&&(m=P)}if(u){var x,y;const w=p==="y"?"width":"height",S=["top","left"].includes(ln(o)),P=a.reference[d]-a.floating[w]+(S&&((x=i.offset)==null?void 0:x[d])||0)+(S?0:b.crossAxis),A=a.reference[d]+a.reference[w]+(S?0:((y=i.offset)==null?void 0:y[d])||0)-(S?b.crossAxis:0);h<P?h=P:h>A&&(h=A)}return{[p]:m,[d]:h}}}},Ix=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){const{placement:n,rects:r,platform:o,elements:a}=t,{apply:i=()=>{},...s}=sn(e,t),l=await Oo(t,s),u=ln(n),c=Fr(n),d=Lr(n)==="y",{width:p,height:m}=r.floating;let h,g;u==="top"||u==="bottom"?(h=u,g=c===(await(o.isRTL==null?void 0:o.isRTL(a.floating))?"start":"end")?"left":"right"):(g=u,h=c==="end"?"top":"bottom");const b=m-l[h],x=p-l[g],y=!t.middlewareData.shift;let w=b,S=x;if(d){const A=p-l.left-l.right;S=c||y?An(x,A):A}else{const A=m-l.top-l.bottom;w=c||y?An(b,A):A}if(y&&!c){const A=xt(l.left,0),T=xt(l.right,0),v=xt(l.top,0),D=xt(l.bottom,0);d?S=p-2*(A!==0||T!==0?A+T:xt(l.left,l.right)):w=m-2*(v!==0||D!==0?v+D:xt(l.top,l.bottom))}await i({...t,availableWidth:S,availableHeight:w});const P=await o.getDimensions(a.floating);return p!==P.width||m!==P.height?{reset:{rects:!0}}:{}}}};function Dn(e){return sm(e)?(e.nodeName||"").toLowerCase():"#document"}function Ct(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function un(e){var t;return(t=(sm(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function sm(e){return e instanceof Node||e instanceof Ct(e).Node}function cn(e){return e instanceof Element||e instanceof Ct(e).Element}function Ht(e){return e instanceof HTMLElement||e instanceof Ct(e).HTMLElement}function lm(e){return typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof Ct(e).ShadowRoot}function Fo(e){const{overflow:t,overflowX:n,overflowY:r,display:o}=At(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(o)}function Ex(e){return["table","td","th"].includes(Dn(e))}function Iu(e){const t=Eu(),n=At(e);return n.transform!=="none"||n.perspective!=="none"||(n.containerType?n.containerType!=="normal":!1)||!t&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!t&&(n.filter?n.filter!=="none":!1)||["transform","perspective","filter"].some(r=>(n.willChange||"").includes(r))||["paint","layout","strict","content"].some(r=>(n.contain||"").includes(r))}function Px(e){let t=Vr(e);for(;Ht(t)&&!Ti(t);){if(Iu(t))return t;t=Vr(t)}return null}function Eu(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function Ti(e){return["html","body","#document"].includes(Dn(e))}function At(e){return Ct(e).getComputedStyle(e)}function Di(e){return cn(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function Vr(e){if(Dn(e)==="html")return e;const t=e.assignedSlot||e.parentNode||lm(e)&&e.host||un(e);return lm(t)?t.host:t}function um(e){const t=Vr(e);return Ti(t)?e.ownerDocument?e.ownerDocument.body:e.body:Ht(t)&&Fo(t)?t:um(t)}function Lo(e,t,n){var r;t===void 0&&(t=[]),n===void 0&&(n=!0);const o=um(e),a=o===((r=e.ownerDocument)==null?void 0:r.body),i=Ct(o);return a?t.concat(i,i.visualViewport||[],Fo(o)?o:[],i.frameElement&&n?Lo(i.frameElement):[]):t.concat(o,Lo(o,[],n))}function cm(e){const t=At(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const o=Ht(e),a=o?e.offsetWidth:n,i=o?e.offsetHeight:r,s=Pi(n)!==a||Pi(r)!==i;return s&&(n=a,r=i),{width:n,height:r,$:s}}function Pu(e){return cn(e)?e:e.contextElement}function jr(e){const t=Pu(e);if(!Ht(t))return Tn(1);const n=t.getBoundingClientRect(),{width:r,height:o,$:a}=cm(t);let i=(a?Pi(n.width):n.width)/r,s=(a?Pi(n.height):n.height)/o;return(!i||!Number.isFinite(i))&&(i=1),(!s||!Number.isFinite(s))&&(s=1),{x:i,y:s}}const Sx=Tn(0);function dm(e){const t=Ct(e);return!Eu()||!t.visualViewport?Sx:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function Mx(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==Ct(e)?!1:t}function qn(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);const o=e.getBoundingClientRect(),a=Pu(e);let i=Tn(1);t&&(r?cn(r)&&(i=jr(r)):i=jr(e));const s=Mx(a,n,r)?dm(a):Tn(0);let l=(o.left+s.x)/i.x,u=(o.top+s.y)/i.y,c=o.width/i.x,d=o.height/i.y;if(a){const p=Ct(a),m=r&&cn(r)?Ct(r):r;let h=p.frameElement;for(;h&&r&&m!==p;){const g=jr(h),b=h.getBoundingClientRect(),x=At(h),y=b.left+(h.clientLeft+parseFloat(x.paddingLeft))*g.x,w=b.top+(h.clientTop+parseFloat(x.paddingTop))*g.y;l*=g.x,u*=g.y,c*=g.x,d*=g.y,l+=y,u+=w,h=Ct(h).frameElement}}return Ai({width:c,height:d,x:l,y:u})}function Ax(e){let{rect:t,offsetParent:n,strategy:r}=e;const o=Ht(n),a=un(n);if(n===a)return t;let i={scrollLeft:0,scrollTop:0},s=Tn(1);const l=Tn(0);if((o||!o&&r!=="fixed")&&((Dn(n)!=="body"||Fo(a))&&(i=Di(n)),Ht(n))){const u=qn(n);s=jr(n),l.x=u.x+n.clientLeft,l.y=u.y+n.clientTop}return{width:t.width*s.x,height:t.height*s.y,x:t.x*s.x-i.scrollLeft*s.x+l.x,y:t.y*s.y-i.scrollTop*s.y+l.y}}function Tx(e){return Array.from(e.getClientRects())}function fm(e){return qn(un(e)).left+Di(e).scrollLeft}function Dx(e){const t=un(e),n=Di(e),r=e.ownerDocument.body,o=xt(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),a=xt(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let i=-n.scrollLeft+fm(e);const s=-n.scrollTop;return At(r).direction==="rtl"&&(i+=xt(t.clientWidth,r.clientWidth)-o),{width:o,height:a,x:i,y:s}}function Nx(e,t){const n=Ct(e),r=un(e),o=n.visualViewport;let a=r.clientWidth,i=r.clientHeight,s=0,l=0;if(o){a=o.width,i=o.height;const u=Eu();(!u||u&&t==="fixed")&&(s=o.offsetLeft,l=o.offsetTop)}return{width:a,height:i,x:s,y:l}}function $x(e,t){const n=qn(e,!0,t==="fixed"),r=n.top+e.clientTop,o=n.left+e.clientLeft,a=Ht(e)?jr(e):Tn(1),i=e.clientWidth*a.x,s=e.clientHeight*a.y,l=o*a.x,u=r*a.y;return{width:i,height:s,x:l,y:u}}function pm(e,t,n){let r;if(t==="viewport")r=Nx(e,n);else if(t==="document")r=Dx(un(e));else if(cn(t))r=$x(t,n);else{const o=dm(e);r={...t,x:t.x-o.x,y:t.y-o.y}}return Ai(r)}function mm(e,t){const n=Vr(e);return n===t||!cn(n)||Ti(n)?!1:At(n).position==="fixed"||mm(n,t)}function kx(e,t){const n=t.get(e);if(n)return n;let r=Lo(e,[],!1).filter(s=>cn(s)&&Dn(s)!=="body"),o=null;const a=At(e).position==="fixed";let i=a?Vr(e):e;for(;cn(i)&&!Ti(i);){const s=At(i),l=Iu(i);!l&&s.position==="fixed"&&(o=null),(a?!l&&!o:!l&&s.position==="static"&&!!o&&["absolute","fixed"].includes(o.position)||Fo(i)&&!l&&mm(e,i))?r=r.filter(c=>c!==i):o=s,i=Vr(i)}return t.set(e,r),r}function Ox(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e;const i=[...n==="clippingAncestors"?kx(t,this._c):[].concat(n),r],s=i[0],l=i.reduce((u,c)=>{const d=pm(t,c,o);return u.top=xt(d.top,u.top),u.right=An(d.right,u.right),u.bottom=An(d.bottom,u.bottom),u.left=xt(d.left,u.left),u},pm(t,s,o));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}}function Fx(e){return cm(e)}function Lx(e,t,n){const r=Ht(t),o=un(t),a=n==="fixed",i=qn(e,!0,a,t);let s={scrollLeft:0,scrollTop:0};const l=Tn(0);if(r||!r&&!a)if((Dn(t)!=="body"||Fo(o))&&(s=Di(t)),r){const u=qn(t,!0,a,t);l.x=u.x+t.clientLeft,l.y=u.y+t.clientTop}else o&&(l.x=fm(o));return{x:i.left+s.scrollLeft-l.x,y:i.top+s.scrollTop-l.y,width:i.width,height:i.height}}function hm(e,t){return!Ht(e)||At(e).position==="fixed"?null:t?t(e):e.offsetParent}function gm(e,t){const n=Ct(e);if(!Ht(e))return n;let r=hm(e,t);for(;r&&Ex(r)&&At(r).position==="static";)r=hm(r,t);return r&&(Dn(r)==="html"||Dn(r)==="body"&&At(r).position==="static"&&!Iu(r))?n:r||Px(e)||n}const Vx=async function(e){let{reference:t,floating:n,strategy:r}=e;const o=this.getOffsetParent||gm,a=this.getDimensions;return{reference:Lx(t,await o(n),r),floating:{x:0,y:0,...await a(n)}}};function jx(e){return At(e).direction==="rtl"}const Bx={convertOffsetParentRelativeRectToViewportRelativeRect:Ax,getDocumentElement:un,getClippingRect:Ox,getOffsetParent:gm,getElementRects:Vx,getClientRects:Tx,getDimensions:Fx,getScale:jr,isElement:cn,isRTL:jx};function Wx(e,t){let n=null,r;const o=un(e);function a(){clearTimeout(r),n&&n.disconnect(),n=null}function i(s,l){s===void 0&&(s=!1),l===void 0&&(l=1),a();const{left:u,top:c,width:d,height:p}=e.getBoundingClientRect();if(s||t(),!d||!p)return;const m=Si(c),h=Si(o.clientWidth-(u+d)),g=Si(o.clientHeight-(c+p)),b=Si(u),y={rootMargin:-m+"px "+-h+"px "+-g+"px "+-b+"px",threshold:xt(0,An(1,l))||1};let w=!0;function S(P){const A=P[0].intersectionRatio;if(A!==l){if(!w)return i();A?i(!1,A):r=setTimeout(()=>{i(!1,1e-7)},100)}w=!1}try{n=new IntersectionObserver(S,{...y,root:o.ownerDocument})}catch{n=new IntersectionObserver(S,y)}n.observe(e)}return i(!0),a}function _x(e,t,n,r){r===void 0&&(r={});const{ancestorScroll:o=!0,ancestorResize:a=!0,elementResize:i=typeof ResizeObserver=="function",layoutShift:s=typeof IntersectionObserver=="function",animationFrame:l=!1}=r,u=Pu(e),c=o||a?[...u?Lo(u):[],...Lo(t)]:[];c.forEach(x=>{o&&x.addEventListener("scroll",n,{passive:!0}),a&&x.addEventListener("resize",n)});const d=u&&s?Wx(u,n):null;let p=-1,m=null;i&&(m=new ResizeObserver(x=>{let[y]=x;y&&y.target===u&&m&&(m.unobserve(t),cancelAnimationFrame(p),p=requestAnimationFrame(()=>{m&&m.observe(t)})),n()}),u&&!l&&m.observe(u),m.observe(t));let h,g=l?qn(e):null;l&&b();function b(){const x=qn(e);g&&(x.x!==g.x||x.y!==g.y||x.width!==g.width||x.height!==g.height)&&n(),g=x,h=requestAnimationFrame(b)}return n(),()=>{c.forEach(x=>{o&&x.removeEventListener("scroll",n),a&&x.removeEventListener("resize",n)}),d&&d(),m&&m.disconnect(),m=null,l&&cancelAnimationFrame(h)}}const Gx=(e,t,n)=>{const r=new Map,o={platform:Bx,...n},a={...o.platform,_c:r};return gx(e,t,{...o,platform:a})},Rx=e=>{function t(n){return{}.hasOwnProperty.call(n,"current")}return{name:"arrow",options:e,fn(n){const{element:r,padding:o}=typeof e=="function"?e(n):e;return r&&t(r)?r.current!=null?om({element:r.current,padding:o}).fn(n):{}:r?om({element:r,padding:o}).fn(n):{}}}};var Ni=typeof document<"u"?f.useLayoutEffect:f.useEffect;function $i(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(typeof e=="function"&&e.toString()===t.toString())return!0;let n,r,o;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(n=e.length,n!=t.length)return!1;for(r=n;r--!==0;)if(!$i(e[r],t[r]))return!1;return!0}if(o=Object.keys(e),n=o.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!{}.hasOwnProperty.call(t,o[r]))return!1;for(r=n;r--!==0;){const a=o[r];if(!(a==="_owner"&&e.$$typeof)&&!$i(e[a],t[a]))return!1}return!0}return e!==e&&t!==t}function bm(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function vm(e,t){const n=bm(e);return Math.round(t*n)/n}function ym(e){const t=V.useRef(e);return Ni(()=>{t.current=e}),t}function zx(e){e===void 0&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:o,elements:{reference:a,floating:i}={},transform:s=!0,whileElementsMounted:l,open:u}=e,[c,d]=V.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[p,m]=V.useState(r);$i(p,r)||m(r);const[h,g]=V.useState(null),[b,x]=V.useState(null),y=V.useCallback(j=>{j!=A.current&&(A.current=j,g(j))},[g]),w=V.useCallback(j=>{j!==T.current&&(T.current=j,x(j))},[x]),S=a||h,P=i||b,A=V.useRef(null),T=V.useRef(null),v=V.useRef(c),D=ym(l),$=ym(o),M=V.useCallback(()=>{if(!A.current||!T.current)return;const j={placement:t,strategy:n,middleware:p};$.current&&(j.platform=$.current),Gx(A.current,T.current,j).then(N=>{const W={...N,isPositioned:!0};k.current&&!$i(v.current,W)&&(v.current=W,Gb.flushSync(()=>{d(W)}))})},[p,t,n,$]);Ni(()=>{u===!1&&v.current.isPositioned&&(v.current.isPositioned=!1,d(j=>({...j,isPositioned:!1})))},[u]);const k=V.useRef(!1);Ni(()=>(k.current=!0,()=>{k.current=!1}),[]),Ni(()=>{if(S&&(A.current=S),P&&(T.current=P),S&&P){if(D.current)return D.current(S,P,M);M()}},[S,P,M,D]);const I=V.useMemo(()=>({reference:A,floating:T,setReference:y,setFloating:w}),[y,w]),E=V.useMemo(()=>({reference:S,floating:P}),[S,P]),O=V.useMemo(()=>{const j={position:n,left:0,top:0};if(!E.floating)return j;const N=vm(E.floating,c.x),W=vm(E.floating,c.y);return s?{...j,transform:"translate("+N+"px, "+W+"px)",...bm(E.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:N,top:W}},[n,s,E.floating,c.x,c.y]);return V.useMemo(()=>({...c,update:M,refs:I,elements:E,floatingStyles:O}),[c,M,I,E,O])}const Hx=f.forwardRef((e,t)=>{const{children:n,width:r=10,height:o=5,...a}=e;return f.createElement(We.svg,ge({},a,{ref:t,width:r,height:o,viewBox:"0 0 30 10",preserveAspectRatio:"none"}),e.asChild?n:f.createElement("polygon",{points:"0,0 30,0 15,10"}))});function Xx(e){const[t,n]=f.useState(void 0);return Or(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});const r=new ResizeObserver(o=>{if(!Array.isArray(o)||!o.length)return;const a=o[0];let i,s;if("borderBoxSize"in a){const l=a.borderBoxSize,u=Array.isArray(l)?l[0]:l;i=u.inlineSize,s=u.blockSize}else i=e.offsetWidth,s=e.offsetHeight;n({width:i,height:s})});return r.observe(e,{box:"border-box"}),()=>r.unobserve(e)}else n(void 0)},[e]),t}const xm="Popper",[Cm,ki]=Jn(xm),[Zx,wm]=Cm(xm),Yx=e=>{const{__scopePopper:t,children:n}=e,[r,o]=f.useState(null);return f.createElement(Zx,{scope:t,anchor:r,onAnchorChange:o},n)},Ux="PopperAnchor",Kx=f.forwardRef((e,t)=>{const{__scopePopper:n,virtualRef:r,...o}=e,a=wm(Ux,n),i=f.useRef(null),s=ct(t,i);return f.useEffect(()=>{a.onAnchorChange((r==null?void 0:r.current)||i.current)}),r?null:f.createElement(We.div,ge({},o,{ref:s}))}),Im="PopperContent",[Jx,Qx]=Cm(Im),qx=f.forwardRef((e,t)=>{var n,r,o,a,i,s,l,u;const{__scopePopper:c,side:d="bottom",sideOffset:p=0,align:m="center",alignOffset:h=0,arrowPadding:g=0,avoidCollisions:b=!0,collisionBoundary:x=[],collisionPadding:y=0,sticky:w="partial",hideWhenDetached:S=!1,updatePositionStrategy:P="optimized",onPlaced:A,...T}=e,v=wm(Im,c),[D,$]=f.useState(null),M=ct(t,ne=>$(ne)),[k,I]=f.useState(null),E=Xx(k),O=(n=E==null?void 0:E.width)!==null&&n!==void 0?n:0,j=(r=E==null?void 0:E.height)!==null&&r!==void 0?r:0,N=d+(m!=="center"?"-"+m:""),W=typeof y=="number"?y:{top:0,right:0,bottom:0,left:0,...y},K=Array.isArray(x)?x:[x],H=K.length>0,X={padding:W,boundary:K.filter(r8),altBoundary:H},{refs:B,floatingStyles:G,placement:Y,isPositioned:R,middlewareData:Z}=zx({strategy:"fixed",placement:N,whileElementsMounted:(...ne)=>_x(...ne,{animationFrame:P==="always"}),elements:{reference:v.anchor},middleware:[xx({mainAxis:p+j,alignmentAxis:h}),b&&Cx({mainAxis:!0,crossAxis:!1,limiter:w==="partial"?wx():void 0,...X}),b&&bx({...X}),Ix({...X,apply:({elements:ne,rects:Ge,availableWidth:Xe,availableHeight:Ze})=>{const{width:je,height:Kt}=Ge.reference,Dt=ne.floating.style;Dt.setProperty("--radix-popper-available-width",`${Xe}px`),Dt.setProperty("--radix-popper-available-height",`${Ze}px`),Dt.setProperty("--radix-popper-anchor-width",`${je}px`),Dt.setProperty("--radix-popper-anchor-height",`${Kt}px`)}}),k&&Rx({element:k,padding:g}),o8({arrowWidth:O,arrowHeight:j}),S&&vx({strategy:"referenceHidden",...X})]}),[q,ae]=Em(Y),le=an(A);Or(()=>{R&&(le==null||le())},[R,le]);const pe=(o=Z.arrow)===null||o===void 0?void 0:o.x,be=(a=Z.arrow)===null||a===void 0?void 0:a.y,Q=((i=Z.arrow)===null||i===void 0?void 0:i.centerOffset)!==0,[Pe,ie]=f.useState();return Or(()=>{D&&ie(window.getComputedStyle(D).zIndex)},[D]),f.createElement("div",{ref:B.setFloating,"data-radix-popper-content-wrapper":"",style:{...G,transform:R?G.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:Pe,"--radix-popper-transform-origin":[(s=Z.transformOrigin)===null||s===void 0?void 0:s.x,(l=Z.transformOrigin)===null||l===void 0?void 0:l.y].join(" ")},dir:e.dir},f.createElement(Jx,{scope:c,placedSide:q,onArrowChange:I,arrowX:pe,arrowY:be,shouldHideArrow:Q},f.createElement(We.div,ge({"data-side":q,"data-align":ae},T,{ref:M,style:{...T.style,animation:R?void 0:"none",opacity:(u=Z.hide)!==null&&u!==void 0&&u.referenceHidden?0:void 0}}))))}),e8="PopperArrow",t8={top:"bottom",right:"left",bottom:"top",left:"right"},n8=f.forwardRef(function(t,n){const{__scopePopper:r,...o}=t,a=Qx(e8,r),i=t8[a.placedSide];return f.createElement("span",{ref:a.onArrowChange,style:{position:"absolute",left:a.arrowX,top:a.arrowY,[i]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[a.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[a.placedSide],visibility:a.shouldHideArrow?"hidden":void 0}},f.createElement(Hx,ge({},o,{ref:n,style:{...o.style,display:"block"}})))});function r8(e){return e!==null}const o8=e=>({name:"transformOrigin",options:e,fn(t){var n,r,o,a,i;const{placement:s,rects:l,middlewareData:u}=t,d=((n=u.arrow)===null||n===void 0?void 0:n.centerOffset)!==0,p=d?0:e.arrowWidth,m=d?0:e.arrowHeight,[h,g]=Em(s),b={start:"0%",center:"50%",end:"100%"}[g],x=((r=(o=u.arrow)===null||o===void 0?void 0:o.x)!==null&&r!==void 0?r:0)+p/2,y=((a=(i=u.arrow)===null||i===void 0?void 0:i.y)!==null&&a!==void 0?a:0)+m/2;let w="",S="";return h==="bottom"?(w=d?b:`${x}px`,S=`${-m}px`):h==="top"?(w=d?b:`${x}px`,S=`${l.floating.height+m}px`):h==="right"?(w=`${-m}px`,S=d?b:`${y}px`):h==="left"&&(w=`${l.floating.width+m}px`,S=d?b:`${y}px`),{data:{x:w,y:S}}}});function Em(e){const[t,n="center"]=e.split("-");return[t,n]}const Pm=Yx,Sm=Kx,Mm=qx,a8=n8,Su=f.forwardRef((e,t)=>{var n;const{container:r=globalThis==null||(n=globalThis.document)===null||n===void 0?void 0:n.body,...o}=e;return r?mr.createPortal(f.createElement(We.div,ge({},o,{ref:t})),r):null});function i8(e,t){return f.useReducer((n,r)=>{const o=t[n][r];return o??n},e)}const dn=e=>{const{present:t,children:n}=e,r=s8(t),o=typeof n=="function"?n({present:r.isPresent}):f.Children.only(n),a=ct(r.ref,o.ref);return typeof n=="function"||r.isPresent?f.cloneElement(o,{ref:a}):null};dn.displayName="Presence";function s8(e){const[t,n]=f.useState(),r=f.useRef({}),o=f.useRef(e),a=f.useRef("none"),i=e?"mounted":"unmounted",[s,l]=i8(i,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return f.useEffect(()=>{const u=Oi(r.current);a.current=s==="mounted"?u:"none"},[s]),Or(()=>{const u=r.current,c=o.current;if(c!==e){const p=a.current,m=Oi(u);e?l("MOUNT"):m==="none"||(u==null?void 0:u.display)==="none"?l("UNMOUNT"):l(c&&p!==m?"ANIMATION_OUT":"UNMOUNT"),o.current=e}},[e,l]),Or(()=>{if(t){const u=d=>{const m=Oi(r.current).includes(d.animationName);d.target===t&&m&&mr.flushSync(()=>l("ANIMATION_END"))},c=d=>{d.target===t&&(a.current=Oi(r.current))};return t.addEventListener("animationstart",c),t.addEventListener("animationcancel",u),t.addEventListener("animationend",u),()=>{t.removeEventListener("animationstart",c),t.removeEventListener("animationcancel",u),t.removeEventListener("animationend",u)}}else l("ANIMATION_END")},[t,l]),{isPresent:["mounted","unmountSuspended"].includes(s),ref:f.useCallback(u=>{u&&(r.current=getComputedStyle(u)),n(u)},[])}}function Oi(e){return(e==null?void 0:e.animationName)||"none"}function Vo({prop:e,defaultProp:t,onChange:n=()=>{}}){const[r,o]=l8({defaultProp:t,onChange:n}),a=e!==void 0,i=a?e:r,s=an(n),l=f.useCallback(u=>{if(a){const d=typeof u=="function"?u(e):u;d!==e&&s(d)}else o(u)},[a,e,o,s]);return[i,l]}function l8({defaultProp:e,onChange:t}){const n=f.useState(e),[r]=n,o=f.useRef(r),a=an(t);return f.useEffect(()=>{o.current!==r&&(a(r),o.current=r)},[r,o,a]),n}const u8=f.forwardRef((e,t)=>f.createElement(We.span,ge({},e,{ref:t,style:{position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal",...e.style}}))),[Fi,TD]=Jn("Tooltip",[ki]),Li=ki(),c8="TooltipProvider",d8=700,Mu="tooltip.open",[f8,Au]=Fi(c8),p8=e=>{const{__scopeTooltip:t,delayDuration:n=d8,skipDelayDuration:r=300,disableHoverableContent:o=!1,children:a}=e,[i,s]=f.useState(!0),l=f.useRef(!1),u=f.useRef(0);return f.useEffect(()=>{const c=u.current;return()=>window.clearTimeout(c)},[]),f.createElement(f8,{scope:t,isOpenDelayed:i,delayDuration:n,onOpen:f.useCallback(()=>{window.clearTimeout(u.current),s(!1)},[]),onClose:f.useCallback(()=>{window.clearTimeout(u.current),u.current=window.setTimeout(()=>s(!0),r)},[r]),isPointerInTransitRef:l,onPointerInTransitChange:f.useCallback(c=>{l.current=c},[]),disableHoverableContent:o},a)},Tu="Tooltip",[m8,jo]=Fi(Tu),h8=e=>{const{__scopeTooltip:t,children:n,open:r,defaultOpen:o=!1,onOpenChange:a,disableHoverableContent:i,delayDuration:s}=e,l=Au(Tu,e.__scopeTooltip),u=Li(t),[c,d]=f.useState(null),p=Qn(),m=f.useRef(0),h=i??l.disableHoverableContent,g=s??l.delayDuration,b=f.useRef(!1),[x=!1,y]=Vo({prop:r,defaultProp:o,onChange:T=>{T?(l.onOpen(),document.dispatchEvent(new CustomEvent(Mu))):l.onClose(),a==null||a(T)}}),w=f.useMemo(()=>x?b.current?"delayed-open":"instant-open":"closed",[x]),S=f.useCallback(()=>{window.clearTimeout(m.current),b.current=!1,y(!0)},[y]),P=f.useCallback(()=>{window.clearTimeout(m.current),y(!1)},[y]),A=f.useCallback(()=>{window.clearTimeout(m.current),m.current=window.setTimeout(()=>{b.current=!0,y(!0)},g)},[g,y]);return f.useEffect(()=>()=>window.clearTimeout(m.current),[]),f.createElement(Pm,u,f.createElement(m8,{scope:t,contentId:p,open:x,stateAttribute:w,trigger:c,onTriggerChange:d,onTriggerEnter:f.useCallback(()=>{l.isOpenDelayed?A():S()},[l.isOpenDelayed,A,S]),onTriggerLeave:f.useCallback(()=>{h?P():window.clearTimeout(m.current)},[P,h]),onOpen:S,onClose:P,disableHoverableContent:h},n))},Am="TooltipTrigger",g8=f.forwardRef((e,t)=>{const{__scopeTooltip:n,...r}=e,o=jo(Am,n),a=Au(Am,n),i=Li(n),s=f.useRef(null),l=ct(t,s,o.onTriggerChange),u=f.useRef(!1),c=f.useRef(!1),d=f.useCallback(()=>u.current=!1,[]);return f.useEffect(()=>()=>document.removeEventListener("pointerup",d),[d]),f.createElement(Sm,ge({asChild:!0},i),f.createElement(We.button,ge({"aria-describedby":o.open?o.contentId:void 0,"data-state":o.stateAttribute},r,{ref:l,onPointerMove:Le(e.onPointerMove,p=>{p.pointerType!=="touch"&&!c.current&&!a.isPointerInTransitRef.current&&(o.onTriggerEnter(),c.current=!0)}),onPointerLeave:Le(e.onPointerLeave,()=>{o.onTriggerLeave(),c.current=!1}),onPointerDown:Le(e.onPointerDown,()=>{u.current=!0,document.addEventListener("pointerup",d,{once:!0})}),onFocus:Le(e.onFocus,()=>{u.current||o.onOpen()}),onBlur:Le(e.onBlur,o.onClose),onClick:Le(e.onClick,o.onClose)})))}),Tm="TooltipPortal",[b8,v8]=Fi(Tm,{forceMount:void 0}),y8=e=>{const{__scopeTooltip:t,forceMount:n,children:r,container:o}=e,a=jo(Tm,t);return f.createElement(b8,{scope:t,forceMount:n},f.createElement(dn,{present:n||a.open},f.createElement(Su,{asChild:!0,container:o},r)))},Bo="TooltipContent",x8=f.forwardRef((e,t)=>{const n=v8(Bo,e.__scopeTooltip),{forceMount:r=n.forceMount,side:o="top",...a}=e,i=jo(Bo,e.__scopeTooltip);return f.createElement(dn,{present:r||i.open},i.disableHoverableContent?f.createElement(Dm,ge({side:o},a,{ref:t})):f.createElement(C8,ge({side:o},a,{ref:t})))}),C8=f.forwardRef((e,t)=>{const n=jo(Bo,e.__scopeTooltip),r=Au(Bo,e.__scopeTooltip),o=f.useRef(null),a=ct(t,o),[i,s]=f.useState(null),{trigger:l,onClose:u}=n,c=o.current,{onPointerInTransitChange:d}=r,p=f.useCallback(()=>{s(null),d(!1)},[d]),m=f.useCallback((h,g)=>{const b=h.currentTarget,x={x:h.clientX,y:h.clientY},y=S8(x,b.getBoundingClientRect()),w=M8(x,y),S=A8(g.getBoundingClientRect()),P=D8([...w,...S]);s(P),d(!0)},[d]);return f.useEffect(()=>()=>p(),[p]),f.useEffect(()=>{if(l&&c){const h=b=>m(b,c),g=b=>m(b,l);return l.addEventListener("pointerleave",h),c.addEventListener("pointerleave",g),()=>{l.removeEventListener("pointerleave",h),c.removeEventListener("pointerleave",g)}}},[l,c,m,p]),f.useEffect(()=>{if(i){const h=g=>{const b=g.target,x={x:g.clientX,y:g.clientY},y=(l==null?void 0:l.contains(b))||(c==null?void 0:c.contains(b)),w=!T8(x,i);y?p():w&&(p(),u())};return document.addEventListener("pointermove",h),()=>document.removeEventListener("pointermove",h)}},[l,c,i,u,p]),f.createElement(Dm,ge({},e,{ref:a}))}),[w8,I8]=Fi(Tu,{isInside:!1}),Dm=f.forwardRef((e,t)=>{const{__scopeTooltip:n,children:r,"aria-label":o,onEscapeKeyDown:a,onPointerDownOutside:i,...s}=e,l=jo(Bo,n),u=Li(n),{onClose:c}=l;return f.useEffect(()=>(document.addEventListener(Mu,c),()=>document.removeEventListener(Mu,c)),[c]),f.useEffect(()=>{if(l.trigger){const d=p=>{const m=p.target;m!=null&&m.contains(l.trigger)&&c()};return window.addEventListener("scroll",d,{capture:!0}),()=>window.removeEventListener("scroll",d,{capture:!0})}},[l.trigger,c]),f.createElement(bu,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:a,onPointerDownOutside:i,onFocusOutside:d=>d.preventDefault(),onDismiss:c},f.createElement(Mm,ge({"data-state":l.stateAttribute},u,s,{ref:t,style:{...s.style,"--radix-tooltip-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-tooltip-content-available-width":"var(--radix-popper-available-width)","--radix-tooltip-content-available-height":"var(--radix-popper-available-height)","--radix-tooltip-trigger-width":"var(--radix-popper-anchor-width)","--radix-tooltip-trigger-height":"var(--radix-popper-anchor-height)"}}),f.createElement(Q1,null,r),f.createElement(w8,{scope:n,isInside:!0},f.createElement(u8,{id:l.contentId,role:"tooltip"},o||r))))}),E8="TooltipArrow",P8=f.forwardRef((e,t)=>{const{__scopeTooltip:n,...r}=e,o=Li(n);return I8(E8,n).isInside?null:f.createElement(a8,ge({},o,r,{ref:t}))});function S8(e,t){const n=Math.abs(t.top-e.y),r=Math.abs(t.bottom-e.y),o=Math.abs(t.right-e.x),a=Math.abs(t.left-e.x);switch(Math.min(n,r,o,a)){case a:return"left";case o:return"right";case n:return"top";case r:return"bottom";default:throw new Error("unreachable")}}function M8(e,t,n=5){const r=[];switch(t){case"top":r.push({x:e.x-n,y:e.y+n},{x:e.x+n,y:e.y+n});break;case"bottom":r.push({x:e.x-n,y:e.y-n},{x:e.x+n,y:e.y-n});break;case"left":r.push({x:e.x+n,y:e.y-n},{x:e.x+n,y:e.y+n});break;case"right":r.push({x:e.x-n,y:e.y-n},{x:e.x-n,y:e.y+n});break}return r}function A8(e){const{top:t,right:n,bottom:r,left:o}=e;return[{x:o,y:t},{x:n,y:t},{x:n,y:r},{x:o,y:r}]}function T8(e,t){const{x:n,y:r}=e;let o=!1;for(let a=0,i=t.length-1;a<t.length;i=a++){const s=t[a].x,l=t[a].y,u=t[i].x,c=t[i].y;l>r!=c>r&&n<(u-s)*(r-l)/(c-l)+s&&(o=!o)}return o}function D8(e){const t=e.slice();return t.sort((n,r)=>n.x<r.x?-1:n.x>r.x?1:n.y<r.y?-1:n.y>r.y?1:0),N8(t)}function N8(e){if(e.length<=1)return e.slice();const t=[];for(let r=0;r<e.length;r++){const o=e[r];for(;t.length>=2;){const a=t[t.length-1],i=t[t.length-2];if((a.x-i.x)*(o.y-i.y)>=(a.y-i.y)*(o.x-i.x))t.pop();else break}t.push(o)}t.pop();const n=[];for(let r=e.length-1;r>=0;r--){const o=e[r];for(;n.length>=2;){const a=n[n.length-1],i=n[n.length-2];if((a.x-i.x)*(o.y-i.y)>=(a.y-i.y)*(o.x-i.x))n.pop();else break}n.push(o)}return n.pop(),t.length===1&&n.length===1&&t[0].x===n[0].x&&t[0].y===n[0].y?t:t.concat(n)}const $8=p8,k8=h8,O8=g8,F8=y8,L8=x8,V8=P8,j8=({children:e,showArrow:t=!1,startOpen:n=!1,content:r,hasCloseButton:o=!1,action:a,size:i="sm"})=>{const[s,l]=f.useState(n),u=ye({base:"rounded-lg bg-primary-black-400 px-4 pb-[13px] pt-[12px] font-satoshi text-sm font-medium text-white",variants:{size:{sm:"max-w-[215px]",lg:"max-w-[342px]"}}}),c=()=>{l(!1)},d=()=>{a&&a.onClick(),c()};return F.jsx($8,{children:F.jsxs(k8,{delayDuration:0,defaultOpen:s,open:s,onOpenChange:p=>l(p),children:[F.jsx(O8,{asChild:!0,children:e}),F.jsx(F8,{children:F.jsxs(L8,{className:u({size:i}),sideOffset:5,children:[F.jsxs("div",{children:[F.jsxs("div",{className:"flex gap-4",children:[r,o&&F.jsx(rt,{onClick:c,name:"close",className:"mt-1 cursor-pointer text-xs text-white"})]}),a&&F.jsx(du,{className:"-mb-1 mt-1 !h-6 !px-0",variant:"tertiaryDark",onClick:d,children:a.label})]}),t&&F.jsx(V8,{className:"TooltipArrow"})]})})]})})};function B8(e){const t=e+"CollectionProvider",[n,r]=Jn(t),[o,a]=n(t,{collectionRef:{current:null},itemMap:new Map}),i=m=>{const{scope:h,children:g}=m,b=f.useRef(null),x=f.useRef(new Map).current;return f.createElement(o,{scope:h,itemMap:x,collectionRef:b},g)},s=e+"CollectionSlot",l=f.forwardRef((m,h)=>{const{scope:g,children:b}=m,x=a(s,g),y=ct(h,x.collectionRef);return f.createElement(kr,{ref:y},b)}),u=e+"CollectionItemSlot",c="data-radix-collection-item",d=f.forwardRef((m,h)=>{const{scope:g,children:b,...x}=m,y=f.useRef(null),w=ct(h,y),S=a(u,g);return f.useEffect(()=>(S.itemMap.set(y,{ref:y,...x}),()=>void S.itemMap.delete(y))),f.createElement(kr,{[c]:"",ref:w},b)});function p(m){const h=a(e+"CollectionConsumer",m);return f.useCallback(()=>{const b=h.collectionRef.current;if(!b)return[];const x=Array.from(b.querySelectorAll(`[${c}]`));return Array.from(h.itemMap.values()).sort((S,P)=>x.indexOf(S.ref.current)-x.indexOf(P.ref.current))},[h.collectionRef,h.itemMap])}return[{Provider:i,Slot:l,ItemSlot:d},p,r]}const W8=f.createContext(void 0);function Nm(e){const t=f.useContext(W8);return e||t||"ltr"}const Du="rovingFocusGroup.onEntryFocus",_8={bubbles:!1,cancelable:!0},Nu="RovingFocusGroup",[$u,$m,G8]=B8(Nu),[R8,km]=Jn(Nu,[G8]),[z8,H8]=R8(Nu),X8=f.forwardRef((e,t)=>f.createElement($u.Provider,{scope:e.__scopeRovingFocusGroup},f.createElement($u.Slot,{scope:e.__scopeRovingFocusGroup},f.createElement(Z8,ge({},e,{ref:t}))))),Z8=f.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:n,orientation:r,loop:o=!1,dir:a,currentTabStopId:i,defaultCurrentTabStopId:s,onCurrentTabStopIdChange:l,onEntryFocus:u,...c}=e,d=f.useRef(null),p=ct(t,d),m=Nm(a),[h=null,g]=Vo({prop:i,defaultProp:s,onChange:l}),[b,x]=f.useState(!1),y=an(u),w=$m(n),S=f.useRef(!1),[P,A]=f.useState(0);return f.useEffect(()=>{const T=d.current;if(T)return T.addEventListener(Du,y),()=>T.removeEventListener(Du,y)},[y]),f.createElement(z8,{scope:n,orientation:r,dir:m,loop:o,currentTabStopId:h,onItemFocus:f.useCallback(T=>g(T),[g]),onItemShiftTab:f.useCallback(()=>x(!0),[]),onFocusableItemAdd:f.useCallback(()=>A(T=>T+1),[]),onFocusableItemRemove:f.useCallback(()=>A(T=>T-1),[])},f.createElement(We.div,ge({tabIndex:b||P===0?-1:0,"data-orientation":r},c,{ref:p,style:{outline:"none",...e.style},onMouseDown:Le(e.onMouseDown,()=>{S.current=!0}),onFocus:Le(e.onFocus,T=>{const v=!S.current;if(T.target===T.currentTarget&&v&&!b){const D=new CustomEvent(Du,_8);if(T.currentTarget.dispatchEvent(D),!D.defaultPrevented){const $=w().filter(O=>O.focusable),M=$.find(O=>O.active),k=$.find(O=>O.id===h),E=[M,k,...$].filter(Boolean).map(O=>O.ref.current);Om(E)}}S.current=!1}),onBlur:Le(e.onBlur,()=>x(!1))})))}),Y8="RovingFocusGroupItem",U8=f.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:n,focusable:r=!0,active:o=!1,tabStopId:a,...i}=e,s=Qn(),l=a||s,u=H8(Y8,n),c=u.currentTabStopId===l,d=$m(n),{onFocusableItemAdd:p,onFocusableItemRemove:m}=u;return f.useEffect(()=>{if(r)return p(),()=>m()},[r,p,m]),f.createElement($u.ItemSlot,{scope:n,id:l,focusable:r,active:o},f.createElement(We.span,ge({tabIndex:c?0:-1,"data-orientation":u.orientation},i,{ref:t,onMouseDown:Le(e.onMouseDown,h=>{r?u.onItemFocus(l):h.preventDefault()}),onFocus:Le(e.onFocus,()=>u.onItemFocus(l)),onKeyDown:Le(e.onKeyDown,h=>{if(h.key==="Tab"&&h.shiftKey){u.onItemShiftTab();return}if(h.target!==h.currentTarget)return;const g=Q8(h,u.orientation,u.dir);if(g!==void 0){h.preventDefault();let x=d().filter(y=>y.focusable).map(y=>y.ref.current);if(g==="last")x.reverse();else if(g==="prev"||g==="next"){g==="prev"&&x.reverse();const y=x.indexOf(h.currentTarget);x=u.loop?q8(x,y+1):x.slice(y+1)}setTimeout(()=>Om(x))}})})))}),K8={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function J8(e,t){return t!=="rtl"?e:e==="ArrowLeft"?"ArrowRight":e==="ArrowRight"?"ArrowLeft":e}function Q8(e,t,n){const r=J8(e.key,n);if(!(t==="vertical"&&["ArrowLeft","ArrowRight"].includes(r))&&!(t==="horizontal"&&["ArrowUp","ArrowDown"].includes(r)))return K8[r]}function Om(e){const t=document.activeElement;for(const n of e)if(n===t||(n.focus(),document.activeElement!==t))return}function q8(e,t){return e.map((n,r)=>e[(t+r)%e.length])}const eC=X8,tC=U8,Fm="Tabs",[nC,DD]=Jn(Fm,[km]),Lm=km(),[rC,ku]=nC(Fm),oC=f.forwardRef((e,t)=>{const{__scopeTabs:n,value:r,onValueChange:o,defaultValue:a,orientation:i="horizontal",dir:s,activationMode:l="automatic",...u}=e,c=Nm(s),[d,p]=Vo({prop:r,onChange:o,defaultProp:a});return f.createElement(rC,{scope:n,baseId:Qn(),value:d,onValueChange:p,orientation:i,dir:c,activationMode:l},f.createElement(We.div,ge({dir:c,"data-orientation":i},u,{ref:t})))}),aC="TabsList",iC=f.forwardRef((e,t)=>{const{__scopeTabs:n,loop:r=!0,...o}=e,a=ku(aC,n),i=Lm(n);return f.createElement(eC,ge({asChild:!0},i,{orientation:a.orientation,dir:a.dir,loop:r}),f.createElement(We.div,ge({role:"tablist","aria-orientation":a.orientation},o,{ref:t})))}),sC="TabsTrigger",lC=f.forwardRef((e,t)=>{const{__scopeTabs:n,value:r,disabled:o=!1,...a}=e,i=ku(sC,n),s=Lm(n),l=Vm(i.baseId,r),u=jm(i.baseId,r),c=r===i.value;return f.createElement(tC,ge({asChild:!0},s,{focusable:!o,active:c}),f.createElement(We.button,ge({type:"button",role:"tab","aria-selected":c,"aria-controls":u,"data-state":c?"active":"inactive","data-disabled":o?"":void 0,disabled:o,id:l},a,{ref:t,onMouseDown:Le(e.onMouseDown,d=>{!o&&d.button===0&&d.ctrlKey===!1?i.onValueChange(r):d.preventDefault()}),onKeyDown:Le(e.onKeyDown,d=>{[" ","Enter"].includes(d.key)&&i.onValueChange(r)}),onFocus:Le(e.onFocus,()=>{const d=i.activationMode!=="manual";!c&&!o&&d&&i.onValueChange(r)})})))}),uC="TabsContent",cC=f.forwardRef((e,t)=>{const{__scopeTabs:n,value:r,forceMount:o,children:a,...i}=e,s=ku(uC,n),l=Vm(s.baseId,r),u=jm(s.baseId,r),c=r===s.value,d=f.useRef(c);return f.useEffect(()=>{const p=requestAnimationFrame(()=>d.current=!1);return()=>cancelAnimationFrame(p)},[]),f.createElement(dn,{present:o||c},({present:p})=>f.createElement(We.div,ge({"data-state":c?"active":"inactive","data-orientation":s.orientation,role:"tabpanel","aria-labelledby":l,hidden:!p,id:u,tabIndex:0},i,{ref:t,style:{...e.style,animationDuration:d.current?"0s":void 0}}),p&&a))});function Vm(e,t){return`${e}-trigger-${t}`}function jm(e,t){return`${e}-content-${t}`}const dC=oC,fC=iC,pC=lC,mC=cC,hC=({tabs:e,defaultValue:t,variant:n="button",className:r,...o})=>{const a=ye({base:"",variants:{variant:{underline:"",button:""}}}),i=ye({base:"flex flex-row",variants:{variant:{underline:"",button:""}}}),s=ye({base:"flex h-[82px] w-[197px] items-center justify-center gap-2 text-lg font-medium text-primary-grey-700 hover:text-primary-grey-800 data-[state=active]:font-bold data-[state=active]:text-secondary-green-500",variants:{variant:{underline:"border-b border-primary-grey-600 border-t-transparent hover:border-b-4 hover:border-t-3 hover:border-b-primary-grey-700 hover:font-bold data-[state=active]:border-b-4 data-[state=active]:border-t-3 data-[state=active]:border-b-secondary-green-500 data-[state=active]:text-secondary-green-500",button:"relative z-0 -mr-[1px] rounded-none border border-primary-grey-600 first:rounded-l-xl last:rounded-r-xl hover:z-10 hover:border-2 hover:border-primary-grey-800 data-[state=active]:z-20 data-[state=active]:border-2 data-[state=active]:border-secondary-green-500"}}});return F.jsxs(dC,{defaultValue:t??e[0].key,className:a({variant:n,className:r}),...o,children:[F.jsx(fC,{className:i({variant:n}),children:e.map(({icon:l,key:u,title:c})=>F.jsxs(pC,{value:u,className:s({variant:n}),children:[l&&(typeof l=="string"?F.jsx(rt,{className:"-mt-[1px]",name:l}):l),c]},u))}),e.map(({content:l,key:u})=>F.jsx(mC,{value:u,className:"w-full",children:l},u))]})},Ou=f.forwardRef(({disabled:e,isDatePicker:t,isInvalid:n,isValid:r,className:o,icon:a,message:i,iconAction:s,...l},u)=>{const c=ye({base:"[&_input]:data-[filled-within=true]:!bg-transparent [&_label]:data-[filled-within=true]:!left-[15px] [&_label]:data-[filled-within=true]:!top-[20px] [&_label]:data-[filled-within=true]:!ml-[1px] [&_label]:data-[filled-within=true]:!text-xs [&_label]:data-[filled-within=true]:!text-primary-grey-800",variants:{isInvalid:{true:"[&_label]:data-[filled-within=true]:!text-complementary-red-500"},isValid:{true:"[&_label]:data-[filled-within=true]:!text-secondary-green-500"},disabled:{true:"[&_label]:data-[filled-within=true]:!text-primary-grey-700"}}}),d=ye({base:"left-[16px] top-6 font-satoshi text-xs text-primary-grey-800",variants:{isInvalid:{true:"text-complementary-red-500"},isValid:{true:"text-secondary-green-500"},disabled:{true:"text-primary-grey-700"}}}),p=ye({base:"text-left font-satoshi text-base",variants:{disabled:{true:"!text-primary-grey-700"},isDatePicker:{true:"!cursor-pointer"}}}),m=ye({base:"h-12 rounded-lg border border-primary-grey-700 !bg-white px-[15px] text-black !ring-0 !ring-offset-0",variants:{isInvalid:{true:"border-complementary-red-500"},isValid:{true:"border-secondary-green-500"},disabled:{true:"!border-primary-grey-500 !bg-primary-grey-500"},isDatePicker:{true:"!cursor-pointer"}}}),h=ye({base:"mt-[5px] pl-3 font-satoshi",variants:{isInvalid:{true:"text-complementary-red-500"},isValid:{true:"text-secondary-green-500"}}}),g=ye({base:"text-primary-grey-800",variants:{iconAction:{true:"cursor-pointer"}}}),{Component:b,label:x,domRef:y,startContent:w,shouldLabelBeOutside:S,shouldLabelBeInside:P,getBaseProps:A,getLabelProps:T,getInputProps:v,getInnerWrapperProps:D,getInputWrapperProps:$,getDescriptionProps:M}=K9({...l,disabled:e,labelPlacement:"outside",ref:u,classNames:{input:p({disabled:e,isDatePicker:t}),inputWrapper:m({isInvalid:n,isValid:r,disabled:e,isDatePicker:t}),base:c({isInvalid:n,isValid:r,disabled:e,className:o}),label:d({isInvalid:n,isValid:r,disabled:e}),description:h({isInvalid:n,isValid:r})}}),k=F.jsx("label",{...T(),children:x}),I=f.useMemo(()=>w||a?F.jsxs("div",{...D(),children:[w,F.jsx("input",{...v()}),a&&(typeof a=="string"?F.jsx(rt,{onClick:s,name:a,className:g({iconAction:!!s})}):a)]}):F.jsx("input",{...v()}),[w,s,g,a,v,D]);return F.jsxs(b,{...A(),children:[S?k:null,F.jsxs("div",{...$(),role:"button",onClick:()=>{var E;(E=y.current)==null||E.focus()},children:[P?k:null,I]}),i&&F.jsx("div",{...M(),children:i})]})}),gC=f.forwardRef((e,t)=>{const[n,r]=f.useState(!1),o=()=>{r(a=>!a)};return F.jsx(Ou,{ref:t,icon:n?"eye":"eye-off",type:n?"text":"password",iconAction:o,...e})});let Fu=0;function Bm(){f.useEffect(()=>{var e,t;const n=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",(e=n[0])!==null&&e!==void 0?e:Wm()),document.body.insertAdjacentElement("beforeend",(t=n[1])!==null&&t!==void 0?t:Wm()),Fu++,()=>{Fu===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(r=>r.remove()),Fu--}},[])}function Wm(){const e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.cssText="outline: none; opacity: 0; position: fixed; pointer-events: none",e}const Lu="focusScope.autoFocusOnMount",Vu="focusScope.autoFocusOnUnmount",_m={bubbles:!1,cancelable:!0},Gm=f.forwardRef((e,t)=>{const{loop:n=!1,trapped:r=!1,onMountAutoFocus:o,onUnmountAutoFocus:a,...i}=e,[s,l]=f.useState(null),u=an(o),c=an(a),d=f.useRef(null),p=ct(t,g=>l(g)),m=f.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;f.useEffect(()=>{if(r){let g=function(w){if(m.paused||!s)return;const S=w.target;s.contains(S)?d.current=S:Nn(d.current,{select:!0})},b=function(w){if(m.paused||!s)return;const S=w.relatedTarget;S!==null&&(s.contains(S)||Nn(d.current,{select:!0}))},x=function(w){if(document.activeElement===document.body)for(const P of w)P.removedNodes.length>0&&Nn(s)};document.addEventListener("focusin",g),document.addEventListener("focusout",b);const y=new MutationObserver(x);return s&&y.observe(s,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",g),document.removeEventListener("focusout",b),y.disconnect()}}},[r,s,m.paused]),f.useEffect(()=>{if(s){Hm.add(m);const g=document.activeElement;if(!s.contains(g)){const x=new CustomEvent(Lu,_m);s.addEventListener(Lu,u),s.dispatchEvent(x),x.defaultPrevented||(bC(wC(Rm(s)),{select:!0}),document.activeElement===g&&Nn(s))}return()=>{s.removeEventListener(Lu,u),setTimeout(()=>{const x=new CustomEvent(Vu,_m);s.addEventListener(Vu,c),s.dispatchEvent(x),x.defaultPrevented||Nn(g??document.body,{select:!0}),s.removeEventListener(Vu,c),Hm.remove(m)},0)}}},[s,u,c,m]);const h=f.useCallback(g=>{if(!n&&!r||m.paused)return;const b=g.key==="Tab"&&!g.altKey&&!g.ctrlKey&&!g.metaKey,x=document.activeElement;if(b&&x){const y=g.currentTarget,[w,S]=vC(y);w&&S?!g.shiftKey&&x===S?(g.preventDefault(),n&&Nn(w,{select:!0})):g.shiftKey&&x===w&&(g.preventDefault(),n&&Nn(S,{select:!0})):x===y&&g.preventDefault()}},[n,r,m.paused]);return f.createElement(We.div,ge({tabIndex:-1},i,{ref:p,onKeyDown:h}))});function bC(e,{select:t=!1}={}){const n=document.activeElement;for(const r of e)if(Nn(r,{select:t}),document.activeElement!==n)return}function vC(e){const t=Rm(e),n=zm(t,e),r=zm(t.reverse(),e);return[n,r]}function Rm(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:r=>{const o=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||o?NodeFilter.FILTER_SKIP:r.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function zm(e,t){for(const n of e)if(!yC(n,{upTo:t}))return n}function yC(e,{upTo:t}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(t!==void 0&&e===t)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}function xC(e){return e instanceof HTMLInputElement&&"select"in e}function Nn(e,{select:t=!1}={}){if(e&&e.focus){const n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&xC(e)&&t&&e.select()}}const Hm=CC();function CC(){let e=[];return{add(t){const n=e[0];t!==n&&(n==null||n.pause()),e=Xm(e,t),e.unshift(t)},remove(t){var n;e=Xm(e,t),(n=e[0])===null||n===void 0||n.resume()}}}function Xm(e,t){const n=[...e],r=n.indexOf(t);return r!==-1&&n.splice(r,1),n}function wC(e){return e.filter(t=>t.tagName!=="A")}var IC=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},Br=new WeakMap,Vi=new WeakMap,ji={},ju=0,Zm=function(e){return e&&(e.host||Zm(e.parentNode))},EC=function(e,t){return t.map(function(n){if(e.contains(n))return n;var r=Zm(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})},PC=function(e,t,n,r){var o=EC(t,Array.isArray(e)?e:[e]);ji[n]||(ji[n]=new WeakMap);var a=ji[n],i=[],s=new Set,l=new Set(o),u=function(d){!d||s.has(d)||(s.add(d),u(d.parentNode))};o.forEach(u);var c=function(d){!d||l.has(d)||Array.prototype.forEach.call(d.children,function(p){if(s.has(p))c(p);else{var m=p.getAttribute(r),h=m!==null&&m!=="false",g=(Br.get(p)||0)+1,b=(a.get(p)||0)+1;Br.set(p,g),a.set(p,b),i.push(p),g===1&&h&&Vi.set(p,!0),b===1&&p.setAttribute(n,"true"),h||p.setAttribute(r,"true")}})};return c(t),s.clear(),ju++,function(){i.forEach(function(d){var p=Br.get(d)-1,m=a.get(d)-1;Br.set(d,p),a.set(d,m),p||(Vi.has(d)||d.removeAttribute(r),Vi.delete(d)),m||d.removeAttribute(n)}),ju--,ju||(Br=new WeakMap,Br=new WeakMap,Vi=new WeakMap,ji={})}},Ym=function(e,t,n){n===void 0&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),o=t||IC(e);return o?(r.push.apply(r,Array.from(o.querySelectorAll("[aria-live]"))),PC(r,o,n,"aria-hidden")):function(){return null}},Um=o7(),Bu=function(){},Bi=V.forwardRef(function(e,t){var n=V.useRef(null),r=V.useState({onScrollCapture:Bu,onWheelCapture:Bu,onTouchMoveCapture:Bu}),o=r[0],a=r[1],i=e.forwardProps,s=e.children,l=e.className,u=e.removeScrollBar,c=e.enabled,d=e.shards,p=e.sideCar,m=e.noIsolation,h=e.inert,g=e.allowPinchZoom,b=e.as,x=b===void 0?"div":b,y=Zd(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as"]),w=p,S=t7([n,t]),P=_t(_t({},y),o);return V.createElement(V.Fragment,null,c&&V.createElement(w,{sideCar:Um,removeScrollBar:u,shards:d,noIsolation:m,inert:h,setCallbacks:a,allowPinchZoom:!!g,lockRef:n}),i?V.cloneElement(V.Children.only(s),_t(_t({},P),{ref:S})):V.createElement(x,_t({},P,{className:l,ref:S}),s))});Bi.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},Bi.classNames={fullWidth:bi,zeroRight:gi};var Wu=!1;if(typeof window<"u")try{var Wi=Object.defineProperty({},"passive",{get:function(){return Wu=!0,!0}});window.addEventListener("test",Wi,Wi),window.removeEventListener("test",Wi,Wi)}catch{Wu=!1}var Wr=Wu?{passive:!1}:!1,SC=function(e){return e.tagName==="TEXTAREA"},Km=function(e,t){var n=window.getComputedStyle(e);return n[t]!=="hidden"&&!(n.overflowY===n.overflowX&&!SC(e)&&n[t]==="visible")},MC=function(e){return Km(e,"overflowY")},AC=function(e){return Km(e,"overflowX")},Jm=function(e,t){var n=t;do{typeof ShadowRoot<"u"&&n instanceof ShadowRoot&&(n=n.host);var r=Qm(e,n);if(r){var o=qm(e,n),a=o[1],i=o[2];if(a>i)return!0}n=n.parentNode}while(n&&n!==document.body);return!1},TC=function(e){var t=e.scrollTop,n=e.scrollHeight,r=e.clientHeight;return[t,n,r]},DC=function(e){var t=e.scrollLeft,n=e.scrollWidth,r=e.clientWidth;return[t,n,r]},Qm=function(e,t){return e==="v"?MC(t):AC(t)},qm=function(e,t){return e==="v"?TC(t):DC(t)},NC=function(e,t){return e==="h"&&t==="rtl"?-1:1},$C=function(e,t,n,r,o){var a=NC(e,window.getComputedStyle(t).direction),i=a*r,s=n.target,l=t.contains(s),u=!1,c=i>0,d=0,p=0;do{var m=qm(e,s),h=m[0],g=m[1],b=m[2],x=g-b-a*h;(h||x)&&Qm(e,s)&&(d+=x,p+=h),s=s.parentNode}while(!l&&s!==document.body||l&&(t.contains(s)||t===s));return(c&&(o&&d===0||!o&&i>d)||!c&&(o&&p===0||!o&&-i>p))&&(u=!0),u},_i=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},eh=function(e){return[e.deltaX,e.deltaY]},th=function(e){return e&&"current"in e?e.current:e},kC=function(e,t){return e[0]===t[0]&&e[1]===t[1]},OC=function(e){return`
73
73
  .block-interactivity-`.concat(e,` {pointer-events: none;}
74
74
  .allow-interactivity-`).concat(e,` {pointer-events: all;}
75
- `)},y8=0,xn=[];function x8(e){var t=W.useRef([]),r=W.useRef([0,0]),n=W.useRef(),o=W.useState(y8++)[0],a=W.useState(function(){return Qp()})[0],s=W.useRef(e);W.useEffect(function(){s.current=e},[e]),W.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var v=Zm([e.lockRef.current],(e.shards||[]).map(g1),!0).filter(Boolean);return v.forEach(function(b){return b.classList.add("allow-interactivity-".concat(o))}),function(){document.body.classList.remove("block-interactivity-".concat(o)),v.forEach(function(b){return b.classList.remove("allow-interactivity-".concat(o))})}}},[e.inert,e.lockRef.current,e.shards]);var i=W.useCallback(function(v,b){if("touches"in v&&v.touches.length===2)return!s.current.allowPinchZoom;var P=is(v),x=r.current,w="deltaX"in v?v.deltaX:x[0]-P[0],T="deltaY"in v?v.deltaY:x[1]-P[1],$,E=v.target,A=Math.abs(w)>Math.abs(T)?"h":"v";if("touches"in v&&A==="h"&&E.type==="range")return!1;var m=f1(A,E);if(!m)return!0;if(m?$=A:($=A==="v"?"h":"v",m=f1(A,E)),!m)return!1;if(!n.current&&"changedTouches"in v&&(w||T)&&(n.current=$),!$)return!0;var k=n.current||$;return g8(k,b,v,k==="h"?w:T,!0)},[]),l=W.useCallback(function(v){var b=v;if(!(!xn.length||xn[xn.length-1]!==a)){var P="deltaY"in b?m1(b):is(b),x=t.current.filter(function($){return $.name===b.type&&$.target===b.target&&v8($.delta,P)})[0];if(x&&x.should){b.cancelable&&b.preventDefault();return}if(!x){var w=(s.current.shards||[]).map(g1).filter(Boolean).filter(function($){return $.contains(b.target)}),T=w.length>0?i(b,w[0]):!s.current.noIsolation;T&&b.cancelable&&b.preventDefault()}}},[]),c=W.useCallback(function(v,b,P,x){var w={name:v,delta:b,target:P,should:x};t.current.push(w),setTimeout(function(){t.current=t.current.filter(function(T){return T!==w})},1)},[]),u=W.useCallback(function(v){r.current=is(v),n.current=void 0},[]),d=W.useCallback(function(v){c(v.type,m1(v),v.target,i(v,e.lockRef.current))},[]),p=W.useCallback(function(v){c(v.type,is(v),v.target,i(v,e.lockRef.current))},[]);W.useEffect(function(){return xn.push(a),e.setCallbacks({onScrollCapture:d,onWheelCapture:d,onTouchMoveCapture:p}),document.addEventListener("wheel",l,yn),document.addEventListener("touchmove",l,yn),document.addEventListener("touchstart",u,yn),function(){xn=xn.filter(function(v){return v!==a}),document.removeEventListener("wheel",l,yn),document.removeEventListener("touchmove",l,yn),document.removeEventListener("touchstart",u,yn)}},[]);var h=e.removeScrollBar,g=e.inert;return W.createElement(W.Fragment,null,g?W.createElement(a,{styles:b8(o)}):null,h?W.createElement(t3,{gapMode:"margin"}):null)}const w8=K4(u1,x8);var v1=W.forwardRef(function(e,t){return W.createElement(as,Tt({},e,{ref:t,sideCar:w8}))});v1.classNames=as.classNames;const b1=v1,y1="Popover",[x1,cP]=Ir(y1,[Ja]),_l=Ja(),[C8,Or]=x1(y1),P8=e=>{const{__scopePopover:t,children:r,open:n,defaultOpen:o,onOpenChange:a,modal:s=!1}=e,i=_l(t),l=f.useRef(null),[c,u]=f.useState(!1),[d=!1,p]=fo({prop:n,defaultProp:o,onChange:a});return f.createElement(z0,i,f.createElement(C8,{scope:t,contentId:Ar(),triggerRef:l,open:d,onOpenChange:p,onOpenToggle:f.useCallback(()=>p(h=>!h),[p]),hasCustomAnchor:c,onCustomAnchorAdd:f.useCallback(()=>u(!0),[]),onCustomAnchorRemove:f.useCallback(()=>u(!1),[]),modal:s},r))},M8="PopoverTrigger",S8=f.forwardRef((e,t)=>{const{__scopePopover:r,...n}=e,o=Or(M8,r),a=_l(r),s=Je(t,o.triggerRef),i=f.createElement(Ne.button,fe({type:"button","aria-haspopup":"dialog","aria-expanded":o.open,"aria-controls":o.contentId,"data-state":P1(o.open)},n,{ref:s,onClick:De(e.onClick,o.onOpenToggle)}));return o.hasCustomAnchor?i:f.createElement(W0,fe({asChild:!0},a),i)}),w1="PopoverPortal",[T8,E8]=x1(w1,{forceMount:void 0}),$8=e=>{const{__scopePopover:t,forceMount:r,children:n,container:o}=e,a=Or(w1,t);return f.createElement(T8,{scope:t,forceMount:r},f.createElement(Ht,{present:r||a.open},f.createElement(Cl,{asChild:!0,container:o},n)))},mo="PopoverContent",D8=f.forwardRef((e,t)=>{const r=E8(mo,e.__scopePopover),{forceMount:n=r.forceMount,...o}=e,a=Or(mo,e.__scopePopover);return f.createElement(Ht,{present:n||a.open},a.modal?f.createElement(k8,fe({},o,{ref:t})):f.createElement(I8,fe({},o,{ref:t})))}),k8=f.forwardRef((e,t)=>{const r=Or(mo,e.__scopePopover),n=f.useRef(null),o=Je(t,n),a=f.useRef(!1);return f.useEffect(()=>{const s=n.current;if(s)return c1(s)},[]),f.createElement(b1,{as:fn,allowPinchZoom:!0},f.createElement(C1,fe({},e,{ref:o,trapFocus:r.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:De(e.onCloseAutoFocus,s=>{var i;s.preventDefault(),a.current||(i=r.triggerRef.current)===null||i===void 0||i.focus()}),onPointerDownOutside:De(e.onPointerDownOutside,s=>{const i=s.detail.originalEvent,l=i.button===0&&i.ctrlKey===!0,c=i.button===2||l;a.current=c},{checkForDefaultPrevented:!1}),onFocusOutside:De(e.onFocusOutside,s=>s.preventDefault(),{checkForDefaultPrevented:!1})})))}),I8=f.forwardRef((e,t)=>{const r=Or(mo,e.__scopePopover),n=f.useRef(!1),o=f.useRef(!1);return f.createElement(C1,fe({},e,{ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:a=>{var s;if((s=e.onCloseAutoFocus)===null||s===void 0||s.call(e,a),!a.defaultPrevented){var i;n.current||(i=r.triggerRef.current)===null||i===void 0||i.focus(),a.preventDefault()}n.current=!1,o.current=!1},onInteractOutside:a=>{var s,i;(s=e.onInteractOutside)===null||s===void 0||s.call(e,a),a.defaultPrevented||(n.current=!0,a.detail.originalEvent.type==="pointerdown"&&(o.current=!0));const l=a.target;((i=r.triggerRef.current)===null||i===void 0?void 0:i.contains(l))&&a.preventDefault(),a.detail.originalEvent.type==="focusin"&&o.current&&a.preventDefault()}}))}),C1=f.forwardRef((e,t)=>{const{__scopePopover:r,trapFocus:n,onOpenAutoFocus:o,onCloseAutoFocus:a,disableOutsidePointerEvents:s,onEscapeKeyDown:i,onPointerDownOutside:l,onFocusOutside:c,onInteractOutside:u,...d}=e,p=Or(mo,r),h=_l(r);return e1(),f.createElement(n1,{asChild:!0,loop:!0,trapped:n,onMountAutoFocus:o,onUnmountAutoFocus:a},f.createElement(pl,{asChild:!0,disableOutsidePointerEvents:s,onInteractOutside:u,onEscapeKeyDown:i,onPointerDownOutside:l,onFocusOutside:c,onDismiss:()=>p.onOpenChange(!1)},f.createElement(B0,fe({"data-state":P1(p.open),role:"dialog",id:p.contentId},h,d,{ref:t,style:{...d.style,"--radix-popover-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-popover-content-available-width":"var(--radix-popper-available-width)","--radix-popover-content-available-height":"var(--radix-popper-available-height)","--radix-popover-trigger-width":"var(--radix-popper-anchor-width)","--radix-popover-trigger-height":"var(--radix-popper-anchor-height)"}}))))}),A8="PopoverClose",N8=f.forwardRef((e,t)=>{const{__scopePopover:r,...n}=e,o=Or(A8,r);return f.createElement(Ne.button,fe({type:"button"},n,{ref:t,onClick:De(e.onClick,()=>o.onOpenChange(!1))}))});function P1(e){return e?"open":"closed"}const M1=P8,S1=S8,T1=$8,E1=D8,O8=N8,$1=({children:e,content:t,className:r,isOpen:n,side:o="bottom",align:a="center",hasCloseButton:s=!1,hasShadow:i=!1,sideOffset:l=5,onInteractOutside:c,onOpenAutoFocus:u,...d})=>{const p=ye({base:"flex flex-row justify-end rounded-2xl bg-white ",variants:{hasShadow:{true:"shadow-[0px_4px_30px_0px_rgba(0,0,0,0.15)]"}}});return L.jsxs(M1,{open:n,...d,children:[L.jsx(S1,{asChild:!0,children:e}),L.jsx(T1,{children:L.jsx(E1,{className:Zt(r,p({hasShadow:i})),onInteractOutside:c,onOpenAutoFocus:u,side:o,align:a,sideOffset:l,children:L.jsxs("div",{className:"relative flex w-full",children:[t,s&&L.jsx("div",{className:"absolute right-0 top-0 p-6",children:L.jsx(O8,{children:L.jsx(Ge,{name:"close",className:"cursor-pointer text-xs text-black"})})})]})})})]})};function we(e){const t=Object.prototype.toString.call(e);return e instanceof Date||typeof e=="object"&&t==="[object Date]"?new e.constructor(+e):typeof e=="number"||t==="[object Number]"||typeof e=="string"||t==="[object String]"?new Date(e):new Date(NaN)}function ut(e,t){return e instanceof Date?new e.constructor(t):new Date(t)}function qe(e,t){const r=we(e);return isNaN(t)?ut(e,NaN):(t&&r.setDate(r.getDate()+t),r)}function Ct(e,t){const r=we(e);if(isNaN(t))return ut(e,NaN);if(!t)return r;const n=r.getDate(),o=ut(e,r.getTime());o.setMonth(r.getMonth()+t+1,0);const a=o.getDate();return n>=a?o:(r.setFullYear(o.getFullYear(),o.getMonth(),n),r)}const Fl=6048e5,j8=864e5;let L8={};function go(){return L8}function It(e,t){var i,l,c,u;const r=go(),n=(t==null?void 0:t.weekStartsOn)??((l=(i=t==null?void 0:t.locale)==null?void 0:i.options)==null?void 0:l.weekStartsOn)??r.weekStartsOn??((u=(c=r.locale)==null?void 0:c.options)==null?void 0:u.weekStartsOn)??0,o=we(e),a=o.getDay(),s=(a<n?7:0)+a-n;return o.setDate(o.getDate()-s),o.setHours(0,0,0,0),o}function jr(e){return It(e,{weekStartsOn:1})}function D1(e){const t=we(e),r=t.getFullYear(),n=ut(e,0);n.setFullYear(r+1,0,4),n.setHours(0,0,0,0);const o=jr(n),a=ut(e,0);a.setFullYear(r,0,4),a.setHours(0,0,0,0);const s=jr(a);return t.getTime()>=o.getTime()?r+1:t.getTime()>=s.getTime()?r:r-1}function wn(e){const t=we(e);return t.setHours(0,0,0,0),t}function ls(e){const t=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()));return t.setUTCFullYear(e.getFullYear()),e.getTime()-t.getTime()}function At(e,t){const r=wn(e),n=wn(t),o=+r-ls(r),a=+n-ls(n);return Math.trunc((o-a)/j8)}function _8(e){const t=D1(e),r=ut(e,0);return r.setFullYear(t,0,4),r.setHours(0,0,0,0),jr(r)}function Vl(e,t){const r=t*7;return qe(e,r)}function F8(e,t){return Ct(e,t*12)}function V8(e){let t;return e.forEach(function(r){const n=we(r);(t===void 0||t<n||isNaN(Number(n)))&&(t=n)}),t||new Date(NaN)}function z8(e){let t;return e.forEach(r=>{const n=we(r);(!t||t>n||isNaN(+n))&&(t=n)}),t||new Date(NaN)}function et(e,t){const r=wn(e),n=wn(t);return+r==+n}function zl(e){return e instanceof Date||typeof e=="object"&&Object.prototype.toString.call(e)==="[object Date]"}function W8(e){if(!zl(e)&&typeof e!="number")return!1;const t=we(e);return!isNaN(Number(t))}function vo(e,t){const r=we(e),n=we(t),o=r.getFullYear()-n.getFullYear(),a=r.getMonth()-n.getMonth();return o*12+a}function B8(e,t,r){const n=It(e,r),o=It(t,r),a=+n-ls(n),s=+o-ls(o);return Math.trunc((a-s)/Fl)}function Wl(e){const t=we(e),r=t.getMonth();return t.setFullYear(t.getFullYear(),r+1,0),t.setHours(23,59,59,999),t}function tt(e){const t=we(e);return t.setDate(1),t.setHours(0,0,0,0),t}function k1(e){const t=we(e),r=ut(e,0);return r.setFullYear(t.getFullYear(),0,1),r.setHours(0,0,0,0),r}function Bl(e,t){var i,l,c,u;const r=go(),n=(t==null?void 0:t.weekStartsOn)??((l=(i=t==null?void 0:t.locale)==null?void 0:i.options)==null?void 0:l.weekStartsOn)??r.weekStartsOn??((u=(c=r.locale)==null?void 0:c.options)==null?void 0:u.weekStartsOn)??0,o=we(e),a=o.getDay(),s=(a<n?-7:0)+6-(a-n);return o.setDate(o.getDate()+s),o.setHours(23,59,59,999),o}function I1(e){return Bl(e,{weekStartsOn:1})}const K8={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},R8=(e,t,r)=>{let n;const o=K8[e];return typeof o=="string"?n=o:t===1?n=o.one:n=o.other.replace("{{count}}",t.toString()),r!=null&&r.addSuffix?r.comparison&&r.comparison>0?"in "+n:n+" ago":n};function Kl(e){return(t={})=>{const r=t.width?String(t.width):e.defaultWidth;return e.formats[r]||e.formats[e.defaultWidth]}}const U8={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},G8={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},H8={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},Y8={date:Kl({formats:U8,defaultWidth:"full"}),time:Kl({formats:G8,defaultWidth:"full"}),dateTime:Kl({formats:H8,defaultWidth:"full"})},q8={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},Q8=(e,t,r,n)=>q8[e];function bo(e){return(t,r)=>{const n=r!=null&&r.context?String(r.context):"standalone";let o;if(n==="formatting"&&e.formattingValues){const s=e.defaultFormattingWidth||e.defaultWidth,i=r!=null&&r.width?String(r.width):s;o=e.formattingValues[i]||e.formattingValues[s]}else{const s=e.defaultWidth,i=r!=null&&r.width?String(r.width):e.defaultWidth;o=e.values[i]||e.values[s]}const a=e.argumentCallback?e.argumentCallback(t):t;return o[a]}}const X8={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},Z8={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},J8={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},e9={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},t9={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},r9={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},n9={ordinalNumber:(e,t)=>{const r=Number(e),n=r%100;if(n>20||n<10)switch(n%10){case 1:return r+"st";case 2:return r+"nd";case 3:return r+"rd"}return r+"th"},era:bo({values:X8,defaultWidth:"wide"}),quarter:bo({values:Z8,defaultWidth:"wide",argumentCallback:e=>e-1}),month:bo({values:J8,defaultWidth:"wide"}),day:bo({values:e9,defaultWidth:"wide"}),dayPeriod:bo({values:t9,defaultWidth:"wide",formattingValues:r9,defaultFormattingWidth:"wide"})};function yo(e){return(t,r={})=>{const n=r.width,o=n&&e.matchPatterns[n]||e.matchPatterns[e.defaultMatchWidth],a=t.match(o);if(!a)return null;const s=a[0],i=n&&e.parsePatterns[n]||e.parsePatterns[e.defaultParseWidth],l=Array.isArray(i)?a9(i,d=>d.test(s)):o9(i,d=>d.test(s));let c;c=e.valueCallback?e.valueCallback(l):l,c=r.valueCallback?r.valueCallback(c):c;const u=t.slice(s.length);return{value:c,rest:u}}}function o9(e,t){for(const r in e)if(Object.prototype.hasOwnProperty.call(e,r)&&t(e[r]))return r}function a9(e,t){for(let r=0;r<e.length;r++)if(t(e[r]))return r}function s9(e){return(t,r={})=>{const n=t.match(e.matchPattern);if(!n)return null;const o=n[0],a=t.match(e.parsePattern);if(!a)return null;let s=e.valueCallback?e.valueCallback(a[0]):a[0];s=r.valueCallback?r.valueCallback(s):s;const i=t.slice(o.length);return{value:s,rest:i}}}const i9=/^(\d+)(th|st|nd|rd)?/i,l9=/\d+/i,c9={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},u9={any:[/^b/i,/^(a|c)/i]},d9={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},f9={any:[/1/i,/2/i,/3/i,/4/i]},p9={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},h9={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},m9={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},g9={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},v9={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},b9={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},y9={ordinalNumber:s9({matchPattern:i9,parsePattern:l9,valueCallback:e=>parseInt(e,10)}),era:yo({matchPatterns:c9,defaultMatchWidth:"wide",parsePatterns:u9,defaultParseWidth:"any"}),quarter:yo({matchPatterns:d9,defaultMatchWidth:"wide",parsePatterns:f9,defaultParseWidth:"any",valueCallback:e=>e+1}),month:yo({matchPatterns:p9,defaultMatchWidth:"wide",parsePatterns:h9,defaultParseWidth:"any"}),day:yo({matchPatterns:m9,defaultMatchWidth:"wide",parsePatterns:g9,defaultParseWidth:"any"}),dayPeriod:yo({matchPatterns:v9,defaultMatchWidth:"any",parsePatterns:b9,defaultParseWidth:"any"})},A1={code:"en-US",formatDistance:R8,formatLong:Y8,formatRelative:Q8,localize:n9,match:y9,options:{weekStartsOn:0,firstWeekContainsDate:1}};function x9(e){const t=we(e);return At(t,k1(t))+1}function N1(e){const t=we(e),r=+jr(t)-+_8(t);return Math.trunc(r/Fl)+1}function O1(e,t){var u,d,p,h;const r=we(e),n=r.getFullYear(),o=go(),a=(t==null?void 0:t.firstWeekContainsDate)??((d=(u=t==null?void 0:t.locale)==null?void 0:u.options)==null?void 0:d.firstWeekContainsDate)??o.firstWeekContainsDate??((h=(p=o.locale)==null?void 0:p.options)==null?void 0:h.firstWeekContainsDate)??1,s=ut(e,0);s.setFullYear(n+1,0,a),s.setHours(0,0,0,0);const i=It(s,t),l=ut(e,0);l.setFullYear(n,0,a),l.setHours(0,0,0,0);const c=It(l,t);return r.getTime()>=i.getTime()?n+1:r.getTime()>=c.getTime()?n:n-1}function w9(e,t){var i,l,c,u;const r=go(),n=(t==null?void 0:t.firstWeekContainsDate)??((l=(i=t==null?void 0:t.locale)==null?void 0:i.options)==null?void 0:l.firstWeekContainsDate)??r.firstWeekContainsDate??((u=(c=r.locale)==null?void 0:c.options)==null?void 0:u.firstWeekContainsDate)??1,o=O1(e,t),a=ut(e,0);return a.setFullYear(o,0,n),a.setHours(0,0,0,0),It(a,t)}function j1(e,t){const r=we(e),n=+It(r,t)-+w9(r,t);return Math.trunc(n/Fl)+1}function Me(e,t){const r=e<0?"-":"",n=Math.abs(e).toString().padStart(t,"0");return r+n}const fr={y(e,t){const r=e.getFullYear(),n=r>0?r:1-r;return Me(t==="yy"?n%100:n,t.length)},M(e,t){const r=e.getMonth();return t==="M"?String(r+1):Me(r+1,2)},d(e,t){return Me(e.getDate(),t.length)},a(e,t){const r=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return r.toUpperCase();case"aaa":return r;case"aaaaa":return r[0];case"aaaa":default:return r==="am"?"a.m.":"p.m."}},h(e,t){return Me(e.getHours()%12||12,t.length)},H(e,t){return Me(e.getHours(),t.length)},m(e,t){return Me(e.getMinutes(),t.length)},s(e,t){return Me(e.getSeconds(),t.length)},S(e,t){const r=t.length,n=e.getMilliseconds(),o=Math.trunc(n*Math.pow(10,r-3));return Me(o,t.length)}},Cn={am:"am",pm:"pm",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},L1={G:function(e,t,r){const n=e.getFullYear()>0?1:0;switch(t){case"G":case"GG":case"GGG":return r.era(n,{width:"abbreviated"});case"GGGGG":return r.era(n,{width:"narrow"});case"GGGG":default:return r.era(n,{width:"wide"})}},y:function(e,t,r){if(t==="yo"){const n=e.getFullYear(),o=n>0?n:1-n;return r.ordinalNumber(o,{unit:"year"})}return fr.y(e,t)},Y:function(e,t,r,n){const o=O1(e,n),a=o>0?o:1-o;if(t==="YY"){const s=a%100;return Me(s,2)}return t==="Yo"?r.ordinalNumber(a,{unit:"year"}):Me(a,t.length)},R:function(e,t){const r=D1(e);return Me(r,t.length)},u:function(e,t){const r=e.getFullYear();return Me(r,t.length)},Q:function(e,t,r){const n=Math.ceil((e.getMonth()+1)/3);switch(t){case"Q":return String(n);case"QQ":return Me(n,2);case"Qo":return r.ordinalNumber(n,{unit:"quarter"});case"QQQ":return r.quarter(n,{width:"abbreviated",context:"formatting"});case"QQQQQ":return r.quarter(n,{width:"narrow",context:"formatting"});case"QQQQ":default:return r.quarter(n,{width:"wide",context:"formatting"})}},q:function(e,t,r){const n=Math.ceil((e.getMonth()+1)/3);switch(t){case"q":return String(n);case"qq":return Me(n,2);case"qo":return r.ordinalNumber(n,{unit:"quarter"});case"qqq":return r.quarter(n,{width:"abbreviated",context:"standalone"});case"qqqqq":return r.quarter(n,{width:"narrow",context:"standalone"});case"qqqq":default:return r.quarter(n,{width:"wide",context:"standalone"})}},M:function(e,t,r){const n=e.getMonth();switch(t){case"M":case"MM":return fr.M(e,t);case"Mo":return r.ordinalNumber(n+1,{unit:"month"});case"MMM":return r.month(n,{width:"abbreviated",context:"formatting"});case"MMMMM":return r.month(n,{width:"narrow",context:"formatting"});case"MMMM":default:return r.month(n,{width:"wide",context:"formatting"})}},L:function(e,t,r){const n=e.getMonth();switch(t){case"L":return String(n+1);case"LL":return Me(n+1,2);case"Lo":return r.ordinalNumber(n+1,{unit:"month"});case"LLL":return r.month(n,{width:"abbreviated",context:"standalone"});case"LLLLL":return r.month(n,{width:"narrow",context:"standalone"});case"LLLL":default:return r.month(n,{width:"wide",context:"standalone"})}},w:function(e,t,r,n){const o=j1(e,n);return t==="wo"?r.ordinalNumber(o,{unit:"week"}):Me(o,t.length)},I:function(e,t,r){const n=N1(e);return t==="Io"?r.ordinalNumber(n,{unit:"week"}):Me(n,t.length)},d:function(e,t,r){return t==="do"?r.ordinalNumber(e.getDate(),{unit:"date"}):fr.d(e,t)},D:function(e,t,r){const n=x9(e);return t==="Do"?r.ordinalNumber(n,{unit:"dayOfYear"}):Me(n,t.length)},E:function(e,t,r){const n=e.getDay();switch(t){case"E":case"EE":case"EEE":return r.day(n,{width:"abbreviated",context:"formatting"});case"EEEEE":return r.day(n,{width:"narrow",context:"formatting"});case"EEEEEE":return r.day(n,{width:"short",context:"formatting"});case"EEEE":default:return r.day(n,{width:"wide",context:"formatting"})}},e:function(e,t,r,n){const o=e.getDay(),a=(o-n.weekStartsOn+8)%7||7;switch(t){case"e":return String(a);case"ee":return Me(a,2);case"eo":return r.ordinalNumber(a,{unit:"day"});case"eee":return r.day(o,{width:"abbreviated",context:"formatting"});case"eeeee":return r.day(o,{width:"narrow",context:"formatting"});case"eeeeee":return r.day(o,{width:"short",context:"formatting"});case"eeee":default:return r.day(o,{width:"wide",context:"formatting"})}},c:function(e,t,r,n){const o=e.getDay(),a=(o-n.weekStartsOn+8)%7||7;switch(t){case"c":return String(a);case"cc":return Me(a,t.length);case"co":return r.ordinalNumber(a,{unit:"day"});case"ccc":return r.day(o,{width:"abbreviated",context:"standalone"});case"ccccc":return r.day(o,{width:"narrow",context:"standalone"});case"cccccc":return r.day(o,{width:"short",context:"standalone"});case"cccc":default:return r.day(o,{width:"wide",context:"standalone"})}},i:function(e,t,r){const n=e.getDay(),o=n===0?7:n;switch(t){case"i":return String(o);case"ii":return Me(o,t.length);case"io":return r.ordinalNumber(o,{unit:"day"});case"iii":return r.day(n,{width:"abbreviated",context:"formatting"});case"iiiii":return r.day(n,{width:"narrow",context:"formatting"});case"iiiiii":return r.day(n,{width:"short",context:"formatting"});case"iiii":default:return r.day(n,{width:"wide",context:"formatting"})}},a:function(e,t,r){const o=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return r.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"aaa":return r.dayPeriod(o,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return r.dayPeriod(o,{width:"narrow",context:"formatting"});case"aaaa":default:return r.dayPeriod(o,{width:"wide",context:"formatting"})}},b:function(e,t,r){const n=e.getHours();let o;switch(n===12?o=Cn.noon:n===0?o=Cn.midnight:o=n/12>=1?"pm":"am",t){case"b":case"bb":return r.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"bbb":return r.dayPeriod(o,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return r.dayPeriod(o,{width:"narrow",context:"formatting"});case"bbbb":default:return r.dayPeriod(o,{width:"wide",context:"formatting"})}},B:function(e,t,r){const n=e.getHours();let o;switch(n>=17?o=Cn.evening:n>=12?o=Cn.afternoon:n>=4?o=Cn.morning:o=Cn.night,t){case"B":case"BB":case"BBB":return r.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"BBBBB":return r.dayPeriod(o,{width:"narrow",context:"formatting"});case"BBBB":default:return r.dayPeriod(o,{width:"wide",context:"formatting"})}},h:function(e,t,r){if(t==="ho"){let n=e.getHours()%12;return n===0&&(n=12),r.ordinalNumber(n,{unit:"hour"})}return fr.h(e,t)},H:function(e,t,r){return t==="Ho"?r.ordinalNumber(e.getHours(),{unit:"hour"}):fr.H(e,t)},K:function(e,t,r){const n=e.getHours()%12;return t==="Ko"?r.ordinalNumber(n,{unit:"hour"}):Me(n,t.length)},k:function(e,t,r){let n=e.getHours();return n===0&&(n=24),t==="ko"?r.ordinalNumber(n,{unit:"hour"}):Me(n,t.length)},m:function(e,t,r){return t==="mo"?r.ordinalNumber(e.getMinutes(),{unit:"minute"}):fr.m(e,t)},s:function(e,t,r){return t==="so"?r.ordinalNumber(e.getSeconds(),{unit:"second"}):fr.s(e,t)},S:function(e,t){return fr.S(e,t)},X:function(e,t,r){const n=e.getTimezoneOffset();if(n===0)return"Z";switch(t){case"X":return F1(n);case"XXXX":case"XX":return Lr(n);case"XXXXX":case"XXX":default:return Lr(n,":")}},x:function(e,t,r){const n=e.getTimezoneOffset();switch(t){case"x":return F1(n);case"xxxx":case"xx":return Lr(n);case"xxxxx":case"xxx":default:return Lr(n,":")}},O:function(e,t,r){const n=e.getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+_1(n,":");case"OOOO":default:return"GMT"+Lr(n,":")}},z:function(e,t,r){const n=e.getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+_1(n,":");case"zzzz":default:return"GMT"+Lr(n,":")}},t:function(e,t,r){const n=Math.trunc(e.getTime()/1e3);return Me(n,t.length)},T:function(e,t,r){const n=e.getTime();return Me(n,t.length)}};function _1(e,t=""){const r=e>0?"-":"+",n=Math.abs(e),o=Math.trunc(n/60),a=n%60;return a===0?r+String(o):r+String(o)+t+Me(a,2)}function F1(e,t){return e%60===0?(e>0?"-":"+")+Me(Math.abs(e)/60,2):Lr(e,t)}function Lr(e,t=""){const r=e>0?"-":"+",n=Math.abs(e),o=Me(Math.trunc(n/60),2),a=Me(n%60,2);return r+o+t+a}const V1=(e,t)=>{switch(e){case"P":return t.date({width:"short"});case"PP":return t.date({width:"medium"});case"PPP":return t.date({width:"long"});case"PPPP":default:return t.date({width:"full"})}},z1=(e,t)=>{switch(e){case"p":return t.time({width:"short"});case"pp":return t.time({width:"medium"});case"ppp":return t.time({width:"long"});case"pppp":default:return t.time({width:"full"})}},C9={p:z1,P:(e,t)=>{const r=e.match(/(P+)(p+)?/)||[],n=r[1],o=r[2];if(!o)return V1(e,t);let a;switch(n){case"P":a=t.dateTime({width:"short"});break;case"PP":a=t.dateTime({width:"medium"});break;case"PPP":a=t.dateTime({width:"long"});break;case"PPPP":default:a=t.dateTime({width:"full"});break}return a.replace("{{date}}",V1(n,t)).replace("{{time}}",z1(o,t))}},P9=/^D+$/,M9=/^Y+$/,S9=["D","DD","YY","YYYY"];function T9(e){return P9.test(e)}function E9(e){return M9.test(e)}function $9(e,t,r){const n=D9(e,t,r);if(console.warn(n),S9.includes(e))throw new RangeError(n)}function D9(e,t,r){const n=e[0]==="Y"?"years":"days of the month";return`Use \`${e.toLowerCase()}\` instead of \`${e}\` (in \`${t}\`) for formatting ${n} to the input \`${r}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}const k9=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,I9=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,A9=/^'([^]*?)'?$/,N9=/''/g,O9=/[a-zA-Z]/;function Yt(e,t,r){var u,d,p,h,g,v,b,P;const n=go(),o=(r==null?void 0:r.locale)??n.locale??A1,a=(r==null?void 0:r.firstWeekContainsDate)??((d=(u=r==null?void 0:r.locale)==null?void 0:u.options)==null?void 0:d.firstWeekContainsDate)??n.firstWeekContainsDate??((h=(p=n.locale)==null?void 0:p.options)==null?void 0:h.firstWeekContainsDate)??1,s=(r==null?void 0:r.weekStartsOn)??((v=(g=r==null?void 0:r.locale)==null?void 0:g.options)==null?void 0:v.weekStartsOn)??n.weekStartsOn??((P=(b=n.locale)==null?void 0:b.options)==null?void 0:P.weekStartsOn)??0,i=we(e);if(!W8(i))throw new RangeError("Invalid time value");let l=t.match(I9).map(x=>{const w=x[0];if(w==="p"||w==="P"){const T=C9[w];return T(x,o.formatLong)}return x}).join("").match(k9).map(x=>{if(x==="''")return{isToken:!1,value:"'"};const w=x[0];if(w==="'")return{isToken:!1,value:j9(x)};if(L1[w])return{isToken:!0,value:x};if(w.match(O9))throw new RangeError("Format string contains an unescaped latin alphabet character `"+w+"`");return{isToken:!1,value:x}});o.localize.preprocessor&&(l=o.localize.preprocessor(i,l));const c={firstWeekContainsDate:a,weekStartsOn:s,locale:o};return l.map(x=>{if(!x.isToken)return x.value;const w=x.value;(!(r!=null&&r.useAdditionalWeekYearTokens)&&E9(w)||!(r!=null&&r.useAdditionalDayOfYearTokens)&&T9(w))&&$9(w,t,String(e));const T=L1[w[0]];return T(i,w,o.localize,c)}).join("")}function j9(e){const t=e.match(A9);return t?t[1].replace(N9,"'"):e}function L9(e){const t=we(e),r=t.getFullYear(),n=t.getMonth(),o=ut(e,0);return o.setFullYear(r,n+1,0),o.setHours(0,0,0,0),o.getDate()}function _9(e){return Math.trunc(+we(e)/1e3)}function F9(e){const t=we(e),r=t.getMonth();return t.setFullYear(t.getFullYear(),r+1,0),t.setHours(0,0,0,0),t}function V9(e,t){return B8(F9(e),tt(e),t)+1}function Rl(e,t){const r=we(e),n=we(t);return r.getTime()>n.getTime()}function W1(e,t){const r=we(e),n=we(t);return+r<+n}function Ul(e,t){const r=we(e),n=we(t);return r.getFullYear()===n.getFullYear()&&r.getMonth()===n.getMonth()}function z9(e,t){const r=we(e),n=we(t);return r.getFullYear()===n.getFullYear()}function Gl(e,t){return qe(e,-t)}function Hl(e,t){const r=we(e),n=r.getFullYear(),o=r.getDate(),a=ut(e,0);a.setFullYear(n,t,15),a.setHours(0,0,0,0);const s=L9(a);return r.setMonth(t,Math.min(o,s)),r}function B1(e,t){const r=we(e);return isNaN(+r)?ut(e,NaN):(r.setFullYear(t),r)}var ie=function(){return ie=Object.assign||function(t){for(var r,n=1,o=arguments.length;n<o;n++){r=arguments[n];for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(t[a]=r[a])}return t},ie.apply(this,arguments)};function W9(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r}function K1(e,t,r){if(r||arguments.length===2)for(var n=0,o=t.length,a;n<o;n++)(a||!(n in t))&&(a||(a=Array.prototype.slice.call(t,0,n)),a[n]=t[n]);return e.concat(a||Array.prototype.slice.call(t))}typeof SuppressedError=="function"&&SuppressedError;var Yl={exports:{}},xo={};/**
75
+ `)},FC=0,_r=[];function LC(e){var t=V.useRef([]),n=V.useRef([0,0]),r=V.useRef(),o=V.useState(FC++)[0],a=V.useState(function(){return F1()})[0],i=V.useRef(e);V.useEffect(function(){i.current=e},[e]),V.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var g=m2([e.lockRef.current],(e.shards||[]).map(th),!0).filter(Boolean);return g.forEach(function(b){return b.classList.add("allow-interactivity-".concat(o))}),function(){document.body.classList.remove("block-interactivity-".concat(o)),g.forEach(function(b){return b.classList.remove("allow-interactivity-".concat(o))})}}},[e.inert,e.lockRef.current,e.shards]);var s=V.useCallback(function(g,b){if("touches"in g&&g.touches.length===2)return!i.current.allowPinchZoom;var x=_i(g),y=n.current,w="deltaX"in g?g.deltaX:y[0]-x[0],S="deltaY"in g?g.deltaY:y[1]-x[1],P,A=g.target,T=Math.abs(w)>Math.abs(S)?"h":"v";if("touches"in g&&T==="h"&&A.type==="range")return!1;var v=Jm(T,A);if(!v)return!0;if(v?P=T:(P=T==="v"?"h":"v",v=Jm(T,A)),!v)return!1;if(!r.current&&"changedTouches"in g&&(w||S)&&(r.current=P),!P)return!0;var D=r.current||P;return $C(D,b,g,D==="h"?w:S,!0)},[]),l=V.useCallback(function(g){var b=g;if(!(!_r.length||_r[_r.length-1]!==a)){var x="deltaY"in b?eh(b):_i(b),y=t.current.filter(function(P){return P.name===b.type&&P.target===b.target&&kC(P.delta,x)})[0];if(y&&y.should){b.cancelable&&b.preventDefault();return}if(!y){var w=(i.current.shards||[]).map(th).filter(Boolean).filter(function(P){return P.contains(b.target)}),S=w.length>0?s(b,w[0]):!i.current.noIsolation;S&&b.cancelable&&b.preventDefault()}}},[]),u=V.useCallback(function(g,b,x,y){var w={name:g,delta:b,target:x,should:y};t.current.push(w),setTimeout(function(){t.current=t.current.filter(function(S){return S!==w})},1)},[]),c=V.useCallback(function(g){n.current=_i(g),r.current=void 0},[]),d=V.useCallback(function(g){u(g.type,eh(g),g.target,s(g,e.lockRef.current))},[]),p=V.useCallback(function(g){u(g.type,_i(g),g.target,s(g,e.lockRef.current))},[]);V.useEffect(function(){return _r.push(a),e.setCallbacks({onScrollCapture:d,onWheelCapture:d,onTouchMoveCapture:p}),document.addEventListener("wheel",l,Wr),document.addEventListener("touchmove",l,Wr),document.addEventListener("touchstart",c,Wr),function(){_r=_r.filter(function(g){return g!==a}),document.removeEventListener("wheel",l,Wr),document.removeEventListener("touchmove",l,Wr),document.removeEventListener("touchstart",c,Wr)}},[]);var m=e.removeScrollBar,h=e.inert;return V.createElement(V.Fragment,null,h?V.createElement(a,{styles:OC(o)}):null,m?V.createElement(b7,{gapMode:"margin"}):null)}const VC=a7(Um,LC);var nh=V.forwardRef(function(e,t){return V.createElement(Bi,_t({},e,{ref:t,sideCar:VC}))});nh.classNames=Bi.classNames;const rh=nh,oh="Popover",[ah,ND]=Jn(oh,[ki]),_u=ki(),[jC,er]=ah(oh),BC=e=>{const{__scopePopover:t,children:n,open:r,defaultOpen:o,onOpenChange:a,modal:i=!1}=e,s=_u(t),l=f.useRef(null),[u,c]=f.useState(!1),[d=!1,p]=Vo({prop:r,defaultProp:o,onChange:a});return f.createElement(Pm,s,f.createElement(jC,{scope:t,contentId:Qn(),triggerRef:l,open:d,onOpenChange:p,onOpenToggle:f.useCallback(()=>p(m=>!m),[p]),hasCustomAnchor:u,onCustomAnchorAdd:f.useCallback(()=>c(!0),[]),onCustomAnchorRemove:f.useCallback(()=>c(!1),[]),modal:i},n))},WC="PopoverTrigger",_C=f.forwardRef((e,t)=>{const{__scopePopover:n,...r}=e,o=er(WC,n),a=_u(n),i=ct(t,o.triggerRef),s=f.createElement(We.button,ge({type:"button","aria-haspopup":"dialog","aria-expanded":o.open,"aria-controls":o.contentId,"data-state":lh(o.open)},r,{ref:i,onClick:Le(e.onClick,o.onOpenToggle)}));return o.hasCustomAnchor?s:f.createElement(Sm,ge({asChild:!0},a),s)}),ih="PopoverPortal",[GC,RC]=ah(ih,{forceMount:void 0}),zC=e=>{const{__scopePopover:t,forceMount:n,children:r,container:o}=e,a=er(ih,t);return f.createElement(GC,{scope:t,forceMount:n},f.createElement(dn,{present:n||a.open},f.createElement(Su,{asChild:!0,container:o},r)))},Wo="PopoverContent",HC=f.forwardRef((e,t)=>{const n=RC(Wo,e.__scopePopover),{forceMount:r=n.forceMount,...o}=e,a=er(Wo,e.__scopePopover);return f.createElement(dn,{present:r||a.open},a.modal?f.createElement(XC,ge({},o,{ref:t})):f.createElement(ZC,ge({},o,{ref:t})))}),XC=f.forwardRef((e,t)=>{const n=er(Wo,e.__scopePopover),r=f.useRef(null),o=ct(t,r),a=f.useRef(!1);return f.useEffect(()=>{const i=r.current;if(i)return Ym(i)},[]),f.createElement(rh,{as:kr,allowPinchZoom:!0},f.createElement(sh,ge({},e,{ref:o,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:Le(e.onCloseAutoFocus,i=>{var s;i.preventDefault(),a.current||(s=n.triggerRef.current)===null||s===void 0||s.focus()}),onPointerDownOutside:Le(e.onPointerDownOutside,i=>{const s=i.detail.originalEvent,l=s.button===0&&s.ctrlKey===!0,u=s.button===2||l;a.current=u},{checkForDefaultPrevented:!1}),onFocusOutside:Le(e.onFocusOutside,i=>i.preventDefault(),{checkForDefaultPrevented:!1})})))}),ZC=f.forwardRef((e,t)=>{const n=er(Wo,e.__scopePopover),r=f.useRef(!1),o=f.useRef(!1);return f.createElement(sh,ge({},e,{ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:a=>{var i;if((i=e.onCloseAutoFocus)===null||i===void 0||i.call(e,a),!a.defaultPrevented){var s;r.current||(s=n.triggerRef.current)===null||s===void 0||s.focus(),a.preventDefault()}r.current=!1,o.current=!1},onInteractOutside:a=>{var i,s;(i=e.onInteractOutside)===null||i===void 0||i.call(e,a),a.defaultPrevented||(r.current=!0,a.detail.originalEvent.type==="pointerdown"&&(o.current=!0));const l=a.target;((s=n.triggerRef.current)===null||s===void 0?void 0:s.contains(l))&&a.preventDefault(),a.detail.originalEvent.type==="focusin"&&o.current&&a.preventDefault()}}))}),sh=f.forwardRef((e,t)=>{const{__scopePopover:n,trapFocus:r,onOpenAutoFocus:o,onCloseAutoFocus:a,disableOutsidePointerEvents:i,onEscapeKeyDown:s,onPointerDownOutside:l,onFocusOutside:u,onInteractOutside:c,...d}=e,p=er(Wo,n),m=_u(n);return Bm(),f.createElement(Gm,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:o,onUnmountAutoFocus:a},f.createElement(bu,{asChild:!0,disableOutsidePointerEvents:i,onInteractOutside:c,onEscapeKeyDown:s,onPointerDownOutside:l,onFocusOutside:u,onDismiss:()=>p.onOpenChange(!1)},f.createElement(Mm,ge({"data-state":lh(p.open),role:"dialog",id:p.contentId},m,d,{ref:t,style:{...d.style,"--radix-popover-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-popover-content-available-width":"var(--radix-popper-available-width)","--radix-popover-content-available-height":"var(--radix-popper-available-height)","--radix-popover-trigger-width":"var(--radix-popper-anchor-width)","--radix-popover-trigger-height":"var(--radix-popper-anchor-height)"}}))))}),YC="PopoverClose",UC=f.forwardRef((e,t)=>{const{__scopePopover:n,...r}=e,o=er(YC,n);return f.createElement(We.button,ge({type:"button"},r,{ref:t,onClick:Le(e.onClick,()=>o.onOpenChange(!1))}))});function lh(e){return e?"open":"closed"}const uh=BC,ch=_C,dh=zC,fh=HC,KC=UC,ph=({children:e,content:t,className:n,isOpen:r,side:o="bottom",align:a="center",hasCloseButton:i=!1,hasShadow:s=!1,sideOffset:l=5,onInteractOutside:u,onOpenAutoFocus:c,...d})=>{const p=ye({base:"flex flex-row justify-end rounded-2xl bg-white ",variants:{hasShadow:{true:"shadow-[0px_4px_30px_0px_rgba(0,0,0,0.15)]"}}});return F.jsxs(uh,{open:r,...d,children:[F.jsx(ch,{asChild:!0,children:e}),F.jsx(dh,{children:F.jsx(fh,{className:vn(n,p({hasShadow:s})),onInteractOutside:u,onOpenAutoFocus:c,side:o,align:a,sideOffset:l,children:F.jsxs("div",{className:"relative flex w-full",children:[t,i&&F.jsx("div",{className:"absolute right-0 top-0 p-6",children:F.jsx(KC,{children:F.jsx(rt,{name:"close",className:"cursor-pointer text-xs text-black"})})})]})})})]})};function Se(e){const t=Object.prototype.toString.call(e);return e instanceof Date||typeof e=="object"&&t==="[object Date]"?new e.constructor(+e):typeof e=="number"||t==="[object Number]"||typeof e=="string"||t==="[object String]"?new Date(e):new Date(NaN)}function wt(e,t){return e instanceof Date?new e.constructor(t):new Date(t)}function it(e,t){const n=Se(e);return isNaN(t)?wt(e,NaN):(t&&n.setDate(n.getDate()+t),n)}function Ft(e,t){const n=Se(e);if(isNaN(t))return wt(e,NaN);if(!t)return n;const r=n.getDate(),o=wt(e,n.getTime());o.setMonth(n.getMonth()+t+1,0);const a=o.getDate();return r>=a?o:(n.setFullYear(o.getFullYear(),o.getMonth(),r),n)}const Gu=6048e5,JC=864e5;let QC={};function _o(){return QC}function Xt(e,t){var s,l,u,c;const n=_o(),r=(t==null?void 0:t.weekStartsOn)??((l=(s=t==null?void 0:t.locale)==null?void 0:s.options)==null?void 0:l.weekStartsOn)??n.weekStartsOn??((c=(u=n.locale)==null?void 0:u.options)==null?void 0:c.weekStartsOn)??0,o=Se(e),a=o.getDay(),i=(a<r?7:0)+a-r;return o.setDate(o.getDate()-i),o.setHours(0,0,0,0),o}function tr(e){return Xt(e,{weekStartsOn:1})}function mh(e){const t=Se(e),n=t.getFullYear(),r=wt(e,0);r.setFullYear(n+1,0,4),r.setHours(0,0,0,0);const o=tr(r),a=wt(e,0);a.setFullYear(n,0,4),a.setHours(0,0,0,0);const i=tr(a);return t.getTime()>=o.getTime()?n+1:t.getTime()>=i.getTime()?n:n-1}function Gr(e){const t=Se(e);return t.setHours(0,0,0,0),t}function Gi(e){const t=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()));return t.setUTCFullYear(e.getFullYear()),e.getTime()-t.getTime()}function Zt(e,t){const n=Gr(e),r=Gr(t),o=+n-Gi(n),a=+r-Gi(r);return Math.trunc((o-a)/JC)}function qC(e){const t=mh(e),n=wt(e,0);return n.setFullYear(t,0,4),n.setHours(0,0,0,0),tr(n)}function Ru(e,t){const n=t*7;return it(e,n)}function ew(e,t){return Ft(e,t*12)}function tw(e){let t;return e.forEach(function(n){const r=Se(n);(t===void 0||t<r||isNaN(Number(r)))&&(t=r)}),t||new Date(NaN)}function nw(e){let t;return e.forEach(n=>{const r=Se(n);(!t||t>r||isNaN(+r))&&(t=r)}),t||new Date(NaN)}function dt(e,t){const n=Gr(e),r=Gr(t);return+n==+r}function zu(e){return e instanceof Date||typeof e=="object"&&Object.prototype.toString.call(e)==="[object Date]"}function rw(e){if(!zu(e)&&typeof e!="number")return!1;const t=Se(e);return!isNaN(Number(t))}function Go(e,t){const n=Se(e),r=Se(t),o=n.getFullYear()-r.getFullYear(),a=n.getMonth()-r.getMonth();return o*12+a}function ow(e,t,n){const r=Xt(e,n),o=Xt(t,n),a=+r-Gi(r),i=+o-Gi(o);return Math.trunc((a-i)/Gu)}function Hu(e){const t=Se(e),n=t.getMonth();return t.setFullYear(t.getFullYear(),n+1,0),t.setHours(23,59,59,999),t}function ft(e){const t=Se(e);return t.setDate(1),t.setHours(0,0,0,0),t}function hh(e){const t=Se(e),n=wt(e,0);return n.setFullYear(t.getFullYear(),0,1),n.setHours(0,0,0,0),n}function Xu(e,t){var s,l,u,c;const n=_o(),r=(t==null?void 0:t.weekStartsOn)??((l=(s=t==null?void 0:t.locale)==null?void 0:s.options)==null?void 0:l.weekStartsOn)??n.weekStartsOn??((c=(u=n.locale)==null?void 0:u.options)==null?void 0:c.weekStartsOn)??0,o=Se(e),a=o.getDay(),i=(a<r?-7:0)+6-(a-r);return o.setDate(o.getDate()+i),o.setHours(23,59,59,999),o}function gh(e){return Xu(e,{weekStartsOn:1})}const aw={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},iw=(e,t,n)=>{let r;const o=aw[e];return typeof o=="string"?r=o:t===1?r=o.one:r=o.other.replace("{{count}}",t.toString()),n!=null&&n.addSuffix?n.comparison&&n.comparison>0?"in "+r:r+" ago":r};function Zu(e){return(t={})=>{const n=t.width?String(t.width):e.defaultWidth;return e.formats[n]||e.formats[e.defaultWidth]}}const sw={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},lw={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},uw={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},cw={date:Zu({formats:sw,defaultWidth:"full"}),time:Zu({formats:lw,defaultWidth:"full"}),dateTime:Zu({formats:uw,defaultWidth:"full"})},dw={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},fw=(e,t,n,r)=>dw[e];function Ro(e){return(t,n)=>{const r=n!=null&&n.context?String(n.context):"standalone";let o;if(r==="formatting"&&e.formattingValues){const i=e.defaultFormattingWidth||e.defaultWidth,s=n!=null&&n.width?String(n.width):i;o=e.formattingValues[s]||e.formattingValues[i]}else{const i=e.defaultWidth,s=n!=null&&n.width?String(n.width):e.defaultWidth;o=e.values[s]||e.values[i]}const a=e.argumentCallback?e.argumentCallback(t):t;return o[a]}}const pw={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},mw={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},hw={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},gw={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},bw={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},vw={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},yw={ordinalNumber:(e,t)=>{const n=Number(e),r=n%100;if(r>20||r<10)switch(r%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},era:Ro({values:pw,defaultWidth:"wide"}),quarter:Ro({values:mw,defaultWidth:"wide",argumentCallback:e=>e-1}),month:Ro({values:hw,defaultWidth:"wide"}),day:Ro({values:gw,defaultWidth:"wide"}),dayPeriod:Ro({values:bw,defaultWidth:"wide",formattingValues:vw,defaultFormattingWidth:"wide"})};function zo(e){return(t,n={})=>{const r=n.width,o=r&&e.matchPatterns[r]||e.matchPatterns[e.defaultMatchWidth],a=t.match(o);if(!a)return null;const i=a[0],s=r&&e.parsePatterns[r]||e.parsePatterns[e.defaultParseWidth],l=Array.isArray(s)?Cw(s,d=>d.test(i)):xw(s,d=>d.test(i));let u;u=e.valueCallback?e.valueCallback(l):l,u=n.valueCallback?n.valueCallback(u):u;const c=t.slice(i.length);return{value:u,rest:c}}}function xw(e,t){for(const n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&t(e[n]))return n}function Cw(e,t){for(let n=0;n<e.length;n++)if(t(e[n]))return n}function ww(e){return(t,n={})=>{const r=t.match(e.matchPattern);if(!r)return null;const o=r[0],a=t.match(e.parsePattern);if(!a)return null;let i=e.valueCallback?e.valueCallback(a[0]):a[0];i=n.valueCallback?n.valueCallback(i):i;const s=t.slice(o.length);return{value:i,rest:s}}}const Iw=/^(\d+)(th|st|nd|rd)?/i,Ew=/\d+/i,Pw={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},Sw={any:[/^b/i,/^(a|c)/i]},Mw={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},Aw={any:[/1/i,/2/i,/3/i,/4/i]},Tw={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},Dw={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},Nw={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},$w={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},kw={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},Ow={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},Fw={ordinalNumber:ww({matchPattern:Iw,parsePattern:Ew,valueCallback:e=>parseInt(e,10)}),era:zo({matchPatterns:Pw,defaultMatchWidth:"wide",parsePatterns:Sw,defaultParseWidth:"any"}),quarter:zo({matchPatterns:Mw,defaultMatchWidth:"wide",parsePatterns:Aw,defaultParseWidth:"any",valueCallback:e=>e+1}),month:zo({matchPatterns:Tw,defaultMatchWidth:"wide",parsePatterns:Dw,defaultParseWidth:"any"}),day:zo({matchPatterns:Nw,defaultMatchWidth:"wide",parsePatterns:$w,defaultParseWidth:"any"}),dayPeriod:zo({matchPatterns:kw,defaultMatchWidth:"any",parsePatterns:Ow,defaultParseWidth:"any"})},bh={code:"en-US",formatDistance:iw,formatLong:cw,formatRelative:fw,localize:yw,match:Fw,options:{weekStartsOn:0,firstWeekContainsDate:1}};function Lw(e){const t=Se(e);return Zt(t,hh(t))+1}function vh(e){const t=Se(e),n=+tr(t)-+qC(t);return Math.trunc(n/Gu)+1}function yh(e,t){var c,d,p,m;const n=Se(e),r=n.getFullYear(),o=_o(),a=(t==null?void 0:t.firstWeekContainsDate)??((d=(c=t==null?void 0:t.locale)==null?void 0:c.options)==null?void 0:d.firstWeekContainsDate)??o.firstWeekContainsDate??((m=(p=o.locale)==null?void 0:p.options)==null?void 0:m.firstWeekContainsDate)??1,i=wt(e,0);i.setFullYear(r+1,0,a),i.setHours(0,0,0,0);const s=Xt(i,t),l=wt(e,0);l.setFullYear(r,0,a),l.setHours(0,0,0,0);const u=Xt(l,t);return n.getTime()>=s.getTime()?r+1:n.getTime()>=u.getTime()?r:r-1}function Vw(e,t){var s,l,u,c;const n=_o(),r=(t==null?void 0:t.firstWeekContainsDate)??((l=(s=t==null?void 0:t.locale)==null?void 0:s.options)==null?void 0:l.firstWeekContainsDate)??n.firstWeekContainsDate??((c=(u=n.locale)==null?void 0:u.options)==null?void 0:c.firstWeekContainsDate)??1,o=yh(e,t),a=wt(e,0);return a.setFullYear(o,0,r),a.setHours(0,0,0,0),Xt(a,t)}function xh(e,t){const n=Se(e),r=+Xt(n,t)-+Vw(n,t);return Math.trunc(r/Gu)+1}function ke(e,t){const n=e<0?"-":"",r=Math.abs(e).toString().padStart(t,"0");return n+r}const $n={y(e,t){const n=e.getFullYear(),r=n>0?n:1-n;return ke(t==="yy"?r%100:r,t.length)},M(e,t){const n=e.getMonth();return t==="M"?String(n+1):ke(n+1,2)},d(e,t){return ke(e.getDate(),t.length)},a(e,t){const n=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.toUpperCase();case"aaa":return n;case"aaaaa":return n[0];case"aaaa":default:return n==="am"?"a.m.":"p.m."}},h(e,t){return ke(e.getHours()%12||12,t.length)},H(e,t){return ke(e.getHours(),t.length)},m(e,t){return ke(e.getMinutes(),t.length)},s(e,t){return ke(e.getSeconds(),t.length)},S(e,t){const n=t.length,r=e.getMilliseconds(),o=Math.trunc(r*Math.pow(10,n-3));return ke(o,t.length)}},Rr={am:"am",pm:"pm",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},Ch={G:function(e,t,n){const r=e.getFullYear()>0?1:0;switch(t){case"G":case"GG":case"GGG":return n.era(r,{width:"abbreviated"});case"GGGGG":return n.era(r,{width:"narrow"});case"GGGG":default:return n.era(r,{width:"wide"})}},y:function(e,t,n){if(t==="yo"){const r=e.getFullYear(),o=r>0?r:1-r;return n.ordinalNumber(o,{unit:"year"})}return $n.y(e,t)},Y:function(e,t,n,r){const o=yh(e,r),a=o>0?o:1-o;if(t==="YY"){const i=a%100;return ke(i,2)}return t==="Yo"?n.ordinalNumber(a,{unit:"year"}):ke(a,t.length)},R:function(e,t){const n=mh(e);return ke(n,t.length)},u:function(e,t){const n=e.getFullYear();return ke(n,t.length)},Q:function(e,t,n){const r=Math.ceil((e.getMonth()+1)/3);switch(t){case"Q":return String(r);case"QQ":return ke(r,2);case"Qo":return n.ordinalNumber(r,{unit:"quarter"});case"QQQ":return n.quarter(r,{width:"abbreviated",context:"formatting"});case"QQQQQ":return n.quarter(r,{width:"narrow",context:"formatting"});case"QQQQ":default:return n.quarter(r,{width:"wide",context:"formatting"})}},q:function(e,t,n){const r=Math.ceil((e.getMonth()+1)/3);switch(t){case"q":return String(r);case"qq":return ke(r,2);case"qo":return n.ordinalNumber(r,{unit:"quarter"});case"qqq":return n.quarter(r,{width:"abbreviated",context:"standalone"});case"qqqqq":return n.quarter(r,{width:"narrow",context:"standalone"});case"qqqq":default:return n.quarter(r,{width:"wide",context:"standalone"})}},M:function(e,t,n){const r=e.getMonth();switch(t){case"M":case"MM":return $n.M(e,t);case"Mo":return n.ordinalNumber(r+1,{unit:"month"});case"MMM":return n.month(r,{width:"abbreviated",context:"formatting"});case"MMMMM":return n.month(r,{width:"narrow",context:"formatting"});case"MMMM":default:return n.month(r,{width:"wide",context:"formatting"})}},L:function(e,t,n){const r=e.getMonth();switch(t){case"L":return String(r+1);case"LL":return ke(r+1,2);case"Lo":return n.ordinalNumber(r+1,{unit:"month"});case"LLL":return n.month(r,{width:"abbreviated",context:"standalone"});case"LLLLL":return n.month(r,{width:"narrow",context:"standalone"});case"LLLL":default:return n.month(r,{width:"wide",context:"standalone"})}},w:function(e,t,n,r){const o=xh(e,r);return t==="wo"?n.ordinalNumber(o,{unit:"week"}):ke(o,t.length)},I:function(e,t,n){const r=vh(e);return t==="Io"?n.ordinalNumber(r,{unit:"week"}):ke(r,t.length)},d:function(e,t,n){return t==="do"?n.ordinalNumber(e.getDate(),{unit:"date"}):$n.d(e,t)},D:function(e,t,n){const r=Lw(e);return t==="Do"?n.ordinalNumber(r,{unit:"dayOfYear"}):ke(r,t.length)},E:function(e,t,n){const r=e.getDay();switch(t){case"E":case"EE":case"EEE":return n.day(r,{width:"abbreviated",context:"formatting"});case"EEEEE":return n.day(r,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(r,{width:"short",context:"formatting"});case"EEEE":default:return n.day(r,{width:"wide",context:"formatting"})}},e:function(e,t,n,r){const o=e.getDay(),a=(o-r.weekStartsOn+8)%7||7;switch(t){case"e":return String(a);case"ee":return ke(a,2);case"eo":return n.ordinalNumber(a,{unit:"day"});case"eee":return n.day(o,{width:"abbreviated",context:"formatting"});case"eeeee":return n.day(o,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(o,{width:"short",context:"formatting"});case"eeee":default:return n.day(o,{width:"wide",context:"formatting"})}},c:function(e,t,n,r){const o=e.getDay(),a=(o-r.weekStartsOn+8)%7||7;switch(t){case"c":return String(a);case"cc":return ke(a,t.length);case"co":return n.ordinalNumber(a,{unit:"day"});case"ccc":return n.day(o,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(o,{width:"narrow",context:"standalone"});case"cccccc":return n.day(o,{width:"short",context:"standalone"});case"cccc":default:return n.day(o,{width:"wide",context:"standalone"})}},i:function(e,t,n){const r=e.getDay(),o=r===0?7:r;switch(t){case"i":return String(o);case"ii":return ke(o,t.length);case"io":return n.ordinalNumber(o,{unit:"day"});case"iii":return n.day(r,{width:"abbreviated",context:"formatting"});case"iiiii":return n.day(r,{width:"narrow",context:"formatting"});case"iiiiii":return n.day(r,{width:"short",context:"formatting"});case"iiii":default:return n.day(r,{width:"wide",context:"formatting"})}},a:function(e,t,n){const o=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"aaa":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return n.dayPeriod(o,{width:"narrow",context:"formatting"});case"aaaa":default:return n.dayPeriod(o,{width:"wide",context:"formatting"})}},b:function(e,t,n){const r=e.getHours();let o;switch(r===12?o=Rr.noon:r===0?o=Rr.midnight:o=r/12>=1?"pm":"am",t){case"b":case"bb":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"bbb":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return n.dayPeriod(o,{width:"narrow",context:"formatting"});case"bbbb":default:return n.dayPeriod(o,{width:"wide",context:"formatting"})}},B:function(e,t,n){const r=e.getHours();let o;switch(r>=17?o=Rr.evening:r>=12?o=Rr.afternoon:r>=4?o=Rr.morning:o=Rr.night,t){case"B":case"BB":case"BBB":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(o,{width:"narrow",context:"formatting"});case"BBBB":default:return n.dayPeriod(o,{width:"wide",context:"formatting"})}},h:function(e,t,n){if(t==="ho"){let r=e.getHours()%12;return r===0&&(r=12),n.ordinalNumber(r,{unit:"hour"})}return $n.h(e,t)},H:function(e,t,n){return t==="Ho"?n.ordinalNumber(e.getHours(),{unit:"hour"}):$n.H(e,t)},K:function(e,t,n){const r=e.getHours()%12;return t==="Ko"?n.ordinalNumber(r,{unit:"hour"}):ke(r,t.length)},k:function(e,t,n){let r=e.getHours();return r===0&&(r=24),t==="ko"?n.ordinalNumber(r,{unit:"hour"}):ke(r,t.length)},m:function(e,t,n){return t==="mo"?n.ordinalNumber(e.getMinutes(),{unit:"minute"}):$n.m(e,t)},s:function(e,t,n){return t==="so"?n.ordinalNumber(e.getSeconds(),{unit:"second"}):$n.s(e,t)},S:function(e,t){return $n.S(e,t)},X:function(e,t,n){const r=e.getTimezoneOffset();if(r===0)return"Z";switch(t){case"X":return Ih(r);case"XXXX":case"XX":return nr(r);case"XXXXX":case"XXX":default:return nr(r,":")}},x:function(e,t,n){const r=e.getTimezoneOffset();switch(t){case"x":return Ih(r);case"xxxx":case"xx":return nr(r);case"xxxxx":case"xxx":default:return nr(r,":")}},O:function(e,t,n){const r=e.getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+wh(r,":");case"OOOO":default:return"GMT"+nr(r,":")}},z:function(e,t,n){const r=e.getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+wh(r,":");case"zzzz":default:return"GMT"+nr(r,":")}},t:function(e,t,n){const r=Math.trunc(e.getTime()/1e3);return ke(r,t.length)},T:function(e,t,n){const r=e.getTime();return ke(r,t.length)}};function wh(e,t=""){const n=e>0?"-":"+",r=Math.abs(e),o=Math.trunc(r/60),a=r%60;return a===0?n+String(o):n+String(o)+t+ke(a,2)}function Ih(e,t){return e%60===0?(e>0?"-":"+")+ke(Math.abs(e)/60,2):nr(e,t)}function nr(e,t=""){const n=e>0?"-":"+",r=Math.abs(e),o=ke(Math.trunc(r/60),2),a=ke(r%60,2);return n+o+t+a}const Eh=(e,t)=>{switch(e){case"P":return t.date({width:"short"});case"PP":return t.date({width:"medium"});case"PPP":return t.date({width:"long"});case"PPPP":default:return t.date({width:"full"})}},Ph=(e,t)=>{switch(e){case"p":return t.time({width:"short"});case"pp":return t.time({width:"medium"});case"ppp":return t.time({width:"long"});case"pppp":default:return t.time({width:"full"})}},jw={p:Ph,P:(e,t)=>{const n=e.match(/(P+)(p+)?/)||[],r=n[1],o=n[2];if(!o)return Eh(e,t);let a;switch(r){case"P":a=t.dateTime({width:"short"});break;case"PP":a=t.dateTime({width:"medium"});break;case"PPP":a=t.dateTime({width:"long"});break;case"PPPP":default:a=t.dateTime({width:"full"});break}return a.replace("{{date}}",Eh(r,t)).replace("{{time}}",Ph(o,t))}},Bw=/^D+$/,Ww=/^Y+$/,_w=["D","DD","YY","YYYY"];function Gw(e){return Bw.test(e)}function Rw(e){return Ww.test(e)}function zw(e,t,n){const r=Hw(e,t,n);if(console.warn(r),_w.includes(e))throw new RangeError(r)}function Hw(e,t,n){const r=e[0]==="Y"?"years":"days of the month";return`Use \`${e.toLowerCase()}\` instead of \`${e}\` (in \`${t}\`) for formatting ${r} to the input \`${n}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}const Xw=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,Zw=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,Yw=/^'([^]*?)'?$/,Uw=/''/g,Kw=/[a-zA-Z]/;function fn(e,t,n){var c,d,p,m,h,g,b,x;const r=_o(),o=(n==null?void 0:n.locale)??r.locale??bh,a=(n==null?void 0:n.firstWeekContainsDate)??((d=(c=n==null?void 0:n.locale)==null?void 0:c.options)==null?void 0:d.firstWeekContainsDate)??r.firstWeekContainsDate??((m=(p=r.locale)==null?void 0:p.options)==null?void 0:m.firstWeekContainsDate)??1,i=(n==null?void 0:n.weekStartsOn)??((g=(h=n==null?void 0:n.locale)==null?void 0:h.options)==null?void 0:g.weekStartsOn)??r.weekStartsOn??((x=(b=r.locale)==null?void 0:b.options)==null?void 0:x.weekStartsOn)??0,s=Se(e);if(!rw(s))throw new RangeError("Invalid time value");let l=t.match(Zw).map(y=>{const w=y[0];if(w==="p"||w==="P"){const S=jw[w];return S(y,o.formatLong)}return y}).join("").match(Xw).map(y=>{if(y==="''")return{isToken:!1,value:"'"};const w=y[0];if(w==="'")return{isToken:!1,value:Jw(y)};if(Ch[w])return{isToken:!0,value:y};if(w.match(Kw))throw new RangeError("Format string contains an unescaped latin alphabet character `"+w+"`");return{isToken:!1,value:y}});o.localize.preprocessor&&(l=o.localize.preprocessor(s,l));const u={firstWeekContainsDate:a,weekStartsOn:i,locale:o};return l.map(y=>{if(!y.isToken)return y.value;const w=y.value;(!(n!=null&&n.useAdditionalWeekYearTokens)&&Rw(w)||!(n!=null&&n.useAdditionalDayOfYearTokens)&&Gw(w))&&zw(w,t,String(e));const S=Ch[w[0]];return S(s,w,o.localize,u)}).join("")}function Jw(e){const t=e.match(Yw);return t?t[1].replace(Uw,"'"):e}function Qw(e){const t=Se(e),n=t.getFullYear(),r=t.getMonth(),o=wt(e,0);return o.setFullYear(n,r+1,0),o.setHours(0,0,0,0),o.getDate()}function qw(e){return Math.trunc(+Se(e)/1e3)}function eI(e){const t=Se(e),n=t.getMonth();return t.setFullYear(t.getFullYear(),n+1,0),t.setHours(0,0,0,0),t}function tI(e,t){return ow(eI(e),ft(e),t)+1}function Yu(e,t){const n=Se(e),r=Se(t);return n.getTime()>r.getTime()}function Sh(e,t){const n=Se(e),r=Se(t);return+n<+r}function Uu(e,t){const n=Se(e),r=Se(t);return n.getFullYear()===r.getFullYear()&&n.getMonth()===r.getMonth()}function nI(e,t){const n=Se(e),r=Se(t);return n.getFullYear()===r.getFullYear()}function Ku(e,t){return it(e,-t)}function Ju(e,t){const n=Se(e),r=n.getFullYear(),o=n.getDate(),a=wt(e,0);a.setFullYear(r,t,15),a.setHours(0,0,0,0);const i=Qw(a);return n.setMonth(t,Math.min(o,i)),n}function Mh(e,t){const n=Se(e);return isNaN(+n)?wt(e,NaN):(n.setFullYear(t),n)}var me=function(){return me=Object.assign||function(t){for(var n,r=1,o=arguments.length;r<o;r++){n=arguments[r];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(t[a]=n[a])}return t},me.apply(this,arguments)};function rI(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 Ah(e,t,n){if(n||arguments.length===2)for(var r=0,o=t.length,a;r<o;r++)(a||!(r in t))&&(a||(a=Array.prototype.slice.call(t,0,r)),a[r]=t[r]);return e.concat(a||Array.prototype.slice.call(t))}typeof SuppressedError=="function"&&SuppressedError;var Qu={exports:{}},Ho={};/**
76
76
  * @license React
77
77
  * react-jsx-runtime.development.js
78
78
  *
@@ -80,17 +80,17 @@ Check the top-level render call using <`+V+">.")}return j}}function Fo(y,j){{if(
80
80
  *
81
81
  * This source code is licensed under the MIT license found in the
82
82
  * LICENSE file in the root directory of this source tree.
83
- */var R1;function B9(){return R1||(R1=1,process.env.NODE_ENV!=="production"&&function(){var e=f,t=Symbol.for("react.element"),r=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),s=Symbol.for("react.provider"),i=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"),p=Symbol.for("react.lazy"),h=Symbol.for("react.offscreen"),g=Symbol.iterator,v="@@iterator";function b(y){if(y===null||typeof y!="object")return null;var j=g&&y[g]||y[v];return typeof j=="function"?j:null}var P=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function x(y){{for(var j=arguments.length,V=new Array(j>1?j-1:0),H=1;H<j;H++)V[H-1]=arguments[H];w("error",y,V)}}function w(y,j,V){{var H=P.ReactDebugCurrentFrame,re=H.getStackAddendum();re!==""&&(j+="%s",V=V.concat([re]));var oe=V.map(function(J){return String(J)});oe.unshift("Warning: "+j),Function.prototype.apply.call(console[y],console,oe)}}var T=!1,$=!1,E=!1,A=!1,m=!1,k;k=Symbol.for("react.module.reference");function I(y){return!!(typeof y=="string"||typeof y=="function"||y===n||y===a||m||y===o||y===c||y===u||A||y===h||T||$||E||typeof y=="object"&&y!==null&&(y.$$typeof===p||y.$$typeof===d||y.$$typeof===s||y.$$typeof===i||y.$$typeof===l||y.$$typeof===k||y.getModuleId!==void 0))}function S(y,j,V){var H=y.displayName;if(H)return H;var re=j.displayName||j.name||"";return re!==""?V+"("+re+")":V}function N(y){return y.displayName||"Context"}function C(y){if(y==null)return null;if(typeof y.tag=="number"&&x("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof y=="function")return y.displayName||y.name||null;if(typeof y=="string")return y;switch(y){case n:return"Fragment";case r:return"Portal";case a:return"Profiler";case o:return"StrictMode";case c:return"Suspense";case u:return"SuspenseList"}if(typeof y=="object")switch(y.$$typeof){case i:var j=y;return N(j)+".Consumer";case s:var V=y;return N(V._context)+".Provider";case l:return S(y,y.render,"ForwardRef");case d:var H=y.displayName||null;return H!==null?H:C(y.type)||"Memo";case p:{var re=y,oe=re._payload,J=re._init;try{return C(J(oe))}catch{return null}}}return null}var M=Object.assign,O=0,_,D,z,X,G,U,F;function B(){}B.__reactDisabledLog=!0;function q(){{if(O===0){_=console.log,D=console.info,z=console.warn,X=console.error,G=console.group,U=console.groupCollapsed,F=console.groupEnd;var y={configurable:!0,enumerable:!0,value:B,writable:!0};Object.defineProperties(console,{info:y,log:y,warn:y,error:y,group:y,groupCollapsed:y,groupEnd:y})}O++}}function K(){{if(O--,O===0){var y={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:M({},y,{value:_}),info:M({},y,{value:D}),warn:M({},y,{value:z}),error:M({},y,{value:X}),group:M({},y,{value:G}),groupCollapsed:M({},y,{value:U}),groupEnd:M({},y,{value:F})})}O<0&&x("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var Q=P.ReactCurrentDispatcher,ne;function le(y,j,V){{if(ne===void 0)try{throw Error()}catch(re){var H=re.stack.trim().match(/\n( *(at )?)/);ne=H&&H[1]||""}return`
84
- `+ne+y}}var ce=!1,ue;{var ge=typeof WeakMap=="function"?WeakMap:Map;ue=new ge}function Se(y,j){if(!y||ce)return"";{var V=ue.get(y);if(V!==void 0)return V}var H;ce=!0;var re=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var oe;oe=Q.current,Q.current=null,q();try{if(j){var J=function(){throw Error()};if(Object.defineProperty(J.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(J,[])}catch(We){H=We}Reflect.construct(y,[],J)}else{try{J.call()}catch(We){H=We}y.call(J.prototype)}}else{try{throw Error()}catch(We){H=We}y()}}catch(We){if(We&&H&&typeof We.stack=="string"){for(var Z=We.stack.split(`
85
- `),Pe=H.stack.split(`
86
- `),pe=Z.length-1,me=Pe.length-1;pe>=1&&me>=0&&Z[pe]!==Pe[me];)me--;for(;pe>=1&&me>=0;pe--,me--)if(Z[pe]!==Pe[me]){if(pe!==1||me!==1)do if(pe--,me--,me<0||Z[pe]!==Pe[me]){var Oe=`
87
- `+Z[pe].replace(" at new "," at ");return y.displayName&&Oe.includes("<anonymous>")&&(Oe=Oe.replace("<anonymous>",y.displayName)),typeof y=="function"&&ue.set(y,Oe),Oe}while(pe>=1&&me>=0);break}}}finally{ce=!1,Q.current=oe,K(),Error.prepareStackTrace=re}var pt=y?y.displayName||y.name:"",Wo=pt?le(pt):"";return typeof y=="function"&&ue.set(y,Wo),Wo}function Te(y,j,V){return Se(y,!1)}function se(y){var j=y.prototype;return!!(j&&j.isReactComponent)}function te(y,j,V){if(y==null)return"";if(typeof y=="function")return Se(y,se(y));if(typeof y=="string")return le(y);switch(y){case c:return le("Suspense");case u:return le("SuspenseList")}if(typeof y=="object")switch(y.$$typeof){case l:return Te(y.render);case d:return te(y.type,j,V);case p:{var H=y,re=H._payload,oe=H._init;try{return te(oe(re),j,V)}catch{}}}return""}var je=Object.prototype.hasOwnProperty,Fe={},Ve=P.ReactDebugCurrentFrame;function Ie(y){if(y){var j=y._owner,V=te(y.type,y._source,j?j.type:null);Ve.setExtraStackFrame(V)}else Ve.setExtraStackFrame(null)}function Nt(y,j,V,H,re){{var oe=Function.call.bind(je);for(var J in y)if(oe(y,J)){var Z=void 0;try{if(typeof y[J]!="function"){var Pe=Error((H||"React class")+": "+V+" type `"+J+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof y[J]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw Pe.name="Invariant Violation",Pe}Z=y[J](j,J,H,V,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(pe){Z=pe}Z&&!(Z instanceof Error)&&(Ie(re),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).",H||"React class",V,J,typeof Z),Ie(null)),Z instanceof Error&&!(Z.message in Fe)&&(Fe[Z.message]=!0,Ie(re),x("Failed %s type: %s",V,Z.message),Ie(null))}}}var vt=Array.isArray;function rt(y){return vt(y)}function Wr(y){{var j=typeof Symbol=="function"&&Symbol.toStringTag,V=j&&y[Symbol.toStringTag]||y.constructor.name||"Object";return V}}function Qe(y){try{return Xe(y),!1}catch{return!0}}function Xe(y){return""+y}function Br(y){if(Qe(y))return x("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Wr(y)),Xe(y)}var Ce=P.ReactCurrentOwner,$o={key:!0,ref:!0,__self:!0,__source:!0},Kr,Rr,Qt;Qt={};function Do(y){if(je.call(y,"ref")){var j=Object.getOwnPropertyDescriptor(y,"ref").get;if(j&&j.isReactWarning)return!1}return y.ref!==void 0}function ko(y){if(je.call(y,"key")){var j=Object.getOwnPropertyDescriptor(y,"key").get;if(j&&j.isReactWarning)return!1}return y.key!==void 0}function Io(y,j){if(typeof y.ref=="string"&&Ce.current&&j&&Ce.current.stateNode!==j){var V=C(Ce.current.type);Qt[V]||(x('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',C(Ce.current.type),y.ref),Qt[V]=!0)}}function Ao(y,j){{var V=function(){Kr||(Kr=!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)",j))};V.isReactWarning=!0,Object.defineProperty(y,"key",{get:V,configurable:!0})}}function No(y,j){{var V=function(){Rr||(Rr=!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)",j))};V.isReactWarning=!0,Object.defineProperty(y,"ref",{get:V,configurable:!0})}}var Oo=function(y,j,V,H,re,oe,J){var Z={$$typeof:t,type:y,key:j,ref:V,props:J,_owner:oe};return Z._store={},Object.defineProperty(Z._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(Z,"_self",{configurable:!1,enumerable:!1,writable:!1,value:H}),Object.defineProperty(Z,"_source",{configurable:!1,enumerable:!1,writable:!1,value:re}),Object.freeze&&(Object.freeze(Z.props),Object.freeze(Z)),Z};function he(y,j,V,H,re){{var oe,J={},Z=null,Pe=null;V!==void 0&&(Br(V),Z=""+V),ko(j)&&(Br(j.key),Z=""+j.key),Do(j)&&(Pe=j.ref,Io(j,re));for(oe in j)je.call(j,oe)&&!$o.hasOwnProperty(oe)&&(J[oe]=j[oe]);if(y&&y.defaultProps){var pe=y.defaultProps;for(oe in pe)J[oe]===void 0&&(J[oe]=pe[oe])}if(Z||Pe){var me=typeof y=="function"?y.displayName||y.name||"Unknown":y;Z&&Ao(J,me),Pe&&No(J,me)}return Oo(y,Z,Pe,re,H,Ce.current,J)}}var dt=P.ReactCurrentOwner,jo=P.ReactDebugCurrentFrame;function ft(y){if(y){var j=y._owner,V=te(y.type,y._source,j?j.type:null);jo.setExtraStackFrame(V)}else jo.setExtraStackFrame(null)}var Ur;Ur=!1;function Gr(y){return typeof y=="object"&&y!==null&&y.$$typeof===t}function Lo(){{if(dt.current){var y=C(dt.current.type);if(y)return`
83
+ */var Th;function oI(){return Th||(Th=1,process.env.NODE_ENV!=="production"&&function(){var e=f,t=Symbol.for("react.element"),n=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),i=Symbol.for("react.provider"),s=Symbol.for("react.context"),l=Symbol.for("react.forward_ref"),u=Symbol.for("react.suspense"),c=Symbol.for("react.suspense_list"),d=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),m=Symbol.for("react.offscreen"),h=Symbol.iterator,g="@@iterator";function b(C){if(C===null||typeof C!="object")return null;var L=h&&C[h]||C[g];return typeof L=="function"?L:null}var x=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function y(C){{for(var L=arguments.length,_=new Array(L>1?L-1:0),U=1;U<L;U++)_[U-1]=arguments[U];w("error",C,_)}}function w(C,L,_){{var U=x.ReactDebugCurrentFrame,oe=U.getStackAddendum();oe!==""&&(L+="%s",_=_.concat([oe]));var se=_.map(function(te){return String(te)});se.unshift("Warning: "+L),Function.prototype.apply.call(console[C],console,se)}}var S=!1,P=!1,A=!1,T=!1,v=!1,D;D=Symbol.for("react.module.reference");function $(C){return!!(typeof C=="string"||typeof C=="function"||C===r||C===a||v||C===o||C===u||C===c||T||C===m||S||P||A||typeof C=="object"&&C!==null&&(C.$$typeof===p||C.$$typeof===d||C.$$typeof===i||C.$$typeof===s||C.$$typeof===l||C.$$typeof===D||C.getModuleId!==void 0))}function M(C,L,_){var U=C.displayName;if(U)return U;var oe=L.displayName||L.name||"";return oe!==""?_+"("+oe+")":_}function k(C){return C.displayName||"Context"}function I(C){if(C==null)return null;if(typeof C.tag=="number"&&y("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof C=="function")return C.displayName||C.name||null;if(typeof C=="string")return C;switch(C){case r:return"Fragment";case n:return"Portal";case a:return"Profiler";case o:return"StrictMode";case u:return"Suspense";case c:return"SuspenseList"}if(typeof C=="object")switch(C.$$typeof){case s:var L=C;return k(L)+".Consumer";case i:var _=C;return k(_._context)+".Provider";case l:return M(C,C.render,"ForwardRef");case d:var U=C.displayName||null;return U!==null?U:I(C.type)||"Memo";case p:{var oe=C,se=oe._payload,te=oe._init;try{return I(te(se))}catch{return null}}}return null}var E=Object.assign,O=0,j,N,W,K,H,X,B;function G(){}G.__reactDisabledLog=!0;function Y(){{if(O===0){j=console.log,N=console.info,W=console.warn,K=console.error,H=console.group,X=console.groupCollapsed,B=console.groupEnd;var C={configurable:!0,enumerable:!0,value:G,writable:!0};Object.defineProperties(console,{info:C,log:C,warn:C,error:C,group:C,groupCollapsed:C,groupEnd:C})}O++}}function R(){{if(O--,O===0){var C={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:E({},C,{value:j}),info:E({},C,{value:N}),warn:E({},C,{value:W}),error:E({},C,{value:K}),group:E({},C,{value:H}),groupCollapsed:E({},C,{value:X}),groupEnd:E({},C,{value:B})})}O<0&&y("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var Z=x.ReactCurrentDispatcher,q;function ae(C,L,_){{if(q===void 0)try{throw Error()}catch(oe){var U=oe.stack.trim().match(/\n( *(at )?)/);q=U&&U[1]||""}return`
84
+ `+q+C}}var le=!1,pe;{var be=typeof WeakMap=="function"?WeakMap:Map;pe=new be}function Q(C,L){if(!C||le)return"";{var _=pe.get(C);if(_!==void 0)return _}var U;le=!0;var oe=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var se;se=Z.current,Z.current=null,Y();try{if(L){var te=function(){throw Error()};if(Object.defineProperty(te.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(te,[])}catch(Ke){U=Ke}Reflect.construct(C,[],te)}else{try{te.call()}catch(Ke){U=Ke}C.call(te.prototype)}}else{try{throw Error()}catch(Ke){U=Ke}C()}}catch(Ke){if(Ke&&U&&typeof Ke.stack=="string"){for(var ee=Ke.stack.split(`
85
+ `),De=U.stack.split(`
86
+ `),ve=ee.length-1,Ce=De.length-1;ve>=1&&Ce>=0&&ee[ve]!==De[Ce];)Ce--;for(;ve>=1&&Ce>=0;ve--,Ce--)if(ee[ve]!==De[Ce]){if(ve!==1||Ce!==1)do if(ve--,Ce--,Ce<0||ee[ve]!==De[Ce]){var _e=`
87
+ `+ee[ve].replace(" at new "," at ");return C.displayName&&_e.includes("<anonymous>")&&(_e=_e.replace("<anonymous>",C.displayName)),typeof C=="function"&&pe.set(C,_e),_e}while(ve>=1&&Ce>=0);break}}}finally{le=!1,Z.current=se,R(),Error.prepareStackTrace=oe}var St=C?C.displayName||C.name:"",xa=St?ae(St):"";return typeof C=="function"&&pe.set(C,xa),xa}function Pe(C,L,_){return Q(C,!1)}function ie(C){var L=C.prototype;return!!(L&&L.isReactComponent)}function ne(C,L,_){if(C==null)return"";if(typeof C=="function")return Q(C,ie(C));if(typeof C=="string")return ae(C);switch(C){case u:return ae("Suspense");case c:return ae("SuspenseList")}if(typeof C=="object")switch(C.$$typeof){case l:return Pe(C.render);case d:return ne(C.type,L,_);case p:{var U=C,oe=U._payload,se=U._init;try{return ne(se(oe),L,_)}catch{}}}return""}var Ge=Object.prototype.hasOwnProperty,Xe={},Ze=x.ReactDebugCurrentFrame;function je(C){if(C){var L=C._owner,_=ne(C.type,C._source,L?L.type:null);Ze.setExtraStackFrame(_)}else Ze.setExtraStackFrame(null)}function Kt(C,L,_,U,oe){{var se=Function.call.bind(Ge);for(var te in C)if(se(C,te)){var ee=void 0;try{if(typeof C[te]!="function"){var De=Error((U||"React class")+": "+_+" type `"+te+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof C[te]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw De.name="Invariant Violation",De}ee=C[te](L,te,U,_,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(ve){ee=ve}ee&&!(ee instanceof Error)&&(je(oe),y("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",U||"React class",_,te,typeof ee),je(null)),ee instanceof Error&&!(ee.message in Xe)&&(Xe[ee.message]=!0,je(oe),y("Failed %s type: %s",_,ee.message),je(null))}}}var Dt=Array.isArray;function mt(C){return Dt(C)}function lr(C){{var L=typeof Symbol=="function"&&Symbol.toStringTag,_=L&&C[Symbol.toStringTag]||C.constructor.name||"Object";return _}}function st(C){try{return lt(C),!1}catch{return!0}}function lt(C){return""+C}function ur(C){if(st(C))return y("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",lr(C)),lt(C)}var Me=x.ReactCurrentOwner,sa={key:!0,ref:!0,__self:!0,__source:!0},cr,dr,gn;gn={};function la(C){if(Ge.call(C,"ref")){var L=Object.getOwnPropertyDescriptor(C,"ref").get;if(L&&L.isReactWarning)return!1}return C.ref!==void 0}function ua(C){if(Ge.call(C,"key")){var L=Object.getOwnPropertyDescriptor(C,"key").get;if(L&&L.isReactWarning)return!1}return C.key!==void 0}function ca(C,L){if(typeof C.ref=="string"&&Me.current&&L&&Me.current.stateNode!==L){var _=I(Me.current.type);gn[_]||(y('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',I(Me.current.type),C.ref),gn[_]=!0)}}function da(C,L){{var _=function(){cr||(cr=!0,y("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",L))};_.isReactWarning=!0,Object.defineProperty(C,"key",{get:_,configurable:!0})}}function fa(C,L){{var _=function(){dr||(dr=!0,y("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",L))};_.isReactWarning=!0,Object.defineProperty(C,"ref",{get:_,configurable:!0})}}var pa=function(C,L,_,U,oe,se,te){var ee={$$typeof:t,type:C,key:L,ref:_,props:te,_owner:se};return ee._store={},Object.defineProperty(ee._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(ee,"_self",{configurable:!1,enumerable:!1,writable:!1,value:U}),Object.defineProperty(ee,"_source",{configurable:!1,enumerable:!1,writable:!1,value:oe}),Object.freeze&&(Object.freeze(ee.props),Object.freeze(ee)),ee};function xe(C,L,_,U,oe){{var se,te={},ee=null,De=null;_!==void 0&&(ur(_),ee=""+_),ua(L)&&(ur(L.key),ee=""+L.key),la(L)&&(De=L.ref,ca(L,oe));for(se in L)Ge.call(L,se)&&!sa.hasOwnProperty(se)&&(te[se]=L[se]);if(C&&C.defaultProps){var ve=C.defaultProps;for(se in ve)te[se]===void 0&&(te[se]=ve[se])}if(ee||De){var Ce=typeof C=="function"?C.displayName||C.name||"Unknown":C;ee&&da(te,Ce),De&&fa(te,Ce)}return pa(C,ee,De,oe,U,Me.current,te)}}var Et=x.ReactCurrentOwner,ma=x.ReactDebugCurrentFrame;function Pt(C){if(C){var L=C._owner,_=ne(C.type,C._source,L?L.type:null);ma.setExtraStackFrame(_)}else ma.setExtraStackFrame(null)}var fr;fr=!1;function pr(C){return typeof C=="object"&&C!==null&&C.$$typeof===t}function ha(){{if(Et.current){var C=I(Et.current.type);if(C)return`
88
88
 
89
- Check the render method of \``+y+"`."}return""}}function gc(y){{if(y!==void 0){var j=y.fileName.replace(/^.*[\\\/]/,""),V=y.lineNumber;return`
89
+ Check the render method of \``+C+"`."}return""}}function td(C){{if(C!==void 0){var L=C.fileName.replace(/^.*[\\\/]/,""),_=C.lineNumber;return`
90
90
 
91
- Check your code at `+j+":"+V+"."}return""}}var _o={};function vc(y){{var j=Lo();if(!j){var V=typeof y=="string"?y:y.displayName||y.name;V&&(j=`
91
+ Check your code at `+L+":"+_+"."}return""}}var ga={};function nd(C){{var L=ha();if(!L){var _=typeof C=="string"?C:C.displayName||C.name;_&&(L=`
92
92
 
93
- Check the top-level render call using <`+V+">.")}return j}}function Fo(y,j){{if(!y._store||y._store.validated||y.key!=null)return;y._store.validated=!0;var V=vc(j);if(_o[V])return;_o[V]=!0;var H="";y&&y._owner&&y._owner!==dt.current&&(H=" It was passed a child from "+C(y._owner.type)+"."),ft(y),x('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',V,H),ft(null)}}function Vo(y,j){{if(typeof y!="object")return;if(rt(y))for(var V=0;V<y.length;V++){var H=y[V];Gr(H)&&Fo(H,j)}else if(Gr(y))y._store&&(y._store.validated=!0);else if(y){var re=b(y);if(typeof re=="function"&&re!==y.entries)for(var oe=re.call(y),J;!(J=oe.next()).done;)Gr(J.value)&&Fo(J.value,j)}}}function bc(y){{var j=y.type;if(j==null||typeof j=="string")return;var V;if(typeof j=="function")V=j.propTypes;else if(typeof j=="object"&&(j.$$typeof===l||j.$$typeof===d))V=j.propTypes;else return;if(V){var H=C(j);Nt(V,y.props,"prop",H,y)}else if(j.PropTypes!==void 0&&!Ur){Ur=!0;var re=C(j);x("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",re||"Unknown")}typeof j.getDefaultProps=="function"&&!j.getDefaultProps.isReactClassApproved&&x("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function yc(y){{for(var j=Object.keys(y.props),V=0;V<j.length;V++){var H=j[V];if(H!=="children"&&H!=="key"){ft(y),x("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",H),ft(null);break}}y.ref!==null&&(ft(y),x("Invalid attribute `ref` supplied to `React.Fragment`."),ft(null))}}function zo(y,j,V,H,re,oe){{var J=I(y);if(!J){var Z="";(y===void 0||typeof y=="object"&&y!==null&&Object.keys(y).length===0)&&(Z+=" 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 Pe=gc(re);Pe?Z+=Pe:Z+=Lo();var pe;y===null?pe="null":rt(y)?pe="array":y!==void 0&&y.$$typeof===t?(pe="<"+(C(y.type)||"Unknown")+" />",Z=" Did you accidentally export a JSX literal instead of a component?"):pe=typeof y,x("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",pe,Z)}var me=he(y,j,V,re,oe);if(me==null)return me;if(J){var Oe=j.children;if(Oe!==void 0)if(H)if(rt(Oe)){for(var pt=0;pt<Oe.length;pt++)Vo(Oe[pt],y);Object.freeze&&Object.freeze(Oe)}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 Vo(Oe,y)}return y===n?yc(me):bc(me),me}}function xc(y,j,V){return zo(y,j,V,!0)}function wc(y,j,V){return zo(y,j,V,!1)}var Cc=wc,Pc=xc;xo.Fragment=n,xo.jsx=Cc,xo.jsxs=Pc}()),xo}var wo={};/**
93
+ Check the top-level render call using <`+_+">.")}return L}}function ba(C,L){{if(!C._store||C._store.validated||C.key!=null)return;C._store.validated=!0;var _=nd(L);if(ga[_])return;ga[_]=!0;var U="";C&&C._owner&&C._owner!==Et.current&&(U=" It was passed a child from "+I(C._owner.type)+"."),Pt(C),y('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',_,U),Pt(null)}}function va(C,L){{if(typeof C!="object")return;if(mt(C))for(var _=0;_<C.length;_++){var U=C[_];pr(U)&&ba(U,L)}else if(pr(C))C._store&&(C._store.validated=!0);else if(C){var oe=b(C);if(typeof oe=="function"&&oe!==C.entries)for(var se=oe.call(C),te;!(te=se.next()).done;)pr(te.value)&&ba(te.value,L)}}}function rd(C){{var L=C.type;if(L==null||typeof L=="string")return;var _;if(typeof L=="function")_=L.propTypes;else if(typeof L=="object"&&(L.$$typeof===l||L.$$typeof===d))_=L.propTypes;else return;if(_){var U=I(L);Kt(_,C.props,"prop",U,C)}else if(L.PropTypes!==void 0&&!fr){fr=!0;var oe=I(L);y("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",oe||"Unknown")}typeof L.getDefaultProps=="function"&&!L.getDefaultProps.isReactClassApproved&&y("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function od(C){{for(var L=Object.keys(C.props),_=0;_<L.length;_++){var U=L[_];if(U!=="children"&&U!=="key"){Pt(C),y("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",U),Pt(null);break}}C.ref!==null&&(Pt(C),y("Invalid attribute `ref` supplied to `React.Fragment`."),Pt(null))}}function ya(C,L,_,U,oe,se){{var te=$(C);if(!te){var ee="";(C===void 0||typeof C=="object"&&C!==null&&Object.keys(C).length===0)&&(ee+=" 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 De=td(oe);De?ee+=De:ee+=ha();var ve;C===null?ve="null":mt(C)?ve="array":C!==void 0&&C.$$typeof===t?(ve="<"+(I(C.type)||"Unknown")+" />",ee=" Did you accidentally export a JSX literal instead of a component?"):ve=typeof C,y("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",ve,ee)}var Ce=xe(C,L,_,oe,se);if(Ce==null)return Ce;if(te){var _e=L.children;if(_e!==void 0)if(U)if(mt(_e)){for(var St=0;St<_e.length;St++)va(_e[St],C);Object.freeze&&Object.freeze(_e)}else y("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else va(_e,C)}return C===r?od(Ce):rd(Ce),Ce}}function ad(C,L,_){return ya(C,L,_,!0)}function id(C,L,_){return ya(C,L,_,!1)}var sd=id,ld=ad;Ho.Fragment=r,Ho.jsx=sd,Ho.jsxs=ld}()),Ho}var Xo={};/**
94
94
  * @license React
95
95
  * react-jsx-runtime.production.min.js
96
96
  *
@@ -98,4 +98,34 @@ Check the top-level render call using <`+V+">.")}return j}}function Fo(y,j){{if(
98
98
  *
99
99
  * This source code is licensed under the MIT license found in the
100
100
  * LICENSE file in the root directory of this source tree.
101
- */var U1;function K9(){if(U1)return wo;U1=1;var e=f,t=Symbol.for("react.element"),r=Symbol.for("react.fragment"),n=Object.prototype.hasOwnProperty,o=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,a={key:!0,ref:!0,__self:!0,__source:!0};function s(i,l,c){var u,d={},p=null,h=null;c!==void 0&&(p=""+c),l.key!==void 0&&(p=""+l.key),l.ref!==void 0&&(h=l.ref);for(u in l)n.call(l,u)&&!a.hasOwnProperty(u)&&(d[u]=l[u]);if(i&&i.defaultProps)for(u in l=i.defaultProps,l)d[u]===void 0&&(d[u]=l[u]);return{$$typeof:t,type:i,key:p,ref:h,props:d,_owner:o.current}}return wo.Fragment=r,wo.jsx=s,wo.jsxs=s,wo}process.env.NODE_ENV==="production"?Yl.exports=K9():Yl.exports=B9();var R=Yl.exports;function Co(e){return e.mode==="multiple"}function Po(e){return e.mode==="range"}function cs(e){return e.mode==="single"}var R9={root:"rdp",multiple_months:"rdp-multiple_months",with_weeknumber:"rdp-with_weeknumber",vhidden:"rdp-vhidden",button_reset:"rdp-button_reset",button:"rdp-button",caption:"rdp-caption",caption_start:"rdp-caption_start",caption_end:"rdp-caption_end",caption_between:"rdp-caption_between",caption_label:"rdp-caption_label",caption_dropdowns:"rdp-caption_dropdowns",dropdown:"rdp-dropdown",dropdown_month:"rdp-dropdown_month",dropdown_year:"rdp-dropdown_year",dropdown_icon:"rdp-dropdown_icon",months:"rdp-months",month:"rdp-month",table:"rdp-table",tbody:"rdp-tbody",tfoot:"rdp-tfoot",head:"rdp-head",head_row:"rdp-head_row",head_cell:"rdp-head_cell",nav:"rdp-nav",nav_button:"rdp-nav_button",nav_button_previous:"rdp-nav_button_previous",nav_button_next:"rdp-nav_button_next",nav_icon:"rdp-nav_icon",row:"rdp-row",weeknumber:"rdp-weeknumber",cell:"rdp-cell",day:"rdp-day",day_today:"rdp-day_today",day_outside:"rdp-day_outside",day_selected:"rdp-day_selected",day_disabled:"rdp-day_disabled",day_hidden:"rdp-day_hidden",day_range_start:"rdp-day_range_start",day_range_end:"rdp-day_range_end",day_range_middle:"rdp-day_range_middle"};function U9(e,t){return Yt(e,"LLLL y",t)}function G9(e,t){return Yt(e,"d",t)}function H9(e,t){return Yt(e,"LLLL",t)}function Y9(e){return"".concat(e)}function q9(e,t){return Yt(e,"cccccc",t)}function Q9(e,t){return Yt(e,"yyyy",t)}var X9=Object.freeze({__proto__:null,formatCaption:U9,formatDay:G9,formatMonthCaption:H9,formatWeekNumber:Y9,formatWeekdayName:q9,formatYearCaption:Q9}),Z9=function(e,t,r){return Yt(e,"do MMMM (EEEE)",r)},J9=function(){return"Month: "},ex=function(){return"Go to next month"},tx=function(){return"Go to previous month"},rx=function(e,t){return Yt(e,"cccc",t)},nx=function(e){return"Week n. ".concat(e)},ox=function(){return"Year: "},ax=Object.freeze({__proto__:null,labelDay:Z9,labelMonthDropdown:J9,labelNext:ex,labelPrevious:tx,labelWeekNumber:nx,labelWeekday:rx,labelYearDropdown:ox});function sx(){var e="buttons",t=R9,r=A1,n={},o={},a=1,s={},i=new Date;return{captionLayout:e,classNames:t,formatters:X9,labels:ax,locale:r,modifiersClassNames:n,modifiers:o,numberOfMonths:a,styles:s,today:i,mode:"default"}}function ix(e){var t=e.fromYear,r=e.toYear,n=e.fromMonth,o=e.toMonth,a=e.fromDate,s=e.toDate;return n?a=tt(n):t&&(a=new Date(t,0,1)),o?s=Wl(o):r&&(s=new Date(r,11,31)),{fromDate:a?wn(a):void 0,toDate:s?wn(s):void 0}}var G1=f.createContext(void 0);function lx(e){var t,r=e.initialProps,n=sx(),o=ix(r),a=o.fromDate,s=o.toDate,i=(t=r.captionLayout)!==null&&t!==void 0?t:n.captionLayout;i!=="buttons"&&(!a||!s)&&(i="buttons");var l;(cs(r)||Co(r)||Po(r))&&(l=r.onSelect);var c=ie(ie(ie({},n),r),{captionLayout:i,classNames:ie(ie({},n.classNames),r.classNames),components:ie({},r.components),formatters:ie(ie({},n.formatters),r.formatters),fromDate:a,labels:ie(ie({},n.labels),r.labels),mode:r.mode||n.mode,modifiers:ie(ie({},n.modifiers),r.modifiers),modifiersClassNames:ie(ie({},n.modifiersClassNames),r.modifiersClassNames),onSelect:l,styles:ie(ie({},n.styles),r.styles),toDate:s});return R.jsx(G1.Provider,{value:c,children:e.children})}function ke(){var e=f.useContext(G1);if(!e)throw new Error("useDayPicker must be used within a DayPickerProvider.");return e}function H1(e){var t=ke(),r=t.locale,n=t.classNames,o=t.styles,a=t.formatters.formatCaption;return R.jsx("div",{className:n.caption_label,style:o.caption_label,"aria-live":"polite",role:"presentation",id:e.id,children:a(e.displayMonth,{locale:r})})}function cx(e){return R.jsx("svg",ie({width:"8px",height:"8px",viewBox:"0 0 120 120","data-testid":"iconDropdown"},e,{children:R.jsx("path",{d:"M4.22182541,48.2218254 C8.44222828,44.0014225 15.2388494,43.9273804 19.5496459,47.9996989 L19.7781746,48.2218254 L60,88.443 L100.221825,48.2218254 C104.442228,44.0014225 111.238849,43.9273804 115.549646,47.9996989 L115.778175,48.2218254 C119.998577,52.4422283 120.07262,59.2388494 116.000301,63.5496459 L115.778175,63.7781746 L67.7781746,111.778175 C63.5577717,115.998577 56.7611506,116.07262 52.4503541,112.000301 L52.2218254,111.778175 L4.22182541,63.7781746 C-0.0739418023,59.4824074 -0.0739418023,52.5175926 4.22182541,48.2218254 Z",fill:"currentColor",fillRule:"nonzero"})}))}function Y1(e){var t,r,n=e.onChange,o=e.value,a=e.children,s=e.caption,i=e.className,l=e.style,c=ke(),u=(r=(t=c.components)===null||t===void 0?void 0:t.IconDropdown)!==null&&r!==void 0?r:cx;return R.jsxs("div",{className:i,style:l,children:[R.jsx("span",{className:c.classNames.vhidden,children:e["aria-label"]}),R.jsx("select",{name:e.name,"aria-label":e["aria-label"],className:c.classNames.dropdown,style:c.styles.dropdown,value:o,onChange:n,children:a}),R.jsxs("div",{className:c.classNames.caption_label,style:c.styles.caption_label,"aria-hidden":"true",children:[s,R.jsx(u,{className:c.classNames.dropdown_icon,style:c.styles.dropdown_icon})]})]})}function ux(e){var t,r=ke(),n=r.fromDate,o=r.toDate,a=r.styles,s=r.locale,i=r.formatters.formatMonthCaption,l=r.classNames,c=r.components,u=r.labels.labelMonthDropdown;if(!n)return R.jsx(R.Fragment,{});if(!o)return R.jsx(R.Fragment,{});var d=[];if(z9(n,o))for(var p=tt(n),h=n.getMonth();h<=o.getMonth();h++)d.push(Hl(p,h));else for(var p=tt(new Date),h=0;h<=11;h++)d.push(Hl(p,h));var g=function(b){var P=Number(b.target.value),x=Hl(tt(e.displayMonth),P);e.onChange(x)},v=(t=c==null?void 0:c.Dropdown)!==null&&t!==void 0?t:Y1;return R.jsx(v,{name:"months","aria-label":u(),className:l.dropdown_month,style:a.dropdown_month,onChange:g,value:e.displayMonth.getMonth(),caption:i(e.displayMonth,{locale:s}),children:d.map(function(b){return R.jsx("option",{value:b.getMonth(),children:i(b,{locale:s})},b.getMonth())})})}function dx(e){var t,r=e.displayMonth,n=ke(),o=n.fromDate,a=n.toDate,s=n.locale,i=n.styles,l=n.classNames,c=n.components,u=n.formatters.formatYearCaption,d=n.labels.labelYearDropdown,p=[];if(!o)return R.jsx(R.Fragment,{});if(!a)return R.jsx(R.Fragment,{});for(var h=o.getFullYear(),g=a.getFullYear(),v=h;v<=g;v++)p.push(B1(k1(new Date),v));var b=function(x){var w=B1(tt(r),Number(x.target.value));e.onChange(w)},P=(t=c==null?void 0:c.Dropdown)!==null&&t!==void 0?t:Y1;return R.jsx(P,{name:"years","aria-label":d(),className:l.dropdown_year,style:i.dropdown_year,onChange:b,value:r.getFullYear(),caption:u(r,{locale:s}),children:p.map(function(x){return R.jsx("option",{value:x.getFullYear(),children:u(x,{locale:s})},x.getFullYear())})})}function fx(e,t){var r=f.useState(e),n=r[0],o=r[1],a=t===void 0?n:t;return[a,o]}function px(e){var t=e.month,r=e.defaultMonth,n=e.today,o=t||r||n||new Date,a=e.toDate,s=e.fromDate,i=e.numberOfMonths,l=i===void 0?1:i;if(a&&vo(a,o)<0){var c=-1*(l-1);o=Ct(a,c)}return s&&vo(o,s)<0&&(o=s),tt(o)}function hx(){var e=ke(),t=px(e),r=fx(t,e.month),n=r[0],o=r[1],a=function(s){var i;if(!e.disableNavigation){var l=tt(s);o(l),(i=e.onMonthChange)===null||i===void 0||i.call(e,l)}};return[n,a]}function mx(e,t){for(var r=t.reverseMonths,n=t.numberOfMonths,o=tt(e),a=tt(Ct(o,n)),s=vo(a,o),i=[],l=0;l<s;l++){var c=Ct(o,l);i.push(c)}return r&&(i=i.reverse()),i}function gx(e,t){if(!t.disableNavigation){var r=t.toDate,n=t.pagedNavigation,o=t.numberOfMonths,a=o===void 0?1:o,s=n?a:1,i=tt(e);if(!r)return Ct(i,s);var l=vo(r,e);if(!(l<a))return Ct(i,s)}}function vx(e,t){if(!t.disableNavigation){var r=t.fromDate,n=t.pagedNavigation,o=t.numberOfMonths,a=o===void 0?1:o,s=n?a:1,i=tt(e);if(!r)return Ct(i,-s);var l=vo(i,r);if(!(l<=0))return Ct(i,-s)}}var q1=f.createContext(void 0);function bx(e){var t=ke(),r=hx(),n=r[0],o=r[1],a=mx(n,t),s=gx(n,t),i=vx(n,t),l=function(d){return a.some(function(p){return Ul(d,p)})},c=function(d,p){l(d)||(p&&W1(d,p)?o(Ct(d,1+t.numberOfMonths*-1)):o(d))},u={currentMonth:n,displayMonths:a,goToMonth:o,goToDate:c,previousMonth:i,nextMonth:s,isDateDisplayed:l};return R.jsx(q1.Provider,{value:u,children:e.children})}function Pn(){var e=f.useContext(q1);if(!e)throw new Error("useNavigation must be used within a NavigationProvider");return e}function Q1(e){var t,r=ke(),n=r.classNames,o=r.styles,a=r.components,s=Pn().goToMonth,i=function(u){s(Ct(u,e.displayIndex?-e.displayIndex:0))},l=(t=a==null?void 0:a.CaptionLabel)!==null&&t!==void 0?t:H1,c=R.jsx(l,{id:e.id,displayMonth:e.displayMonth});return R.jsxs("div",{className:n.caption_dropdowns,style:o.caption_dropdowns,children:[R.jsx("div",{className:n.vhidden,children:c}),R.jsx(ux,{onChange:i,displayMonth:e.displayMonth}),R.jsx(dx,{onChange:i,displayMonth:e.displayMonth})]})}function yx(e){return R.jsx("svg",ie({width:"16px",height:"16px",viewBox:"0 0 120 120"},e,{children:R.jsx("path",{d:"M69.490332,3.34314575 C72.6145263,0.218951416 77.6798462,0.218951416 80.8040405,3.34314575 C83.8617626,6.40086786 83.9268205,11.3179931 80.9992143,14.4548388 L80.8040405,14.6568542 L35.461,60 L80.8040405,105.343146 C83.8617626,108.400868 83.9268205,113.317993 80.9992143,116.454839 L80.8040405,116.656854 C77.7463184,119.714576 72.8291931,119.779634 69.6923475,116.852028 L69.490332,116.656854 L18.490332,65.6568542 C15.4326099,62.5991321 15.367552,57.6820069 18.2951583,54.5451612 L18.490332,54.3431458 L69.490332,3.34314575 Z",fill:"currentColor",fillRule:"nonzero"})}))}function xx(e){return R.jsx("svg",ie({width:"16px",height:"16px",viewBox:"0 0 120 120"},e,{children:R.jsx("path",{d:"M49.8040405,3.34314575 C46.6798462,0.218951416 41.6145263,0.218951416 38.490332,3.34314575 C35.4326099,6.40086786 35.367552,11.3179931 38.2951583,14.4548388 L38.490332,14.6568542 L83.8333725,60 L38.490332,105.343146 C35.4326099,108.400868 35.367552,113.317993 38.2951583,116.454839 L38.490332,116.656854 C41.5480541,119.714576 46.4651794,119.779634 49.602025,116.852028 L49.8040405,116.656854 L100.804041,65.6568542 C103.861763,62.5991321 103.926821,57.6820069 100.999214,54.5451612 L100.804041,54.3431458 L49.8040405,3.34314575 Z",fill:"currentColor"})}))}var us=f.forwardRef(function(e,t){var r=ke(),n=r.classNames,o=r.styles,a=[n.button_reset,n.button];e.className&&a.push(e.className);var s=a.join(" "),i=ie(ie({},o.button_reset),o.button);return e.style&&Object.assign(i,e.style),R.jsx("button",ie({},e,{ref:t,type:"button",className:s,style:i}))});function wx(e){var t,r,n=ke(),o=n.dir,a=n.locale,s=n.classNames,i=n.styles,l=n.labels,c=l.labelPrevious,u=l.labelNext,d=n.components;if(!e.nextMonth&&!e.previousMonth)return R.jsx(R.Fragment,{});var p=c(e.previousMonth,{locale:a}),h=[s.nav_button,s.nav_button_previous].join(" "),g=u(e.nextMonth,{locale:a}),v=[s.nav_button,s.nav_button_next].join(" "),b=(t=d==null?void 0:d.IconRight)!==null&&t!==void 0?t:xx,P=(r=d==null?void 0:d.IconLeft)!==null&&r!==void 0?r:yx;return R.jsxs("div",{className:s.nav,style:i.nav,children:[!e.hidePrevious&&R.jsx(us,{name:"previous-month","aria-label":p,className:h,style:i.nav_button_previous,disabled:!e.previousMonth,onClick:e.onPreviousClick,children:o==="rtl"?R.jsx(b,{className:s.nav_icon,style:i.nav_icon}):R.jsx(P,{className:s.nav_icon,style:i.nav_icon})}),!e.hideNext&&R.jsx(us,{name:"next-month","aria-label":g,className:v,style:i.nav_button_next,disabled:!e.nextMonth,onClick:e.onNextClick,children:o==="rtl"?R.jsx(P,{className:s.nav_icon,style:i.nav_icon}):R.jsx(b,{className:s.nav_icon,style:i.nav_icon})})]})}function X1(e){var t=ke().numberOfMonths,r=Pn(),n=r.previousMonth,o=r.nextMonth,a=r.goToMonth,s=r.displayMonths,i=s.findIndex(function(g){return Ul(e.displayMonth,g)}),l=i===0,c=i===s.length-1,u=t>1&&(l||!c),d=t>1&&(c||!l),p=function(){n&&a(n)},h=function(){o&&a(o)};return R.jsx(wx,{displayMonth:e.displayMonth,hideNext:u,hidePrevious:d,nextMonth:o,previousMonth:n,onPreviousClick:p,onNextClick:h})}function Cx(e){var t,r=ke(),n=r.classNames,o=r.disableNavigation,a=r.styles,s=r.captionLayout,i=r.components,l=(t=i==null?void 0:i.CaptionLabel)!==null&&t!==void 0?t:H1,c;return o?c=R.jsx(l,{id:e.id,displayMonth:e.displayMonth}):s==="dropdown"?c=R.jsx(Q1,{displayMonth:e.displayMonth,id:e.id}):s==="dropdown-buttons"?c=R.jsxs(R.Fragment,{children:[R.jsx(Q1,{displayMonth:e.displayMonth,displayIndex:e.displayIndex,id:e.id}),R.jsx(X1,{displayMonth:e.displayMonth,displayIndex:e.displayIndex,id:e.id})]}):c=R.jsxs(R.Fragment,{children:[R.jsx(l,{id:e.id,displayMonth:e.displayMonth,displayIndex:e.displayIndex}),R.jsx(X1,{displayMonth:e.displayMonth,id:e.id})]}),R.jsx("div",{className:n.caption,style:a.caption,children:c})}function Px(e){var t=ke(),r=t.footer,n=t.styles,o=t.classNames.tfoot;return r?R.jsx("tfoot",{className:o,style:n.tfoot,children:R.jsx("tr",{children:R.jsx("td",{colSpan:8,children:r})})}):R.jsx(R.Fragment,{})}function Mx(e,t,r){for(var n=r?jr(new Date):It(new Date,{locale:e,weekStartsOn:t}),o=[],a=0;a<7;a++){var s=qe(n,a);o.push(s)}return o}function Sx(){var e=ke(),t=e.classNames,r=e.styles,n=e.showWeekNumber,o=e.locale,a=e.weekStartsOn,s=e.ISOWeek,i=e.formatters.formatWeekdayName,l=e.labels.labelWeekday,c=Mx(o,a,s);return R.jsxs("tr",{style:r.head_row,className:t.head_row,children:[n&&R.jsx("td",{style:r.head_cell,className:t.head_cell}),c.map(function(u,d){return R.jsx("th",{scope:"col",className:t.head_cell,style:r.head_cell,"aria-label":l(u,{locale:o}),children:i(u,{locale:o})},d)})]})}function Tx(){var e,t=ke(),r=t.classNames,n=t.styles,o=t.components,a=(e=o==null?void 0:o.HeadRow)!==null&&e!==void 0?e:Sx;return R.jsx("thead",{style:n.head,className:r.head,children:R.jsx(a,{})})}function Ex(e){var t=ke(),r=t.locale,n=t.formatters.formatDay;return R.jsx(R.Fragment,{children:n(e.date,{locale:r})})}var ql=f.createContext(void 0);function $x(e){if(!Co(e.initialProps)){var t={selected:void 0,modifiers:{disabled:[]}};return R.jsx(ql.Provider,{value:t,children:e.children})}return R.jsx(Dx,{initialProps:e.initialProps,children:e.children})}function Dx(e){var t=e.initialProps,r=e.children,n=t.selected,o=t.min,a=t.max,s=function(c,u,d){var p,h;(p=t.onDayClick)===null||p===void 0||p.call(t,c,u,d);var g=!!(u.selected&&o&&(n==null?void 0:n.length)===o);if(!g){var v=!!(!u.selected&&a&&(n==null?void 0:n.length)===a);if(!v){var b=n?K1([],n,!0):[];if(u.selected){var P=b.findIndex(function(x){return et(c,x)});b.splice(P,1)}else b.push(c);(h=t.onSelect)===null||h===void 0||h.call(t,b,c,u,d)}}},i={disabled:[]};n&&i.disabled.push(function(c){var u=a&&n.length>a-1,d=n.some(function(p){return et(p,c)});return!!(u&&!d)});var l={selected:n,onDayClick:s,modifiers:i};return R.jsx(ql.Provider,{value:l,children:r})}function Ql(){var e=f.useContext(ql);if(!e)throw new Error("useSelectMultiple must be used within a SelectMultipleProvider");return e}function kx(e,t){var r=t||{},n=r.from,o=r.to;return n&&o?et(o,e)&&et(n,e)?void 0:et(o,e)?{from:o,to:void 0}:et(n,e)?void 0:Rl(n,e)?{from:e,to:o}:{from:n,to:e}:o?Rl(e,o)?{from:o,to:e}:{from:e,to:o}:n?W1(e,n)?{from:e,to:n}:{from:n,to:e}:{from:e,to:void 0}}var Xl=f.createContext(void 0);function Ix(e){if(!Po(e.initialProps)){var t={selected:void 0,modifiers:{range_start:[],range_end:[],range_middle:[],disabled:[]}};return R.jsx(Xl.Provider,{value:t,children:e.children})}return R.jsx(Ax,{initialProps:e.initialProps,children:e.children})}function Ax(e){var t=e.initialProps,r=e.children,n=t.selected,o=n||{},a=o.from,s=o.to,i=t.min,l=t.max,c=function(h,g,v){var b,P;(b=t.onDayClick)===null||b===void 0||b.call(t,h,g,v);var x=kx(h,n);(P=t.onSelect)===null||P===void 0||P.call(t,x,h,g,v)},u={range_start:[],range_end:[],range_middle:[],disabled:[]};if(a?(u.range_start=[a],s?(u.range_end=[s],et(a,s)||(u.range_middle=[{after:a,before:s}])):u.range_end=[a]):s&&(u.range_start=[s],u.range_end=[s]),i&&(a&&!s&&u.disabled.push({after:Gl(a,i-1),before:qe(a,i-1)}),a&&s&&u.disabled.push({after:a,before:qe(a,i-1)}),!a&&s&&u.disabled.push({after:Gl(s,i-1),before:qe(s,i-1)})),l){if(a&&!s&&(u.disabled.push({before:qe(a,-l+1)}),u.disabled.push({after:qe(a,l-1)})),a&&s){var d=At(s,a)+1,p=l-d;u.disabled.push({before:Gl(a,p)}),u.disabled.push({after:qe(s,p)})}!a&&s&&(u.disabled.push({before:qe(s,-l+1)}),u.disabled.push({after:qe(s,l-1)}))}return R.jsx(Xl.Provider,{value:{selected:n,onDayClick:c,modifiers:u},children:r})}function Zl(){var e=f.useContext(Xl);if(!e)throw new Error("useSelectRange must be used within a SelectRangeProvider");return e}function ds(e){return Array.isArray(e)?K1([],e,!0):e!==void 0?[e]:[]}function Nx(e){var t={};return Object.entries(e).forEach(function(r){var n=r[0],o=r[1];t[n]=ds(o)}),t}var Pt;(function(e){e.Outside="outside",e.Disabled="disabled",e.Selected="selected",e.Hidden="hidden",e.Today="today",e.RangeStart="range_start",e.RangeEnd="range_end",e.RangeMiddle="range_middle"})(Pt||(Pt={}));var Ox=Pt.Selected,qt=Pt.Disabled,jx=Pt.Hidden,Lx=Pt.Today,Jl=Pt.RangeEnd,ec=Pt.RangeMiddle,tc=Pt.RangeStart,_x=Pt.Outside;function Fx(e,t,r){var n,o=(n={},n[Ox]=ds(e.selected),n[qt]=ds(e.disabled),n[jx]=ds(e.hidden),n[Lx]=[e.today],n[Jl]=[],n[ec]=[],n[tc]=[],n[_x]=[],n);return e.fromDate&&o[qt].push({before:e.fromDate}),e.toDate&&o[qt].push({after:e.toDate}),Co(e)?o[qt]=o[qt].concat(t.modifiers[qt]):Po(e)&&(o[qt]=o[qt].concat(r.modifiers[qt]),o[tc]=r.modifiers[tc],o[ec]=r.modifiers[ec],o[Jl]=r.modifiers[Jl]),o}var Z1=f.createContext(void 0);function Vx(e){var t=ke(),r=Ql(),n=Zl(),o=Fx(t,r,n),a=Nx(t.modifiers),s=ie(ie({},o),a);return R.jsx(Z1.Provider,{value:s,children:e.children})}function J1(){var e=f.useContext(Z1);if(!e)throw new Error("useModifiers must be used within a ModifiersProvider");return e}function zx(e){return!!(e&&typeof e=="object"&&"before"in e&&"after"in e)}function Wx(e){return!!(e&&typeof e=="object"&&"from"in e)}function Bx(e){return!!(e&&typeof e=="object"&&"after"in e)}function Kx(e){return!!(e&&typeof e=="object"&&"before"in e)}function Rx(e){return!!(e&&typeof e=="object"&&"dayOfWeek"in e)}function Ux(e,t){var r,n=t.from,o=t.to;if(n&&o){var a=At(o,n)<0;a&&(r=[o,n],n=r[0],o=r[1]);var s=At(e,n)>=0&&At(o,e)>=0;return s}return o?et(o,e):n?et(n,e):!1}function Gx(e){return zl(e)}function Hx(e){return Array.isArray(e)&&e.every(zl)}function Yx(e,t){return t.some(function(r){if(typeof r=="boolean")return r;if(Gx(r))return et(e,r);if(Hx(r))return r.includes(e);if(Wx(r))return Ux(e,r);if(Rx(r))return r.dayOfWeek.includes(e.getDay());if(zx(r)){var n=At(r.before,e),o=At(r.after,e),a=n>0,s=o<0,i=Rl(r.before,r.after);return i?s&&a:a||s}return Bx(r)?At(e,r.after)>0:Kx(r)?At(r.before,e)>0:typeof r=="function"?r(e):!1})}function rc(e,t,r){var n=Object.keys(t).reduce(function(a,s){var i=t[s];return Yx(e,i)&&a.push(s),a},[]),o={};return n.forEach(function(a){return o[a]=!0}),r&&!Ul(e,r)&&(o.outside=!0),o}function qx(e,t){for(var r=tt(e[0]),n=Wl(e[e.length-1]),o,a,s=r;s<=n;){var i=rc(s,t),l=!i.disabled&&!i.hidden;if(!l){s=qe(s,1);continue}if(i.selected)return s;i.today&&!a&&(a=s),o||(o=s),s=qe(s,1)}return a||o}var Qx=365;function eh(e,t){var r=t.moveBy,n=t.direction,o=t.context,a=t.modifiers,s=t.retry,i=s===void 0?{count:0,lastFocused:e}:s,l=o.weekStartsOn,c=o.fromDate,u=o.toDate,d=o.locale,p={day:qe,week:Vl,month:Ct,year:F8,startOfWeek:function(b){return o.ISOWeek?jr(b):It(b,{locale:d,weekStartsOn:l})},endOfWeek:function(b){return o.ISOWeek?I1(b):Bl(b,{locale:d,weekStartsOn:l})}},h=p[r](e,n==="after"?1:-1);n==="before"&&c?h=V8([c,h]):n==="after"&&u&&(h=z8([u,h]));var g=!0;if(a){var v=rc(h,a);g=!v.disabled&&!v.hidden}return g?h:i.count>Qx?i.lastFocused:eh(h,{moveBy:r,direction:n,context:o,modifiers:a,retry:ie(ie({},i),{count:i.count+1})})}var th=f.createContext(void 0);function Xx(e){var t=Pn(),r=J1(),n=f.useState(),o=n[0],a=n[1],s=f.useState(),i=s[0],l=s[1],c=qx(t.displayMonths,r),u=o??(i&&t.isDateDisplayed(i))?i:c,d=function(){l(o),a(void 0)},p=function(b){a(b)},h=ke(),g=function(b,P){if(o){var x=eh(o,{moveBy:b,direction:P,context:h,modifiers:r});et(o,x)||(t.goToDate(x,o),p(x))}},v={focusedDay:o,focusTarget:u,blur:d,focus:p,focusDayAfter:function(){return g("day","after")},focusDayBefore:function(){return g("day","before")},focusWeekAfter:function(){return g("week","after")},focusWeekBefore:function(){return g("week","before")},focusMonthBefore:function(){return g("month","before")},focusMonthAfter:function(){return g("month","after")},focusYearBefore:function(){return g("year","before")},focusYearAfter:function(){return g("year","after")},focusStartOfWeek:function(){return g("startOfWeek","before")},focusEndOfWeek:function(){return g("endOfWeek","after")}};return R.jsx(th.Provider,{value:v,children:e.children})}function nc(){var e=f.useContext(th);if(!e)throw new Error("useFocusContext must be used within a FocusProvider");return e}function Zx(e,t){var r=J1(),n=rc(e,r,t);return n}var oc=f.createContext(void 0);function Jx(e){if(!cs(e.initialProps)){var t={selected:void 0};return R.jsx(oc.Provider,{value:t,children:e.children})}return R.jsx(ew,{initialProps:e.initialProps,children:e.children})}function ew(e){var t=e.initialProps,r=e.children,n=function(a,s,i){var l,c,u;if((l=t.onDayClick)===null||l===void 0||l.call(t,a,s,i),s.selected&&!t.required){(c=t.onSelect)===null||c===void 0||c.call(t,void 0,a,s,i);return}(u=t.onSelect)===null||u===void 0||u.call(t,a,a,s,i)},o={selected:t.selected,onDayClick:n};return R.jsx(oc.Provider,{value:o,children:r})}function rh(){var e=f.useContext(oc);if(!e)throw new Error("useSelectSingle must be used within a SelectSingleProvider");return e}function tw(e,t){var r=ke(),n=rh(),o=Ql(),a=Zl(),s=nc(),i=s.focusDayAfter,l=s.focusDayBefore,c=s.focusWeekAfter,u=s.focusWeekBefore,d=s.blur,p=s.focus,h=s.focusMonthBefore,g=s.focusMonthAfter,v=s.focusYearBefore,b=s.focusYearAfter,P=s.focusStartOfWeek,x=s.focusEndOfWeek,w=function(D){var z,X,G,U;cs(r)?(z=n.onDayClick)===null||z===void 0||z.call(n,e,t,D):Co(r)?(X=o.onDayClick)===null||X===void 0||X.call(o,e,t,D):Po(r)?(G=a.onDayClick)===null||G===void 0||G.call(a,e,t,D):(U=r.onDayClick)===null||U===void 0||U.call(r,e,t,D)},T=function(D){var z;p(e),(z=r.onDayFocus)===null||z===void 0||z.call(r,e,t,D)},$=function(D){var z;d(),(z=r.onDayBlur)===null||z===void 0||z.call(r,e,t,D)},E=function(D){var z;(z=r.onDayMouseEnter)===null||z===void 0||z.call(r,e,t,D)},A=function(D){var z;(z=r.onDayMouseLeave)===null||z===void 0||z.call(r,e,t,D)},m=function(D){var z;(z=r.onDayPointerEnter)===null||z===void 0||z.call(r,e,t,D)},k=function(D){var z;(z=r.onDayPointerLeave)===null||z===void 0||z.call(r,e,t,D)},I=function(D){var z;(z=r.onDayTouchCancel)===null||z===void 0||z.call(r,e,t,D)},S=function(D){var z;(z=r.onDayTouchEnd)===null||z===void 0||z.call(r,e,t,D)},N=function(D){var z;(z=r.onDayTouchMove)===null||z===void 0||z.call(r,e,t,D)},C=function(D){var z;(z=r.onDayTouchStart)===null||z===void 0||z.call(r,e,t,D)},M=function(D){var z;(z=r.onDayKeyUp)===null||z===void 0||z.call(r,e,t,D)},O=function(D){var z;switch(D.key){case"ArrowLeft":D.preventDefault(),D.stopPropagation(),r.dir==="rtl"?i():l();break;case"ArrowRight":D.preventDefault(),D.stopPropagation(),r.dir==="rtl"?l():i();break;case"ArrowDown":D.preventDefault(),D.stopPropagation(),c();break;case"ArrowUp":D.preventDefault(),D.stopPropagation(),u();break;case"PageUp":D.preventDefault(),D.stopPropagation(),D.shiftKey?v():h();break;case"PageDown":D.preventDefault(),D.stopPropagation(),D.shiftKey?b():g();break;case"Home":D.preventDefault(),D.stopPropagation(),P();break;case"End":D.preventDefault(),D.stopPropagation(),x();break}(z=r.onDayKeyDown)===null||z===void 0||z.call(r,e,t,D)},_={onClick:w,onFocus:T,onBlur:$,onKeyDown:O,onKeyUp:M,onMouseEnter:E,onMouseLeave:A,onPointerEnter:m,onPointerLeave:k,onTouchCancel:I,onTouchEnd:S,onTouchMove:N,onTouchStart:C};return _}function rw(){var e=ke(),t=rh(),r=Ql(),n=Zl(),o=cs(e)?t.selected:Co(e)?r.selected:Po(e)?n.selected:void 0;return o}function nw(e){return Object.values(Pt).includes(e)}function ow(e,t){var r=[e.classNames.day];return Object.keys(t).forEach(function(n){var o=e.modifiersClassNames[n];if(o)r.push(o);else if(nw(n)){var a=e.classNames["day_".concat(n)];a&&r.push(a)}}),r}function aw(e,t){var r=ie({},e.styles.day);return Object.keys(t).forEach(function(n){var o;r=ie(ie({},r),(o=e.modifiersStyles)===null||o===void 0?void 0:o[n])}),r}function sw(e,t,r){var n,o,a,s=ke(),i=nc(),l=Zx(e,t),c=tw(e,l),u=rw(),d=!!(s.onDayClick||s.mode!=="default");f.useEffect(function(){var E;l.outside||i.focusedDay&&d&&et(i.focusedDay,e)&&((E=r.current)===null||E===void 0||E.focus())},[i.focusedDay,e,r,d,l.outside]);var p=ow(s,l).join(" "),h=aw(s,l),g=!!(l.outside&&!s.showOutsideDays||l.hidden),v=(a=(o=s.components)===null||o===void 0?void 0:o.DayContent)!==null&&a!==void 0?a:Ex,b=R.jsx(v,{date:e,displayMonth:t,activeModifiers:l}),P={style:h,className:p,children:b,role:"gridcell"},x=i.focusTarget&&et(i.focusTarget,e)&&!l.outside,w=i.focusedDay&&et(i.focusedDay,e),T=ie(ie(ie({},P),(n={disabled:l.disabled,role:"gridcell"},n["aria-selected"]=l.selected,n.tabIndex=w||x?0:-1,n)),c),$={isButton:d,isHidden:g,activeModifiers:l,selectedDays:u,buttonProps:T,divProps:P};return $}function iw(e){var t=f.useRef(null),r=sw(e.date,e.displayMonth,t);return r.isHidden?R.jsx("div",{role:"gridcell"}):r.isButton?R.jsx(us,ie({name:"day",ref:t},r.buttonProps)):R.jsx("div",ie({},r.divProps))}function lw(e){var t=e.number,r=e.dates,n=ke(),o=n.onWeekNumberClick,a=n.styles,s=n.classNames,i=n.locale,l=n.labels.labelWeekNumber,c=n.formatters.formatWeekNumber,u=c(Number(t),{locale:i});if(!o)return R.jsx("span",{className:s.weeknumber,style:a.weeknumber,children:u});var d=l(Number(t),{locale:i}),p=function(h){o(t,r,h)};return R.jsx(us,{name:"week-number","aria-label":d,className:s.weeknumber,style:a.weeknumber,onClick:p,children:u})}function cw(e){var t,r,n=ke(),o=n.styles,a=n.classNames,s=n.showWeekNumber,i=n.components,l=(t=i==null?void 0:i.Day)!==null&&t!==void 0?t:iw,c=(r=i==null?void 0:i.WeekNumber)!==null&&r!==void 0?r:lw,u;return s&&(u=R.jsx("td",{className:a.cell,style:o.cell,children:R.jsx(c,{number:e.weekNumber,dates:e.dates})})),R.jsxs("tr",{className:a.row,style:o.row,children:[u,e.dates.map(function(d){return R.jsx("td",{className:a.cell,style:o.cell,role:"presentation",children:R.jsx(l,{displayMonth:e.displayMonth,date:d})},_9(d))})]})}function nh(e,t,r){for(var n=r!=null&&r.ISOWeek?I1(t):Bl(t,r),o=r!=null&&r.ISOWeek?jr(e):It(e,r),a=At(n,o),s=[],i=0;i<=a;i++)s.push(qe(o,i));var l=s.reduce(function(c,u){var d=r!=null&&r.ISOWeek?N1(u):j1(u,r),p=c.find(function(h){return h.weekNumber===d});return p?(p.dates.push(u),c):(c.push({weekNumber:d,dates:[u]}),c)},[]);return l}function uw(e,t){var r=nh(tt(e),Wl(e),t);if(t!=null&&t.useFixedWeeks){var n=V9(e,t);if(n<6){var o=r[r.length-1],a=o.dates[o.dates.length-1],s=Vl(a,6-n),i=nh(Vl(a,1),s,t);r.push.apply(r,i)}}return r}function dw(e){var t,r,n,o=ke(),a=o.locale,s=o.classNames,i=o.styles,l=o.hideHead,c=o.fixedWeeks,u=o.components,d=o.weekStartsOn,p=o.firstWeekContainsDate,h=o.ISOWeek,g=uw(e.displayMonth,{useFixedWeeks:!!c,ISOWeek:h,locale:a,weekStartsOn:d,firstWeekContainsDate:p}),v=(t=u==null?void 0:u.Head)!==null&&t!==void 0?t:Tx,b=(r=u==null?void 0:u.Row)!==null&&r!==void 0?r:cw,P=(n=u==null?void 0:u.Footer)!==null&&n!==void 0?n:Px;return R.jsxs("table",{id:e.id,className:s.table,style:i.table,role:"grid","aria-labelledby":e["aria-labelledby"],children:[!l&&R.jsx(v,{}),R.jsx("tbody",{className:s.tbody,style:i.tbody,children:g.map(function(x){return R.jsx(b,{displayMonth:e.displayMonth,dates:x.dates,weekNumber:x.weekNumber},x.weekNumber)})}),R.jsx(P,{displayMonth:e.displayMonth})]})}function fw(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}var pw=fw()?f.useLayoutEffect:f.useEffect,ac=!1,hw=0;function oh(){return"react-day-picker-".concat(++hw)}function mw(e){var t,r=e??(ac?oh():null),n=f.useState(r),o=n[0],a=n[1];return pw(function(){o===null&&a(oh())},[]),f.useEffect(function(){ac===!1&&(ac=!0)},[]),(t=e??o)!==null&&t!==void 0?t:void 0}function gw(e){var t,r,n=ke(),o=n.dir,a=n.classNames,s=n.styles,i=n.components,l=Pn().displayMonths,c=mw(n.id?"".concat(n.id,"-").concat(e.displayIndex):void 0),u=n.id?"".concat(n.id,"-grid-").concat(e.displayIndex):void 0,d=[a.month],p=s.month,h=e.displayIndex===0,g=e.displayIndex===l.length-1,v=!h&&!g;o==="rtl"&&(t=[h,g],g=t[0],h=t[1]),h&&(d.push(a.caption_start),p=ie(ie({},p),s.caption_start)),g&&(d.push(a.caption_end),p=ie(ie({},p),s.caption_end)),v&&(d.push(a.caption_between),p=ie(ie({},p),s.caption_between));var b=(r=i==null?void 0:i.Caption)!==null&&r!==void 0?r:Cx;return R.jsxs("div",{className:d.join(" "),style:p,children:[R.jsx(b,{id:c,displayMonth:e.displayMonth,displayIndex:e.displayIndex}),R.jsx(dw,{id:u,"aria-labelledby":c,displayMonth:e.displayMonth})]},e.displayIndex)}function vw(e){var t=ke(),r=t.classNames,n=t.styles;return R.jsx("div",{className:r.months,style:n.months,children:e.children})}function bw(e){var t,r,n=e.initialProps,o=ke(),a=nc(),s=Pn(),i=f.useState(!1),l=i[0],c=i[1];f.useEffect(function(){o.initialFocus&&a.focusTarget&&(l||(a.focus(a.focusTarget),c(!0)))},[o.initialFocus,l,a.focus,a.focusTarget,a]);var u=[o.classNames.root,o.className];o.numberOfMonths>1&&u.push(o.classNames.multiple_months),o.showWeekNumber&&u.push(o.classNames.with_weeknumber);var d=ie(ie({},o.styles.root),o.style),p=Object.keys(n).filter(function(g){return g.startsWith("data-")}).reduce(function(g,v){var b;return ie(ie({},g),(b={},b[v]=n[v],b))},{}),h=(r=(t=n.components)===null||t===void 0?void 0:t.Months)!==null&&r!==void 0?r:vw;return R.jsx("div",ie({className:u.join(" "),style:d,dir:o.dir,id:o.id,nonce:n.nonce,title:n.title,lang:n.lang},p,{children:R.jsx(h,{children:s.displayMonths.map(function(g,v){return R.jsx(gw,{displayIndex:v,displayMonth:g},v)})})}))}function yw(e){var t=e.children,r=W9(e,["children"]);return R.jsx(lx,{initialProps:r,children:R.jsx(bx,{children:R.jsx(Jx,{initialProps:r,children:R.jsx($x,{initialProps:r,children:R.jsx(Ix,{initialProps:r,children:R.jsx(Vx,{children:R.jsx(Xx,{children:t})})})})})})})}function xw(e){return R.jsx(yw,ie({},e,{children:R.jsx(bw,{initialProps:e})}))}const fP="",pP="",ww=e=>{const{goToMonth:t,nextMonth:r,previousMonth:n}=Pn();return L.jsxs("div",{className:"flex px-[10px] py-2",children:[L.jsx("button",{disabled:!n,onClick:()=>n&&t(n),children:L.jsx(Ge,{name:"chevron-left",className:"text-xs text-primary-grey-800"})}),L.jsx(Gc,{className:"flex flex-1 justify-center font-satoshi text-2xl font-medium text-primary-black-500",children:Yt(e.displayMonth,"MMM yyy")}),L.jsx("button",{disabled:!r,onClick:()=>r&&t(r),children:L.jsx(Ge,{name:"chevron-right",className:"text-xs text-primary-grey-800"})})]})},ah=({...e})=>L.jsx(xw,{disabled:t=>t>new Date||t<new Date("1900-01-01"),components:{Caption:ww},showOutsideDays:!0,...e}),Cw=({children:e,className:t,variant:r="light",color:n="red"})=>{const o=ye({base:"flex h-4 items-center justify-center gap-2.5 rounded bg-transparent p-0",variants:{variant:{light:"",dark:"",ghost:""},color:{red:"text-complementary-red-500",orange:"text-complementary-orange-500",lightGreen:"text-secondary-green-500",violet:"text-complementary-violet-500",blue:"text-complementary-blue-500",darkGreen:"text-primary-green-500",yellow:"text-complementary-yellow-500",gray:"text-primary-grey-800"}},compoundVariants:[{variant:"dark",color:"red",class:"bg-complementary-red-500 text-complementary-red-50"},{variant:"dark",color:"orange",class:"bg-complementary-orange-500 text-complementary-orange-50"},{variant:"dark",color:"lightGreen",class:"bg-secondary-green-500 text-white"},{variant:"dark",color:"violet",class:"bg-complementary-violet-500 text-complementary-violet-50"},{variant:"dark",color:"blue",class:"bg-complementary-blue-500 text-complementary-blue-50"},{variant:"dark",color:"darkGreen",class:"bg-primary-green-500 text-primary-green-50"},{variant:"dark",color:"yellow",class:"bg-complementary-yellow-500 text-complementary-yellow-50"},{variant:"light",color:"red",class:"bg-complementary-red-50 text-complementary-red-500"},{variant:"light",color:"orange",class:"bg-complementary-orange-50 text-complementary-orange-500"},{variant:"light",color:"lightGreen",class:"bg-secondary-green-50 text-secondary-green-500"},{variant:"light",color:"violet",class:"bg-complementary-violet-50 text-complementary-violet-500"},{variant:"light",color:"blue",class:"bg-complementary-blue-50 text-complementary-blue-500"},{variant:"light",color:"darkGreen",class:"bg-primary-green-50 text-primary-green-500"},{variant:"light",color:"yellow",class:"bg-complementary-yellow-50 text-complementary-yellow-500"},{variant:"light",color:"gray",class:"bg-primary-grey-500 text-primary-grey-800"}]}),a=ye({base:"p-1 font-satoshi text-[10px] font-bold"});return L.jsx(Np,{classNames:{base:o({className:t,variant:r,color:n}),content:a({})},children:e})},hP="",mP="",Pw=()=>{const e=ao({enter:"animate__animated animate__fadeInUp animate__faster",exit:"animate__animated animate__fadeOutDown animate__faster",collapse:!1});return L.jsx(I3,{limit:1,closeOnClick:!0,draggable:!1,autoClose:5e3,closeButton:!1,hideProgressBar:!0,className:"!m-0 !w-full !max-w-[840px] !p-0",toastClassName:()=>"",bodyClassName:()=>"w-full [&>div]:w-full !p-0",transition:e,newestOnTop:!0,position:"bottom-center"})};var sh=1,Mw=.9,Sw=.8,Tw=.17,sc=.1,ic=.999,Ew=.9999,$w=.99,Dw=/[\\\/_+.#"@\[\(\{&]/,kw=/[\\\/_+.#"@\[\(\{&]/g,Iw=/[\s-]/,ih=/[\s-]/g;function lc(e,t,r,n,o,a,s){if(a===t.length)return o===e.length?sh:$w;var i=`${o},${a}`;if(s[i]!==void 0)return s[i];for(var l=n.charAt(a),c=r.indexOf(l,o),u=0,d,p,h,g;c>=0;)d=lc(e,t,r,n,c+1,a+1,s),d>u&&(c===o?d*=sh:Dw.test(e.charAt(c-1))?(d*=Sw,h=e.slice(o,c-1).match(kw),h&&o>0&&(d*=Math.pow(ic,h.length))):Iw.test(e.charAt(c-1))?(d*=Mw,g=e.slice(o,c-1).match(ih),g&&o>0&&(d*=Math.pow(ic,g.length))):(d*=Tw,o>0&&(d*=Math.pow(ic,c-o))),e.charAt(c)!==t.charAt(a)&&(d*=Ew)),(d<sc&&r.charAt(c-1)===n.charAt(a+1)||n.charAt(a+1)===n.charAt(a)&&r.charAt(c-1)!==n.charAt(a))&&(p=lc(e,t,r,n,c+1,a+2,s),p*sc>d&&(d=p*sc)),d>u&&(u=d),c=r.indexOf(l,c+1);return s[i]=u,u}function lh(e){return e.toLowerCase().replace(ih," ")}function Aw(e,t,r){return e=r&&r.length>0?`${e+" "+r.join(" ")}`:e,lc(e,t,lh(e),lh(t),0,0,{})}const ch="Dialog",[uh,gP]=Ir(ch),[Nw,_r]=uh(ch),Ow=e=>{const{__scopeDialog:t,children:r,open:n,defaultOpen:o,onOpenChange:a,modal:s=!0}=e,i=f.useRef(null),l=f.useRef(null),[c=!1,u]=fo({prop:n,defaultProp:o,onChange:a});return f.createElement(Nw,{scope:t,triggerRef:i,contentRef:l,contentId:Ar(),titleId:Ar(),descriptionId:Ar(),open:c,onOpenChange:u,onOpenToggle:f.useCallback(()=>u(d=>!d),[u]),modal:s},r)},dh="DialogPortal",[jw,fh]=uh(dh,{forceMount:void 0}),Lw=e=>{const{__scopeDialog:t,forceMount:r,children:n,container:o}=e,a=_r(dh,t);return f.createElement(jw,{scope:t,forceMount:r},f.Children.map(n,s=>f.createElement(Ht,{present:r||a.open},f.createElement(Cl,{asChild:!0,container:o},s))))},cc="DialogOverlay",_w=f.forwardRef((e,t)=>{const r=fh(cc,e.__scopeDialog),{forceMount:n=r.forceMount,...o}=e,a=_r(cc,e.__scopeDialog);return a.modal?f.createElement(Ht,{present:n||a.open},f.createElement(Fw,fe({},o,{ref:t}))):null}),Fw=f.forwardRef((e,t)=>{const{__scopeDialog:r,...n}=e,o=_r(cc,r);return f.createElement(b1,{as:fn,allowPinchZoom:!0,shards:[o.contentRef]},f.createElement(Ne.div,fe({"data-state":hh(o.open)},n,{ref:t,style:{pointerEvents:"auto",...n.style}})))}),Mo="DialogContent",Vw=f.forwardRef((e,t)=>{const r=fh(Mo,e.__scopeDialog),{forceMount:n=r.forceMount,...o}=e,a=_r(Mo,e.__scopeDialog);return f.createElement(Ht,{present:n||a.open},a.modal?f.createElement(zw,fe({},o,{ref:t})):f.createElement(Ww,fe({},o,{ref:t})))}),zw=f.forwardRef((e,t)=>{const r=_r(Mo,e.__scopeDialog),n=f.useRef(null),o=Je(t,r.contentRef,n);return f.useEffect(()=>{const a=n.current;if(a)return c1(a)},[]),f.createElement(ph,fe({},e,{ref:o,trapFocus:r.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:De(e.onCloseAutoFocus,a=>{var s;a.preventDefault(),(s=r.triggerRef.current)===null||s===void 0||s.focus()}),onPointerDownOutside:De(e.onPointerDownOutside,a=>{const s=a.detail.originalEvent,i=s.button===0&&s.ctrlKey===!0;(s.button===2||i)&&a.preventDefault()}),onFocusOutside:De(e.onFocusOutside,a=>a.preventDefault())}))}),Ww=f.forwardRef((e,t)=>{const r=_r(Mo,e.__scopeDialog),n=f.useRef(!1),o=f.useRef(!1);return f.createElement(ph,fe({},e,{ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:a=>{var s;if((s=e.onCloseAutoFocus)===null||s===void 0||s.call(e,a),!a.defaultPrevented){var i;n.current||(i=r.triggerRef.current)===null||i===void 0||i.focus(),a.preventDefault()}n.current=!1,o.current=!1},onInteractOutside:a=>{var s,i;(s=e.onInteractOutside)===null||s===void 0||s.call(e,a),a.defaultPrevented||(n.current=!0,a.detail.originalEvent.type==="pointerdown"&&(o.current=!0));const l=a.target;((i=r.triggerRef.current)===null||i===void 0?void 0:i.contains(l))&&a.preventDefault(),a.detail.originalEvent.type==="focusin"&&o.current&&a.preventDefault()}}))}),ph=f.forwardRef((e,t)=>{const{__scopeDialog:r,trapFocus:n,onOpenAutoFocus:o,onCloseAutoFocus:a,...s}=e,i=_r(Mo,r),l=f.useRef(null),c=Je(t,l);return e1(),f.createElement(f.Fragment,null,f.createElement(n1,{asChild:!0,loop:!0,trapped:n,onMountAutoFocus:o,onUnmountAutoFocus:a},f.createElement(pl,fe({role:"dialog",id:i.contentId,"aria-describedby":i.descriptionId,"aria-labelledby":i.titleId,"data-state":hh(i.open)},s,{ref:c,onDismiss:()=>i.onOpenChange(!1)}))),!1)});function hh(e){return e?"open":"closed"}const Bw=Ow,Kw=Lw,Rw=_w,Uw=Vw;var So='[cmdk-group=""]',uc='[cmdk-group-items=""]',Gw='[cmdk-group-heading=""]',dc='[cmdk-item=""]',mh=`${dc}:not([aria-disabled="true"])`,fc="cmdk-item-select",Fr="data-value",Hw=(e,t,r)=>Aw(e,t,r),gh=W.createContext(void 0),To=()=>W.useContext(gh),vh=W.createContext(void 0),pc=()=>W.useContext(vh),bh=W.createContext(void 0),yh=W.forwardRef((e,t)=>{let r=Sn(()=>{var F,B;return{search:"",value:(B=(F=e.value)!=null?F:e.defaultValue)!=null?B:"",filtered:{count:0,items:new Map,groups:new Set}}}),n=Sn(()=>new Set),o=Sn(()=>new Map),a=Sn(()=>new Map),s=Sn(()=>new Set),i=xh(e),{label:l,children:c,value:u,onValueChange:d,filter:p,shouldFilter:h,loop:g,disablePointerSelection:v=!1,vimBindings:b=!0,...P}=e,x=W.useId(),w=W.useId(),T=W.useId(),$=W.useRef(null),E=oC();Vr(()=>{if(u!==void 0){let F=u.trim();r.current.value=F,A.emit()}},[u]),Vr(()=>{E(6,C)},[]);let A=W.useMemo(()=>({subscribe:F=>(s.current.add(F),()=>s.current.delete(F)),snapshot:()=>r.current,setState:(F,B,q)=>{var K,Q,ne;if(!Object.is(r.current[F],B)){if(r.current[F]=B,F==="search")N(),I(),E(1,S);else if(F==="value"&&(q||E(5,C),((K=i.current)==null?void 0:K.value)!==void 0)){let le=B??"";(ne=(Q=i.current).onValueChange)==null||ne.call(Q,le);return}A.emit()}},emit:()=>{s.current.forEach(F=>F())}}),[]),m=W.useMemo(()=>({value:(F,B,q)=>{var K;B!==((K=a.current.get(F))==null?void 0:K.value)&&(a.current.set(F,{value:B,keywords:q}),r.current.filtered.items.set(F,k(B,q)),E(2,()=>{I(),A.emit()}))},item:(F,B)=>(n.current.add(F),B&&(o.current.has(B)?o.current.get(B).add(F):o.current.set(B,new Set([F]))),E(3,()=>{N(),I(),r.current.value||S(),A.emit()}),()=>{a.current.delete(F),n.current.delete(F),r.current.filtered.items.delete(F);let q=M();E(4,()=>{N(),(q==null?void 0:q.getAttribute("id"))===F&&S(),A.emit()})}),group:F=>(o.current.has(F)||o.current.set(F,new Set),()=>{a.current.delete(F),o.current.delete(F)}),filter:()=>i.current.shouldFilter,label:l||e["aria-label"],disablePointerSelection:v,listId:x,inputId:T,labelId:w,listInnerRef:$}),[]);function k(F,B){var q,K;let Q=(K=(q=i.current)==null?void 0:q.filter)!=null?K:Hw;return F?Q(F,r.current.search,B):0}function I(){if(!r.current.search||i.current.shouldFilter===!1)return;let F=r.current.filtered.items,B=[];r.current.filtered.groups.forEach(K=>{let Q=o.current.get(K),ne=0;Q.forEach(le=>{let ce=F.get(le);ne=Math.max(ce,ne)}),B.push([K,ne])});let q=$.current;O().sort((K,Q)=>{var ne,le;let ce=K.getAttribute("id"),ue=Q.getAttribute("id");return((ne=F.get(ue))!=null?ne:0)-((le=F.get(ce))!=null?le:0)}).forEach(K=>{let Q=K.closest(uc);Q?Q.appendChild(K.parentElement===Q?K:K.closest(`${uc} > *`)):q.appendChild(K.parentElement===q?K:K.closest(`${uc} > *`))}),B.sort((K,Q)=>Q[1]-K[1]).forEach(K=>{let Q=$.current.querySelector(`${So}[${Fr}="${encodeURIComponent(K[0])}"]`);Q==null||Q.parentElement.appendChild(Q)})}function S(){let F=O().find(q=>q.getAttribute("aria-disabled")!=="true"),B=F==null?void 0:F.getAttribute(Fr);A.setState("value",B||void 0)}function N(){var F,B,q,K;if(!r.current.search||i.current.shouldFilter===!1){r.current.filtered.count=n.current.size;return}r.current.filtered.groups=new Set;let Q=0;for(let ne of n.current){let le=(B=(F=a.current.get(ne))==null?void 0:F.value)!=null?B:"",ce=(K=(q=a.current.get(ne))==null?void 0:q.keywords)!=null?K:[],ue=k(le,ce);r.current.filtered.items.set(ne,ue),ue>0&&Q++}for(let[ne,le]of o.current)for(let ce of le)if(r.current.filtered.items.get(ce)>0){r.current.filtered.groups.add(ne);break}r.current.filtered.count=Q}function C(){var F,B,q;let K=M();K&&(((F=K.parentElement)==null?void 0:F.firstChild)===K&&((q=(B=K.closest(So))==null?void 0:B.querySelector(Gw))==null||q.scrollIntoView({block:"nearest"})),K.scrollIntoView({block:"nearest"}))}function M(){var F;return(F=$.current)==null?void 0:F.querySelector(`${dc}[aria-selected="true"]`)}function O(){var F;return Array.from((F=$.current)==null?void 0:F.querySelectorAll(mh))}function _(F){let B=O()[F];B&&A.setState("value",B.getAttribute(Fr))}function D(F){var B;let q=M(),K=O(),Q=K.findIndex(le=>le===q),ne=K[Q+F];(B=i.current)!=null&&B.loop&&(ne=Q+F<0?K[K.length-1]:Q+F===K.length?K[0]:K[Q+F]),ne&&A.setState("value",ne.getAttribute(Fr))}function z(F){let B=M(),q=B==null?void 0:B.closest(So),K;for(;q&&!K;)q=F>0?rC(q,So):nC(q,So),K=q==null?void 0:q.querySelector(mh);K?A.setState("value",K.getAttribute(Fr)):D(F)}let X=()=>_(O().length-1),G=F=>{F.preventDefault(),F.metaKey?X():F.altKey?z(1):D(1)},U=F=>{F.preventDefault(),F.metaKey?_(0):F.altKey?z(-1):D(-1)};return W.createElement(Ne.div,{ref:t,tabIndex:-1,...P,"cmdk-root":"",onKeyDown:F=>{var B;if((B=P.onKeyDown)==null||B.call(P,F),!F.defaultPrevented)switch(F.key){case"n":case"j":{b&&F.ctrlKey&&G(F);break}case"ArrowDown":{G(F);break}case"p":case"k":{b&&F.ctrlKey&&U(F);break}case"ArrowUp":{U(F);break}case"Home":{F.preventDefault(),_(0);break}case"End":{F.preventDefault(),X();break}case"Enter":if(!F.nativeEvent.isComposing&&F.keyCode!==229){F.preventDefault();let q=M();if(q){let K=new Event(fc);q.dispatchEvent(K)}}}}},W.createElement("label",{"cmdk-label":"",htmlFor:m.inputId,id:m.labelId,style:sC},l),fs(e,F=>W.createElement(vh.Provider,{value:A},W.createElement(gh.Provider,{value:m},F))))}),Yw=W.forwardRef((e,t)=>{var r,n;let o=W.useId(),a=W.useRef(null),s=W.useContext(bh),i=To(),l=xh(e),c=(n=(r=l.current)==null?void 0:r.forceMount)!=null?n:s==null?void 0:s.forceMount;Vr(()=>{if(!c)return i.item(o,s==null?void 0:s.id)},[c]);let u=wh(o,a,[e.value,e.children,a],e.keywords),d=pc(),p=zr(E=>E.value&&E.value===u.current),h=zr(E=>c||i.filter()===!1?!0:E.search?E.filtered.items.get(o)>0:!0);W.useEffect(()=>{let E=a.current;if(!(!E||e.disabled))return E.addEventListener(fc,g),()=>E.removeEventListener(fc,g)},[h,e.onSelect,e.disabled]);function g(){var E,A;v(),(A=(E=l.current).onSelect)==null||A.call(E,u.current)}function v(){d.setState("value",u.current,!0)}if(!h)return null;let{disabled:b,value:P,onSelect:x,forceMount:w,keywords:T,...$}=e;return W.createElement(Ne.div,{ref:Eo([a,t]),...$,id:o,"cmdk-item":"",role:"option","aria-disabled":!!b,"aria-selected":!!p,"data-disabled":!!b,"data-selected":!!p,onPointerMove:b||i.disablePointerSelection?void 0:v,onClick:b?void 0:g},e.children)}),qw=W.forwardRef((e,t)=>{let{heading:r,children:n,forceMount:o,...a}=e,s=W.useId(),i=W.useRef(null),l=W.useRef(null),c=W.useId(),u=To(),d=zr(h=>o||u.filter()===!1?!0:h.search?h.filtered.groups.has(s):!0);Vr(()=>u.group(s),[]),wh(s,i,[e.value,e.heading,l]);let p=W.useMemo(()=>({id:s,forceMount:o}),[o]);return W.createElement(Ne.div,{ref:Eo([i,t]),...a,"cmdk-group":"",role:"presentation",hidden:d?void 0:!0},r&&W.createElement("div",{ref:l,"cmdk-group-heading":"","aria-hidden":!0,id:c},r),fs(e,h=>W.createElement("div",{"cmdk-group-items":"",role:"group","aria-labelledby":r?c:void 0},W.createElement(bh.Provider,{value:p},h))))}),Qw=W.forwardRef((e,t)=>{let{alwaysRender:r,...n}=e,o=W.useRef(null),a=zr(s=>!s.search);return!r&&!a?null:W.createElement(Ne.div,{ref:Eo([o,t]),...n,"cmdk-separator":"",role:"separator"})}),Xw=W.forwardRef((e,t)=>{let{onValueChange:r,...n}=e,o=e.value!=null,a=pc(),s=zr(u=>u.search),i=zr(u=>u.value),l=To(),c=W.useMemo(()=>{var u;let d=(u=l.listInnerRef.current)==null?void 0:u.querySelector(`${dc}[${Fr}="${encodeURIComponent(i)}"]`);return d==null?void 0:d.getAttribute("id")},[]);return W.useEffect(()=>{e.value!=null&&a.setState("search",e.value)},[e.value]),W.createElement(Ne.input,{ref:t,...n,"cmdk-input":"",autoComplete:"off",autoCorrect:"off",spellCheck:!1,"aria-autocomplete":"list",role:"combobox","aria-expanded":!0,"aria-controls":l.listId,"aria-labelledby":l.labelId,"aria-activedescendant":c,id:l.inputId,type:"text",value:o?e.value:s,onChange:u=>{o||a.setState("search",u.target.value),r==null||r(u.target.value)}})}),Zw=W.forwardRef((e,t)=>{let{children:r,label:n="Suggestions",...o}=e,a=W.useRef(null),s=W.useRef(null),i=To();return W.useEffect(()=>{if(s.current&&a.current){let l=s.current,c=a.current,u,d=new ResizeObserver(()=>{u=requestAnimationFrame(()=>{let p=l.offsetHeight;c.style.setProperty("--cmdk-list-height",p.toFixed(1)+"px")})});return d.observe(l),()=>{cancelAnimationFrame(u),d.unobserve(l)}}},[]),W.createElement(Ne.div,{ref:Eo([a,t]),...o,"cmdk-list":"",role:"listbox","aria-label":n,id:i.listId},fs(e,l=>W.createElement("div",{ref:Eo([s,i.listInnerRef]),"cmdk-list-sizer":""},l)))}),Jw=W.forwardRef((e,t)=>{let{open:r,onOpenChange:n,overlayClassName:o,contentClassName:a,container:s,...i}=e;return W.createElement(Bw,{open:r,onOpenChange:n},W.createElement(Kw,{container:s},W.createElement(Rw,{"cmdk-overlay":"",className:o}),W.createElement(Uw,{"aria-label":e.label,"cmdk-dialog":"",className:a},W.createElement(yh,{ref:t,...i}))))}),eC=W.forwardRef((e,t)=>zr(r=>r.filtered.count===0)?W.createElement(Ne.div,{ref:t,...e,"cmdk-empty":"",role:"presentation"}):null),tC=W.forwardRef((e,t)=>{let{progress:r,children:n,label:o="Loading...",...a}=e;return W.createElement(Ne.div,{ref:t,...a,"cmdk-loading":"",role:"progressbar","aria-valuenow":r,"aria-valuemin":0,"aria-valuemax":100,"aria-label":o},fs(e,s=>W.createElement("div",{"aria-hidden":!0},s)))}),Mn=Object.assign(yh,{List:Zw,Item:Yw,Input:Xw,Group:qw,Separator:Qw,Dialog:Jw,Empty:eC,Loading:tC});function rC(e,t){let r=e.nextElementSibling;for(;r;){if(r.matches(t))return r;r=r.nextElementSibling}}function nC(e,t){let r=e.previousElementSibling;for(;r;){if(r.matches(t))return r;r=r.previousElementSibling}}function xh(e){let t=W.useRef(e);return Vr(()=>{t.current=e}),t}var Vr=typeof window>"u"?W.useEffect:W.useLayoutEffect;function Sn(e){let t=W.useRef();return t.current===void 0&&(t.current=e()),t}function Eo(e){return t=>{e.forEach(r=>{typeof r=="function"?r(t):r!=null&&(r.current=t)})}}function zr(e){let t=pc(),r=()=>e(t.snapshot());return W.useSyncExternalStore(t.subscribe,r,r)}function wh(e,t,r,n=[]){let o=W.useRef(),a=To();return Vr(()=>{var s;let i=(()=>{var c;for(let u of r){if(typeof u=="string")return u.trim();if(typeof u=="object"&&"current"in u)return u.current?(c=u.current.textContent)==null?void 0:c.trim():o.current}})(),l=n.map(c=>c.trim());a.value(e,i,l),(s=t.current)==null||s.setAttribute(Fr,i),o.current=i}),o}var oC=()=>{let[e,t]=W.useState(),r=Sn(()=>new Map);return Vr(()=>{r.current.forEach(n=>n()),r.current=new Map},[e]),(n,o)=>{r.current.set(n,o),t({})}};function aC(e){let t=e.type;return typeof t=="function"?t(e.props):"render"in t?t.render(e.props):e}function fs({asChild:e,children:t},r){return e&&W.isValidElement(t)?W.cloneElement(aC(t),{ref:t.ref},r(t.props.children)):r(t)}var sC={position:"absolute",width:"1px",height:"1px",padding:"0",margin:"-1px",overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0"},iC={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};const lC=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),hc=(e,t)=>{const r=f.forwardRef(({color:n="currentColor",size:o=24,strokeWidth:a=2,absoluteStrokeWidth:s,children:i,...l},c)=>f.createElement("svg",{ref:c,...iC,width:o,height:o,stroke:n,strokeWidth:s?Number(a)*24/Number(o):a,className:`lucide lucide-${lC(e)}`,...l},[...t.map(([u,d])=>f.createElement(u,d)),...(Array.isArray(i)?i:[i])||[]]));return r.displayName=`${e}`,r},cC=hc("ChevronDown",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]),uC=hc("ChevronUp",[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]]),dC=hc("Search",[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["path",{d:"m21 21-4.3-4.3",key:"1qie3q"}]]);var pr=[["Afghanistan","af","93"],["Albania","al","355"],["Algeria","dz","213"],["Andorra","ad","376"],["Angola","ao","244"],["Antigua and Barbuda","ag","1268"],["Argentina","ar","54","(..) ........",0],["Armenia","am","374",".. ......"],["Aruba","aw","297"],["Australia","au","61",{default:". .... ....","/^4/":"... ... ...","/^5(?!50)/":"... ... ...","/^1(3|8)00/":".... ... ...","/^13/":".. .. ..","/^180/":"... ...."},0,[]],["Austria","at","43"],["Azerbaijan","az","994","(..) ... .. .."],["Bahamas","bs","1242"],["Bahrain","bh","973"],["Bangladesh","bd","880"],["Barbados","bb","1246"],["Belarus","by","375","(..) ... .. .."],["Belgium","be","32","... .. .. .."],["Belize","bz","501"],["Benin","bj","229"],["Bhutan","bt","975"],["Bolivia","bo","591"],["Bosnia and Herzegovina","ba","387"],["Botswana","bw","267"],["Brazil","br","55","(..) ........."],["British Indian Ocean Territory","io","246"],["Brunei","bn","673"],["Bulgaria","bg","359"],["Burkina Faso","bf","226"],["Burundi","bi","257"],["Cambodia","kh","855"],["Cameroon","cm","237"],["Canada","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","cv","238"],["Caribbean Netherlands","bq","599","",1],["Central African Republic","cf","236"],["Chad","td","235"],["Chile","cl","56"],["China","cn","86","... .... ...."],["Colombia","co","57","... ... ...."],["Comoros","km","269"],["Congo","cd","243"],["Congo","cg","242"],["Costa Rica","cr","506","....-...."],["Côte d'Ivoire","ci","225",".. .. .. .. .."],["Croatia","hr","385"],["Cuba","cu","53"],["Curaçao","cw","599","",0],["Cyprus","cy","357",".. ......"],["Czech Republic","cz","420","... ... ..."],["Denmark","dk","45",".. .. .. .."],["Djibouti","dj","253"],["Dominica","dm","1767"],["Dominican Republic","do","1","",2],["Ecuador","ec","593"],["Egypt","eg","20"],["El Salvador","sv","503","....-...."],["Equatorial Guinea","gq","240"],["Eritrea","er","291"],["Estonia","ee","372",".... ......"],["Ethiopia","et","251"],["Fiji","fj","679"],["Finland","fi","358",".. ... .. .."],["France","fr","33",". .. .. .. .."],["French Guiana","gf","594"],["French Polynesia","pf","689"],["Gabon","ga","241"],["Gambia","gm","220"],["Georgia","ge","995"],["Germany","de","49",".... ........"],["Ghana","gh","233"],["Greece","gr","30"],["Grenada","gd","1473"],["Guadeloupe","gp","590","",0],["Guam","gu","1671"],["Guatemala","gt","502","....-...."],["Guinea","gn","224"],["Guinea-Bissau","gw","245"],["Guyana","gy","592"],["Haiti","ht","509","....-...."],["Honduras","hn","504"],["Hong Kong","hk","852",".... ...."],["Hungary","hu","36"],["Iceland","is","354","... ...."],["India","in","91",".....-....."],["Indonesia","id","62"],["Iran","ir","98","... ... ...."],["Iraq","iq","964"],["Ireland","ie","353",".. ......."],["Israel","il","972","... ... ...."],["Italy","it","39","... .......",0],["Jamaica","jm","1876"],["Japan","jp","81",".. .... ...."],["Jordan","jo","962"],["Kazakhstan","kz","7","... ...-..-..",0],["Kenya","ke","254"],["Kiribati","ki","686"],["Kosovo","xk","383"],["Kuwait","kw","965"],["Kyrgyzstan","kg","996","... ... ..."],["Laos","la","856"],["Latvia","lv","371",".. ... ..."],["Lebanon","lb","961"],["Lesotho","ls","266"],["Liberia","lr","231"],["Libya","ly","218"],["Liechtenstein","li","423"],["Lithuania","lt","370"],["Luxembourg","lu","352"],["Macau","mo","853"],["Macedonia","mk","389"],["Madagascar","mg","261"],["Malawi","mw","265"],["Malaysia","my","60","..-....-...."],["Maldives","mv","960"],["Mali","ml","223"],["Malta","mt","356"],["Marshall Islands","mh","692"],["Martinique","mq","596"],["Mauritania","mr","222"],["Mauritius","mu","230"],["Mexico","mx","52","... ... ....",0],["Micronesia","fm","691"],["Moldova","md","373","(..) ..-..-.."],["Monaco","mc","377"],["Mongolia","mn","976"],["Montenegro","me","382"],["Morocco","ma","212"],["Mozambique","mz","258"],["Myanmar","mm","95"],["Namibia","na","264"],["Nauru","nr","674"],["Nepal","np","977"],["Netherlands","nl","31",".. ........"],["New Caledonia","nc","687"],["New Zealand","nz","64","...-...-...."],["Nicaragua","ni","505"],["Niger","ne","227"],["Nigeria","ng","234"],["North Korea","kp","850"],["Norway","no","47","... .. ..."],["Oman","om","968"],["Pakistan","pk","92","...-......."],["Palau","pw","680"],["Palestine","ps","970"],["Panama","pa","507"],["Papua New Guinea","pg","675"],["Paraguay","py","595"],["Peru","pe","51"],["Philippines","ph","63",".... ......."],["Poland","pl","48","...-...-..."],["Portugal","pt","351"],["Puerto Rico","pr","1","",3,["787","939"]],["Qatar","qa","974"],["Réunion","re","262"],["Romania","ro","40"],["Russia","ru","7","(...) ...-..-..",1],["Rwanda","rw","250"],["Saint Kitts and Nevis","kn","1869"],["Saint Lucia","lc","1758"],["Saint Vincent and the Grenadines","vc","1784"],["Samoa","ws","685"],["San Marino","sm","378"],["São Tomé and Príncipe","st","239"],["Saudi Arabia","sa","966"],["Senegal","sn","221"],["Serbia","rs","381"],["Seychelles","sc","248"],["Sierra Leone","sl","232"],["Singapore","sg","65","....-...."],["Slovakia","sk","421"],["Slovenia","si","386"],["Solomon Islands","sb","677"],["Somalia","so","252"],["South Africa","za","27"],["South Korea","kr","82","... .... ...."],["South Sudan","ss","211"],["Spain","es","34","... ... ..."],["Sri Lanka","lk","94"],["Sudan","sd","249"],["Suriname","sr","597"],["Swaziland","sz","268"],["Sweden","se","46","... ... ..."],["Switzerland","ch","41",".. ... .. .."],["Syria","sy","963"],["Taiwan","tw","886"],["Tajikistan","tj","992"],["Tanzania","tz","255"],["Thailand","th","66"],["Timor-Leste","tl","670"],["Togo","tg","228"],["Tonga","to","676"],["Trinidad and Tobago","tt","1868"],["Tunisia","tn","216"],["Turkey","tr","90","... ... .. .."],["Turkmenistan","tm","993"],["Tuvalu","tv","688"],["Uganda","ug","256"],["Ukraine","ua","380","(..) ... .. .."],["United Arab Emirates","ae","971"],["United Kingdom","gb","44",".... ......"],["United States","us","1","(...) ...-....",0],["Uruguay","uy","598"],["Uzbekistan","uz","998",".. ... .. .."],["Vanuatu","vu","678"],["Vatican City","va","39",".. .... ....",1],["Venezuela","ve","58"],["Vietnam","vn","84"],["Yemen","ye","967"],["Zambia","zm","260"],["Zimbabwe","zw","263"]],fC="react-international-phone-",Ch=(...e)=>e.filter(t=>!!t).join(" ").trim(),pC=(...e)=>Ch(...e).split(" ").map(t=>`${fC}${t}`).join(" "),Re=({addPrefix:e,rawClassNames:t})=>Ch(pC(...e),...t),hC=({value:e,mask:t,maskSymbol:r,offset:n=0,trimNonMaskCharsLeftover:o=!1})=>{if(e.length<n)return e;let a=e.slice(0,n),s=e.slice(n),i=a,l=0;for(let c of t.split("")){if(l>=s.length){if(!o&&c!==r){i+=c;continue}break}c===r?(i+=s[l],l+=1):i+=c}return i},Tn=e=>e?/^\d+$/.test(e):!1,ps=e=>e.replace(/\D/g,""),mC=(e,t)=>{let r=e.style.display;r!=="block"&&(e.style.display="block");let n=e.getBoundingClientRect(),o=t.getBoundingClientRect(),a=o.top-n.top,s=n.bottom-o.bottom;a>=0&&s>=0||(Math.abs(a)<Math.abs(s)?e.scrollTop+=a:e.scrollTop-=s),e.style.display=r},gC=(e,t)=>{let r=t.disableDialCodeAndPrefix?!1:t.forceDialCode,n=t.disableDialCodeAndPrefix?!1:t.insertDialCodeOnEmpty,o=e,a=c=>t.trimNonDigitsEnd?c.trim():c;if(!o)return n&&!o.length||r?a(`${t.prefix}${t.dialCode}${t.charAfterDialCode}`):a(o);if(o=ps(o),o===t.dialCode&&!t.disableDialCodeAndPrefix)return a(`${t.prefix}${t.dialCode}${t.charAfterDialCode}`);if(t.dialCode.startsWith(o)&&!t.disableDialCodeAndPrefix)return a(r?`${t.prefix}${t.dialCode}${t.charAfterDialCode}`:`${t.prefix}${o}`);if(!o.startsWith(t.dialCode)&&!t.disableDialCodeAndPrefix){if(r)return a(`${t.prefix}${t.dialCode}${t.charAfterDialCode}`);if(o.length<t.dialCode.length)return a(`${t.prefix}${o}`)}let s=()=>{let c=t.dialCode.length,u=o.slice(0,c),d=o.slice(c);return{phoneLeftSide:u,phoneRightSide:d}},{phoneLeftSide:i,phoneRightSide:l}=s();return i=`${t.prefix}${i}${t.charAfterDialCode}`,l=hC({value:l,mask:t.mask,maskSymbol:t.maskChar,trimNonMaskCharsLeftover:t.trimNonDigitsEnd||t.disableDialCodeAndPrefix&&l.length===0}),t.disableDialCodeAndPrefix&&(i=""),a(`${i}${l}`)},vC=({phoneBeforeInput:e,phoneAfterInput:t,phoneAfterFormatted:r,cursorPositionAfterInput:n,leftOffset:o=0,deletion:a})=>{if(n<o)return o;if(!e)return r.length;let s=null;for(let u=n-1;u>=0;u-=1)if(Tn(t[u])){s=u;break}if(s===null){for(let u=0;u<t.length;u+=1)if(Tn(r[u]))return u;return t.length}let i=0;for(let u=0;u<s;u+=1)Tn(t[u])&&(i+=1);let l=0,c=0;for(let u=0;u<r.length&&(l+=1,Tn(r[u])&&(c+=1),!(c>=i+1));u+=1);if(a!=="backward")for(;!Tn(r[l])&&l<r.length;)l+=1;return l},hs=({phone:e,prefix:t})=>e?`${t}${ps(e)}`:"";function mc({value:e,country:t,insertDialCodeOnEmpty:r,trimNonDigitsEnd:n,countries:o,prefix:a,charAfterDialCode:s,forceDialCode:i,disableDialCodeAndPrefix:l,defaultMask:c,countryGuessingEnabled:u,disableFormatting:d}){let p=e;l&&(p=p.startsWith(`${a}`)?p:`${a}${t.dialCode}${p}`);let h=u?TC({phone:p,countries:o,currentCountryIso2:t==null?void 0:t.iso2}):void 0,g=(h==null?void 0:h.country)??t,v=gC(p,{prefix:a,mask:MC({phone:p,country:g,defaultMask:c,disableFormatting:d}),maskChar:Ph,dialCode:g.dialCode,trimNonDigitsEnd:n,charAfterDialCode:s,forceDialCode:i,insertDialCodeOnEmpty:r,disableDialCodeAndPrefix:l}),b=u&&!(h!=null&&h.fullDialCodeMatch)?t:g;return{phone:hs({phone:l?`${b.dialCode}${v}`:v,prefix:a}),inputValue:v,country:b}}var bC=e=>{if((e==null?void 0:e.toLocaleLowerCase().includes("delete"))??!1)return e!=null&&e.toLocaleLowerCase().includes("forward")?"forward":"backward"},yC=(e,{country:t,insertDialCodeOnEmpty:r,phoneBeforeInput:n,prefix:o,charAfterDialCode:a,forceDialCode:s,disableDialCodeAndPrefix:i,countryGuessingEnabled:l,defaultMask:c,disableFormatting:u,countries:d})=>{let p=e.nativeEvent,h=p.inputType,g=bC(h),v=!!(h!=null&&h.startsWith("insertFrom")),b=h==="insertText",P=(p==null?void 0:p.data)||void 0,x=e.target.value,w=e.target.selectionStart??0;if(h!=null&&h.includes("history"))return{inputValue:n,phone:hs({phone:n,prefix:o}),cursorPosition:n.length,country:t};if(b&&!Tn(P)&&x!==o)return{inputValue:n,phone:hs({phone:i?`${t.dialCode}${n}`:n,prefix:o}),cursorPosition:w-((P==null?void 0:P.length)??0),country:t};if(s&&!x.startsWith(`${o}${t.dialCode}`)&&!v){let m=x?n:`${o}${t.dialCode}${a}`;return{inputValue:m,phone:hs({phone:m,prefix:o}),cursorPosition:o.length+t.dialCode.length+a.length,country:t}}let{phone:T,inputValue:$,country:E}=mc({value:x,country:t,trimNonDigitsEnd:g==="backward",insertDialCodeOnEmpty:r,countryGuessingEnabled:l,countries:d,prefix:o,charAfterDialCode:a,forceDialCode:s,disableDialCodeAndPrefix:i,disableFormatting:u,defaultMask:c}),A=vC({cursorPositionAfterInput:w,phoneBeforeInput:n,phoneAfterInput:x,phoneAfterFormatted:$,leftOffset:s?o.length+t.dialCode.length+a.length:0,deletion:g});return{phone:T,inputValue:$,cursorPosition:A,country:E}},xC=(e,t)=>{let r=Object.keys(e),n=Object.keys(t);if(r.length!==n.length)return!1;for(let o of r)if(e[o]!==t[o])return!1;return!0},wC=()=>{let e=f.useRef(),t=f.useRef(Date.now());return{check:()=>{let r=Date.now(),n=e.current?r-t.current:void 0;return e.current=t.current,t.current=r,n}}},CC={size:20,overrideLastItemDebounceMS:-1};function PC(e,t){let{size:r,overrideLastItemDebounceMS:n,onChange:o}={...CC,...t},[a,s]=f.useState(e),[i,l]=f.useState([a]),[c,u]=f.useState(0),d=wC();return[a,(p,h)=>{if(typeof p=="object"&&typeof a=="object"&&xC(p,a)||p===a)return;let g=n>0,v=d.check(),b=g&&v!==void 0?v>n:!0;if((h==null?void 0:h.overrideLastItem)!==void 0?h.overrideLastItem:!b)l(P=>[...P.slice(0,c),p]);else{let P=i.length>=r;l(x=>[...x.slice(P?1:0,c+1),p]),P||u(x=>x+1)}s(p),o==null||o(p)},()=>{if(c<=0)return{success:!1};let p=i[c-1];return s(p),u(h=>h-1),o==null||o(p),{success:!0,value:p}},()=>{if(c+1>=i.length)return{success:!1};let p=i[c+1];return s(p),u(h=>h+1),o==null||o(p),{success:!0,value:p}}]}var Ph=".",gt={defaultCountry:"us",value:"",prefix:"+",defaultMask:"............",charAfterDialCode:" ",historySaveDebounceMS:200,disableCountryGuess:!1,disableDialCodePrefill:!1,forceDialCode:!1,disableDialCodeAndPrefix:!1,disableFormatting:!1,countries:pr,preferredCountries:[]},Mh=({defaultCountry:e=gt.defaultCountry,value:t=gt.value,countries:r=gt.countries,prefix:n=gt.prefix,defaultMask:o=gt.defaultMask,charAfterDialCode:a=gt.charAfterDialCode,historySaveDebounceMS:s=gt.historySaveDebounceMS,disableCountryGuess:i=gt.disableCountryGuess,disableDialCodePrefill:l=gt.disableDialCodePrefill,forceDialCode:c=gt.forceDialCode,disableDialCodeAndPrefix:u=gt.disableDialCodeAndPrefix,disableFormatting:d=gt.disableFormatting,onChange:p,inputRef:h})=>{let g={countries:r,prefix:n,charAfterDialCode:a,forceDialCode:u?!1:c,disableDialCodeAndPrefix:u,defaultMask:o,countryGuessingEnabled:!i,disableFormatting:d},v=f.useRef(null),b=h||v,P=M=>{Promise.resolve().then(()=>{var O;typeof window>"u"||b.current!==(document==null?void 0:document.activeElement)||((O=b.current)==null||O.setSelectionRange(M,M))})},[{phone:x,inputValue:w,country:T},$,E,A]=PC(()=>{let M=En({value:e,field:"iso2",countries:r});M||console.error(`[react-international-phone]: can not find a country with "${e}" iso2 code`);let O=M||En({value:"us",field:"iso2",countries:r}),{phone:_,inputValue:D,country:z}=mc({value:t,country:O,insertDialCodeOnEmpty:!l,...g});return P(D.length),{phone:_,inputValue:D,country:z.iso2}},{overrideLastItemDebounceMS:s,onChange:({inputValue:M,phone:O,country:_})=>{if(!p)return;let D=m(_);p({phone:O,inputValue:M,country:D})}}),m=f.useCallback(M=>En({value:M,field:"iso2",countries:r}),[r]),k=f.useMemo(()=>m(T),[T,m]);f.useEffect(()=>{let M=b.current;if(!M)return;let O=_=>{if(!_.key)return;let D=_.ctrlKey,z=_.shiftKey,X=_.key.toLowerCase()==="z";!D||!X||(z?A():E())};return M.addEventListener("keydown",O),()=>{M.removeEventListener("keydown",O)}},[b,E,A]);let I=M=>{M.preventDefault();let{phone:O,inputValue:_,country:D,cursorPosition:z}=yC(M,{country:k,phoneBeforeInput:w,insertDialCodeOnEmpty:!1,...g});return $({inputValue:_,phone:O,country:D.iso2}),P(z),t},S=(M,O={focusOnInput:!1})=>{let _=En({value:M,field:"iso2",countries:r});if(!_){console.error(`[react-international-phone]: can not find a country with "${M}" iso2 code`);return}let D=u?"":`${n}${_.dialCode}${a}`;$({inputValue:D,phone:`${n}${_.dialCode}`,country:_.iso2}),O.focusOnInput&&Promise.resolve().then(()=>{var z;(z=b.current)==null||z.focus()})},[N,C]=f.useState(!1);return f.useEffect(()=>{if(!N){C(!0),t!==x&&(p==null||p({inputValue:w,phone:x,country:k}));return}if(t===x)return;let{phone:M,inputValue:O,country:_}=mc({value:t,country:k,insertDialCodeOnEmpty:!l,...g});$({phone:M,inputValue:O,country:_.iso2})},[t]),{phone:x,inputValue:w,country:k,setCountry:S,handlePhoneValueChange:I,inputRef:b}},MC=({phone:e,country:t,defaultMask:r="............",disableFormatting:n=!1})=>{let o=t.format,a=i=>n?i.replace(new RegExp(`[^${Ph}]`,"g"),""):i;if(!o)return a(r);if(typeof o=="string")return a(o);if(!o.default)return console.error(`[react-international-phone]: default mask for ${t.iso2} is not provided`),a(r);let s=Object.keys(o).find(i=>{if(i==="default")return!1;if(!(i.charAt(0)==="/"&&i.charAt(i.length-1)==="/"))return console.error(`[react-international-phone]: format regex "${i}" for ${t.iso2} is not valid`),!1;let l=new RegExp(i.substring(1,i.length-1)),c=e.replace(t.dialCode,"");return l.test(ps(c))});return a(s?o[s]:o.default)},Mt=e=>{let[t,r,n,o,a,s]=e;return{name:t,iso2:r,dialCode:n,format:o,priority:a,areaCodes:s}},SC=e=>`Field "${e}" is not supported`,En=({field:e,value:t,countries:r=pr})=>{if(["priority"].includes(e))throw new Error(SC(e));let n=r.find(o=>{let a=Mt(o);return t===a[e]});if(n)return Mt(n)},TC=({phone:e,countries:t=pr,currentCountryIso2:r})=>{var i;let n={country:void 0,fullDialCodeMatch:!1};if(!e)return n;let o=ps(e);if(!o)return n;let a=n,s=({country:l,fullDialCodeMatch:c})=>{var p,h;let u=l.dialCode===((p=a.country)==null?void 0:p.dialCode),d=(l.priority??0)<(((h=a.country)==null?void 0:h.priority)??0);(!u||d)&&(a={country:l,fullDialCodeMatch:c})};for(let l of t){let c=Mt(l),{dialCode:u,areaCodes:d}=c;if(o.startsWith(u)){let p=a.country?Number(u)>=Number(a.country.dialCode):!0;if(d){let h=o.substring(u.length);for(let g of d)if(h.startsWith(g))return{country:c,fullDialCodeMatch:!0}}(p||u===o||!a.fullDialCodeMatch)&&s({country:c,fullDialCodeMatch:!0})}a.fullDialCodeMatch||o.length<u.length&&u.startsWith(o)&&(!a.country||Number(u)<=Number(a.country.dialCode))&&s({country:c,fullDialCodeMatch:!1})}if(r){let l=En({value:r,field:"iso2",countries:t});if(!l)return a;let c=l?(u=>{if(!(u!=null&&u.areaCodes))return!1;let d=o.substring(u.dialCode.length);return u.areaCodes.some(p=>p.startsWith(d))})(l):!1;a&&((i=a.country)==null?void 0:i.dialCode)===l.dialCode&&a.country!==l&&a.fullDialCodeMatch&&(!l.areaCodes||c)&&(a={country:l,fullDialCodeMatch:!0})}return a},EC=(e,t)=>{let r=parseInt(e,16);return Number(r+t).toString(16)},$C="abcdefghijklmnopqrstuvwxyz",DC="1f1e6",Sh=$C.split("").reduce((e,t,r)=>({...e,[t]:EC(DC,r)}),{}),kC=e=>[Sh[e[0]],Sh[e[1]]].join("-"),ms=({iso2:e,size:t,src:r,protocol:n="https",disableLazyLoading:o,className:a,style:s,...i})=>{if(!e)return f.createElement("img",{className:Re({addPrefix:["flag-emoji"],rawClassNames:[a]}),width:t,height:t,...i});let l=()=>{if(r)return r;let c=kC(e);return`${n}://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/svg/${c}.svg`};return f.createElement("img",{className:Re({addPrefix:["flag-emoji"],rawClassNames:[a]}),src:l(),width:t,height:t,draggable:!1,"data-country":e,loading:o?void 0:"lazy",style:{width:t,height:t,...s},alt:"",...i})},IC=1e3,AC=({show:e,dialCodePrefix:t="+",selectedCountry:r,countries:n=pr,preferredCountries:o=[],flags:a,onSelect:s,onClose:i,...l})=>{let c=f.useRef(null),u=f.useRef(),d=f.useMemo(()=>{if(!o||!o.length)return n;let E=[],A=[...n];for(let m of o){let k=A.findIndex(I=>Mt(I).iso2===m);if(k!==-1){let I=A.splice(k,1)[0];E.push(I)}}return E.concat(A)},[n,o]),p=f.useRef({updatedAt:void 0,value:""}),h=E=>{let A=p.current.updatedAt&&new Date().getTime()-p.current.updatedAt.getTime()>IC;p.current={value:A?E:`${p.current.value}${E}`,updatedAt:new Date};let m=d.findIndex(k=>Mt(k).name.toLowerCase().startsWith(p.current.value));m!==-1&&b(m)},g=f.useCallback(E=>d.findIndex(A=>Mt(A).iso2===E),[d]),[v,b]=f.useState(g(r)),P=()=>{u.current!==r&&b(g(r))},x=f.useCallback(E=>{b(g(E.iso2)),s==null||s(E)},[s,g]),w=E=>{let A=d.length-1,m=k=>E==="prev"?k-1:E==="next"?k+1:E==="last"?A:0;b(k=>{let I=m(k);return I<0?0:I>A?A:I})},T=E=>{if(E.stopPropagation(),E.key==="Enter"){E.preventDefault();let A=Mt(d[v]);x(A);return}if(E.key==="Escape"){i==null||i();return}if(E.key==="ArrowUp"){E.preventDefault(),w("prev");return}if(E.key==="ArrowDown"){E.preventDefault(),w("next");return}if(E.key==="PageUp"){E.preventDefault(),w("first");return}if(E.key==="PageDown"){E.preventDefault(),w("last");return}E.key===" "&&E.preventDefault(),E.key.length===1&&!E.altKey&&!E.ctrlKey&&!E.metaKey&&h(E.key.toLocaleLowerCase())},$=f.useCallback(()=>{if(!c.current||v===void 0)return;let E=Mt(d[v]).iso2;if(E===u.current)return;let A=c.current.querySelector(`[data-country="${E}"]`);A&&(mC(c.current,A),u.current=E)},[v,d]);return f.useEffect(()=>{$()},[v,$]),f.useEffect(()=>{c.current&&(e?c.current.focus():P())},[e]),f.useEffect(()=>{P()},[r]),f.createElement("ul",{ref:c,role:"listbox",className:Re({addPrefix:["country-selector-dropdown"],rawClassNames:[l.className]}),style:{display:e?"block":"none",...l.style},onKeyDown:T,onBlur:i,tabIndex:-1,"aria-activedescendant":`react-international-phone__${Mt(d[v]).iso2}-option`},d.map((E,A)=>{let m=Mt(E),k=m.iso2===r,I=A===v,S=o.includes(m.iso2),N=A===o.length-1,C=a==null?void 0:a.find(M=>M.iso2===m.iso2);return f.createElement(f.Fragment,{key:m.iso2},f.createElement("li",{"data-country":m.iso2,role:"option","aria-selected":k,"aria-label":`${m.name} ${t}${m.dialCode}`,id:`react-international-phone__${m.iso2}-option`,className:Re({addPrefix:["country-selector-dropdown__list-item",S&&"country-selector-dropdown__list-item--preferred",k&&"country-selector-dropdown__list-item--selected",I&&"country-selector-dropdown__list-item--focused"],rawClassNames:[l.listItemClassName]}),onClick:()=>x(m),style:l.listItemStyle,title:m.name},f.createElement(ms,{iso2:m.iso2,src:C==null?void 0:C.src,className:Re({addPrefix:["country-selector-dropdown__list-item-flag-emoji"],rawClassNames:[l.listItemFlagClassName]}),style:l.listItemFlagStyle}),f.createElement("span",{className:Re({addPrefix:["country-selector-dropdown__list-item-country-name"],rawClassNames:[l.listItemCountryNameClassName]}),style:l.listItemCountryNameStyle},m.name),f.createElement("span",{className:Re({addPrefix:["country-selector-dropdown__list-item-dial-code"],rawClassNames:[l.listItemDialCodeClassName]}),style:l.listItemDialCodeStyle},t,m.dialCode)),N?f.createElement("hr",{className:Re({addPrefix:["country-selector-dropdown__preferred-list-divider"],rawClassNames:[l.preferredListDividerClassName]}),style:l.preferredListDividerStyle}):null)}))},NC=({selectedCountry:e,onSelect:t,disabled:r,hideDropdown:n,countries:o=pr,preferredCountries:a=[],flags:s,renderButtonWrapper:i,...l})=>{let[c,u]=f.useState(!1),d=f.useMemo(()=>{if(e)return En({value:e,field:"iso2",countries:o})},[o,e]),p=f.useRef(null),h=v=>{v.key&&["ArrowUp","ArrowDown"].includes(v.key)&&(v.preventDefault(),u(!0))},g=()=>{var P;let v={title:d==null?void 0:d.name,onClick:()=>u(x=>!x),onMouseDown:x=>x.preventDefault(),onKeyDown:h,disabled:n||r,role:"combobox","aria-label":"Country selector","aria-haspopup":"listbox","aria-expanded":c},b=f.createElement("div",{className:Re({addPrefix:["country-selector-button__button-content"],rawClassNames:[l.buttonContentWrapperClassName]}),style:l.buttonContentWrapperStyle},f.createElement(ms,{iso2:e,src:(P=s==null?void 0:s.find(x=>x.iso2===e))==null?void 0:P.src,className:Re({addPrefix:["country-selector-button__flag-emoji",r&&"country-selector-button__flag-emoji--disabled"],rawClassNames:[l.flagClassName]}),style:{visibility:e?"visible":"hidden",...l.flagStyle}}),!n&&f.createElement("div",{className:Re({addPrefix:["country-selector-button__dropdown-arrow",r&&"country-selector-button__dropdown-arrow--disabled",c&&"country-selector-button__dropdown-arrow--active"],rawClassNames:[l.dropdownArrowClassName]}),style:l.dropdownArrowStyle}));return i?i({children:b,rootProps:v}):f.createElement("button",{...v,type:"button",className:Re({addPrefix:["country-selector-button",c&&"country-selector-button--active",r&&"country-selector-button--disabled",n&&"country-selector-button--hide-dropdown"],rawClassNames:[l.buttonClassName]}),"data-country":e,style:l.buttonStyle},b)};return f.createElement("div",{className:Re({addPrefix:["country-selector"],rawClassNames:[l.className]}),style:l.style,ref:p},g(),f.createElement(AC,{show:c,countries:o,preferredCountries:a,flags:s,onSelect:v=>{u(!1),t==null||t(v)},selectedCountry:e,onClose:()=>{u(!1)},...l.dropdownStyleProps}))},OC=({dialCode:e,prefix:t,disabled:r,style:n,className:o})=>f.createElement("div",{className:Re({addPrefix:["dial-code-preview",r&&"dial-code-preview--disabled"],rawClassNames:[o]}),style:n},`${t}${e}`);f.forwardRef(({value:e,onChange:t,countries:r=pr,preferredCountries:n=[],hideDropdown:o,showDisabledDialCodeAndPrefix:a,disableFocusAfterCountrySelect:s,flags:i,style:l,className:c,inputStyle:u,inputClassName:d,countrySelectorStyleProps:p,dialCodePreviewStyleProps:h,inputProps:g,placeholder:v,disabled:b,name:P,onFocus:x,onBlur:w,required:T,autoFocus:$,...E},A)=>{let{phone:m,inputValue:k,inputRef:I,country:S,setCountry:N,handlePhoneValueChange:C}=Mh({value:e,countries:r,...E,onChange:O=>{t==null||t(O.phone,{country:O.country,inputValue:O.inputValue})}}),M=E.disableDialCodeAndPrefix&&a&&(S==null?void 0:S.dialCode);return f.useImperativeHandle(A,()=>I.current?Object.assign(I.current,{setCountry:N,state:{phone:m,inputValue:k,country:S}}):null,[I,N,m,k,S]),f.createElement("div",{ref:A,className:Re({addPrefix:["input-container"],rawClassNames:[c]}),style:l},f.createElement(NC,{onSelect:O=>N(O.iso2,{focusOnInput:!s}),flags:i,selectedCountry:S.iso2,countries:r,preferredCountries:n,disabled:b,hideDropdown:o,...p}),M&&f.createElement(OC,{dialCode:S.dialCode,prefix:E.prefix??"+",disabled:b,...h}),f.createElement("input",{onChange:C,value:k,type:"tel",ref:I,className:Re({addPrefix:["input",b&&"input--disabled"],rawClassNames:[d]}),placeholder:v,disabled:b,style:u,name:P,onFocus:x,onBlur:w,autoFocus:$,required:T,...g}))});const jC=({value:e,onChange:t,disabled:r,placeholder:n,error:o,erroMessage:a,isValid:s,searchMessage:i,noResultsFoundMessage:l,...c})=>{const[u,d]=f.useState(!1),p=ye({base:"group flex h-12 w-full items-center rounded-lg border border-primary-grey-700 bg-white px-4 py-3",variants:{disabled:{true:"border-none bg-primary-grey-500"},isError:{true:"border-complementary-red-500"},completed:{true:"border-secondary-green-500"}}}),h=ye({base:"ml-4 bg-transparent font-satoshi text-sm font-normal leading-normal focus-within:outline-none group-focus-within:text-black",variants:{disabled:{true:"text-primary-grey-700"}}}),g=ye({base:"flex items-center gap-[6px] border-r border-primary-grey-800 pr-4",variants:{disabled:{true:"border-primary-grey-700"}}}),v=ye({base:"h-6 w-6 stroke-1 text-primary-grey-800 group-focus-within:text-black",variants:{disabled:{true:"text-primary-grey-700"}}}),b=ye({base:"font-satoshi text-sm font-normal leading-normal text-primary-grey-800 group-focus-within:text-black",variants:{disabled:{true:"text-primary-grey-700"}}}),{inputValue:P,handlePhoneValueChange:x,inputRef:w,country:T,setCountry:$}=Mh({defaultCountry:"us",value:e,charAfterDialCode:"+",disableDialCodePrefill:!1,disableDialCodeAndPrefix:!0,countries:pr,onChange:A=>{t==null||t(A.phone)}}),E=A=>{d(!u),$(A)};return L.jsxs("div",{className:"h-[74px]",children:[L.jsxs("div",{className:p({disabled:r,isError:o,completed:s}),children:[L.jsxs(M1,{open:u,onOpenChange:d,children:[L.jsx(S1,{asChild:!0,children:L.jsxs("button",{disabled:r,className:g({disabled:r}),children:[L.jsx("div",{className:"flex h-6 w-6 items-center justify-center overflow-hidden rounded-full border-1.5 border-white",children:L.jsx(ms,{className:"scale-[1.4]",iso2:T.iso2})}),L.jsxs("span",{className:b({disabled:r}),children:["+ ",T.dialCode]}),u?L.jsx(uC,{className:v({disabled:r})}):L.jsx(cC,{className:v({disabled:r})})]})}),L.jsx(T1,{children:L.jsx(E1,{className:"max-h-96 overflow-y-auto rounded-lg border border-primary-grey-600 bg-white",side:"bottom",sideOffset:5,children:L.jsxs(Mn,{children:[L.jsxs("div",{className:"flex items-center justify-center gap-2 border-b-1 px-2 py-2",children:[L.jsx(dC,{className:"h-4 w-4 shrink-0 text-primary-grey-800"}),L.jsx(Mn.Input,{className:"w-full font-satoshi text-sm focus-visible:outline-none",placeholder:i})]}),L.jsxs(Mn.List,{className:"mt-2",children:[L.jsx(Mn.Empty,{className:"font-satoshi text-sm",children:l}),L.jsx(Mn.Group,{children:pr.map(A=>{const m=Mt(A);return L.jsxs(Mn.Item,{onSelect:()=>E(m.iso2),className:"flex cursor-pointer items-center justify-between px-2 py-2 font-satoshi text-sm text-primary-grey-800 hover:bg-primary-grey-500",children:[L.jsxs("div",{className:"flex gap-1",children:[L.jsx("div",{className:"flex h-6 w-6 items-center justify-center overflow-hidden rounded-full border-1.5 border-white",children:L.jsx(ms,{className:"scale-[1.4]",iso2:m.iso2})}),L.jsx("span",{children:m.name})]}),L.jsxs("span",{children:["+ ",m.dialCode]})]},m.iso2)})})]})]})})})]}),L.jsx("input",{disabled:r,className:h({disabled:r}),placeholder:n,type:"tel",value:P,onChange:x,ref:w,...c})]}),o&&a&&L.jsx("span",{className:"mt-2 pl-6 font-satoshi text-xs font-normal leading-normal text-complementary-red-500",children:a})]})},LC={args:{disabled:!1,placeholder:"Phone Number",error:!1,isValid:!1,erroMessage:"Phone Number is required",noResultsFoundMessage:"no results found",searchMessage:"Search your country code"}},_C=({label:e,initialDate:t,onSelect:r,dateFormat:n})=>{const[o,a]=f.useState(!1),[s,i]=f.useState(t),l=()=>{a(!0)},c=d=>{r&&r(d),i(d),u()},u=()=>{a(!1)};return L.jsx($1,{isOpen:o,align:"end",onInteractOutside:u,content:L.jsx(ah,{selected:s,onSelect:c,mode:"single"}),children:L.jsx("div",{children:L.jsx(kl,{value:s?Yt(s,n??"dd/MM/yyyy"):"",onClick:l,isDatePicker:!0,label:e,icon:"calendar"})})})},FC={white:"#ffffff",black:"#000000",primary:{green:{50:"#e9eceb",100:"#bac3c2",200:"#99a7a4",300:"#6b7e7b",400:"#4e6561",500:"#223f3a",600:"#1f3935",700:"#182d29",800:"#132320",900:"#0e1a18"},black:{50:"#e6e6e6",100:"#b0b0b0",200:"#8a8a8a",300:"#545454",400:"#333333",500:"#000000",600:"#000000",700:"#000000",800:"#000000",900:"#000000"},grey:{50:"##fefefe",100:"#fcfdfd",200:"#fafbfc",300:"#f8fafb",400:"#f7f9fa",500:"#f5f7f9",600:"#dfe1e3",700:"#aeafb1",800:"#878889",900:"#676869"}},secondary:{green:{50:"#e6f7ee",100:"#b2e7c9",200:"#8cdbaf",300:"#58ca8a",400:"#38c074",500:"#06b051",600:"#05a04a",700:"#047d3a",800:"#03612d",900:"#034a22"}},tertiary:{green:{50:"#ebfaf2",100:"#c2f0d8",200:"#a4e8c5",300:"#7adeaa",400:"#61d799",500:"#39cd80",600:"#34bb74",700:"#28925b",800:"#1f7146",900:"#185636"}},complementary:{violet:{50:"#f0ecf5",100:"#d1c3df",200:"#bba7d0",300:"#9d7ebb",400:"#8965ad",500:"#6c3f99",600:"#62398b",700:"#4d2d6d",800:"#3b2354",900:"#2d1a40"},blue:{50:"#e6f7f7",100:"#b1e6e6",200:"#8cdada",300:"#57c9c9",400:"#36bfbe",500:"#04afae",600:"#049f9e",700:"#037c7c",800:"#026060",900:"#024a49"},red:{50:"#faebea",100:"#f0c1be",200:"#e9a39f",300:"#df7973",400:"#d95f58",500:"#cf372e",600:"#bc322a",700:"#932721",800:"#721e19",900:"#571713"},orange:{50:"#fef3e9",100:"#fbdabb",200:"#f9c99a",300:"#f6b06c",400:"#f5a150",500:"#f28924",600:"#dc7d21",700:"#ac611a",800:"#854b14",900:"#663a0f"},yellow:{50:"#fdfaec",100:"#f9f0c4",200:"#f7e9a8",300:"#f3e080",400:"#f1d968",500:"#edd042",600:"#d8bd3c",700:"#a8942f",800:"#827224",900:"#64571c"}}};xe.Avatar=n0,xe.Button=il,xe.Checkbox=g3,xe.Chip=b3,xe.DatePicker=ah,xe.DatePickerInput=_C,xe.Flag=pm,xe.Icon=Ge,xe.Input=kl,xe.InputPassword=e8,xe.Logo=dm,xe.PhoneNumberInput=jC,xe.Playground=LC,xe.Popover=$1,xe.RadioGroup=v3,xe.SegmentedControl=y3,xe.Snackbar=o0,xe.Switch=m3,xe.Tabs=J7,xe.Tag=Cw,xe.ToastContainer=Pw,xe.Tooltip=C7,xe.Typography=Gc,xe.colors=FC,xe.useSnackbar=A3,Object.defineProperty(xe,Symbol.toStringTag,{value:"Module"})});
101
+ */var Dh;function aI(){if(Dh)return Xo;Dh=1;var e=f,t=Symbol.for("react.element"),n=Symbol.for("react.fragment"),r=Object.prototype.hasOwnProperty,o=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,a={key:!0,ref:!0,__self:!0,__source:!0};function i(s,l,u){var c,d={},p=null,m=null;u!==void 0&&(p=""+u),l.key!==void 0&&(p=""+l.key),l.ref!==void 0&&(m=l.ref);for(c in l)r.call(l,c)&&!a.hasOwnProperty(c)&&(d[c]=l[c]);if(s&&s.defaultProps)for(c in l=s.defaultProps,l)d[c]===void 0&&(d[c]=l[c]);return{$$typeof:t,type:s,key:p,ref:m,props:d,_owner:o.current}}return Xo.Fragment=n,Xo.jsx=i,Xo.jsxs=i,Xo}process.env.NODE_ENV==="production"?Qu.exports=aI():Qu.exports=oI();var z=Qu.exports;function Zo(e){return e.mode==="multiple"}function Yo(e){return e.mode==="range"}function Ri(e){return e.mode==="single"}var iI={root:"rdp",multiple_months:"rdp-multiple_months",with_weeknumber:"rdp-with_weeknumber",vhidden:"rdp-vhidden",button_reset:"rdp-button_reset",button:"rdp-button",caption:"rdp-caption",caption_start:"rdp-caption_start",caption_end:"rdp-caption_end",caption_between:"rdp-caption_between",caption_label:"rdp-caption_label",caption_dropdowns:"rdp-caption_dropdowns",dropdown:"rdp-dropdown",dropdown_month:"rdp-dropdown_month",dropdown_year:"rdp-dropdown_year",dropdown_icon:"rdp-dropdown_icon",months:"rdp-months",month:"rdp-month",table:"rdp-table",tbody:"rdp-tbody",tfoot:"rdp-tfoot",head:"rdp-head",head_row:"rdp-head_row",head_cell:"rdp-head_cell",nav:"rdp-nav",nav_button:"rdp-nav_button",nav_button_previous:"rdp-nav_button_previous",nav_button_next:"rdp-nav_button_next",nav_icon:"rdp-nav_icon",row:"rdp-row",weeknumber:"rdp-weeknumber",cell:"rdp-cell",day:"rdp-day",day_today:"rdp-day_today",day_outside:"rdp-day_outside",day_selected:"rdp-day_selected",day_disabled:"rdp-day_disabled",day_hidden:"rdp-day_hidden",day_range_start:"rdp-day_range_start",day_range_end:"rdp-day_range_end",day_range_middle:"rdp-day_range_middle"};function sI(e,t){return fn(e,"LLLL y",t)}function lI(e,t){return fn(e,"d",t)}function uI(e,t){return fn(e,"LLLL",t)}function cI(e){return"".concat(e)}function dI(e,t){return fn(e,"cccccc",t)}function fI(e,t){return fn(e,"yyyy",t)}var pI=Object.freeze({__proto__:null,formatCaption:sI,formatDay:lI,formatMonthCaption:uI,formatWeekNumber:cI,formatWeekdayName:dI,formatYearCaption:fI}),mI=function(e,t,n){return fn(e,"do MMMM (EEEE)",n)},hI=function(){return"Month: "},gI=function(){return"Go to next month"},bI=function(){return"Go to previous month"},vI=function(e,t){return fn(e,"cccc",t)},yI=function(e){return"Week n. ".concat(e)},xI=function(){return"Year: "},CI=Object.freeze({__proto__:null,labelDay:mI,labelMonthDropdown:hI,labelNext:gI,labelPrevious:bI,labelWeekNumber:yI,labelWeekday:vI,labelYearDropdown:xI});function wI(){var e="buttons",t=iI,n=bh,r={},o={},a=1,i={},s=new Date;return{captionLayout:e,classNames:t,formatters:pI,labels:CI,locale:n,modifiersClassNames:r,modifiers:o,numberOfMonths:a,styles:i,today:s,mode:"default"}}function II(e){var t=e.fromYear,n=e.toYear,r=e.fromMonth,o=e.toMonth,a=e.fromDate,i=e.toDate;return r?a=ft(r):t&&(a=new Date(t,0,1)),o?i=Hu(o):n&&(i=new Date(n,11,31)),{fromDate:a?Gr(a):void 0,toDate:i?Gr(i):void 0}}var Nh=f.createContext(void 0);function EI(e){var t,n=e.initialProps,r=wI(),o=II(n),a=o.fromDate,i=o.toDate,s=(t=n.captionLayout)!==null&&t!==void 0?t:r.captionLayout;s!=="buttons"&&(!a||!i)&&(s="buttons");var l;(Ri(n)||Zo(n)||Yo(n))&&(l=n.onSelect);var u=me(me(me({},r),n),{captionLayout:s,classNames:me(me({},r.classNames),n.classNames),components:me({},n.components),formatters:me(me({},r.formatters),n.formatters),fromDate:a,labels:me(me({},r.labels),n.labels),mode:n.mode||r.mode,modifiers:me(me({},r.modifiers),n.modifiers),modifiersClassNames:me(me({},r.modifiersClassNames),n.modifiersClassNames),onSelect:l,styles:me(me({},r.styles),n.styles),toDate:i});return z.jsx(Nh.Provider,{value:u,children:e.children})}function Ve(){var e=f.useContext(Nh);if(!e)throw new Error("useDayPicker must be used within a DayPickerProvider.");return e}function $h(e){var t=Ve(),n=t.locale,r=t.classNames,o=t.styles,a=t.formatters.formatCaption;return z.jsx("div",{className:r.caption_label,style:o.caption_label,"aria-live":"polite",role:"presentation",id:e.id,children:a(e.displayMonth,{locale:n})})}function PI(e){return z.jsx("svg",me({width:"8px",height:"8px",viewBox:"0 0 120 120","data-testid":"iconDropdown"},e,{children:z.jsx("path",{d:"M4.22182541,48.2218254 C8.44222828,44.0014225 15.2388494,43.9273804 19.5496459,47.9996989 L19.7781746,48.2218254 L60,88.443 L100.221825,48.2218254 C104.442228,44.0014225 111.238849,43.9273804 115.549646,47.9996989 L115.778175,48.2218254 C119.998577,52.4422283 120.07262,59.2388494 116.000301,63.5496459 L115.778175,63.7781746 L67.7781746,111.778175 C63.5577717,115.998577 56.7611506,116.07262 52.4503541,112.000301 L52.2218254,111.778175 L4.22182541,63.7781746 C-0.0739418023,59.4824074 -0.0739418023,52.5175926 4.22182541,48.2218254 Z",fill:"currentColor",fillRule:"nonzero"})}))}function kh(e){var t,n,r=e.onChange,o=e.value,a=e.children,i=e.caption,s=e.className,l=e.style,u=Ve(),c=(n=(t=u.components)===null||t===void 0?void 0:t.IconDropdown)!==null&&n!==void 0?n:PI;return z.jsxs("div",{className:s,style:l,children:[z.jsx("span",{className:u.classNames.vhidden,children:e["aria-label"]}),z.jsx("select",{name:e.name,"aria-label":e["aria-label"],className:u.classNames.dropdown,style:u.styles.dropdown,value:o,onChange:r,children:a}),z.jsxs("div",{className:u.classNames.caption_label,style:u.styles.caption_label,"aria-hidden":"true",children:[i,z.jsx(c,{className:u.classNames.dropdown_icon,style:u.styles.dropdown_icon})]})]})}function SI(e){var t,n=Ve(),r=n.fromDate,o=n.toDate,a=n.styles,i=n.locale,s=n.formatters.formatMonthCaption,l=n.classNames,u=n.components,c=n.labels.labelMonthDropdown;if(!r)return z.jsx(z.Fragment,{});if(!o)return z.jsx(z.Fragment,{});var d=[];if(nI(r,o))for(var p=ft(r),m=r.getMonth();m<=o.getMonth();m++)d.push(Ju(p,m));else for(var p=ft(new Date),m=0;m<=11;m++)d.push(Ju(p,m));var h=function(b){var x=Number(b.target.value),y=Ju(ft(e.displayMonth),x);e.onChange(y)},g=(t=u==null?void 0:u.Dropdown)!==null&&t!==void 0?t:kh;return z.jsx(g,{name:"months","aria-label":c(),className:l.dropdown_month,style:a.dropdown_month,onChange:h,value:e.displayMonth.getMonth(),caption:s(e.displayMonth,{locale:i}),children:d.map(function(b){return z.jsx("option",{value:b.getMonth(),children:s(b,{locale:i})},b.getMonth())})})}function MI(e){var t,n=e.displayMonth,r=Ve(),o=r.fromDate,a=r.toDate,i=r.locale,s=r.styles,l=r.classNames,u=r.components,c=r.formatters.formatYearCaption,d=r.labels.labelYearDropdown,p=[];if(!o)return z.jsx(z.Fragment,{});if(!a)return z.jsx(z.Fragment,{});for(var m=o.getFullYear(),h=a.getFullYear(),g=m;g<=h;g++)p.push(Mh(hh(new Date),g));var b=function(y){var w=Mh(ft(n),Number(y.target.value));e.onChange(w)},x=(t=u==null?void 0:u.Dropdown)!==null&&t!==void 0?t:kh;return z.jsx(x,{name:"years","aria-label":d(),className:l.dropdown_year,style:s.dropdown_year,onChange:b,value:n.getFullYear(),caption:c(n,{locale:i}),children:p.map(function(y){return z.jsx("option",{value:y.getFullYear(),children:c(y,{locale:i})},y.getFullYear())})})}function AI(e,t){var n=f.useState(e),r=n[0],o=n[1],a=t===void 0?r:t;return[a,o]}function TI(e){var t=e.month,n=e.defaultMonth,r=e.today,o=t||n||r||new Date,a=e.toDate,i=e.fromDate,s=e.numberOfMonths,l=s===void 0?1:s;if(a&&Go(a,o)<0){var u=-1*(l-1);o=Ft(a,u)}return i&&Go(o,i)<0&&(o=i),ft(o)}function DI(){var e=Ve(),t=TI(e),n=AI(t,e.month),r=n[0],o=n[1],a=function(i){var s;if(!e.disableNavigation){var l=ft(i);o(l),(s=e.onMonthChange)===null||s===void 0||s.call(e,l)}};return[r,a]}function NI(e,t){for(var n=t.reverseMonths,r=t.numberOfMonths,o=ft(e),a=ft(Ft(o,r)),i=Go(a,o),s=[],l=0;l<i;l++){var u=Ft(o,l);s.push(u)}return n&&(s=s.reverse()),s}function $I(e,t){if(!t.disableNavigation){var n=t.toDate,r=t.pagedNavigation,o=t.numberOfMonths,a=o===void 0?1:o,i=r?a:1,s=ft(e);if(!n)return Ft(s,i);var l=Go(n,e);if(!(l<a))return Ft(s,i)}}function kI(e,t){if(!t.disableNavigation){var n=t.fromDate,r=t.pagedNavigation,o=t.numberOfMonths,a=o===void 0?1:o,i=r?a:1,s=ft(e);if(!n)return Ft(s,-i);var l=Go(s,n);if(!(l<=0))return Ft(s,-i)}}var Oh=f.createContext(void 0);function OI(e){var t=Ve(),n=DI(),r=n[0],o=n[1],a=NI(r,t),i=$I(r,t),s=kI(r,t),l=function(d){return a.some(function(p){return Uu(d,p)})},u=function(d,p){l(d)||(p&&Sh(d,p)?o(Ft(d,1+t.numberOfMonths*-1)):o(d))},c={currentMonth:r,displayMonths:a,goToMonth:o,goToDate:u,previousMonth:s,nextMonth:i,isDateDisplayed:l};return z.jsx(Oh.Provider,{value:c,children:e.children})}function zr(){var e=f.useContext(Oh);if(!e)throw new Error("useNavigation must be used within a NavigationProvider");return e}function Fh(e){var t,n=Ve(),r=n.classNames,o=n.styles,a=n.components,i=zr().goToMonth,s=function(c){i(Ft(c,e.displayIndex?-e.displayIndex:0))},l=(t=a==null?void 0:a.CaptionLabel)!==null&&t!==void 0?t:$h,u=z.jsx(l,{id:e.id,displayMonth:e.displayMonth});return z.jsxs("div",{className:r.caption_dropdowns,style:o.caption_dropdowns,children:[z.jsx("div",{className:r.vhidden,children:u}),z.jsx(SI,{onChange:s,displayMonth:e.displayMonth}),z.jsx(MI,{onChange:s,displayMonth:e.displayMonth})]})}function FI(e){return z.jsx("svg",me({width:"16px",height:"16px",viewBox:"0 0 120 120"},e,{children:z.jsx("path",{d:"M69.490332,3.34314575 C72.6145263,0.218951416 77.6798462,0.218951416 80.8040405,3.34314575 C83.8617626,6.40086786 83.9268205,11.3179931 80.9992143,14.4548388 L80.8040405,14.6568542 L35.461,60 L80.8040405,105.343146 C83.8617626,108.400868 83.9268205,113.317993 80.9992143,116.454839 L80.8040405,116.656854 C77.7463184,119.714576 72.8291931,119.779634 69.6923475,116.852028 L69.490332,116.656854 L18.490332,65.6568542 C15.4326099,62.5991321 15.367552,57.6820069 18.2951583,54.5451612 L18.490332,54.3431458 L69.490332,3.34314575 Z",fill:"currentColor",fillRule:"nonzero"})}))}function LI(e){return z.jsx("svg",me({width:"16px",height:"16px",viewBox:"0 0 120 120"},e,{children:z.jsx("path",{d:"M49.8040405,3.34314575 C46.6798462,0.218951416 41.6145263,0.218951416 38.490332,3.34314575 C35.4326099,6.40086786 35.367552,11.3179931 38.2951583,14.4548388 L38.490332,14.6568542 L83.8333725,60 L38.490332,105.343146 C35.4326099,108.400868 35.367552,113.317993 38.2951583,116.454839 L38.490332,116.656854 C41.5480541,119.714576 46.4651794,119.779634 49.602025,116.852028 L49.8040405,116.656854 L100.804041,65.6568542 C103.861763,62.5991321 103.926821,57.6820069 100.999214,54.5451612 L100.804041,54.3431458 L49.8040405,3.34314575 Z",fill:"currentColor"})}))}var zi=f.forwardRef(function(e,t){var n=Ve(),r=n.classNames,o=n.styles,a=[r.button_reset,r.button];e.className&&a.push(e.className);var i=a.join(" "),s=me(me({},o.button_reset),o.button);return e.style&&Object.assign(s,e.style),z.jsx("button",me({},e,{ref:t,type:"button",className:i,style:s}))});function VI(e){var t,n,r=Ve(),o=r.dir,a=r.locale,i=r.classNames,s=r.styles,l=r.labels,u=l.labelPrevious,c=l.labelNext,d=r.components;if(!e.nextMonth&&!e.previousMonth)return z.jsx(z.Fragment,{});var p=u(e.previousMonth,{locale:a}),m=[i.nav_button,i.nav_button_previous].join(" "),h=c(e.nextMonth,{locale:a}),g=[i.nav_button,i.nav_button_next].join(" "),b=(t=d==null?void 0:d.IconRight)!==null&&t!==void 0?t:LI,x=(n=d==null?void 0:d.IconLeft)!==null&&n!==void 0?n:FI;return z.jsxs("div",{className:i.nav,style:s.nav,children:[!e.hidePrevious&&z.jsx(zi,{name:"previous-month","aria-label":p,className:m,style:s.nav_button_previous,disabled:!e.previousMonth,onClick:e.onPreviousClick,children:o==="rtl"?z.jsx(b,{className:i.nav_icon,style:s.nav_icon}):z.jsx(x,{className:i.nav_icon,style:s.nav_icon})}),!e.hideNext&&z.jsx(zi,{name:"next-month","aria-label":h,className:g,style:s.nav_button_next,disabled:!e.nextMonth,onClick:e.onNextClick,children:o==="rtl"?z.jsx(x,{className:i.nav_icon,style:s.nav_icon}):z.jsx(b,{className:i.nav_icon,style:s.nav_icon})})]})}function Lh(e){var t=Ve().numberOfMonths,n=zr(),r=n.previousMonth,o=n.nextMonth,a=n.goToMonth,i=n.displayMonths,s=i.findIndex(function(h){return Uu(e.displayMonth,h)}),l=s===0,u=s===i.length-1,c=t>1&&(l||!u),d=t>1&&(u||!l),p=function(){r&&a(r)},m=function(){o&&a(o)};return z.jsx(VI,{displayMonth:e.displayMonth,hideNext:c,hidePrevious:d,nextMonth:o,previousMonth:r,onPreviousClick:p,onNextClick:m})}function jI(e){var t,n=Ve(),r=n.classNames,o=n.disableNavigation,a=n.styles,i=n.captionLayout,s=n.components,l=(t=s==null?void 0:s.CaptionLabel)!==null&&t!==void 0?t:$h,u;return o?u=z.jsx(l,{id:e.id,displayMonth:e.displayMonth}):i==="dropdown"?u=z.jsx(Fh,{displayMonth:e.displayMonth,id:e.id}):i==="dropdown-buttons"?u=z.jsxs(z.Fragment,{children:[z.jsx(Fh,{displayMonth:e.displayMonth,displayIndex:e.displayIndex,id:e.id}),z.jsx(Lh,{displayMonth:e.displayMonth,displayIndex:e.displayIndex,id:e.id})]}):u=z.jsxs(z.Fragment,{children:[z.jsx(l,{id:e.id,displayMonth:e.displayMonth,displayIndex:e.displayIndex}),z.jsx(Lh,{displayMonth:e.displayMonth,id:e.id})]}),z.jsx("div",{className:r.caption,style:a.caption,children:u})}function BI(e){var t=Ve(),n=t.footer,r=t.styles,o=t.classNames.tfoot;return n?z.jsx("tfoot",{className:o,style:r.tfoot,children:z.jsx("tr",{children:z.jsx("td",{colSpan:8,children:n})})}):z.jsx(z.Fragment,{})}function WI(e,t,n){for(var r=n?tr(new Date):Xt(new Date,{locale:e,weekStartsOn:t}),o=[],a=0;a<7;a++){var i=it(r,a);o.push(i)}return o}function _I(){var e=Ve(),t=e.classNames,n=e.styles,r=e.showWeekNumber,o=e.locale,a=e.weekStartsOn,i=e.ISOWeek,s=e.formatters.formatWeekdayName,l=e.labels.labelWeekday,u=WI(o,a,i);return z.jsxs("tr",{style:n.head_row,className:t.head_row,children:[r&&z.jsx("td",{style:n.head_cell,className:t.head_cell}),u.map(function(c,d){return z.jsx("th",{scope:"col",className:t.head_cell,style:n.head_cell,"aria-label":l(c,{locale:o}),children:s(c,{locale:o})},d)})]})}function GI(){var e,t=Ve(),n=t.classNames,r=t.styles,o=t.components,a=(e=o==null?void 0:o.HeadRow)!==null&&e!==void 0?e:_I;return z.jsx("thead",{style:r.head,className:n.head,children:z.jsx(a,{})})}function RI(e){var t=Ve(),n=t.locale,r=t.formatters.formatDay;return z.jsx(z.Fragment,{children:r(e.date,{locale:n})})}var qu=f.createContext(void 0);function zI(e){if(!Zo(e.initialProps)){var t={selected:void 0,modifiers:{disabled:[]}};return z.jsx(qu.Provider,{value:t,children:e.children})}return z.jsx(HI,{initialProps:e.initialProps,children:e.children})}function HI(e){var t=e.initialProps,n=e.children,r=t.selected,o=t.min,a=t.max,i=function(u,c,d){var p,m;(p=t.onDayClick)===null||p===void 0||p.call(t,u,c,d);var h=!!(c.selected&&o&&(r==null?void 0:r.length)===o);if(!h){var g=!!(!c.selected&&a&&(r==null?void 0:r.length)===a);if(!g){var b=r?Ah([],r,!0):[];if(c.selected){var x=b.findIndex(function(y){return dt(u,y)});b.splice(x,1)}else b.push(u);(m=t.onSelect)===null||m===void 0||m.call(t,b,u,c,d)}}},s={disabled:[]};r&&s.disabled.push(function(u){var c=a&&r.length>a-1,d=r.some(function(p){return dt(p,u)});return!!(c&&!d)});var l={selected:r,onDayClick:i,modifiers:s};return z.jsx(qu.Provider,{value:l,children:n})}function ec(){var e=f.useContext(qu);if(!e)throw new Error("useSelectMultiple must be used within a SelectMultipleProvider");return e}function XI(e,t){var n=t||{},r=n.from,o=n.to;return r&&o?dt(o,e)&&dt(r,e)?void 0:dt(o,e)?{from:o,to:void 0}:dt(r,e)?void 0:Yu(r,e)?{from:e,to:o}:{from:r,to:e}:o?Yu(e,o)?{from:o,to:e}:{from:e,to:o}:r?Sh(e,r)?{from:e,to:r}:{from:r,to:e}:{from:e,to:void 0}}var tc=f.createContext(void 0);function ZI(e){if(!Yo(e.initialProps)){var t={selected:void 0,modifiers:{range_start:[],range_end:[],range_middle:[],disabled:[]}};return z.jsx(tc.Provider,{value:t,children:e.children})}return z.jsx(YI,{initialProps:e.initialProps,children:e.children})}function YI(e){var t=e.initialProps,n=e.children,r=t.selected,o=r||{},a=o.from,i=o.to,s=t.min,l=t.max,u=function(m,h,g){var b,x;(b=t.onDayClick)===null||b===void 0||b.call(t,m,h,g);var y=XI(m,r);(x=t.onSelect)===null||x===void 0||x.call(t,y,m,h,g)},c={range_start:[],range_end:[],range_middle:[],disabled:[]};if(a?(c.range_start=[a],i?(c.range_end=[i],dt(a,i)||(c.range_middle=[{after:a,before:i}])):c.range_end=[a]):i&&(c.range_start=[i],c.range_end=[i]),s&&(a&&!i&&c.disabled.push({after:Ku(a,s-1),before:it(a,s-1)}),a&&i&&c.disabled.push({after:a,before:it(a,s-1)}),!a&&i&&c.disabled.push({after:Ku(i,s-1),before:it(i,s-1)})),l){if(a&&!i&&(c.disabled.push({before:it(a,-l+1)}),c.disabled.push({after:it(a,l-1)})),a&&i){var d=Zt(i,a)+1,p=l-d;c.disabled.push({before:Ku(a,p)}),c.disabled.push({after:it(i,p)})}!a&&i&&(c.disabled.push({before:it(i,-l+1)}),c.disabled.push({after:it(i,l-1)}))}return z.jsx(tc.Provider,{value:{selected:r,onDayClick:u,modifiers:c},children:n})}function nc(){var e=f.useContext(tc);if(!e)throw new Error("useSelectRange must be used within a SelectRangeProvider");return e}function Hi(e){return Array.isArray(e)?Ah([],e,!0):e!==void 0?[e]:[]}function UI(e){var t={};return Object.entries(e).forEach(function(n){var r=n[0],o=n[1];t[r]=Hi(o)}),t}var Lt;(function(e){e.Outside="outside",e.Disabled="disabled",e.Selected="selected",e.Hidden="hidden",e.Today="today",e.RangeStart="range_start",e.RangeEnd="range_end",e.RangeMiddle="range_middle"})(Lt||(Lt={}));var KI=Lt.Selected,pn=Lt.Disabled,JI=Lt.Hidden,QI=Lt.Today,rc=Lt.RangeEnd,oc=Lt.RangeMiddle,ac=Lt.RangeStart,qI=Lt.Outside;function eE(e,t,n){var r,o=(r={},r[KI]=Hi(e.selected),r[pn]=Hi(e.disabled),r[JI]=Hi(e.hidden),r[QI]=[e.today],r[rc]=[],r[oc]=[],r[ac]=[],r[qI]=[],r);return e.fromDate&&o[pn].push({before:e.fromDate}),e.toDate&&o[pn].push({after:e.toDate}),Zo(e)?o[pn]=o[pn].concat(t.modifiers[pn]):Yo(e)&&(o[pn]=o[pn].concat(n.modifiers[pn]),o[ac]=n.modifiers[ac],o[oc]=n.modifiers[oc],o[rc]=n.modifiers[rc]),o}var Vh=f.createContext(void 0);function tE(e){var t=Ve(),n=ec(),r=nc(),o=eE(t,n,r),a=UI(t.modifiers),i=me(me({},o),a);return z.jsx(Vh.Provider,{value:i,children:e.children})}function jh(){var e=f.useContext(Vh);if(!e)throw new Error("useModifiers must be used within a ModifiersProvider");return e}function nE(e){return!!(e&&typeof e=="object"&&"before"in e&&"after"in e)}function rE(e){return!!(e&&typeof e=="object"&&"from"in e)}function oE(e){return!!(e&&typeof e=="object"&&"after"in e)}function aE(e){return!!(e&&typeof e=="object"&&"before"in e)}function iE(e){return!!(e&&typeof e=="object"&&"dayOfWeek"in e)}function sE(e,t){var n,r=t.from,o=t.to;if(r&&o){var a=Zt(o,r)<0;a&&(n=[o,r],r=n[0],o=n[1]);var i=Zt(e,r)>=0&&Zt(o,e)>=0;return i}return o?dt(o,e):r?dt(r,e):!1}function lE(e){return zu(e)}function uE(e){return Array.isArray(e)&&e.every(zu)}function cE(e,t){return t.some(function(n){if(typeof n=="boolean")return n;if(lE(n))return dt(e,n);if(uE(n))return n.includes(e);if(rE(n))return sE(e,n);if(iE(n))return n.dayOfWeek.includes(e.getDay());if(nE(n)){var r=Zt(n.before,e),o=Zt(n.after,e),a=r>0,i=o<0,s=Yu(n.before,n.after);return s?i&&a:a||i}return oE(n)?Zt(e,n.after)>0:aE(n)?Zt(n.before,e)>0:typeof n=="function"?n(e):!1})}function ic(e,t,n){var r=Object.keys(t).reduce(function(a,i){var s=t[i];return cE(e,s)&&a.push(i),a},[]),o={};return r.forEach(function(a){return o[a]=!0}),n&&!Uu(e,n)&&(o.outside=!0),o}function dE(e,t){for(var n=ft(e[0]),r=Hu(e[e.length-1]),o,a,i=n;i<=r;){var s=ic(i,t),l=!s.disabled&&!s.hidden;if(!l){i=it(i,1);continue}if(s.selected)return i;s.today&&!a&&(a=i),o||(o=i),i=it(i,1)}return a||o}var fE=365;function Bh(e,t){var n=t.moveBy,r=t.direction,o=t.context,a=t.modifiers,i=t.retry,s=i===void 0?{count:0,lastFocused:e}:i,l=o.weekStartsOn,u=o.fromDate,c=o.toDate,d=o.locale,p={day:it,week:Ru,month:Ft,year:ew,startOfWeek:function(b){return o.ISOWeek?tr(b):Xt(b,{locale:d,weekStartsOn:l})},endOfWeek:function(b){return o.ISOWeek?gh(b):Xu(b,{locale:d,weekStartsOn:l})}},m=p[n](e,r==="after"?1:-1);r==="before"&&u?m=tw([u,m]):r==="after"&&c&&(m=nw([c,m]));var h=!0;if(a){var g=ic(m,a);h=!g.disabled&&!g.hidden}return h?m:s.count>fE?s.lastFocused:Bh(m,{moveBy:n,direction:r,context:o,modifiers:a,retry:me(me({},s),{count:s.count+1})})}var Wh=f.createContext(void 0);function pE(e){var t=zr(),n=jh(),r=f.useState(),o=r[0],a=r[1],i=f.useState(),s=i[0],l=i[1],u=dE(t.displayMonths,n),c=o??(s&&t.isDateDisplayed(s))?s:u,d=function(){l(o),a(void 0)},p=function(b){a(b)},m=Ve(),h=function(b,x){if(o){var y=Bh(o,{moveBy:b,direction:x,context:m,modifiers:n});dt(o,y)||(t.goToDate(y,o),p(y))}},g={focusedDay:o,focusTarget:c,blur:d,focus:p,focusDayAfter:function(){return h("day","after")},focusDayBefore:function(){return h("day","before")},focusWeekAfter:function(){return h("week","after")},focusWeekBefore:function(){return h("week","before")},focusMonthBefore:function(){return h("month","before")},focusMonthAfter:function(){return h("month","after")},focusYearBefore:function(){return h("year","before")},focusYearAfter:function(){return h("year","after")},focusStartOfWeek:function(){return h("startOfWeek","before")},focusEndOfWeek:function(){return h("endOfWeek","after")}};return z.jsx(Wh.Provider,{value:g,children:e.children})}function sc(){var e=f.useContext(Wh);if(!e)throw new Error("useFocusContext must be used within a FocusProvider");return e}function mE(e,t){var n=jh(),r=ic(e,n,t);return r}var lc=f.createContext(void 0);function hE(e){if(!Ri(e.initialProps)){var t={selected:void 0};return z.jsx(lc.Provider,{value:t,children:e.children})}return z.jsx(gE,{initialProps:e.initialProps,children:e.children})}function gE(e){var t=e.initialProps,n=e.children,r=function(a,i,s){var l,u,c;if((l=t.onDayClick)===null||l===void 0||l.call(t,a,i,s),i.selected&&!t.required){(u=t.onSelect)===null||u===void 0||u.call(t,void 0,a,i,s);return}(c=t.onSelect)===null||c===void 0||c.call(t,a,a,i,s)},o={selected:t.selected,onDayClick:r};return z.jsx(lc.Provider,{value:o,children:n})}function _h(){var e=f.useContext(lc);if(!e)throw new Error("useSelectSingle must be used within a SelectSingleProvider");return e}function bE(e,t){var n=Ve(),r=_h(),o=ec(),a=nc(),i=sc(),s=i.focusDayAfter,l=i.focusDayBefore,u=i.focusWeekAfter,c=i.focusWeekBefore,d=i.blur,p=i.focus,m=i.focusMonthBefore,h=i.focusMonthAfter,g=i.focusYearBefore,b=i.focusYearAfter,x=i.focusStartOfWeek,y=i.focusEndOfWeek,w=function(N){var W,K,H,X;Ri(n)?(W=r.onDayClick)===null||W===void 0||W.call(r,e,t,N):Zo(n)?(K=o.onDayClick)===null||K===void 0||K.call(o,e,t,N):Yo(n)?(H=a.onDayClick)===null||H===void 0||H.call(a,e,t,N):(X=n.onDayClick)===null||X===void 0||X.call(n,e,t,N)},S=function(N){var W;p(e),(W=n.onDayFocus)===null||W===void 0||W.call(n,e,t,N)},P=function(N){var W;d(),(W=n.onDayBlur)===null||W===void 0||W.call(n,e,t,N)},A=function(N){var W;(W=n.onDayMouseEnter)===null||W===void 0||W.call(n,e,t,N)},T=function(N){var W;(W=n.onDayMouseLeave)===null||W===void 0||W.call(n,e,t,N)},v=function(N){var W;(W=n.onDayPointerEnter)===null||W===void 0||W.call(n,e,t,N)},D=function(N){var W;(W=n.onDayPointerLeave)===null||W===void 0||W.call(n,e,t,N)},$=function(N){var W;(W=n.onDayTouchCancel)===null||W===void 0||W.call(n,e,t,N)},M=function(N){var W;(W=n.onDayTouchEnd)===null||W===void 0||W.call(n,e,t,N)},k=function(N){var W;(W=n.onDayTouchMove)===null||W===void 0||W.call(n,e,t,N)},I=function(N){var W;(W=n.onDayTouchStart)===null||W===void 0||W.call(n,e,t,N)},E=function(N){var W;(W=n.onDayKeyUp)===null||W===void 0||W.call(n,e,t,N)},O=function(N){var W;switch(N.key){case"ArrowLeft":N.preventDefault(),N.stopPropagation(),n.dir==="rtl"?s():l();break;case"ArrowRight":N.preventDefault(),N.stopPropagation(),n.dir==="rtl"?l():s();break;case"ArrowDown":N.preventDefault(),N.stopPropagation(),u();break;case"ArrowUp":N.preventDefault(),N.stopPropagation(),c();break;case"PageUp":N.preventDefault(),N.stopPropagation(),N.shiftKey?g():m();break;case"PageDown":N.preventDefault(),N.stopPropagation(),N.shiftKey?b():h();break;case"Home":N.preventDefault(),N.stopPropagation(),x();break;case"End":N.preventDefault(),N.stopPropagation(),y();break}(W=n.onDayKeyDown)===null||W===void 0||W.call(n,e,t,N)},j={onClick:w,onFocus:S,onBlur:P,onKeyDown:O,onKeyUp:E,onMouseEnter:A,onMouseLeave:T,onPointerEnter:v,onPointerLeave:D,onTouchCancel:$,onTouchEnd:M,onTouchMove:k,onTouchStart:I};return j}function vE(){var e=Ve(),t=_h(),n=ec(),r=nc(),o=Ri(e)?t.selected:Zo(e)?n.selected:Yo(e)?r.selected:void 0;return o}function yE(e){return Object.values(Lt).includes(e)}function xE(e,t){var n=[e.classNames.day];return Object.keys(t).forEach(function(r){var o=e.modifiersClassNames[r];if(o)n.push(o);else if(yE(r)){var a=e.classNames["day_".concat(r)];a&&n.push(a)}}),n}function CE(e,t){var n=me({},e.styles.day);return Object.keys(t).forEach(function(r){var o;n=me(me({},n),(o=e.modifiersStyles)===null||o===void 0?void 0:o[r])}),n}function wE(e,t,n){var r,o,a,i=Ve(),s=sc(),l=mE(e,t),u=bE(e,l),c=vE(),d=!!(i.onDayClick||i.mode!=="default");f.useEffect(function(){var A;l.outside||s.focusedDay&&d&&dt(s.focusedDay,e)&&((A=n.current)===null||A===void 0||A.focus())},[s.focusedDay,e,n,d,l.outside]);var p=xE(i,l).join(" "),m=CE(i,l),h=!!(l.outside&&!i.showOutsideDays||l.hidden),g=(a=(o=i.components)===null||o===void 0?void 0:o.DayContent)!==null&&a!==void 0?a:RI,b=z.jsx(g,{date:e,displayMonth:t,activeModifiers:l}),x={style:m,className:p,children:b,role:"gridcell"},y=s.focusTarget&&dt(s.focusTarget,e)&&!l.outside,w=s.focusedDay&&dt(s.focusedDay,e),S=me(me(me({},x),(r={disabled:l.disabled,role:"gridcell"},r["aria-selected"]=l.selected,r.tabIndex=w||y?0:-1,r)),u),P={isButton:d,isHidden:h,activeModifiers:l,selectedDays:c,buttonProps:S,divProps:x};return P}function IE(e){var t=f.useRef(null),n=wE(e.date,e.displayMonth,t);return n.isHidden?z.jsx("div",{role:"gridcell"}):n.isButton?z.jsx(zi,me({name:"day",ref:t},n.buttonProps)):z.jsx("div",me({},n.divProps))}function EE(e){var t=e.number,n=e.dates,r=Ve(),o=r.onWeekNumberClick,a=r.styles,i=r.classNames,s=r.locale,l=r.labels.labelWeekNumber,u=r.formatters.formatWeekNumber,c=u(Number(t),{locale:s});if(!o)return z.jsx("span",{className:i.weeknumber,style:a.weeknumber,children:c});var d=l(Number(t),{locale:s}),p=function(m){o(t,n,m)};return z.jsx(zi,{name:"week-number","aria-label":d,className:i.weeknumber,style:a.weeknumber,onClick:p,children:c})}function PE(e){var t,n,r=Ve(),o=r.styles,a=r.classNames,i=r.showWeekNumber,s=r.components,l=(t=s==null?void 0:s.Day)!==null&&t!==void 0?t:IE,u=(n=s==null?void 0:s.WeekNumber)!==null&&n!==void 0?n:EE,c;return i&&(c=z.jsx("td",{className:a.cell,style:o.cell,children:z.jsx(u,{number:e.weekNumber,dates:e.dates})})),z.jsxs("tr",{className:a.row,style:o.row,children:[c,e.dates.map(function(d){return z.jsx("td",{className:a.cell,style:o.cell,role:"presentation",children:z.jsx(l,{displayMonth:e.displayMonth,date:d})},qw(d))})]})}function Gh(e,t,n){for(var r=n!=null&&n.ISOWeek?gh(t):Xu(t,n),o=n!=null&&n.ISOWeek?tr(e):Xt(e,n),a=Zt(r,o),i=[],s=0;s<=a;s++)i.push(it(o,s));var l=i.reduce(function(u,c){var d=n!=null&&n.ISOWeek?vh(c):xh(c,n),p=u.find(function(m){return m.weekNumber===d});return p?(p.dates.push(c),u):(u.push({weekNumber:d,dates:[c]}),u)},[]);return l}function SE(e,t){var n=Gh(ft(e),Hu(e),t);if(t!=null&&t.useFixedWeeks){var r=tI(e,t);if(r<6){var o=n[n.length-1],a=o.dates[o.dates.length-1],i=Ru(a,6-r),s=Gh(Ru(a,1),i,t);n.push.apply(n,s)}}return n}function ME(e){var t,n,r,o=Ve(),a=o.locale,i=o.classNames,s=o.styles,l=o.hideHead,u=o.fixedWeeks,c=o.components,d=o.weekStartsOn,p=o.firstWeekContainsDate,m=o.ISOWeek,h=SE(e.displayMonth,{useFixedWeeks:!!u,ISOWeek:m,locale:a,weekStartsOn:d,firstWeekContainsDate:p}),g=(t=c==null?void 0:c.Head)!==null&&t!==void 0?t:GI,b=(n=c==null?void 0:c.Row)!==null&&n!==void 0?n:PE,x=(r=c==null?void 0:c.Footer)!==null&&r!==void 0?r:BI;return z.jsxs("table",{id:e.id,className:i.table,style:s.table,role:"grid","aria-labelledby":e["aria-labelledby"],children:[!l&&z.jsx(g,{}),z.jsx("tbody",{className:i.tbody,style:s.tbody,children:h.map(function(y){return z.jsx(b,{displayMonth:e.displayMonth,dates:y.dates,weekNumber:y.weekNumber},y.weekNumber)})}),z.jsx(x,{displayMonth:e.displayMonth})]})}function AE(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}var TE=AE()?f.useLayoutEffect:f.useEffect,uc=!1,DE=0;function Rh(){return"react-day-picker-".concat(++DE)}function NE(e){var t,n=e??(uc?Rh():null),r=f.useState(n),o=r[0],a=r[1];return TE(function(){o===null&&a(Rh())},[]),f.useEffect(function(){uc===!1&&(uc=!0)},[]),(t=e??o)!==null&&t!==void 0?t:void 0}function $E(e){var t,n,r=Ve(),o=r.dir,a=r.classNames,i=r.styles,s=r.components,l=zr().displayMonths,u=NE(r.id?"".concat(r.id,"-").concat(e.displayIndex):void 0),c=r.id?"".concat(r.id,"-grid-").concat(e.displayIndex):void 0,d=[a.month],p=i.month,m=e.displayIndex===0,h=e.displayIndex===l.length-1,g=!m&&!h;o==="rtl"&&(t=[m,h],h=t[0],m=t[1]),m&&(d.push(a.caption_start),p=me(me({},p),i.caption_start)),h&&(d.push(a.caption_end),p=me(me({},p),i.caption_end)),g&&(d.push(a.caption_between),p=me(me({},p),i.caption_between));var b=(n=s==null?void 0:s.Caption)!==null&&n!==void 0?n:jI;return z.jsxs("div",{className:d.join(" "),style:p,children:[z.jsx(b,{id:u,displayMonth:e.displayMonth,displayIndex:e.displayIndex}),z.jsx(ME,{id:c,"aria-labelledby":u,displayMonth:e.displayMonth})]},e.displayIndex)}function kE(e){var t=Ve(),n=t.classNames,r=t.styles;return z.jsx("div",{className:n.months,style:r.months,children:e.children})}function OE(e){var t,n,r=e.initialProps,o=Ve(),a=sc(),i=zr(),s=f.useState(!1),l=s[0],u=s[1];f.useEffect(function(){o.initialFocus&&a.focusTarget&&(l||(a.focus(a.focusTarget),u(!0)))},[o.initialFocus,l,a.focus,a.focusTarget,a]);var c=[o.classNames.root,o.className];o.numberOfMonths>1&&c.push(o.classNames.multiple_months),o.showWeekNumber&&c.push(o.classNames.with_weeknumber);var d=me(me({},o.styles.root),o.style),p=Object.keys(r).filter(function(h){return h.startsWith("data-")}).reduce(function(h,g){var b;return me(me({},h),(b={},b[g]=r[g],b))},{}),m=(n=(t=r.components)===null||t===void 0?void 0:t.Months)!==null&&n!==void 0?n:kE;return z.jsx("div",me({className:c.join(" "),style:d,dir:o.dir,id:o.id,nonce:r.nonce,title:r.title,lang:r.lang},p,{children:z.jsx(m,{children:i.displayMonths.map(function(h,g){return z.jsx($E,{displayIndex:g,displayMonth:h},g)})})}))}function FE(e){var t=e.children,n=rI(e,["children"]);return z.jsx(EI,{initialProps:n,children:z.jsx(OI,{children:z.jsx(hE,{initialProps:n,children:z.jsx(zI,{initialProps:n,children:z.jsx(ZI,{initialProps:n,children:z.jsx(tE,{children:z.jsx(pE,{children:t})})})})})})})}function LE(e){return z.jsx(FE,me({},e,{children:z.jsx(OE,{initialProps:e})}))}const OD="",FD="",VE=e=>{const{goToMonth:t,nextMonth:n,previousMonth:r}=zr();return F.jsxs("div",{className:"flex px-[10px] py-2",children:[F.jsx("button",{disabled:!r,onClick:()=>r&&t(r),children:F.jsx(rt,{name:"chevron-left",className:"text-xs text-primary-grey-800"})}),F.jsx(Nd,{className:"flex flex-1 justify-center font-satoshi text-2xl font-medium text-primary-black-500",children:fn(e.displayMonth,"MMM yyy")}),F.jsx("button",{disabled:!n,onClick:()=>n&&t(n),children:F.jsx(rt,{name:"chevron-right",className:"text-xs text-primary-grey-800"})})]})},zh=({...e})=>F.jsx(LE,{disabled:t=>t>new Date||t<new Date("1900-01-01"),components:{Caption:VE},showOutsideDays:!0,...e}),cc=({children:e,className:t,variant:n="light",color:r="red"})=>{const o=ye({base:"flex h-4 items-center justify-center gap-2.5 rounded bg-transparent p-0",variants:{variant:{light:"",dark:"",ghost:""},color:{red:"text-complementary-red-500",orange:"text-complementary-orange-500",lightGreen:"text-secondary-green-500",violet:"text-complementary-violet-500",blue:"text-complementary-blue-500",darkGreen:"text-primary-green-500",yellow:"text-complementary-yellow-500",gray:"text-primary-grey-800"}},compoundVariants:[{variant:"dark",color:"red",class:"bg-complementary-red-500 text-complementary-red-50"},{variant:"dark",color:"orange",class:"bg-complementary-orange-500 text-complementary-orange-50"},{variant:"dark",color:"lightGreen",class:"bg-secondary-green-500 text-white"},{variant:"dark",color:"violet",class:"bg-complementary-violet-500 text-complementary-violet-50"},{variant:"dark",color:"blue",class:"bg-complementary-blue-500 text-complementary-blue-50"},{variant:"dark",color:"darkGreen",class:"bg-primary-green-500 text-primary-green-50"},{variant:"dark",color:"yellow",class:"bg-complementary-yellow-500 text-complementary-yellow-50"},{variant:"light",color:"red",class:"bg-complementary-red-50 text-complementary-red-500"},{variant:"light",color:"orange",class:"bg-complementary-orange-50 text-complementary-orange-500"},{variant:"light",color:"lightGreen",class:"bg-secondary-green-50 text-secondary-green-500"},{variant:"light",color:"violet",class:"bg-complementary-violet-50 text-complementary-violet-500"},{variant:"light",color:"blue",class:"bg-complementary-blue-50 text-complementary-blue-500"},{variant:"light",color:"darkGreen",class:"bg-primary-green-50 text-primary-green-500"},{variant:"light",color:"yellow",class:"bg-complementary-yellow-50 text-complementary-yellow-500"},{variant:"light",color:"gray",class:"bg-primary-grey-500 text-primary-grey-800"}]}),a=ye({base:"p-1 font-satoshi text-[10px] font-bold"});return F.jsx(v1,{classNames:{base:o({className:t,variant:n,color:r}),content:a({})},children:e})},LD="",VD="",jE=()=>{const e=No({enter:"animate__animated animate__fadeInUp animate__faster",exit:"animate__animated animate__fadeOutDown animate__faster",collapse:!1});return F.jsx(Z7,{limit:1,closeOnClick:!0,draggable:!1,autoClose:5e3,closeButton:!1,hideProgressBar:!0,className:"!m-0 !w-full !max-w-[840px] !p-0",toastClassName:()=>"",bodyClassName:()=>"w-full [&>div]:w-full !p-0",transition:e,newestOnTop:!0,position:"bottom-center"})};var Hh=1,BE=.9,WE=.8,_E=.17,dc=.1,fc=.999,GE=.9999,RE=.99,zE=/[\\\/_+.#"@\[\(\{&]/,HE=/[\\\/_+.#"@\[\(\{&]/g,XE=/[\s-]/,Xh=/[\s-]/g;function pc(e,t,n,r,o,a,i){if(a===t.length)return o===e.length?Hh:RE;var s=`${o},${a}`;if(i[s]!==void 0)return i[s];for(var l=r.charAt(a),u=n.indexOf(l,o),c=0,d,p,m,h;u>=0;)d=pc(e,t,n,r,u+1,a+1,i),d>c&&(u===o?d*=Hh:zE.test(e.charAt(u-1))?(d*=WE,m=e.slice(o,u-1).match(HE),m&&o>0&&(d*=Math.pow(fc,m.length))):XE.test(e.charAt(u-1))?(d*=BE,h=e.slice(o,u-1).match(Xh),h&&o>0&&(d*=Math.pow(fc,h.length))):(d*=_E,o>0&&(d*=Math.pow(fc,u-o))),e.charAt(u)!==t.charAt(a)&&(d*=GE)),(d<dc&&n.charAt(u-1)===r.charAt(a+1)||r.charAt(a+1)===r.charAt(a)&&n.charAt(u-1)!==r.charAt(a))&&(p=pc(e,t,n,r,u+1,a+2,i),p*dc>d&&(d=p*dc)),d>c&&(c=d),u=n.indexOf(l,u+1);return i[s]=c,c}function Zh(e){return e.toLowerCase().replace(Xh," ")}function ZE(e,t,n){return e=n&&n.length>0?`${e+" "+n.join(" ")}`:e,pc(e,t,Zh(e),Zh(t),0,0,{})}const Yh="Dialog",[Uh,jD]=Jn(Yh),[YE,rr]=Uh(Yh),UE=e=>{const{__scopeDialog:t,children:n,open:r,defaultOpen:o,onOpenChange:a,modal:i=!0}=e,s=f.useRef(null),l=f.useRef(null),[u=!1,c]=Vo({prop:r,defaultProp:o,onChange:a});return f.createElement(YE,{scope:t,triggerRef:s,contentRef:l,contentId:Qn(),titleId:Qn(),descriptionId:Qn(),open:u,onOpenChange:c,onOpenToggle:f.useCallback(()=>c(d=>!d),[c]),modal:i},n)},Kh="DialogPortal",[KE,Jh]=Uh(Kh,{forceMount:void 0}),JE=e=>{const{__scopeDialog:t,forceMount:n,children:r,container:o}=e,a=rr(Kh,t);return f.createElement(KE,{scope:t,forceMount:n},f.Children.map(r,i=>f.createElement(dn,{present:n||a.open},f.createElement(Su,{asChild:!0,container:o},i))))},mc="DialogOverlay",QE=f.forwardRef((e,t)=>{const n=Jh(mc,e.__scopeDialog),{forceMount:r=n.forceMount,...o}=e,a=rr(mc,e.__scopeDialog);return a.modal?f.createElement(dn,{present:r||a.open},f.createElement(qE,ge({},o,{ref:t}))):null}),qE=f.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,o=rr(mc,n);return f.createElement(rh,{as:kr,allowPinchZoom:!0,shards:[o.contentRef]},f.createElement(We.div,ge({"data-state":qh(o.open)},r,{ref:t,style:{pointerEvents:"auto",...r.style}})))}),Uo="DialogContent",eP=f.forwardRef((e,t)=>{const n=Jh(Uo,e.__scopeDialog),{forceMount:r=n.forceMount,...o}=e,a=rr(Uo,e.__scopeDialog);return f.createElement(dn,{present:r||a.open},a.modal?f.createElement(tP,ge({},o,{ref:t})):f.createElement(nP,ge({},o,{ref:t})))}),tP=f.forwardRef((e,t)=>{const n=rr(Uo,e.__scopeDialog),r=f.useRef(null),o=ct(t,n.contentRef,r);return f.useEffect(()=>{const a=r.current;if(a)return Ym(a)},[]),f.createElement(Qh,ge({},e,{ref:o,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:Le(e.onCloseAutoFocus,a=>{var i;a.preventDefault(),(i=n.triggerRef.current)===null||i===void 0||i.focus()}),onPointerDownOutside:Le(e.onPointerDownOutside,a=>{const i=a.detail.originalEvent,s=i.button===0&&i.ctrlKey===!0;(i.button===2||s)&&a.preventDefault()}),onFocusOutside:Le(e.onFocusOutside,a=>a.preventDefault())}))}),nP=f.forwardRef((e,t)=>{const n=rr(Uo,e.__scopeDialog),r=f.useRef(!1),o=f.useRef(!1);return f.createElement(Qh,ge({},e,{ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:a=>{var i;if((i=e.onCloseAutoFocus)===null||i===void 0||i.call(e,a),!a.defaultPrevented){var s;r.current||(s=n.triggerRef.current)===null||s===void 0||s.focus(),a.preventDefault()}r.current=!1,o.current=!1},onInteractOutside:a=>{var i,s;(i=e.onInteractOutside)===null||i===void 0||i.call(e,a),a.defaultPrevented||(r.current=!0,a.detail.originalEvent.type==="pointerdown"&&(o.current=!0));const l=a.target;((s=n.triggerRef.current)===null||s===void 0?void 0:s.contains(l))&&a.preventDefault(),a.detail.originalEvent.type==="focusin"&&o.current&&a.preventDefault()}}))}),Qh=f.forwardRef((e,t)=>{const{__scopeDialog:n,trapFocus:r,onOpenAutoFocus:o,onCloseAutoFocus:a,...i}=e,s=rr(Uo,n),l=f.useRef(null),u=ct(t,l);return Bm(),f.createElement(f.Fragment,null,f.createElement(Gm,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:o,onUnmountAutoFocus:a},f.createElement(bu,ge({role:"dialog",id:s.contentId,"aria-describedby":s.descriptionId,"aria-labelledby":s.titleId,"data-state":qh(s.open)},i,{ref:u,onDismiss:()=>s.onOpenChange(!1)}))),!1)});function qh(e){return e?"open":"closed"}const rP=UE,oP=JE,aP=QE,iP=eP;var Ko='[cmdk-group=""]',hc='[cmdk-group-items=""]',sP='[cmdk-group-heading=""]',gc='[cmdk-item=""]',eg=`${gc}:not([aria-disabled="true"])`,bc="cmdk-item-select",or="data-value",lP=(e,t,n)=>ZE(e,t,n),tg=V.createContext(void 0),Jo=()=>V.useContext(tg),ng=V.createContext(void 0),vc=()=>V.useContext(ng),rg=V.createContext(void 0),og=V.forwardRef((e,t)=>{let n=Xr(()=>{var B,G;return{search:"",value:(G=(B=e.value)!=null?B:e.defaultValue)!=null?G:"",filtered:{count:0,items:new Map,groups:new Set}}}),r=Xr(()=>new Set),o=Xr(()=>new Map),a=Xr(()=>new Map),i=Xr(()=>new Set),s=ag(e),{label:l,children:u,value:c,onValueChange:d,filter:p,shouldFilter:m,loop:h,disablePointerSelection:g=!1,vimBindings:b=!0,...x}=e,y=V.useId(),w=V.useId(),S=V.useId(),P=V.useRef(null),A=yP();ar(()=>{if(c!==void 0){let B=c.trim();n.current.value=B,T.emit()}},[c]),ar(()=>{A(6,I)},[]);let T=V.useMemo(()=>({subscribe:B=>(i.current.add(B),()=>i.current.delete(B)),snapshot:()=>n.current,setState:(B,G,Y)=>{var R,Z,q;if(!Object.is(n.current[B],G)){if(n.current[B]=G,B==="search")k(),$(),A(1,M);else if(B==="value"&&(Y||A(5,I),((R=s.current)==null?void 0:R.value)!==void 0)){let ae=G??"";(q=(Z=s.current).onValueChange)==null||q.call(Z,ae);return}T.emit()}},emit:()=>{i.current.forEach(B=>B())}}),[]),v=V.useMemo(()=>({value:(B,G,Y)=>{var R;G!==((R=a.current.get(B))==null?void 0:R.value)&&(a.current.set(B,{value:G,keywords:Y}),n.current.filtered.items.set(B,D(G,Y)),A(2,()=>{$(),T.emit()}))},item:(B,G)=>(r.current.add(B),G&&(o.current.has(G)?o.current.get(G).add(B):o.current.set(G,new Set([B]))),A(3,()=>{k(),$(),n.current.value||M(),T.emit()}),()=>{a.current.delete(B),r.current.delete(B),n.current.filtered.items.delete(B);let Y=E();A(4,()=>{k(),(Y==null?void 0:Y.getAttribute("id"))===B&&M(),T.emit()})}),group:B=>(o.current.has(B)||o.current.set(B,new Set),()=>{a.current.delete(B),o.current.delete(B)}),filter:()=>s.current.shouldFilter,label:l||e["aria-label"],disablePointerSelection:g,listId:y,inputId:S,labelId:w,listInnerRef:P}),[]);function D(B,G){var Y,R;let Z=(R=(Y=s.current)==null?void 0:Y.filter)!=null?R:lP;return B?Z(B,n.current.search,G):0}function $(){if(!n.current.search||s.current.shouldFilter===!1)return;let B=n.current.filtered.items,G=[];n.current.filtered.groups.forEach(R=>{let Z=o.current.get(R),q=0;Z.forEach(ae=>{let le=B.get(ae);q=Math.max(le,q)}),G.push([R,q])});let Y=P.current;O().sort((R,Z)=>{var q,ae;let le=R.getAttribute("id"),pe=Z.getAttribute("id");return((q=B.get(pe))!=null?q:0)-((ae=B.get(le))!=null?ae:0)}).forEach(R=>{let Z=R.closest(hc);Z?Z.appendChild(R.parentElement===Z?R:R.closest(`${hc} > *`)):Y.appendChild(R.parentElement===Y?R:R.closest(`${hc} > *`))}),G.sort((R,Z)=>Z[1]-R[1]).forEach(R=>{let Z=P.current.querySelector(`${Ko}[${or}="${encodeURIComponent(R[0])}"]`);Z==null||Z.parentElement.appendChild(Z)})}function M(){let B=O().find(Y=>Y.getAttribute("aria-disabled")!=="true"),G=B==null?void 0:B.getAttribute(or);T.setState("value",G||void 0)}function k(){var B,G,Y,R;if(!n.current.search||s.current.shouldFilter===!1){n.current.filtered.count=r.current.size;return}n.current.filtered.groups=new Set;let Z=0;for(let q of r.current){let ae=(G=(B=a.current.get(q))==null?void 0:B.value)!=null?G:"",le=(R=(Y=a.current.get(q))==null?void 0:Y.keywords)!=null?R:[],pe=D(ae,le);n.current.filtered.items.set(q,pe),pe>0&&Z++}for(let[q,ae]of o.current)for(let le of ae)if(n.current.filtered.items.get(le)>0){n.current.filtered.groups.add(q);break}n.current.filtered.count=Z}function I(){var B,G,Y;let R=E();R&&(((B=R.parentElement)==null?void 0:B.firstChild)===R&&((Y=(G=R.closest(Ko))==null?void 0:G.querySelector(sP))==null||Y.scrollIntoView({block:"nearest"})),R.scrollIntoView({block:"nearest"}))}function E(){var B;return(B=P.current)==null?void 0:B.querySelector(`${gc}[aria-selected="true"]`)}function O(){var B;return Array.from((B=P.current)==null?void 0:B.querySelectorAll(eg))}function j(B){let G=O()[B];G&&T.setState("value",G.getAttribute(or))}function N(B){var G;let Y=E(),R=O(),Z=R.findIndex(ae=>ae===Y),q=R[Z+B];(G=s.current)!=null&&G.loop&&(q=Z+B<0?R[R.length-1]:Z+B===R.length?R[0]:R[Z+B]),q&&T.setState("value",q.getAttribute(or))}function W(B){let G=E(),Y=G==null?void 0:G.closest(Ko),R;for(;Y&&!R;)Y=B>0?bP(Y,Ko):vP(Y,Ko),R=Y==null?void 0:Y.querySelector(eg);R?T.setState("value",R.getAttribute(or)):N(B)}let K=()=>j(O().length-1),H=B=>{B.preventDefault(),B.metaKey?K():B.altKey?W(1):N(1)},X=B=>{B.preventDefault(),B.metaKey?j(0):B.altKey?W(-1):N(-1)};return V.createElement(We.div,{ref:t,tabIndex:-1,...x,"cmdk-root":"",onKeyDown:B=>{var G;if((G=x.onKeyDown)==null||G.call(x,B),!B.defaultPrevented)switch(B.key){case"n":case"j":{b&&B.ctrlKey&&H(B);break}case"ArrowDown":{H(B);break}case"p":case"k":{b&&B.ctrlKey&&X(B);break}case"ArrowUp":{X(B);break}case"Home":{B.preventDefault(),j(0);break}case"End":{B.preventDefault(),K();break}case"Enter":if(!B.nativeEvent.isComposing&&B.keyCode!==229){B.preventDefault();let Y=E();if(Y){let R=new Event(bc);Y.dispatchEvent(R)}}}}},V.createElement("label",{"cmdk-label":"",htmlFor:v.inputId,id:v.labelId,style:CP},l),Xi(e,B=>V.createElement(ng.Provider,{value:T},V.createElement(tg.Provider,{value:v},B))))}),uP=V.forwardRef((e,t)=>{var n,r;let o=V.useId(),a=V.useRef(null),i=V.useContext(rg),s=Jo(),l=ag(e),u=(r=(n=l.current)==null?void 0:n.forceMount)!=null?r:i==null?void 0:i.forceMount;ar(()=>{if(!u)return s.item(o,i==null?void 0:i.id)},[u]);let c=ig(o,a,[e.value,e.children,a],e.keywords),d=vc(),p=ir(A=>A.value&&A.value===c.current),m=ir(A=>u||s.filter()===!1?!0:A.search?A.filtered.items.get(o)>0:!0);V.useEffect(()=>{let A=a.current;if(!(!A||e.disabled))return A.addEventListener(bc,h),()=>A.removeEventListener(bc,h)},[m,e.onSelect,e.disabled]);function h(){var A,T;g(),(T=(A=l.current).onSelect)==null||T.call(A,c.current)}function g(){d.setState("value",c.current,!0)}if(!m)return null;let{disabled:b,value:x,onSelect:y,forceMount:w,keywords:S,...P}=e;return V.createElement(We.div,{ref:Qo([a,t]),...P,id:o,"cmdk-item":"",role:"option","aria-disabled":!!b,"aria-selected":!!p,"data-disabled":!!b,"data-selected":!!p,onPointerMove:b||s.disablePointerSelection?void 0:g,onClick:b?void 0:h},e.children)}),cP=V.forwardRef((e,t)=>{let{heading:n,children:r,forceMount:o,...a}=e,i=V.useId(),s=V.useRef(null),l=V.useRef(null),u=V.useId(),c=Jo(),d=ir(m=>o||c.filter()===!1?!0:m.search?m.filtered.groups.has(i):!0);ar(()=>c.group(i),[]),ig(i,s,[e.value,e.heading,l]);let p=V.useMemo(()=>({id:i,forceMount:o}),[o]);return V.createElement(We.div,{ref:Qo([s,t]),...a,"cmdk-group":"",role:"presentation",hidden:d?void 0:!0},n&&V.createElement("div",{ref:l,"cmdk-group-heading":"","aria-hidden":!0,id:u},n),Xi(e,m=>V.createElement("div",{"cmdk-group-items":"",role:"group","aria-labelledby":n?u:void 0},V.createElement(rg.Provider,{value:p},m))))}),dP=V.forwardRef((e,t)=>{let{alwaysRender:n,...r}=e,o=V.useRef(null),a=ir(i=>!i.search);return!n&&!a?null:V.createElement(We.div,{ref:Qo([o,t]),...r,"cmdk-separator":"",role:"separator"})}),fP=V.forwardRef((e,t)=>{let{onValueChange:n,...r}=e,o=e.value!=null,a=vc(),i=ir(c=>c.search),s=ir(c=>c.value),l=Jo(),u=V.useMemo(()=>{var c;let d=(c=l.listInnerRef.current)==null?void 0:c.querySelector(`${gc}[${or}="${encodeURIComponent(s)}"]`);return d==null?void 0:d.getAttribute("id")},[]);return V.useEffect(()=>{e.value!=null&&a.setState("search",e.value)},[e.value]),V.createElement(We.input,{ref:t,...r,"cmdk-input":"",autoComplete:"off",autoCorrect:"off",spellCheck:!1,"aria-autocomplete":"list",role:"combobox","aria-expanded":!0,"aria-controls":l.listId,"aria-labelledby":l.labelId,"aria-activedescendant":u,id:l.inputId,type:"text",value:o?e.value:i,onChange:c=>{o||a.setState("search",c.target.value),n==null||n(c.target.value)}})}),pP=V.forwardRef((e,t)=>{let{children:n,label:r="Suggestions",...o}=e,a=V.useRef(null),i=V.useRef(null),s=Jo();return V.useEffect(()=>{if(i.current&&a.current){let l=i.current,u=a.current,c,d=new ResizeObserver(()=>{c=requestAnimationFrame(()=>{let p=l.offsetHeight;u.style.setProperty("--cmdk-list-height",p.toFixed(1)+"px")})});return d.observe(l),()=>{cancelAnimationFrame(c),d.unobserve(l)}}},[]),V.createElement(We.div,{ref:Qo([a,t]),...o,"cmdk-list":"",role:"listbox","aria-label":r,id:s.listId},Xi(e,l=>V.createElement("div",{ref:Qo([i,s.listInnerRef]),"cmdk-list-sizer":""},l)))}),mP=V.forwardRef((e,t)=>{let{open:n,onOpenChange:r,overlayClassName:o,contentClassName:a,container:i,...s}=e;return V.createElement(rP,{open:n,onOpenChange:r},V.createElement(oP,{container:i},V.createElement(aP,{"cmdk-overlay":"",className:o}),V.createElement(iP,{"aria-label":e.label,"cmdk-dialog":"",className:a},V.createElement(og,{ref:t,...s}))))}),hP=V.forwardRef((e,t)=>ir(n=>n.filtered.count===0)?V.createElement(We.div,{ref:t,...e,"cmdk-empty":"",role:"presentation"}):null),gP=V.forwardRef((e,t)=>{let{progress:n,children:r,label:o="Loading...",...a}=e;return V.createElement(We.div,{ref:t,...a,"cmdk-loading":"",role:"progressbar","aria-valuenow":n,"aria-valuemin":0,"aria-valuemax":100,"aria-label":o},Xi(e,i=>V.createElement("div",{"aria-hidden":!0},i)))}),Hr=Object.assign(og,{List:pP,Item:uP,Input:fP,Group:cP,Separator:dP,Dialog:mP,Empty:hP,Loading:gP});function bP(e,t){let n=e.nextElementSibling;for(;n;){if(n.matches(t))return n;n=n.nextElementSibling}}function vP(e,t){let n=e.previousElementSibling;for(;n;){if(n.matches(t))return n;n=n.previousElementSibling}}function ag(e){let t=V.useRef(e);return ar(()=>{t.current=e}),t}var ar=typeof window>"u"?V.useEffect:V.useLayoutEffect;function Xr(e){let t=V.useRef();return t.current===void 0&&(t.current=e()),t}function Qo(e){return t=>{e.forEach(n=>{typeof n=="function"?n(t):n!=null&&(n.current=t)})}}function ir(e){let t=vc(),n=()=>e(t.snapshot());return V.useSyncExternalStore(t.subscribe,n,n)}function ig(e,t,n,r=[]){let o=V.useRef(),a=Jo();return ar(()=>{var i;let s=(()=>{var u;for(let c of n){if(typeof c=="string")return c.trim();if(typeof c=="object"&&"current"in c)return c.current?(u=c.current.textContent)==null?void 0:u.trim():o.current}})(),l=r.map(u=>u.trim());a.value(e,s,l),(i=t.current)==null||i.setAttribute(or,s),o.current=s}),o}var yP=()=>{let[e,t]=V.useState(),n=Xr(()=>new Map);return ar(()=>{n.current.forEach(r=>r()),n.current=new Map},[e]),(r,o)=>{n.current.set(r,o),t({})}};function xP(e){let t=e.type;return typeof t=="function"?t(e.props):"render"in t?t.render(e.props):e}function Xi({asChild:e,children:t},n){return e&&V.isValidElement(t)?V.cloneElement(xP(t),{ref:t.ref},n(t.props.children)):n(t)}var CP={position:"absolute",width:"1px",height:"1px",padding:"0",margin:"-1px",overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0"},wP={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};const IP=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),yc=(e,t)=>{const n=f.forwardRef(({color:r="currentColor",size:o=24,strokeWidth:a=2,absoluteStrokeWidth:i,children:s,...l},u)=>f.createElement("svg",{ref:u,...wP,width:o,height:o,stroke:r,strokeWidth:i?Number(a)*24/Number(o):a,className:`lucide lucide-${IP(e)}`,...l},[...t.map(([c,d])=>f.createElement(c,d)),...(Array.isArray(s)?s:[s])||[]]));return n.displayName=`${e}`,n},sg=yc("ChevronDown",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]),EP=yc("ChevronUp",[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]]),PP=yc("Search",[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["path",{d:"m21 21-4.3-4.3",key:"1qie3q"}]]);var kn=[["Afghanistan","af","93"],["Albania","al","355"],["Algeria","dz","213"],["Andorra","ad","376"],["Angola","ao","244"],["Antigua and Barbuda","ag","1268"],["Argentina","ar","54","(..) ........",0],["Armenia","am","374",".. ......"],["Aruba","aw","297"],["Australia","au","61",{default:". .... ....","/^4/":"... ... ...","/^5(?!50)/":"... ... ...","/^1(3|8)00/":".... ... ...","/^13/":".. .. ..","/^180/":"... ...."},0,[]],["Austria","at","43"],["Azerbaijan","az","994","(..) ... .. .."],["Bahamas","bs","1242"],["Bahrain","bh","973"],["Bangladesh","bd","880"],["Barbados","bb","1246"],["Belarus","by","375","(..) ... .. .."],["Belgium","be","32","... .. .. .."],["Belize","bz","501"],["Benin","bj","229"],["Bhutan","bt","975"],["Bolivia","bo","591"],["Bosnia and Herzegovina","ba","387"],["Botswana","bw","267"],["Brazil","br","55","(..) ........."],["British Indian Ocean Territory","io","246"],["Brunei","bn","673"],["Bulgaria","bg","359"],["Burkina Faso","bf","226"],["Burundi","bi","257"],["Cambodia","kh","855"],["Cameroon","cm","237"],["Canada","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","cv","238"],["Caribbean Netherlands","bq","599","",1],["Central African Republic","cf","236"],["Chad","td","235"],["Chile","cl","56"],["China","cn","86","... .... ...."],["Colombia","co","57","... ... ...."],["Comoros","km","269"],["Congo","cd","243"],["Congo","cg","242"],["Costa Rica","cr","506","....-...."],["Côte d'Ivoire","ci","225",".. .. .. .. .."],["Croatia","hr","385"],["Cuba","cu","53"],["Curaçao","cw","599","",0],["Cyprus","cy","357",".. ......"],["Czech Republic","cz","420","... ... ..."],["Denmark","dk","45",".. .. .. .."],["Djibouti","dj","253"],["Dominica","dm","1767"],["Dominican Republic","do","1","",2],["Ecuador","ec","593"],["Egypt","eg","20"],["El Salvador","sv","503","....-...."],["Equatorial Guinea","gq","240"],["Eritrea","er","291"],["Estonia","ee","372",".... ......"],["Ethiopia","et","251"],["Fiji","fj","679"],["Finland","fi","358",".. ... .. .."],["France","fr","33",". .. .. .. .."],["French Guiana","gf","594"],["French Polynesia","pf","689"],["Gabon","ga","241"],["Gambia","gm","220"],["Georgia","ge","995"],["Germany","de","49",".... ........"],["Ghana","gh","233"],["Greece","gr","30"],["Grenada","gd","1473"],["Guadeloupe","gp","590","",0],["Guam","gu","1671"],["Guatemala","gt","502","....-...."],["Guinea","gn","224"],["Guinea-Bissau","gw","245"],["Guyana","gy","592"],["Haiti","ht","509","....-...."],["Honduras","hn","504"],["Hong Kong","hk","852",".... ...."],["Hungary","hu","36"],["Iceland","is","354","... ...."],["India","in","91",".....-....."],["Indonesia","id","62"],["Iran","ir","98","... ... ...."],["Iraq","iq","964"],["Ireland","ie","353",".. ......."],["Israel","il","972","... ... ...."],["Italy","it","39","... .......",0],["Jamaica","jm","1876"],["Japan","jp","81",".. .... ...."],["Jordan","jo","962"],["Kazakhstan","kz","7","... ...-..-..",0],["Kenya","ke","254"],["Kiribati","ki","686"],["Kosovo","xk","383"],["Kuwait","kw","965"],["Kyrgyzstan","kg","996","... ... ..."],["Laos","la","856"],["Latvia","lv","371",".. ... ..."],["Lebanon","lb","961"],["Lesotho","ls","266"],["Liberia","lr","231"],["Libya","ly","218"],["Liechtenstein","li","423"],["Lithuania","lt","370"],["Luxembourg","lu","352"],["Macau","mo","853"],["Macedonia","mk","389"],["Madagascar","mg","261"],["Malawi","mw","265"],["Malaysia","my","60","..-....-...."],["Maldives","mv","960"],["Mali","ml","223"],["Malta","mt","356"],["Marshall Islands","mh","692"],["Martinique","mq","596"],["Mauritania","mr","222"],["Mauritius","mu","230"],["Mexico","mx","52","... ... ....",0],["Micronesia","fm","691"],["Moldova","md","373","(..) ..-..-.."],["Monaco","mc","377"],["Mongolia","mn","976"],["Montenegro","me","382"],["Morocco","ma","212"],["Mozambique","mz","258"],["Myanmar","mm","95"],["Namibia","na","264"],["Nauru","nr","674"],["Nepal","np","977"],["Netherlands","nl","31",".. ........"],["New Caledonia","nc","687"],["New Zealand","nz","64","...-...-...."],["Nicaragua","ni","505"],["Niger","ne","227"],["Nigeria","ng","234"],["North Korea","kp","850"],["Norway","no","47","... .. ..."],["Oman","om","968"],["Pakistan","pk","92","...-......."],["Palau","pw","680"],["Palestine","ps","970"],["Panama","pa","507"],["Papua New Guinea","pg","675"],["Paraguay","py","595"],["Peru","pe","51"],["Philippines","ph","63",".... ......."],["Poland","pl","48","...-...-..."],["Portugal","pt","351"],["Puerto Rico","pr","1","",3,["787","939"]],["Qatar","qa","974"],["Réunion","re","262"],["Romania","ro","40"],["Russia","ru","7","(...) ...-..-..",1],["Rwanda","rw","250"],["Saint Kitts and Nevis","kn","1869"],["Saint Lucia","lc","1758"],["Saint Vincent and the Grenadines","vc","1784"],["Samoa","ws","685"],["San Marino","sm","378"],["São Tomé and Príncipe","st","239"],["Saudi Arabia","sa","966"],["Senegal","sn","221"],["Serbia","rs","381"],["Seychelles","sc","248"],["Sierra Leone","sl","232"],["Singapore","sg","65","....-...."],["Slovakia","sk","421"],["Slovenia","si","386"],["Solomon Islands","sb","677"],["Somalia","so","252"],["South Africa","za","27"],["South Korea","kr","82","... .... ...."],["South Sudan","ss","211"],["Spain","es","34","... ... ..."],["Sri Lanka","lk","94"],["Sudan","sd","249"],["Suriname","sr","597"],["Swaziland","sz","268"],["Sweden","se","46","... ... ..."],["Switzerland","ch","41",".. ... .. .."],["Syria","sy","963"],["Taiwan","tw","886"],["Tajikistan","tj","992"],["Tanzania","tz","255"],["Thailand","th","66"],["Timor-Leste","tl","670"],["Togo","tg","228"],["Tonga","to","676"],["Trinidad and Tobago","tt","1868"],["Tunisia","tn","216"],["Turkey","tr","90","... ... .. .."],["Turkmenistan","tm","993"],["Tuvalu","tv","688"],["Uganda","ug","256"],["Ukraine","ua","380","(..) ... .. .."],["United Arab Emirates","ae","971"],["United Kingdom","gb","44",".... ......"],["United States","us","1","(...) ...-....",0],["Uruguay","uy","598"],["Uzbekistan","uz","998",".. ... .. .."],["Vanuatu","vu","678"],["Vatican City","va","39",".. .... ....",1],["Venezuela","ve","58"],["Vietnam","vn","84"],["Yemen","ye","967"],["Zambia","zm","260"],["Zimbabwe","zw","263"]],SP="react-international-phone-",lg=(...e)=>e.filter(t=>!!t).join(" ").trim(),MP=(...e)=>lg(...e).split(" ").map(t=>`${SP}${t}`).join(" "),et=({addPrefix:e,rawClassNames:t})=>lg(MP(...e),...t),AP=({value:e,mask:t,maskSymbol:n,offset:r=0,trimNonMaskCharsLeftover:o=!1})=>{if(e.length<r)return e;let a=e.slice(0,r),i=e.slice(r),s=a,l=0;for(let u of t.split("")){if(l>=i.length){if(!o&&u!==n){s+=u;continue}break}u===n?(s+=i[l],l+=1):s+=u}return s},Zr=e=>e?/^\d+$/.test(e):!1,Zi=e=>e.replace(/\D/g,""),TP=(e,t)=>{let n=e.style.display;n!=="block"&&(e.style.display="block");let r=e.getBoundingClientRect(),o=t.getBoundingClientRect(),a=o.top-r.top,i=r.bottom-o.bottom;a>=0&&i>=0||(Math.abs(a)<Math.abs(i)?e.scrollTop+=a:e.scrollTop-=i),e.style.display=n},DP=(e,t)=>{let n=t.disableDialCodeAndPrefix?!1:t.forceDialCode,r=t.disableDialCodeAndPrefix?!1:t.insertDialCodeOnEmpty,o=e,a=u=>t.trimNonDigitsEnd?u.trim():u;if(!o)return r&&!o.length||n?a(`${t.prefix}${t.dialCode}${t.charAfterDialCode}`):a(o);if(o=Zi(o),o===t.dialCode&&!t.disableDialCodeAndPrefix)return a(`${t.prefix}${t.dialCode}${t.charAfterDialCode}`);if(t.dialCode.startsWith(o)&&!t.disableDialCodeAndPrefix)return a(n?`${t.prefix}${t.dialCode}${t.charAfterDialCode}`:`${t.prefix}${o}`);if(!o.startsWith(t.dialCode)&&!t.disableDialCodeAndPrefix){if(n)return a(`${t.prefix}${t.dialCode}${t.charAfterDialCode}`);if(o.length<t.dialCode.length)return a(`${t.prefix}${o}`)}let i=()=>{let u=t.dialCode.length,c=o.slice(0,u),d=o.slice(u);return{phoneLeftSide:c,phoneRightSide:d}},{phoneLeftSide:s,phoneRightSide:l}=i();return s=`${t.prefix}${s}${t.charAfterDialCode}`,l=AP({value:l,mask:t.mask,maskSymbol:t.maskChar,trimNonMaskCharsLeftover:t.trimNonDigitsEnd||t.disableDialCodeAndPrefix&&l.length===0}),t.disableDialCodeAndPrefix&&(s=""),a(`${s}${l}`)},NP=({phoneBeforeInput:e,phoneAfterInput:t,phoneAfterFormatted:n,cursorPositionAfterInput:r,leftOffset:o=0,deletion:a})=>{if(r<o)return o;if(!e)return n.length;let i=null;for(let c=r-1;c>=0;c-=1)if(Zr(t[c])){i=c;break}if(i===null){for(let c=0;c<t.length;c+=1)if(Zr(n[c]))return c;return t.length}let s=0;for(let c=0;c<i;c+=1)Zr(t[c])&&(s+=1);let l=0,u=0;for(let c=0;c<n.length&&(l+=1,Zr(n[c])&&(u+=1),!(u>=s+1));c+=1);if(a!=="backward")for(;!Zr(n[l])&&l<n.length;)l+=1;return l},Yi=({phone:e,prefix:t})=>e?`${t}${Zi(e)}`:"";function xc({value:e,country:t,insertDialCodeOnEmpty:n,trimNonDigitsEnd:r,countries:o,prefix:a,charAfterDialCode:i,forceDialCode:s,disableDialCodeAndPrefix:l,defaultMask:u,countryGuessingEnabled:c,disableFormatting:d}){let p=e;l&&(p=p.startsWith(`${a}`)?p:`${a}${t.dialCode}${p}`);let m=c?WP({phone:p,countries:o,currentCountryIso2:t==null?void 0:t.iso2}):void 0,h=(m==null?void 0:m.country)??t,g=DP(p,{prefix:a,mask:jP({phone:p,country:h,defaultMask:u,disableFormatting:d}),maskChar:ug,dialCode:h.dialCode,trimNonDigitsEnd:r,charAfterDialCode:i,forceDialCode:s,insertDialCodeOnEmpty:n,disableDialCodeAndPrefix:l}),b=c&&!(m!=null&&m.fullDialCodeMatch)?t:h;return{phone:Yi({phone:l?`${b.dialCode}${g}`:g,prefix:a}),inputValue:g,country:b}}var $P=e=>{if((e==null?void 0:e.toLocaleLowerCase().includes("delete"))??!1)return e!=null&&e.toLocaleLowerCase().includes("forward")?"forward":"backward"},kP=(e,{country:t,insertDialCodeOnEmpty:n,phoneBeforeInput:r,prefix:o,charAfterDialCode:a,forceDialCode:i,disableDialCodeAndPrefix:s,countryGuessingEnabled:l,defaultMask:u,disableFormatting:c,countries:d})=>{let p=e.nativeEvent,m=p.inputType,h=$P(m),g=!!(m!=null&&m.startsWith("insertFrom")),b=m==="insertText",x=(p==null?void 0:p.data)||void 0,y=e.target.value,w=e.target.selectionStart??0;if(m!=null&&m.includes("history"))return{inputValue:r,phone:Yi({phone:r,prefix:o}),cursorPosition:r.length,country:t};if(b&&!Zr(x)&&y!==o)return{inputValue:r,phone:Yi({phone:s?`${t.dialCode}${r}`:r,prefix:o}),cursorPosition:w-((x==null?void 0:x.length)??0),country:t};if(i&&!y.startsWith(`${o}${t.dialCode}`)&&!g){let v=y?r:`${o}${t.dialCode}${a}`;return{inputValue:v,phone:Yi({phone:v,prefix:o}),cursorPosition:o.length+t.dialCode.length+a.length,country:t}}let{phone:S,inputValue:P,country:A}=xc({value:y,country:t,trimNonDigitsEnd:h==="backward",insertDialCodeOnEmpty:n,countryGuessingEnabled:l,countries:d,prefix:o,charAfterDialCode:a,forceDialCode:i,disableDialCodeAndPrefix:s,disableFormatting:c,defaultMask:u}),T=NP({cursorPositionAfterInput:w,phoneBeforeInput:r,phoneAfterInput:y,phoneAfterFormatted:P,leftOffset:i?o.length+t.dialCode.length+a.length:0,deletion:h});return{phone:S,inputValue:P,cursorPosition:T,country:A}},OP=(e,t)=>{let n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(let o of n)if(e[o]!==t[o])return!1;return!0},FP=()=>{let e=f.useRef(),t=f.useRef(Date.now());return{check:()=>{let n=Date.now(),r=e.current?n-t.current:void 0;return e.current=t.current,t.current=n,r}}},LP={size:20,overrideLastItemDebounceMS:-1};function VP(e,t){let{size:n,overrideLastItemDebounceMS:r,onChange:o}={...LP,...t},[a,i]=f.useState(e),[s,l]=f.useState([a]),[u,c]=f.useState(0),d=FP();return[a,(p,m)=>{if(typeof p=="object"&&typeof a=="object"&&OP(p,a)||p===a)return;let h=r>0,g=d.check(),b=h&&g!==void 0?g>r:!0;if((m==null?void 0:m.overrideLastItem)!==void 0?m.overrideLastItem:!b)l(x=>[...x.slice(0,u),p]);else{let x=s.length>=n;l(y=>[...y.slice(x?1:0,u+1),p]),x||c(y=>y+1)}i(p),o==null||o(p)},()=>{if(u<=0)return{success:!1};let p=s[u-1];return i(p),c(m=>m-1),o==null||o(p),{success:!0,value:p}},()=>{if(u+1>=s.length)return{success:!1};let p=s[u+1];return i(p),c(m=>m+1),o==null||o(p),{success:!0,value:p}}]}var ug=".",Tt={defaultCountry:"us",value:"",prefix:"+",defaultMask:"............",charAfterDialCode:" ",historySaveDebounceMS:200,disableCountryGuess:!1,disableDialCodePrefill:!1,forceDialCode:!1,disableDialCodeAndPrefix:!1,disableFormatting:!1,countries:kn,preferredCountries:[]},cg=({defaultCountry:e=Tt.defaultCountry,value:t=Tt.value,countries:n=Tt.countries,prefix:r=Tt.prefix,defaultMask:o=Tt.defaultMask,charAfterDialCode:a=Tt.charAfterDialCode,historySaveDebounceMS:i=Tt.historySaveDebounceMS,disableCountryGuess:s=Tt.disableCountryGuess,disableDialCodePrefill:l=Tt.disableDialCodePrefill,forceDialCode:u=Tt.forceDialCode,disableDialCodeAndPrefix:c=Tt.disableDialCodeAndPrefix,disableFormatting:d=Tt.disableFormatting,onChange:p,inputRef:m})=>{let h={countries:n,prefix:r,charAfterDialCode:a,forceDialCode:c?!1:u,disableDialCodeAndPrefix:c,defaultMask:o,countryGuessingEnabled:!s,disableFormatting:d},g=f.useRef(null),b=m||g,x=E=>{Promise.resolve().then(()=>{var O;typeof window>"u"||b.current!==(document==null?void 0:document.activeElement)||((O=b.current)==null||O.setSelectionRange(E,E))})},[{phone:y,inputValue:w,country:S},P,A,T]=VP(()=>{let E=Yr({value:e,field:"iso2",countries:n});E||console.error(`[react-international-phone]: can not find a country with "${e}" iso2 code`);let O=E||Yr({value:"us",field:"iso2",countries:n}),{phone:j,inputValue:N,country:W}=xc({value:t,country:O,insertDialCodeOnEmpty:!l,...h});return x(N.length),{phone:j,inputValue:N,country:W.iso2}},{overrideLastItemDebounceMS:i,onChange:({inputValue:E,phone:O,country:j})=>{if(!p)return;let N=v(j);p({phone:O,inputValue:E,country:N})}}),v=f.useCallback(E=>Yr({value:E,field:"iso2",countries:n}),[n]),D=f.useMemo(()=>v(S),[S,v]);f.useEffect(()=>{let E=b.current;if(!E)return;let O=j=>{if(!j.key)return;let N=j.ctrlKey,W=j.shiftKey,K=j.key.toLowerCase()==="z";!N||!K||(W?T():A())};return E.addEventListener("keydown",O),()=>{E.removeEventListener("keydown",O)}},[b,A,T]);let $=E=>{E.preventDefault();let{phone:O,inputValue:j,country:N,cursorPosition:W}=kP(E,{country:D,phoneBeforeInput:w,insertDialCodeOnEmpty:!1,...h});return P({inputValue:j,phone:O,country:N.iso2}),x(W),t},M=(E,O={focusOnInput:!1})=>{let j=Yr({value:E,field:"iso2",countries:n});if(!j){console.error(`[react-international-phone]: can not find a country with "${E}" iso2 code`);return}let N=c?"":`${r}${j.dialCode}${a}`;P({inputValue:N,phone:`${r}${j.dialCode}`,country:j.iso2}),O.focusOnInput&&Promise.resolve().then(()=>{var W;(W=b.current)==null||W.focus()})},[k,I]=f.useState(!1);return f.useEffect(()=>{if(!k){I(!0),t!==y&&(p==null||p({inputValue:w,phone:y,country:D}));return}if(t===y)return;let{phone:E,inputValue:O,country:j}=xc({value:t,country:D,insertDialCodeOnEmpty:!l,...h});P({phone:E,inputValue:O,country:j.iso2})},[t]),{phone:y,inputValue:w,country:D,setCountry:M,handlePhoneValueChange:$,inputRef:b}},jP=({phone:e,country:t,defaultMask:n="............",disableFormatting:r=!1})=>{let o=t.format,a=s=>r?s.replace(new RegExp(`[^${ug}]`,"g"),""):s;if(!o)return a(n);if(typeof o=="string")return a(o);if(!o.default)return console.error(`[react-international-phone]: default mask for ${t.iso2} is not provided`),a(n);let i=Object.keys(o).find(s=>{if(s==="default")return!1;if(!(s.charAt(0)==="/"&&s.charAt(s.length-1)==="/"))return console.error(`[react-international-phone]: format regex "${s}" for ${t.iso2} is not valid`),!1;let l=new RegExp(s.substring(1,s.length-1)),u=e.replace(t.dialCode,"");return l.test(Zi(u))});return a(i?o[i]:o.default)},Vt=e=>{let[t,n,r,o,a,i]=e;return{name:t,iso2:n,dialCode:r,format:o,priority:a,areaCodes:i}},BP=e=>`Field "${e}" is not supported`,Yr=({field:e,value:t,countries:n=kn})=>{if(["priority"].includes(e))throw new Error(BP(e));let r=n.find(o=>{let a=Vt(o);return t===a[e]});if(r)return Vt(r)},WP=({phone:e,countries:t=kn,currentCountryIso2:n})=>{var s;let r={country:void 0,fullDialCodeMatch:!1};if(!e)return r;let o=Zi(e);if(!o)return r;let a=r,i=({country:l,fullDialCodeMatch:u})=>{var p,m;let c=l.dialCode===((p=a.country)==null?void 0:p.dialCode),d=(l.priority??0)<(((m=a.country)==null?void 0:m.priority)??0);(!c||d)&&(a={country:l,fullDialCodeMatch:u})};for(let l of t){let u=Vt(l),{dialCode:c,areaCodes:d}=u;if(o.startsWith(c)){let p=a.country?Number(c)>=Number(a.country.dialCode):!0;if(d){let m=o.substring(c.length);for(let h of d)if(m.startsWith(h))return{country:u,fullDialCodeMatch:!0}}(p||c===o||!a.fullDialCodeMatch)&&i({country:u,fullDialCodeMatch:!0})}a.fullDialCodeMatch||o.length<c.length&&c.startsWith(o)&&(!a.country||Number(c)<=Number(a.country.dialCode))&&i({country:u,fullDialCodeMatch:!1})}if(n){let l=Yr({value:n,field:"iso2",countries:t});if(!l)return a;let u=l?(c=>{if(!(c!=null&&c.areaCodes))return!1;let d=o.substring(c.dialCode.length);return c.areaCodes.some(p=>p.startsWith(d))})(l):!1;a&&((s=a.country)==null?void 0:s.dialCode)===l.dialCode&&a.country!==l&&a.fullDialCodeMatch&&(!l.areaCodes||u)&&(a={country:l,fullDialCodeMatch:!0})}return a},_P=(e,t)=>{let n=parseInt(e,16);return Number(n+t).toString(16)},GP="abcdefghijklmnopqrstuvwxyz",RP="1f1e6",dg=GP.split("").reduce((e,t,n)=>({...e,[t]:_P(RP,n)}),{}),zP=e=>[dg[e[0]],dg[e[1]]].join("-"),Ui=({iso2:e,size:t,src:n,protocol:r="https",disableLazyLoading:o,className:a,style:i,...s})=>{if(!e)return f.createElement("img",{className:et({addPrefix:["flag-emoji"],rawClassNames:[a]}),width:t,height:t,...s});let l=()=>{if(n)return n;let u=zP(e);return`${r}://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/svg/${u}.svg`};return f.createElement("img",{className:et({addPrefix:["flag-emoji"],rawClassNames:[a]}),src:l(),width:t,height:t,draggable:!1,"data-country":e,loading:o?void 0:"lazy",style:{width:t,height:t,...i},alt:"",...s})},HP=1e3,XP=({show:e,dialCodePrefix:t="+",selectedCountry:n,countries:r=kn,preferredCountries:o=[],flags:a,onSelect:i,onClose:s,...l})=>{let u=f.useRef(null),c=f.useRef(),d=f.useMemo(()=>{if(!o||!o.length)return r;let A=[],T=[...r];for(let v of o){let D=T.findIndex($=>Vt($).iso2===v);if(D!==-1){let $=T.splice(D,1)[0];A.push($)}}return A.concat(T)},[r,o]),p=f.useRef({updatedAt:void 0,value:""}),m=A=>{let T=p.current.updatedAt&&new Date().getTime()-p.current.updatedAt.getTime()>HP;p.current={value:T?A:`${p.current.value}${A}`,updatedAt:new Date};let v=d.findIndex(D=>Vt(D).name.toLowerCase().startsWith(p.current.value));v!==-1&&b(v)},h=f.useCallback(A=>d.findIndex(T=>Vt(T).iso2===A),[d]),[g,b]=f.useState(h(n)),x=()=>{c.current!==n&&b(h(n))},y=f.useCallback(A=>{b(h(A.iso2)),i==null||i(A)},[i,h]),w=A=>{let T=d.length-1,v=D=>A==="prev"?D-1:A==="next"?D+1:A==="last"?T:0;b(D=>{let $=v(D);return $<0?0:$>T?T:$})},S=A=>{if(A.stopPropagation(),A.key==="Enter"){A.preventDefault();let T=Vt(d[g]);y(T);return}if(A.key==="Escape"){s==null||s();return}if(A.key==="ArrowUp"){A.preventDefault(),w("prev");return}if(A.key==="ArrowDown"){A.preventDefault(),w("next");return}if(A.key==="PageUp"){A.preventDefault(),w("first");return}if(A.key==="PageDown"){A.preventDefault(),w("last");return}A.key===" "&&A.preventDefault(),A.key.length===1&&!A.altKey&&!A.ctrlKey&&!A.metaKey&&m(A.key.toLocaleLowerCase())},P=f.useCallback(()=>{if(!u.current||g===void 0)return;let A=Vt(d[g]).iso2;if(A===c.current)return;let T=u.current.querySelector(`[data-country="${A}"]`);T&&(TP(u.current,T),c.current=A)},[g,d]);return f.useEffect(()=>{P()},[g,P]),f.useEffect(()=>{u.current&&(e?u.current.focus():x())},[e]),f.useEffect(()=>{x()},[n]),f.createElement("ul",{ref:u,role:"listbox",className:et({addPrefix:["country-selector-dropdown"],rawClassNames:[l.className]}),style:{display:e?"block":"none",...l.style},onKeyDown:S,onBlur:s,tabIndex:-1,"aria-activedescendant":`react-international-phone__${Vt(d[g]).iso2}-option`},d.map((A,T)=>{let v=Vt(A),D=v.iso2===n,$=T===g,M=o.includes(v.iso2),k=T===o.length-1,I=a==null?void 0:a.find(E=>E.iso2===v.iso2);return f.createElement(f.Fragment,{key:v.iso2},f.createElement("li",{"data-country":v.iso2,role:"option","aria-selected":D,"aria-label":`${v.name} ${t}${v.dialCode}`,id:`react-international-phone__${v.iso2}-option`,className:et({addPrefix:["country-selector-dropdown__list-item",M&&"country-selector-dropdown__list-item--preferred",D&&"country-selector-dropdown__list-item--selected",$&&"country-selector-dropdown__list-item--focused"],rawClassNames:[l.listItemClassName]}),onClick:()=>y(v),style:l.listItemStyle,title:v.name},f.createElement(Ui,{iso2:v.iso2,src:I==null?void 0:I.src,className:et({addPrefix:["country-selector-dropdown__list-item-flag-emoji"],rawClassNames:[l.listItemFlagClassName]}),style:l.listItemFlagStyle}),f.createElement("span",{className:et({addPrefix:["country-selector-dropdown__list-item-country-name"],rawClassNames:[l.listItemCountryNameClassName]}),style:l.listItemCountryNameStyle},v.name),f.createElement("span",{className:et({addPrefix:["country-selector-dropdown__list-item-dial-code"],rawClassNames:[l.listItemDialCodeClassName]}),style:l.listItemDialCodeStyle},t,v.dialCode)),k?f.createElement("hr",{className:et({addPrefix:["country-selector-dropdown__preferred-list-divider"],rawClassNames:[l.preferredListDividerClassName]}),style:l.preferredListDividerStyle}):null)}))},ZP=({selectedCountry:e,onSelect:t,disabled:n,hideDropdown:r,countries:o=kn,preferredCountries:a=[],flags:i,renderButtonWrapper:s,...l})=>{let[u,c]=f.useState(!1),d=f.useMemo(()=>{if(e)return Yr({value:e,field:"iso2",countries:o})},[o,e]),p=f.useRef(null),m=g=>{g.key&&["ArrowUp","ArrowDown"].includes(g.key)&&(g.preventDefault(),c(!0))},h=()=>{var x;let g={title:d==null?void 0:d.name,onClick:()=>c(y=>!y),onMouseDown:y=>y.preventDefault(),onKeyDown:m,disabled:r||n,role:"combobox","aria-label":"Country selector","aria-haspopup":"listbox","aria-expanded":u},b=f.createElement("div",{className:et({addPrefix:["country-selector-button__button-content"],rawClassNames:[l.buttonContentWrapperClassName]}),style:l.buttonContentWrapperStyle},f.createElement(Ui,{iso2:e,src:(x=i==null?void 0:i.find(y=>y.iso2===e))==null?void 0:x.src,className:et({addPrefix:["country-selector-button__flag-emoji",n&&"country-selector-button__flag-emoji--disabled"],rawClassNames:[l.flagClassName]}),style:{visibility:e?"visible":"hidden",...l.flagStyle}}),!r&&f.createElement("div",{className:et({addPrefix:["country-selector-button__dropdown-arrow",n&&"country-selector-button__dropdown-arrow--disabled",u&&"country-selector-button__dropdown-arrow--active"],rawClassNames:[l.dropdownArrowClassName]}),style:l.dropdownArrowStyle}));return s?s({children:b,rootProps:g}):f.createElement("button",{...g,type:"button",className:et({addPrefix:["country-selector-button",u&&"country-selector-button--active",n&&"country-selector-button--disabled",r&&"country-selector-button--hide-dropdown"],rawClassNames:[l.buttonClassName]}),"data-country":e,style:l.buttonStyle},b)};return f.createElement("div",{className:et({addPrefix:["country-selector"],rawClassNames:[l.className]}),style:l.style,ref:p},h(),f.createElement(XP,{show:u,countries:o,preferredCountries:a,flags:i,onSelect:g=>{c(!1),t==null||t(g)},selectedCountry:e,onClose:()=>{c(!1)},...l.dropdownStyleProps}))},YP=({dialCode:e,prefix:t,disabled:n,style:r,className:o})=>f.createElement("div",{className:et({addPrefix:["dial-code-preview",n&&"dial-code-preview--disabled"],rawClassNames:[o]}),style:r},`${t}${e}`);f.forwardRef(({value:e,onChange:t,countries:n=kn,preferredCountries:r=[],hideDropdown:o,showDisabledDialCodeAndPrefix:a,disableFocusAfterCountrySelect:i,flags:s,style:l,className:u,inputStyle:c,inputClassName:d,countrySelectorStyleProps:p,dialCodePreviewStyleProps:m,inputProps:h,placeholder:g,disabled:b,name:x,onFocus:y,onBlur:w,required:S,autoFocus:P,...A},T)=>{let{phone:v,inputValue:D,inputRef:$,country:M,setCountry:k,handlePhoneValueChange:I}=cg({value:e,countries:n,...A,onChange:O=>{t==null||t(O.phone,{country:O.country,inputValue:O.inputValue})}}),E=A.disableDialCodeAndPrefix&&a&&(M==null?void 0:M.dialCode);return f.useImperativeHandle(T,()=>$.current?Object.assign($.current,{setCountry:k,state:{phone:v,inputValue:D,country:M}}):null,[$,k,v,D,M]),f.createElement("div",{ref:T,className:et({addPrefix:["input-container"],rawClassNames:[u]}),style:l},f.createElement(ZP,{onSelect:O=>k(O.iso2,{focusOnInput:!i}),flags:s,selectedCountry:M.iso2,countries:n,preferredCountries:r,disabled:b,hideDropdown:o,...p}),E&&f.createElement(YP,{dialCode:M.dialCode,prefix:A.prefix??"+",disabled:b,...m}),f.createElement("input",{onChange:I,value:D,type:"tel",ref:$,className:et({addPrefix:["input",b&&"input--disabled"],rawClassNames:[d]}),placeholder:g,disabled:b,style:c,name:x,onFocus:y,onBlur:w,autoFocus:P,required:S,...h}))});const UP=({value:e,onChange:t,disabled:n,placeholder:r,error:o,erroMessage:a,isValid:i,searchMessage:s,noResultsFoundMessage:l,...u})=>{const[c,d]=f.useState(!1),p=ye({base:"group flex h-12 w-full items-center rounded-lg border border-primary-grey-700 bg-white px-4 py-3",variants:{disabled:{true:"border-none bg-primary-grey-500"},isError:{true:"border-complementary-red-500"},completed:{true:"border-secondary-green-500"}}}),m=ye({base:"ml-4 bg-transparent font-satoshi text-sm font-normal leading-normal focus-within:outline-none group-focus-within:text-black",variants:{disabled:{true:"text-primary-grey-700"}}}),h=ye({base:"flex items-center gap-[6px] border-r border-primary-grey-800 pr-4",variants:{disabled:{true:"border-primary-grey-700"}}}),g=ye({base:"h-6 w-6 stroke-1 text-primary-grey-800 group-focus-within:text-black",variants:{disabled:{true:"text-primary-grey-700"}}}),b=ye({base:"font-satoshi text-sm font-normal leading-normal text-primary-grey-800 group-focus-within:text-black",variants:{disabled:{true:"text-primary-grey-700"}}}),{inputValue:x,handlePhoneValueChange:y,inputRef:w,country:S,setCountry:P}=cg({defaultCountry:"us",value:e,charAfterDialCode:"+",disableDialCodePrefill:!1,disableDialCodeAndPrefix:!0,countries:kn,onChange:T=>{t==null||t(T.phone)}}),A=T=>{d(!c),P(T)};return F.jsxs("div",{className:"h-[74px]",children:[F.jsxs("div",{className:p({disabled:n,isError:o,completed:i}),children:[F.jsxs(uh,{open:c,onOpenChange:d,children:[F.jsx(ch,{asChild:!0,children:F.jsxs("button",{disabled:n,className:h({disabled:n}),children:[F.jsx("div",{className:"flex h-6 w-6 items-center justify-center overflow-hidden rounded-full border-1.5 border-white",children:F.jsx(Ui,{className:"scale-[1.4]",iso2:S.iso2})}),F.jsxs("span",{className:b({disabled:n}),children:["+ ",S.dialCode]}),c?F.jsx(EP,{className:g({disabled:n})}):F.jsx(sg,{className:g({disabled:n})})]})}),F.jsx(dh,{children:F.jsx(fh,{className:"max-h-96 overflow-y-auto rounded-lg border border-primary-grey-600 bg-white",side:"bottom",sideOffset:5,children:F.jsxs(Hr,{children:[F.jsxs("div",{className:"flex items-center justify-center gap-2 border-b-1 px-2 py-2",children:[F.jsx(PP,{className:"h-4 w-4 shrink-0 text-primary-grey-800"}),F.jsx(Hr.Input,{className:"w-full font-satoshi text-sm focus-visible:outline-none",placeholder:s})]}),F.jsxs(Hr.List,{className:"mt-2",children:[F.jsx(Hr.Empty,{className:"font-satoshi text-sm",children:l}),F.jsx(Hr.Group,{children:kn.map(T=>{const v=Vt(T);return F.jsxs(Hr.Item,{onSelect:()=>A(v.iso2),className:"flex cursor-pointer items-center justify-between px-2 py-2 font-satoshi text-sm text-primary-grey-800 hover:bg-primary-grey-500",children:[F.jsxs("div",{className:"flex gap-1",children:[F.jsx("div",{className:"flex h-6 w-6 items-center justify-center overflow-hidden rounded-full border-1.5 border-white",children:F.jsx(Ui,{className:"scale-[1.4]",iso2:v.iso2})}),F.jsx("span",{children:v.name})]}),F.jsxs("span",{children:["+ ",v.dialCode]})]},v.iso2)})})]})]})})})]}),F.jsx("input",{disabled:n,className:m({disabled:n}),placeholder:r,type:"tel",value:x,onChange:y,ref:w,...u})]}),o&&a&&F.jsx("span",{className:"mt-2 pl-6 font-satoshi text-xs font-normal leading-normal text-complementary-red-500",children:a})]})};function sr(e){"@babel/helpers - typeof";return sr=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},sr(e)}function KP(e,t){if(sr(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if(sr(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function fg(e){var t=KP(e,"string");return sr(t)=="symbol"?t:t+""}function qo(e,t,n){return t=fg(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function pg(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 ce(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?pg(Object(n),!0).forEach(function(r){qo(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):pg(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function JP(e){if(Array.isArray(e))return e}function QP(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r,o,a,i,s=[],l=!0,u=!1;try{if(a=(n=n.call(e)).next,t===0){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=a.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(c){u=!0,o=c}finally{try{if(!l&&n.return!=null&&(i=n.return(),Object(i)!==i))return}finally{if(u)throw o}}return s}}function Cc(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 mg(e,t){if(e){if(typeof e=="string")return Cc(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 Cc(e,t)}}function qP(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
102
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function mn(e,t){return JP(e)||QP(e,t)||mg(e,t)||qP()}function eS(e,t){if(e==null)return{};var n={},r=Object.keys(e),o,a;for(a=0;a<r.length;a++)o=r[a],!(t.indexOf(o)>=0)&&(n[o]=e[o]);return n}function hn(e,t){if(e==null)return{};var n=eS(e,t),r,o;if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o<a.length;o++)r=a[o],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}var tS=["defaultInputValue","defaultMenuIsOpen","defaultValue","inputValue","menuIsOpen","onChange","onInputChange","onMenuClose","onMenuOpen","value"];function nS(e){var t=e.defaultInputValue,n=t===void 0?"":t,r=e.defaultMenuIsOpen,o=r===void 0?!1:r,a=e.defaultValue,i=a===void 0?null:a,s=e.inputValue,l=e.menuIsOpen,u=e.onChange,c=e.onInputChange,d=e.onMenuClose,p=e.onMenuOpen,m=e.value,h=hn(e,tS),g=f.useState(s!==void 0?s:n),b=mn(g,2),x=b[0],y=b[1],w=f.useState(l!==void 0?l:o),S=mn(w,2),P=S[0],A=S[1],T=f.useState(m!==void 0?m:i),v=mn(T,2),D=v[0],$=v[1],M=f.useCallback(function(W,K){typeof u=="function"&&u(W,K),$(W)},[u]),k=f.useCallback(function(W,K){var H;typeof c=="function"&&(H=c(W,K)),y(H!==void 0?H:W)},[c]),I=f.useCallback(function(){typeof p=="function"&&p(),A(!0)},[p]),E=f.useCallback(function(){typeof d=="function"&&d(),A(!1)},[d]),O=s!==void 0?s:x,j=l!==void 0?l:P,N=m!==void 0?m:D;return ce(ce({},h),{},{inputValue:O,menuIsOpen:j,onChange:M,onInputChange:k,onMenuClose:E,onMenuOpen:I,value:N})}function de(){return de=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},de.apply(this,arguments)}function rS(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function hg(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,fg(r.key),r)}}function oS(e,t,n){return t&&hg(e.prototype,t),n&&hg(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function wc(e,t){return wc=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,o){return r.__proto__=o,r},wc(e,t)}function aS(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&wc(e,t)}function Ki(e){return Ki=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){return n.__proto__||Object.getPrototypeOf(n)},Ki(e)}function gg(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(gg=function(){return!!e})()}function iS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function sS(e,t){if(t&&(sr(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return iS(e)}function lS(e){var t=gg();return function(){var r=Ki(e),o;if(t){var a=Ki(this).constructor;o=Reflect.construct(r,arguments,a)}else o=r.apply(this,arguments);return sS(this,o)}}function uS(e){if(Array.isArray(e))return Cc(e)}function cS(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function dS(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
103
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Ic(e){return uS(e)||cS(e)||mg(e)||dS()}function fS(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 pS(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 mS=function(){function e(n){var r=this;this._insertTag=function(o){var a;r.tags.length===0?r.insertionPoint?a=r.insertionPoint.nextSibling:r.prepend?a=r.container.firstChild:a=r.before:a=r.tags[r.tags.length-1].nextSibling,r.container.insertBefore(o,a),r.tags.push(o)},this.isSpeedy=n.speedy===void 0?process.env.NODE_ENV==="production":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(pS(this));var o=this.tags[this.tags.length-1];if(process.env.NODE_ENV!=="production"){var a=r.charCodeAt(0)===64&&r.charCodeAt(1)===105;a&&this._alreadyInsertedOrderInsensitiveRule&&console.error(`You're attempting to insert the following rule:
104
+ `+r+"\n\n`@import` rules must be before all other types of rules in a stylesheet but other rules have already been inserted. Please ensure that `@import` rules are before all other rules."),this._alreadyInsertedOrderInsensitiveRule=this._alreadyInsertedOrderInsensitiveRule||!a}if(this.isSpeedy){var i=fS(o);try{i.insertRule(r,i.cssRules.length)}catch(s){process.env.NODE_ENV!=="production"&&!/:(-moz-placeholder|-moz-focus-inner|-moz-focusring|-ms-input-placeholder|-moz-read-write|-moz-read-only|-ms-clear|-ms-expand|-ms-reveal){/.test(r)&&console.error('There was a problem inserting the following rule: "'+r+'"',s)}}else o.appendChild(document.createTextNode(r));this.ctr++},t.flush=function(){this.tags.forEach(function(r){return r.parentNode&&r.parentNode.removeChild(r)}),this.tags=[],this.ctr=0,process.env.NODE_ENV!=="production"&&(this._alreadyInsertedOrderInsensitiveRule=!1)},e}(),tt="-ms-",Ji="-moz-",Ae="-webkit-",Ec="comm",Pc="rule",Sc="decl",hS="@import",bg="@keyframes",gS="@layer",bS=Math.abs,Qi=String.fromCharCode,vS=Object.assign;function yS(e,t){return Qe(e,0)^45?(((t<<2^Qe(e,0))<<2^Qe(e,1))<<2^Qe(e,2))<<2^Qe(e,3):0}function vg(e){return e.trim()}function xS(e,t){return(e=t.exec(e))?e[0]:e}function Te(e,t,n){return e.replace(t,n)}function Mc(e,t){return e.indexOf(t)}function Qe(e,t){return e.charCodeAt(t)|0}function ea(e,t,n){return e.slice(t,n)}function Yt(e){return e.length}function Ac(e){return e.length}function qi(e,t){return t.push(e),e}function CS(e,t){return e.map(t).join("")}var es=1,Ur=1,yg=0,pt=0,Ue=0,Kr="";function ts(e,t,n,r,o,a,i){return{value:e,root:t,parent:n,type:r,props:o,children:a,line:es,column:Ur,length:i,return:""}}function ta(e,t){return vS(ts("",null,null,"",null,null,0),e,{length:-e.length},t)}function wS(){return Ue}function IS(){return Ue=pt>0?Qe(Kr,--pt):0,Ur--,Ue===10&&(Ur=1,es--),Ue}function It(){return Ue=pt<yg?Qe(Kr,pt++):0,Ur++,Ue===10&&(Ur=1,es++),Ue}function Ut(){return Qe(Kr,pt)}function ns(){return pt}function na(e,t){return ea(Kr,e,t)}function ra(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 xg(e){return es=Ur=1,yg=Yt(Kr=e),pt=0,[]}function Cg(e){return Kr="",e}function rs(e){return vg(na(pt-1,Tc(e===91?e+2:e===40?e+1:e)))}function ES(e){for(;(Ue=Ut())&&Ue<33;)It();return ra(e)>2||ra(Ue)>3?"":" "}function PS(e,t){for(;--t&&It()&&!(Ue<48||Ue>102||Ue>57&&Ue<65||Ue>70&&Ue<97););return na(e,ns()+(t<6&&Ut()==32&&It()==32))}function Tc(e){for(;It();)switch(Ue){case e:return pt;case 34:case 39:e!==34&&e!==39&&Tc(Ue);break;case 40:e===41&&Tc(e);break;case 92:It();break}return pt}function SS(e,t){for(;It()&&e+Ue!==47+10;)if(e+Ue===42+42&&Ut()===47)break;return"/*"+na(t,pt-1)+"*"+Qi(e===47?e:It())}function MS(e){for(;!ra(Ut());)It();return na(e,pt)}function AS(e){return Cg(os("",null,null,null,[""],e=xg(e),0,[0],e))}function os(e,t,n,r,o,a,i,s,l){for(var u=0,c=0,d=i,p=0,m=0,h=0,g=1,b=1,x=1,y=0,w="",S=o,P=a,A=r,T=w;b;)switch(h=y,y=It()){case 40:if(h!=108&&Qe(T,d-1)==58){Mc(T+=Te(rs(y),"&","&\f"),"&\f")!=-1&&(x=-1);break}case 34:case 39:case 91:T+=rs(y);break;case 9:case 10:case 13:case 32:T+=ES(h);break;case 92:T+=PS(ns()-1,7);continue;case 47:switch(Ut()){case 42:case 47:qi(TS(SS(It(),ns()),t,n),l);break;default:T+="/"}break;case 123*g:s[u++]=Yt(T)*x;case 125*g:case 59:case 0:switch(y){case 0:case 125:b=0;case 59+c:x==-1&&(T=Te(T,/\f/g,"")),m>0&&Yt(T)-d&&qi(m>32?Ig(T+";",r,n,d-1):Ig(Te(T," ","")+";",r,n,d-2),l);break;case 59:T+=";";default:if(qi(A=wg(T,t,n,u,c,o,s,w,S=[],P=[],d),a),y===123)if(c===0)os(T,t,A,A,S,a,d,s,P);else switch(p===99&&Qe(T,3)===110?100:p){case 100:case 108:case 109:case 115:os(e,A,A,r&&qi(wg(e,A,A,0,0,o,s,w,o,S=[],d),P),o,P,d,s,r?S:P);break;default:os(T,A,A,A,[""],P,0,s,P)}}u=c=m=0,g=x=1,w=T="",d=i;break;case 58:d=1+Yt(T),m=h;default:if(g<1){if(y==123)--g;else if(y==125&&g++==0&&IS()==125)continue}switch(T+=Qi(y),y*g){case 38:x=c>0?1:(T+="\f",-1);break;case 44:s[u++]=(Yt(T)-1)*x,x=1;break;case 64:Ut()===45&&(T+=rs(It())),p=Ut(),c=d=Yt(w=T+=MS(ns())),y++;break;case 45:h===45&&Yt(T)==2&&(g=0)}}return a}function wg(e,t,n,r,o,a,i,s,l,u,c){for(var d=o-1,p=o===0?a:[""],m=Ac(p),h=0,g=0,b=0;h<r;++h)for(var x=0,y=ea(e,d+1,d=bS(g=i[h])),w=e;x<m;++x)(w=vg(g>0?p[x]+" "+y:Te(y,/&\f/g,p[x])))&&(l[b++]=w);return ts(e,t,n,o===0?Pc:s,l,u,c)}function TS(e,t,n){return ts(e,t,n,Ec,Qi(wS()),ea(e,2,-2),0)}function Ig(e,t,n,r){return ts(e,t,n,Sc,ea(e,0,r),ea(e,r+1,-1),r)}function Jr(e,t){for(var n="",r=Ac(e),o=0;o<r;o++)n+=t(e[o],o,e,t)||"";return n}function DS(e,t,n,r){switch(e.type){case gS:if(e.children.length)break;case hS:case Sc:return e.return=e.return||e.value;case Ec:return"";case bg:return e.return=e.value+"{"+Jr(e.children,r)+"}";case Pc:e.value=e.props.join(",")}return Yt(n=Jr(e.children,r))?e.return=e.value+"{"+n+"}":""}function NS(e){var t=Ac(e);return function(n,r,o,a){for(var i="",s=0;s<t;s++)i+=e[s](n,r,o,a)||"";return i}}function $S(e){return function(t){t.root||(t=t.return)&&e(t)}}function kS(e){var t=Object.create(null);return function(n){return t[n]===void 0&&(t[n]=e(n)),t[n]}}var OS=function(t,n,r){for(var o=0,a=0;o=a,a=Ut(),o===38&&a===12&&(n[r]=1),!ra(a);)It();return na(t,pt)},FS=function(t,n){var r=-1,o=44;do switch(ra(o)){case 0:o===38&&Ut()===12&&(n[r]=1),t[r]+=OS(pt-1,n,r);break;case 2:t[r]+=rs(o);break;case 4:if(o===44){t[++r]=Ut()===58?"&\f":"",n[r]=t[r].length;break}default:t[r]+=Qi(o)}while(o=It());return t},LS=function(t,n){return Cg(FS(xg(t),n))},Eg=new WeakMap,VS=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&&!Eg.get(r))&&!o){Eg.set(t,!0);for(var a=[],i=LS(n,a),s=r.props,l=0,u=0;l<i.length;l++)for(var c=0;c<s.length;c++,u++)t.props[u]=a[l]?i[l].replace(/&\f/g,s[c]):s[c]+" "+i[l]}}},jS=function(t){if(t.type==="decl"){var n=t.value;n.charCodeAt(0)===108&&n.charCodeAt(2)===98&&(t.return="",t.value="")}},BS="emotion-disable-server-rendering-unsafe-selector-warning-please-do-not-use-this-the-warning-exists-for-a-reason",WS=function(t){return t.type==="comm"&&t.children.indexOf(BS)>-1},_S=function(t){return function(n,r,o){if(!(n.type!=="rule"||t.compat)){var a=n.value.match(/(:first|:nth|:nth-last)-child/g);if(a){for(var i=!!n.parent,s=i?n.parent.children:o,l=s.length-1;l>=0;l--){var u=s[l];if(u.line<n.line)break;if(u.column<n.column){if(WS(u))return;break}}a.forEach(function(c){console.error('The pseudo class "'+c+'" is potentially unsafe when doing server-side rendering. Try changing it to "'+c.split("-child")[0]+'-of-type".')})}}}},Pg=function(t){return t.type.charCodeAt(1)===105&&t.type.charCodeAt(0)===64},GS=function(t,n){for(var r=t-1;r>=0;r--)if(!Pg(n[r]))return!0;return!1},Sg=function(t){t.type="",t.value="",t.return="",t.children="",t.props=""},RS=function(t,n,r){Pg(t)&&(t.parent?(console.error("`@import` rules can't be nested inside other rules. Please move it to the top level and put it before regular rules. Keep in mind that they can only be used within global styles."),Sg(t)):GS(n,r)&&(console.error("`@import` rules can't be after other rules. Please put your `@import` rules before your other rules."),Sg(t)))};function Mg(e,t){switch(yS(e,t)){case 5103:return Ae+"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 Ae+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return Ae+e+Ji+e+tt+e+e;case 6828:case 4268:return Ae+e+tt+e+e;case 6165:return Ae+e+tt+"flex-"+e+e;case 5187:return Ae+e+Te(e,/(\w+).+(:[^]+)/,Ae+"box-$1$2"+tt+"flex-$1$2")+e;case 5443:return Ae+e+tt+"flex-item-"+Te(e,/flex-|-self/,"")+e;case 4675:return Ae+e+tt+"flex-line-pack"+Te(e,/align-content|flex-|-self/,"")+e;case 5548:return Ae+e+tt+Te(e,"shrink","negative")+e;case 5292:return Ae+e+tt+Te(e,"basis","preferred-size")+e;case 6060:return Ae+"box-"+Te(e,"-grow","")+Ae+e+tt+Te(e,"grow","positive")+e;case 4554:return Ae+Te(e,/([^-])(transform)/g,"$1"+Ae+"$2")+e;case 6187:return Te(Te(Te(e,/(zoom-|grab)/,Ae+"$1"),/(image-set)/,Ae+"$1"),e,"")+e;case 5495:case 3959:return Te(e,/(image-set\([^]*)/,Ae+"$1$`$1");case 4968:return Te(Te(e,/(.+:)(flex-)?(.*)/,Ae+"box-pack:$3"+tt+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+Ae+e+e;case 4095:case 3583:case 4068:case 2532:return Te(e,/(.+)-inline(.+)/,Ae+"$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(Yt(e)-1-t>6)switch(Qe(e,t+1)){case 109:if(Qe(e,t+4)!==45)break;case 102:return Te(e,/(.+:)(.+)-([^]+)/,"$1"+Ae+"$2-$3$1"+Ji+(Qe(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~Mc(e,"stretch")?Mg(Te(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(Qe(e,t+1)!==115)break;case 6444:switch(Qe(e,Yt(e)-3-(~Mc(e,"!important")&&10))){case 107:return Te(e,":",":"+Ae)+e;case 101:return Te(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+Ae+(Qe(e,14)===45?"inline-":"")+"box$3$1"+Ae+"$2$3$1"+tt+"$2box$3")+e}break;case 5936:switch(Qe(e,t+11)){case 114:return Ae+e+tt+Te(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return Ae+e+tt+Te(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return Ae+e+tt+Te(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return Ae+e+tt+e+e}return e}var zS=function(t,n,r,o){if(t.length>-1&&!t.return)switch(t.type){case Sc:t.return=Mg(t.value,t.length);break;case bg:return Jr([ta(t,{value:Te(t.value,"@","@"+Ae)})],o);case Pc:if(t.length)return CS(t.props,function(a){switch(xS(a,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Jr([ta(t,{props:[Te(a,/:(read-\w+)/,":"+Ji+"$1")]})],o);case"::placeholder":return Jr([ta(t,{props:[Te(a,/:(plac\w+)/,":"+Ae+"input-$1")]}),ta(t,{props:[Te(a,/:(plac\w+)/,":"+Ji+"$1")]}),ta(t,{props:[Te(a,/:(plac\w+)/,tt+"input-$1")]})],o)}return""})}},HS=[zS],XS=function(t){var n=t.key;if(process.env.NODE_ENV!=="production"&&!n)throw new Error(`You have to configure \`key\` for your cache. Please make sure it's unique (and not equal to 'css') as it's used for linking styles to your cache.
105
+ If multiple caches share the same key they might "fight" for each other's style elements.`);if(n==="css"){var r=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(r,function(g){var b=g.getAttribute("data-emotion");b.indexOf(" ")!==-1&&(document.head.appendChild(g),g.setAttribute("data-s",""))})}var o=t.stylisPlugins||HS;if(process.env.NODE_ENV!=="production"&&/[^a-z-]/.test(n))throw new Error('Emotion key must only contain lower case alphabetical characters and - but "'+n+'" was passed');var a={},i,s=[];i=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+n+' "]'),function(g){for(var b=g.getAttribute("data-emotion").split(" "),x=1;x<b.length;x++)a[b[x]]=!0;s.push(g)});var l,u=[VS,jS];process.env.NODE_ENV!=="production"&&u.push(_S({get compat(){return h.compat}}),RS);{var c,d=[DS,process.env.NODE_ENV!=="production"?function(g){g.root||(g.return?c.insert(g.return):g.value&&g.type!==Ec&&c.insert(g.value+"{}"))}:$S(function(g){c.insert(g)})],p=NS(u.concat(o,d)),m=function(b){return Jr(AS(b),p)};l=function(b,x,y,w){c=y,process.env.NODE_ENV!=="production"&&x.map!==void 0&&(c={insert:function(P){y.insert(P+x.map)}}),m(b?b+"{"+x.styles+"}":x.styles),w&&(h.inserted[x.name]=!0)}}var h={key:n,sheet:new mS({key:n,container:i,nonce:t.nonce,speedy:t.speedy,prepend:t.prepend,insertionPoint:t.insertionPoint}),nonce:t.nonce,inserted:a,registered:{},insert:l};return h.sheet.hydrate(s),h},Dc={exports:{}},Ne={};/** @license React v16.13.1
106
+ * react-is.production.min.js
107
+ *
108
+ * Copyright (c) Facebook, Inc. and its affiliates.
109
+ *
110
+ * This source code is licensed under the MIT license found in the
111
+ * LICENSE file in the root directory of this source tree.
112
+ */var Ag;function ZS(){if(Ag)return Ne;Ag=1;var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,r=e?Symbol.for("react.fragment"):60107,o=e?Symbol.for("react.strict_mode"):60108,a=e?Symbol.for("react.profiler"):60114,i=e?Symbol.for("react.provider"):60109,s=e?Symbol.for("react.context"):60110,l=e?Symbol.for("react.async_mode"):60111,u=e?Symbol.for("react.concurrent_mode"):60111,c=e?Symbol.for("react.forward_ref"):60112,d=e?Symbol.for("react.suspense"):60113,p=e?Symbol.for("react.suspense_list"):60120,m=e?Symbol.for("react.memo"):60115,h=e?Symbol.for("react.lazy"):60116,g=e?Symbol.for("react.block"):60121,b=e?Symbol.for("react.fundamental"):60117,x=e?Symbol.for("react.responder"):60118,y=e?Symbol.for("react.scope"):60119;function w(P){if(typeof P=="object"&&P!==null){var A=P.$$typeof;switch(A){case t:switch(P=P.type,P){case l:case u:case r:case a:case o:case d:return P;default:switch(P=P&&P.$$typeof,P){case s:case c:case h:case m:case i:return P;default:return A}}case n:return A}}}function S(P){return w(P)===u}return Ne.AsyncMode=l,Ne.ConcurrentMode=u,Ne.ContextConsumer=s,Ne.ContextProvider=i,Ne.Element=t,Ne.ForwardRef=c,Ne.Fragment=r,Ne.Lazy=h,Ne.Memo=m,Ne.Portal=n,Ne.Profiler=a,Ne.StrictMode=o,Ne.Suspense=d,Ne.isAsyncMode=function(P){return S(P)||w(P)===l},Ne.isConcurrentMode=S,Ne.isContextConsumer=function(P){return w(P)===s},Ne.isContextProvider=function(P){return w(P)===i},Ne.isElement=function(P){return typeof P=="object"&&P!==null&&P.$$typeof===t},Ne.isForwardRef=function(P){return w(P)===c},Ne.isFragment=function(P){return w(P)===r},Ne.isLazy=function(P){return w(P)===h},Ne.isMemo=function(P){return w(P)===m},Ne.isPortal=function(P){return w(P)===n},Ne.isProfiler=function(P){return w(P)===a},Ne.isStrictMode=function(P){return w(P)===o},Ne.isSuspense=function(P){return w(P)===d},Ne.isValidElementType=function(P){return typeof P=="string"||typeof P=="function"||P===r||P===u||P===a||P===o||P===d||P===p||typeof P=="object"&&P!==null&&(P.$$typeof===h||P.$$typeof===m||P.$$typeof===i||P.$$typeof===s||P.$$typeof===c||P.$$typeof===b||P.$$typeof===x||P.$$typeof===y||P.$$typeof===g)},Ne.typeOf=w,Ne}var $e={};/** @license React v16.13.1
113
+ * react-is.development.js
114
+ *
115
+ * Copyright (c) Facebook, Inc. and its affiliates.
116
+ *
117
+ * This source code is licensed under the MIT license found in the
118
+ * LICENSE file in the root directory of this source tree.
119
+ */var Tg;function YS(){return Tg||(Tg=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,a=e?Symbol.for("react.profiler"):60114,i=e?Symbol.for("react.provider"):60109,s=e?Symbol.for("react.context"):60110,l=e?Symbol.for("react.async_mode"):60111,u=e?Symbol.for("react.concurrent_mode"):60111,c=e?Symbol.for("react.forward_ref"):60112,d=e?Symbol.for("react.suspense"):60113,p=e?Symbol.for("react.suspense_list"):60120,m=e?Symbol.for("react.memo"):60115,h=e?Symbol.for("react.lazy"):60116,g=e?Symbol.for("react.block"):60121,b=e?Symbol.for("react.fundamental"):60117,x=e?Symbol.for("react.responder"):60118,y=e?Symbol.for("react.scope"):60119;function w(Q){return typeof Q=="string"||typeof Q=="function"||Q===r||Q===u||Q===a||Q===o||Q===d||Q===p||typeof Q=="object"&&Q!==null&&(Q.$$typeof===h||Q.$$typeof===m||Q.$$typeof===i||Q.$$typeof===s||Q.$$typeof===c||Q.$$typeof===b||Q.$$typeof===x||Q.$$typeof===y||Q.$$typeof===g)}function S(Q){if(typeof Q=="object"&&Q!==null){var Pe=Q.$$typeof;switch(Pe){case t:var ie=Q.type;switch(ie){case l:case u:case r:case a:case o:case d:return ie;default:var ne=ie&&ie.$$typeof;switch(ne){case s:case c:case h:case m:case i:return ne;default:return Pe}}case n:return Pe}}}var P=l,A=u,T=s,v=i,D=t,$=c,M=r,k=h,I=m,E=n,O=a,j=o,N=d,W=!1;function K(Q){return W||(W=!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.")),H(Q)||S(Q)===l}function H(Q){return S(Q)===u}function X(Q){return S(Q)===s}function B(Q){return S(Q)===i}function G(Q){return typeof Q=="object"&&Q!==null&&Q.$$typeof===t}function Y(Q){return S(Q)===c}function R(Q){return S(Q)===r}function Z(Q){return S(Q)===h}function q(Q){return S(Q)===m}function ae(Q){return S(Q)===n}function le(Q){return S(Q)===a}function pe(Q){return S(Q)===o}function be(Q){return S(Q)===d}$e.AsyncMode=P,$e.ConcurrentMode=A,$e.ContextConsumer=T,$e.ContextProvider=v,$e.Element=D,$e.ForwardRef=$,$e.Fragment=M,$e.Lazy=k,$e.Memo=I,$e.Portal=E,$e.Profiler=O,$e.StrictMode=j,$e.Suspense=N,$e.isAsyncMode=K,$e.isConcurrentMode=H,$e.isContextConsumer=X,$e.isContextProvider=B,$e.isElement=G,$e.isForwardRef=Y,$e.isFragment=R,$e.isLazy=Z,$e.isMemo=q,$e.isPortal=ae,$e.isProfiler=le,$e.isStrictMode=pe,$e.isSuspense=be,$e.isValidElementType=w,$e.typeOf=S}()),$e}process.env.NODE_ENV==="production"?Dc.exports=ZS():Dc.exports=YS();var US=Dc.exports,Dg=US,KS={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},JS={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},Ng={};Ng[Dg.ForwardRef]=KS,Ng[Dg.Memo]=JS;var QS=!0;function $g(e,t,n){var r="";return n.split(" ").forEach(function(o){e[o]!==void 0?t.push(e[o]+";"):r+=o+" "}),r}var Nc=function(t,n,r){var o=t.key+"-"+n.name;(r===!1||QS===!1)&&t.registered[o]===void 0&&(t.registered[o]=n.styles)},$c=function(t,n,r){Nc(t,n,r);var o=t.key+"-"+n.name;if(t.inserted[n.name]===void 0){var a=n;do t.insert(n===a?"."+o:"",a,t.sheet,!0),a=a.next;while(a!==void 0)}};function qS(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 eM={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,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},kg=`You have illegal escape sequence in your template literal, most likely inside content's property value.
120
+ Because you write your CSS inside a JavaScript string you actually have to do double escaping, so for example "content: '\\00d7';" should become "content: '\\\\00d7';".
121
+ You can read more about this here:
122
+ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#ES2018_revision_of_illegal_escape_sequences`,tM="You have passed in falsy value as style object's key (can happen when in example you pass unexported component as computed key).",nM=/[A-Z]|^ms/g,Og=/_EMO_([^_]+?)_([^]*?)_EMO_/g,kc=function(t){return t.charCodeAt(1)===45},Fg=function(t){return t!=null&&typeof t!="boolean"},Oc=kS(function(e){return kc(e)?e:e.replace(nM,"-$&").toLowerCase()}),as=function(t,n){switch(t){case"animation":case"animationName":if(typeof n=="string")return n.replace(Og,function(r,o,a){return jt={name:o,styles:a,next:jt},o})}return eM[t]!==1&&!kc(t)&&typeof n=="number"&&n!==0?n+"px":n};if(process.env.NODE_ENV!=="production"){var rM=/(var|attr|counters?|url|element|(((repeating-)?(linear|radial))|conic)-gradient)\(|(no-)?(open|close)-quote/,oM=["normal","none","initial","inherit","unset"],aM=as,iM=/^-ms-/,sM=/-(.)/g,Lg={};as=function(t,n){if(t==="content"&&(typeof n!="string"||oM.indexOf(n)===-1&&!rM.test(n)&&(n.charAt(0)!==n.charAt(n.length-1)||n.charAt(0)!=='"'&&n.charAt(0)!=="'")))throw new Error("You seem to be using a value for 'content' without quotes, try replacing it with `content: '\""+n+"\"'`");var r=aM(t,n);return r!==""&&!kc(t)&&t.indexOf("-")!==-1&&Lg[t]===void 0&&(Lg[t]=!0,console.error("Using kebab-case for css properties in objects is not supported. Did you mean "+t.replace(iM,"ms-").replace(sM,function(o,a){return a.toUpperCase()})+"?")),r}}var Vg="Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";function oa(e,t,n){if(n==null)return"";if(n.__emotion_styles!==void 0){if(process.env.NODE_ENV!=="production"&&n.toString()==="NO_COMPONENT_SELECTOR")throw new Error(Vg);return n}switch(typeof n){case"boolean":return"";case"object":{if(n.anim===1)return jt={name:n.name,styles:n.styles,next:jt},n.name;if(n.styles!==void 0){var r=n.next;if(r!==void 0)for(;r!==void 0;)jt={name:r.name,styles:r.styles,next:jt},r=r.next;var o=n.styles+";";return process.env.NODE_ENV!=="production"&&n.map!==void 0&&(o+=n.map),o}return lM(e,t,n)}case"function":{if(e!==void 0){var a=jt,i=n(e);return jt=a,oa(e,t,i)}else process.env.NODE_ENV!=="production"&&console.error("Functions that are interpolated in css calls will be stringified.\nIf you want to have a css call based on props, create a function that returns a css call like this\nlet dynamicStyle = (props) => css`color: ${props.color}`\nIt can be called directly with props or interpolated in a styled call like this\nlet SomeComponent = styled('div')`${dynamicStyle}`");break}case"string":if(process.env.NODE_ENV!=="production"){var s=[],l=n.replace(Og,function(c,d,p){var m="animation"+s.length;return s.push("const "+m+" = keyframes`"+p.replace(/^@keyframes animation-\w+/,"")+"`"),"${"+m+"}"});s.length&&console.error("`keyframes` output got interpolated into plain string, please wrap it with `css`.\n\nInstead of doing this:\n\n"+[].concat(s,["`"+l+"`"]).join(`
123
+ `)+`
124
+
125
+ You should wrap it with \`css\` like this:
126
+
127
+ `+("css`"+l+"`"))}break}if(t==null)return n;var u=t[n];return u!==void 0?u:n}function lM(e,t,n){var r="";if(Array.isArray(n))for(var o=0;o<n.length;o++)r+=oa(e,t,n[o])+";";else for(var a in n){var i=n[a];if(typeof i!="object")t!=null&&t[i]!==void 0?r+=a+"{"+t[i]+"}":Fg(i)&&(r+=Oc(a)+":"+as(a,i)+";");else{if(a==="NO_COMPONENT_SELECTOR"&&process.env.NODE_ENV!=="production")throw new Error(Vg);if(Array.isArray(i)&&typeof i[0]=="string"&&(t==null||t[i[0]]===void 0))for(var s=0;s<i.length;s++)Fg(i[s])&&(r+=Oc(a)+":"+as(a,i[s])+";");else{var l=oa(e,t,i);switch(a){case"animation":case"animationName":{r+=Oc(a)+":"+l+";";break}default:process.env.NODE_ENV!=="production"&&a==="undefined"&&console.error(tM),r+=a+"{"+l+"}"}}}}return r}var jg=/label:\s*([^\s;\n{]+)\s*(;|$)/g,Bg;process.env.NODE_ENV!=="production"&&(Bg=/\/\*#\ssourceMappingURL=data:application\/json;\S+\s+\*\//g);var jt,aa=function(t,n,r){if(t.length===1&&typeof t[0]=="object"&&t[0]!==null&&t[0].styles!==void 0)return t[0];var o=!0,a="";jt=void 0;var i=t[0];i==null||i.raw===void 0?(o=!1,a+=oa(r,n,i)):(process.env.NODE_ENV!=="production"&&i[0]===void 0&&console.error(kg),a+=i[0]);for(var s=1;s<t.length;s++)a+=oa(r,n,t[s]),o&&(process.env.NODE_ENV!=="production"&&i[s]===void 0&&console.error(kg),a+=i[s]);var l;process.env.NODE_ENV!=="production"&&(a=a.replace(Bg,function(p){return l=p,""})),jg.lastIndex=0;for(var u="",c;(c=jg.exec(a))!==null;)u+="-"+c[1];var d=qS(a)+u;return process.env.NODE_ENV!=="production"?{name:d,styles:a,map:l,next:jt,toString:function(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}}:{name:d,styles:a,next:jt}},uM=function(t){return t()},Wg=V["useInsertionEffect"]?V["useInsertionEffect"]:!1,_g=Wg||uM,Gg=Wg||V.useLayoutEffect,Fc={}.hasOwnProperty,Lc=V.createContext(typeof HTMLElement<"u"?XS({key:"css"}):null);process.env.NODE_ENV!=="production"&&(Lc.displayName="EmotionCacheContext"),Lc.Provider;var Vc=function(t){return f.forwardRef(function(n,r){var o=f.useContext(Lc);return t(n,o,r)})},is=V.createContext({});process.env.NODE_ENV!=="production"&&(is.displayName="EmotionThemeContext");var Rg=function(t){var n=t.split(".");return n[n.length-1]},cM=function(t){var n=/^\s+at\s+([A-Za-z0-9$.]+)\s/.exec(t);if(n||(n=/^([A-Za-z0-9$.]+)@/.exec(t),n))return Rg(n[1])},dM=new Set(["renderWithHooks","processChild","finishClassComponent","renderToString"]),fM=function(t){return t.replace(/\$/g,"-")},pM=function(t){if(t)for(var n=t.split(`
128
+ `),r=0;r<n.length;r++){var o=cM(n[r]);if(o){if(dM.has(o))break;if(/^[A-Z]/.test(o))return fM(o)}}},jc="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",Bc="__EMOTION_LABEL_PLEASE_DO_NOT_USE__",mM=function(t,n){if(process.env.NODE_ENV!=="production"&&typeof n.css=="string"&&n.css.indexOf(":")!==-1)throw new Error("Strings are not allowed as css prop values, please wrap it in a css template literal from '@emotion/react' like this: css`"+n.css+"`");var r={};for(var o in n)Fc.call(n,o)&&(r[o]=n[o]);if(r[jc]=t,process.env.NODE_ENV!=="production"&&n.css&&(typeof n.css!="object"||typeof n.css.name!="string"||n.css.name.indexOf("-")===-1)){var a=pM(new Error().stack);a&&(r[Bc]=a)}return r},hM=function(t){var n=t.cache,r=t.serialized,o=t.isStringTag;return Nc(n,r,o),_g(function(){return $c(n,r,o)}),null},zg=Vc(function(e,t,n){var r=e.css;typeof r=="string"&&t.registered[r]!==void 0&&(r=t.registered[r]);var o=e[jc],a=[r],i="";typeof e.className=="string"?i=$g(t.registered,a,e.className):e.className!=null&&(i=e.className+" ");var s=aa(a,void 0,V.useContext(is));if(process.env.NODE_ENV!=="production"&&s.name.indexOf("-")===-1){var l=e[Bc];l&&(s=aa([s,"label:"+l+";"]))}i+=t.key+"-"+s.name;var u={};for(var c in e)Fc.call(e,c)&&c!=="css"&&c!==jc&&(process.env.NODE_ENV==="production"||c!==Bc)&&(u[c]=e[c]);return u.ref=n,u.className=i,V.createElement(V.Fragment,null,V.createElement(hM,{cache:t,serialized:s,isStringTag:typeof o=="string"}),V.createElement(o,u))});process.env.NODE_ENV!=="production"&&(zg.displayName="EmotionCssPropInternal");var gM=zg,bM={name:"@emotion/react",version:"11.11.4",main:"dist/emotion-react.cjs.js",module:"dist/emotion-react.esm.js",browser:{"./dist/emotion-react.esm.js":"./dist/emotion-react.browser.esm.js"},exports:{".":{module:{worker:"./dist/emotion-react.worker.esm.js",browser:"./dist/emotion-react.browser.esm.js",default:"./dist/emotion-react.esm.js"},import:"./dist/emotion-react.cjs.mjs",default:"./dist/emotion-react.cjs.js"},"./jsx-runtime":{module:{worker:"./jsx-runtime/dist/emotion-react-jsx-runtime.worker.esm.js",browser:"./jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js",default:"./jsx-runtime/dist/emotion-react-jsx-runtime.esm.js"},import:"./jsx-runtime/dist/emotion-react-jsx-runtime.cjs.mjs",default:"./jsx-runtime/dist/emotion-react-jsx-runtime.cjs.js"},"./_isolated-hnrs":{module:{worker:"./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.worker.esm.js",browser:"./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.browser.esm.js",default:"./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.esm.js"},import:"./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.cjs.mjs",default:"./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.cjs.js"},"./jsx-dev-runtime":{module:{worker:"./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.worker.esm.js",browser:"./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.browser.esm.js",default:"./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.esm.js"},import:"./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.cjs.mjs",default:"./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.cjs.js"},"./package.json":"./package.json","./types/css-prop":"./types/css-prop.d.ts","./macro":{types:{import:"./macro.d.mts",default:"./macro.d.ts"},default:"./macro.js"}},types:"types/index.d.ts",files:["src","dist","jsx-runtime","jsx-dev-runtime","_isolated-hnrs","types/*.d.ts","macro.*"],sideEffects:!1,author:"Emotion Contributors",license:"MIT",scripts:{"test:typescript":"dtslint types"},dependencies:{"@babel/runtime":"^7.18.3","@emotion/babel-plugin":"^11.11.0","@emotion/cache":"^11.11.0","@emotion/serialize":"^1.1.3","@emotion/use-insertion-effect-with-fallbacks":"^1.0.1","@emotion/utils":"^1.2.1","@emotion/weak-memoize":"^0.3.1","hoist-non-react-statics":"^3.3.1"},peerDependencies:{react:">=16.8.0"},peerDependenciesMeta:{"@types/react":{optional:!0}},devDependencies:{"@definitelytyped/dtslint":"0.0.112","@emotion/css":"11.11.2","@emotion/css-prettifier":"1.1.3","@emotion/server":"11.11.0","@emotion/styled":"11.11.0","html-tag-names":"^1.1.2",react:"16.14.0","svg-tag-names":"^1.1.1",typescript:"^4.5.5"},repository:"https://github.com/emotion-js/emotion/tree/main/packages/react",publishConfig:{access:"public"},"umd:main":"dist/emotion-react.umd.min.js",preconstruct:{entrypoints:["./index.js","./jsx-runtime.js","./jsx-dev-runtime.js","./_isolated-hnrs.js"],umdName:"emotionReact",exports:{envConditions:["browser","worker"],extra:{"./types/css-prop":"./types/css-prop.d.ts","./macro":{types:{import:"./macro.d.mts",default:"./macro.d.ts"},default:"./macro.js"}}}}},ue=function(t,n){var r=arguments;if(n==null||!Fc.call(n,"css"))return V.createElement.apply(void 0,r);var o=r.length,a=new Array(o);a[0]=gM,a[1]=mM(t,n);for(var i=2;i<o;i++)a[i]=r[i];return V.createElement.apply(null,a)},Hg=!1,vM=Vc(function(e,t){process.env.NODE_ENV!=="production"&&!Hg&&(e.className||e.css)&&(console.error("It looks like you're using the css prop on Global, did you mean to use the styles prop instead?"),Hg=!0);var n=e.styles,r=aa([n],void 0,V.useContext(is)),o=V.useRef();return Gg(function(){var a=t.key+"-global",i=new t.sheet.constructor({key:a,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),s=!1,l=document.querySelector('style[data-emotion="'+a+" "+r.name+'"]');return t.sheet.tags.length&&(i.before=t.sheet.tags[0]),l!==null&&(s=!0,l.setAttribute("data-emotion",a),i.hydrate([l])),o.current=[i,s],function(){i.flush()}},[t]),Gg(function(){var a=o.current,i=a[0],s=a[1];if(s){a[1]=!1;return}if(r.next!==void 0&&$c(t,r.next,!0),i.tags.length){var l=i.tags[i.tags.length-1].nextElementSibling;i.before=l,i.flush()}t.insert("",r,i,!1)},[t,r.name]),null});process.env.NODE_ENV!=="production"&&(vM.displayName="EmotionGlobal");function Wc(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return aa(t)}var yM=function(){var t=Wc.apply(void 0,arguments),n="animation-"+t.name;return{name:n,styles:"@keyframes "+n+"{"+t.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}},xM=function e(t){for(var n=t.length,r=0,o="";r<n;r++){var a=t[r];if(a!=null){var i=void 0;switch(typeof a){case"boolean":break;case"object":{if(Array.isArray(a))i=e(a);else{process.env.NODE_ENV!=="production"&&a.styles!==void 0&&a.name!==void 0&&console.error("You have passed styles created with `css` from `@emotion/react` package to the `cx`.\n`cx` is meant to compose class names (strings) so you should convert those styles to a class name by passing them to the `css` received from <ClassNames/> component."),i="";for(var s in a)a[s]&&s&&(i&&(i+=" "),i+=s)}break}default:i=a}i&&(o&&(o+=" "),o+=i)}}return o};function CM(e,t,n){var r=[],o=$g(e,r,n);return r.length<2?n:o+t(r)}var wM=function(t){var n=t.cache,r=t.serializedArr;return _g(function(){for(var o=0;o<r.length;o++)$c(n,r[o],!1)}),null},IM=Vc(function(e,t){var n=!1,r=[],o=function(){if(n&&process.env.NODE_ENV!=="production")throw new Error("css can only be used during render");for(var u=arguments.length,c=new Array(u),d=0;d<u;d++)c[d]=arguments[d];var p=aa(c,t.registered);return r.push(p),Nc(t,p,!1),t.key+"-"+p.name},a=function(){if(n&&process.env.NODE_ENV!=="production")throw new Error("cx can only be used during render");for(var u=arguments.length,c=new Array(u),d=0;d<u;d++)c[d]=arguments[d];return CM(t.registered,o,xM(c))},i={css:o,cx:a,theme:V.useContext(is)},s=e.children(i);return n=!0,V.createElement(V.Fragment,null,V.createElement(wM,{cache:t,serializedArr:r}),s)});if(process.env.NODE_ENV!=="production"&&(IM.displayName="EmotionClassNames"),process.env.NODE_ENV!=="production"){var Xg=!0,EM=typeof jest<"u"||typeof vi<"u";if(Xg&&!EM){var Zg=typeof globalThis<"u"?globalThis:Xg?window:global,Yg="__EMOTION_REACT_"+bM.version.split(".")[0]+"__";Zg[Yg]&&console.warn("You are loading @emotion/react when it is already loaded. Running multiple instances may cause problems. This can happen if multiple versions are used, or if multiple builds of the same version are used."),Zg[Yg]=!0}}function PM(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function SM(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}const MM=Math.min,AM=Math.max,ss=Math.round,ls=Math.floor,us=e=>({x:e,y:e});function Ug(e){return Jg(e)?(e.nodeName||"").toLowerCase():"#document"}function Bt(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function Kg(e){var t;return(t=(Jg(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function Jg(e){return e instanceof Node||e instanceof Bt(e).Node}function _c(e){return e instanceof Element||e instanceof Bt(e).Element}function Gc(e){return e instanceof HTMLElement||e instanceof Bt(e).HTMLElement}function Qg(e){return typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof Bt(e).ShadowRoot}function qg(e){const{overflow:t,overflowX:n,overflowY:r,display:o}=Rc(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(o)}function TM(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function DM(e){return["html","body","#document"].includes(Ug(e))}function Rc(e){return Bt(e).getComputedStyle(e)}function NM(e){if(Ug(e)==="html")return e;const t=e.assignedSlot||e.parentNode||Qg(e)&&e.host||Kg(e);return Qg(t)?t.host:t}function eb(e){const t=NM(e);return DM(t)?e.ownerDocument?e.ownerDocument.body:e.body:Gc(t)&&qg(t)?t:eb(t)}function cs(e,t,n){var r;t===void 0&&(t=[]),n===void 0&&(n=!0);const o=eb(e),a=o===((r=e.ownerDocument)==null?void 0:r.body),i=Bt(o);return a?t.concat(i,i.visualViewport||[],qg(o)?o:[],i.frameElement&&n?cs(i.frameElement):[]):t.concat(o,cs(o,[],n))}function $M(e){const t=Rc(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const o=Gc(e),a=o?e.offsetWidth:n,i=o?e.offsetHeight:r,s=ss(n)!==a||ss(r)!==i;return s&&(n=a,r=i),{width:n,height:r,$:s}}function zc(e){return _c(e)?e:e.contextElement}function Hc(e){const t=zc(e);if(!Gc(t))return us(1);const n=t.getBoundingClientRect(),{width:r,height:o,$:a}=$M(t);let i=(a?ss(n.width):n.width)/r,s=(a?ss(n.height):n.height)/o;return(!i||!Number.isFinite(i))&&(i=1),(!s||!Number.isFinite(s))&&(s=1),{x:i,y:s}}const kM=us(0);function OM(e){const t=Bt(e);return!TM()||!t.visualViewport?kM:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function FM(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==Bt(e)?!1:t}function tb(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);const o=e.getBoundingClientRect(),a=zc(e);let i=us(1);t&&(r?_c(r)&&(i=Hc(r)):i=Hc(e));const s=FM(a,n,r)?OM(a):us(0);let l=(o.left+s.x)/i.x,u=(o.top+s.y)/i.y,c=o.width/i.x,d=o.height/i.y;if(a){const p=Bt(a),m=r&&_c(r)?Bt(r):r;let h=p,g=h.frameElement;for(;g&&r&&m!==h;){const b=Hc(g),x=g.getBoundingClientRect(),y=Rc(g),w=x.left+(g.clientLeft+parseFloat(y.paddingLeft))*b.x,S=x.top+(g.clientTop+parseFloat(y.paddingTop))*b.y;l*=b.x,u*=b.y,c*=b.x,d*=b.y,l+=w,u+=S,h=Bt(g),g=h.frameElement}}return SM({width:c,height:d,x:l,y:u})}function LM(e,t){let n=null,r;const o=Kg(e);function a(){var s;clearTimeout(r),(s=n)==null||s.disconnect(),n=null}function i(s,l){s===void 0&&(s=!1),l===void 0&&(l=1),a();const{left:u,top:c,width:d,height:p}=e.getBoundingClientRect();if(s||t(),!d||!p)return;const m=ls(c),h=ls(o.clientWidth-(u+d)),g=ls(o.clientHeight-(c+p)),b=ls(u),y={rootMargin:-m+"px "+-h+"px "+-g+"px "+-b+"px",threshold:AM(0,MM(1,l))||1};let w=!0;function S(P){const A=P[0].intersectionRatio;if(A!==l){if(!w)return i();A?i(!1,A):r=setTimeout(()=>{i(!1,1e-7)},100)}w=!1}try{n=new IntersectionObserver(S,{...y,root:o.ownerDocument})}catch{n=new IntersectionObserver(S,y)}n.observe(e)}return i(!0),a}function VM(e,t,n,r){r===void 0&&(r={});const{ancestorScroll:o=!0,ancestorResize:a=!0,elementResize:i=typeof ResizeObserver=="function",layoutShift:s=typeof IntersectionObserver=="function",animationFrame:l=!1}=r,u=zc(e),c=o||a?[...u?cs(u):[],...cs(t)]:[];c.forEach(x=>{o&&x.addEventListener("scroll",n,{passive:!0}),a&&x.addEventListener("resize",n)});const d=u&&s?LM(u,n):null;let p=-1,m=null;i&&(m=new ResizeObserver(x=>{let[y]=x;y&&y.target===u&&m&&(m.unobserve(t),cancelAnimationFrame(p),p=requestAnimationFrame(()=>{var w;(w=m)==null||w.observe(t)})),n()}),u&&!l&&m.observe(u),m.observe(t));let h,g=l?tb(e):null;l&&b();function b(){const x=tb(e);g&&(x.x!==g.x||x.y!==g.y||x.width!==g.width||x.height!==g.height)&&n(),g=x,h=requestAnimationFrame(b)}return n(),()=>{var x;c.forEach(y=>{o&&y.removeEventListener("scroll",n),a&&y.removeEventListener("resize",n)}),d==null||d(),(x=m)==null||x.disconnect(),m=null,l&&cancelAnimationFrame(h)}}var jM=["className","clearValue","cx","getStyles","getClassNames","getValue","hasValue","isMulti","isRtl","options","selectOption","selectProps","setValue","theme"],ds=function(){};function BM(e,t){return t?t[0]==="-"?e+t:e+"__"+t:e}function WM(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),o=2;o<n;o++)r[o-2]=arguments[o];var a=[].concat(r);if(t&&e)for(var i in t)t.hasOwnProperty(i)&&t[i]&&a.push("".concat(BM(e,i)));return a.filter(function(s){return s}).map(function(s){return String(s).trim()}).join(" ")}var nb=function(t){return UM(t)?t.filter(Boolean):sr(t)==="object"&&t!==null?[t]:[]},rb=function(t){t.className,t.clearValue,t.cx,t.getStyles,t.getClassNames,t.getValue,t.hasValue,t.isMulti,t.isRtl,t.options,t.selectOption,t.selectProps,t.setValue,t.theme;var n=hn(t,jM);return ce({},n)},He=function(t,n,r){var o=t.cx,a=t.getStyles,i=t.getClassNames,s=t.className;return{css:a(n,t),className:o(r??{},i(n,t),s)}};function fs(e){return[document.documentElement,document.body,window].indexOf(e)>-1}function _M(e){return fs(e)?window.innerHeight:e.clientHeight}function ob(e){return fs(e)?window.pageYOffset:e.scrollTop}function ps(e,t){if(fs(e)){window.scrollTo(0,t);return}e.scrollTop=t}function GM(e){var t=getComputedStyle(e),n=t.position==="absolute",r=/(auto|scroll)/;if(t.position==="fixed")return document.documentElement;for(var o=e;o=o.parentElement;)if(t=getComputedStyle(o),!(n&&t.position==="static")&&r.test(t.overflow+t.overflowY+t.overflowX))return o;return document.documentElement}function RM(e,t,n,r){return n*((e=e/r-1)*e*e+1)+t}function ms(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:200,r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:ds,o=ob(e),a=t-o,i=10,s=0;function l(){s+=i;var u=RM(s,o,a,n);ps(e,u),s<n?window.requestAnimationFrame(l):r(e)}l()}function ab(e,t){var n=e.getBoundingClientRect(),r=t.getBoundingClientRect(),o=t.offsetHeight/3;r.bottom+o>n.bottom?ps(e,Math.min(t.offsetTop+t.clientHeight-e.offsetHeight+o,e.scrollHeight)):r.top-o<n.top&&ps(e,Math.max(t.offsetTop-o,0))}function zM(e){var t=e.getBoundingClientRect();return{bottom:t.bottom,height:t.height,left:t.left,right:t.right,top:t.top,width:t.width}}function ib(){try{return document.createEvent("TouchEvent"),!0}catch{return!1}}function HM(){try{return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)}catch{return!1}}var sb=!1,XM={get passive(){return sb=!0}},hs=typeof window<"u"?window:{};hs.addEventListener&&hs.removeEventListener&&(hs.addEventListener("p",ds,XM),hs.removeEventListener("p",ds,!1));var ZM=sb;function YM(e){return e!=null}function UM(e){return Array.isArray(e)}function gs(e,t,n){return e?t:n}function BD(e){return e}function WD(e){return e}var KM=function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];var a=Object.entries(t).filter(function(i){var s=mn(i,1),l=s[0];return!r.includes(l)});return a.reduce(function(i,s){var l=mn(s,2),u=l[0],c=l[1];return i[u]=c,i},{})},JM=["children","innerProps"],QM=["children","innerProps"];function qM(e){var t=e.maxHeight,n=e.menuEl,r=e.minHeight,o=e.placement,a=e.shouldScroll,i=e.isFixedPosition,s=e.controlHeight,l=GM(n),u={placement:"bottom",maxHeight:t};if(!n||!n.offsetParent)return u;var c=l.getBoundingClientRect(),d=c.height,p=n.getBoundingClientRect(),m=p.bottom,h=p.height,g=p.top,b=n.offsetParent.getBoundingClientRect(),x=b.top,y=i?window.innerHeight:_M(l),w=ob(l),S=parseInt(getComputedStyle(n).marginBottom,10),P=parseInt(getComputedStyle(n).marginTop,10),A=x-P,T=y-g,v=A+w,D=d-w-g,$=m-y+w+S,M=w+g-P,k=160;switch(o){case"auto":case"bottom":if(T>=h)return{placement:"bottom",maxHeight:t};if(D>=h&&!i)return a&&ms(l,$,k),{placement:"bottom",maxHeight:t};if(!i&&D>=r||i&&T>=r){a&&ms(l,$,k);var I=i?T-S:D-S;return{placement:"bottom",maxHeight:I}}if(o==="auto"||i){var E=t,O=i?A:v;return O>=r&&(E=Math.min(O-S-s,t)),{placement:"top",maxHeight:E}}if(o==="bottom")return a&&ps(l,$),{placement:"bottom",maxHeight:t};break;case"top":if(A>=h)return{placement:"top",maxHeight:t};if(v>=h&&!i)return a&&ms(l,M,k),{placement:"top",maxHeight:t};if(!i&&v>=r||i&&A>=r){var j=t;return(!i&&v>=r||i&&A>=r)&&(j=i?A-P:v-P),a&&ms(l,M,k),{placement:"top",maxHeight:j}}return{placement:"bottom",maxHeight:t};default:throw new Error('Invalid placement provided "'.concat(o,'".'))}return u}function eA(e){var t={bottom:"top",top:"bottom"};return e?t[e]:"bottom"}var lb=function(t){return t==="auto"?"bottom":t},tA=function(t,n){var r,o=t.placement,a=t.theme,i=a.borderRadius,s=a.spacing,l=a.colors;return ce((r={label:"menu"},qo(r,eA(o),"100%"),qo(r,"position","absolute"),qo(r,"width","100%"),qo(r,"zIndex",1),r),n?{}:{backgroundColor:l.neutral0,borderRadius:i,boxShadow:"0 0 0 1px hsla(0, 0%, 0%, 0.1), 0 4px 11px hsla(0, 0%, 0%, 0.1)",marginBottom:s.menuGutter,marginTop:s.menuGutter})},ub=f.createContext(null),nA=function(t){var n=t.children,r=t.minMenuHeight,o=t.maxMenuHeight,a=t.menuPlacement,i=t.menuPosition,s=t.menuShouldScrollIntoView,l=t.theme,u=f.useContext(ub)||{},c=u.setPortalPlacement,d=f.useRef(null),p=f.useState(o),m=mn(p,2),h=m[0],g=m[1],b=f.useState(null),x=mn(b,2),y=x[0],w=x[1],S=l.spacing.controlHeight;return uu(function(){var P=d.current;if(P){var A=i==="fixed",T=s&&!A,v=qM({maxHeight:o,menuEl:P,minHeight:r,placement:a,shouldScroll:T,isFixedPosition:A,controlHeight:S});g(v.maxHeight),w(v.placement),c==null||c(v.placement)}},[o,a,i,s,r,c,S]),n({ref:d,placerProps:ce(ce({},t),{},{placement:y||lb(a),maxHeight:h})})},rA=function(t){var n=t.children,r=t.innerRef,o=t.innerProps;return ue("div",de({},He(t,"menu",{menu:!0}),{ref:r},o),n)},oA=rA,aA=function(t,n){var r=t.maxHeight,o=t.theme.spacing.baseUnit;return ce({maxHeight:r,overflowY:"auto",position:"relative",WebkitOverflowScrolling:"touch"},n?{}:{paddingBottom:o,paddingTop:o})},iA=function(t){var n=t.children,r=t.innerProps,o=t.innerRef,a=t.isMulti;return ue("div",de({},He(t,"menuList",{"menu-list":!0,"menu-list--is-multi":a}),{ref:o},r),n)},cb=function(t,n){var r=t.theme,o=r.spacing.baseUnit,a=r.colors;return ce({textAlign:"center"},n?{}:{color:a.neutral40,padding:"".concat(o*2,"px ").concat(o*3,"px")})},sA=cb,lA=cb,uA=function(t){var n=t.children,r=n===void 0?"No options":n,o=t.innerProps,a=hn(t,JM);return ue("div",de({},He(ce(ce({},a),{},{children:r,innerProps:o}),"noOptionsMessage",{"menu-notice":!0,"menu-notice--no-options":!0}),o),r)},cA=function(t){var n=t.children,r=n===void 0?"Loading...":n,o=t.innerProps,a=hn(t,QM);return ue("div",de({},He(ce(ce({},a),{},{children:r,innerProps:o}),"loadingMessage",{"menu-notice":!0,"menu-notice--loading":!0}),o),r)},dA=function(t){var n=t.rect,r=t.offset,o=t.position;return{left:n.left,position:o,top:r,width:n.width,zIndex:1}},fA=function(t){var n=t.appendTo,r=t.children,o=t.controlElement,a=t.innerProps,i=t.menuPlacement,s=t.menuPosition,l=f.useRef(null),u=f.useRef(null),c=f.useState(lb(i)),d=mn(c,2),p=d[0],m=d[1],h=f.useMemo(function(){return{setPortalPlacement:m}},[]),g=f.useState(null),b=mn(g,2),x=b[0],y=b[1],w=f.useCallback(function(){if(o){var T=zM(o),v=s==="fixed"?0:window.pageYOffset,D=T[p]+v;(D!==(x==null?void 0:x.offset)||T.left!==(x==null?void 0:x.rect.left)||T.width!==(x==null?void 0:x.rect.width))&&y({offset:D,rect:T})}},[o,s,p,x==null?void 0:x.offset,x==null?void 0:x.rect.left,x==null?void 0:x.rect.width]);uu(function(){w()},[w]);var S=f.useCallback(function(){typeof u.current=="function"&&(u.current(),u.current=null),o&&l.current&&(u.current=VM(o,l.current,w,{elementResize:"ResizeObserver"in window}))},[o,w]);uu(function(){S()},[S]);var P=f.useCallback(function(T){l.current=T,S()},[S]);if(!n&&s!=="fixed"||!x)return null;var A=ue("div",de({ref:P},He(ce(ce({},t),{},{offset:x.offset,position:s,rect:x.rect}),"menuPortal",{"menu-portal":!0}),a),r);return ue(ub.Provider,{value:h},n?mr.createPortal(A,n):A)},pA=function(t){var n=t.isDisabled,r=t.isRtl;return{label:"container",direction:r?"rtl":void 0,pointerEvents:n?"none":void 0,position:"relative"}},mA=function(t){var n=t.children,r=t.innerProps,o=t.isDisabled,a=t.isRtl;return ue("div",de({},He(t,"container",{"--is-disabled":o,"--is-rtl":a}),r),n)},hA=function(t,n){var r=t.theme.spacing,o=t.isMulti,a=t.hasValue,i=t.selectProps.controlShouldRenderValue;return ce({alignItems:"center",display:o&&a&&i?"flex":"grid",flex:1,flexWrap:"wrap",WebkitOverflowScrolling:"touch",position:"relative",overflow:"hidden"},n?{}:{padding:"".concat(r.baseUnit/2,"px ").concat(r.baseUnit*2,"px")})},gA=function(t){var n=t.children,r=t.innerProps,o=t.isMulti,a=t.hasValue;return ue("div",de({},He(t,"valueContainer",{"value-container":!0,"value-container--is-multi":o,"value-container--has-value":a}),r),n)},bA=function(){return{alignItems:"center",alignSelf:"stretch",display:"flex",flexShrink:0}},vA=function(t){var n=t.children,r=t.innerProps;return ue("div",de({},He(t,"indicatorsContainer",{indicators:!0}),r),n)},db,yA=["size"],xA=["innerProps","isRtl","size"];function CA(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}var wA=process.env.NODE_ENV==="production"?{name:"8mmkcg",styles:"display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0"}:{name:"tj5bde-Svg",styles:"display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0;label:Svg;",map:"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGljYXRvcnMudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXlCSSIsImZpbGUiOiJpbmRpY2F0b3JzLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgUmVhY3ROb2RlIH0gZnJvbSAncmVhY3QnO1xuaW1wb3J0IHsganN4LCBrZXlmcmFtZXMgfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5cbmltcG9ydCB7XG4gIENvbW1vblByb3BzQW5kQ2xhc3NOYW1lLFxuICBDU1NPYmplY3RXaXRoTGFiZWwsXG4gIEdyb3VwQmFzZSxcbn0gZnJvbSAnLi4vdHlwZXMnO1xuaW1wb3J0IHsgZ2V0U3R5bGVQcm9wcyB9IGZyb20gJy4uL3V0aWxzJztcblxuLy8gPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09XG4vLyBEcm9wZG93biAmIENsZWFyIEljb25zXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cblxuY29uc3QgU3ZnID0gKHtcbiAgc2l6ZSxcbiAgLi4ucHJvcHNcbn06IEpTWC5JbnRyaW5zaWNFbGVtZW50c1snc3ZnJ10gJiB7IHNpemU6IG51bWJlciB9KSA9PiAoXG4gIDxzdmdcbiAgICBoZWlnaHQ9e3NpemV9XG4gICAgd2lkdGg9e3NpemV9XG4gICAgdmlld0JveD1cIjAgMCAyMCAyMFwiXG4gICAgYXJpYS1oaWRkZW49XCJ0cnVlXCJcbiAgICBmb2N1c2FibGU9XCJmYWxzZVwiXG4gICAgY3NzPXt7XG4gICAgICBkaXNwbGF5OiAnaW5saW5lLWJsb2NrJyxcbiAgICAgIGZpbGw6ICdjdXJyZW50Q29sb3InLFxuICAgICAgbGluZUhlaWdodDogMSxcbiAgICAgIHN0cm9rZTogJ2N1cnJlbnRDb2xvcicsXG4gICAgICBzdHJva2VXaWR0aDogMCxcbiAgICB9fVxuICAgIHsuLi5wcm9wc31cbiAgLz5cbik7XG5cbmV4cG9ydCB0eXBlIENyb3NzSWNvblByb3BzID0gSlNYLkludHJpbnNpY0VsZW1lbnRzWydzdmcnXSAmIHsgc2l6ZT86IG51bWJlciB9O1xuZXhwb3J0IGNvbnN0IENyb3NzSWNvbiA9IChwcm9wczogQ3Jvc3NJY29uUHJvcHMpID0+IChcbiAgPFN2ZyBzaXplPXsyMH0gey4uLnByb3BzfT5cbiAgICA8cGF0aCBkPVwiTTE0LjM0OCAxNC44NDljLTAuNDY5IDAuNDY5LTEuMjI5IDAuNDY5LTEuNjk3IDBsLTIuNjUxLTMuMDMwLTIuNjUxIDMuMDI5Yy0wLjQ2OSAwLjQ2OS0xLjIyOSAwLjQ2OS0xLjY5NyAwLTAuNDY5LTAuNDY5LTAuNDY5LTEuMjI5IDAtMS42OTdsMi43NTgtMy4xNS0yLjc1OS0zLjE1MmMtMC40NjktMC40NjktMC40NjktMS4yMjggMC0xLjY5N3MxLjIyOC0wLjQ2OSAxLjY5NyAwbDIuNjUyIDMuMDMxIDIuNjUxLTMuMDMxYzAuNDY5LTAuNDY5IDEuMjI4LTAuNDY5IDEuNjk3IDBzMC40NjkgMS4yMjkgMCAxLjY5N2wtMi43NTggMy4xNTIgMi43NTggMy4xNWMwLjQ2OSAwLjQ2OSAwLjQ2OSAxLjIyOSAwIDEuNjk4elwiIC8+XG4gIDwvU3ZnPlxuKTtcbmV4cG9ydCB0eXBlIERvd25DaGV2cm9uUHJvcHMgPSBKU1guSW50cmluc2ljRWxlbWVudHNbJ3N2ZyddICYgeyBzaXplPzogbnVtYmVyIH07XG5leHBvcnQgY29uc3QgRG93bkNoZXZyb24gPSAocHJvcHM6IERvd25DaGV2cm9uUHJvcHMpID0+IChcbiAgPFN2ZyBzaXplPXsyMH0gey4uLnByb3BzfT5cbiAgICA8cGF0aCBkPVwiTTQuNTE2IDcuNTQ4YzAuNDM2LTAuNDQ2IDEuMDQzLTAuNDgxIDEuNTc2IDBsMy45MDggMy43NDcgMy45MDgtMy43NDdjMC41MzMtMC40ODEgMS4xNDEtMC40NDYgMS41NzQgMCAwLjQzNiAwLjQ0NSAwLjQwOCAxLjE5NyAwIDEuNjE1LTAuNDA2IDAuNDE4LTQuNjk1IDQuNTAyLTQuNjk1IDQuNTAyLTAuMjE3IDAuMjIzLTAuNTAyIDAuMzM1LTAuNzg3IDAuMzM1cy0wLjU3LTAuMTEyLTAuNzg5LTAuMzM1YzAgMC00LjI4Ny00LjA4NC00LjY5NS00LjUwMnMtMC40MzYtMS4xNyAwLTEuNjE1elwiIC8+XG4gIDwvU3ZnPlxuKTtcblxuLy8gPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09XG4vLyBEcm9wZG93biAmIENsZWFyIEJ1dHRvbnNcbi8vID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxuXG5leHBvcnQgaW50ZXJmYWNlIERyb3Bkb3duSW5kaWNhdG9yUHJvcHM8XG4gIE9wdGlvbiA9IHVua25vd24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuID0gYm9vbGVhbixcbiAgR3JvdXAgZXh0ZW5kcyBHcm91cEJhc2U8T3B0aW9uPiA9IEdyb3VwQmFzZTxPcHRpb24+XG4+IGV4dGVuZHMgQ29tbW9uUHJvcHNBbmRDbGFzc05hbWU8T3B0aW9uLCBJc011bHRpLCBHcm91cD4ge1xuICAvKiogVGhlIGNoaWxkcmVuIHRvIGJlIHJlbmRlcmVkIGluc2lkZSB0aGUgaW5kaWNhdG9yLiAqL1xuICBjaGlsZHJlbj86IFJlYWN0Tm9kZTtcbiAgLyoqIFByb3BzIHRoYXQgd2lsbCBiZSBwYXNzZWQgb24gdG8gdGhlIGNoaWxkcmVuLiAqL1xuICBpbm5lclByb3BzOiBKU1guSW50cmluc2ljRWxlbWVudHNbJ2RpdiddO1xuICAvKiogVGhlIGZvY3VzZWQgc3RhdGUgb2YgdGhlIHNlbGVjdC4gKi9cbiAgaXNGb2N1c2VkOiBib29sZWFuO1xuICBpc0Rpc2FibGVkOiBib29sZWFuO1xufVxuXG5jb25zdCBiYXNlQ1NTID0gPFxuICBPcHRpb24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+XG4+KFxuICB7XG4gICAgaXNGb2N1c2VkLFxuICAgIHRoZW1lOiB7XG4gICAgICBzcGFjaW5nOiB7IGJhc2VVbml0IH0sXG4gICAgICBjb2xvcnMsXG4gICAgfSxcbiAgfTpcbiAgICB8IERyb3Bkb3duSW5kaWNhdG9yUHJvcHM8T3B0aW9uLCBJc011bHRpLCBHcm91cD5cbiAgICB8IENsZWFySW5kaWNhdG9yUHJvcHM8T3B0aW9uLCBJc011bHRpLCBHcm91cD4sXG4gIHVuc3R5bGVkOiBib29sZWFuXG4pOiBDU1NPYmplY3RXaXRoTGFiZWwgPT4gKHtcbiAgbGFiZWw6ICdpbmRpY2F0b3JDb250YWluZXInLFxuICBkaXNwbGF5OiAnZmxleCcsXG4gIHRyYW5zaXRpb246ICdjb2xvciAxNTBtcycsXG4gIC4uLih1bnN0eWxlZFxuICAgID8ge31cbiAgICA6IHtcbiAgICAgICAgY29sb3I6IGlzRm9jdXNlZCA/IGNvbG9ycy5uZXV0cmFsNjAgOiBjb2xvcnMubmV1dHJhbDIwLFxuICAgICAgICBwYWRkaW5nOiBiYXNlVW5pdCAqIDIsXG4gICAgICAgICc6aG92ZXInOiB7XG4gICAgICAgICAgY29sb3I6IGlzRm9jdXNlZCA/IGNvbG9ycy5uZXV0cmFsODAgOiBjb2xvcnMubmV1dHJhbDQwLFxuICAgICAgICB9LFxuICAgICAgfSksXG59KTtcblxuZXhwb3J0IGNvbnN0IGRyb3Bkb3duSW5kaWNhdG9yQ1NTID0gYmFzZUNTUztcbmV4cG9ydCBjb25zdCBEcm9wZG93bkluZGljYXRvciA9IDxcbiAgT3B0aW9uLFxuICBJc011bHRpIGV4dGVuZHMgYm9vbGVhbixcbiAgR3JvdXAgZXh0ZW5kcyBHcm91cEJhc2U8T3B0aW9uPlxuPihcbiAgcHJvcHM6IERyb3Bkb3duSW5kaWNhdG9yUHJvcHM8T3B0aW9uLCBJc011bHRpLCBHcm91cD5cbikgPT4ge1xuICBjb25zdCB7IGNoaWxkcmVuLCBpbm5lclByb3BzIH0gPSBwcm9wcztcbiAgcmV0dXJuIChcbiAgICA8ZGl2XG4gICAgICB7Li4uZ2V0U3R5bGVQcm9wcyhwcm9wcywgJ2Ryb3Bkb3duSW5kaWNhdG9yJywge1xuICAgICAgICBpbmRpY2F0b3I6IHRydWUsXG4gICAgICAgICdkcm9wZG93bi1pbmRpY2F0b3InOiB0cnVlLFxuICAgICAgfSl9XG4gICAgICB7Li4uaW5uZXJQcm9wc31cbiAgICA+XG4gICAgICB7Y2hpbGRyZW4gfHwgPERvd25DaGV2cm9uIC8+fVxuICAgIDwvZGl2PlxuICApO1xufTtcblxuZXhwb3J0IGludGVyZmFjZSBDbGVhckluZGljYXRvclByb3BzPFxuICBPcHRpb24gPSB1bmtub3duLFxuICBJc011bHRpIGV4dGVuZHMgYm9vbGVhbiA9IGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj4gPSBHcm91cEJhc2U8T3B0aW9uPlxuPiBleHRlbmRzIENvbW1vblByb3BzQW5kQ2xhc3NOYW1lPE9wdGlvbiwgSXNNdWx0aSwgR3JvdXA+IHtcbiAgLyoqIFRoZSBjaGlsZHJlbiB0byBiZSByZW5kZXJlZCBpbnNpZGUgdGhlIGluZGljYXRvci4gKi9cbiAgY2hpbGRyZW4/OiBSZWFjdE5vZGU7XG4gIC8qKiBQcm9wcyB0aGF0IHdpbGwgYmUgcGFzc2VkIG9uIHRvIHRoZSBjaGlsZHJlbi4gKi9cbiAgaW5uZXJQcm9wczogSlNYLkludHJpbnNpY0VsZW1lbnRzWydkaXYnXTtcbiAgLyoqIFRoZSBmb2N1c2VkIHN0YXRlIG9mIHRoZSBzZWxlY3QuICovXG4gIGlzRm9jdXNlZDogYm9vbGVhbjtcbn1cblxuZXhwb3J0IGNvbnN0IGNsZWFySW5kaWNhdG9yQ1NTID0gYmFzZUNTUztcbmV4cG9ydCBjb25zdCBDbGVhckluZGljYXRvciA9IDxcbiAgT3B0aW9uLFxuICBJc011bHRpIGV4dGVuZHMgYm9vbGVhbixcbiAgR3JvdXAgZXh0ZW5kcyBHcm91cEJhc2U8T3B0aW9uPlxuPihcbiAgcHJvcHM6IENsZWFySW5kaWNhdG9yUHJvcHM8T3B0aW9uLCBJc011bHRpLCBHcm91cD5cbikgPT4ge1xuICBjb25zdCB7IGNoaWxkcmVuLCBpbm5lclByb3BzIH0gPSBwcm9wcztcbiAgcmV0dXJuIChcbiAgICA8ZGl2XG4gICAgICB7Li4uZ2V0U3R5bGVQcm9wcyhwcm9wcywgJ2NsZWFySW5kaWNhdG9yJywge1xuICAgICAgICBpbmRpY2F0b3I6IHRydWUsXG4gICAgICAgICdjbGVhci1pbmRpY2F0b3InOiB0cnVlLFxuICAgICAgfSl9XG4gICAgICB7Li4uaW5uZXJQcm9wc31cbiAgICA+XG4gICAgICB7Y2hpbGRyZW4gfHwgPENyb3NzSWNvbiAvPn1cbiAgICA8L2Rpdj5cbiAgKTtcbn07XG5cbi8vID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxuLy8gU2VwYXJhdG9yXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cblxuZXhwb3J0IGludGVyZmFjZSBJbmRpY2F0b3JTZXBhcmF0b3JQcm9wczxcbiAgT3B0aW9uID0gdW5rbm93bixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4gPSBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+ID0gR3JvdXBCYXNlPE9wdGlvbj5cbj4gZXh0ZW5kcyBDb21tb25Qcm9wc0FuZENsYXNzTmFtZTxPcHRpb24sIElzTXVsdGksIEdyb3VwPiB7XG4gIGlzRGlzYWJsZWQ6IGJvb2xlYW47XG4gIGlzRm9jdXNlZDogYm9vbGVhbjtcbiAgaW5uZXJQcm9wcz86IEpTWC5JbnRyaW5zaWNFbGVtZW50c1snc3BhbiddO1xufVxuXG5leHBvcnQgY29uc3QgaW5kaWNhdG9yU2VwYXJhdG9yQ1NTID0gPFxuICBPcHRpb24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+XG4+KFxuICB7XG4gICAgaXNEaXNhYmxlZCxcbiAgICB0aGVtZToge1xuICAgICAgc3BhY2luZzogeyBiYXNlVW5pdCB9LFxuICAgICAgY29sb3JzLFxuICAgIH0sXG4gIH06IEluZGljYXRvclNlcGFyYXRvclByb3BzPE9wdGlvbiwgSXNNdWx0aSwgR3JvdXA+LFxuICB1bnN0eWxlZDogYm9vbGVhblxuKTogQ1NTT2JqZWN0V2l0aExhYmVsID0+ICh7XG4gIGxhYmVsOiAnaW5kaWNhdG9yU2VwYXJhdG9yJyxcbiAgYWxpZ25TZWxmOiAnc3RyZXRjaCcsXG4gIHdpZHRoOiAxLFxuICAuLi4odW5zdHlsZWRcbiAgICA/IHt9XG4gICAgOiB7XG4gICAgICAgIGJhY2tncm91bmRDb2xvcjogaXNEaXNhYmxlZCA/IGNvbG9ycy5uZXV0cmFsMTAgOiBjb2xvcnMubmV1dHJhbDIwLFxuICAgICAgICBtYXJnaW5Cb3R0b206IGJhc2VVbml0ICogMixcbiAgICAgICAgbWFyZ2luVG9wOiBiYXNlVW5pdCAqIDIsXG4gICAgICB9KSxcbn0pO1xuXG5leHBvcnQgY29uc3QgSW5kaWNhdG9yU2VwYXJhdG9yID0gPFxuICBPcHRpb24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+XG4+KFxuICBwcm9wczogSW5kaWNhdG9yU2VwYXJhdG9yUHJvcHM8T3B0aW9uLCBJc011bHRpLCBHcm91cD5cbikgPT4ge1xuICBjb25zdCB7IGlubmVyUHJvcHMgfSA9IHByb3BzO1xuICByZXR1cm4gKFxuICAgIDxzcGFuXG4gICAgICB7Li4uaW5uZXJQcm9wc31cbiAgICAgIHsuLi5nZXRTdHlsZVByb3BzKHByb3BzLCAnaW5kaWNhdG9yU2VwYXJhdG9yJywge1xuICAgICAgICAnaW5kaWNhdG9yLXNlcGFyYXRvcic6IHRydWUsXG4gICAgICB9KX1cbiAgICAvPlxuICApO1xufTtcblxuLy8gPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09XG4vLyBMb2FkaW5nXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cblxuY29uc3QgbG9hZGluZ0RvdEFuaW1hdGlvbnMgPSBrZXlmcmFtZXNgXG4gIDAlLCA4MCUsIDEwMCUgeyBvcGFjaXR5OiAwOyB9XG4gIDQwJSB7IG9wYWNpdHk6IDE7IH1cbmA7XG5cbmV4cG9ydCBjb25zdCBsb2FkaW5nSW5kaWNhdG9yQ1NTID0gPFxuICBPcHRpb24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+XG4+KFxuICB7XG4gICAgaXNGb2N1c2VkLFxuICAgIHNpemUsXG4gICAgdGhlbWU6IHtcbiAgICAgIGNvbG9ycyxcbiAgICAgIHNwYWNpbmc6IHsgYmFzZVVuaXQgfSxcbiAgICB9LFxuICB9OiBMb2FkaW5nSW5kaWNhdG9yUHJvcHM8T3B0aW9uLCBJc011bHRpLCBHcm91cD4sXG4gIHVuc3R5bGVkOiBib29sZWFuXG4pOiBDU1NPYmplY3RXaXRoTGFiZWwgPT4gKHtcbiAgbGFiZWw6ICdsb2FkaW5nSW5kaWNhdG9yJyxcbiAgZGlzcGxheTogJ2ZsZXgnLFxuICB0cmFuc2l0aW9uOiAnY29sb3IgMTUwbXMnLFxuICBhbGlnblNlbGY6ICdjZW50ZXInLFxuICBmb250U2l6ZTogc2l6ZSxcbiAgbGluZUhlaWdodDogMSxcbiAgbWFyZ2luUmlnaHQ6IHNpemUsXG4gIHRleHRBbGlnbjogJ2NlbnRlcicsXG4gIHZlcnRpY2FsQWxpZ246ICdtaWRkbGUnLFxuICAuLi4odW5zdHlsZWRcbiAgICA/IHt9XG4gICAgOiB7XG4gICAgICAgIGNvbG9yOiBpc0ZvY3VzZWQgPyBjb2xvcnMubmV1dHJhbDYwIDogY29sb3JzLm5ldXRyYWwyMCxcbiAgICAgICAgcGFkZGluZzogYmFzZVVuaXQgKiAyLFxuICAgICAgfSksXG59KTtcblxuaW50ZXJmYWNlIExvYWRpbmdEb3RQcm9wcyB7XG4gIGRlbGF5OiBudW1iZXI7XG4gIG9mZnNldDogYm9vbGVhbjtcbn1cbmNvbnN0IExvYWRpbmdEb3QgPSAoeyBkZWxheSwgb2Zmc2V0IH06IExvYWRpbmdEb3RQcm9wcykgPT4gKFxuICA8c3BhblxuICAgIGNzcz17e1xuICAgICAgYW5pbWF0aW9uOiBgJHtsb2FkaW5nRG90QW5pbWF0aW9uc30gMXMgZWFzZS1pbi1vdXQgJHtkZWxheX1tcyBpbmZpbml0ZTtgLFxuICAgICAgYmFja2dyb3VuZENvbG9yOiAnY3VycmVudENvbG9yJyxcbiAgICAgIGJvcmRlclJhZGl1czogJzFlbScsXG4gICAgICBkaXNwbGF5OiAnaW5saW5lLWJsb2NrJyxcbiAgICAgIG1hcmdpbkxlZnQ6IG9mZnNldCA/ICcxZW0nIDogdW5kZWZpbmVkLFxuICAgICAgaGVpZ2h0OiAnMWVtJyxcbiAgICAgIHZlcnRpY2FsQWxpZ246ICd0b3AnLFxuICAgICAgd2lkdGg6ICcxZW0nLFxuICAgIH19XG4gIC8+XG4pO1xuXG5leHBvcnQgaW50ZXJmYWNlIExvYWRpbmdJbmRpY2F0b3JQcm9wczxcbiAgT3B0aW9uID0gdW5rbm93bixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4gPSBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+ID0gR3JvdXBCYXNlPE9wdGlvbj5cbj4gZXh0ZW5kcyBDb21tb25Qcm9wc0FuZENsYXNzTmFtZTxPcHRpb24sIElzTXVsdGksIEdyb3VwPiB7XG4gIC8qKiBQcm9wcyB0aGF0IHdpbGwgYmUgcGFzc2VkIG9uIHRvIHRoZSBjaGlsZHJlbi4gKi9cbiAgaW5uZXJQcm9wczogSlNYLkludHJpbnNpY0VsZW1lbnRzWydkaXYnXTtcbiAgLyoqIFRoZSBmb2N1c2VkIHN0YXRlIG9mIHRoZSBzZWxlY3QuICovXG4gIGlzRm9jdXNlZDogYm9vbGVhbjtcbiAgaXNEaXNhYmxlZDogYm9vbGVhbjtcbiAgLyoqIFNldCBzaXplIG9mIHRoZSBjb250YWluZXIuICovXG4gIHNpemU6IG51bWJlcjtcbn1cbmV4cG9ydCBjb25zdCBMb2FkaW5nSW5kaWNhdG9yID0gPFxuICBPcHRpb24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+XG4+KHtcbiAgaW5uZXJQcm9wcyxcbiAgaXNSdGwsXG4gIHNpemUgPSA0LFxuICAuLi5yZXN0UHJvcHNcbn06IExvYWRpbmdJbmRpY2F0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPikgPT4ge1xuICByZXR1cm4gKFxuICAgIDxkaXZcbiAgICAgIHsuLi5nZXRTdHlsZVByb3BzKFxuICAgICAgICB7IC4uLnJlc3RQcm9wcywgaW5uZXJQcm9wcywgaXNSdGwsIHNpemUgfSxcbiAgICAgICAgJ2xvYWRpbmdJbmRpY2F0b3InLFxuICAgICAgICB7XG4gICAgICAgICAgaW5kaWNhdG9yOiB0cnVlLFxuICAgICAgICAgICdsb2FkaW5nLWluZGljYXRvcic6IHRydWUsXG4gICAgICAgIH1cbiAgICAgICl9XG4gICAgICB7Li4uaW5uZXJQcm9wc31cbiAgICA+XG4gICAgICA8TG9hZGluZ0RvdCBkZWxheT17MH0gb2Zmc2V0PXtpc1J0bH0gLz5cbiAgICAgIDxMb2FkaW5nRG90IGRlbGF5PXsxNjB9IG9mZnNldCAvPlxuICAgICAgPExvYWRpbmdEb3QgZGVsYXk9ezMyMH0gb2Zmc2V0PXshaXNSdGx9IC8+XG4gICAgPC9kaXY+XG4gICk7XG59O1xuIl19 */",toString:CA},fb=function(t){var n=t.size,r=hn(t,yA);return ue("svg",de({height:n,width:n,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",css:wA},r))},Xc=function(t){return ue(fb,de({size:20},t),ue("path",{d:"M14.348 14.849c-0.469 0.469-1.229 0.469-1.697 0l-2.651-3.030-2.651 3.029c-0.469 0.469-1.229 0.469-1.697 0-0.469-0.469-0.469-1.229 0-1.697l2.758-3.15-2.759-3.152c-0.469-0.469-0.469-1.228 0-1.697s1.228-0.469 1.697 0l2.652 3.031 2.651-3.031c0.469-0.469 1.228-0.469 1.697 0s0.469 1.229 0 1.697l-2.758 3.152 2.758 3.15c0.469 0.469 0.469 1.229 0 1.698z"}))},pb=function(t){return ue(fb,de({size:20},t),ue("path",{d:"M4.516 7.548c0.436-0.446 1.043-0.481 1.576 0l3.908 3.747 3.908-3.747c0.533-0.481 1.141-0.446 1.574 0 0.436 0.445 0.408 1.197 0 1.615-0.406 0.418-4.695 4.502-4.695 4.502-0.217 0.223-0.502 0.335-0.787 0.335s-0.57-0.112-0.789-0.335c0 0-4.287-4.084-4.695-4.502s-0.436-1.17 0-1.615z"}))},mb=function(t,n){var r=t.isFocused,o=t.theme,a=o.spacing.baseUnit,i=o.colors;return ce({label:"indicatorContainer",display:"flex",transition:"color 150ms"},n?{}:{color:r?i.neutral60:i.neutral20,padding:a*2,":hover":{color:r?i.neutral80:i.neutral40}})},IA=mb,EA=function(t){var n=t.children,r=t.innerProps;return ue("div",de({},He(t,"dropdownIndicator",{indicator:!0,"dropdown-indicator":!0}),r),n||ue(pb,null))},PA=mb,SA=function(t){var n=t.children,r=t.innerProps;return ue("div",de({},He(t,"clearIndicator",{indicator:!0,"clear-indicator":!0}),r),n||ue(Xc,null))},MA=function(t,n){var r=t.isDisabled,o=t.theme,a=o.spacing.baseUnit,i=o.colors;return ce({label:"indicatorSeparator",alignSelf:"stretch",width:1},n?{}:{backgroundColor:r?i.neutral10:i.neutral20,marginBottom:a*2,marginTop:a*2})},AA=function(t){var n=t.innerProps;return ue("span",de({},n,He(t,"indicatorSeparator",{"indicator-separator":!0})))},TA=yM(db||(db=PM([`
129
+ 0%, 80%, 100% { opacity: 0; }
130
+ 40% { opacity: 1; }
131
+ `]))),DA=function(t,n){var r=t.isFocused,o=t.size,a=t.theme,i=a.colors,s=a.spacing.baseUnit;return ce({label:"loadingIndicator",display:"flex",transition:"color 150ms",alignSelf:"center",fontSize:o,lineHeight:1,marginRight:o,textAlign:"center",verticalAlign:"middle"},n?{}:{color:r?i.neutral60:i.neutral20,padding:s*2})},Zc=function(t){var n=t.delay,r=t.offset;return ue("span",{css:Wc({animation:"".concat(TA," 1s ease-in-out ").concat(n,"ms infinite;"),backgroundColor:"currentColor",borderRadius:"1em",display:"inline-block",marginLeft:r?"1em":void 0,height:"1em",verticalAlign:"top",width:"1em"},process.env.NODE_ENV==="production"?"":";label:LoadingDot;",process.env.NODE_ENV==="production"?"":"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGljYXRvcnMudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQW1RSSIsImZpbGUiOiJpbmRpY2F0b3JzLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgUmVhY3ROb2RlIH0gZnJvbSAncmVhY3QnO1xuaW1wb3J0IHsganN4LCBrZXlmcmFtZXMgfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5cbmltcG9ydCB7XG4gIENvbW1vblByb3BzQW5kQ2xhc3NOYW1lLFxuICBDU1NPYmplY3RXaXRoTGFiZWwsXG4gIEdyb3VwQmFzZSxcbn0gZnJvbSAnLi4vdHlwZXMnO1xuaW1wb3J0IHsgZ2V0U3R5bGVQcm9wcyB9IGZyb20gJy4uL3V0aWxzJztcblxuLy8gPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09XG4vLyBEcm9wZG93biAmIENsZWFyIEljb25zXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cblxuY29uc3QgU3ZnID0gKHtcbiAgc2l6ZSxcbiAgLi4ucHJvcHNcbn06IEpTWC5JbnRyaW5zaWNFbGVtZW50c1snc3ZnJ10gJiB7IHNpemU6IG51bWJlciB9KSA9PiAoXG4gIDxzdmdcbiAgICBoZWlnaHQ9e3NpemV9XG4gICAgd2lkdGg9e3NpemV9XG4gICAgdmlld0JveD1cIjAgMCAyMCAyMFwiXG4gICAgYXJpYS1oaWRkZW49XCJ0cnVlXCJcbiAgICBmb2N1c2FibGU9XCJmYWxzZVwiXG4gICAgY3NzPXt7XG4gICAgICBkaXNwbGF5OiAnaW5saW5lLWJsb2NrJyxcbiAgICAgIGZpbGw6ICdjdXJyZW50Q29sb3InLFxuICAgICAgbGluZUhlaWdodDogMSxcbiAgICAgIHN0cm9rZTogJ2N1cnJlbnRDb2xvcicsXG4gICAgICBzdHJva2VXaWR0aDogMCxcbiAgICB9fVxuICAgIHsuLi5wcm9wc31cbiAgLz5cbik7XG5cbmV4cG9ydCB0eXBlIENyb3NzSWNvblByb3BzID0gSlNYLkludHJpbnNpY0VsZW1lbnRzWydzdmcnXSAmIHsgc2l6ZT86IG51bWJlciB9O1xuZXhwb3J0IGNvbnN0IENyb3NzSWNvbiA9IChwcm9wczogQ3Jvc3NJY29uUHJvcHMpID0+IChcbiAgPFN2ZyBzaXplPXsyMH0gey4uLnByb3BzfT5cbiAgICA8cGF0aCBkPVwiTTE0LjM0OCAxNC44NDljLTAuNDY5IDAuNDY5LTEuMjI5IDAuNDY5LTEuNjk3IDBsLTIuNjUxLTMuMDMwLTIuNjUxIDMuMDI5Yy0wLjQ2OSAwLjQ2OS0xLjIyOSAwLjQ2OS0xLjY5NyAwLTAuNDY5LTAuNDY5LTAuNDY5LTEuMjI5IDAtMS42OTdsMi43NTgtMy4xNS0yLjc1OS0zLjE1MmMtMC40NjktMC40NjktMC40NjktMS4yMjggMC0xLjY5N3MxLjIyOC0wLjQ2OSAxLjY5NyAwbDIuNjUyIDMuMDMxIDIuNjUxLTMuMDMxYzAuNDY5LTAuNDY5IDEuMjI4LTAuNDY5IDEuNjk3IDBzMC40NjkgMS4yMjkgMCAxLjY5N2wtMi43NTggMy4xNTIgMi43NTggMy4xNWMwLjQ2OSAwLjQ2OSAwLjQ2OSAxLjIyOSAwIDEuNjk4elwiIC8+XG4gIDwvU3ZnPlxuKTtcbmV4cG9ydCB0eXBlIERvd25DaGV2cm9uUHJvcHMgPSBKU1guSW50cmluc2ljRWxlbWVudHNbJ3N2ZyddICYgeyBzaXplPzogbnVtYmVyIH07XG5leHBvcnQgY29uc3QgRG93bkNoZXZyb24gPSAocHJvcHM6IERvd25DaGV2cm9uUHJvcHMpID0+IChcbiAgPFN2ZyBzaXplPXsyMH0gey4uLnByb3BzfT5cbiAgICA8cGF0aCBkPVwiTTQuNTE2IDcuNTQ4YzAuNDM2LTAuNDQ2IDEuMDQzLTAuNDgxIDEuNTc2IDBsMy45MDggMy43NDcgMy45MDgtMy43NDdjMC41MzMtMC40ODEgMS4xNDEtMC40NDYgMS41NzQgMCAwLjQzNiAwLjQ0NSAwLjQwOCAxLjE5NyAwIDEuNjE1LTAuNDA2IDAuNDE4LTQuNjk1IDQuNTAyLTQuNjk1IDQuNTAyLTAuMjE3IDAuMjIzLTAuNTAyIDAuMzM1LTAuNzg3IDAuMzM1cy0wLjU3LTAuMTEyLTAuNzg5LTAuMzM1YzAgMC00LjI4Ny00LjA4NC00LjY5NS00LjUwMnMtMC40MzYtMS4xNyAwLTEuNjE1elwiIC8+XG4gIDwvU3ZnPlxuKTtcblxuLy8gPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09XG4vLyBEcm9wZG93biAmIENsZWFyIEJ1dHRvbnNcbi8vID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxuXG5leHBvcnQgaW50ZXJmYWNlIERyb3Bkb3duSW5kaWNhdG9yUHJvcHM8XG4gIE9wdGlvbiA9IHVua25vd24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuID0gYm9vbGVhbixcbiAgR3JvdXAgZXh0ZW5kcyBHcm91cEJhc2U8T3B0aW9uPiA9IEdyb3VwQmFzZTxPcHRpb24+XG4+IGV4dGVuZHMgQ29tbW9uUHJvcHNBbmRDbGFzc05hbWU8T3B0aW9uLCBJc011bHRpLCBHcm91cD4ge1xuICAvKiogVGhlIGNoaWxkcmVuIHRvIGJlIHJlbmRlcmVkIGluc2lkZSB0aGUgaW5kaWNhdG9yLiAqL1xuICBjaGlsZHJlbj86IFJlYWN0Tm9kZTtcbiAgLyoqIFByb3BzIHRoYXQgd2lsbCBiZSBwYXNzZWQgb24gdG8gdGhlIGNoaWxkcmVuLiAqL1xuICBpbm5lclByb3BzOiBKU1guSW50cmluc2ljRWxlbWVudHNbJ2RpdiddO1xuICAvKiogVGhlIGZvY3VzZWQgc3RhdGUgb2YgdGhlIHNlbGVjdC4gKi9cbiAgaXNGb2N1c2VkOiBib29sZWFuO1xuICBpc0Rpc2FibGVkOiBib29sZWFuO1xufVxuXG5jb25zdCBiYXNlQ1NTID0gPFxuICBPcHRpb24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+XG4+KFxuICB7XG4gICAgaXNGb2N1c2VkLFxuICAgIHRoZW1lOiB7XG4gICAgICBzcGFjaW5nOiB7IGJhc2VVbml0IH0sXG4gICAgICBjb2xvcnMsXG4gICAgfSxcbiAgfTpcbiAgICB8IERyb3Bkb3duSW5kaWNhdG9yUHJvcHM8T3B0aW9uLCBJc011bHRpLCBHcm91cD5cbiAgICB8IENsZWFySW5kaWNhdG9yUHJvcHM8T3B0aW9uLCBJc011bHRpLCBHcm91cD4sXG4gIHVuc3R5bGVkOiBib29sZWFuXG4pOiBDU1NPYmplY3RXaXRoTGFiZWwgPT4gKHtcbiAgbGFiZWw6ICdpbmRpY2F0b3JDb250YWluZXInLFxuICBkaXNwbGF5OiAnZmxleCcsXG4gIHRyYW5zaXRpb246ICdjb2xvciAxNTBtcycsXG4gIC4uLih1bnN0eWxlZFxuICAgID8ge31cbiAgICA6IHtcbiAgICAgICAgY29sb3I6IGlzRm9jdXNlZCA/IGNvbG9ycy5uZXV0cmFsNjAgOiBjb2xvcnMubmV1dHJhbDIwLFxuICAgICAgICBwYWRkaW5nOiBiYXNlVW5pdCAqIDIsXG4gICAgICAgICc6aG92ZXInOiB7XG4gICAgICAgICAgY29sb3I6IGlzRm9jdXNlZCA/IGNvbG9ycy5uZXV0cmFsODAgOiBjb2xvcnMubmV1dHJhbDQwLFxuICAgICAgICB9LFxuICAgICAgfSksXG59KTtcblxuZXhwb3J0IGNvbnN0IGRyb3Bkb3duSW5kaWNhdG9yQ1NTID0gYmFzZUNTUztcbmV4cG9ydCBjb25zdCBEcm9wZG93bkluZGljYXRvciA9IDxcbiAgT3B0aW9uLFxuICBJc011bHRpIGV4dGVuZHMgYm9vbGVhbixcbiAgR3JvdXAgZXh0ZW5kcyBHcm91cEJhc2U8T3B0aW9uPlxuPihcbiAgcHJvcHM6IERyb3Bkb3duSW5kaWNhdG9yUHJvcHM8T3B0aW9uLCBJc011bHRpLCBHcm91cD5cbikgPT4ge1xuICBjb25zdCB7IGNoaWxkcmVuLCBpbm5lclByb3BzIH0gPSBwcm9wcztcbiAgcmV0dXJuIChcbiAgICA8ZGl2XG4gICAgICB7Li4uZ2V0U3R5bGVQcm9wcyhwcm9wcywgJ2Ryb3Bkb3duSW5kaWNhdG9yJywge1xuICAgICAgICBpbmRpY2F0b3I6IHRydWUsXG4gICAgICAgICdkcm9wZG93bi1pbmRpY2F0b3InOiB0cnVlLFxuICAgICAgfSl9XG4gICAgICB7Li4uaW5uZXJQcm9wc31cbiAgICA+XG4gICAgICB7Y2hpbGRyZW4gfHwgPERvd25DaGV2cm9uIC8+fVxuICAgIDwvZGl2PlxuICApO1xufTtcblxuZXhwb3J0IGludGVyZmFjZSBDbGVhckluZGljYXRvclByb3BzPFxuICBPcHRpb24gPSB1bmtub3duLFxuICBJc011bHRpIGV4dGVuZHMgYm9vbGVhbiA9IGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj4gPSBHcm91cEJhc2U8T3B0aW9uPlxuPiBleHRlbmRzIENvbW1vblByb3BzQW5kQ2xhc3NOYW1lPE9wdGlvbiwgSXNNdWx0aSwgR3JvdXA+IHtcbiAgLyoqIFRoZSBjaGlsZHJlbiB0byBiZSByZW5kZXJlZCBpbnNpZGUgdGhlIGluZGljYXRvci4gKi9cbiAgY2hpbGRyZW4/OiBSZWFjdE5vZGU7XG4gIC8qKiBQcm9wcyB0aGF0IHdpbGwgYmUgcGFzc2VkIG9uIHRvIHRoZSBjaGlsZHJlbi4gKi9cbiAgaW5uZXJQcm9wczogSlNYLkludHJpbnNpY0VsZW1lbnRzWydkaXYnXTtcbiAgLyoqIFRoZSBmb2N1c2VkIHN0YXRlIG9mIHRoZSBzZWxlY3QuICovXG4gIGlzRm9jdXNlZDogYm9vbGVhbjtcbn1cblxuZXhwb3J0IGNvbnN0IGNsZWFySW5kaWNhdG9yQ1NTID0gYmFzZUNTUztcbmV4cG9ydCBjb25zdCBDbGVhckluZGljYXRvciA9IDxcbiAgT3B0aW9uLFxuICBJc011bHRpIGV4dGVuZHMgYm9vbGVhbixcbiAgR3JvdXAgZXh0ZW5kcyBHcm91cEJhc2U8T3B0aW9uPlxuPihcbiAgcHJvcHM6IENsZWFySW5kaWNhdG9yUHJvcHM8T3B0aW9uLCBJc011bHRpLCBHcm91cD5cbikgPT4ge1xuICBjb25zdCB7IGNoaWxkcmVuLCBpbm5lclByb3BzIH0gPSBwcm9wcztcbiAgcmV0dXJuIChcbiAgICA8ZGl2XG4gICAgICB7Li4uZ2V0U3R5bGVQcm9wcyhwcm9wcywgJ2NsZWFySW5kaWNhdG9yJywge1xuICAgICAgICBpbmRpY2F0b3I6IHRydWUsXG4gICAgICAgICdjbGVhci1pbmRpY2F0b3InOiB0cnVlLFxuICAgICAgfSl9XG4gICAgICB7Li4uaW5uZXJQcm9wc31cbiAgICA+XG4gICAgICB7Y2hpbGRyZW4gfHwgPENyb3NzSWNvbiAvPn1cbiAgICA8L2Rpdj5cbiAgKTtcbn07XG5cbi8vID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxuLy8gU2VwYXJhdG9yXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cblxuZXhwb3J0IGludGVyZmFjZSBJbmRpY2F0b3JTZXBhcmF0b3JQcm9wczxcbiAgT3B0aW9uID0gdW5rbm93bixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4gPSBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+ID0gR3JvdXBCYXNlPE9wdGlvbj5cbj4gZXh0ZW5kcyBDb21tb25Qcm9wc0FuZENsYXNzTmFtZTxPcHRpb24sIElzTXVsdGksIEdyb3VwPiB7XG4gIGlzRGlzYWJsZWQ6IGJvb2xlYW47XG4gIGlzRm9jdXNlZDogYm9vbGVhbjtcbiAgaW5uZXJQcm9wcz86IEpTWC5JbnRyaW5zaWNFbGVtZW50c1snc3BhbiddO1xufVxuXG5leHBvcnQgY29uc3QgaW5kaWNhdG9yU2VwYXJhdG9yQ1NTID0gPFxuICBPcHRpb24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+XG4+KFxuICB7XG4gICAgaXNEaXNhYmxlZCxcbiAgICB0aGVtZToge1xuICAgICAgc3BhY2luZzogeyBiYXNlVW5pdCB9LFxuICAgICAgY29sb3JzLFxuICAgIH0sXG4gIH06IEluZGljYXRvclNlcGFyYXRvclByb3BzPE9wdGlvbiwgSXNNdWx0aSwgR3JvdXA+LFxuICB1bnN0eWxlZDogYm9vbGVhblxuKTogQ1NTT2JqZWN0V2l0aExhYmVsID0+ICh7XG4gIGxhYmVsOiAnaW5kaWNhdG9yU2VwYXJhdG9yJyxcbiAgYWxpZ25TZWxmOiAnc3RyZXRjaCcsXG4gIHdpZHRoOiAxLFxuICAuLi4odW5zdHlsZWRcbiAgICA/IHt9XG4gICAgOiB7XG4gICAgICAgIGJhY2tncm91bmRDb2xvcjogaXNEaXNhYmxlZCA/IGNvbG9ycy5uZXV0cmFsMTAgOiBjb2xvcnMubmV1dHJhbDIwLFxuICAgICAgICBtYXJnaW5Cb3R0b206IGJhc2VVbml0ICogMixcbiAgICAgICAgbWFyZ2luVG9wOiBiYXNlVW5pdCAqIDIsXG4gICAgICB9KSxcbn0pO1xuXG5leHBvcnQgY29uc3QgSW5kaWNhdG9yU2VwYXJhdG9yID0gPFxuICBPcHRpb24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+XG4+KFxuICBwcm9wczogSW5kaWNhdG9yU2VwYXJhdG9yUHJvcHM8T3B0aW9uLCBJc011bHRpLCBHcm91cD5cbikgPT4ge1xuICBjb25zdCB7IGlubmVyUHJvcHMgfSA9IHByb3BzO1xuICByZXR1cm4gKFxuICAgIDxzcGFuXG4gICAgICB7Li4uaW5uZXJQcm9wc31cbiAgICAgIHsuLi5nZXRTdHlsZVByb3BzKHByb3BzLCAnaW5kaWNhdG9yU2VwYXJhdG9yJywge1xuICAgICAgICAnaW5kaWNhdG9yLXNlcGFyYXRvcic6IHRydWUsXG4gICAgICB9KX1cbiAgICAvPlxuICApO1xufTtcblxuLy8gPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09XG4vLyBMb2FkaW5nXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cblxuY29uc3QgbG9hZGluZ0RvdEFuaW1hdGlvbnMgPSBrZXlmcmFtZXNgXG4gIDAlLCA4MCUsIDEwMCUgeyBvcGFjaXR5OiAwOyB9XG4gIDQwJSB7IG9wYWNpdHk6IDE7IH1cbmA7XG5cbmV4cG9ydCBjb25zdCBsb2FkaW5nSW5kaWNhdG9yQ1NTID0gPFxuICBPcHRpb24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+XG4+KFxuICB7XG4gICAgaXNGb2N1c2VkLFxuICAgIHNpemUsXG4gICAgdGhlbWU6IHtcbiAgICAgIGNvbG9ycyxcbiAgICAgIHNwYWNpbmc6IHsgYmFzZVVuaXQgfSxcbiAgICB9LFxuICB9OiBMb2FkaW5nSW5kaWNhdG9yUHJvcHM8T3B0aW9uLCBJc011bHRpLCBHcm91cD4sXG4gIHVuc3R5bGVkOiBib29sZWFuXG4pOiBDU1NPYmplY3RXaXRoTGFiZWwgPT4gKHtcbiAgbGFiZWw6ICdsb2FkaW5nSW5kaWNhdG9yJyxcbiAgZGlzcGxheTogJ2ZsZXgnLFxuICB0cmFuc2l0aW9uOiAnY29sb3IgMTUwbXMnLFxuICBhbGlnblNlbGY6ICdjZW50ZXInLFxuICBmb250U2l6ZTogc2l6ZSxcbiAgbGluZUhlaWdodDogMSxcbiAgbWFyZ2luUmlnaHQ6IHNpemUsXG4gIHRleHRBbGlnbjogJ2NlbnRlcicsXG4gIHZlcnRpY2FsQWxpZ246ICdtaWRkbGUnLFxuICAuLi4odW5zdHlsZWRcbiAgICA/IHt9XG4gICAgOiB7XG4gICAgICAgIGNvbG9yOiBpc0ZvY3VzZWQgPyBjb2xvcnMubmV1dHJhbDYwIDogY29sb3JzLm5ldXRyYWwyMCxcbiAgICAgICAgcGFkZGluZzogYmFzZVVuaXQgKiAyLFxuICAgICAgfSksXG59KTtcblxuaW50ZXJmYWNlIExvYWRpbmdEb3RQcm9wcyB7XG4gIGRlbGF5OiBudW1iZXI7XG4gIG9mZnNldDogYm9vbGVhbjtcbn1cbmNvbnN0IExvYWRpbmdEb3QgPSAoeyBkZWxheSwgb2Zmc2V0IH06IExvYWRpbmdEb3RQcm9wcykgPT4gKFxuICA8c3BhblxuICAgIGNzcz17e1xuICAgICAgYW5pbWF0aW9uOiBgJHtsb2FkaW5nRG90QW5pbWF0aW9uc30gMXMgZWFzZS1pbi1vdXQgJHtkZWxheX1tcyBpbmZpbml0ZTtgLFxuICAgICAgYmFja2dyb3VuZENvbG9yOiAnY3VycmVudENvbG9yJyxcbiAgICAgIGJvcmRlclJhZGl1czogJzFlbScsXG4gICAgICBkaXNwbGF5OiAnaW5saW5lLWJsb2NrJyxcbiAgICAgIG1hcmdpbkxlZnQ6IG9mZnNldCA/ICcxZW0nIDogdW5kZWZpbmVkLFxuICAgICAgaGVpZ2h0OiAnMWVtJyxcbiAgICAgIHZlcnRpY2FsQWxpZ246ICd0b3AnLFxuICAgICAgd2lkdGg6ICcxZW0nLFxuICAgIH19XG4gIC8+XG4pO1xuXG5leHBvcnQgaW50ZXJmYWNlIExvYWRpbmdJbmRpY2F0b3JQcm9wczxcbiAgT3B0aW9uID0gdW5rbm93bixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4gPSBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+ID0gR3JvdXBCYXNlPE9wdGlvbj5cbj4gZXh0ZW5kcyBDb21tb25Qcm9wc0FuZENsYXNzTmFtZTxPcHRpb24sIElzTXVsdGksIEdyb3VwPiB7XG4gIC8qKiBQcm9wcyB0aGF0IHdpbGwgYmUgcGFzc2VkIG9uIHRvIHRoZSBjaGlsZHJlbi4gKi9cbiAgaW5uZXJQcm9wczogSlNYLkludHJpbnNpY0VsZW1lbnRzWydkaXYnXTtcbiAgLyoqIFRoZSBmb2N1c2VkIHN0YXRlIG9mIHRoZSBzZWxlY3QuICovXG4gIGlzRm9jdXNlZDogYm9vbGVhbjtcbiAgaXNEaXNhYmxlZDogYm9vbGVhbjtcbiAgLyoqIFNldCBzaXplIG9mIHRoZSBjb250YWluZXIuICovXG4gIHNpemU6IG51bWJlcjtcbn1cbmV4cG9ydCBjb25zdCBMb2FkaW5nSW5kaWNhdG9yID0gPFxuICBPcHRpb24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+XG4+KHtcbiAgaW5uZXJQcm9wcyxcbiAgaXNSdGwsXG4gIHNpemUgPSA0LFxuICAuLi5yZXN0UHJvcHNcbn06IExvYWRpbmdJbmRpY2F0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPikgPT4ge1xuICByZXR1cm4gKFxuICAgIDxkaXZcbiAgICAgIHsuLi5nZXRTdHlsZVByb3BzKFxuICAgICAgICB7IC4uLnJlc3RQcm9wcywgaW5uZXJQcm9wcywgaXNSdGwsIHNpemUgfSxcbiAgICAgICAgJ2xvYWRpbmdJbmRpY2F0b3InLFxuICAgICAgICB7XG4gICAgICAgICAgaW5kaWNhdG9yOiB0cnVlLFxuICAgICAgICAgICdsb2FkaW5nLWluZGljYXRvcic6IHRydWUsXG4gICAgICAgIH1cbiAgICAgICl9XG4gICAgICB7Li4uaW5uZXJQcm9wc31cbiAgICA+XG4gICAgICA8TG9hZGluZ0RvdCBkZWxheT17MH0gb2Zmc2V0PXtpc1J0bH0gLz5cbiAgICAgIDxMb2FkaW5nRG90IGRlbGF5PXsxNjB9IG9mZnNldCAvPlxuICAgICAgPExvYWRpbmdEb3QgZGVsYXk9ezMyMH0gb2Zmc2V0PXshaXNSdGx9IC8+XG4gICAgPC9kaXY+XG4gICk7XG59O1xuIl19 */")})},NA=function(t){var n=t.innerProps,r=t.isRtl,o=t.size,a=o===void 0?4:o,i=hn(t,xA);return ue("div",de({},He(ce(ce({},i),{},{innerProps:n,isRtl:r,size:a}),"loadingIndicator",{indicator:!0,"loading-indicator":!0}),n),ue(Zc,{delay:0,offset:r}),ue(Zc,{delay:160,offset:!0}),ue(Zc,{delay:320,offset:!r}))},$A=function(t,n){var r=t.isDisabled,o=t.isFocused,a=t.theme,i=a.colors,s=a.borderRadius,l=a.spacing;return ce({label:"control",alignItems:"center",cursor:"default",display:"flex",flexWrap:"wrap",justifyContent:"space-between",minHeight:l.controlHeight,outline:"0 !important",position:"relative",transition:"all 100ms"},n?{}:{backgroundColor:r?i.neutral5:i.neutral0,borderColor:r?i.neutral10:o?i.primary:i.neutral20,borderRadius:s,borderStyle:"solid",borderWidth:1,boxShadow:o?"0 0 0 1px ".concat(i.primary):void 0,"&:hover":{borderColor:o?i.primary:i.neutral30}})},kA=function(t){var n=t.children,r=t.isDisabled,o=t.isFocused,a=t.innerRef,i=t.innerProps,s=t.menuIsOpen;return ue("div",de({ref:a},He(t,"control",{control:!0,"control--is-disabled":r,"control--is-focused":o,"control--menu-is-open":s}),i,{"aria-disabled":r||void 0}),n)},OA=kA,FA=["data"],LA=function(t,n){var r=t.theme.spacing;return n?{}:{paddingBottom:r.baseUnit*2,paddingTop:r.baseUnit*2}},VA=function(t){var n=t.children,r=t.cx,o=t.getStyles,a=t.getClassNames,i=t.Heading,s=t.headingProps,l=t.innerProps,u=t.label,c=t.theme,d=t.selectProps;return ue("div",de({},He(t,"group",{group:!0}),l),ue(i,de({},s,{selectProps:d,theme:c,getStyles:o,getClassNames:a,cx:r}),u),ue("div",null,n))},jA=function(t,n){var r=t.theme,o=r.colors,a=r.spacing;return ce({label:"group",cursor:"default",display:"block"},n?{}:{color:o.neutral40,fontSize:"75%",fontWeight:500,marginBottom:"0.25em",paddingLeft:a.baseUnit*3,paddingRight:a.baseUnit*3,textTransform:"uppercase"})},BA=function(t){var n=rb(t);n.data;var r=hn(n,FA);return ue("div",de({},He(t,"groupHeading",{"group-heading":!0}),r))},WA=VA,_A=["innerRef","isDisabled","isHidden","inputClassName"],GA=function(t,n){var r=t.isDisabled,o=t.value,a=t.theme,i=a.spacing,s=a.colors;return ce(ce({visibility:r?"hidden":"visible",transform:o?"translateZ(0)":""},RA),n?{}:{margin:i.baseUnit/2,paddingBottom:i.baseUnit/2,paddingTop:i.baseUnit/2,color:s.neutral80})},hb={gridArea:"1 / 2",font:"inherit",minWidth:"2px",border:0,margin:0,outline:0,padding:0},RA={flex:"1 1 auto",display:"inline-grid",gridArea:"1 / 1 / 2 / 3",gridTemplateColumns:"0 min-content","&:after":ce({content:'attr(data-value) " "',visibility:"hidden",whiteSpace:"pre"},hb)},zA=function(t){return ce({label:"input",color:"inherit",background:0,opacity:t?0:1,width:"100%"},hb)},HA=function(t){var n=t.cx,r=t.value,o=rb(t),a=o.innerRef,i=o.isDisabled,s=o.isHidden,l=o.inputClassName,u=hn(o,_A);return ue("div",de({},He(t,"input",{"input-container":!0}),{"data-value":r||""}),ue("input",de({className:n({input:!0},l),ref:a,style:zA(s),disabled:i},u)))},XA=HA,ZA=function(t,n){var r=t.theme,o=r.spacing,a=r.borderRadius,i=r.colors;return ce({label:"multiValue",display:"flex",minWidth:0},n?{}:{backgroundColor:i.neutral10,borderRadius:a/2,margin:o.baseUnit/2})},YA=function(t,n){var r=t.theme,o=r.borderRadius,a=r.colors,i=t.cropWithEllipsis;return ce({overflow:"hidden",textOverflow:i||i===void 0?"ellipsis":void 0,whiteSpace:"nowrap"},n?{}:{borderRadius:o/2,color:a.neutral80,fontSize:"85%",padding:3,paddingLeft:6})},UA=function(t,n){var r=t.theme,o=r.spacing,a=r.borderRadius,i=r.colors,s=t.isFocused;return ce({alignItems:"center",display:"flex"},n?{}:{borderRadius:a/2,backgroundColor:s?i.dangerLight:void 0,paddingLeft:o.baseUnit,paddingRight:o.baseUnit,":hover":{backgroundColor:i.dangerLight,color:i.danger}})},gb=function(t){var n=t.children,r=t.innerProps;return ue("div",r,n)},KA=gb,JA=gb;function QA(e){var t=e.children,n=e.innerProps;return ue("div",de({role:"button"},n),t||ue(Xc,{size:14}))}var qA=function(t){var n=t.children,r=t.components,o=t.data,a=t.innerProps,i=t.isDisabled,s=t.removeProps,l=t.selectProps,u=r.Container,c=r.Label,d=r.Remove;return ue(u,{data:o,innerProps:ce(ce({},He(t,"multiValue",{"multi-value":!0,"multi-value--is-disabled":i})),a),selectProps:l},ue(c,{data:o,innerProps:ce({},He(t,"multiValueLabel",{"multi-value__label":!0})),selectProps:l},n),ue(d,{data:o,innerProps:ce(ce({},He(t,"multiValueRemove",{"multi-value__remove":!0})),{},{"aria-label":"Remove ".concat(n||"option")},s),selectProps:l}))},eT=qA,tT=function(t,n){var r=t.isDisabled,o=t.isFocused,a=t.isSelected,i=t.theme,s=i.spacing,l=i.colors;return ce({label:"option",cursor:"default",display:"block",fontSize:"inherit",width:"100%",userSelect:"none",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)"},n?{}:{backgroundColor:a?l.primary:o?l.primary25:"transparent",color:r?l.neutral20:a?l.neutral0:"inherit",padding:"".concat(s.baseUnit*2,"px ").concat(s.baseUnit*3,"px"),":active":{backgroundColor:r?void 0:a?l.primary:l.primary50}})},nT=function(t){var n=t.children,r=t.isDisabled,o=t.isFocused,a=t.isSelected,i=t.innerRef,s=t.innerProps;return ue("div",de({},He(t,"option",{option:!0,"option--is-disabled":r,"option--is-focused":o,"option--is-selected":a}),{ref:i,"aria-disabled":r},s),n)},rT=nT,oT=function(t,n){var r=t.theme,o=r.spacing,a=r.colors;return ce({label:"placeholder",gridArea:"1 / 1 / 2 / 3"},n?{}:{color:a.neutral50,marginLeft:o.baseUnit/2,marginRight:o.baseUnit/2})},aT=function(t){var n=t.children,r=t.innerProps;return ue("div",de({},He(t,"placeholder",{placeholder:!0}),r),n)},iT=aT,sT=function(t,n){var r=t.isDisabled,o=t.theme,a=o.spacing,i=o.colors;return ce({label:"singleValue",gridArea:"1 / 1 / 2 / 3",maxWidth:"100%",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},n?{}:{color:r?i.neutral40:i.neutral80,marginLeft:a.baseUnit/2,marginRight:a.baseUnit/2})},lT=function(t){var n=t.children,r=t.isDisabled,o=t.innerProps;return ue("div",de({},He(t,"singleValue",{"single-value":!0,"single-value--is-disabled":r}),o),n)},uT=lT,Qr={ClearIndicator:SA,Control:OA,DropdownIndicator:EA,DownChevron:pb,CrossIcon:Xc,Group:WA,GroupHeading:BA,IndicatorsContainer:vA,IndicatorSeparator:AA,Input:XA,LoadingIndicator:NA,Menu:oA,MenuList:iA,MenuPortal:fA,LoadingMessage:cA,NoOptionsMessage:uA,MultiValue:eT,MultiValueContainer:KA,MultiValueLabel:JA,MultiValueRemove:QA,Option:rT,Placeholder:iT,SelectContainer:mA,SingleValue:uT,ValueContainer:gA},cT=function(t){return ce(ce({},Qr),t.components)},bb=Number.isNaN||function(t){return typeof t=="number"&&t!==t};function dT(e,t){return!!(e===t||bb(e)&&bb(t))}function fT(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(!dT(e[n],t[n]))return!1;return!0}function pT(e,t){t===void 0&&(t=fT);var n=null;function r(){for(var o=[],a=0;a<arguments.length;a++)o[a]=arguments[a];if(n&&n.lastThis===this&&t(o,n.lastArgs))return n.lastResult;var i=e.apply(this,o);return n={lastResult:i,lastArgs:o,lastThis:this},i}return r.clear=function(){n=null},r}function mT(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}for(var hT=process.env.NODE_ENV==="production"?{name:"7pg0cj-a11yText",styles:"label:a11yText;z-index:9999;border:0;clip:rect(1px, 1px, 1px, 1px);height:1px;width:1px;position:absolute;overflow:hidden;padding:0;white-space:nowrap"}:{name:"1f43avz-a11yText-A11yText",styles:"label:a11yText;z-index:9999;border:0;clip:rect(1px, 1px, 1px, 1px);height:1px;width:1px;position:absolute;overflow:hidden;padding:0;white-space:nowrap;label:A11yText;",map:"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkExMXlUZXh0LnRzeCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFNSSIsImZpbGUiOiJBMTF5VGV4dC50c3giLCJzb3VyY2VzQ29udGVudCI6WyIvKiogQGpzeCBqc3ggKi9cbmltcG9ydCB7IGpzeCB9IGZyb20gJ0BlbW90aW9uL3JlYWN0JztcblxuLy8gQXNzaXN0aXZlIHRleHQgdG8gZGVzY3JpYmUgdmlzdWFsIGVsZW1lbnRzLiBIaWRkZW4gZm9yIHNpZ2h0ZWQgdXNlcnMuXG5jb25zdCBBMTF5VGV4dCA9IChwcm9wczogSlNYLkludHJpbnNpY0VsZW1lbnRzWydzcGFuJ10pID0+IChcbiAgPHNwYW5cbiAgICBjc3M9e3tcbiAgICAgIGxhYmVsOiAnYTExeVRleHQnLFxuICAgICAgekluZGV4OiA5OTk5LFxuICAgICAgYm9yZGVyOiAwLFxuICAgICAgY2xpcDogJ3JlY3QoMXB4LCAxcHgsIDFweCwgMXB4KScsXG4gICAgICBoZWlnaHQ6IDEsXG4gICAgICB3aWR0aDogMSxcbiAgICAgIHBvc2l0aW9uOiAnYWJzb2x1dGUnLFxuICAgICAgb3ZlcmZsb3c6ICdoaWRkZW4nLFxuICAgICAgcGFkZGluZzogMCxcbiAgICAgIHdoaXRlU3BhY2U6ICdub3dyYXAnLFxuICAgIH19XG4gICAgey4uLnByb3BzfVxuICAvPlxuKTtcblxuZXhwb3J0IGRlZmF1bHQgQTExeVRleHQ7XG4iXX0= */",toString:mT},gT=function(t){return ue("span",de({css:hT},t))},vb=gT,bT={guidance:function(t){var n=t.isSearchable,r=t.isMulti,o=t.tabSelectsValue,a=t.context,i=t.isInitialFocus;switch(a){case"menu":return"Use Up and Down to choose options, press Enter to select the currently focused option, press Escape to exit the menu".concat(o?", press Tab to select the option and exit the menu":"",".");case"input":return i?"".concat(t["aria-label"]||"Select"," is focused ").concat(n?",type to refine list":"",", press Down to open the menu, ").concat(r?" press left to focus selected values":""):"";case"value":return"Use left and right to toggle between focused values, press Backspace to remove the currently focused value";default:return""}},onChange:function(t){var n=t.action,r=t.label,o=r===void 0?"":r,a=t.labels,i=t.isDisabled;switch(n){case"deselect-option":case"pop-value":case"remove-value":return"option ".concat(o,", deselected.");case"clear":return"All selected options have been cleared.";case"initial-input-focus":return"option".concat(a.length>1?"s":""," ").concat(a.join(","),", selected.");case"select-option":return i?"option ".concat(o," is disabled. Select another option."):"option ".concat(o,", selected.");default:return""}},onFocus:function(t){var n=t.context,r=t.focused,o=t.options,a=t.label,i=a===void 0?"":a,s=t.selectValue,l=t.isDisabled,u=t.isSelected,c=t.isAppleDevice,d=function(g,b){return g&&g.length?"".concat(g.indexOf(b)+1," of ").concat(g.length):""};if(n==="value"&&s)return"value ".concat(i," focused, ").concat(d(s,r),".");if(n==="menu"&&c){var p=l?" disabled":"",m="".concat(u?" selected":"").concat(p);return"".concat(i).concat(m,", ").concat(d(o,r),".")}return""},onFilter:function(t){var n=t.inputValue,r=t.resultsMessage;return"".concat(r).concat(n?" for search term "+n:"",".")}},vT=function(t){var n=t.ariaSelection,r=t.focusedOption,o=t.focusedValue,a=t.focusableOptions,i=t.isFocused,s=t.selectValue,l=t.selectProps,u=t.id,c=t.isAppleDevice,d=l.ariaLiveMessages,p=l.getOptionLabel,m=l.inputValue,h=l.isMulti,g=l.isOptionDisabled,b=l.isSearchable,x=l.menuIsOpen,y=l.options,w=l.screenReaderStatus,S=l.tabSelectsValue,P=l.isLoading,A=l["aria-label"],T=l["aria-live"],v=f.useMemo(function(){return ce(ce({},bT),d||{})},[d]),D=f.useMemo(function(){var O="";if(n&&v.onChange){var j=n.option,N=n.options,W=n.removedValue,K=n.removedValues,H=n.value,X=function(ae){return Array.isArray(ae)?null:ae},B=W||j||X(H),G=B?p(B):"",Y=N||K||void 0,R=Y?Y.map(p):[],Z=ce({isDisabled:B&&g(B,s),label:G,labels:R},n);O=v.onChange(Z)}return O},[n,v,g,s,p]),$=f.useMemo(function(){var O="",j=r||o,N=!!(r&&s&&s.includes(r));if(j&&v.onFocus){var W={focused:j,label:p(j),isDisabled:g(j,s),isSelected:N,options:a,context:j===r?"menu":"value",selectValue:s,isAppleDevice:c};O=v.onFocus(W)}return O},[r,o,p,g,v,a,s,c]),M=f.useMemo(function(){var O="";if(x&&y.length&&!P&&v.onFilter){var j=w({count:a.length});O=v.onFilter({inputValue:m,resultsMessage:j})}return O},[a,m,x,v,y,w,P]),k=(n==null?void 0:n.action)==="initial-input-focus",I=f.useMemo(function(){var O="";if(v.guidance){var j=o?"value":x?"menu":"input";O=v.guidance({"aria-label":A,context:j,isDisabled:r&&g(r,s),isMulti:h,isSearchable:b,tabSelectsValue:S,isInitialFocus:k})}return O},[A,r,o,h,g,b,x,v,s,S,k]),E=ue(f.Fragment,null,ue("span",{id:"aria-selection"},D),ue("span",{id:"aria-focused"},$),ue("span",{id:"aria-results"},M),ue("span",{id:"aria-guidance"},I));return ue(f.Fragment,null,ue(vb,{id:u},k&&E),ue(vb,{"aria-live":T,"aria-atomic":"false","aria-relevant":"additions text",role:"log"},i&&!k&&E))},yT=vT,Yc=[{base:"A",letters:"AⒶAÀÁÂẦẤẪẨÃĀĂẰẮẴẲȦǠÄǞẢÅǺǍȀȂẠẬẶḀĄȺⱯ"},{base:"AA",letters:"Ꜳ"},{base:"AE",letters:"ÆǼǢ"},{base:"AO",letters:"Ꜵ"},{base:"AU",letters:"Ꜷ"},{base:"AV",letters:"ꜸꜺ"},{base:"AY",letters:"Ꜽ"},{base:"B",letters:"BⒷBḂḄḆɃƂƁ"},{base:"C",letters:"CⒸCĆĈĊČÇḈƇȻꜾ"},{base:"D",letters:"DⒹDḊĎḌḐḒḎĐƋƊƉꝹ"},{base:"DZ",letters:"DZDŽ"},{base:"Dz",letters:"DzDž"},{base:"E",letters:"EⒺEÈÉÊỀẾỄỂẼĒḔḖĔĖËẺĚȄȆẸỆȨḜĘḘḚƐƎ"},{base:"F",letters:"FⒻFḞƑꝻ"},{base:"G",letters:"GⒼGǴĜḠĞĠǦĢǤƓꞠꝽꝾ"},{base:"H",letters:"HⒽHĤḢḦȞḤḨḪĦⱧⱵꞍ"},{base:"I",letters:"IⒾIÌÍÎĨĪĬİÏḮỈǏȈȊỊĮḬƗ"},{base:"J",letters:"JⒿJĴɈ"},{base:"K",letters:"KⓀKḰǨḲĶḴƘⱩꝀꝂꝄꞢ"},{base:"L",letters:"LⓁLĿĹĽḶḸĻḼḺŁȽⱢⱠꝈꝆꞀ"},{base:"LJ",letters:"LJ"},{base:"Lj",letters:"Lj"},{base:"M",letters:"MⓂMḾṀṂⱮƜ"},{base:"N",letters:"NⓃNǸŃÑṄŇṆŅṊṈȠƝꞐꞤ"},{base:"NJ",letters:"NJ"},{base:"Nj",letters:"Nj"},{base:"O",letters:"OⓄOÒÓÔỒỐỖỔÕṌȬṎŌṐṒŎȮȰÖȪỎŐǑȌȎƠỜỚỠỞỢỌỘǪǬØǾƆƟꝊꝌ"},{base:"OI",letters:"Ƣ"},{base:"OO",letters:"Ꝏ"},{base:"OU",letters:"Ȣ"},{base:"P",letters:"PⓅPṔṖƤⱣꝐꝒꝔ"},{base:"Q",letters:"QⓆQꝖꝘɊ"},{base:"R",letters:"RⓇRŔṘŘȐȒṚṜŖṞɌⱤꝚꞦꞂ"},{base:"S",letters:"SⓈSẞŚṤŜṠŠṦṢṨȘŞⱾꞨꞄ"},{base:"T",letters:"TⓉTṪŤṬȚŢṰṮŦƬƮȾꞆ"},{base:"TZ",letters:"Ꜩ"},{base:"U",letters:"UⓊUÙÚÛŨṸŪṺŬÜǛǗǕǙỦŮŰǓȔȖƯỪỨỮỬỰỤṲŲṶṴɄ"},{base:"V",letters:"VⓋVṼṾƲꝞɅ"},{base:"VY",letters:"Ꝡ"},{base:"W",letters:"WⓌWẀẂŴẆẄẈⱲ"},{base:"X",letters:"XⓍXẊẌ"},{base:"Y",letters:"YⓎYỲÝŶỸȲẎŸỶỴƳɎỾ"},{base:"Z",letters:"ZⓏZŹẐŻŽẒẔƵȤⱿⱫꝢ"},{base:"a",letters:"aⓐaẚàáâầấẫẩãāăằắẵẳȧǡäǟảåǻǎȁȃạậặḁąⱥɐ"},{base:"aa",letters:"ꜳ"},{base:"ae",letters:"æǽǣ"},{base:"ao",letters:"ꜵ"},{base:"au",letters:"ꜷ"},{base:"av",letters:"ꜹꜻ"},{base:"ay",letters:"ꜽ"},{base:"b",letters:"bⓑbḃḅḇƀƃɓ"},{base:"c",letters:"cⓒcćĉċčçḉƈȼꜿↄ"},{base:"d",letters:"dⓓdḋďḍḑḓḏđƌɖɗꝺ"},{base:"dz",letters:"dzdž"},{base:"e",letters:"eⓔeèéêềếễểẽēḕḗĕėëẻěȅȇẹệȩḝęḙḛɇɛǝ"},{base:"f",letters:"fⓕfḟƒꝼ"},{base:"g",letters:"gⓖgǵĝḡğġǧģǥɠꞡᵹꝿ"},{base:"h",letters:"hⓗhĥḣḧȟḥḩḫẖħⱨⱶɥ"},{base:"hv",letters:"ƕ"},{base:"i",letters:"iⓘiìíîĩīĭïḯỉǐȉȋịįḭɨı"},{base:"j",letters:"jⓙjĵǰɉ"},{base:"k",letters:"kⓚkḱǩḳķḵƙⱪꝁꝃꝅꞣ"},{base:"l",letters:"lⓛlŀĺľḷḹļḽḻſłƚɫⱡꝉꞁꝇ"},{base:"lj",letters:"lj"},{base:"m",letters:"mⓜmḿṁṃɱɯ"},{base:"n",letters:"nⓝnǹńñṅňṇņṋṉƞɲʼnꞑꞥ"},{base:"nj",letters:"nj"},{base:"o",letters:"oⓞoòóôồốỗổõṍȭṏōṑṓŏȯȱöȫỏőǒȍȏơờớỡởợọộǫǭøǿɔꝋꝍɵ"},{base:"oi",letters:"ƣ"},{base:"ou",letters:"ȣ"},{base:"oo",letters:"ꝏ"},{base:"p",letters:"pⓟpṕṗƥᵽꝑꝓꝕ"},{base:"q",letters:"qⓠqɋꝗꝙ"},{base:"r",letters:"rⓡrŕṙřȑȓṛṝŗṟɍɽꝛꞧꞃ"},{base:"s",letters:"sⓢsßśṥŝṡšṧṣṩșşȿꞩꞅẛ"},{base:"t",letters:"tⓣtṫẗťṭțţṱṯŧƭʈⱦꞇ"},{base:"tz",letters:"ꜩ"},{base:"u",letters:"uⓤuùúûũṹūṻŭüǜǘǖǚủůűǔȕȗưừứữửựụṳųṷṵʉ"},{base:"v",letters:"vⓥvṽṿʋꝟʌ"},{base:"vy",letters:"ꝡ"},{base:"w",letters:"wⓦwẁẃŵẇẅẘẉⱳ"},{base:"x",letters:"xⓧxẋẍ"},{base:"y",letters:"yⓨyỳýŷỹȳẏÿỷẙỵƴɏỿ"},{base:"z",letters:"zⓩzźẑżžẓẕƶȥɀⱬꝣ"}],xT=new RegExp("["+Yc.map(function(e){return e.letters}).join("")+"]","g"),yb={},Uc=0;Uc<Yc.length;Uc++)for(var Kc=Yc[Uc],Jc=0;Jc<Kc.letters.length;Jc++)yb[Kc.letters[Jc]]=Kc.base;var xb=function(t){return t.replace(xT,function(n){return yb[n]})},CT=pT(xb),Cb=function(t){return t.replace(/^\s+|\s+$/g,"")},wT=function(t){return"".concat(t.label," ").concat(t.value)},IT=function(t){return function(n,r){if(n.data.__isNew__)return!0;var o=ce({ignoreCase:!0,ignoreAccents:!0,stringify:wT,trim:!0,matchFrom:"any"},t),a=o.ignoreCase,i=o.ignoreAccents,s=o.stringify,l=o.trim,u=o.matchFrom,c=l?Cb(r):r,d=l?Cb(s(n)):s(n);return a&&(c=c.toLowerCase(),d=d.toLowerCase()),i&&(c=CT(c),d=xb(d)),u==="start"?d.substr(0,c.length)===c:d.indexOf(c)>-1}},ET=["innerRef"];function PT(e){var t=e.innerRef,n=hn(e,ET),r=KM(n,"onExited","in","enter","exit","appear");return ue("input",de({ref:t},r,{css:Wc({label:"dummyInput",background:0,border:0,caretColor:"transparent",fontSize:"inherit",gridArea:"1 / 1 / 2 / 3",outline:0,padding:0,width:1,color:"transparent",left:-100,opacity:0,position:"relative",transform:"scale(.01)"},process.env.NODE_ENV==="production"?"":";label:DummyInput;",process.env.NODE_ENV==="production"?"":"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkR1bW15SW5wdXQudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXlCTSIsImZpbGUiOiJEdW1teUlucHV0LnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgUmVmIH0gZnJvbSAncmVhY3QnO1xuaW1wb3J0IHsganN4IH0gZnJvbSAnQGVtb3Rpb24vcmVhY3QnO1xuaW1wb3J0IHsgcmVtb3ZlUHJvcHMgfSBmcm9tICcuLi91dGlscyc7XG5cbmV4cG9ydCBkZWZhdWx0IGZ1bmN0aW9uIER1bW15SW5wdXQoe1xuICBpbm5lclJlZixcbiAgLi4ucHJvcHNcbn06IEpTWC5JbnRyaW5zaWNFbGVtZW50c1snaW5wdXQnXSAmIHtcbiAgcmVhZG9ubHkgaW5uZXJSZWY6IFJlZjxIVE1MSW5wdXRFbGVtZW50Pjtcbn0pIHtcbiAgLy8gUmVtb3ZlIGFuaW1hdGlvbiBwcm9wcyBub3QgbWVhbnQgZm9yIEhUTUwgZWxlbWVudHNcbiAgY29uc3QgZmlsdGVyZWRQcm9wcyA9IHJlbW92ZVByb3BzKFxuICAgIHByb3BzLFxuICAgICdvbkV4aXRlZCcsXG4gICAgJ2luJyxcbiAgICAnZW50ZXInLFxuICAgICdleGl0JyxcbiAgICAnYXBwZWFyJ1xuICApO1xuXG4gIHJldHVybiAoXG4gICAgPGlucHV0XG4gICAgICByZWY9e2lubmVyUmVmfVxuICAgICAgey4uLmZpbHRlcmVkUHJvcHN9XG4gICAgICBjc3M9e3tcbiAgICAgICAgbGFiZWw6ICdkdW1teUlucHV0JyxcbiAgICAgICAgLy8gZ2V0IHJpZCBvZiBhbnkgZGVmYXVsdCBzdHlsZXNcbiAgICAgICAgYmFja2dyb3VuZDogMCxcbiAgICAgICAgYm9yZGVyOiAwLFxuICAgICAgICAvLyBpbXBvcnRhbnQhIHRoaXMgaGlkZXMgdGhlIGZsYXNoaW5nIGN1cnNvclxuICAgICAgICBjYXJldENvbG9yOiAndHJhbnNwYXJlbnQnLFxuICAgICAgICBmb250U2l6ZTogJ2luaGVyaXQnLFxuICAgICAgICBncmlkQXJlYTogJzEgLyAxIC8gMiAvIDMnLFxuICAgICAgICBvdXRsaW5lOiAwLFxuICAgICAgICBwYWRkaW5nOiAwLFxuICAgICAgICAvLyBpbXBvcnRhbnQhIHdpdGhvdXQgYHdpZHRoYCBicm93c2VycyB3b24ndCBhbGxvdyBmb2N1c1xuICAgICAgICB3aWR0aDogMSxcblxuICAgICAgICAvLyByZW1vdmUgY3Vyc29yIG9uIGRlc2t0b3BcbiAgICAgICAgY29sb3I6ICd0cmFuc3BhcmVudCcsXG5cbiAgICAgICAgLy8gcmVtb3ZlIGN1cnNvciBvbiBtb2JpbGUgd2hpbHN0IG1haW50YWluaW5nIFwic2Nyb2xsIGludG8gdmlld1wiIGJlaGF2aW91clxuICAgICAgICBsZWZ0OiAtMTAwLFxuICAgICAgICBvcGFjaXR5OiAwLFxuICAgICAgICBwb3NpdGlvbjogJ3JlbGF0aXZlJyxcbiAgICAgICAgdHJhbnNmb3JtOiAnc2NhbGUoLjAxKScsXG4gICAgICB9fVxuICAgIC8+XG4gICk7XG59XG4iXX0= */")}))}var ST=function(t){t.cancelable&&t.preventDefault(),t.stopPropagation()};function MT(e){var t=e.isEnabled,n=e.onBottomArrive,r=e.onBottomLeave,o=e.onTopArrive,a=e.onTopLeave,i=f.useRef(!1),s=f.useRef(!1),l=f.useRef(0),u=f.useRef(null),c=f.useCallback(function(b,x){if(u.current!==null){var y=u.current,w=y.scrollTop,S=y.scrollHeight,P=y.clientHeight,A=u.current,T=x>0,v=S-P-w,D=!1;v>x&&i.current&&(r&&r(b),i.current=!1),T&&s.current&&(a&&a(b),s.current=!1),T&&x>v?(n&&!i.current&&n(b),A.scrollTop=S,D=!0,i.current=!0):!T&&-x>w&&(o&&!s.current&&o(b),A.scrollTop=0,D=!0,s.current=!0),D&&ST(b)}},[n,r,o,a]),d=f.useCallback(function(b){c(b,b.deltaY)},[c]),p=f.useCallback(function(b){l.current=b.changedTouches[0].clientY},[]),m=f.useCallback(function(b){var x=l.current-b.changedTouches[0].clientY;c(b,x)},[c]),h=f.useCallback(function(b){if(b){var x=ZM?{passive:!1}:!1;b.addEventListener("wheel",d,x),b.addEventListener("touchstart",p,x),b.addEventListener("touchmove",m,x)}},[m,p,d]),g=f.useCallback(function(b){b&&(b.removeEventListener("wheel",d,!1),b.removeEventListener("touchstart",p,!1),b.removeEventListener("touchmove",m,!1))},[m,p,d]);return f.useEffect(function(){if(t){var b=u.current;return h(b),function(){g(b)}}},[t,h,g]),function(b){u.current=b}}var wb=["boxSizing","height","overflow","paddingRight","position"],Ib={boxSizing:"border-box",overflow:"hidden",position:"relative",height:"100%"};function Eb(e){e.preventDefault()}function Pb(e){e.stopPropagation()}function Sb(){var e=this.scrollTop,t=this.scrollHeight,n=e+this.offsetHeight;e===0?this.scrollTop=1:n===t&&(this.scrollTop=e-1)}function Mb(){return"ontouchstart"in window||navigator.maxTouchPoints}var Ab=!!(typeof window<"u"&&window.document&&window.document.createElement),ia=0,qr={capture:!1,passive:!1};function AT(e){var t=e.isEnabled,n=e.accountForScrollbars,r=n===void 0?!0:n,o=f.useRef({}),a=f.useRef(null),i=f.useCallback(function(l){if(Ab){var u=document.body,c=u&&u.style;if(r&&wb.forEach(function(h){var g=c&&c[h];o.current[h]=g}),r&&ia<1){var d=parseInt(o.current.paddingRight,10)||0,p=document.body?document.body.clientWidth:0,m=window.innerWidth-p+d||0;Object.keys(Ib).forEach(function(h){var g=Ib[h];c&&(c[h]=g)}),c&&(c.paddingRight="".concat(m,"px"))}u&&Mb()&&(u.addEventListener("touchmove",Eb,qr),l&&(l.addEventListener("touchstart",Sb,qr),l.addEventListener("touchmove",Pb,qr))),ia+=1}},[r]),s=f.useCallback(function(l){if(Ab){var u=document.body,c=u&&u.style;ia=Math.max(ia-1,0),r&&ia<1&&wb.forEach(function(d){var p=o.current[d];c&&(c[d]=p)}),u&&Mb()&&(u.removeEventListener("touchmove",Eb,qr),l&&(l.removeEventListener("touchstart",Sb,qr),l.removeEventListener("touchmove",Pb,qr)))}},[r]);return f.useEffect(function(){if(t){var l=a.current;return i(l),function(){s(l)}}},[t,i,s]),function(l){a.current=l}}function TT(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}var DT=function(t){var n=t.target;return n.ownerDocument.activeElement&&n.ownerDocument.activeElement.blur()},NT=process.env.NODE_ENV==="production"?{name:"1kfdb0e",styles:"position:fixed;left:0;bottom:0;right:0;top:0"}:{name:"bp8cua-ScrollManager",styles:"position:fixed;left:0;bottom:0;right:0;top:0;label:ScrollManager;",map:"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIlNjcm9sbE1hbmFnZXIudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQW9EVSIsImZpbGUiOiJTY3JvbGxNYW5hZ2VyLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsganN4IH0gZnJvbSAnQGVtb3Rpb24vcmVhY3QnO1xuaW1wb3J0IHsgRnJhZ21lbnQsIFJlYWN0RWxlbWVudCwgUmVmQ2FsbGJhY2ssIE1vdXNlRXZlbnQgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgdXNlU2Nyb2xsQ2FwdHVyZSBmcm9tICcuL3VzZVNjcm9sbENhcHR1cmUnO1xuaW1wb3J0IHVzZVNjcm9sbExvY2sgZnJvbSAnLi91c2VTY3JvbGxMb2NrJztcblxuaW50ZXJmYWNlIFByb3BzIHtcbiAgcmVhZG9ubHkgY2hpbGRyZW46IChyZWY6IFJlZkNhbGxiYWNrPEhUTUxFbGVtZW50PikgPT4gUmVhY3RFbGVtZW50O1xuICByZWFkb25seSBsb2NrRW5hYmxlZDogYm9vbGVhbjtcbiAgcmVhZG9ubHkgY2FwdHVyZUVuYWJsZWQ6IGJvb2xlYW47XG4gIHJlYWRvbmx5IG9uQm90dG9tQXJyaXZlPzogKGV2ZW50OiBXaGVlbEV2ZW50IHwgVG91Y2hFdmVudCkgPT4gdm9pZDtcbiAgcmVhZG9ubHkgb25Cb3R0b21MZWF2ZT86IChldmVudDogV2hlZWxFdmVudCB8IFRvdWNoRXZlbnQpID0+IHZvaWQ7XG4gIHJlYWRvbmx5IG9uVG9wQXJyaXZlPzogKGV2ZW50OiBXaGVlbEV2ZW50IHwgVG91Y2hFdmVudCkgPT4gdm9pZDtcbiAgcmVhZG9ubHkgb25Ub3BMZWF2ZT86IChldmVudDogV2hlZWxFdmVudCB8IFRvdWNoRXZlbnQpID0+IHZvaWQ7XG59XG5cbmNvbnN0IGJsdXJTZWxlY3RJbnB1dCA9IChldmVudDogTW91c2VFdmVudDxIVE1MRGl2RWxlbWVudD4pID0+IHtcbiAgY29uc3QgZWxlbWVudCA9IGV2ZW50LnRhcmdldCBhcyBIVE1MRGl2RWxlbWVudDtcbiAgcmV0dXJuIChcbiAgICBlbGVtZW50Lm93bmVyRG9jdW1lbnQuYWN0aXZlRWxlbWVudCAmJlxuICAgIChlbGVtZW50Lm93bmVyRG9jdW1lbnQuYWN0aXZlRWxlbWVudCBhcyBIVE1MRWxlbWVudCkuYmx1cigpXG4gICk7XG59O1xuXG5leHBvcnQgZGVmYXVsdCBmdW5jdGlvbiBTY3JvbGxNYW5hZ2VyKHtcbiAgY2hpbGRyZW4sXG4gIGxvY2tFbmFibGVkLFxuICBjYXB0dXJlRW5hYmxlZCA9IHRydWUsXG4gIG9uQm90dG9tQXJyaXZlLFxuICBvbkJvdHRvbUxlYXZlLFxuICBvblRvcEFycml2ZSxcbiAgb25Ub3BMZWF2ZSxcbn06IFByb3BzKSB7XG4gIGNvbnN0IHNldFNjcm9sbENhcHR1cmVUYXJnZXQgPSB1c2VTY3JvbGxDYXB0dXJlKHtcbiAgICBpc0VuYWJsZWQ6IGNhcHR1cmVFbmFibGVkLFxuICAgIG9uQm90dG9tQXJyaXZlLFxuICAgIG9uQm90dG9tTGVhdmUsXG4gICAgb25Ub3BBcnJpdmUsXG4gICAgb25Ub3BMZWF2ZSxcbiAgfSk7XG4gIGNvbnN0IHNldFNjcm9sbExvY2tUYXJnZXQgPSB1c2VTY3JvbGxMb2NrKHsgaXNFbmFibGVkOiBsb2NrRW5hYmxlZCB9KTtcblxuICBjb25zdCB0YXJnZXRSZWY6IFJlZkNhbGxiYWNrPEhUTUxFbGVtZW50PiA9IChlbGVtZW50KSA9PiB7XG4gICAgc2V0U2Nyb2xsQ2FwdHVyZVRhcmdldChlbGVtZW50KTtcbiAgICBzZXRTY3JvbGxMb2NrVGFyZ2V0KGVsZW1lbnQpO1xuICB9O1xuXG4gIHJldHVybiAoXG4gICAgPEZyYWdtZW50PlxuICAgICAge2xvY2tFbmFibGVkICYmIChcbiAgICAgICAgPGRpdlxuICAgICAgICAgIG9uQ2xpY2s9e2JsdXJTZWxlY3RJbnB1dH1cbiAgICAgICAgICBjc3M9e3sgcG9zaXRpb246ICdmaXhlZCcsIGxlZnQ6IDAsIGJvdHRvbTogMCwgcmlnaHQ6IDAsIHRvcDogMCB9fVxuICAgICAgICAvPlxuICAgICAgKX1cbiAgICAgIHtjaGlsZHJlbih0YXJnZXRSZWYpfVxuICAgIDwvRnJhZ21lbnQ+XG4gICk7XG59XG4iXX0= */",toString:TT};function $T(e){var t=e.children,n=e.lockEnabled,r=e.captureEnabled,o=r===void 0?!0:r,a=e.onBottomArrive,i=e.onBottomLeave,s=e.onTopArrive,l=e.onTopLeave,u=MT({isEnabled:o,onBottomArrive:a,onBottomLeave:i,onTopArrive:s,onTopLeave:l}),c=AT({isEnabled:n}),d=function(m){u(m),c(m)};return ue(f.Fragment,null,n&&ue("div",{onClick:DT,css:NT}),t(d))}function kT(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}var OT=process.env.NODE_ENV==="production"?{name:"1a0ro4n-requiredInput",styles:"label:requiredInput;opacity:0;pointer-events:none;position:absolute;bottom:0;left:0;right:0;width:100%"}:{name:"5kkxb2-requiredInput-RequiredInput",styles:"label:requiredInput;opacity:0;pointer-events:none;position:absolute;bottom:0;left:0;right:0;width:100%;label:RequiredInput;",map:"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIlJlcXVpcmVkSW5wdXQudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQWNJIiwiZmlsZSI6IlJlcXVpcmVkSW5wdXQudHN4Iiwic291cmNlc0NvbnRlbnQiOlsiLyoqIEBqc3gganN4ICovXG5pbXBvcnQgeyBGb2N1c0V2ZW50SGFuZGxlciwgRnVuY3Rpb25Db21wb25lbnQgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBqc3ggfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5cbmNvbnN0IFJlcXVpcmVkSW5wdXQ6IEZ1bmN0aW9uQ29tcG9uZW50PHtcbiAgcmVhZG9ubHkgbmFtZT86IHN0cmluZztcbiAgcmVhZG9ubHkgb25Gb2N1czogRm9jdXNFdmVudEhhbmRsZXI8SFRNTElucHV0RWxlbWVudD47XG59PiA9ICh7IG5hbWUsIG9uRm9jdXMgfSkgPT4gKFxuICA8aW5wdXRcbiAgICByZXF1aXJlZFxuICAgIG5hbWU9e25hbWV9XG4gICAgdGFiSW5kZXg9ey0xfVxuICAgIGFyaWEtaGlkZGVuPVwidHJ1ZVwiXG4gICAgb25Gb2N1cz17b25Gb2N1c31cbiAgICBjc3M9e3tcbiAgICAgIGxhYmVsOiAncmVxdWlyZWRJbnB1dCcsXG4gICAgICBvcGFjaXR5OiAwLFxuICAgICAgcG9pbnRlckV2ZW50czogJ25vbmUnLFxuICAgICAgcG9zaXRpb246ICdhYnNvbHV0ZScsXG4gICAgICBib3R0b206IDAsXG4gICAgICBsZWZ0OiAwLFxuICAgICAgcmlnaHQ6IDAsXG4gICAgICB3aWR0aDogJzEwMCUnLFxuICAgIH19XG4gICAgLy8gUHJldmVudCBgU3dpdGNoaW5nIGZyb20gdW5jb250cm9sbGVkIHRvIGNvbnRyb2xsZWRgIGVycm9yXG4gICAgdmFsdWU9XCJcIlxuICAgIG9uQ2hhbmdlPXsoKSA9PiB7fX1cbiAgLz5cbik7XG5cbmV4cG9ydCBkZWZhdWx0IFJlcXVpcmVkSW5wdXQ7XG4iXX0= */",toString:kT},FT=function(t){var n=t.name,r=t.onFocus;return ue("input",{required:!0,name:n,tabIndex:-1,"aria-hidden":"true",onFocus:r,css:OT,value:"",onChange:function(){}})},LT=FT;function Qc(e){var t;return typeof window<"u"&&window.navigator!=null?e.test(((t=window.navigator.userAgentData)===null||t===void 0?void 0:t.platform)||window.navigator.platform):!1}function VT(){return Qc(/^iPhone/i)}function Tb(){return Qc(/^Mac/i)}function jT(){return Qc(/^iPad/i)||Tb()&&navigator.maxTouchPoints>1}function BT(){return VT()||jT()}function WT(){return Tb()||BT()}var _T=function(t){return t.label},GT=function(t){return t.label},RT=function(t){return t.value},zT=function(t){return!!t.isDisabled},HT={clearIndicator:PA,container:pA,control:$A,dropdownIndicator:IA,group:LA,groupHeading:jA,indicatorsContainer:bA,indicatorSeparator:MA,input:GA,loadingIndicator:DA,loadingMessage:lA,menu:tA,menuList:aA,menuPortal:dA,multiValue:ZA,multiValueLabel:YA,multiValueRemove:UA,noOptionsMessage:sA,option:tT,placeholder:oT,singleValue:sT,valueContainer:hA},XT={primary:"#2684FF",primary75:"#4C9AFF",primary50:"#B2D4FF",primary25:"#DEEBFF",danger:"#DE350B",dangerLight:"#FFBDAD",neutral0:"hsl(0, 0%, 100%)",neutral5:"hsl(0, 0%, 95%)",neutral10:"hsl(0, 0%, 90%)",neutral20:"hsl(0, 0%, 80%)",neutral30:"hsl(0, 0%, 70%)",neutral40:"hsl(0, 0%, 60%)",neutral50:"hsl(0, 0%, 50%)",neutral60:"hsl(0, 0%, 40%)",neutral70:"hsl(0, 0%, 30%)",neutral80:"hsl(0, 0%, 20%)",neutral90:"hsl(0, 0%, 10%)"},ZT=4,Db=4,YT=38,UT=Db*2,KT={baseUnit:Db,controlHeight:YT,menuGutter:UT},qc={borderRadius:ZT,colors:XT,spacing:KT},JT={"aria-live":"polite",backspaceRemovesValue:!0,blurInputOnSelect:ib(),captureMenuScroll:!ib(),classNames:{},closeMenuOnSelect:!0,closeMenuOnScroll:!1,components:{},controlShouldRenderValue:!0,escapeClearsValue:!1,filterOption:IT(),formatGroupLabel:_T,getOptionLabel:GT,getOptionValue:RT,isDisabled:!1,isLoading:!1,isMulti:!1,isRtl:!1,isSearchable:!0,isOptionDisabled:zT,loadingMessage:function(){return"Loading..."},maxMenuHeight:300,minMenuHeight:140,menuIsOpen:!1,menuPlacement:"bottom",menuPosition:"absolute",menuShouldBlockScroll:!1,menuShouldScrollIntoView:!HM(),noOptionsMessage:function(){return"No options"},openMenuOnFocus:!1,openMenuOnClick:!0,options:[],pageSize:5,placeholder:"Select...",screenReaderStatus:function(t){var n=t.count;return"".concat(n," result").concat(n!==1?"s":""," available")},styles:{},tabIndex:0,tabSelectsValue:!0,unstyled:!1};function Nb(e,t,n,r){var o=Lb(e,t,n),a=Vb(e,t,n),i=Fb(e,t),s=vs(e,t);return{type:"option",data:t,isDisabled:o,isSelected:a,label:i,value:s,index:r}}function bs(e,t){return e.options.map(function(n,r){if("options"in n){var o=n.options.map(function(i,s){return Nb(e,i,t,s)}).filter(function(i){return Ob(e,i)});return o.length>0?{type:"group",data:n,options:o,index:r}:void 0}var a=Nb(e,n,t,r);return Ob(e,a)?a:void 0}).filter(YM)}function $b(e){return e.reduce(function(t,n){return n.type==="group"?t.push.apply(t,Ic(n.options.map(function(r){return r.data}))):t.push(n.data),t},[])}function kb(e,t){return e.reduce(function(n,r){return r.type==="group"?n.push.apply(n,Ic(r.options.map(function(o){return{data:o.data,id:"".concat(t,"-").concat(r.index,"-").concat(o.index)}}))):n.push({data:r.data,id:"".concat(t,"-").concat(r.index)}),n},[])}function QT(e,t){return $b(bs(e,t))}function Ob(e,t){var n=e.inputValue,r=n===void 0?"":n,o=t.data,a=t.isSelected,i=t.label,s=t.value;return(!Bb(e)||!a)&&jb(e,{label:i,value:s,data:o},r)}function qT(e,t){var n=e.focusedValue,r=e.selectValue,o=r.indexOf(n);if(o>-1){var a=t.indexOf(n);if(a>-1)return n;if(o<t.length)return t[o]}return null}function eD(e,t){var n=e.focusedOption;return n&&t.indexOf(n)>-1?n:t[0]}var ed=function(t,n){var r,o=(r=t.find(function(a){return a.data===n}))===null||r===void 0?void 0:r.id;return o||null},Fb=function(t,n){return t.getOptionLabel(n)},vs=function(t,n){return t.getOptionValue(n)};function Lb(e,t,n){return typeof e.isOptionDisabled=="function"?e.isOptionDisabled(t,n):!1}function Vb(e,t,n){if(n.indexOf(t)>-1)return!0;if(typeof e.isOptionSelected=="function")return e.isOptionSelected(t,n);var r=vs(e,t);return n.some(function(o){return vs(e,o)===r})}function jb(e,t,n){return e.filterOption?e.filterOption(t,n):!0}var Bb=function(t){var n=t.hideSelectedOptions,r=t.isMulti;return n===void 0?r:n},tD=1,Wb=function(e){aS(n,e);var t=lS(n);function n(r){var o;if(rS(this,n),o=t.call(this,r),o.state={ariaSelection:null,focusedOption:null,focusedOptionId:null,focusableOptionsWithIds:[],focusedValue:null,inputIsHidden:!1,isFocused:!1,selectValue:[],clearFocusValueOnUpdate:!1,prevWasFocused:!1,inputIsHiddenAfterUpdate:void 0,prevProps:void 0,instancePrefix:""},o.blockOptionHover=!1,o.isComposing=!1,o.commonProps=void 0,o.initialTouchX=0,o.initialTouchY=0,o.openAfterFocus=!1,o.scrollToFocusedOptionOnUpdate=!1,o.userIsDragging=void 0,o.isAppleDevice=WT(),o.controlRef=null,o.getControlRef=function(l){o.controlRef=l},o.focusedOptionRef=null,o.getFocusedOptionRef=function(l){o.focusedOptionRef=l},o.menuListRef=null,o.getMenuListRef=function(l){o.menuListRef=l},o.inputRef=null,o.getInputRef=function(l){o.inputRef=l},o.focus=o.focusInput,o.blur=o.blurInput,o.onChange=function(l,u){var c=o.props,d=c.onChange,p=c.name;u.name=p,o.ariaOnChange(l,u),d(l,u)},o.setValue=function(l,u,c){var d=o.props,p=d.closeMenuOnSelect,m=d.isMulti,h=d.inputValue;o.onInputChange("",{action:"set-value",prevInputValue:h}),p&&(o.setState({inputIsHiddenAfterUpdate:!m}),o.onMenuClose()),o.setState({clearFocusValueOnUpdate:!0}),o.onChange(l,{action:u,option:c})},o.selectOption=function(l){var u=o.props,c=u.blurInputOnSelect,d=u.isMulti,p=u.name,m=o.state.selectValue,h=d&&o.isOptionSelected(l,m),g=o.isOptionDisabled(l,m);if(h){var b=o.getOptionValue(l);o.setValue(m.filter(function(x){return o.getOptionValue(x)!==b}),"deselect-option",l)}else if(!g)d?o.setValue([].concat(Ic(m),[l]),"select-option",l):o.setValue(l,"select-option");else{o.ariaOnChange(l,{action:"select-option",option:l,name:p});return}c&&o.blurInput()},o.removeValue=function(l){var u=o.props.isMulti,c=o.state.selectValue,d=o.getOptionValue(l),p=c.filter(function(h){return o.getOptionValue(h)!==d}),m=gs(u,p,p[0]||null);o.onChange(m,{action:"remove-value",removedValue:l}),o.focusInput()},o.clearValue=function(){var l=o.state.selectValue;o.onChange(gs(o.props.isMulti,[],null),{action:"clear",removedValues:l})},o.popValue=function(){var l=o.props.isMulti,u=o.state.selectValue,c=u[u.length-1],d=u.slice(0,u.length-1),p=gs(l,d,d[0]||null);o.onChange(p,{action:"pop-value",removedValue:c})},o.getFocusedOptionId=function(l){return ed(o.state.focusableOptionsWithIds,l)},o.getFocusableOptionsWithIds=function(){return kb(bs(o.props,o.state.selectValue),o.getElementId("option"))},o.getValue=function(){return o.state.selectValue},o.cx=function(){for(var l=arguments.length,u=new Array(l),c=0;c<l;c++)u[c]=arguments[c];return WM.apply(void 0,[o.props.classNamePrefix].concat(u))},o.getOptionLabel=function(l){return Fb(o.props,l)},o.getOptionValue=function(l){return vs(o.props,l)},o.getStyles=function(l,u){var c=o.props.unstyled,d=HT[l](u,c);d.boxSizing="border-box";var p=o.props.styles[l];return p?p(d,u):d},o.getClassNames=function(l,u){var c,d;return(c=(d=o.props.classNames)[l])===null||c===void 0?void 0:c.call(d,u)},o.getElementId=function(l){return"".concat(o.state.instancePrefix,"-").concat(l)},o.getComponents=function(){return cT(o.props)},o.buildCategorizedOptions=function(){return bs(o.props,o.state.selectValue)},o.getCategorizedOptions=function(){return o.props.menuIsOpen?o.buildCategorizedOptions():[]},o.buildFocusableOptions=function(){return $b(o.buildCategorizedOptions())},o.getFocusableOptions=function(){return o.props.menuIsOpen?o.buildFocusableOptions():[]},o.ariaOnChange=function(l,u){o.setState({ariaSelection:ce({value:l},u)})},o.onMenuMouseDown=function(l){l.button===0&&(l.stopPropagation(),l.preventDefault(),o.focusInput())},o.onMenuMouseMove=function(l){o.blockOptionHover=!1},o.onControlMouseDown=function(l){if(!l.defaultPrevented){var u=o.props.openMenuOnClick;o.state.isFocused?o.props.menuIsOpen?l.target.tagName!=="INPUT"&&l.target.tagName!=="TEXTAREA"&&o.onMenuClose():u&&o.openMenu("first"):(u&&(o.openAfterFocus=!0),o.focusInput()),l.target.tagName!=="INPUT"&&l.target.tagName!=="TEXTAREA"&&l.preventDefault()}},o.onDropdownIndicatorMouseDown=function(l){if(!(l&&l.type==="mousedown"&&l.button!==0)&&!o.props.isDisabled){var u=o.props,c=u.isMulti,d=u.menuIsOpen;o.focusInput(),d?(o.setState({inputIsHiddenAfterUpdate:!c}),o.onMenuClose()):o.openMenu("first"),l.preventDefault()}},o.onClearIndicatorMouseDown=function(l){l&&l.type==="mousedown"&&l.button!==0||(o.clearValue(),l.preventDefault(),o.openAfterFocus=!1,l.type==="touchend"?o.focusInput():setTimeout(function(){return o.focusInput()}))},o.onScroll=function(l){typeof o.props.closeMenuOnScroll=="boolean"?l.target instanceof HTMLElement&&fs(l.target)&&o.props.onMenuClose():typeof o.props.closeMenuOnScroll=="function"&&o.props.closeMenuOnScroll(l)&&o.props.onMenuClose()},o.onCompositionStart=function(){o.isComposing=!0},o.onCompositionEnd=function(){o.isComposing=!1},o.onTouchStart=function(l){var u=l.touches,c=u&&u.item(0);c&&(o.initialTouchX=c.clientX,o.initialTouchY=c.clientY,o.userIsDragging=!1)},o.onTouchMove=function(l){var u=l.touches,c=u&&u.item(0);if(c){var d=Math.abs(c.clientX-o.initialTouchX),p=Math.abs(c.clientY-o.initialTouchY),m=5;o.userIsDragging=d>m||p>m}},o.onTouchEnd=function(l){o.userIsDragging||(o.controlRef&&!o.controlRef.contains(l.target)&&o.menuListRef&&!o.menuListRef.contains(l.target)&&o.blurInput(),o.initialTouchX=0,o.initialTouchY=0)},o.onControlTouchEnd=function(l){o.userIsDragging||o.onControlMouseDown(l)},o.onClearIndicatorTouchEnd=function(l){o.userIsDragging||o.onClearIndicatorMouseDown(l)},o.onDropdownIndicatorTouchEnd=function(l){o.userIsDragging||o.onDropdownIndicatorMouseDown(l)},o.handleInputChange=function(l){var u=o.props.inputValue,c=l.currentTarget.value;o.setState({inputIsHiddenAfterUpdate:!1}),o.onInputChange(c,{action:"input-change",prevInputValue:u}),o.props.menuIsOpen||o.onMenuOpen()},o.onInputFocus=function(l){o.props.onFocus&&o.props.onFocus(l),o.setState({inputIsHiddenAfterUpdate:!1,isFocused:!0}),(o.openAfterFocus||o.props.openMenuOnFocus)&&o.openMenu("first"),o.openAfterFocus=!1},o.onInputBlur=function(l){var u=o.props.inputValue;if(o.menuListRef&&o.menuListRef.contains(document.activeElement)){o.inputRef.focus();return}o.props.onBlur&&o.props.onBlur(l),o.onInputChange("",{action:"input-blur",prevInputValue:u}),o.onMenuClose(),o.setState({focusedValue:null,isFocused:!1})},o.onOptionHover=function(l){if(!(o.blockOptionHover||o.state.focusedOption===l)){var u=o.getFocusableOptions(),c=u.indexOf(l);o.setState({focusedOption:l,focusedOptionId:c>-1?o.getFocusedOptionId(l):null})}},o.shouldHideSelectedOptions=function(){return Bb(o.props)},o.onValueInputFocus=function(l){l.preventDefault(),l.stopPropagation(),o.focus()},o.onKeyDown=function(l){var u=o.props,c=u.isMulti,d=u.backspaceRemovesValue,p=u.escapeClearsValue,m=u.inputValue,h=u.isClearable,g=u.isDisabled,b=u.menuIsOpen,x=u.onKeyDown,y=u.tabSelectsValue,w=u.openMenuOnFocus,S=o.state,P=S.focusedOption,A=S.focusedValue,T=S.selectValue;if(!g&&!(typeof x=="function"&&(x(l),l.defaultPrevented))){switch(o.blockOptionHover=!0,l.key){case"ArrowLeft":if(!c||m)return;o.focusValue("previous");break;case"ArrowRight":if(!c||m)return;o.focusValue("next");break;case"Delete":case"Backspace":if(m)return;if(A)o.removeValue(A);else{if(!d)return;c?o.popValue():h&&o.clearValue()}break;case"Tab":if(o.isComposing||l.shiftKey||!b||!y||!P||w&&o.isOptionSelected(P,T))return;o.selectOption(P);break;case"Enter":if(l.keyCode===229)break;if(b){if(!P||o.isComposing)return;o.selectOption(P);break}return;case"Escape":b?(o.setState({inputIsHiddenAfterUpdate:!1}),o.onInputChange("",{action:"menu-close",prevInputValue:m}),o.onMenuClose()):h&&p&&o.clearValue();break;case" ":if(m)return;if(!b){o.openMenu("first");break}if(!P)return;o.selectOption(P);break;case"ArrowUp":b?o.focusOption("up"):o.openMenu("last");break;case"ArrowDown":b?o.focusOption("down"):o.openMenu("first");break;case"PageUp":if(!b)return;o.focusOption("pageup");break;case"PageDown":if(!b)return;o.focusOption("pagedown");break;case"Home":if(!b)return;o.focusOption("first");break;case"End":if(!b)return;o.focusOption("last");break;default:return}l.preventDefault()}},o.state.instancePrefix="react-select-"+(o.props.instanceId||++tD),o.state.selectValue=nb(r.value),r.menuIsOpen&&o.state.selectValue.length){var a=o.getFocusableOptionsWithIds(),i=o.buildFocusableOptions(),s=i.indexOf(o.state.selectValue[0]);o.state.focusableOptionsWithIds=a,o.state.focusedOption=i[s],o.state.focusedOptionId=ed(a,i[s])}return o}return oS(n,[{key:"componentDidMount",value:function(){this.startListeningComposition(),this.startListeningToTouch(),this.props.closeMenuOnScroll&&document&&document.addEventListener&&document.addEventListener("scroll",this.onScroll,!0),this.props.autoFocus&&this.focusInput(),this.props.menuIsOpen&&this.state.focusedOption&&this.menuListRef&&this.focusedOptionRef&&ab(this.menuListRef,this.focusedOptionRef)}},{key:"componentDidUpdate",value:function(o){var a=this.props,i=a.isDisabled,s=a.menuIsOpen,l=this.state.isFocused;(l&&!i&&o.isDisabled||l&&s&&!o.menuIsOpen)&&this.focusInput(),l&&i&&!o.isDisabled?this.setState({isFocused:!1},this.onMenuClose):!l&&!i&&o.isDisabled&&this.inputRef===document.activeElement&&this.setState({isFocused:!0}),this.menuListRef&&this.focusedOptionRef&&this.scrollToFocusedOptionOnUpdate&&(ab(this.menuListRef,this.focusedOptionRef),this.scrollToFocusedOptionOnUpdate=!1)}},{key:"componentWillUnmount",value:function(){this.stopListeningComposition(),this.stopListeningToTouch(),document.removeEventListener("scroll",this.onScroll,!0)}},{key:"onMenuOpen",value:function(){this.props.onMenuOpen()}},{key:"onMenuClose",value:function(){this.onInputChange("",{action:"menu-close",prevInputValue:this.props.inputValue}),this.props.onMenuClose()}},{key:"onInputChange",value:function(o,a){this.props.onInputChange(o,a)}},{key:"focusInput",value:function(){this.inputRef&&this.inputRef.focus()}},{key:"blurInput",value:function(){this.inputRef&&this.inputRef.blur()}},{key:"openMenu",value:function(o){var a=this,i=this.state,s=i.selectValue,l=i.isFocused,u=this.buildFocusableOptions(),c=o==="first"?0:u.length-1;if(!this.props.isMulti){var d=u.indexOf(s[0]);d>-1&&(c=d)}this.scrollToFocusedOptionOnUpdate=!(l&&this.menuListRef),this.setState({inputIsHiddenAfterUpdate:!1,focusedValue:null,focusedOption:u[c],focusedOptionId:this.getFocusedOptionId(u[c])},function(){return a.onMenuOpen()})}},{key:"focusValue",value:function(o){var a=this.state,i=a.selectValue,s=a.focusedValue;if(this.props.isMulti){this.setState({focusedOption:null});var l=i.indexOf(s);s||(l=-1);var u=i.length-1,c=-1;if(i.length){switch(o){case"previous":l===0?c=0:l===-1?c=u:c=l-1;break;case"next":l>-1&&l<u&&(c=l+1);break}this.setState({inputIsHidden:c!==-1,focusedValue:i[c]})}}}},{key:"focusOption",value:function(){var o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"first",a=this.props.pageSize,i=this.state.focusedOption,s=this.getFocusableOptions();if(s.length){var l=0,u=s.indexOf(i);i||(u=-1),o==="up"?l=u>0?u-1:s.length-1:o==="down"?l=(u+1)%s.length:o==="pageup"?(l=u-a,l<0&&(l=0)):o==="pagedown"?(l=u+a,l>s.length-1&&(l=s.length-1)):o==="last"&&(l=s.length-1),this.scrollToFocusedOptionOnUpdate=!0,this.setState({focusedOption:s[l],focusedValue:null,focusedOptionId:this.getFocusedOptionId(s[l])})}}},{key:"getTheme",value:function(){return this.props.theme?typeof this.props.theme=="function"?this.props.theme(qc):ce(ce({},qc),this.props.theme):qc}},{key:"getCommonProps",value:function(){var o=this.clearValue,a=this.cx,i=this.getStyles,s=this.getClassNames,l=this.getValue,u=this.selectOption,c=this.setValue,d=this.props,p=d.isMulti,m=d.isRtl,h=d.options,g=this.hasValue();return{clearValue:o,cx:a,getStyles:i,getClassNames:s,getValue:l,hasValue:g,isMulti:p,isRtl:m,options:h,selectOption:u,selectProps:d,setValue:c,theme:this.getTheme()}}},{key:"hasValue",value:function(){var o=this.state.selectValue;return o.length>0}},{key:"hasOptions",value:function(){return!!this.getFocusableOptions().length}},{key:"isClearable",value:function(){var o=this.props,a=o.isClearable,i=o.isMulti;return a===void 0?i:a}},{key:"isOptionDisabled",value:function(o,a){return Lb(this.props,o,a)}},{key:"isOptionSelected",value:function(o,a){return Vb(this.props,o,a)}},{key:"filterOption",value:function(o,a){return jb(this.props,o,a)}},{key:"formatOptionLabel",value:function(o,a){if(typeof this.props.formatOptionLabel=="function"){var i=this.props.inputValue,s=this.state.selectValue;return this.props.formatOptionLabel(o,{context:a,inputValue:i,selectValue:s})}else return this.getOptionLabel(o)}},{key:"formatGroupLabel",value:function(o){return this.props.formatGroupLabel(o)}},{key:"startListeningComposition",value:function(){document&&document.addEventListener&&(document.addEventListener("compositionstart",this.onCompositionStart,!1),document.addEventListener("compositionend",this.onCompositionEnd,!1))}},{key:"stopListeningComposition",value:function(){document&&document.removeEventListener&&(document.removeEventListener("compositionstart",this.onCompositionStart),document.removeEventListener("compositionend",this.onCompositionEnd))}},{key:"startListeningToTouch",value:function(){document&&document.addEventListener&&(document.addEventListener("touchstart",this.onTouchStart,!1),document.addEventListener("touchmove",this.onTouchMove,!1),document.addEventListener("touchend",this.onTouchEnd,!1))}},{key:"stopListeningToTouch",value:function(){document&&document.removeEventListener&&(document.removeEventListener("touchstart",this.onTouchStart),document.removeEventListener("touchmove",this.onTouchMove),document.removeEventListener("touchend",this.onTouchEnd))}},{key:"renderInput",value:function(){var o=this.props,a=o.isDisabled,i=o.isSearchable,s=o.inputId,l=o.inputValue,u=o.tabIndex,c=o.form,d=o.menuIsOpen,p=o.required,m=this.getComponents(),h=m.Input,g=this.state,b=g.inputIsHidden,x=g.ariaSelection,y=this.commonProps,w=s||this.getElementId("input"),S=ce(ce(ce({"aria-autocomplete":"list","aria-expanded":d,"aria-haspopup":!0,"aria-errormessage":this.props["aria-errormessage"],"aria-invalid":this.props["aria-invalid"],"aria-label":this.props["aria-label"],"aria-labelledby":this.props["aria-labelledby"],"aria-required":p,role:"combobox","aria-activedescendant":this.isAppleDevice?void 0:this.state.focusedOptionId||""},d&&{"aria-controls":this.getElementId("listbox")}),!i&&{"aria-readonly":!0}),this.hasValue()?(x==null?void 0:x.action)==="initial-input-focus"&&{"aria-describedby":this.getElementId("live-region")}:{"aria-describedby":this.getElementId("placeholder")});return i?V.createElement(h,de({},y,{autoCapitalize:"none",autoComplete:"off",autoCorrect:"off",id:w,innerRef:this.getInputRef,isDisabled:a,isHidden:b,onBlur:this.onInputBlur,onChange:this.handleInputChange,onFocus:this.onInputFocus,spellCheck:"false",tabIndex:u,form:c,type:"text",value:l},S)):V.createElement(PT,de({id:w,innerRef:this.getInputRef,onBlur:this.onInputBlur,onChange:ds,onFocus:this.onInputFocus,disabled:a,tabIndex:u,inputMode:"none",form:c,value:""},S))}},{key:"renderPlaceholderOrValue",value:function(){var o=this,a=this.getComponents(),i=a.MultiValue,s=a.MultiValueContainer,l=a.MultiValueLabel,u=a.MultiValueRemove,c=a.SingleValue,d=a.Placeholder,p=this.commonProps,m=this.props,h=m.controlShouldRenderValue,g=m.isDisabled,b=m.isMulti,x=m.inputValue,y=m.placeholder,w=this.state,S=w.selectValue,P=w.focusedValue,A=w.isFocused;if(!this.hasValue()||!h)return x?null:V.createElement(d,de({},p,{key:"placeholder",isDisabled:g,isFocused:A,innerProps:{id:this.getElementId("placeholder")}}),y);if(b)return S.map(function(v,D){var $=v===P,M="".concat(o.getOptionLabel(v),"-").concat(o.getOptionValue(v));return V.createElement(i,de({},p,{components:{Container:s,Label:l,Remove:u},isFocused:$,isDisabled:g,key:M,index:D,removeProps:{onClick:function(){return o.removeValue(v)},onTouchEnd:function(){return o.removeValue(v)},onMouseDown:function(I){I.preventDefault()}},data:v}),o.formatOptionLabel(v,"value"))});if(x)return null;var T=S[0];return V.createElement(c,de({},p,{data:T,isDisabled:g}),this.formatOptionLabel(T,"value"))}},{key:"renderClearIndicator",value:function(){var o=this.getComponents(),a=o.ClearIndicator,i=this.commonProps,s=this.props,l=s.isDisabled,u=s.isLoading,c=this.state.isFocused;if(!this.isClearable()||!a||l||!this.hasValue()||u)return null;var d={onMouseDown:this.onClearIndicatorMouseDown,onTouchEnd:this.onClearIndicatorTouchEnd,"aria-hidden":"true"};return V.createElement(a,de({},i,{innerProps:d,isFocused:c}))}},{key:"renderLoadingIndicator",value:function(){var o=this.getComponents(),a=o.LoadingIndicator,i=this.commonProps,s=this.props,l=s.isDisabled,u=s.isLoading,c=this.state.isFocused;if(!a||!u)return null;var d={"aria-hidden":"true"};return V.createElement(a,de({},i,{innerProps:d,isDisabled:l,isFocused:c}))}},{key:"renderIndicatorSeparator",value:function(){var o=this.getComponents(),a=o.DropdownIndicator,i=o.IndicatorSeparator;if(!a||!i)return null;var s=this.commonProps,l=this.props.isDisabled,u=this.state.isFocused;return V.createElement(i,de({},s,{isDisabled:l,isFocused:u}))}},{key:"renderDropdownIndicator",value:function(){var o=this.getComponents(),a=o.DropdownIndicator;if(!a)return null;var i=this.commonProps,s=this.props.isDisabled,l=this.state.isFocused,u={onMouseDown:this.onDropdownIndicatorMouseDown,onTouchEnd:this.onDropdownIndicatorTouchEnd,"aria-hidden":"true"};return V.createElement(a,de({},i,{innerProps:u,isDisabled:s,isFocused:l}))}},{key:"renderMenu",value:function(){var o=this,a=this.getComponents(),i=a.Group,s=a.GroupHeading,l=a.Menu,u=a.MenuList,c=a.MenuPortal,d=a.LoadingMessage,p=a.NoOptionsMessage,m=a.Option,h=this.commonProps,g=this.state.focusedOption,b=this.props,x=b.captureMenuScroll,y=b.inputValue,w=b.isLoading,S=b.loadingMessage,P=b.minMenuHeight,A=b.maxMenuHeight,T=b.menuIsOpen,v=b.menuPlacement,D=b.menuPosition,$=b.menuPortalTarget,M=b.menuShouldBlockScroll,k=b.menuShouldScrollIntoView,I=b.noOptionsMessage,E=b.onMenuScrollToTop,O=b.onMenuScrollToBottom;if(!T)return null;var j=function(G,Y){var R=G.type,Z=G.data,q=G.isDisabled,ae=G.isSelected,le=G.label,pe=G.value,be=g===Z,Q=q?void 0:function(){return o.onOptionHover(Z)},Pe=q?void 0:function(){return o.selectOption(Z)},ie="".concat(o.getElementId("option"),"-").concat(Y),ne={id:ie,onClick:Pe,onMouseMove:Q,onMouseOver:Q,tabIndex:-1,role:"option","aria-selected":o.isAppleDevice?void 0:ae};return V.createElement(m,de({},h,{innerProps:ne,data:Z,isDisabled:q,isSelected:ae,key:ie,label:le,type:R,value:pe,isFocused:be,innerRef:be?o.getFocusedOptionRef:void 0}),o.formatOptionLabel(G.data,"menu"))},N;if(this.hasOptions())N=this.getCategorizedOptions().map(function(B){if(B.type==="group"){var G=B.data,Y=B.options,R=B.index,Z="".concat(o.getElementId("group"),"-").concat(R),q="".concat(Z,"-heading");return V.createElement(i,de({},h,{key:Z,data:G,options:Y,Heading:s,headingProps:{id:q,data:B.data},label:o.formatGroupLabel(B.data)}),B.options.map(function(ae){return j(ae,"".concat(R,"-").concat(ae.index))}))}else if(B.type==="option")return j(B,"".concat(B.index))});else if(w){var W=S({inputValue:y});if(W===null)return null;N=V.createElement(d,h,W)}else{var K=I({inputValue:y});if(K===null)return null;N=V.createElement(p,h,K)}var H={minMenuHeight:P,maxMenuHeight:A,menuPlacement:v,menuPosition:D,menuShouldScrollIntoView:k},X=V.createElement(nA,de({},h,H),function(B){var G=B.ref,Y=B.placerProps,R=Y.placement,Z=Y.maxHeight;return V.createElement(l,de({},h,H,{innerRef:G,innerProps:{onMouseDown:o.onMenuMouseDown,onMouseMove:o.onMenuMouseMove},isLoading:w,placement:R}),V.createElement($T,{captureEnabled:x,onTopArrive:E,onBottomArrive:O,lockEnabled:M},function(q){return V.createElement(u,de({},h,{innerRef:function(le){o.getMenuListRef(le),q(le)},innerProps:{role:"listbox","aria-multiselectable":h.isMulti,id:o.getElementId("listbox")},isLoading:w,maxHeight:Z,focusedOption:g}),N)}))});return $||D==="fixed"?V.createElement(c,de({},h,{appendTo:$,controlElement:this.controlRef,menuPlacement:v,menuPosition:D}),X):X}},{key:"renderFormField",value:function(){var o=this,a=this.props,i=a.delimiter,s=a.isDisabled,l=a.isMulti,u=a.name,c=a.required,d=this.state.selectValue;if(c&&!this.hasValue()&&!s)return V.createElement(LT,{name:u,onFocus:this.onValueInputFocus});if(!(!u||s))if(l)if(i){var p=d.map(function(g){return o.getOptionValue(g)}).join(i);return V.createElement("input",{name:u,type:"hidden",value:p})}else{var m=d.length>0?d.map(function(g,b){return V.createElement("input",{key:"i-".concat(b),name:u,type:"hidden",value:o.getOptionValue(g)})}):V.createElement("input",{name:u,type:"hidden",value:""});return V.createElement("div",null,m)}else{var h=d[0]?this.getOptionValue(d[0]):"";return V.createElement("input",{name:u,type:"hidden",value:h})}}},{key:"renderLiveRegion",value:function(){var o=this.commonProps,a=this.state,i=a.ariaSelection,s=a.focusedOption,l=a.focusedValue,u=a.isFocused,c=a.selectValue,d=this.getFocusableOptions();return V.createElement(yT,de({},o,{id:this.getElementId("live-region"),ariaSelection:i,focusedOption:s,focusedValue:l,isFocused:u,selectValue:c,focusableOptions:d,isAppleDevice:this.isAppleDevice}))}},{key:"render",value:function(){var o=this.getComponents(),a=o.Control,i=o.IndicatorsContainer,s=o.SelectContainer,l=o.ValueContainer,u=this.props,c=u.className,d=u.id,p=u.isDisabled,m=u.menuIsOpen,h=this.state.isFocused,g=this.commonProps=this.getCommonProps();return V.createElement(s,de({},g,{className:c,innerProps:{id:d,onKeyDown:this.onKeyDown},isDisabled:p,isFocused:h}),this.renderLiveRegion(),V.createElement(a,de({},g,{innerRef:this.getControlRef,innerProps:{onMouseDown:this.onControlMouseDown,onTouchEnd:this.onControlTouchEnd},isDisabled:p,isFocused:h,menuIsOpen:m}),V.createElement(l,de({},g,{isDisabled:p}),this.renderPlaceholderOrValue(),this.renderInput()),V.createElement(i,de({},g,{isDisabled:p}),this.renderClearIndicator(),this.renderLoadingIndicator(),this.renderIndicatorSeparator(),this.renderDropdownIndicator())),this.renderMenu(),this.renderFormField())}}],[{key:"getDerivedStateFromProps",value:function(o,a){var i=a.prevProps,s=a.clearFocusValueOnUpdate,l=a.inputIsHiddenAfterUpdate,u=a.ariaSelection,c=a.isFocused,d=a.prevWasFocused,p=a.instancePrefix,m=o.options,h=o.value,g=o.menuIsOpen,b=o.inputValue,x=o.isMulti,y=nb(h),w={};if(i&&(h!==i.value||m!==i.options||g!==i.menuIsOpen||b!==i.inputValue)){var S=g?QT(o,y):[],P=g?kb(bs(o,y),"".concat(p,"-option")):[],A=s?qT(a,y):null,T=eD(a,S),v=ed(P,T);w={selectValue:y,focusedOption:T,focusedOptionId:v,focusableOptionsWithIds:P,focusedValue:A,clearFocusValueOnUpdate:!1}}var D=l!=null&&o!==i?{inputIsHidden:l,inputIsHiddenAfterUpdate:void 0}:{},$=u,M=c&&d;return c&&!M&&($={value:gs(x,y,y[0]||null),options:y,action:"initial-input-focus"},M=!d),(u==null?void 0:u.action)==="initial-input-focus"&&($=null),ce(ce(ce({},w),D),{},{prevProps:o,ariaSelection:$,prevWasFocused:M})}}]),n}(f.Component);Wb.defaultProps=JT;var nD=f.forwardRef(function(e,t){var n=nS(e);return V.createElement(Wb,de({ref:t},n))}),rD=nD;const oD=e=>{const t=({children:r,...o})=>{const a=o.getValue()[0],{hasValue:i}=o;return i?F.jsx(Qr.ValueContainer,{...o,children:F.jsxs("div",{className:"flex cursor-pointer items-center gap-3",children:[a.prefix,r,a.isDefault&&F.jsx(cc,{variant:"light",color:"darkGreen",children:"DEFAULT"})]})}):F.jsx(Qr.ValueContainer,{...o,className:"cursor-pointer",children:r})},n=({innerRef:r,innerProps:o,children:a,data:i})=>{const s=i;return F.jsx("div",{ref:r,...o,children:F.jsxs("div",{className:"flex cursor-pointer items-center gap-3 bg-transparent px-4 py-2 font-satoshi text-sm leading-normal text-primary-grey-800 hover:bg-primary-grey-500 hover:font-medium",children:[s.prefix,a,s.isDefault&&F.jsx(cc,{variant:"light",color:"darkGreen",children:"DEFAULT"})]})})};return F.jsx(_b,{isSearchable:!1,customValueContainer:t,customOption:n,...e})},_b=({label:e,value:t,defaultValue:n,placeholder:r,isInvalid:o,isTransparent:a,className:i,disabled:s,onChange:l,noOptionsMessage:u,errorMessage:c,options:d,isSearchable:p,customOption:m,isValid:h,customPlaceholder:g,customControl:b,customDropdownIndicator:x,customValueContainer:y})=>{const w=ye({base:"block h-12 w-full rounded-lg border border-primary-grey-700 bg-white px-4",variants:{disabled:{true:"border-primary-grey-500 bg-primary-grey-500"},isFocused:{true:"text-black"},isInvalid:{true:"border-complementary-red-500"},isCompleted:{true:"border-secondary-green-500"},isTransparent:{true:"!bg-transparent"}}}),S=ye({base:"font-satoshi text-sm leading-normal text-primary-grey-800",variants:{disabled:{true:"text-primary-grey-700"}}}),P=ye({base:"text-primary-grey-800",variants:{disabled:{true:"text-primary-grey-700"}}}),A=ye({base:"mt-[5px] rounded-lg border border-primary-grey-600 bg-white py-2"}),T=ye({base:"cursor-pointer bg-white px-4 py-2 font-satoshi text-sm leading-normal text-primary-grey-800 hover:bg-primary-grey-500 hover:font-medium"}),v=ye({base:"pointer-events-none invisible absolute left-4 top-[29%] bg-transparent font-inter text-sm leading-normal text-primary-grey-800 transition-all duration-200",variants:{hasValue:{true:"visible -top-6 text-xs transition-all duration-200"},isInvalid:{true:"text-complementary-red-500"},isCompleted:{true:"text-secondary-green-500"}}});let I={DropdownIndicator:x||(E=>F.jsx(Qr.DropdownIndicator,{...E,children:F.jsx(sg,{className:P({disabled:E.isDisabled})})})),Control:b||(E=>F.jsxs("div",{className:"relative",children:[F.jsx(Qr.Control,{...E}),F.jsx("label",{className:v({hasValue:E.hasValue,isInvalid:o,isCompleted:h}),children:e})]})),Option:m||(({innerRef:E,innerProps:O,children:j})=>F.jsx("div",{ref:E,...O,children:F.jsx("div",{className:T(),children:j})})),Placeholder:({children:E,...O})=>F.jsx(Qr.Placeholder,{...O,children:g||E})};return y&&(I={...I,ValueContainer:y}),F.jsxs("div",{className:"h-[74px] w-full",children:[F.jsx(rD,{value:t,isSearchable:p,options:d,unstyled:!0,isDisabled:s,defaultValue:n,placeholder:r,onChange:l,classNames:{control:({isDisabled:E,isFocused:O})=>w({disabled:E,isFocused:O,isInvalid:o,isTransparent:a,isCompleted:h}),placeholder:({isDisabled:E})=>S({disabled:E}),menuList:()=>A(),option:()=>T(),input:()=>i||""},components:I,noOptionsMessage:()=>u}),o&&c&&F.jsx("span",{className:"mt-2 pl-4 font-satoshi text-xs font-normal leading-normal text-complementary-red-500",children:c})]})},aD=({label:e,initialDate:t,onSelect:n,dateFormat:r})=>{const[o,a]=f.useState(!1),[i,s]=f.useState(t),l=()=>{a(!0)},u=d=>{n&&n(d),s(d),c()},c=()=>{a(!1)};return F.jsx(ph,{isOpen:o,align:"end",onInteractOutside:c,content:F.jsx(zh,{selected:i,onSelect:u,mode:"single"}),children:F.jsx("div",{children:F.jsx(Ou,{value:i?fn(i,r??"dd/MM/yyyy"):"",onClick:l,isDatePicker:!0,label:e,icon:"calendar"})})})},iD={white:"#ffffff",black:"#000000",primary:{green:{50:"#e9eceb",100:"#bac3c2",200:"#99a7a4",300:"#6b7e7b",400:"#4e6561",500:"#223f3a",600:"#1f3935",700:"#182d29",800:"#132320",900:"#0e1a18"},black:{50:"#e6e6e6",100:"#b0b0b0",200:"#8a8a8a",300:"#545454",400:"#333333",500:"#000000",600:"#000000",700:"#000000",800:"#000000",900:"#000000"},grey:{50:"##fefefe",100:"#fcfdfd",200:"#fafbfc",300:"#f8fafb",400:"#f7f9fa",500:"#f5f7f9",600:"#dfe1e3",700:"#aeafb1",800:"#878889",900:"#676869"}},secondary:{green:{50:"#e6f7ee",100:"#b2e7c9",200:"#8cdbaf",300:"#58ca8a",400:"#38c074",500:"#06b051",600:"#05a04a",700:"#047d3a",800:"#03612d",900:"#034a22"}},tertiary:{green:{50:"#ebfaf2",100:"#c2f0d8",200:"#a4e8c5",300:"#7adeaa",400:"#61d799",500:"#39cd80",600:"#34bb74",700:"#28925b",800:"#1f7146",900:"#185636"}},complementary:{violet:{50:"#f0ecf5",100:"#d1c3df",200:"#bba7d0",300:"#9d7ebb",400:"#8965ad",500:"#6c3f99",600:"#62398b",700:"#4d2d6d",800:"#3b2354",900:"#2d1a40"},blue:{50:"#e6f7f7",100:"#b1e6e6",200:"#8cdada",300:"#57c9c9",400:"#36bfbe",500:"#04afae",600:"#049f9e",700:"#037c7c",800:"#026060",900:"#024a49"},red:{50:"#faebea",100:"#f0c1be",200:"#e9a39f",300:"#df7973",400:"#d95f58",500:"#cf372e",600:"#bc322a",700:"#932721",800:"#721e19",900:"#571713"},orange:{50:"#fef3e9",100:"#fbdabb",200:"#f9c99a",300:"#f6b06c",400:"#f5a150",500:"#f28924",600:"#dc7d21",700:"#ac611a",800:"#854b14",900:"#663a0f"},yellow:{50:"#fdfaec",100:"#f9f0c4",200:"#f7e9a8",300:"#f3e080",400:"#f1d968",500:"#edd042",600:"#d8bd3c",700:"#a8942f",800:"#827224",900:"#64571c"}}};Ee.Avatar=G1,Ee.Button=du,Ee.Checkbox=$7,Ee.Chip=O7,Ee.DatePicker=zh,Ee.DatePickerInput=aD,Ee.DropdownList=_b,Ee.DropdownPaymentMethod=oD,Ee.Flag=Tv,Ee.Icon=rt,Ee.Input=Ou,Ee.InputPassword=gC,Ee.Logo=Mv,Ee.PhoneNumberInput=UP,Ee.Popover=ph,Ee.RadioGroup=k7,Ee.SegmentedControl=F7,Ee.Snackbar=R1,Ee.Switch=N7,Ee.Tabs=hC,Ee.Tag=cc,Ee.ToastContainer=jE,Ee.Tooltip=j8,Ee.Typography=Nd,Ee.colors=iD,Ee.useSnackbar=Y7,Object.defineProperty(Ee,Symbol.toStringTag,{value:"Module"})});